*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, Helvetica, sans-serif;
}

body{
background:#1b1b1b;
color:#e4e4e4;
line-height:1.6;
}

/* HERO HEADER */

.hero-header{
position:relative;
height:800px;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
color:white;
background-size:cover;
background-position:center;
}

.hero-overlay{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.45);
}

.hero-content{
position:relative;
z-index:2;
padding:20px;
}

.hero-content h1{
font-size:40px;
margin-bottom:10px;
}

.hero-content p{
font-size:20px;
}

/* Hero Content */
.hero-content {
  text-align:center;   /* zentriert Logo & Text */
  padding:40px 20px;
}

/* Logo */
.hero-logo {
  max-width:800px;     /* maximale Breite auf Desktop */
  width:100%;          /* passt sich Container an */
  height:auto;         /* proportional skalieren */
  margin-bottom:20px;  /* Abstand zum Text */
}

/* Text im Hero */
.hero-content p {
  font-size:24px;
  color:#ffffff;       /* falls Hero-Hintergrund dunkel ist */
  margin:0;
}

/* RESPONSIVE */
@media(max-width:1024px){
  .hero-logo {
    max-width:80%;
  }

  .hero-content p {
    font-size:20px;
  }
}

@media(max-width:768px){
  .hero-logo {
    max-width:100%;
  }

  .hero-content p {
    font-size:18px;
  }
}

/* NAVIGATION */

nav{
background:#222;
border-bottom:1px solid #333;
box-shadow:0 4px 10px rgba(0,0,0,0.4);
}

nav ul {
  display:flex;
  justify-content:center; /* zentriert horizontal */
  list-style:none;
  margin:0;
  padding:0;
}

nav ul li{
margin:20px;
}

nav ul li a{
text-decoration:none;
color:#e4e4e4;
font-weight:600;
font-size:17px;
transition:0.3s;
}

nav ul li a:hover{
color:#4caf50;
}

.menu-toggle{
  display:none;  /* nur auf Mobile sichtbar */
  font-size:30px;
  padding:15px;
  cursor:pointer;
  color:white;
}

/* Hamburger auf Mobile */
.menu-toggle {
  display:none;  /* nur Mobile */
  font-size:30px;
  cursor:pointer;
  color:white;
  margin:0 auto; /* zentriert */
  text-align:center;
  padding:15px 0;
}

/* Mobile */
@media(max-width:768px){

  .menu-toggle {
    display:block; /* sichtbar */
  }

  nav ul {
    display:none;           /* standardmäßig versteckt */
    flex-direction:column;
    text-align:center;      /* Links zentrieren */
    padding:10px 0;
  }

  nav ul.active {
    display:flex;           /* sichtbar beim Klick */
  }

  nav ul li {
    margin:15px 0;          /* Abstand zwischen Links */
  }
}

/* Sticky Navigation */
nav{
background:#222;
border-bottom:1px solid #333;
box-shadow:0 4px 10px rgba(0,0,0,0.4);
position:sticky;   /* macht das Menü sticky */
top:0;              /* oben an der Seite */
z-index:999;        /* immer über dem Content */
}

/* MAIN BEREICH */

main{
background:#e6e6e6;   /* hellgrauer Contentbereich */
color:#333;
width:100%;
padding:90px 80px 0 80px; /* unten 0, sonst wird der Balken sichtbar */
}

/* CONTENT */

.content{
max-width:1600px;
margin:auto;
font-size:20px;
padding-bottom:80px;  /* Abstand zum Footer */
}

.content h2,
.content h3{
margin-bottom:25px;
color:#4caf50;
}

.content p{
margin-bottom:22px;
}

.content ul{
margin-left:30px;
margin-top:20px;
}

.content li{
margin-bottom:12px;
}

.hero{
max-width:1200px;
margin:0 auto 80px auto;
text-align:center;
}

.hero h2{
font-size:42px;
margin-bottom:20px;
color:#2e7d32;
}

.hero p{
font-size:20px;
max-width:1000px;
margin:0 auto;
color:#444;
}

/* ONE COLUMN SECTION */
.one-column{
  width:100%;               /* volle Breite */
  background:transparent;       /* hellgrauer Hintergrund */
  padding:80px 60px;        /* oben/unten Abstand */
}

.one-column .container{
  max-width:1500px;         /* zentriert */
  margin:auto;
  text-align:left;
}

.one-column h2{
  font-size:32px;
  color:#4caf50;
  margin-bottom:30px;
}

