/* ===========================================
   Responsive CSS: Überarbeitete Version
   =========================================== */
html {
  box-sizing: border-box;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}
/* Grundlegendes Styling */
body {
  font-family: "FF Schulbuch Pro Bayern Regular", sans-serif;
  text-align: center;
  margin: 0;
  padding: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  color: #003366;
}

/* -------------------------------------------
   Header & Hero Section
-------------------------------------------- */
header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5)),
    url(images/Tagungsraum\ mit\ Logo.png) no-repeat center/cover;
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin-bottom: 3rem;
  height: 1400px;
}

header h1 {
  font-size: 6rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 3rem;
  margin-bottom: 1.25rem;
}

/* -------------------------------------------
   Über uns - Video Hintergrund
-------------------------------------------- */
.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.about-content {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  justify-content: center;
  height: 100vh;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 20px;
  animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 1.875rem;
  background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2)),
    url(images/EIngang.jpg) no-repeat center/cover;
  position: relative;
  width: 100%;
}

#about {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#about h2 {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 3.75rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: white;
}

#about p {
  font-size: 1.875rem;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.8;
}

/* -------------------------------------------
   Navigation & Sprachumschalter
-------------------------------------------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 0 40px;
  background: #fff;
  display: grid;
  grid-template-columns: auto 1fr auto; /* angepasst */
  align-items: center;
  box-sizing: border-box;
  height: 60px;
  z-index: 1001;
}

.nav-menu i {
  margin-right: 0.75rem;
  color: black;
  text-align: center;
}
.nav-menu a {
  position: relative;
  padding-left: 1.5rem;
}

.nav-menu a:hover::before,
.nav-menu li.active a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: grey;
  border-radius: 2px;
}

.contact-center {
  display: flex; /* Flex-Container für Text + Button */
  align-items: center; /* vertikal mittig */
  justify-content: center; /* horizontal mittig innerhalb des Containers */
  justify-self: center; /* platziert das ganze Element in der Mitte der Grid-Spalte */
  gap: 0.5rem; /* Abstand zwischen Text und Button */
}

.contact-text,
.contact-btn {
  color: black;
  font-size: 2rem;
  font-family: "Anton", sans-serif;
}

/* Hamburger-Button */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0.5rem;
  z-index: 1006;
}

/* Transformations-Ursprung und Übergänge auf allen Balken */
.menu-toggle span {
  width: 24px;
  height: 3px;
  background: #000;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* Erster Balken: nach unten schieben und um 45° drehen */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

/* Zweiter Balken: ausblenden */
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

/* Dritter Balken: nach oben schieben und um -45° drehen */
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Ausgeblendetes Menü */
.nav-menu {
  position: absolute;
  top: 60px;
  left: 0;
  width: 200px;
  background: #fff;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transform: translateX(-110%);
  transition: transform 0.3s ease;
  z-index: 1005;
}

/* Menü offen */
.nav-menu.open {
  transform: translateX(0);
}

.nav-menu li + li {
  margin-top: 0.25rem;
}

.nav-menu a {
  display: block;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #000;
}
.nav-menu a:hover {
  background: #f0f0f0;
}

/* Sprachumschalter */
.language-dropdown {
  position: relative;
}

.language-dropdown .dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 1em;
}

.language-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #fff;
  min-width: 7.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  list-style: none;
  padding: 5px 0;
  margin: 0;
  z-index: 101;
}

.language-dropdown .dropdown-menu li {
  margin: 0;
}

.language-dropdown .dropdown-menu li a {
  color: #333;
  padding: 5px 10px;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.language-dropdown .dropdown-menu li a:hover {
  background-color: #f1f1f1;
}

.language-dropdown:hover .dropdown-menu {
  display: block;
}

/* -------------------------------------------
   Services Section (Vorteile)
-------------------------------------------- */
.services-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 1.875rem;
  background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2)),
    url(images/EIngang.jpg) no-repeat center/cover;
  position: relative;
  width: 100%;
}

