
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('boden.png');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

header {
  text-align: center;
  background-color: rgba(255, 255, 255);
}

header img {
  width: 65%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
}

header h1 {
  margin: 0.2rem 0 0;
  color: #2f7038;
}

nav {
  background-color: #2f7038;
  text-align: center;
  padding: 1rem;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

.content {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #ffffffee;
  border-radius: 10px;
  border: 1px solid #2f7038;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.gallery {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      justify-content: center;
    }

.gallery a {
      width: 300px;
      display: block;
    }

.gallery img {
      width: 100%;
      height: auto;
      border-radius: 6px;
      border: 1px solid #ccc;
      box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
    }

footer {
  text-align: center;
  padding: 1rem;
  color: white;
  background-color: rgba(0,0,0,0.6);
}

footer a {
  color: white;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: bold;
}

footer a:hover {
  text-decoration: underline;
}

/* Dropdown-Menü */
.dropdown {
  display: inline-block;
  position: relative;
}

.dropbtn {
  background-color: #2f7038;
  color: white;
  border: none;
  font-weight: bold;
  font-size: 1rem;
  margin-left: 1rem;
  cursor: pointer;
}

.dropbtn:hover {
  text-decoration: underline;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #2f7038;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #3d8c4e;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Mobile Optimierung */
@media (max-width: 600px) {
  header img {
    max-height: 180px;
  }

  nav {
    padding: 0.5rem;
  }

  nav a, .dropbtn {
    display: block;
    margin: 0.5rem 0;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
  }

.lg-img-wrap img {
  max-width: 100%;
  max-height: 100vh;
  object-fit: contain;
  }

.lg-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  border: 2px solid #2f7038;
  color: #2f7038;
  font-size: 24px;
  text-align: center;
  line-height: 36px;
  display: block !important;
  z-index: 9999 !important;
  opacity: 1 !important;
}