/* Root-Level CSS-Variablen */
:root {
  --primary-color: #731d88;
  --secondary-color: #333;
  --background-color: #fff;
  --text-color: #000;
  --success-color: #28a745; /* Grün */
  --error-color: #dc3545; /* Rot */
  --header-height: 4rem;
  --footer-height: 3rem;
  --transition-duration: 0.3s;
  --font-size-small: 0.8rem;
  --font-size-mediumsmall: 1rem;
  --font-size-medium: 1rem;
  --font-size-large: 1.2rem;
  --mobile-menu-width: 58%; /* Breite für das mobile Menü und Footer-Icons */
    --z-index-header: 900;
    --z-index-submenu: 950;
    --z-index-slider: 700;
    --z-index-slider-controls: 710;
    --z-index-info-box: 720;
    --z-index-modal: 3000;
    --z-index-mobile-menu: 2000;
    --z-index-footer: 100;
    --primary-link-color: #731d88;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Allgemeine Stile */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--background-color);
  color: var(--text-color);
}

body {
  font-family: 'Nueva Std', Georgia, serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header-Stile */
header {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 0.102vw 5%;
  border-bottom: none; /* Entferne die Trennlinie unter dem Header */
  box-shadow: none; /* Entferne Schatteneffekte */
}

.header-container {
  display: flex;
  width: 100%;
}

/* Linker und rechter Bereich des Headers */
.header-left, .header-right {
  width: 42%;
  display: flex;
  align-items: center;
}

.header-left {
  justify-content: flex-end;
  padding-right: 3vw;
}

.header-right {
  justify-content: flex-start;
  padding-left: 3vw;
}

/* Zentrierter Bereich für das Logo */
.header-center {
  width: 15%;
  display: flex;
  justify-content: center;
  align-items: center;
}

header .logo img {
  width: 15vw;
  height: auto; 
  margin-top: 5px;
}

/* Hauptmenü */
.header-left ul, .header-right ul {
  display: flex;
  list-style: none;
  gap: 2vw;
}

.header-left ul li, .header-right ul li {
  position: relative; /* Bezugsrahmen für Submenü */
  cursor: pointer; /* Zeigt Interaktivität an */
}

/* Links für Hauptmenüpunkte im Desktop-Menü */
.header-left ul li a, .header-right ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-size: clamp(var(--font-size-small), 1vw, var(--font-size-large));
  line-height: 1; /* Standard Zeilenhöhe */
  margin-top: clamp(5px, 1vw, 10px); /* Dynamischer Abstand nach oben */
  display: flex;
  align-items: center;
  white-space: nowrap; /* Kein Zeilenumbruch */
  overflow: hidden; /* Verhindert Überlauf bei zu langem Text */
  text-overflow: ellipsis; /* Optional: Zeigt "..." bei abgeschnittenem Text */
  cursor: pointer; /* Zeigt an, dass die Menüpunkte klickbar sind */
}

/* Animation für Hover-Effekt (Unterstrich) */
.header-left ul li a::after, .header-right ul li a::after {
  content: '';
  position: absolute;
  bottom: 0; /* Abstand zum Text */
  left: 50%;
  width: 0;
  height: 1px;
  background-color: var(--text-color);
  transform: translateX(-50%);
  z-index: 350; /* Höher als Submenü */
  transition: width var(--transition-duration) ease;
}

/* Strich bei Hover ausbreiten */
.header-left ul li:hover > a::after, 
.header-right ul li:hover > a::after {
  width: 100%;
}

/* Strich bleibt ausgebreitet, wenn Submenü geöffnet ist */
.header-left ul li:hover > .submenu ~ a::after, 
.header-right ul li:hover > .submenu ~ a::after {
  width: 100%; /* Ausgebreitet */
}

/* Submenü */
.header-left .submenu,
.header-right .submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--background-color);
  list-style: none;
  padding: 0.3rem 1rem;
  z-index: var(--z-index-submenu);
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);

  /* Animationen */
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;

  /* NEU: Vertikale Stapelung */
  display: flex;
  flex-direction: column;

  transition: opacity 0.3s ease, max-height 0.8s ease, visibility 0.3s ease;
  padding-top: 1rem;
  padding-bottom: 1rem;
  }
  