#services h2 {
  font-size: 40px;
  font-weight: bold;
  color: white;
}

.services-section::before {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.services-nav {
  position: relative;
  z-index: 10;
}

.services-nav button {
  background: grey;
  color: white;
  padding: 15px 20px;
  font-size: 1.25rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  margin: 0 1.25rem;
}

.services-nav button:hover {
  background: black;
  transform: scale(1.1);
}

.services-nav button.active {
  background: black;
  transform: scale(1.05);
}

.services-cards {
  position: relative;
  width: 100%;
  min-height: 37.5rem;
  border-radius: 20px;
  overflow: hidden;
  background: transparent;
}

/* Desktop-Layout für Vorteilskarten */
.service-card {
  position: absolute; /* Staple alle Panels übereinander */
  top: 0; /* Alle beginnen an derselben oberen Position */
  left: 50%;
  transform: translateX(-50%); /* Zentriere horizontal */
  width: 100%;
  max-width: 31.25rem;
  background: white;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease-in-out, opacity 0.6s ease-in-out;
  margin-top: 10px;
}

.service-card img {
  width: 100%;
  border-radius: 8px;
  outline: grey 2px solid;
}

.services-cards p {
  color: black;
}

.service-card.active {
  opacity: 1;
  transform: translateX(-50%);
}

/* -------------------------------------------
   Gallery Section
-------------------------------------------- */
.gallery-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 1.875rem;
  background: linear-gradient(rgba(50, 50, 50, 0.8), rgba(30, 30, 30, 0.6));
  position: relative;
  width: 100%;
  min-height: 31.25rem;
}

#gallery h2 {
  font-size: 3.125rem;
  color: black;
  margin-bottom: 20px;
}

.swiper {
  width: 100%;
  max-width: 75rem;
  margin: 0 auto;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

.swiper-slide img {
  max-height: 37.5rem;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.swiper-slide:hover img {
  transform: scale(1.01);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.caption {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  color: #fff;
  font-size: 1.5rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  border-radius: 5px;
  opacity: 0;
  backdrop-filter: blur(3px);
  transition: opacity 0.3s ease, transform 0.3s ease, backdrop-filter 0.3s ease;
}

.swiper-slide:hover .caption {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Pfeile */
.swiper-button-prev,
.swiper-button-next {
  width: 70px;
  height: 70px;
  line-height: 50px;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  background: linear-gradient(135deg, #4c4c4c, #2e2e2e);
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: linear-gradient(135deg, #5e5e5e, #3a3a3a);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4);
}

/* -------------------------------------------
   Lightbox Modal
-------------------------------------------- */
#lightbox {
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 40px);
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3000;
}

.lightbox-overlay,
.lb-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox-content,
.lb-content {
  max-width: 90vw;     /* nie breiter als 90% des Viewports */
  max-height: 80vh;    /* nie höher als 80% des Viewports */
  width: auto;
  height: auto;
  overflow: hidden;    /* Bild oder Video skaliert und scrollt innerhalb */
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

#lightbox.active {
  visibility: visible;
  opacity: 1;
}

#lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

#lightbox.active img {
  transform: scale(1);
}

#lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 1.875rem;
  color: white;
  cursor: pointer;
  background: transparent;
  border: none;
}

/* -------------------------------------------
   Kontaktformular & Impressum
-------------------------------------------- */
.contact-btn {
  display: inline-block;
  background: linear-gradient(45deg, grey, rgb(182, 182, 182));
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  font-size: 1.125rem;
  border-radius: 8px;
  transition: background 0.3s, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.contact-btn:hover {
  background: linear-gradient(45deg, #43a047, #66bb6a);
  transform: translateY(-2px);
}

.contact-btn:active {
  transform: translateY(0);
}

.contact-section {
  display: flex;
  justify-content: center;
  padding: 20px;
}

.contact-box {
  width: 90%;
  max-width: 50rem;
  padding: 30px;
  border: 2px solid grey;
  border-radius: 10px;
  background-color: #f9f9f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#contact h2 {
  font-size: 2.5rem;
  color: black;
  font-weight: bold;
}

.impressum {
  background: grey;
  color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  width: 100%;
  max-width: 115.625rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.impressum-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.impressum-item i {
  font-size: 1.25rem;
  margin-right: 10px;
  color: white;
}

#impressum {
  margin-top: 75px;
  margin-bottom: -5px;
}

/* Globale Button Styles */
.button {
  display: inline-block;
  margin: 10px;
  padding: 10px 20px;
  background: linear-gradient(45deg, grey, rgb(211, 211, 211));
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.button:hover {
  transform: scale(1.05);
}

.button-container {
  margin-top: 20px;
  text-align: center;
}

#impressum a[href*="instagram.com"] {
  color: white;
  text-decoration: none;
}

#impressum a[href*="tiktok.com"] {
  color: white;
  text-decoration: none;
}

#impressum a[href*="facebook.com"] {
  color: white;
  text-decoration: none;
}

/* -------------------------------------------
   Angebots-Sektion
-------------------------------------------- */
#angebote {
  min-height: 100vh;
  text-align: center;
  padding: 40px;
  background: linear-gradient(rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.2)),
    url(images/Büroflur.jpg) no-repeat center/cover;
  color: white;
  font-size: 1rem;
}

