
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f4f9f4;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

header {
  background-color: #2e7d32;
  color: white;
  padding: 1rem 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  max-height: 50px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav ul li a:hover {
  text-decoration: underline;
}

.hero {
  height: 100vh;
  background-image: url("projektbild.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-start;  /* vorher: center */
  justify-content: center;
  position: relative;
  text-align: center;
  padding-top: 5vh;  /* etwas Abstand von ganz oben */
}


.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  padding: 2rem;
}

main.content {
  padding: 3rem 0;
}

main h2 {
  margin-bottom: 1rem;
  color: #2e7d32;
}

footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 1rem 0;
}

footer a {
  color: white;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}
.about-section {
  background-color: #ffffffcc; /* leicht transparentes Weiß */
  padding: 3rem 1rem;
  border-radius: 12px;
  margin: 2rem auto;
  max-width: 1000px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.about-section h2 {
  font-size: 2rem;
  color: #2e6d33;
  margin-bottom: 1rem;
}

.about-section p {
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: #333;
}

.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-down span {
  display: block;
  width: 24px;
  height: 24px;
  border-bottom: 2px solid white;
  border-right: 2px solid white;
  transform: rotate(45deg);
  animation: bounce 2s infinite;
  opacity: 0.7;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) rotate(45deg) translateY(0);
  }
  40% {
    transform: translateX(-50%) rotate(45deg) translateY(8px);
  }
  60% {
    transform: translateX(-50%) rotate(45deg) translateY(4px);
  }
}
.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.scroll-indicator span {
  width: 16px;
  height: 16px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
  opacity: 0;
  animation: scrollAnim 2s infinite;
}

.scroll-indicator span:nth-child(1) {
  animation-delay: 0s;
}

.scroll-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.scroll-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes scrollAnim {
  0% {
    opacity: 0;
    transform: rotate(45deg) translateY(-5px);
  }
  50% {
    opacity: 1;
    transform: rotate(45deg) translateY(0);
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translateY(5px);
  }
}
header {
  background-color: #2e7d32;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1.5rem;
  position: relative;
  z-index: 1000;
}

.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo {
  height: 48px;
  width: auto;
  max-height: 60px;
}