.one-column p{
  font-size:18px;
  line-height:1.6;
  color:#333;
  margin-bottom:20px;
}

/* Vier-Spalten-Section */
.four-columns {
  width:100%;
  background:transparent;  /* hellgrauer Hintergrund */
  padding:30px 60px;
}

.four-columns .container{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:30px;
  max-width:1400px;
  margin:auto;
  align-items:start;
  text-align:left;
}

/* Spalteninhalt */
.four-columns .column h3{
  font-size:22px;
  color:#4caf50;
  margin-bottom:15px;
}

.four-columns .column p{
  font-size:16px;
  line-height:1.5;
  color:#333;
}

/* RESPONSIVE */
@media(max-width:1200px){
  .four-columns .container{
    grid-template-columns:repeat(2, 1fr); /* Tablet: 2 Spalten */
    gap:20px;
  }
}

@media(max-width:768px){
  .four-columns .container{
    grid-template-columns:1fr; /* Handy: 1 Spalte */
    gap:20px;
  }
}

/* Bild-Spalte */
.custom-columns .image-column img{
  width:100%;
  height:auto;
  border-radius:6px;
  display:block;
  object-fit:cover;
}

/* RESPONSIVE */
@media(max-width:1024px){
  .custom-columns .container{
    gap:30px;
  }
}

@media(max-width:768px){
  .custom-columns .container{
    grid-template-columns:1fr; /* Handy: Spalten untereinander */
    gap:20px;
  }

  .custom-columns .text-column{
    margin-bottom:20px;
  }
}

/* RESPONSIVE */
@media(max-width:1024px){
  .one-column{padding:60px 40px;}
  .one-column h2{font-size:28px;}
  .one-column p{font-size:16px;}
}

@media(max-width:768px){
  .one-column{padding:50px 25px;}
  .one-column h2{font-size:24px;}
  .one-column p{font-size:15px;}
}

/* Zwei Spalten Layout */
.two-columns{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  max-width:1600px;
  margin:auto;
  padding-top:10px;
  padding-bottom:80px;
  align-items:center;
}

/* Text-Spalte */
.text-column h3{
  color:#4caf50;
  margin-bottom:20px;
  font-size:24px;
}

.text-column p{
  margin-bottom:20px;
  font-size:18px;
  line-height:1.6;
}

.text-column ul{
  margin-left:20px;
}

.text-column li{
  margin-bottom:10px;
  font-size:16px;
  color:#333;
}

/* TWO COLUMN WIDE SECTION */
.two-column-wide{
  width:100%;
  background:transparent;  /* hellgrauer Hintergrund */
  padding:10px 60px;
}

.two-column-wide .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1400px;
  margin: auto;

  align-items: start;
}

/* Text-Spalte */
.two-column-wide .text-column h2{
  font-size:32px;
  color:#4caf50;
  margin-bottom:30px;
}

.two-column-wide .text-column p{
  font-size:18px;
  line-height:1.6;
  color:#333;
  margin-bottom:20px;
}

/* EXTRA SECTION TITLE */
.section-title{
  font-size:40px;         /* sehr auffällig */
  color:#4caf50;          /* grün passend zur Seite */
  text-align:left;        /* optional: linksbündig, center möglich */
  margin-bottom:50px;     /* Abstand zu den Spalten */
  line-height:1.2;
}

@media(max-width:1024px){
  .section-title{
    font-size:36px;
    margin-bottom:40px;
  }
}

@media(max-width:768px){
  .section-title{
    font-size:28px;
    text-align:center;     /* Handy: zentriert */
    margin-bottom:30px;
  }
}

/* Bild-Spalte */
.two-column-wide .image-column img{
  width:100%;
  height:auto;
  border-radius:6px;
  display:block;
  object-fit:cover;
}

/* RESPONSIVE */
@media(max-width:1024px){
  .two-column-wide .container{
    grid-template-columns:1fr 1fr;
    gap:30px;
  }
}

@media(max-width:768px){
  .two-column-wide .container{
    grid-template-columns:1fr; /* Handy: Spalten untereinander */
    gap:30px;
  }

  .two-column-wide .text-column{
    margin-bottom:30px;
  }
}

/* Bild-Spalte */
.image-column img{
  width:100%;       /* volle Breite der Spalte */
  height:auto;      /* Höhe passt sich an */
  border-radius:6px;
  display:block;
  object-fit:cover; /* füllt Spalte sauber */
}

/* RESPONSIVE */
@media(max-width:1024px){
  .two-columns{
    grid-template-columns:1fr 1fr;
    gap:30px;
  }
}