#angebote h2 {
  font-size: 3.125rem;
  font-weight: bold;
  color: white;
}

/* Karten-Container und einzelne Karte */
.angebote-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.angebot-card {
  min-height: 31.25rem;
  background: white;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: 25rem;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

.angebot-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
  outline: grey 2px solid;
}

.angebot-card:hover {
  transform: scale(1.05);
}

.angebot-card h3 {
  font-size: 1.875rem;
  margin-bottom: 10px;
  color: black;
}

.angebot-card p {
  font-size: 1.25rem;
  color: #333;
}

/* Animation für Angebots-Karten */
.angebot-card {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-in-out;
}

.angebot-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------------
   Preise-Sektion & Slider
-------------------------------------------- */

#preise {
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2));
  color: white;
  font-size: 1rem;
  padding: 40px;
  text-align: center;
  min-height: 100vh;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Damit der Inhalt darüber liegt */
  overflow: hidden;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
}

#preise h2 {
  font-size: 3.125rem;
  font-weight: bold;
  color: white;
}

/* Slider-Container */
.slider-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  max-width: 100rem;
  margin: 0 auto;
  padding: 0 50px;
}

.preis-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 87.5rem;
  margin: 0 auto;
  padding: 0 80px;
}

.preis-container {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
  width: max-content;
  justify-content: center;
  transform: translateX(0);
  transition: transform 0.5s ease-in-out;
}

.preis-card {
  min-height: 31.25rem;
  background: white;
  padding: 1%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: 25rem;
  flex-shrink: 0;
  text-align: center;
  transition: transform 0.3s ease-in-out;
  max-width: 90%;
}

.preis-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
  outline: grey 2px solid;
}

.preis-card:hover {
  transform: scale(1.05);
}

.preis-card h3 {
  font-size: 1.875rem;
  margin-bottom: 10px;
  color: black;
}

.preis-card h4 {
  font-size: 2.5rem;
  color: black;
  position: absolute;
  bottom: -35px;
  left: 50%;
  text-align: center;
  transform: translateX(-50%);
}

.preis-card p {
  font-size: 1.25rem;
  color: #333;
}

/* Animation für Preis-Karten */
.preis-card {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-in-out;
}

.preis-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* Pfeile für den Slider */
#prevBtn,
#nextBtn {
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  border-radius: 50%; /* Runde Form */
  width: 50px;
  height: 50px;
  cursor: pointer;
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1; /* Setzt den Zeilenabstand, um die Baseline zu korrigieren */
  padding: 0; /* Entferne zusätzliches Padding */
  position: absolute;
  top: 50%;
  transform: translateY(-50%); /* Zentriert vertikal */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, transform 0.3s ease;
  z-index: 999;
}

#prevBtn,
#nextBtn {
  transform: translateY(calc(-50% + 1px));
}