/* Submenü-Elemente */
.header-left .submenu li,
.header-right .submenu li {
  display: flex;
  justify-content: center;
  align-items: center;
/* Submenü */
.header-left .submenu,
.header-right .submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--background-color);
  list-style: none;
  padding: 0.3rem 1rem;
  z-index: var(--z-index-submenu);
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);

  /* Animationen */
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;

  /* NEU: Vertikale Stapelung */
  display: flex;
  flex-direction: column;

  transition: opacity 0.3s ease, max-height 0.4s ease, visibility 0.3s ease;
}

/* Submenü-Elemente */
.header-left .submenu li,
.header-right .submenu li {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0rem 1rem;
  margin: 0;
  white-space: nowrap;
  text-align: center;
}

/* Links im Submenü */
.header-left .submenu li a,
.header-right .submenu li a {
  text-decoration: none;
  color: black;
  white-space: nowrap;
  line-height: 1.2;
  position: relative;
  display: inline-block;
  padding: 0;
  margin: 0;
}

/* Hover-Effekt (Strich unter Link) */
.header-left .submenu li a::after,
.header-right .submenu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: black;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.header-left .submenu li a:hover::after,
.header-right .submenu li a:hover::after {
  width: 100%;
}

/* Submenü sichtbar machen */
.header-left ul li.open > .submenu,
.header-right ul li.open > .submenu {
  opacity: 1;
  visibility: visible;
  max-height: 1000px;
}

  margin: 0;
  white-space: nowrap;
  text-align: center;
}

/* Links im Submenü */
.header-left .submenu li a,
.header-right .submenu li a {
  text-decoration: none;
  color: black;
  white-space: nowrap;
  line-height: 1.2;
  position: relative;
  display: inline-block;
  padding: 0;
  margin: 0;
}

/* Hover-Effekt (Strich unter Link) */
.header-left .submenu li a::after,
.header-right .submenu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: black;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.header-left .submenu li a:hover::after,
.header-right .submenu li a:hover::after {
  width: 100%;
}

/* Submenü sichtbar machen */
.header-left ul li.open > .submenu,
.header-right ul li.open > .submenu {
  opacity: 1;
  visibility: visible;
  max-height: 1000px;
}

.page-wrapper {
  flex: 1; /* Dehnt sich zwischen Header und Footer aus */
  display: flex;
  flex-direction: column; /* falls vertikale Inhalte benötigt werden */
}

/* Slider */
.slider {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 66.66%; /* festes 3:2 Verhältnis */
  overflow: hidden;
  background-color: white; /* Weiß als Hintergrund für Ränder */
  border: none;
  box-shadow: none;
  z-index: var(--z-index-slider);
  }
  

.slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center; /* horizontal zentrieren */
  align-items: center;     /* vertikal zentrieren */
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slider .slide.active {
  opacity: 1;
}

.slider .slide img {
  width: auto;
  height: 100%;            /* Bild füllt immer die volle Höhe aus */
  max-width: 100%;         /* Breite begrenzt auf Slider-Breite */
  object-fit: contain;     /* vollständige Sichtbarkeit */
  object-position: center; /* Zentriert das Bild horizontal */
}

/* Slider Pfeile unverändert */
.slider .arrow {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  background: none;
  cursor: pointer;
  transform: translateY(-50%);
  z-index: var(--z-index-slider-controls);
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  border-radius: 50%;
  box-shadow: none;
  padding: 0; /* Wichtig, um Platzierungen nicht zu verändern */
  margin: 0;
}

.slider .arrow img {
  width: 100%;  /* SVGs füllen die Button-Größe exakt aus */
  height: auto;
}

.slider .arrow.left {
  left: 20px;
}

.slider .arrow.right {
  right: 20px;
}

.slider:hover .arrow {
  opacity: 1;
}

/* Info-Button */
.info-button {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: none;
  color: var(--primary-color);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: var(--font-size-medium);
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 20;
  transition: background 0.3s ease, opacity 0.3s ease;
  outline: none; /* Entfernt die blaue Linie */
  color: #c293c2;
}

/* Info-Box */
.info-box {
  position: absolute; /* Absolut positioniert */
  bottom: 60px; /* Abstand vom unteren Rand des Sliders */
  right: 10px; /* Abstand vom linken Rand */
  background: rgba(194, 147, 194, 0.8); /* Hintergrundfarbe mit 80% Deckkraft */
  padding: 10px;
  border-radius: 5px; /* Abgerundete Ecken */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Schatten für bessere Lesbarkeit */
  z-index: var(--z-index-info-box);
  font-size: var(--font-size-small);
  opacity: 0; /* Unsichtbar, bis aktiv */
  transform: translateY(10px); /* Leicht nach unten verschoben */
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none; /* Verhindert Interaktion, wenn versteckt */
  outline: none; /* Entfernt blaue Linie */
}