@media(max-width:768px){
  .two-columns{
    grid-template-columns:1fr;  /* Handy: Spalten untereinander */
    gap:30px;
    padding:50px 25px;
  }

  .image-column img{
    margin-top:30px;
  }
}

/* FOOTER */
footer{
background:#111;          /* dunkle Footer-Farbe */
color:#ccc;
padding:60px 80px;        /* Abstand innen */
margin-top:0;              /* kein extra Abstand nach oben */
border-top:none;           /* entferne obere Linie */
}

.footer-container{
max-width:1600px;
margin:auto;
display:grid;
grid-template-columns:repeat(4,1fr);
gap:40px;
}

.footer-column h3{
color:#4caf50;
margin-bottom:20px;
font-size:18px;
}

.footer-column p,
.footer-column a{
color:#aaa;
font-size:15px;
text-decoration:none;
display:block;
margin-bottom:10px;
}

.footer-column a:hover{
color:#4caf50;
}

/* untere Footer Leiste */

.footer-bottom{
border-top:1px solid #333;
margin-top:40px;
padding-top:20px;
text-align:center;
font-size:14px;
color:#777;
}

/* MOBILE */

@media (max-width:900px){

.footer-container{
grid-template-columns:1fr 1fr;
}

}

@media (max-width:600px){

.footer-container{
grid-template-columns:1fr;
}

}

/* MOBILE */

@media (max-width:768px){

.hero-header{
height:300px;
}

.hero-content h1{
font-size:28px;
}

.hero-content p{
font-size:16px;
}

.menu-toggle{
display:block;
}

nav ul{
display:none;
flex-direction:column;
text-align:center;
background:#222;
}

nav ul.active{
display:flex;
}

nav ul li{
margin:18px 0;
}

main{
padding:50px 25px;
}

.content{
max-width:100%;
font-size:18px;
}

}

/* Kontakt */

.contact-form{
max-width:900px;
width:90%;
margin:auto;
}

.contact-form input,
.contact-form textarea{
width:100%;
padding:12px;
margin-top:10px;
border-radius:8px;
border:1px solid #ccc;
font-size:14px;
}

.contact-form textarea{
height:120px;
resize:none;
}

.contact-form button{
width:100%;
padding:12px;
margin-top:15px;
border:none;
border-radius:8px;
background:#4facfe;
color:white;
font-size:16px;
cursor:pointer;
}

.contact-form button:hover{
background:#00c6ff;
}

.privacy{
display:flex;
align-items:flex-start;
gap:8px;
margin-top:15px;
font-size:14px;
}

.privacy input{
margin-top:3px;
}

.privacy a{
color:#4facfe;
text-decoration:none;
}

.privacy a:hover{
text-decoration:underline;
}


.success-message{
display:none;
background:#d4edda;
color:#155724;
padding:10px;
margin-top:15px;
border-radius:6px;
text-align:center;
}


/* --- GALERIE SECTION --- */
.image-gallery {
  padding: 60px 20px;
  max-width: 100%;
  margin: 0 auto;
}

.image-gallery h2 {
  text-align: center;
  color: #2e7d32;
  margin-bottom: 40px;
  font-size: 32px;
}

/* Grid Galerie */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 15px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
}

.gallery img {
  width: 100%;
  max-width: 100%;
  height: 300px;        /* Einheitliche Höhe */
  object-fit: cover;    /* Zuschneiden statt verzerren */
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery img { height: 180px; }
}

@media (max-width: 500px) {
  .gallery {
    grid-template-columns: 1fr;
  }
  .gallery img { height: 150px; }
}

/* --- LIGHTBOX --- */
.lightbox {
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(5px);
  display:flex;
  justify-content:center;
  align-items:center;
  opacity:0;
  pointer-events:none;
  transition: opacity 0.3s ease;
  z-index:1000;
  flex-direction: column;
}

.lightbox.active {
  opacity:1;
  pointer-events:auto;
}

.lightbox img {
  max-width:90%;
  max-height:80%;
  border-radius:10px;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.lightbox.active img {
  transform: scale(1);
}

/* Close Button */
.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.lightbox .close:hover {
  color: #4caf50;
}

/* Mobile Lightbox Anpassungen */
@media (max-width: 768px) {
  .lightbox img {
    max-width: 95%;
    max-height: 70%;
  }
  .lightbox .close {
    font-size: 35px;
    top: 15px;
    right: 20px;
  }
}