#prevBtn:hover,
#nextBtn:hover {
  background-color: rgba(0, 0, 0, 0.9);
  transform: translateY(calc(-50% + 1px)) scale(1.1);
}

/* Positionierung der Pfeile */
#prevBtn {
  left: 10px;
}

#nextBtn {
  right: 10px;
}

/* -------------------------------------------
   Globale Sektionseinstellungen
-------------------------------------------- */
section {
  margin-bottom: 3rem;
  border-radius: 30px;
}

/* -------------------------------------------
   Media Queries für Anpassungen
-------------------------------------------- */
@media only screen and (max-width: 320px) {
  /* Grid: Hamburger – Mitte – Dropdown */
  nav {
    grid-template-columns: auto 1fr auto;
    padding: 0 10px;
  }

  /* 1. Schriftzug ausblenden */
  .contact-text {
    display: none;
  }

  /* 2. Kontakt-Container nur mit Button zentrieren */
  .contact-center {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: 0; /* kein Abstand mehr zum Text brauchen wir */
  }

  /* 3. Button leicht anpassen, falls nötig */
  .contact-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  /* 4. Sprachdropdown beibehalten */
  .language-dropdown {
    display: flex;
    justify-content: center;

    height: 60px;
    align-items: center;
    z-index: 1002;
  }
  .language-dropdown .dropdown-menu {
    top: 60px;
    right: 10px;
  }
  br.hide-on-mobile {
    display: none;
  }
  .preis-card h4 {
    width: 90%;
  }
}
@media only screen and (max-width: 430px) {
  html,
  body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    width: 100%;
  }
  #preise {
    width: 100%;
    max-width: 100%;
  }
  #angebote {
    width: 100%;
    max-width: 100%;
  }
  .preis-wrapper p {
    font-size: 1rem !important;
  }
  .preis-card h4 {
    width: 100%;
  }
  .preis-card p {
    width: 100%;
  }
  .preis-wrapper h4 {
    font-size: 2.5rem;
  }
  /* Header & Navigation */
  header {
    min-height: auto; /* Inhalte fließen */
    padding: 2rem 1rem;
  }
  header h1 {
    font-size: 3rem;
  }
  header p {
    font-size: 1.5rem;
  }

  /* Nav-Grid schlanker machen */
  nav {
    grid-template-columns: auto 1fr auto; /* Hamburger – Mitte – Dropdown */
    padding: 0 10px; /* weniger Innenabstand */
  }

  /* Menü-Button größerer Klickbereich */
  .menu-toggle {
    padding: 0.6rem;
    z-index: 1006;
  }

  /* Kontaktbereich feintunen */
  .contact-center {
    gap: 0.4rem;
    justify-self: center;
  }
  .contact-text {
    display: none;
  }
  .contact-btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    justify-content: center;
    justify-self: center;
  }

  /* Sprach-Dropdown rechts oben */
  .language-dropdown {
    position: absolute;
    top: 0;
    right: 10px;
    height: 60px;
    display: flex;
    align-items: center;
    z-index: 1002;
  }
  .language-dropdown .dropdown-menu {
    top: 60px;
    right: 10px;
    min-width: 5.5rem;
  }

  /* Off-Canvas-Hauptmenü */
  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100vw;
    height: auto;
    background: #fff;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
    padding-top: 1rem;
    z-index: 1005;
  }
  .nav-menu.open {
    transform: translateX(0);
  }
  .nav-menu li + li {
    margin-top: 0.25rem;
  }
  .nav-menu a {
    display: block;
    padding: 1rem;
    font-size: 1.05rem;
  }

  /* Über uns */
  #about {
    height: auto;
    width: 100%;
  }
  #about h2 {
    position: relative;
    font-size: 2rem;
    margin-bottom: 10px;
  }
  #about p {
    font-size: 1rem;
    margin-top: 20px;
  }

  #home {
    height: 500px;
  }

  /* Services / Vorteile */
  .services-nav button {
    font-size: 1rem;
    padding: 10px;
    margin: 0.5rem;
  }
  .service-card {
    width: 80%;
    margin: 1rem auto;
  }

  /* Angebote */
  #angebote {
    padding: 2rem;
  }
  .angebot-card {
    width: 90%;
    margin: 10px auto;
  }
  .angebot-card h3 {
    font-size: 1.5rem;
  }
  .angebot-card p {
    font-size: 1rem;
  }

  /* Preissektion anpassen */
  #preise {
    min-height: auto;
    padding: 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2));
  }

  /* Slider und Container als Block anzeigen */
  .slider-container,
  .preis-wrapper,
  .preis-container {
    display: block;
    width: 100%;
    overflow: visible;
    padding: 0;
    margin: 0;
    justify-content: center;
    align-items: center;
  }

  /* Jede Preiskarte als volles Blockelement */
  .preis-card {
    display: block;
    width: 99%;
    margin: 10px auto;
    position: relative;
  }

  /* Pfeile ausblenden */
  #prevBtn,
  #nextBtn {
    display: none;
  }

  /* Galerie */
  #gallery h2 {
    font-size: 2.5rem;
  }
  .swiper-slide img {
    max-height: 25rem;
  }

  #gallery {
    width: screen-width;
  }

  /* Kontakt */
  .contact-box {
    width: screen-width;
    padding: 20px;
  }

  /* Impressum & Footer */
  .impressum {
    font-size: 1rem;
    padding: 10px;
  }
  footer p {
    font-size: 0.875rem;
    padding: 10px;
  }
}