.info-box:not([hidden]) {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto; /* Interaktiv, wenn sichtbar */
}

.info-box p {
  margin: 5px 0;
}

.slider .info-button svg circle {
  fill: black;
  stroke: #c293c2;
}

.slider .info-button svg text {
  fill: #c293c2;
}

/* Modal Slider */
.slider-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.slider-modal.hidden-modal {
  display: none;
}

/* Slider Container identisch zum regulären Slider */
/* Exakte Anpassung für Modalen Slider */

.slider-modal .modal-content {
  position: relative;
  width: 96vw;
  max-width: 1280px;
  aspect-ratio: 3 / 2;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider-modal .slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

.slider-modal .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slider-modal .slide.active {
  opacity: 1;
}

.slider-modal .slide img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

/* Pfeile korrekt positionieren */
.slider-modal .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 50;
}

.slider-modal .arrow.left {
  left: 20px;
}

.slider-modal .arrow.right {
  right: 20px;
}

.slider-modal .arrow img {
  width: 100%;
}

.slider-modal .arrow:hover {
  background: none;
}

/* Schließen-Button */
.modal-close {
  position: absolute;
  top: 2px;
  right: 2px;
  font-size: 36px !important;
  color: #c293c2 !important;
  background: transparent !important;
  border: none !important;
  padding: 0;
  z-index: 9999;
  line-height: 1;
  cursor: pointer;
  text-shadow: none !important;
}

.modal-close:hover {
  opacity: 0.8;
}

@media (max-width: 600px) {
  .modal-close {
    font-size: 28px;
    top: 6px;
    right: 6px;
  }
}

/* Mobile Menü-Stile */
/* FIXIERTER Burger-Header (transparent, ohne Klickkonflikte) */
/* Mobile Menü-Stile */
.mobile-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 1);
  z-index: var(--z-index-mobile-menu);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.mobile-header.menu-open {
  background-color: transparent;
  pointer-events: none;
}

.mobile-header.menu-open .mobile-logo,
.mobile-header.menu-open .hamburger-menu {
  pointer-events: auto;
}

/* Neuer Container für das scrollbare Logo */
.mobile-logo-container {
  position: fixed;
  top: 1rem;       /* wie der Burger-Button positioniert */
  left: 1rem;      /* Abstand links am Rand */
  height: 2rem;    /* exakt gleiche Höhe wie der Burger */
  display: flex;
  align-items: center;
  z-index: calc(var(--z-index-mobile-menu) + 1); /* Logo liegt über Header, aber unter Burger */
  pointer-events: none;  /* Verhindert Klickkonflikte */
}

.mobile-logo-container .mobile-logo {
  height: 100%;
  pointer-events: auto;  /* nur das Logo bleibt klickbar */
}

.mobile-logo-container .mobile-logo img {
  height: 100%;
  width: auto;
}


/* Neuer Container für den Burger-Button (sticky) */
.hamburger-container {
  position: sticky;
  position: fixed;  /* fixiert am Viewport */
  top: 1rem;        /* Abstand vom oberen Rand */
  right: 1rem;      /* Abstand vom rechten Rand */
  z-index: calc(var(--z-index-mobile-menu) + 1); /* falls nötig */
}

