:root {
    --earth-green: #2f5d43;
    --accent-green: #4a7c59;
    --warm-brown: #5a3e1b;
    --sun-yellow: #f2c94c;
    --soil-red: #bf2e2e;
    --cream: #f8f4e3;
    --max-width: 1200px;
  }
  
  * {
    margin: 0; padding: 0; box-sizing: border-box;
  }
  
  body {
    font-family: 'Cabin', sans-serif;
    color: #4a4a4a;
    background: var(--cream);
    line-height: 1.6;
  }
  
  .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 1rem;
  }
  
  .navbar {
    display: flex; justify-content: space-between; align-items: center;
    background: var(--earth-green); padding: 1rem 2rem;
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
  .navbar .logo {
    font-family: 'Pixelify Sans', cursive;
    font-size: 2rem; color: var(--cream); text-shadow: 2px 2px var(--warm-brown);
  }
  .nav-links {
    list-style: none; display: flex; gap: 1.5rem;
  }
  .nav-links a {
    color: var(--cream); text-decoration: none; font-weight: 500;
    position: relative; padding: 0.25rem 0;
  }
  .nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    height: 2px; width: 0; background: var(--sun-yellow);
    transition: width 0.3s;
  }
  .nav-links a:hover::after,
  .nav-links a.active::after {
    width: 100%;
  }
  
  .menu-icon {
    background: none; border: none; font-size: 1.5rem;
    color: var(--cream); display: none;
  }
  
  .hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('forest.jpg') no-repeat center/cover;
  text-align: center;
  color: var(--cream);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* dunkles Overlay */
  z-index: 1; /* unter Text, über Bild */
}

.hero-image-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.6;
  pointer-events: none;
  will-change: transform;  /* für flüssigere Animation */
}

.hero-image-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.hero-content {
  position: relative;
  z-index: 2; /* Text ganz vorne */
}
	
/* Hero-Überschrift */
.hero-content h1 {
  font-family: 'Pixelify Sans', cursive; /* markantere Schrift */
  font-size: 4rem;                      /* größerer Font-Size */
  line-height: 1.1;                     /* kompaktere Zeilenhöhe */
  letter-spacing: 2px;                  /* etwas Abstand zwischen Buchstaben */
  text-transform: uppercase;            /* alles großgeschrieben */
  margin-bottom: 1.5rem;
  color: var(--sun-yellow);             /* sonniges Gelb */
  text-shadow: 3px 3px var(--warm-brown); /* stärkerer Schatten */
}

/* Hero-Subtext */
.hero-content p {
  font-family: 'Cabin', sans-serif;
  font-size: 1.5rem;                     /* etwas größer für bessere Lesbarkeit */
  line-height: 1.6;
  letter-spacing: 0.5px;                 /* dezent luftiger */
  color: #f0f0f0;                        /* helleres Grau/Creme */
  margin-bottom: 2rem;
}



  
  .btn {
    background: var(--accent-green); color: var(--cream);
    padding: 0.75rem 1.5rem; border: 2px solid var(--sun-yellow);
    border-radius: 8px; text-decoration: none;
    transition: transform 0.3s;
  }
  .btn:hover { transform: translateY(-2px); }
  
  .features {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    gap: 2rem;
  }
  
  .news-bracket {
    background: #fff; border: 3px solid var(--warm-brown);
    border-radius: 12px; padding: 1.5rem; position: relative;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
  }
  .news-bracket:hover { transform: translateY(-4px); }
  .news-badge {
    position: absolute; top: -10px; right: -10px;
    background: var(--soil-red); color: var(--cream);
    padding: 0.4rem 0.8rem; border-radius: 20px;
    font-family: 'Pixelify Sans', cursive;
  }
  
  /* Styles für klare Abstände zwischen Team und Kontakt */
.team {
  margin-bottom: 4rem; /* Platz unter Team-Sektion */
}

.contact {
  margin-top: 4rem;    /* Platz vor Kontakt-Sektion */
}

/* Einheitliche Team-Bilder und Ausrichtung */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  align-items: start;    /* Alle Team-Mitglieder-Boxen am oberen Rand ausrichten */
  gap: 2rem;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;   /* Text und Bild zentrieren */
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.team-member img {
  width: 100%;
  max-width: 250px;     /* Einheitliche Maximalbreite */
  height: 250px;        /* Feste Höhe für Konsistenz */
  object-fit: cover;    /* Bild passend zuschneiden */
  border-radius: 50%;   /* Runde Bilder */
  margin-bottom: 1rem;
} 
  
 .team-member:hover { transform: translateY(-4px); }
  
  .team-member .social-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--accent-green);
  font-size: 1.5rem;
  transition: color 0.3s;
}

.team-member .social-link:hover {
  color: var(--soil-red);
}

  
  .video-container {
    position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  }
  .video-container iframe {
    position: absolute; top:0; left:0; width:100%; height:100%;
    border: none; border-radius: 8px;
  }
  
  .contact {
    background: #fff; padding: 3rem 2rem; border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
      
  .contact form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .contact label {
    font-weight: bold;
  }
  
  .contact input,
  .contact textarea {
    padding: 0.5rem;
    border: 2px solid var(--accent-green);
    border-radius: 6px;
    font-size: 1rem;
  }
  
  
  footer {
    background: var(--earth-green); color: var(--cream);
    text-align: center; padding: 1rem;
  }
  
 @media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; }
    .nav-links.active { display: flex; }
    .menu-icon { display: block; }
	 
	  .hero-content h1 {
    font-size: 2.2rem;      /* kleinerer Wert als auf Desktop */
    letter-spacing: 1px;    /* etwas weniger Abstand */
    padding: 0 1rem;        /* etwas Innenabstand, damit es nicht an den Rand stößt */
  }
  .hero-content p {
    font-size: 1rem;        /* auch den Subtext etwas anpassen */
    padding: 0 1rem;
  }
  }

  