body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: white;
  color: #222;
}

.hero {
    background-image: url('see.jpg');
    background-size: cover;
    background-position: center;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    padding: 0 20px;
}

.navigation {
    text-align: center;
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid #ccc;
}

.navigation a {
    margin: 0 20px;
    text-decoration: none;
    color: #000;
    font-size: 16px;
}

.navigation a:hover {
    color: #0066cc;
}
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f5f5f5;
  min-width: 200px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 999;
}

.dropdown-content a {
  color: #333;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* ======== Galerie ======== */
.bilder-content {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
  border-radius: 6px;
  transition: transform 0.2s ease-in-out;
}

.gallery img:hover {
  transform: scale(1.03);
}

/* ======== Lightbox ======== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  text-align: center;
  padding: 60px 10px 20px;
  box-sizing: border-box;
}

.lightbox:target {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 95%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 0 20px #000;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 36px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

/* ======== Footer ======== */
.footer {
  border-top: 1px solid #e0e0e0;
  background-color: #f5f5f5;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  margin-top: 60px;
}

.footer a {
  margin: 0 15px;
  color: #555;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
  color: #0066cc;
}

/* ======== Responsive Optimierung ======== */
@media (max-width: 768px) {
  .hero {
    height: auto;
    font-size: 24px;
    padding: 40px 10px;
  }

  .navigation {
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .navigation a {
    margin: 8px 0;
    font-size: 18px;
  }

  .dropdown-content {
    position: static;
    width: 100%;
    box-shadow: none;
  }

  .dropdown-content a {
    text-align: center;
    padding: 10px;
  }
  .content {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    gap: 20px;
    margin: 30px auto;
  }
  .lightbox .close {
    top: 10px;
    right: 20px;
    font-size: 30px;
  }

  .footer {
    font-size: 13px;
    padding: 15px 10px;
  }

  .footer a {
    display: block;
    margin: 5px 0;
  }
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  justify-items: center; /* sorgt für zentrierte Bilder */
}

.gallery img {
  width: 100%;
  max-width: 300px; /* Bild wird nicht größer als 300px */
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