/* Burger-Button bleibt unverändert */
.hamburger-menu {
  width: 2rem;
  height: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 0.2rem;
  background-color: black;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-menu:not(.active) span {
  outline: 1px solid #c293c2;
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: var(--mobile-menu-width);
  height: 100vh;
  background-color: white;
  z-index: 1000;
  padding: 1rem;
  padding-top: 0.6rem;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  transform: translateX(100%); /* außerhalb des Bildschirms */
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  user-select: none;
}

.mobile-nav * {
  user-select: none;
}

.mobile-nav.active {
  transform: translateX(0); /* gleitet hinein */
  opacity: 1;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Trennlinien für Überpunkte im Hamburger-Menü */
.mobile-nav ul > li {
  position: relative;
  border-bottom: 1px solid #ddd; /* Dezente Trennlinie */
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  margin-bottom: 0;
}

/* Standardstil für Links im Hamburger-Menü */
.mobile-nav ul li a {
  text-decoration: none; /* Entfernt die Unterstreichung */
  color: black; /* Standardfarbe für die Schrift */
  font-size: var(--font-size-medium); /* Schriftgröße */
  transition: color 0.3s ease; /* Weicher Übergang für Hover */
}

/* Hover-Effekt für Links im Hamburger-Menü */
.mobile-nav ul li a:hover {
  color: #333; /* Dunklere Farbe beim Hover */
}

/* Submenü */
.mobile-nav .submenu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-top: 0;
  margin-top: 0;
  flex-direction: column;
  background-color: white;
  z-index: 1000;
  border: none;
  transition: max-height 0.4s ease, opacity 0.4s ease, padding-top 0.3s ease, margin-top 0.3s ease;
  user-select: none;
  will-change: max-height, opacity;
}


/* Submenü wird angezeigt, wenn es geöffnet ist */
.mobile-nav ul li.has-submenu.open > .submenu {
  display: flex;
  max-height: 500px;
  opacity: 1;
  margin-top: 15px; /* ✅ Abstand nach oben */
  }
  
/* Pfeil für Submenüpunkte */
.mobile-nav .has-submenu > a::after {
  content: "▼";
  font-size: 1rem;
  margin-left: 0.5rem;
  color: black;
  display: inline-block;
  transform-origin: center;
  transition: transform 0.3s ease;
}

/* Pfeil dreht sich, wenn Submenü geöffnet ist */
.mobile-nav ul li.has-submenu.open > a::after {
  transform: rotate(180deg);
}

/* Trennlinien für Überpunkte im Hamburger-Menü */
.mobile-nav ul > li {
  position: relative;
  border-bottom: 1px solid #ddd; /* Dezente Trennlinie */
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  margin-bottom: 0;
}

/* Entfernt Trennlinien für Submenüpunkte */
.mobile-nav .submenu li {
  border: none; /* Entfernt Trennlinien */
  padding: 0.5rem 0; /* Geringere Abstände zwischen den Punkten */
}

.mobile-nav .submenu li a {
  font-size: var(--font-size-mediumsmall);
}

/* Mobile Footer Icons standardmäßig ausblenden */
.mobile-footer-icons {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 58vw; /* direkt wie das mobile Menü */
  display: none;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 0.5rem 0;
  z-index: 1000;
  box-sizing: border-box;
}

/* Aktiv bei geöffnetem Menü */
.mobile-footer-icons.active {
  display: flex;
}

/* Gleichmäßige Verteilung & Zentrierung */
.mobile-footer-icons a {
  flex: 1;
  text-align: center;
}

/* Bildstil */
.mobile-footer-icons img {
  display: block;
  height: auto;
  margin: 0 auto;
}

/* Icon-Größen */
.mobile-icon-facebook img {
  width: 30px;
}

.mobile-icon-instagram img {
  width: 20px;
}

.mobile-icon-booking img {
  width: 30px;
}

.mobile-icon-phone img,
.mobile-icon-email img {
  width: 24px;
}

/* Footer */
footer {
  background-color: var(--background-color);
  border-top: 1px solid #ddd;
  padding: 0.2rem 0;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  margin-top: auto;
}

.footer-container {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Social Media und Kontakt-Icons */
.footer-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-left: 0;
  flex: 0;
}

.footer-icons a {
  text-decoration: none;
  color: black;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-icons img {
  display: block;
  height: auto;
}

/* Individuelle Icon-Größen festlegen */
.icon-facebook img {
  width: 27px;
}

.icon-instagram img {
  width: 20px;
}

.icon-booking img {
  width: 30px;
}

.icon-phone img,
.icon-email img {
  width: 24px;
}

.footer-icons a:hover {
  transform: scale(1.1);
  color: #333;
}

/* Footer-Menü */
.footer-menu {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  flex: 1;
  font-size: 0.9rem;
}

.footer-menu a {
  text-decoration: none;
  color: var(--text-color);
  font-size: clamp(0.8rem, 1vw, 1.2rem);
  position: relative;
  transition: color var(--transition-duration) ease;
}

.footer-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: black;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.footer-menu a:hover {
  color: var(--primary-color);
}

.footer-menu a:hover::after {
  width: 100%;
}

/* Copyrighthinweis */
.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-color);
  text-align: center;
  flex: 0;
  white-space: nowrap;
  margin: 0;
}