@media (min-width: 431px) and (max-width: 768px) {
  html,
  body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    width: 100%;
  }
  #preise {
    width: 100%;
    max-width: 100%;
  }
  #angebote {
    width: 100%;
    max-width: 100%;
  }
  .preis-wrapper p {
    font-size: 1rem !important;
  }

  .preis-wrapper h4 {
    font-size: 2.5rem;
    left: 90%;
  }

  .preis-card h4 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .preis-card span {
    display: inline-block;
    line-height: 1.1 !important;
  }
  .preis-card {
    display: block;
    width: 99%;
    margin: 10px auto;
    position: relative;
  }
  body {
    max-width: 100%;
  }
  /* Header & Navigation */
  header {
    min-height: auto; /* Inhalte fließen */
    padding: 2rem 1rem;
  }
  header h1 {
    font-size: 3.75rem;
  }
  header p {
    font-size: 2rem;
  }
  nav {
    padding: 10px;
  }

  /* Nav-Grid für drei Spalten (Hamburger – Kontakt – Dropdown) */
  nav {
    grid-template-columns: auto 1fr auto;
    padding: 0 1rem; /* etwas weniger Innenabstand als am Desktop */
  }

  /* Menü-Button etwas größer für bessere Touch-Ziele */
  .menu-toggle {
    padding: 0.6rem;
    z-index: 1006;
  }

  /* Kontakt-Bereich: Text und Button nebeneinander */
  .contact-center {
    display: flex;
    align-items: center;
    justify-self: center; /* platziert gesamten Block mittig */
    gap: 0.5rem; /* Abstand zwischen Text und Button */
  }

  /* Schriftzug leicht verkleinern, damit er nicht umbricht */
  .contact-text {
    font-size: 0.9rem;
    line-height: 1.2;
  }

  /* Button anpassen, damit er proportional bleibt */
  .contact-btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  /* Sprach-Dropdown rechts oben belassen */
  .language-dropdown {
    position: absolute;
    top: 0;
    right: 1rem;
    height: 60px;
    display: flex;
    align-items: center;
    z-index: 1002;
  }
  .language-dropdown .dropdown-menu {
    top: 60px;
    right: 1rem;
  }

  /* Off-Canvas-Menü (optional) */
  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100vw;
    height: auto;
    background: #fff;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 1005;
  }
  .nav-menu.open {
    transform: translateX(0);
  }
  .nav-menu a {
    padding: 1rem;
    font-size: 1rem;
  }

  /* Über uns */
  #about {
    height: auto;
    width: 100%;
    max-width: 100%;
  }
  #about h2 {
    position: relative;
    font-size: 2rem;
    margin-bottom: 10px;
  }
  #about p {
    font-size: 1rem;
    margin-top: 20px;
  }

  #home {
    height: 500px;
  }

  /* Services / Vorteile */
  .services-nav button {
    font-size: 1rem;
    padding: 10px;
    margin: 0.5rem;
  }
  .service-card {
    width: 80%;
    margin: 1rem auto;
  }

  /* Angebote */
  #angebote {
    padding: 2rem;
  }
  .angebot-card {
    width: 90%;
    margin: 10px auto;
  }
  .angebot-card h3 {
    font-size: 1.5rem;
  }
  .angebot-card p {
    font-size: 1rem;
  }

  /* Preissektion anpassen: Keine 100vh Mindesthöhe, sondern flexible Höhe */
  #preise {
    min-height: auto;
    padding: 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2)),
      url(videos/Küche\ und\ Aufenthaltsraum\ Fahrt.mp4) no-repeat center/cover;
  }
  /* Slider und Container als Block anzeigen */
  .slider-container,
  .preis-wrapper,
  .preis-container {
    display: block;
    width: 100%;
    overflow: visible;
    padding: 10px;
    margin: 0 auto;
  }
  /* Pfeile ausblenden */
  #prevBtn,
  #nextBtn {
    display: none;
  }

  /* Gallery */
  #gallery h2 {
    font-size: 2.5rem;
  }
  .swiper-slide img {
    max-height: 25rem;
  }

  #gallery {
    width: 100%;
  }

  /* Kontakt */
  .contact-box {
    width: 90%;
    padding: 20px;
  }

  /* Impressum & Footer */
  .impressum {
    font-size: 1rem;
    padding: 10px;
  }
  footer p {
    font-size: 0.875rem;
    padding: 10px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* Header & Navigation */
  html,
  body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    width: 100%;
  }
  #preise {
    width: 100%;
    max-width: 100%;
  }
  #angebote {
    width: 100%;
    max-width: 100%;
  }
  .preis-wrapper p {
    font-size: 1rem !important;
  }

  .preis-wrapper h4 {
    font-size: 2.5rem;
    left: 90%;
  }

  .preis-card h4 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .preis-card span {
    display: inline-block;
    line-height: 1.1 !important;
  }

  body {
    max-width: 100%;
  }
  /* Header & Navigation */
  header {
    min-height: auto; /* Inhalte fließen */
    padding: 2rem 1rem;
  }
  header h1 {
    font-size: 3.75rem;
  }
  header p {
    font-size: 2rem;
  }
  /* Nav-Grid: Hamburger – Mitte (Text+Button) – Dropdown */
  nav {
    grid-template-columns: auto 1fr auto;
    padding: 0 20px;
  }

  /* Menü-Button für Touch-Ziele optimieren */
  .menu-toggle {
    padding: 0.7rem;
  }

  /* Kontakt-Bereich zentrieren und Abstand anpassen */
  .contact-center {
    display: flex;
    align-items: center;
    justify-self: center;
    gap: 0.75rem;
  }

  /* Schriftzug skalieren, damit er nicht umbricht */
  .contact-text {
    font-size: 1rem;
    line-height: 1.3;
  }

  /* Button proportional anpassen */
  .contact-btn {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }

  /* Sprach-Dropdown rechts oben platzieren */
  .language-dropdown {
    position: absolute;
    top: 0;
    right: 20px;
    height: 60px;
    display: flex;
    align-items: center;
    z-index: 1002;
  }

  .language-dropdown .dropdown-menu {
    top: 60px;
    right: 20px;
    min-width: 6rem;
  }

  /* Über uns */
  #about {
    width: 100%;
    max-width: 100%;
  }
  #about h2 {
    position: relative;
    font-size: 4rem;
    margin-bottom: 10px;
  }
  #about p {
    font-size: 1.5rem;
    margin-top: 20px;
  }

  .about-content {
    width: 100%;
  }

  #home {
    height: 500px;
  }

  /* Services / Vorteile */
  .services-nav button {
    font-size: 1rem;
    padding: 10px;
    margin: 0.5rem;
  }
  .service-card {
    width: 80%;
    margin: 1rem auto;
  }

  /* Angebote */
  #angebote {
    padding: 2rem;
  }
  .angebot-card {
    width: 90%;
    margin: 10px auto;
  }
  .angebot-card h3 {
    font-size: 1.5rem;
  }
  .angebot-card p {
    font-size: 1rem;
  }

  /* Preissektion anpassen: Keine 100vh Mindesthöhe, sondern flexible Höhe */
  #preise {
    min-height: auto;
    padding: 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2)),
      url(videos/Küche\ und\ Aufenthaltsraum\ Fahrt.mp4) no-repeat center/cover;
  }
  /* Slider und Container als Block anzeigen */
  .slider-container,
  .preis-wrapper,
  .preis-container {
    display: block;
    width: 100%;
    overflow: visible;
    padding: 10px;
    margin: 0 auto;
  }
  /* Jede Preiskarte als volles Blockelement */
  .preis-card {
    display: block;
    width: 99%;
    margin: 10px auto;
    position: relative;
  }
  /* Pfeile ausblenden */
  #prevBtn,
  #nextBtn {
    display: none;
  }

  /* Gallery */
  #gallery h2 {
    font-size: 2.5rem;
  }
  .swiper-slide img {
    max-height: 25rem;
  }

  #gallery {
    width: 100%;
  }

  /* Kontakt */
  .contact-box {
    width: 90%;
    padding: 20px;
  }

  /* Impressum & Footer */
  .impressum {
    font-size: 1rem;
    padding: 10px;
  }
  footer p {
    font-size: 0.875rem;
    padding: 10px;
  }
}

