/* --- Globale Stile (gelten für alle Bildschirmgrößen) --- */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: white;
  background: url('background.jpg') no-repeat center center fixed;
  background-size: cover;
}

header {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header img {
  height: 50px; /* Standard Logo-Größe */
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column; /* Mobile: Untereinander */
  align-items: flex-start; /* Mobile: Links ausgerichtet */
}

nav ul li {
  margin: 0.5rem 0; /* Mobile: Vertikaler Abstand */
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  display: block; /* Mobile: Ganze Breite anklickbar */
  padding: 0.5rem 0; /* Mobile: Etwas Padding */
}

nav ul li a:hover {
  text-decoration: underline;
}

main {
  padding: 1.5rem;
  background-color: rgba(0, 0, 0, 0.6);
  margin: 0 auto;
}

h1,
h2 {
  color: #ffffff;
}

section {
  margin-bottom: 2rem;
}

footer {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 1rem;
  text-align: center;
  font-size: 0.8rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); /* Standard Galerie für Mobile */
  gap: 0.5rem;
  padding: 0.5rem;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.social {
  margin-top: 2rem;
  text-align: center;
}

.social a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  margin: 0 0.8rem;
  font-size: 1rem;
}

.whatsapp {
  position: fixed;
  bottom: 15px;
  right: 15px;
  background-color: #25d366;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.whatsapp img {
  width: 30px;
  height: 30px;
}

.instagram {
  position: fixed;
  bottom: 75px;
  right: 15px;
  background-color: transparent;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.instagram img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
}

#kontakt-formular iframe {
  width: 100%;
  max-width: 300px; /* Standard Kontaktformular für Mobile */
  height: 800px; /* Angepasste Höhe für Mobile */
  border: 0;
  margin: 0 auto;
  display: block;
}

#impressum-agb {
  display: flex;
  flex-direction: column; /* Mobile: Untereinander */
  gap: 1rem;
}

/* --- PC-spezifische Stile (ab einer Mindestbreite von 768px) --- */
@media (min-width: 768px) {
  header {
    padding: 1rem 2rem;
    align-items: center;
  }

  header img {
    height: 70px;
  }

  nav ul {
    flex-direction: row; /* PC: Nebeneinander */
    align-items: center; /* PC: Vertikal zentriert */
  }

  nav ul li {
    margin-left: 1.5rem;
    margin-bottom: 0; /* Entferne vertikalen Abstand auf PC */
  }

  nav ul li a {
    display: inline-block; /* PC: Nur so breit wie Inhalt */
    padding: 0; /* Entferne vertikalen Padding auf PC */
    font-size: 1.1rem;
  }

  main {
    padding: 2rem;
    max-width: 1200px;
  }

  section {
    margin-bottom: 3rem;
  }

  footer {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Angepasste Galerie für PC */
    gap: 1rem;
    padding: 1rem;
  }

  .social {
    margin-top: 3rem;
  }

  .social a {
    margin: 0 1.5rem;
    font-size: 1.3rem;
  }

  .whatsapp {
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
  }

  .whatsapp img {
    width: 35px;
    height: 35px;
  }

  .instagram {
    bottom: 90px;
    right: 30px;
    width: 60px;
    height: 60px;
  }

  .instagram img {
    width: 40px;
    height: 40px;
  }

  #kontakt-formular iframe {
    max-width: 400px; /* Angepasstes Kontaktformular für PC */
    height: 1256px;
  }

  #impressum-agb {
    flex-direction: row; /* PC: Nebeneinander */
    gap: 3rem;
  }

  #impressum-agb section {
    flex: 1;
  }

  .dropdown-content {
    position: absolute;
    min-width: 200px;
  }

  .dropdown-content li a {
    padding: 12px 16px;
    font-size: 1rem;
  }
}

/* --- Größere PC-Bildschirme (ab einer Mindestbreite von 1200px - optionale Anpassungen) --- */
@media (min-width: 1200px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Noch mehr Platz pro Bild auf sehr breiten Bildschirmen */
  }

  /* Hier könnten weitere Anpassungen für sehr große Bildschirme folgen */
}

/* --- Dropdown-Menü Stile (bleiben global, können aber in Media Queries angepasst werden) --- */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.7);
  min-width: 150px; /* Standard Dropdown Breite */
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-content li a {
  color: white;
  padding: 8px 12px; /* Standard Dropdown Link Padding */
  text-decoration: none;
  display: block;
}

.dropdown-content li a:hover {
  background-color: rgba(0, 0, 0, 0.9);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* --- Mobile-spezifische Anpassung des Dropdowns (kann je nach Bedarf angepasst werden) --- */
@media (max-width: 767px) {
  nav ul {
    /* Dropdown-Menü könnte hier anders dargestellt werden, z.B. aufgeklappt */
    flex-direction: column; /* Sicherstellen, dass es untereinander bleibt */
  }

  .dropdown-content {
    position: static; /* Nimmt normalen Fluss ein */
    display: none; /* Standardmäßig geschlossen */
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: none;
    width: 100%;
  }

  .dropdown:hover .dropdown-content {
    display: block; /* Öffnet das Menü bei Hover (auf Touchscreens eher unüblich) */
  }

  .dropdown a {
    display: block; /* Macht den Link klickbar für das Dropdown */
  }
}