/* Dynamische Darstellung für kleinere Fenster */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    padding: 0.5rem 0.5rem;
  }

  footer {
    box-shadow: none;
    border-top: none;
    z-index: var(--z-index-footer);
  }

  .footer-icons {
    display: none;
  }

  .footer-menu {
    justify-content: center;
    flex: unset;
    font-size: var(--font-size-medium);
  }

  .footer-copyright {
    flex: unset;
    text-align: center;
  }
}

/* Desktop-Ansicht: Blendet das mobile Menü aus */
@media (min-width: 769px) {
  .mobile-nav {
    display: none; /* Versteckt das mobile Menü */
  }

  .mobile-header {
    display: none; /* Versteckt den mobilen Header */
     height: 3rem; /* Beispiel: Höhe verringern */
    margin: 0;
    padding: 0;
  }

  .hamburger-menu {
    display: none; /* Versteckt das Hamburger-Menü */
  }

  .mobile-header.menu-open .mobile-nav {
    display: none; /* Stellt sicher, dass das Menü ausgeblendet bleibt */
  }

.mobile-logo {
  display: none;
}
}

/* Mobile-Ansicht */
@media (max-width: 768px) {
  .header {
    padding: 0; /* Kein Padding im Header */
  }
  
  .header-container {
    display: none; /* Versteckt das Desktop-Menü */
  }

  .mobile-header {
    display: flex; /* Zeigt den mobilen Header */
    background-color: rgba(255, 255, 255, 0);
  }

  .hamburger-menu {
    display: flex; /* Zeigt das Hamburger-Menü */
  }

  .mobile-logo-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2001; /* höher als der Slider (z-index: 700) */
    pointer-events: none; /* falls nötig */
  }
  .mobile-logo {
    margin: 1rem 0 0 1rem; /* oder anpassen */
  }
  .slider {
    margin-top: 0 !important;
  }
}


/* === Modal Styles === */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: var(--z-index-modal); 
  visibility: hidden; /* Standardmäßig versteckt */
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-content {
  background: #fff;
  padding: 20px 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.modal-content h2 {
  font-size: var(--font-size-large);
  margin-bottom: 15px;
}

.modal-content p {
  margin-bottom: 20px;
  color: var(--text-color);
}

.checkbox-group {
  text-align: left;
  margin-bottom: 20px;
}

.checkbox-group label {
  display: block;
  margin-bottom: 10px;
  font-size: var(--font-size-medium);
  cursor: pointer;
}

.checkbox-group input {
  margin-right: 10px;
}

.confirm-button {
  background-color: var(--success-color);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.confirm-button[disabled] {
  background-color: var(--disabled-color);
  cursor: not-allowed;
}

.cancel-button {
  background-color: var(--error-color);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 10px;
}

.modal.visible {
  visibility: visible; /* Sichtbar machen */
  opacity: 1;
}

/* Einheitliches Styling für Links im Modal */
.modal-content a {
  color: var(--link-color); /* Einheitliche Farbe */
  text-decoration: underline; /* Unterstrichen */
  font-weight: bold; /* Fett für bessere Lesbarkeit */
}

.modal-content a:hover {
  color: var(--link-hover-color); /* Dunklere Farbe bei Hover */
  text-decoration: none; /* Kein Unterstrich bei Hover */
}

/* Neuer Abschnitt: Kategorie-Beschreibung (Text über Toggle-Buttons) */
.category-text {
  max-width: 1200px;
  padding: 3rem 1rem 0 1rem; /* Standardmäßig etwas Abstand oben */
  margin: 0.5rem auto 1rem auto;
  text-align: center;
}

@media (max-width: 768px) {
  .category-text {
    padding: 2rem 1rem 0 1rem; /* Auf kleineren Bildschirmen weniger Abstand oben */
  }
}

.category-text h1 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 2rem;
}

.category-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #000;
}

.angebot-section {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.angebot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0.5rem auto;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .angebot-grid {
    grid-template-columns: 1fr;
  }
}

.angebot-box {
  background-color: #fff;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: none;
  width: 100%;
  box-sizing: border-box;
}

.angebot-box h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.angebot-box ul {
  padding-left: 1.2rem;
  margin-bottom: 2rem;
}

.angebot-box li {
  margin-bottom: 0.5rem;
}

.angebot-box .preis {
  font-weight: bold;
  font-size: 1.2rem;
  color: #000;
}