@media (min-width: 1025px) and (max-width: 1440px) {
  html,
  body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    width: 100%;
  }
  nav {
    grid-template-columns: auto 1fr auto;
    padding: 0 40px;
  }

  /* Menü-Button für gute Klickfläche */
  .menu-toggle {
    padding: 0.8rem;
  }

  /* Kontakt-Bereich zentriert, großzügiger Abstand */
  .contact-center {
    display: flex;
    align-items: center;
    justify-self: center;
    gap: 1rem;
  }

  /* Schriftzug-Proportionen */
  .contact-text {
    font-size: 1.1rem;
    line-height: 1.4;
  }

  /* Button proportional anpassen */
  .contact-btn {
    font-size: 1.1rem;
    padding: 0.7rem 1.4rem;
  }

  /* Sprach-Dropdown rechts oben halten */
  .language-dropdown {
    position: absolute;
    top: 0;
    right: 40px;
    height: 60px;
    display: flex;
    align-items: center;
    z-index: 1002;
  }

  .language-dropdown .dropdown-menu {
    top: 60px;
    right: 40px;
    min-width: 7.5rem;
  }

  .preis-card h4 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .preis-card span {
    display: inline-block;
    line-height: 1.1 !important;
  }
  .preis-card {
    display: block;
    width: 99%;
    margin: 10px auto;
  }
  /* Slider und Container als Block anzeigen */
  .slider-container,
  .preis-wrapper,
  .preis-container {
    display: block;
    width: 100%;
    overflow: visible;
    padding: 10px;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
  }
  .preis-wrapper h4 {
    font-size: 2.5rem;
    left: 90%;
  }
  /* Pfeile ausblenden */
  #prevBtn,
  #nextBtn {
    display: none;
  }
}

/* Hover Effekt greift nur bei Geräten die Hover unterstützen*/
@media (hover: hover) {
  .language-dropdown:hover .dropdown-menu {
    display: block;
  }
}

.language-dropdown .dropdown-menu {
  display: none;
  /* weitere gewünschte Styles */
}

.language-dropdown .dropdown-menu.show {
  display: block;
}