.angebot-hinweis {
  padding: 0 1rem;
  max-width: 1200px;
  margin: 2rem auto 0 auto;
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
  color: #000;
}

.angebot-hinweis .kleiner-text {
  font-size: 0.9rem;
  color: #000;
  margin-top: 1rem;
}

.abschnitt {
  margin-top: 2rem; /* Oder auch 1.5rem, je nach Geschmack */
}

.hochzeit-angebote .angebot-grid {
  display: block;
}

/* ============================================================
   Blog-Seite
   ============================================================ */

   .blog-grid {
    display: grid;
    gap: 2rem;
    padding: 2rem;
  }
  
  /* Einzelne Blogkarte */
  .blog-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
  }
  
  .blog-card:hover {
    transform: translateY(-5px);
  }
  
  /* Bildbereich */
  .blog-card-image img {
    width: 220px;
    height: auto;
    border-radius: 0.75rem;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }
  
  /* Textbereich */
  .blog-card-content {
    flex: 1;
  }
  
  .blog-card-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .blog-card-content p {
    margin-bottom: 1rem;
    color: #666;
  }
  
  .read-more-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: #fff !important;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: bold;
  }
  
  .read-more-button:hover {
    background: #a674a2;
  }
  
/* Mobil optimieren */
@media (max-width: 768px) {
  .blog-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .blog-card-image img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .blog-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .blog-card-content h2,
  .blog-card-content p,
  .read-more-button {
    text-align: center;
  }
}
  
/* Kleinere Schriftgröße für Mobil */
@media (max-width: 768px) {
  body {
    font-size: 0.95rem;
  }

  p {
    font-size: 0.95rem;
    line-height: 1.6; /* angenehme Lesbarkeit */
  }

  h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  h2 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }

  h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
  }
}

/* ========== Blogartikel ========== */

.passbild-info {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
  line-height: 1.6;
  font-size: 1.1rem;
}

.passbild-info h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color)
}

.passbild-info .info-block {
  margin-bottom: 2.5rem;
}

.passbild-info .info-block h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color)
}

.passbild-info .info-block p {
  margin-bottom: 0.5rem;
}

.passbild-info ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}

.passbild-info li {
  margin-bottom: 0.5rem;
}

.passbild-info .abschlusstext p {
  text-align: center;
  font-weight: bold;
  font-size: 1.3rem;
  margin-top: 2rem;
  color: var(--primary-color)
}

/* ========== Blogartikel Header-Bild ========== */

.blog-header-image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem auto 1rem auto; /* Oben 2rem, unten 1rem */
  padding: 1rem;
}

.blog-header-image img {
  max-width: 100%;
  height: auto;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  width: 100%;
  max-width: 600px;
}

/* Extra Abstand auf kleineren Geräten */
@media (max-width: 768px) {
  .blog-header-image {
    margin-top: 4rem; /* Erhöht den oberen Abstand um 0.5rem */
  }
}

/* ========== Impressum ========== */

.impressum {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  font-size: 1rem;
  line-height: 1.6;
}

.impressum h1, .impressum h2 {
  color: var(--primary-color, #444);
  margin-top: 2rem;
}

.impressum a {
  color: var(--link-color, #c293c2);
  text-decoration: underline;
}

.impressum p {
  margin-bottom: 1.2rem;
}

/* ================================
   Laborseite – Preisübersicht
   ================================ */

   .labor-section {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
    background: #fff;
    border-radius: 1rem;
    box-shadow: none;
  }
  
  .labor-section h1,
  .labor-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
  }
  
  .labor-section p {
    margin-bottom: 1.2rem;
    color: #333;
  }
  
  /* Tabelle */
  .labor-pricetable {
    width: 90%;               /* Optional etwas schmaler als 100% */
    max-width: 700px;         /* Optional Obergrenze für große Bildschirme */
    margin: 2rem auto;        /* zentrieren und Luft oben/unten */
    border-collapse: collapse;
    font-size: 1rem;          /* Etwas kleiner als Standardtext */
  }
  
  .labor-pricetable th,
  .labor-pricetable td {
    padding: 0.6rem 0.75rem;
    border: 1px solid #ddd;
    text-align: center; /* 👈 Zentrierung aktiviert */
  }  
  
  .labor-pricetable th {
    background-color: #f5f5f5;
    color: #222;
    font-weight: 600;
  }
  
  .labor-pricetable tr:nth-child(even) {
    background-color: #fafafa;
  }
  
  .labor-pricetable tr:hover {
    background-color: #f0f0f0;
  }

  @media (max-width: 768px) {
    .labor-pricetable {
      font-size: 0.95rem;
      width: 100%;
    }
  
    .labor-pricetable th,
    .labor-pricetable td {
      padding: 0.4rem 0.6rem;
    }
  }

  
  /* Abschnittsüberschriften */
  .labor-section h3 {
    margin-top: 2rem;
    color: var(--primary-color);
    font-size: 1.4rem;
  }
  
  /* Mobilanpassung */
  @media (max-width: 768px) {
    .labor-section {
      padding: 1.5rem 1rem;
    }
  
    .labor-pricetable th,
    .labor-pricetable td {
      padding: 0.5rem;
      font-size: 0.95rem;
    }
  }
  
  /* ================================
            Hochzeitsseite
   ================================ */

   .lovestories {
    max-width: 1200px;
    margin: 1rem auto;
    padding: 0 1rem 1px 1rem; /* 👈 1px padding unten verhindert margin collapsing */
    text-align: center;
    overflow: hidden; /* 👈 verhindert ebenfalls margin collapsing */
    margin-bottom: 0 !important;
    padding-bottom: 1px !important;
    overflow: hidden;
  }
  
  .lovestories h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    margin-top: 2rem;
  }
  
  .heart-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;

  }
  
  .heart-thumb {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    width: clamp(120px, 22vw, 200px);
    height: clamp(120px, 22vw, 200px);
    cursor: pointer;
    mask:
    radial-gradient(at 70% 31%,#000 29%,#0000 30%),
    radial-gradient(at 30% 31%,#000 29%,#0000 30%),
    linear-gradient(#000 0 0) bottom/100% 50% no-repeat;
   clip-path: polygon(-41% 0,50% 91%, 141% 0);
   /* Clip-path inspiriert von css-tip.com */

    overflow: hidden;
    transition: transform 0.3s ease;
  }
  
  .heart-thumb:hover {
    transform: scale(1.05);
  }
  
  .heart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

/* ================================
               Links
  ================================ */

  a:link,
  a:visited {
  color: var(--primary-link-color);
  }

.footer-menu a {
  color: black !important;
}

.blog-links-aligned {
  display: flex;
  max-width: 1200px;
  width: 100%;
  margin: 2rem auto 3rem auto;
  padding: 0 1rem;
  align-items: center;
  gap: 2rem;
}
.blog-link-left,
.blog-link-right {
  display: flex;
  align-items: center;
}

.blog-link-left {
  margin-right: auto; /* schiebt linken Link maximal nach links */
}

.blog-link-right {
  margin-left: auto; /* schiebt rechten Link maximal nach rechts */
}

.blog-link-left a,
.blog-link-right a {
  text-decoration: none;
  color: var(--primary-link-color);
  white-space: nowrap;
  transition: transform 0.3s ease, color 0.3s ease;
}

.blog-link-left a:hover,
.blog-link-right a:hover {
  transform: scale(1.05);
}

/* Zentrierter Link für die Mitte */
.blog-center-aligned {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 2rem auto 3rem auto;
  padding: 0 1rem;
}

.blog-center-aligned a {
  text-decoration: none;
  color: var(--primary-link-color);
  font-weight: bold;
  transition: transform 0.3s, color 0.3s;
}

.blog-center-aligned a:hover {
  transform: scale(1.05);
  color: var(--primary-color);
}

/* Mobile Ansicht optimal gestalten */
@media (max-width: 768px) {
  .blog-links-aligned {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .blog-link-left,
  .blog-link-right {
    margin: 0; /* Auto-Abstände entfernen */
    justify-content: center;
    width: 100%;
  }

  .blog-center-aligned {
    padding: 0 0.5rem;
  }
}

  /* ================================
    Button für versteckte Galerien
   ================================ */

.slider-preview-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 2rem;
}

.slider-preview-button {
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.6rem 1.2rem;
  font-size: 0,8rem;
  line-height: 1.4;
  border: none;
  border-radius: 999px; /* Pillenform wie bei Togglebuttons */
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.2s ease;
  box-shadow: none;
  display: inline-block;
  margin-top: 0.75rem;
}

.slider-preview-button:hover {
  transform: scale(1.02);
}



