/* === LOKALE SCHRIFTARTEN EINBINDUNG START === */

/* Audiowide Regular (latin) */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Audiowide";
  font-style: normal;
  font-weight: 400;
  /* Pfad relativ zur CSS-Datei (style.css im Ordner /css/, Schriftarten im Ordner /fonts/) */
  /* Verwendet den von Ihnen bestätigten Dateinamen für Audiowide */
  src: url("../fonts/audiowide-v20-latin-regular.woff2") format("woff2");
  /* System Farbschema Hinweis */
  color-scheme: dark light;
}

/* Roboto Regular (400) - latin & latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  /* Stellen Sie sicher, dass die Datei roboto-v47-latin_latin-ext-regular.woff2 im Ordner /fonts/ liegt */
  src: url("../fonts/roboto-v47-latin_latin-ext-regular.woff2") format("woff2");
}

/* Roboto Medium (500) - latin & latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  /* Stellen Sie sicher, dass die Datei roboto-v47-latin_latin-ext-500.woff2 im Ordner /fonts/ liegt */
  src: url("../fonts/roboto-v47-latin_latin-ext-500.woff2") format("woff2");
}

/* Roboto Bold (700) - latin & latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  /* Stellen Sie sicher, dass die Datei roboto-v47-latin_latin-ext-700.woff2 im Ordner /fonts/ liegt */
  src: url("../fonts/roboto-v47-latin_latin-ext-700.woff2") format("woff2");
}

/* === LOKALE SCHRIFTARTEN EINBINDUNG ENDE === */

/* --- Globale Variablen & Basis-Stile (BASIEREND AUF IHREM URSPRÜNGLICHEN CODE) --- */
:root {
  /* Farben */
  --primary-color: #0dcaf0;
  --primary-darker: #0b9eae;
  --secondary-color: #ffffff;
  --text-color: #e0e0e0;
  --text-color-light: #ccc; /* Aus Ihrem alten Code */
  --bg-color: #121212;
  --bg-surface: #1e1e1e;
  --bg-card: #2a2a2a;
  --bg-navbar: #1a1a1a; /* Aus Ihrem alten Code, wird ggf. von Komponenten überschrieben */
  --bg-footer: #1a1a1a;
  --bg-footer-bottom: #000;
  --border-color: #333; /* Aus Ihrem alten Code */
  --error-color: #f44336;
  --success-color: #4caf50;
  --link-cyan: #00ffff;

  /* RGB Äquivalente für RGBA */
  --primary-color-rgb: 13, 202, 240;
  --error-color-rgb: 244, 67, 54;
  --success-color-rgb: 76, 175, 80;
  --border-color-rgb: 51, 51, 51;
  --bg-color-rgb: 18, 18, 18;
  --bg-surface-rgb: 30, 30, 30;
  --white-color-rgb: 255, 255, 255;
  --pulse-color-rgb: 13, 202, 240;

  /* Typografie */
  --audiowide-font: "Audiowide", sans-serif;
  --body-font: "Roboto", "Arial", sans-serif; /* Arial als Fallback */
  --base-font-size: 16px;
  --line-height: 1.7;
  --letter-spacing-body: 0.5px;

  /* Layout & Abmessungen */
  --navbar-height: 70px;
  --top-bar-height: 0px; /* Subnav wurde entfernt */
  --total-fixed-header-height: var(--navbar-height);
  --container-width: 90%;
  --container-max-width: 1200px;
  --container-padding: 15px;
  --section-padding-mobile: 30px;
  --section-padding-desktop: 60px;

  /* Star/Label Farben */
  --star-color: #ffc107;
  --star-color-rgb: 255, 193, 7;
  --label-before-color: rgba(244, 67, 54, 0.85);
  --label-after-color: rgba(76, 175, 80, 0.85);

  /* Übergänge */
  --transition-fast: 0.2s ease-out;
  --transition-medium: 0.3s ease-out;
  --transition-slow: 0.5s ease-out;

  /* Schatten */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 8px -2px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 20px -5px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.07);
  --text-shadow-dark: 1px 1px 4px rgba(0, 0, 0, 0.6);
  --text-shadow-light: 1px 1px 3px rgba(0, 0, 0, 0.4);

  /* Mobile Menu Specific */
  --mobile-menu-bg: #181818;
  --mobile-menu-text-color: #e8e8e8;
  --mobile-menu-heading-color: var(--primary-color);
  --mobile-menu-border-color: rgba(var(--border-color-rgb), 0.2);

  /* Footer Specific */
  --footer-icon-size: 1.6rem;
  --footer-bottom-text-size: 0.85rem;

  /* Wow Effect Specific */
  --card-hover-glow-color: rgba(var(--primary-color-rgb), 0.25);
  --card-icon-hover-color: var(--primary-darker);

  /* Fehlende Farben aus neueren Versionen, falls benötigt */
  --white-color: #fff;
  --black-color: #000;
  --google-btn-color: #db4437;
  --google-btn-hover-color: #c33d2e;
  /* Scroll-Transformation */
  --hero-progress: 0; /* 0..1, wird per JS gesetzt */
  --hero-overlay-alpha: 0.7; /* wird per JS dynamisch reduziert */
}
@media (min-width: 768px) {
  :root {
    --container-padding: 25px;
  }
}

/* --- Light Mode Variablen (BASIEREND AUF IHREM URSPRÜNGLICHEN CODE) --- */
body.light-mode {
  --text-color: #1a1a1a;
  --text-color-light: #2d2d2d;
  --bg-color: #f8f9fa;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-navbar: #ffffff;
  --bg-footer: #f1f1f1;
  --bg-footer-bottom: #e9ecef;
  --border-color: #dee2e6;
  --link-cyan: #0dcaf0;
  --primary-color: #0dcaf0;
  --primary-darker: #0b9eae;
  --secondary-color: #212529;
  --primary-color-rgb: 13, 202, 240;
  --border-color-rgb: 206, 212, 218;
  --bg-color-rgb: 244, 246, 248;
  --bg-surface-rgb: 255, 255, 255;
  --pulse-color-rgb: 0, 123, 255;

  /* Mobile Menu Specific Light Mode */
  --mobile-menu-bg: #ffffff;
  --mobile-menu-text-color: #2c3e50;
  --mobile-menu-heading-color: var(--primary-color);
  --mobile-menu-border-color: rgba(var(--border-color-rgb), 0.4);

  /* Wow Effect Specific Light Mode */
  --card-hover-glow-color: rgba(var(--primary-color-rgb), 0.15);

  /* Schatten für Light Mode */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 5px 10px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --text-shadow-dark: 1px 1px 3px rgba(0, 0, 0, 0.2);
  --text-shadow-light: 1px 1px 2px rgba(0, 0, 0, 0.15);
}
/* Theme Toggle in Subnav anpassen */
.subnav .theme-toggle {
  border: none;
  background: transparent;
  cursor: pointer;
}
.subnav .theme-toggle .icon-moon {
  display: none;
}
body.light-mode .subnav .theme-toggle .icon-sun {
  display: none;
}
body.light-mode .subnav .theme-toggle .icon-moon {
  display: inline-block;
}
/* Light-Mode Header/Subnav Veredelung */
body.light-mode .navbar {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
body.light-mode .navbar.navbar-scrolled {
  background-color: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}
body.light-mode .subnav {
  background: rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
body.light-mode .subnav .subnav-link {
  color: #2c3e50;
}
body.light-mode .subnav .subnav-link.active {
  background: rgba(var(--primary-color-rgb), 0.12);
}

/* Light-Mode Karten/Overlays Feinschliff */
body.light-mode .service-box,
body.light-mode .leistung-card {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}
body.light-mode .gallery-image-link {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}
body.light-mode .gallery-image-link:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* --- Globale Resets & Basis-Elemente (IHR URSPRÜNGLICHER CODE) --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: var(--base-font-size);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (max-width: 380px) {
  html {
    font-size: 15px;
  }
}
@media (max-width: 340px) {
  html {
    font-size: 14px;
  }
}
body {
  font-family: var(--body-font);
  background-color: var(--bg-color);
  min-height: 100vh;
  color: var(--text-color);
  line-height: var(--line-height);
  overflow-x: hidden;
  padding-top: 0;
  margin-top: 0;
  letter-spacing: var(--letter-spacing-body);
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

/* Main Content - Platz reservieren um Layout-Shifts zu vermeiden */
main#main-content {
  /* Verhindert Layout Shifts durch frühe Dimensionierung */
  display: block;
  width: 100%;
  position: relative;
  /* Minimale Höhe nur für sehr kleine Bildschirme */
  min-height: 0;
  /* Verhindert Layout Shifts durch Containment - nur layout */
  contain: layout;
  /* Verhindert, dass dynamische Inhalte das Layout verschieben */
  overflow-anchor: none;
  margin-top: 0;
  padding-top: 0;
}
/* Scroll-Offset für Ankerziele unter fixer Header */
#leistungen,
#bewertungen,
#kontakt {
  scroll-margin-top: calc(var(--navbar-height) + 20px);
}
.container {
  width: var(--container-width);
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}
a:hover,
a:focus {
  color: var(--primary-darker);
  text-decoration: underline;
  outline-offset: 2px;
  opacity: 0.85;
}
a:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 3px;
}
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 0.375rem;
}
ul {
  list-style: none;
}
button,
#backToTop {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
  padding: 0;
  color: inherit;
  min-height: 48px;
  min-width: 48px;
}
button:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 3px;
}
fieldset {
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}
legend {
  padding: 0 0.75rem;
  width: auto;
  font-size: 1.15rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--text-color);
  font-family: var(--audiowide-font);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip Link für Barrierefreiheit */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus,
.skip-link:active {
  left: 10px;
  top: calc(var(--navbar-height) + 5px);
  width: auto;
  height: auto;
  padding: 8px 12px;
  z-index: 2000;
  background: var(--primary-color);
  color: #000;
  border-radius: 4px;
  outline: 2px solid #000;
}

/* Utility: initial verstecken (ersetzt ehem. Inline-Styles) */
.is-hidden {
  display: none !important;
}

/* --- Utility Klassen (IHR URSPRÜNGLICHER CODE, ERGÄNZT) --- */
.text-center {
  text-align: center;
}
.mt-1 {
  margin-top: 1rem;
}
.mt-2 {
  margin-top: 1.5rem;
}
.mt-3 {
  margin-top: 2rem;
}
.mt-4 {
  margin-top: 2rem;
}
.mb-1 {
  margin-bottom: 1rem;
}
.mb-2 {
  margin-bottom: 1.5rem;
}
.mb-3 {
  margin-bottom: 2rem;
}
.mb-4 {
  margin-bottom: 2rem;
}
.section-padding {
  padding-top: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}
.section-padding-bottom {
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}
.d-none {
  display: none !important;
}
@media (min-width: 768px) {
  .d-md-inline {
    display: inline !important;
  }
}
@media (min-width: 992px) {
  .d-lg-inline-flex {
    display: inline-flex !important;
  }
}

/* --- Komponenten (Beginn der neueren/überarbeiteten Komponentenstile) --- */

/* Progress Bar */
#progressBarContainer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 1011;
  background-color: rgba(var(--primary-color-rgb), 0.15);
}
#progressBar {
  height: 100%;
  width: 0;
  background-color: var(--primary-color);
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  background: linear-gradient(
    180deg,
    rgba(18, 18, 18, 0.98) 0%,
    rgba(26, 26, 26, 0.95) 100%
  );
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  z-index: 1009;
  box-shadow: 
    0 2px 12px rgba(0, 0, 0, 0.25),
    0 1px 4px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: background-color, box-shadow;
}

/* Navbar im Light Mode */
body.light-mode .navbar {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(250, 250, 250, 0.95) 100%
  );
  box-shadow: 
    0 2px 12px rgba(0, 0, 0, 0.06),
    0 1px 4px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Subnav entfernt */
.navbar.navbar-scrolled {
  background: linear-gradient(
    180deg,
    rgba(18, 18, 18, 0.99) 0%,
    rgba(26, 26, 26, 0.98) 100%
  );
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.35),
    0 2px 8px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-mode .navbar.navbar-scrolled {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.99) 0%,
    rgba(250, 250, 250, 0.98) 100%
  );
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.navbar .container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding, 20px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  gap: 1rem;
}

@media (max-width: 767px) {
  .navbar .container {
    padding: 0 15px;
  }
}
.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav-logo img {
  max-height: calc(var(--navbar-height) - 24px);
  height: auto;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

@media (max-width: 767px) {
  .nav-logo img {
    max-height: calc(var(--navbar-height) - 20px);
  }
}
@keyframes logoPulse {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 2px rgba(var(--primary-color-rgb), 0.2));
  }
  50% {
    transform: scale(1.02);
    filter: drop-shadow(0 0 5px rgba(var(--primary-color-rgb), 0.4));
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 2px rgba(var(--primary-color-rgb), 0.2));
  }
}
.nav-logo a {
  display: block;
  transition: filter 0.3s ease, transform 0.3s ease;
  will-change: filter, transform;
  animation: logoPulse 4s ease-in-out infinite alternate;
  padding: 4px 0;
}

.nav-logo a:hover,
.nav-logo a:focus-visible {
  filter: drop-shadow(0 0 12px rgba(var(--primary-color-rgb), 0.6));
  outline: none;
  animation-play-state: paused;
  transform: scale(1.02);
}

.nav-logo a:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 4px;
  border-radius: 4px;
}
/* Navbar Right (Theme Toggle + Hamburger) */
.navbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.theme-toggle-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: var(--text-color);
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 1011;
  flex-shrink: 0;
}

.theme-toggle-nav:hover,
.theme-toggle-nav:focus {
  background: rgba(var(--primary-color-rgb), 0.12);
  border-color: rgba(var(--primary-color-rgb), 0.4);
  color: var(--primary-color);
  transform: translateY(-1px);
  outline: none;
}

.theme-toggle-nav .icon-moon {
  display: none;
}

body.light-mode .theme-toggle-nav {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .theme-toggle-nav .icon-sun {
  display: none;
}

body.light-mode .theme-toggle-nav .icon-moon {
  display: inline-block;
}

.hamburger {
  display: block;
  font-size: 1.8rem;
  padding: 12px;
  min-width: 48px;
  min-height: 48px;
  z-index: 1011;
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.hamburger:hover,
.hamburger:focus {
  background: rgba(var(--primary-color-rgb), 0.12);
  border-color: rgba(var(--primary-color-rgb), 0.3);
  color: var(--primary-color);
  transform: translateY(-1px);
  outline: none;
}

body.light-mode .hamburger {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}
.nav-links {
  display: none;
  list-style: none;
  position: absolute;
  top: var(--navbar-height);
  left: 0;
  width: 100%;
  background-color: var(--mobile-menu-bg);
  padding: 1rem 0 2rem;
  box-shadow: var(--shadow-lg);
  border-top: 1px solid var(--border-color);
  z-index: 1000;
}
.nav-links a {
  -webkit-tap-highlight-color: transparent;
}
.nav-links.show {
  display: block;
  text-align: left;
}
.nav-links li {
  text-align: left;
  border-bottom: 1px solid var(--mobile-menu-border-color);
}
.nav-links li:last-child {
  border-bottom: none;
}
.nav-links a {
  display: block;
  padding: 0.9rem 1.5rem;
  color: var(--mobile-menu-text-color);
  text-decoration: none;
  font-weight: 500;
  transition: background-color var(--transition-fast),
    color var(--transition-fast);
  position: relative;
  font-size: 1.1rem;
}
.nav-links a:hover,
.nav-links a:focus,
.nav-links a.active {
  color: var(--primary-color);
  background-color: rgba(var(--primary-color-rgb), 0.08);
}
.nav-links a.active::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 50%;
}
.nav-links .menu-category-heading {
  padding: 1rem 1.5rem 0.5rem;
  font-family: var(--audiowide-font);
  color: var(--mobile-menu-heading-color);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-top: 0.5rem;
}
.nav-links li:first-child .menu-category-heading {
  margin-top: 0;
}
.dropdown {
  position: relative;
}
.dropdown .dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.dropdown-toggle .dropdown-icon {
  margin-left: 6px;
  font-size: 0.8em;
  transition: transform var(--transition-medium);
  display: inline-block;
}
.dropdown:hover .dropdown-toggle .dropdown-icon,
.dropdown .dropdown-toggle[aria-expanded="true"] .dropdown-icon {
  transform: rotate(180deg);
}
.dropdown-menu {
  display: none;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  background-color: var(--bg-surface);
  min-width: 220px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1010;
}
@media (min-width: 992px) {
  .dropdown:hover > .dropdown-menu,
  .dropdown > a:focus + .dropdown-menu,
  .dropdown > .dropdown-toggle:focus + .dropdown-menu,
  .dropdown > .dropdown-toggle[aria-expanded="true"] + .dropdown-menu {
    display: block;
  }
}
@media (max-width: 991.98px) {
  .dropdown .dropdown-toggle[aria-expanded="true"] + .dropdown-menu {
    display: block;
    position: static;
    width: 100%;
    box-shadow: none;
    border: none;
    border-top: 1px dashed var(--mobile-menu-border-color);
    background-color: rgba(0, 0, 0, 0.15);
    margin-top: 0.5rem;
    padding: 0.5rem 0 0.5rem 1.5rem;
  }
  .dropdown .dropdown-toggle[aria-expanded="true"] + .dropdown-menu a {
    padding-left: 1rem;
    font-size: 1rem;
  }
}
body.light-mode
  .dropdown
  .dropdown-toggle[aria-expanded="true"]
  + .dropdown-menu {
  background-color: rgba(0, 0, 0, 0.05);
}
.dropdown-menu li {
  text-align: left;
  border-bottom: none;
}
.dropdown-menu a {
  font-weight: 400;
  padding: 0.7rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-color);
  display: block;
  white-space: nowrap;
}
.dropdown-menu a i {
  margin-right: 10px;
  width: 1.2em;
  text-align: center;
  color: var(--primary-color);
  font-size: 0.9em;
}
.dropdown-menu a:hover,
.dropdown-menu a:focus {
  background-color: rgba(var(--primary-color-rgb), 0.15);
  color: var(--primary-color);
}

/* Kontrastverbesserungen im Light Mode */
body.light-mode .nav-links a:hover,
body.light-mode .nav-links a:focus,
body.light-mode .nav-links a.active {
  color: #004080;
}
body.light-mode .footer-section ul a:hover,
body.light-mode .footer-section ul a:focus {
  color: #004080;
}
@media (min-width: 992px) {
  .hamburger {
    display: none;
  }
  .nav-links {
    display: flex;
    align-items: center;
    position: static;
    background-color: transparent;
    box-shadow: none;
    border-top: none;
    width: auto;
    padding: 0;
    margin-left: auto;
    z-index: auto;
  }
  .nav-links.show {
    display: flex;
  }
  .nav-links li {
    margin-left: 5px;
    text-align: left;
    border-bottom: none;
  }
  .nav-links > li > a {
    padding: 0.65rem 1.1rem;
    font-weight: 500;
    border-radius: 6px;
    display: inline-block;
    position: relative;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-color);
  }
  
  .nav-links > li > a:hover,
  .nav-links > li > a:focus {
    background: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
    transform: translateY(-1px);
  }
  .nav-cta .btn-nav {
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
    border: 1px solid rgba(var(--primary-color-rgb), 0.3);
    box-shadow: 
      0 4px 12px rgba(var(--primary-color-rgb), 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .nav-cta .btn-nav:hover,
  .nav-cta .btn-nav:focus {
    transform: translateY(-2px);
    box-shadow: 
      0 6px 20px rgba(var(--primary-color-rgb), 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.25);
    border-color: rgba(var(--primary-color-rgb), 0.5);
  }
  
  .nav-cta .btn-nav i {
    font-size: 1rem;
  }
  .nav-links a.active::before {
    display: none;
  }
  .nav-links > li > a::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background-color: var(--primary-color);
    transition: transform var(--transition-medium);
    transform-origin: center;
  }
  .nav-links > li > a:hover::after,
  .nav-links > li > a:focus::after,
  .nav-links > li > a.active::after {
    transform: translateX(-50%) scaleX(1);
  }
  .nav-links > li > a:hover,
  .nav-links > li > a:focus {
    background-color: transparent;
    color: var(--primary-color);
  }
  .nav-links > li > a.active {
    font-weight: 500;
    color: var(--primary-color);
  }
  .dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    display: none;
    z-index: 1010;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
  }
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: #000;
  padding: 14px 32px;
  min-height: 48px;
  min-width: 48px;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  cursor: pointer;
  transition: background-color var(--transition-medium),
    transform var(--transition-fast), box-shadow var(--transition-medium);
  text-decoration: none;
  text-align: center;
  line-height: normal;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn:hover,
.btn:focus {
  background-color: var(--primary-darker);
  color: #000;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), 0 0 18px rgba(var(--primary-color-rgb), 0.45);
  text-decoration: none;
  outline: none;
}
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -45%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.65) 45%,
    rgba(255, 255, 255, 0.08) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg) translateX(0);
  transition: transform 0.5s ease;
  opacity: 0.9;
  pointer-events: none;
}
.btn:hover::after,
.btn:focus::after {
  transform: skewX(-20deg) translateX(260%);
}
.btn-pulse {
  animation: pulse 2.5s infinite;
}
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(var(--pulse-color-rgb), 0.6);
  }
  70% {
    transform: scale(1.03);
    box-shadow: 0 0 0 12px rgba(var(--pulse-color-rgb), 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(var(--pulse-color-rgb), 0);
  }
}
.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}
.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--primary-color);
  color: var(--black-color);
  border-color: var(--primary-color);
}
.btn-google {
  background-color: var(--google-btn-color);
  color: var(--white-color);
}
.btn-google:hover,
.btn-google:focus {
  background-color: var(--google-btn-hover-color);
  color: var(--white-color);
}

/* Zusatz: Hero-Sound Toggle Button Abstand */
.hero-sound-toggle {
  margin-top: 12px;
  min-height: 48px;
  min-width: 48px;
  /* Feste Dimensionen, um CLS zu vermeiden */
  height: 48px;
  width: auto;
  padding: 10px 20px;
  box-sizing: border-box;
}

/* Page Header */
.page-header {
  background-color: var(--bg-surface);
  color: var(--text-color);
  padding: 3.5rem 1rem;
  text-align: center;
  margin-bottom: 3.5rem;
  border-bottom: 4px solid var(--primary-color);
}
@media (min-width: 768px) {
  .page-header {
    padding: 4rem 1rem;
    margin-bottom: var(--section-padding-desktop);
  }
}
.page-header h1 {
  font-family: var(--audiowide-font);
  font-size: clamp(2.4rem, 6vw, 3rem);
  margin-bottom: 0.75rem;
  color: var(--primary-color);
  word-break: break-word;
  hyphens: auto;
  text-shadow: var(--text-shadow-light);
}
.page-header p,
.page-header .page-subtitle {
  font-size: clamp(1.15rem, 2.5vw, 1.25rem);
  color: var(--text-color-light);
  max-width: 750px;
  margin: 0 auto;
  font-family: var(--body-font);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: calc(100vh - var(--navbar-height));
  min-height: 450px;
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--white-color);
  padding: 0;
  margin: 0;
  /* Verhindert Layout Shifts */
  contain: layout style paint;
  /* Feste Dimensionen für besseres CLS */
  width: 100%;
  box-sizing: border-box;
}
/* Video-Container für Platzreservierung - verhindert CLS */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  /* Platzhalter mit Background-Farbe für besseres CLS */
  background-color: var(--bg-color);
  /* Verhindert Layout Shifts beim Laden des Videos */
  display: block;
}
.hero-section video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scale(calc(1 + var(--hero-progress) * 0.03));
  z-index: -2;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.75) contrast(1.15) saturate(1.1);
  /* Verhindert Layout Shifts beim Laden */
  display: block;
  /* Platzhalter-Dimensionen, um CLS zu vermeiden */
  visibility: visible;
  opacity: 1;
}
/* Data Saver / reduzierte Daten: Video deaktivieren und Poster zeigen */
@media (prefers-reduced-data: reduce) {
  .hero-section video {
    display: none;
  }
  .hero-section {
    background: center/cover no-repeat url("../images/video_poster.jpg");
  }
}
.hero-section .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      65% 60% at 50% 35%,
      rgba(0, 0, 0, calc(var(--hero-overlay-alpha, 1) * 0.2)) 0%,
      rgba(0, 0, 0, calc(var(--hero-overlay-alpha, 1) * 0.4)) 70%,
      rgba(0, 0, 0, calc(var(--hero-overlay-alpha, 1) * 0.6)) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, calc(var(--hero-overlay-alpha, 1) * 0.1)) 0%,
      rgba(0, 0, 0, calc(var(--hero-overlay-alpha, 1) * 0.35)) 100%
    );
  z-index: -1;
  opacity: 0.85;
}
.hero-section .hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 80px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.35) 60%,
    var(--bg-color) 100%
  );
  pointer-events: none;
}
.hero-section .header-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeInHeroContent 1s ease-out 0.3s forwards;
  transform: translateY(calc(20px - (var(--hero-progress) * 28px)))
    scale(calc(1 - var(--hero-progress) * 0.03));
  will-change: transform;
}
@keyframes fadeInHeroContent {
  to {
    opacity: 1;
    /* Transform wird außerhalb über CSS-Variablen gesteuert */
  }
}
.hero-section .header-content h1 {
  font-family: var(--audiowide-font);
  font-size: clamp(2rem, 7.5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  text-shadow: var(--text-shadow-dark);
  color: var(--white-color);
  white-space: nowrap;
}
.hero-section .header-content p.hero-subtitle {
  font-size: clamp(0.95rem, 3.2vw, 1.3rem);
  margin-bottom: 1.5rem;
  text-shadow: var(--text-shadow-light);
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
  color: #f0f0f0;
}
.hero-section .usp-list {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  font-size: 0.85rem;
}
.hero-section .usp-list span {
  background: rgba(var(--primary-color-rgb), 0.12);
  color: var(--white-color);
  padding: 8px 12px;
  border-radius: 5px;
  border-left: 3px solid var(--primary-color);
  box-shadow: var(--shadow-sm);
  font-weight: 500;
  transition: background-color var(--transition-fast),
    transform var(--transition-fast);
}
.hero-section .usp-list span:hover {
  background: rgba(var(--primary-color-rgb), 0.22);
  transform: translateY(-2px);
}
@media (min-width: 768px) {
  .hero-section .header-content h1 {
    font-size: clamp(3rem, 7vw, 4.2rem);
    margin-bottom: 0.75rem;
  }
  .hero-section .header-content p.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
    max-width: 650px;
  }
  .hero-section .usp-list {
    margin-top: 2rem;
    font-size: 0.95rem;
    gap: 12px 20px;
  }
  .hero-section .usp-list span {
    padding: 10px 18px;
  }
}
@media (max-width: 767px) {
  .hero-section {
    min-height: 400px;
  }
  .hero-section .header-content h1 {
    font-size: clamp(1.8rem, 8.5vw, 2.35rem);
  }
  .hero-section .header-content p.hero-subtitle {
    font-size: clamp(0.9rem, 3.8vw, 1.05rem);
    line-height: 1.45;
    margin-bottom: 1.25rem;
  }
  .hero-section .usp-list span {
    flex-basis: calc(50% - 6px);
    text-align: left;
    padding: 7px 10px;
    font-size: 0.78rem;
  }
  @media (max-width: 480px) {
    .hero-section .usp-list span {
      flex-basis: 100%;
      text-align: center;
    }
  }
  .hero-section .header-content .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
}

/* Parallax Section */
.parallax-section {
  background-image: url("../images/og-image.jpg");
  /* background-attachment: fixed entfernt für bessere Performance auf mobilen Geräten */
  background-attachment: scroll;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 5rem 0;
  text-align: center;
  position: relative;
}
.parallax-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.4) 45%,
    rgba(0, 0, 0, 0.55) 100%
  );
}
body.light-mode .parallax-section::before {
  background-color: rgba(var(--bg-color-rgb), 0.3);
}
.parallax-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    60% 50% at 50% 50%,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.25) 100%
  );
}
.parallax-section .container {
  position: relative;
  z-index: 1;
}
.parallax-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.parallax-section .parallax-text {
  color: var(--white-color);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: bold;
  text-shadow: var(--text-shadow-dark);
  display: block;
  font-family: var(--audiowide-font);
  max-width: 800px;
  margin: 0 auto;
}
.parallax-badges {
  display: flex;
  gap: 10px 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.parallax-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--primary-color-rgb), 0.1);
  border: 1px solid rgba(var(--primary-color-rgb), 0.25);
  color: var(--white-color);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}
.parallax-cta {
  margin-top: 6px;
}
body.light-mode .parallax-section .parallax-text {
  color: #1a1a1a;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* Allgemeine Sektions-Titel (mit Anpassungen für Galerie) */
.section-title,
.subsection-title,
.contact-info-title,
.contact-form-title,
h2.map-title,
button.contact-toggle,
.gallery .subsection-title {
  font-family: var(--audiowide-font);
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1.8rem;
  margin-top: 1rem;
  font-size: clamp(1.8rem, 5.5vw, 2.3rem);
  position: relative;
  padding-bottom: 12px;
  word-break: break-word;
  hyphens: auto;
  line-height: 1.25;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
.section-title::after,
.subsection-title::after,
.contact-info-title::after,
.contact-form-title::after,
h2.map-title::after,
button.contact-toggle::after,
.gallery .subsection-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  border-radius: 2px;
}
.contact-info-title,
.contact-form-title {
  text-align: left;
}
.contact-info-title::after,
.contact-form-title::after {
  left: 0;
  transform: translateX(0);
}
button.contact-toggle {
  cursor: pointer;
  transition: color var(--transition-fast);
  margin-bottom: 2rem;
  background: none;
  border: none;
  padding: 12px 16px;
  min-height: 48px;
  font: inherit;
  color: inherit;
  width: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
button.contact-toggle i.fa-chevron-down {
  margin-left: 10px;
  font-size: 0.8em;
  transition: transform var(--transition-medium);
}
button.contact-toggle[aria-expanded="true"] i.fa-chevron-down {
  transform: rotate(180deg);
}
button.contact-toggle:hover,
button.contact-toggle:focus {
  color: var(--primary-darker);
  outline: 2px solid var(--primary-color);
  outline-offset: 4px;
  border-radius: 4px;
}
@media (min-width: 768px) {
  .section-title,
  .subsection-title,
  .contact-info-title,
  .contact-form-title,
  h2.map-title,
  button.contact-toggle,
  .gallery .subsection-title {
    font-size: clamp(2.1rem, 5vw, 2.6rem);
    margin-bottom: 2.5rem;
    padding-bottom: 15px;
  }
  .section-title::after,
  .subsection-title::after,
  .contact-info-title::after,
  .contact-form-title::after,
  h2.map-title::after,
  button.contact-toggle::after,
  .gallery .subsection-title::after {
    width: 80px;
    height: 4px;
  }
  button.contact-toggle {
    margin-bottom: 2.5rem;
  }
}
.gallery-intro {
  text-align: center;
  margin-top: -1rem;
  margin-bottom: 2.5rem;
  color: var(--text-color-light);
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .gallery-intro {
    font-size: 1.1rem;
    margin-bottom: 3rem;
  }
}

/* --- Grid für Leistungskarten --- */
.services-grid,
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}
/* Einleitender Text unter Abschnittstiteln */
.section-intro {
  margin: 6px 0 18px;
  font-size: 0.98rem;
  color: var(--text-color-light);
}
body.light-mode .section-intro {
  color: #2d2d2d;
}
body.light-mode .gallery-intro {
  color: #2d2d2d;
}

/* Unterseiten-Subnav (Abschnittsnavigation) */
.section-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 16px;
}
.section-subnav .subnav-link {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-color-light);
}
.section-subnav .subnav-link:hover,
.section-subnav .subnav-link:focus {
  color: var(--primary-color);
  border-color: rgba(var(--primary-color-rgb), 0.45);
}
.section-subnav .subnav-link.active {
  color: var(--primary-color);
  border-color: rgba(var(--primary-color-rgb), 0.6);
  background: rgba(var(--primary-color-rgb), 0.06);
}

/* Vergleichstabelle */
.comparison-table-wrapper {
  overflow-x: auto;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
}
.comparison-table th,
.comparison-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}
.comparison-table thead th {
  background: rgba(var(--primary-color-rgb), 0.08);
  color: var(--text-color);
}
.comparison-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}
@media (max-width: 620px) {
  .services-grid,
  .leistungen-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .service-box .card-content,
  .leistung-card .card-content {
    padding: 20px 16px 18px;
  }
  .service-box .service-link h3,
  .leistung-card h3 {
    font-size: 1.05rem;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }
}
@media (min-width: 768px) {
  .services-grid,
  .leistungen-grid {
    gap: 35px;
  }
}

/* --- Wow-Effekte und Basis für Service-Karten (.service-box, .leistung-card) --- */
.service-box,
.leistung-card {
  background-color: var(--bg-surface);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium) ease-out,
    box-shadow var(--transition-slow) ease-out,
    border-color var(--transition-medium) ease-out;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Preise-Dropdown (details/summary) */
.vehicle-size-pricing summary {
  cursor: pointer;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 6px;
}
.vehicle-size-pricing p {
  margin: 4px 0;
}
.service-box .service-link {
  display: block;
  height: 100%;
}
.service-box .card-content {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.service-box .service-icon {
  width: clamp(64px, 12vw, 84px);
  height: clamp(64px, 12vw, 84px);
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(var(--primary-color-rgb), 0.25),
    rgba(0, 0, 0, 0.15)
  );
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(var(--primary-color-rgb), 0.25),
    inset 0 0 10px rgba(255, 255, 255, 0.05);
  position: relative;
}
.service-box .service-link:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 4px;
  border-radius: 12px;
}
.service-box .service-icon i {
  font-size: 1.8rem;
  color: var(--primary-color);
  filter: drop-shadow(0 0 8px rgba(var(--primary-color-rgb), 0.45));
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    filter 0.35s ease;
}
.service-box:hover .service-icon i {
  transform: scale(1.15) rotate(8deg);
  filter: drop-shadow(0 0 14px rgba(var(--primary-color-rgb), 0.7));
}
.service-box::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(var(--primary-color-rgb), 0.12),
    rgba(255, 255, 255, 0.02) 40%,
    rgba(var(--primary-color-rgb), 0.06)
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-box:hover::after {
  opacity: 1;
}
.service-box .service-link h3 {
  font-family: var(--audiowide-font);
  font-size: 1.22rem;
  margin-bottom: 10px;
  color: var(--text-color);
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.service-box .service-link p {
  color: var(--text-color-light);
  text-align: center;
}
@media (min-width: 768px) {
  .service-box .service-icon {
    width: 84px;
    height: 84px;
  }
  .service-box .service-icon i {
    font-size: 2rem;
  }
}
.service-box:hover,
.leistung-card:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 18px 36px rgba(var(--primary-color-rgb), 0.25),
    0 0 26px var(--card-hover-glow-color);
  border-color: var(--primary-color);
}
.service-box .card-content,
.leistung-card .card-content {
  padding: 25px 28px; /* Erhöhter horizontaler Padding */
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.service-box .service-link i,
.leistung-card .card-icon {
  font-size: 2.4rem;
  color: var(--primary-color);
  margin-bottom: 18px;
  display: block;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    color var(--transition-medium) ease-out;
  will-change: transform;
}
.service-box:hover .service-link i,
.leistung-card:hover .card-icon {
  transform: scale(1.2) rotate(8deg) translateY(-3px);
  color: var(--card-icon-hover-color);
}
.service-box .service-link h3,
.leistung-card h3 {
  font-family: var(--audiowide-font);
  font-size: 1.3rem;
  color: var(--text-color);
  margin-bottom: 15px;
  transition: color var(--transition-fast) ease-out;
  line-height: 1.35;
}
.service-box:hover .service-link h3,
.leistung-card:hover h3 {
  color: var(--primary-color);
}
.service-box .service-link p,
.leistung-card .card-content p:not(.text-sm):not(.info-text):not(.preis-inline),
.leistung-card .text-gray-300 {
  font-size: 0.95rem;
  color: var(--text-color-light);
  line-height: 1.75;
  margin-bottom: 18px;
  flex-grow: 1;
  text-align: center;
}
.leistung-details {
  list-style: none;
  padding-left: 0;
  margin-bottom: 18px;
  font-size: 0.92rem;
  color: var(--text-color-light);
  line-height: 1.8;
  text-align: left;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.leistung-details li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}
.leistung-details li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  font-size: 0.8rem;
  color: #001014;
  background: linear-gradient(
    145deg,
    var(--primary-gradient-start),
    var(--primary-gradient-end)
  );
  border: 1px solid rgba(var(--primary-color-rgb), 0.5);
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
body.light-mode .leistung-details li::before {
  color: #00222a;
}
.leistung-card .text-sm {
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: center;
}
.leistung-card .info-text {
  font-size: 0.88rem;
  line-height: 1.5;
  margin-top: 12px;
  text-align: center;
}
.vehicle-size-pricing {
  margin-top: 15px;
  text-align: center;
}
.vehicle-size-pricing p {
  font-size: 0.9rem;
  color: var(--text-color-light);
  margin-bottom: 6px;
  line-height: 1.5;
}
.preis-inline {
  font-weight: bold;
  color: var(--text-color);
}
.service-box .card-footer,
.leistung-card .card-footer {
  padding: 18px 20px;
  background-color: rgba(var(--black-color-rgb, 0, 0, 0), 0.1);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}
body.light-mode .service-box .card-footer,
body.light-mode .leistung-card .card-footer {
  background-color: rgba(var(--black-color-rgb, 0, 0, 0), 0.03);
}
.leistung-card .preis,
.service-box .preis {
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--primary-color);
  font-family: var(--audiowide-font);
}
.service-box .card-cta.btn,
.leistung-card .card-cta.btn {
  padding: 10px 18px;
  font-size: 0.9rem;
  transition: background-color var(--transition-medium),
    transform var(--transition-fast), box-shadow var(--transition-medium);
}
.service-box:hover .card-cta.btn,
.leistung-card:hover .card-cta.btn {
  background-color: var(--primary-darker);
  transform: scale(1.05) translateY(-1px);
  box-shadow: var(--shadow-md);
}
.service-box::before,
.leistung-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(var(--bg-surface-rgb), 0) 0%,
    rgba(var(--bg-surface-rgb), 0.25) 50%,
    rgba(var(--bg-surface-rgb), 0) 100%
  );
  transform: skewX(-20deg);
  transition: left 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
  opacity: 0;
}
body.light-mode .service-box::before,
body.light-mode .leistung-card::before {
  background: linear-gradient(
    to right,
    rgba(var(--white-color-rgb), 0) 0%,
    rgba(var(--white-color-rgb), 0.15) 50%,
    rgba(var(--white-color-rgb), 0) 100%
  );
}
.service-box:hover::before,
.leistung-card:hover::before {
  left: 150%;
  opacity: 0.5;
}
.service-box .card-content,
.service-box .card-footer,
.service-box .service-link,
.leistung-card .card-content,
.leistung-card .card-footer {
  position: relative;
  z-index: 2;
}

/* Gallery Section, Reviews, Kontakt, FAQ, Footer etc. */
/* Gallery Section */
.gallery-preview .gallery-intro,
.gallery-page .gallery-intro {
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-color-light);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
}
.gallery-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
  justify-items: start; /* Verhindert das Strecken von Einzelbildern */
}

/* Responsive Grid-Anpassungen */
@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }
}

.gallery-image-link {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background-color: var(--bg-surface);
  aspect-ratio: 4 / 3;
  width: 100%;
  max-width: 320px; /* Einheitliche Maximalgröße für alle Bilder */
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
              box-shadow 0.4s ease, 
              border-color 0.3s ease;
  border: 1px solid rgba(var(--primary-color-rgb), 0.1);
  cursor: pointer;
}

.gallery-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), 
              filter 0.4s ease;
}

/* Premium Hover-Effekt: Nur Zoom, kein Verschieben */
.gallery-image-link:hover {
  transform: translateY(-5px); /* Leichter Auftrieb statt seitlichem Wegfahren */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4),
              0 0 20px rgba(var(--primary-color-rgb), 0.15);
  border-color: rgba(var(--primary-color-rgb), 0.4);
}

.gallery-image-link:hover img {
  transform: scale(1.08);
  filter: brightness(1.1) saturate(1.1);
}
.gallery-image-link::after,
.gallery-image-link::before {
  display: none;
}
.gallery-image-link .gallery-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  color: #f6f6f6;
  font-size: 0.92rem;
  line-height: 1.35;
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-image-link:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}
.video-gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.video-gallery-item video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}
.video-gallery-item .video-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  color: var(--white-color);
  padding: 15px 10px 10px;
  font-size: 0.9rem;
  text-align: center;
}
.gallery-page-header {
  background-color: var(--bg-surface);
  color: var(--text-color);
  padding: 3rem 1rem;
  text-align: center;
  margin-bottom: 3rem;
  border-bottom: 3px solid var(--primary-color);
}
.gallery-page-header h1 {
  font-family: var(--audiowide-font);
  font-size: clamp(2.2rem, 6vw, 2.8rem);
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}
.gallery-page-header p {
  font-size: 1.1rem;
  color: var(--text-color-light);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--body-font);
}
/* --- Gallery Group Title --- */
.gallery-group-title {
  font-family: var(--heading-font);
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: var(--text-color);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
  display: inline-block;
}

.gallery-group-title:first-of-type {
  margin-top: 0;
}

/* Native Lightbox Styles */
dialog.lightbox-dialog {
  width: min(95vw, 1100px);
  border: none;
  padding: 0;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  text-align: center;
  position: relative;
}
dialog.lightbox-dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
}
dialog.lightbox-dialog .lightbox-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
}
dialog.lightbox-dialog .lightbox-caption {
  margin: 8px 12px 14px;
  color: #ddd;
  font-size: 0.95rem;
}
dialog.lightbox-dialog .lightbox-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
dialog.lightbox-dialog .lightbox-close::before {
  content: "×";
  font-family: inherit;
  font-weight: 700;
  font-size: 1.8rem;
}
dialog.lightbox-dialog .lightbox-stage {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
dialog.lightbox-dialog .lightbox-spinner {
  width: 42px;
  height: 42px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
dialog.lightbox-dialog .lightbox-prev,
dialog.lightbox-dialog .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
dialog.lightbox-dialog .lightbox-prev {
  left: 10px;
}
dialog.lightbox-dialog .lightbox-next {
  right: 10px;
}
.videos-gallery {
  background-color: var(--bg-surface);
  padding-top: var(--section-padding-desktop);
  padding-bottom: var(--section-padding-desktop);
  margin-top: var(--section-padding-desktop);
  border-top: 1px solid var(--border-color);
}
.videos-gallery .video-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}
.videos-gallery .video-wrapper {
  background-color: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
}
.videos-gallery .video-wrapper video {
  max-height: 400px;
  width: 100%;
  display: block;
}
.videos-gallery .video-wrapper figcaption {
  padding: 0.8rem 1rem;
  background-color: rgba(0, 0, 0, 0.7);
  color: var(--text-color-light);
  font-size: 0.9rem;
  text-align: center;
  font-family: var(--body-font);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.videos-gallery .video-wrapper:hover figcaption {
  opacity: 1;
}
@media (max-width: 600px) {
  .gallery-page-header {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
  }
  .gallery-page-header h1 {
    font-size: 2.2rem;
  }
  .gallery-page-header p {
    font-size: 1rem;
  }
  .images-gallery {
    padding: 1rem 0;
  }
  .images-gallery .subsection-title {
    font-size: 1.6rem;
  }
  .images-gallery .gallery-intro {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  .images-gallery .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .images-gallery .gallery-image-link {
    aspect-ratio: 4 / 3;
  }
  .videos-gallery .video-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .videos-gallery .video-wrapper video {
    max-height: 300px;
  }
}

/* Reviews Section */
#review-slider {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02) 0%,
    rgba(0, 0, 0, 0.08) 100%
  );
  padding: 34px 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}
.review-item {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.review-item p {
  font-style: italic;
  font-size: 1.15rem;
  margin-bottom: 16px;
  color: var(--text-color);
}
.review-item footer {
  font-size: 0.95rem;
  color: var(--text-color-light);
}
#review-stars span[aria-hidden="true"] {
  color: #ffc107;
  margin-left: 8px;
  font-size: 1.1em;
}
#review-stars .far.fa-star {
  opacity: 0.7;
}
.review-nav {
  text-align: center;
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.review-nav button {
  background-color: var(--bg-surface);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  font-size: 1rem;
  margin: 0 12px;
  transition: background-color var(--transition-fast),
    color var(--transition-fast), transform var(--transition-fast);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.reviews-meta {
  margin-top: -8px;
  margin-bottom: 16px;
  color: var(--text-color-light);
}
.reviews-meta strong {
  color: var(--primary-color);
}
body.light-mode .reviews-meta {
  color: #5c6773;
}
body.light-mode #review-slider {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(0, 0, 0, 0.04) 100%
  );
}
body.light-mode .review-item p {
  color: #1a1a1a;
}
body.light-mode .review-nav button {
  background-color: #fff;
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--primary-color);
}

.review-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}
.review-dots button {
  width: 12px;
  height: 12px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  padding: 18px;
  border: 1px solid var(--primary-color);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-dots button[aria-selected="true"],
.review-dots button:hover,
.review-dots button:focus {
  background: var(--primary-color);
}
.review-nav button:hover,
.review-nav button:focus {
  background-color: var(--primary-color);
  color: #000;
  outline: none;
  transform: scale(1.1);
}
.google-reviews-link {
  text-align: center;
}
.google-reviews-link .btn i {
  margin-right: 8px;
}

/* Kontakt Sektion & Formulare */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
@media (min-width: 992px) {
  .contact-layout-grid {
    grid-template-columns: 2fr 1.2fr;
    gap: 40px;
  }
}
.contact-form .form-group {
  margin-bottom: 1.25rem;
}
.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color-light);
  font-size: 0.9rem;
}
.form-group.with-icon {
  position: relative;
}
.form-control-icon {
  position: absolute;
  left: 12px;
  top: calc(50% + 6px);
  transform: translateY(-50%);
  color: var(--text-color-light);
  font-size: 1rem;
  pointer-events: none;
}
.form-group.with-icon input[type="text"],
.form-group.with-icon input[type="email"],
.form-group.with-icon input[type="tel"] {
  padding-left: 38px;
}
.help-text {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--text-color-light);
}
.form-group.with-counter {
  position: relative;
}
.form-group.with-counter .char-counter {
  position: absolute;
  right: 10px;
  bottom: 6px;
  font-size: 0.8rem;
  color: var(--text-color-light);
  opacity: 0.9;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="number"],
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-color);
  color: var(--text-color);
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}
body.light-mode .contact-form input[type="text"],
body.light-mode .contact-form input[type="email"],
body.light-mode .contact-form input[type="tel"],
body.light-mode .contact-form input[type="number"],
body.light-mode .contact-form textarea,
body.light-mode .contact-form select {
  background-color: var(--white-color);
  color: var(--text-color);
  border-color: #ced4da;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-color-rgb), 0.25);
}
.contact-form input.valid,
.contact-form textarea.valid,
.contact-form select.valid {
  border-color: #2ecc71;
  box-shadow: 0 0 0 0.2rem rgba(46, 204, 113, 0.25);
}
.contact-form input.error,
.contact-form textarea.error,
.contact-form select.error {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25);
}
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-form .required-indicator {
  color: var(--error-color);
  margin-left: 2px;
  font-weight: bold;
}
.contact-form .error-message {
  display: none;
  color: var(--error-color);
  font-size: 0.85rem;
  margin-top: 0.3rem;
  padding: 5px;
  background-color: rgba(var(--error-color-rgb), 0.1);
  border-left: 3px solid var(--error-color);
  border-radius: 0 4px 4px 0;
}
.contact-form input.error,
.contact-form textarea.error,
.contact-form select.error {
  border-color: var(--error-color) !important;
}
.contact-form fieldset.error legend {
  color: var(--error-color);
}
.contact-form .form-check label.error {
  color: var(--error-color);
}
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.form-col {
  flex: 1;
  min-width: 180px;
}
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 15px;
  margin-top: 10px;
}
@media (min-width: 400px) {
  .checkbox-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .checkbox-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}
.checkbox-group-title {
  font-size: 0.95rem;
  font-weight: bold;
  color: var(--text-color);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--border-color);
  display: block;
  text-align: left;
  grid-column: 1 / -1;
}
fieldset .checkbox-grid .checkbox-group-title:first-of-type {
  margin-top: 0.5rem;
}
.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.form-check-input {
  width: 1.1em;
  height: 1.1em;
  margin-top: 0.1em;
  flex-shrink: 0;
  accent-color: var(--primary-color);
  cursor: pointer;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 3px;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
}
input[type="checkbox"]::before {
  content: "";
  display: block;
  width: 60%;
  height: 60%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background-color: var(--primary-color);
  border-radius: 2px;
  transition: transform 0.1s ease-in-out;
}
input[type="checkbox"]:checked::before {
  transform: translate(-50%, -50%) scale(1);
}
input[type="radio"] {
  border-radius: 50%;
}
input[type="radio"]::before {
  content: "";
  display: block;
  width: 50%;
  height: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background-color: var(--primary-color);
  border-radius: 50%;
  transition: transform 0.1s ease-in-out;
}
input[type="radio"]:checked::before {
  transform: translate(-50%, -50%) scale(1);
}
.form-check-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.25);
}
.form-check-label {
  font-weight: normal;
  font-size: 0.95rem;
  color: var(--text-color);
  margin-bottom: 0;
  cursor: pointer;
}
body.light-mode .form-check-label {
  color: var(--text-color);
}
.form-check-label a {
  color: var(--link-cyan);
  text-decoration: underline;
}
.honeypot {
  display: none !important;
  position: absolute;
  left: -9999px;
}
.contact-form-container {
  background-color: var(--bg-surface);
  padding: 25px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}
.contact-form-container.collapsed {
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  border-width: 0;
}
.contact-form-container.expanding,
.contact-form-container.collapsing {
  will-change: height, padding, opacity, transform;
}
.contact-intro-text {
  margin-bottom: 1.5rem;
  color: var(--text-color-light);
  font-size: 0.95rem;
}
.contact-subtitle {
  display: block;
  font-size: 0.6em;
  font-weight: 400;
  color: var(--text-color-light);
}
.contact-highlights {
  display: flex;
  gap: 12px 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0.5rem 0 1.25rem;
  color: var(--text-color-light);
}
.contact-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--primary-color-rgb), 0.08);
  border: 1px solid rgba(var(--primary-color-rgb), 0.25);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.9rem;
}
.contact-highlights i {
  color: var(--primary-color);
}
.contact-intro-text a {
  text-decoration: underline;
}
.contact-details-card {
  background-color: var(--bg-surface);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 25px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}
.contact-details-card p {
  margin-bottom: 1rem;
  line-height: 1.65;
  color: var(--text-color-light);
}
.contact-details-card p i {
  margin-right: 12px;
  color: var(--primary-color);
  width: 20px;
  text-align: center;
  font-size: 1.1em;
}
.alt-contact-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 8px 0 18px;
}
.contact-details-card strong {
  color: var(--text-color);
}
.contact-info-subtitle {
  font-family: var(--audiowide-font);
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}
.social-media-contact-page .social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 1.6rem;
}
.social-media-contact-page .social-icons a {
  color: var(--text-color-light);
}
.social-media-contact-page .social-icons a:hover {
  color: var(--primary-color);
  transform: scale(1.1);
}

/* Feedback Nachrichten */
.feedback-container {
  padding-top: 1.25rem;
  padding-bottom: 0;
  margin-bottom: 1.25rem;
}
.feedback-message {
  padding: 15px 20px;
  margin: 0;
  border-radius: 5px;
  border: 1px solid transparent;
  font-weight: bold;
  font-size: 0.95rem;
}
.feedback-message.success {
  color: #0f5132;
  background-color: #d1e7dd;
  border-color: #badbcc;
}
.feedback-message.error {
  color: #842029;
  background-color: #f8d7da;
  border-color: #f5c2c7;
}
.global-form-error {
  margin-top: 0;
  margin-bottom: 15px;
  display: none;
}

/* FAQ Section */
.faq-section {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}
.faq-page-header {
  margin-bottom: var(--section-padding-mobile);
}
@media (min-width: 768px) {
  .faq-page-header {
    margin-bottom: var(--section-padding-desktop);
  }
}
.faq-page-header .page-subtitle a {
  text-decoration: underline;
}
.faq-page-header .page-subtitle a:hover {
  color: var(--primary-darker);
}
.faq-content-section {
  padding-top: 0;
} /* Veraltet, da .faq-section verwendet wird */
.faq-list {
  border-top: 1px solid var(--border-color);
}
.faq-item {
  background-color: var(--bg-surface);
  margin-bottom: 0;
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-fast);
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-item:hover {
  background-color: rgba(var(--primary-color-rgb), 0.03);
}
body.light-mode .faq-item:hover {
  background-color: rgba(var(--primary-color-rgb), 0.05);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 18px 20px;
  min-height: 48px;
  text-align: left;
  font-family: var(--body-font);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-color);
  background-color: transparent;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background-color var(--transition-fast),
    color var(--transition-fast);
  position: relative;
  padding-right: 56px; /* Platz für das Aufklapp-Icon */
}
.faq-question:focus-visible {
  box-shadow: 0 0 0 2px var(--primary-color) inset;
}
.faq-item.active .faq-question {
  color: var(--primary-color);
}
.faq-icon {
  display: none;
} /* Altes Icon deaktivieren (vermeidet leere Kästchen) */

/* Neues, font-unabhängiges Aufklapp-Icon */
.faq-question::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  background: var(--bg-surface);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  font-weight: 700;
}
.faq-item.active .faq-question::after {
  content: "–";
  color: var(--primary-color);
  border-color: rgba(var(--primary-color-rgb), 0.5);
}
.faq-item.active .faq-icon::before {
  content: "\f068";
}
.faq-answer {
  padding: 0 20px;
  color: var(--text-color-light);
  font-size: 0.95rem;
  line-height: 1.7;
  max-height: 0px;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background-color: var(--bg-color);
}
.faq-item.active .faq-answer {
  padding-top: 15px;
  padding-bottom: 20px;
}
.faq-answer p {
  margin-bottom: 1em;
}
.faq-answer p:last-child {
  margin-bottom: 0;
}
.faq-answer ul {
  list-style: disc;
  margin-left: 20px;
  margin-top: 0.5em;
  margin-bottom: 1em;
}
.faq-answer ul li {
  margin-bottom: 0.5em;
}
.faq-answer a {
  color: var(--link-cyan);
  text-decoration: underline;
}
.faq-answer a:hover {
  color: var(--primary-darker);
}

/* Map Section */
.map-container {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  margin-bottom: 15px;
  min-height: 350px;
  background-color: rgba(0, 0, 0, 0.2);
  line-height: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}
.map-container iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  min-height: 300px;
  max-height: 500px;
  border: 0;
}
.map-load-btn {
  position: relative;
  z-index: 2;
}
.map-load-btn::after {
  display: none !important;
}
@keyframes map-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb), 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(var(--primary-color-rgb), 0); }
}
.map-container small {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  display: block;
  text-align: right;
  padding: 8px 12px;
  font-size: 0.85rem;
  background-color: rgba(0, 0, 0, 0.5);
  line-height: normal;
  z-index: 2;
}
.map-container small a {
  color: var(--text-color-light);
}
.map-container small a:hover,
.map-container small a:focus {
  color: var(--primary-color);
}
.address-block {
  text-align: center;
  margin-top: 30px;
}
.address-block p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 15px;
}
.address-block .btn {
  margin-top: 15px;
}

/* Footer */
footer {
  background-color: var(--bg-footer);
  color: var(--text-color-light);
  padding-top: var(--section-padding-desktop);
  font-size: 0.9rem;
}
@media (max-width: 767px) {
  footer {
    padding-top: var(--section-padding-mobile);
  }
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px 40px;
  padding-bottom: 24px;
}
.footer-section h2 {
  font-family: var(--audiowide-font);
  color: var(--secondary-color);
  font-size: 1.1rem;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 8px;
  display: inline-block;
}
.footer-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--primary-color);
}
.footer-section.contact-quick .contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}
.footer-section.contact-quick .contact-list li,
.footer-section.contact-quick .contact-list a {
  color: var(--text-color-light);
}
.footer-section.contact-quick .contact-list li i {
  color: var(--primary-color);
  margin-right: 8px;
}
.footer-section .contact-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.footer-section .contact-actions .btn {
  padding: 8px 14px;
  font-size: 0.85rem;
}
.footer-section p,
.footer-section ul {
  margin-bottom: 10px;
  line-height: 1.7;
}
.footer-section ul li {
  margin-bottom: 8px;
}
.footer-section ul a {
  color: var(--text-color-light);
  transition: color var(--transition-fast);
}
.footer-section ul a:hover,
.footer-section ul a:focus {
  color: var(--primary-color);
  text-decoration: underline;
}
.footer-section.social-media .social-icons {
  margin-top: 15px;
  display: flex;
  gap: 15px;
}
.footer-section.social-media .social-icons a {
  color: var(--text-color-light);
  font-size: var(--footer-icon-size);
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}
.footer-section.social-media .social-icons a:hover,
.footer-section.social-media .social-icons a:focus {
  color: var(--primary-color);
  transform: scale(1.15);
  outline: none;
}
.footer-legal-link {
  color: var(--text-color-light);
  text-decoration: underline;
}
.footer-legal-link:hover,
.footer-legal-link:focus {
  color: var(--primary-color);
}
.footer-bottom {
  background-color: var(--bg-footer-bottom);
  padding: 15px 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
}
.footer-trust {
  border-top: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.02);
}
.footer-trust .trust-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 10px 0;
}
.footer-trust .trust-badges li {
  color: var(--text-color-light);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.footer-trust .trust-badges i {
  color: var(--primary-color);
}
.footer-bottom p {
  margin: 0;
  font-size: var(--footer-bottom-text-size);
  color: var(--text-color-light);
}
.footer-bottom a {
  color: var(--text-color-light);
  font-weight: bold;
}
.footer-bottom a:hover {
  color: var(--primary-color);
}

/* Fixierte Buttons */
#whatsapp-button,
#backToTop {
  position: fixed;
  bottom: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: background-color var(--transition-medium),
    color var(--transition-medium), transform var(--transition-fast),
    opacity var(--transition-medium), visibility var(--transition-medium);
  text-decoration: none;
  border: none;
}
#whatsapp-button {
  right: 20px;
  background-color: #25d366;
  color: #fff;
}
#whatsapp-button:hover,
#whatsapp-button:focus {
  background-color: #1dae50;
  transform: scale(1.1);
  outline: none;
}
#backToTop {
  right: 90px;
  visibility: hidden;
  opacity: 0;
  background-color: var(--bg-surface);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}
#backToTop.visible {
  visibility: visible;
  opacity: 1;
}
#backToTop:hover,
#backToTop:focus {
  background-color: var(--primary-color);
  color: #000;
  transform: scale(1.1);
  outline: none;
}
@media (max-width: 767px) {
  .fixed-button {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    font-size: 1.3rem;
  }
  #whatsapp-button {
    bottom: 15px;
    right: 15px;
  }
  #backToTop {
    bottom: 70px;
    right: 15px;
  }
}

/* Fade-In Effect Styles */
.js-fade-in {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.fade-in-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Hero-Bereich sollte immer sichtbar sein (kein Fade-In) */
.hero-section,
.hero-section .header-content,
.hero-section * {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Bewegungen für Nutzer mit reduzierter Bewegungsvorgabe minimieren */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- High-end Wow-Effekte (Performance-schonend) --- */

/* 1) Buchstaben-Animation für Hero-Headline */
.hero-section .header-content h1.split-text {
  white-space: normal;
}
.hero-section .header-content h1.split-text .word {
  display: inline-block;
  margin-right: 0.18ch;
}
.hero-section .header-content h1.split-text .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
  will-change: transform, opacity;
}
.hero-section .header-content h1.split-text.split-in .char {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* 2) Magnetische CTA im Hero */
.hero-section .btn.btn-primary.btn-magnetic {
  position: relative;
  will-change: transform;
  transition: transform var(--transition-fast),
    box-shadow var(--transition-medium);
}

/* 3) 3D-Tilt auf Service-Karten */
.services-grid {
  perspective: 1000px;
}
.service-box.js-tilt-active {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.12s ease-out, box-shadow var(--transition-medium);
}
.service-box.js-tilt-active:hover {
  /* Hover-Transform wird per JS gesetzt; CSS-Hover aus dem Standard deaktivieren */
  transform: none;
}

/* 4) Parallax-Text subtile Bewegung */
.parallax-section .parallax-text {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* 5) Gestaffelte Reveals: Delay wird dynamisch per JS gesetzt */

/* Touch-Geräte: Tilt/Magnetik visuell etwas milder */
@media (pointer: coarse) {
  .service-box.js-tilt-active {
    transition: transform 0.18s ease-out;
  }
  .hero-section .btn.btn-primary.btn-magnetic {
    transform: none !important;
  }
}

/* Stile spezifisch für leistungen.php */
.leistungen-content-section .page-subtitle {
  font-size: 1.1rem;
  color: var(--text-color-light);
  margin-top: -10px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.leistung-card .text-sm {
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: center;
}
.leistung-card .info-text {
  font-size: 0.88rem;
  line-height: 1.5;
  margin-top: 12px;
  text-align: center;
}
.vehicle-size-pricing {
  margin-top: 15px;
  text-align: center;
}
.vehicle-size-pricing p {
  font-size: 0.9rem;
  color: var(--text-color-light);
  margin-bottom: 6px;
  line-height: 1.5;
}
.preis-inline {
  font-weight: bold;
  color: var(--text-color);
}
@media (min-width: 768px) {
  .md\:col-span-2 {
    grid-column: span 2 / span 2;
  }
}
@media (min-width: 992px) {
  .lg\:col-span-3 {
    grid-column: span 3 / span 3;
  }
}
.preis-hinweis {
  margin-top: 2.5rem;
  padding: 20px;
  background-color: var(--bg-surface);
  border-left: 5px solid var(--primary-color);
  font-size: 0.92rem;
  color: var(--text-color-light);
  border-radius: 0 6px 6px 0;
  line-height: 1.6;
}
.zusatz-info {
  margin-top: 3rem;
  padding: 30px;
  background-color: var(--bg-card);
  border-radius: 8px;
  text-align: center;
}
.zusatz-info h3 {
  font-family: var(--audiowide-font);
  color: var(--primary-color);
  margin-bottom: 12px;
  font-size: 1.4rem;
}
.zusatz-info p {
  color: var(--text-color-light);
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.zusatz-info .btn {
  margin-top: 0.5rem;
}

/* Impressum & Datenschutz Page Specific Styles */
.impressum-page-header,
.privacy-page-header {
  margin-bottom: var(--section-padding-mobile);
}
@media (min-width: 768px) {
  .impressum-page-header,
  .privacy-page-header {
    margin-bottom: var(--section-padding-desktop);
  }
}
.privacy-page-header .page-subtitle a,
.impressum-page-header .page-subtitle a {
  text-decoration: underline;
}
.privacy-page-header .page-subtitle a:hover,
.impressum-page-header .page-subtitle a:hover {
  color: var(--primary-darker);
}
.impressum-content-section,
.privacy-content-section {
  padding-top: 0;
}
.impressum-details,
.privacy-details {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color-light);
  font-size: 0.95rem;
  line-height: 1.75;
}
.impressum-details h2,
.privacy-details h2 {
  font-family: var(--audiowide-font);
  color: var(--primary-color);
  font-size: 1.6rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}
.impressum-details h2:first-of-type,
.privacy-details h2:first-of-type {
  margin-top: 0;
}
.privacy-details h3 {
  font-family: var(--body-font);
  color: var(--text-color);
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
}
.privacy-details h4 {
  font-family: var(--body-font);
  color: var(--text-color);
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.impressum-details p,
.privacy-details p {
  margin-bottom: 1.2rem;
}
.impressum-details strong,
.privacy-details strong {
  color: var(--text-color);
  font-weight: 600;
}
.privacy-details ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 1.2rem;
  padding-left: 15px;
}
.privacy-details ul li {
  margin-bottom: 0.5rem;
}
.impressum-details a,
.impressum-link,
.privacy-details a,
.privacy-link {
  color: var(--link-cyan);
  text-decoration: underline;
  word-break: break-all;
}
.impressum-details a:hover,
.impressum-link:hover,
.privacy-details a:hover,
.privacy-link:hover {
  color: var(--primary-darker);
  text-decoration: none;
}
body.light-mode .impressum-details,
body.light-mode .privacy-details {
  color: #1a1a1a;
}
body.light-mode .impressum-details strong,
body.light-mode .privacy-details strong,
body.light-mode .privacy-details h3,
body.light-mode .privacy-details h4 {
  color: var(--text-color);
}
body.light-mode .impressum-details a,
body.light-mode .impressum-link,
body.light-mode .privacy-details a,
body.light-mode .privacy-link {
  color: var(--primary-color);
}
body.light-mode .impressum-details a:hover,
body.light-mode .impressum-link:hover,
body.light-mode .privacy-details a:hover,
body.light-mode .privacy-link:hover {
  color: var(--primary-darker);
}

/* Lightbox Stile */
.sl-overlay {
  background: rgba(18, 18, 18, 0.95);
}
.sl-counter {
  color: var(--text-color-light);
  top: 15px;
  left: 15px;
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 3px 8px;
  border-radius: 3px;
}
.sl-navigation button,
.sl-close {
  color: var(--primary-color);
  opacity: 0.8;
}
.sl-navigation button:hover,
.sl-close:hover {
  opacity: 1;
}
.sl-caption {
  color: var(--text-color);
  background: rgba(0, 0, 0, 0.8);
  font-size: 0.95rem;
  padding: 10px 15px;
}
.sl-prev,
.sl-next {
  font-size: 1.8rem !important;
}

/* Mobile Typografie-Sicherheit für Hero und wichtige Überschriften */
@media (max-width: 576px) {
  .hero-section .header-content h1,
  .hero-section .header-content p.hero-subtitle {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
  }

  .section-title,
  .service-box h3 {
    overflow-wrap: anywhere;
    hyphens: auto;
  }
}

/* === Premium-Polish: Hochwertige Optik, dezente Glaseffekte, Gradients & Mikrointeraktionen === */

/* Variablen-Erweiterungen und feine Justierungen (Overrides) */
:root {
  --container-max-width: 1280px;
  --primary-gradient-start: #13e3ff;
  --primary-gradient-end: #08bcd4;
  --surface-glass-dark: rgba(255, 255, 255, 0.06);
  --surface-glass-light: rgba(0, 0, 0, 0.04);
  --elev-shadow-1: 0 8px 24px rgba(0, 0, 0, 0.28);
  --elev-shadow-2: 0 12px 36px rgba(0, 0, 0, 0.35);
}
body.light-mode {
  --surface-glass-dark: rgba(255, 255, 255, 0.6);
  --surface-glass-light: rgba(0, 0, 0, 0.06);
}

/* Dezente, hochwertige Hintergrund-Textur per Gradients (nicht dominant) */
body {
  background-image: radial-gradient(
      1000px 600px at 10% -10%,
      rgba(var(--primary-color-rgb), 0.06),
      rgba(0, 0, 0, 0) 60%
    ),
    radial-gradient(
      1000px 600px at 90% 0%,
      rgba(var(--primary-color-rgb), 0.04),
      rgba(0, 0, 0, 0) 65%
    ),
    linear-gradient(
      180deg,
      rgba(var(--bg-color-rgb), 1) 0%,
      rgba(var(--bg-color-rgb), 1) 100%
    );
  background-attachment: fixed;
}
body.light-mode {
  background-image: radial-gradient(
      900px 540px at 12% -12%,
      rgba(var(--primary-color-rgb), 0.08),
      rgba(255, 255, 255, 0) 62%
    ),
    radial-gradient(
      900px 540px at 85% -8%,
      rgba(0, 0, 0, 0.02),
      rgba(255, 255, 255, 0) 65%
    ),
    linear-gradient(
      180deg,
      rgba(var(--bg-color-rgb), 1) 0%,
      rgba(var(--bg-color-rgb), 1) 100%
    );
}

/* Dezente Noise-Textur als Overlay, extrem leicht, rein dekorativ */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.045) 1px,
    transparent 1px
  );
  background-size: 3px 3px;
  opacity: 0.18; /* sehr subtil */
}
body.light-mode::after {
  background-image: radial-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  opacity: 0.12;
}

/* Subnav entfernt - keine doppelte Definitionen mehr nötig */

/* Hero: dezentes Glas-Panel hinter Content + sanfter Glow um die Headline */
@supports (backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px)) {
  .hero-section .header-content {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(0, 0, 0, 0.22) 100%
    );
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    backdrop-filter: blur(14px) saturate(130%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    box-shadow: var(--elev-shadow-1);
  }
  body.light-mode .hero-section .header-content {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.78) 0%,
      rgba(255, 255, 255, 0.62) 100%
    );
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.12);
  }
}
.hero-section .header-content h1 {
  letter-spacing: 0.5px;
  white-space: normal; /* Zeilenumbruch zulassen */
  overflow-wrap: break-word;
}
.hero-section .header-content h1::before {
  content: "";
  position: absolute;
  inset: -10px -14px;
  z-index: -1;
  background: radial-gradient(
    60% 60% at 50% 50%,
    rgba(var(--primary-color-rgb), 0.18) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  filter: blur(18px);
  pointer-events: none;
}

/* Premium Buttons: sanfte Gradients, klare Kante, hochwertige Hover-States */
.btn.btn-primary {
  background-image: linear-gradient(
    135deg,
    var(--primary-gradient-start),
    var(--primary-gradient-end)
  );
  color: #001014;
  border: 1px solid rgba(var(--primary-color-rgb), 0.35);
  box-shadow: 0 8px 24px rgba(var(--primary-color-rgb), 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}
.btn.btn-primary:hover,
.btn.btn-primary:focus {
  background-image: linear-gradient(
    145deg,
    var(--primary-gradient-end),
    var(--primary-gradient-start)
  );
  box-shadow: 0 12px 32px rgba(var(--primary-color-rgb), 0.35),
    0 0 18px rgba(var(--primary-color-rgb), 0.35);
}
body.light-mode .btn.btn-primary {
  color: #00222a;
}

/* Service-Karten: weniger „spielig“, mehr „edel“ */
.service-box,
.leistung-card {
  border-color: rgba(255, 255, 255, 0.08);
}
body.light-mode .service-box,
body.light-mode .leistung-card {
  border-color: rgba(0, 0, 0, 0.08);
}
.service-box:hover,
.leistung-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: var(--elev-shadow-2), 0 0 26px var(--card-hover-glow-color);
}
.service-box .service-link h3,
.leistung-card h3 {
  letter-spacing: 0.2px;
}
.service-box .card-content {
  padding-top: 32px;
}

/* Kontakt-Form Card als „Glass“-Panel */
@supports (backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px)) {
  .contact-form-container,
  .contact-details-card {
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    backdrop-filter: blur(8px) saturate(120%);
    background-color: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--elev-shadow-1);
  }
  body.light-mode .contact-form-container,
  body.light-mode .contact-details-card {
    background-color: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }
}

/* Footer: feiner Link-Underline-Accents */
.footer-section ul a,
.subnav .subnav-link {
  position: relative;
}
.footer-section ul a::after,
.subnav .subnav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary-gradient-start),
    var(--primary-gradient-end)
  );
  transform: translateX(-50%);
  transition: width var(--transition-medium);
}
.footer-section ul a:hover::after,
.footer-section ul a:focus::after,
.subnav .subnav-link:hover::after,
.subnav .subnav-link:focus::after,
.subnav .subnav-link.active::after {
  width: 60%;
}

/* Floating Contact Badge (FAB) */
.floating-contact-badge {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1005;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.fab-main-button {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  will-change: transform, box-shadow;
}

.fab-main-button:hover,
.fab-main-button:focus {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5),
    0 8px 16px rgba(0, 0, 0, 0.3);
  outline: none;
}

.fab-main-button:active {
  transform: translateY(-2px) scale(1.02);
}

.floating-contact-badge.active .fab-main-button {
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-darker) 100%);
}

.fab-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.floating-contact-badge.active .fab-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.fab-item {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  text-decoration: none;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  will-change: transform;
}

.fab-item:hover,
.fab-item:focus {
  transform: translateY(-4px) scale(1.1);
  outline: none;
}

.fab-item:active {
  transform: translateY(-2px) scale(1.05);
}

.fab-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

.fab-whatsapp:hover {
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

.fab-phone {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-darker) 100%);
  box-shadow: 0 4px 16px rgba(var(--primary-color-rgb), 0.4);
}

.fab-phone:hover {
  box-shadow: 0 8px 24px rgba(var(--primary-color-rgb), 0.5);
}

.fab-email {
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
  box-shadow: 0 4px 16px rgba(108, 117, 125, 0.4);
}

.fab-email:hover {
  box-shadow: 0 8px 24px rgba(108, 117, 125, 0.5);
}

.fab-tooltip {
  position: absolute;
  right: 70px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.875rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
  pointer-events: none;
  font-weight: 500;
}

.fab-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: rgba(0, 0, 0, 0.85);
}

.fab-item:hover .fab-tooltip,
.fab-item:focus .fab-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

body.light-mode .fab-tooltip {
  background: rgba(255, 255, 255, 0.95);
  color: #1f2a33;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

body.light-mode .fab-tooltip::after {
  border-left-color: rgba(255, 255, 255, 0.95);
}

/* FAB Animation für Stagger-Effekt */
.floating-contact-badge.active .fab-item:nth-child(1) {
  transition-delay: 0.05s;
}

.floating-contact-badge.active .fab-item:nth-child(2) {
  transition-delay: 0.1s;
}

.floating-contact-badge.active .fab-item:nth-child(3) {
  transition-delay: 0.15s;
}

/* Mobile Anpassungen für FAB */
@media (max-width: 767px) {
  .floating-contact-badge {
    bottom: 20px;
    right: 20px;
  }

  .fab-main-button {
    width: 56px;
    height: 56px;
    font-size: 1.3rem;
  }

  .fab-item {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }

  .fab-tooltip {
    right: 60px;
    font-size: 0.8rem;
    padding: 6px 10px;
  }
}

@media (max-width: 420px) {
  .floating-contact-badge {
    bottom: 16px;
    right: 16px;
  }
}

/* Scrollbar optisch verfeinern (unterstützende Browser) */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--primary-color-rgb), 0.6) rgba(0, 0, 0, 0.2);
}
body.light-mode * {
  scrollbar-color: rgba(var(--primary-color-rgb), 0.7) rgba(0, 0, 0, 0.08);
}
::-webkit-scrollbar {
  height: 10px;
  width: 10px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.15);
}
body.light-mode ::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.06);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    var(--primary-gradient-start),
    var(--primary-gradient-end)
  );
  border-radius: 8px;
}

/* Auswahlfarbe optimieren */
::selection {
  background: rgba(var(--primary-color-rgb), 0.35);
  color: #001014;
}
body.light-mode ::selection {
  color: #001014;
}

/* --- Mobile-Optimierungen für Formulare --- */
/* Radio-Optionen (Kontaktweg) als Grid */
.radio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 10px 16px;
  align-items: start;
}
@media (max-width: 576px) {
  .radio-grid {
    grid-template-columns: 1fr;
  }
}

/* Buttons im Formular auf Mobile full width */
@media (max-width: 576px) {
  #startpage-full-contact-form .btn,
  #contact-page-form .btn {
    width: 100%;
    justify-content: center;
  }
}

/* iOS-Zoom vermeiden: Inputs/Textareas mind. 16px */
@media (max-width: 576px) {
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form input[type="number"],
  .contact-form textarea,
  .contact-form select {
    font-size: 16px;
    line-height: 1.25;
  }
}

/* Info-Boxen (z. B. Hinweise/Bestätigung) */
.info-box {
  background: rgba(var(--primary-color-rgb), 0.08);
  border: 1px solid rgba(var(--primary-color-rgb), 0.25);
  color: var(--text-color);
  padding: 10px 12px;
  border-radius: 6px;
}

/* Char Counter Hervorhebung */
.char-counter .over-limit {
  color: var(--error-color);
}

/* ============================================================
   PREMIUM DESIGN UPGRADE - Glassmorphism, Gradients, Polish
   ============================================================ */

/* --- Glassmorphism Navbar --- */
.navbar {
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(18, 18, 18, 0.85) !important;
  border-bottom: 1px solid rgba(var(--primary-color-rgb), 0.15);
}

/* --- Premium Section Dividers --- */
.section-padding {
  position: relative;
}
.section-padding::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  border-radius: 2px;
}

/* --- Section Title Upgrade --- */
.section-title {
  position: relative;
  text-shadow: 0 0 40px rgba(var(--primary-color-rgb), 0.15);
}

/* --- Premium Service Cards mit Glassmorphism --- */
.service-box {
  background: rgba(30, 30, 30, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(var(--primary-color-rgb), 0.1);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.4s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}
.service-box:hover {
  background: rgba(30, 30, 30, 0.9);
  border-color: rgba(var(--primary-color-rgb), 0.4);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(var(--primary-color-rgb), 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* --- Service Icon Glow Ring --- */
.service-box .service-icon {
  position: relative;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.service-box .service-icon::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(var(--primary-color-rgb), 0.3),
    transparent,
    rgba(var(--primary-color-rgb), 0.3),
    transparent
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}
.service-box:hover .service-icon::before {
  opacity: 1;
  animation: spin-glow 3s linear infinite;
}
@keyframes spin-glow {
  to { transform: rotate(360deg); }
}

/* Gallery Overlay Icon */
.gallery-image-link::before {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  font-size: 2.2rem;
  color: white;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  filter: drop-shadow(0 0 8px rgba(var(--primary-color-rgb), 0.4));
  pointer-events: none;
}

.gallery-image-link:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.gallery-image-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.2), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.gallery-image-link:hover::after {
  opacity: 1;
}

/* --- Premium Review Section --- */
.review-item,
#review-slider blockquote {
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.8), rgba(42, 42, 42, 0.6));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(var(--primary-color-rgb), 0.15);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.review-item::before,
#review-slider blockquote::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 6rem;
  color: rgba(var(--primary-color-rgb), 0.1);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}
#review-slider .review-item .fa-star,
#review-slider blockquote .fa-star {
  color: var(--star-color);
  filter: drop-shadow(0 0 4px rgba(var(--star-color-rgb), 0.4));
}

/* --- Premium Buttons --- */
.btn-primary {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
  z-index: -1;
}
.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(var(--primary-color-rgb), 0.3);
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  border-color: var(--primary-color);
  box-shadow: 0 0 20px rgba(var(--primary-color-rgb), 0.2),
    inset 0 0 20px rgba(var(--primary-color-rgb), 0.05);
}

/* --- Premium Hero Enhancements --- */
.hero-section .header-content h1 {
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}
.hero-section .usp-list span {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(var(--primary-color-rgb), 0.2);
  border-radius: 8px;
  padding: 8px 16px;
  transition: all 0.3s ease;
}
.hero-section .usp-list span:hover {
  border-color: var(--primary-color);
  background: rgba(var(--primary-color-rgb), 0.15);
  transform: translateY(-2px);
}

/* --- Premium Footer --- */
footer {
  background: linear-gradient(180deg, var(--bg-footer) 0%, #0a0a0a 100%);
  border-top: 1px solid rgba(var(--primary-color-rgb), 0.1);
}
.footer-section h2 {
  position: relative;
  padding-bottom: 12px;
}
.footer-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  border-radius: 2px;
}
.social-icons a {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.social-icons a:hover {
  transform: translateY(-4px) scale(1.15);
  filter: drop-shadow(0 4px 12px rgba(var(--primary-color-rgb), 0.4));
}

/* --- Trust Badges Premium --- */
.trust-badges li {
  background: rgba(var(--primary-color-rgb), 0.08);
  border: 1px solid rgba(var(--primary-color-rgb), 0.15);
  border-radius: 8px;
  padding: 8px 16px;
  transition: all 0.3s ease;
}
.trust-badges li:hover {
  background: rgba(var(--primary-color-rgb), 0.15);
  border-color: rgba(var(--primary-color-rgb), 0.3);
  transform: translateY(-2px);
}

/* --- Premium Contact Form --- */
.contact-form-container {
  background: rgba(30, 30, 30, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(var(--primary-color-rgb), 0.1);
  border-radius: 16px;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.15),
    0 0 20px rgba(var(--primary-color-rgb), 0.1);
}

/* --- Sticky Buttons Premium --- */
.whatsapp-sticky {
  background: linear-gradient(135deg, #25d366, #128c7e) !important;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.whatsapp-sticky:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}
.back-to-top-sticky {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(var(--primary-color-rgb), 0.15) !important;
  border: 1px solid rgba(var(--primary-color-rgb), 0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.back-to-top-sticky:hover {
  background: rgba(var(--primary-color-rgb), 0.3) !important;
  transform: translateY(-4px);
  box-shadow: 0 4px 20px rgba(var(--primary-color-rgb), 0.3);
}

/* --- Map Section Premium --- */
.map-container {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(var(--primary-color-rgb), 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* --- Scroll Progress Bar --- */
#progressBar {
  background: linear-gradient(90deg, var(--primary-color), #00e5ff, var(--primary-color));
  background-size: 200% 100%;
  animation: shimmer-progress 3s ease infinite;
}
@keyframes shimmer-progress {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --- Smooth Page Transitions --- */
main {
  animation: fadeInPage 0.6s ease-out;
}
@keyframes fadeInPage {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Light Mode Adjustments for Premium --- */
body.light-mode .service-box {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(var(--primary-color-rgb), 0.15);
}
body.light-mode .service-box:hover {
  background: rgba(255, 255, 255, 0.95);
}
body.light-mode .navbar {
  background: rgba(255, 255, 255, 0.85) !important;
  border-bottom: 1px solid rgba(var(--primary-color-rgb), 0.15);
}
body.light-mode .review-item,
body.light-mode #review-slider blockquote {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.8));
  border-color: rgba(var(--primary-color-rgb), 0.15);
}
body.light-mode .contact-form-container {
  background: rgba(255, 255, 255, 0.8);
}
body.light-mode .hero-section .usp-list span {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(var(--primary-color-rgb), 0.2);
}
body.light-mode footer {
  background: linear-gradient(180deg, #f0f0f0 0%, #e0e0e0 100%);
}
body.light-mode .trust-badges li {
  background: rgba(var(--primary-color-rgb), 0.05);
}

/* ============================================================
   STORYTELLING HOMEPAGE - Immersive Sections
   ============================================================ */

/* --- Hero Immersive --- */
.hero-immersive {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-immersive video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(var(--primary-color-rgb), 0.08) 0%, transparent 60%),
    linear-gradient(180deg,
      rgba(0,0,0,0.2) 0%,
      rgba(0,0,0,0.35) 30%,
      rgba(0,0,0,0.55) 60%,
      rgba(0,0,0,0.85) 100%
    );
  z-index: 1;
}
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(var(--primary-color-rgb), 0.3), transparent),
    radial-gradient(2px 2px at 40% 70%, rgba(var(--primary-color-rgb), 0.2), transparent),
    radial-gradient(1px 1px at 60% 20%, rgba(255,255,255,0.15), transparent),
    radial-gradient(1px 1px at 80% 60%, rgba(var(--primary-color-rgb), 0.15), transparent);
  animation: float-particles 20s linear infinite;
}
@keyframes float-particles {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(1deg); }
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  max-width: 900px;
}
.hero-badge {
  display: inline-block;
  padding: 10px 28px;
  border: 1px solid rgba(var(--primary-color-rgb), 0.5);
  border-radius: 50px;
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(var(--primary-color-rgb), 0.1);
  margin-bottom: 28px;
  box-shadow: 0 0 30px rgba(var(--primary-color-rgb), 0.15),
    inset 0 1px 0 rgba(255,255,255,0.1);
  animation: badge-glow 3s ease-in-out infinite alternate;
}
@keyframes badge-glow {
  0% { box-shadow: 0 0 20px rgba(var(--primary-color-rgb), 0.1), inset 0 1px 0 rgba(255,255,255,0.1); }
  100% { box-shadow: 0 0 40px rgba(var(--primary-color-rgb), 0.25), inset 0 1px 0 rgba(255,255,255,0.15); }
}
.hero-immersive h1 {
  font-family: var(--audiowide-font);
  font-size: clamp(2.5rem, 7vw, 5rem);
  color: #fff;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 30%, var(--primary-color) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
  line-height: 1.1;
  animation: hero-shimmer 6s ease-in-out infinite alternate;
}
@keyframes hero-shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 44px;
  font-weight: 300;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: 12px;
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  cursor: pointer;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.hero-cta-group .btn i {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hero-cta-group .btn:hover i {
  transform: scale(1.2);
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce-down 2s ease infinite;
}
@keyframes bounce-down {
  0%,100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50% { transform: translateX(-50%) translateY(12px); opacity: 1; }
}

/* --- Story Section Premium --- */
.story-section-premium {
  position: relative;
  background: var(--bg-color);
  overflow: hidden;
}
.story-section-premium::before {
  content: '';
  position: absolute;
  top: -50px; left: -50px; right: -50px; bottom: -50px;
  background: radial-gradient(circle at 15% 50%, rgba(var(--primary-color-rgb), 0.04) 0%, transparent 60%);
  pointer-events: none;
}
.story-premium-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.section-label-premium {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0.9;
}
.section-label-premium i {
  font-size: 1rem;
  filter: drop-shadow(0 0 8px rgba(var(--primary-color-rgb), 0.5));
}
.story-premium-text h2.section-title {
  font-family: var(--audiowide-font);
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 30px;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 0%, #aaa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.story-lead {
  font-size: 1.25rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.6;
}
.story-premium-text p {
  color: var(--text-color-light);
  line-height: 1.8;
  margin-bottom: 20px;
}
.story-premium-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  transition: all 0.4s ease;
}
.feature-item:hover {
  background: rgba(var(--primary-color-rgb), 0.06);
  border-color: rgba(var(--primary-color-rgb), 0.2);
  transform: translateY(-3px);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(var(--primary-color-rgb), 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary-color);
  font-size: 1.3rem;
  transition: transform 0.4s ease;
}
.feature-item:hover .feature-icon {
  transform: rotate(10deg);
}
.feature-item span {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}
.story-premium-visual {
  position: relative;
}
.visual-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.visual-wrapper img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.visual-wrapper:hover img {
  transform: scale(1.03);
}
.visual-glow {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  pointer-events: none;
}
@media (max-width: 992px) {
  .story-premium-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

/* ============================================================
   STARTPAGE LUXURY REDESIGN COMPONENTS
   ============================================================ */

/* --- 1. Cinematic Timeline --- */
.cinematic-process {
  background: var(--bg-color);
  position: relative;
  overflow: hidden;
}
.cinematic-timeline {
  display: flex;
  flex-direction: column;
  gap: 80px;
  position: relative;
  margin-top: 80px;
  padding: 40px 0;
}
.timeline-line {
  position: absolute;
  top: 0; left: 50%; bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(-50%);
}
.timeline-line.active-scroll {
  background: linear-gradient(to bottom, var(--primary-color) 0%, transparent 100%);
  box-shadow: 0 0 15px rgba(var(--primary-color-rgb), 0.5);
}
.cinematic-step {
  display: flex;
  justify-content: flex-end;
  width: 50%;
  padding-right: 60px;
  position: relative;
  text-align: right;
  opacity: 0.2;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: translateY(30px);
}
.cinematic-step.is-active {
  opacity: 1;
  transform: translateY(0);
}
.cinematic-step.right {
  align-self: flex-end;
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 60px;
  text-align: left;
}
.step-watermark {
  position: absolute;
  top: -40px;
  font-family: var(--audiowide-font);
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.02);
  z-index: 0;
  pointer-events: none;
}
.cinematic-step.right .step-watermark {
  left: 20px; right: auto;
}
.cinematic-step:not(.right) .step-watermark {
  right: 20px; left: auto;
}
.process-content {
  position: relative;
  z-index: 2;
  max-width: 400px;
}
.cinematic-step .process-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid rgba(var(--primary-color-rgb), 0.3);
  display: flex; justify-content: center; align-items: center;
  position: absolute;
  top: 0; right: -30px;
  font-size: 1.2rem;
  color: var(--primary-color);
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  transition: all 0.5s ease;
}
.cinematic-step.right .process-icon {
  right: auto; left: -30px;
}
.cinematic-step.is-active .process-icon {
  background: rgba(var(--primary-color-rgb), 0.1);
  box-shadow: 0 0 30px rgba(var(--primary-color-rgb), 0.4);
  border-color: var(--primary-color);
}
.cinematic-step h3 {
  font-family: var(--audiowide-font);
  font-size: 1.3rem; margin-bottom: 15px; color: #fff;
}
.cinematic-step p {
  color: var(--text-color-light); line-height: 1.8;
}

@media (max-width: 768px) {
  .cinematic-timeline { gap: 60px; }
  .timeline-line { left: 30px; }
  .cinematic-step, .cinematic-step.right { width: 100%; padding-left: 80px; padding-right: 0; text-align: left; justify-content: flex-start; }
  .cinematic-step .process-icon, .cinematic-step.right .process-icon { right: auto; left: 0; }
  .cinematic-step:not(.right) .step-watermark { left: 40px; right: auto; }
}

/* --- 2. Leistungen Bento-Box --- */
.services-showcase { background: var(--bg-surface); }
.services-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}
.bento-box {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 250px;
  padding: 30px;
  transition: all 0.5s ease;
}
.bento-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 400px;
}
.bento-small {
  grid-column: span 1;
}
.bento-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  transition: opacity 0.5s ease, transform 0.8s ease;
}
.bento-box:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--primary-color-rgb), 0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.bento-box:hover .bento-bg {
  opacity: 0.4;
  transform: scale(1.05);
}
.bento-content {
  position: relative;
  z-index: 2;
}
.bento-content .service-icon {
  margin-bottom: 20px;
  font-size: 2rem;
  color: var(--primary-color);
  filter: drop-shadow(0 0 10px rgba(var(--primary-color-rgb), 0.5));
}
.bento-content h3 {
  font-family: var(--audiowide-font);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 10px;
}
.bento-large .bento-content h3 {
  font-size: 1.8rem;
}
.bento-content p {
  color: var(--text-color-light);
  line-height: 1.6;
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 1024px) {
  .services-bento { grid-template-columns: repeat(2, 1fr); }
  .bento-small { grid-column: span 1; }
}
@media (max-width: 600px) {
  .services-bento { grid-template-columns: 1fr; }
  .bento-large, .bento-small { grid-column: span 1; grid-row: auto; min-height: 250px; }
  .bento-box { padding: 22px; }
  .bento-large .bento-content h3 {
    font-size: 1.2rem;
  }
  .bento-content h3 {
    font-size: 1rem;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }
  .bento-content p {
    font-size: 0.82rem;
  }
}

/* --- 3. Gallery Mirror Effect --- */
.gallery-immersive { background: var(--bg-color); overflow: hidden; padding-bottom: 100px; }
.gallery-swiper-coverflow { width: 100%; padding-top: 50px; padding-bottom: 50px; }
.gallery-swiper-coverflow .swiper-slide {
  background-position: center;
  background-size: cover;
  width: 600px;    
  height: 400px;
  border-radius: 12px;
  
}
.gallery-swiper-coverflow .swiper-slide img {
  display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 12px;
}
@media (max-width: 768px) {
  .gallery-swiper-coverflow .swiper-slide { width: 300px; height: 200px; }
}

/* --- 4. Reviews Editorial --- */
.reviews-editorial {
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}
.editorial-watermark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 35vw;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.02);
  pointer-events: none;
  font-family: var(--audiowide-font);
  line-height: 1;
}
.reviews-swiper-fade-container {
  margin: 60px auto;
  max-width: 900px;
}
.review-editorial-card {
  text-align: center;
  padding: 20px;
}
.review-editorial-card p {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: #fff;
  line-height: 1.4;
  margin-bottom: 40px;
  font-weight: 300;
}
.review-editorial-card footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--primary-color);
}
.editorial-line {
  width: 40px; height: 1px; background: rgba(var(--primary-color-rgb), 0.5);
}
.review-stars-minimal {
  letter-spacing: 4px;
}
.btn-google-luxury {
  border-bottom: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  text-decoration: none;
  padding-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  transition: border-color 0.4s ease, color 0.4s ease;
}
.btn-google-luxury:hover {
  color: var(--primary-color); border-color: var(--primary-color);
}

/* --- 5. Contact Split Fading --- */
.contact-split-section {
  display: flex;
  background: #050505;
  min-height: 700px;
  position: relative;
}
.contact-macro-image {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.macro-bg {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.macro-fade-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(to right, transparent 0%, #050505 100%);
}
.contact-form-side {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 60px 80px;
}
.contact-form-inner { width: 100%; max-width: 600px; }
.form-group-luxury {
  position: relative;
  margin-bottom: 40px;
}
.form-group-luxury input,
.form-group-luxury textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  padding: 10px 0;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.4s ease;
}
.form-group-luxury textarea {
  resize: vertical;
  min-height: 40px;
}
.form-group-luxury label {
  position: absolute;
  top: 10px; left: 0;
  color: rgba(255,255,255,0.4);
  pointer-events: none;
  transition: all 0.3s ease;
}
.form-group-luxury input:focus,
.form-group-luxury textarea:focus { border-bottom-color: transparent; }
.form-group-luxury input:focus ~ label,
.form-group-luxury textarea:focus ~ label,
.form-group-luxury input:not(:placeholder-shown) ~ label,
.form-group-luxury textarea:not(:placeholder-shown) ~ label {
  top: -20px; font-size: 0.75rem; color: var(--primary-color);
}
.input-line {
  position: absolute; bottom: 0; left: 0; width: 0; height: 1px;
  background: var(--primary-color);
  transition: width 0.4s ease;
}
.form-group-luxury input:focus ~ .input-line,
.form-group-luxury textarea:focus ~ .input-line { width: 100%; }

.btn-luxury-submit {
  background: transparent; border: 1px solid rgba(255,255,255,0.2);
  color: #fff; padding: 18px 40px;
  border-radius: 4px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 15px;
  transition: all 0.4s ease; font-size: 1rem; letter-spacing: 1px;
}
.btn-luxury-submit:hover {
  background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.5);
}
.pulse-ring {
  width: 10px; height: 10px; background: var(--primary-color); border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb), 0.7);
  animation: pulse-dot 2s infinite cubic-bezier(0.66, 0, 0, 1);
}
@keyframes pulse-dot { 
  to { box-shadow: 0 0 0 15px rgba(var(--primary-color-rgb), 0); } 
}
@media (max-width: 992px) {
  .contact-split-section { flex-direction: column; }
  .contact-macro-image { height: 300px; flex: none; }
  .macro-fade-overlay { background: linear-gradient(to bottom, transparent 0%, #050505 100%); }
  .contact-form-side { padding: 40px 20px; }
}

/* --- 6. Map Monochrome --- */
.map-section-luxury { position: relative; }
.map-monochrome {
  filter: grayscale(1) invert(0.9) hue-rotate(200deg) contrast(1.1);
  transition: filter 1s ease;
}
.map-monochrome:hover { filter: none; } /* Reveal on hover */
.map-overlay-band {
  position: absolute; top: 0; bottom: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; z-index: 10;
}
.map-band-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 15px !important;
  background: rgba(5, 5, 5, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  padding: 40px 60px !important;
  border-radius: 16px !important;
  text-align: center !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
  pointer-events: auto !important;
}
.map-band-content h3 {
  font-family: var(--audiowide-font) !important;
  font-size: 1.4rem !important;
  margin: 0 !important;
  color: #fff !important;
  line-height: 1.2 !important;
  letter-spacing: 1px !important;
}
.map-band-content p {
  color: rgba(255,255,255,0.6) !important;
  margin: 0 !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
}
.btn-map-route {
  display: inline-flex !important;
  margin-top: 10px !important;
  padding: 12px 30px !important;
  color: #fff !important;
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  border-radius: 30px !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  font-size: 0.8rem !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}
.btn-map-route:hover {
  background: rgba(255,255,255,0.05) !important;
  border-color: #fff !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
}

/* --- 7. Floating Dial --- */
.floating-scroll-dial {
  position: fixed; bottom: 30px; right: 30px;
  width: 60px; height: 60px;
  z-index: 999;
  border-radius: 50%;
  background: #111;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: #fff;
  transition: transform 0.3s ease;
}
.floating-scroll-dial:hover { transform: scale(1.1); }
.dial-svg { position: absolute; top: 0; left: 0; transform: rotate(-90deg); }
.dial-bg { fill: none; stroke: rgba(255,255,255,0.1); stroke-width: 2; }
.dial-progress { 
  fill: none; stroke: var(--primary-color); stroke-width: 2;
  stroke-dasharray: 176; stroke-dashoffset: 176; stroke-linecap: round;
}
.dial-inner i { font-size: 1.2rem; transition: opacity 0.3s ease; }
.dial-text {
  position: absolute; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 1px;
  opacity: 0; transition: opacity 0.3s ease;
}
.floating-scroll-dial:hover .dial-inner i { opacity: 0; }
.floating-scroll-dial:hover .dial-text { opacity: 1; }


/* ============================================================
   MEGA-MENU HEADER - Modern Navigation
   ============================================================ */

/* --- Mega Menu Container --- */
.navbar-menu-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  margin: 0 20px;
}
.mega-menu {
  display: flex;
  list-style: none;
  gap: 0;
  margin: 0;
  padding: 0;
  align-items: center;
}
.mega-item {
  position: relative;
  height: 70px;
  display: flex;
  align-items: center;
}

/* --- Mega Link Base --- */
.mega-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 8px;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}
.mega-link i:first-child {
  font-size: 1.1rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}
.mega-link:hover {
  background: rgba(var(--primary-color-rgb), 0.1);
  color: var(--primary-color);
}
.mega-link:hover i:first-child {
  transform: scale(1.2) rotate(5deg);
}
.mega-link.active {
  background: rgba(var(--primary-color-rgb), 0.15);
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

/* --- Mega Chevron --- */
.mega-chevron {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}
.mega-item.has-panel .mega-link:hover .mega-chevron {
  transform: rotate(180deg);
}
.mega-item.has-panel .mega-link[aria-expanded="true"] .mega-chevron {
  transform: rotate(180deg);
}

/* --- Mega Panel (Dropdown) --- */
.mega-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: auto;
  min-width: 600px;
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(var(--primary-color-rgb), 0.2);
  border-radius: 16px;
  padding: 0;
  margin-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 1000;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(var(--primary-color-rgb), 0.1);
}
.mega-panel::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 30px;
  width: 16px;
  height: 16px;
  background: rgba(18, 18, 18, 0.95);
  border: 1px solid rgba(var(--primary-color-rgb), 0.2);
  border-bottom: none;
  border-right: none;
  transform: rotate(45deg);
  z-index: -1;
}
.mega-item.has-panel:hover .mega-panel,
.mega-panel:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-panel-small {
  min-width: 380px;
}

/* --- Mega Panel Content --- */
.mega-panel-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  padding: 24px;
}
.mega-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mega-column h4 {
  font-family: var(--audiowide-font);
  font-size: 0.9rem;
  color: var(--primary-color);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 8px 0;
}
.mega-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mega-column a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-color-light);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 6px 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.mega-column a i {
  color: var(--primary-color);
  font-size: 0.95rem;
  transition: transform 0.3s ease;
}
.mega-column a:hover {
  color: var(--primary-color);
  background: rgba(var(--primary-color-rgb), 0.1);
  padding-left: 12px;
}
.mega-column a:hover i {
  transform: scale(1.2);
}

/* --- Mega Featured Box --- */
.mega-featured {
  grid-column: span 2;
}
.mega-featured-box {
  background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.15), rgba(var(--primary-color-rgb), 0.05));
  border: 1px solid rgba(var(--primary-color-rgb), 0.2);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mega-featured-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-color-rgb), 0.1) 0%, transparent 70%);
  animation: float 6s ease infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(20px) translateX(10px); }
}
.mega-featured-box i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 8px;
  filter: drop-shadow(0 0 10px rgba(var(--primary-color-rgb), 0.3));
}
.mega-featured-box h4 {
  color: var(--text-color);
  font-family: var(--audiowide-font);
  font-size: 1rem;
  margin: 0;
}
.mega-featured-box p {
  font-size: 0.85rem;
  color: var(--text-color-light);
  margin: 8px 0 12px 0;
}
.btn-sm {
  padding: 6px 16px;
  font-size: 0.85rem;
  border-radius: 6px;
}

/* --- Right Navbar Items --- */
.navbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-nav-cta {
  padding: 8px 16px;
  font-size: 0.9rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.btn-nav-cta span {
  font-weight: 600;
}

/* --- Mobile Responsive --- */
@media (max-width: 1200px) {
  .mega-panel {
    min-width: 500px;
  }
  .mega-featured {
    grid-column: span 1;
  }
}

@media (max-width: 992px) {
  .navbar-menu-wrapper {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(18,18,18,0.98) 0%, rgba(26,26,26,0.95) 100%);
    margin: 0;
    flex-direction: column;
    display: none;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    border-top: 1px solid rgba(var(--primary-color-rgb), 0.1);
    z-index: 999;
  }
  .navbar-menu-wrapper.show {
    display: flex;
  }
  .mega-menu {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  .mega-item {
    width: 100%;
    height: auto;
    padding: 0;
    border-bottom: 1px solid rgba(var(--primary-color-rgb), 0.05);
  }
  .mega-link {
    width: 100%;
    padding: 16px 20px;
    border-radius: 0;
    justify-content: space-between;
  }
  .mega-link.active {
    border-bottom: none;
    border-left: 3px solid var(--primary-color);
  }
  .mega-panel {
    position: static;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    border: none;
    border-radius: 0;
    background: rgba(var(--primary-color-rgb), 0.05);
    backdrop-filter: none;
    transform: none;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    margin-top: 0;
    padding: 0;
  }
  .mega-panel::before {
    display: none;
  }
  .mega-item.has-panel .mega-link[aria-expanded="true"] + .mega-panel,
  .mega-item.has-panel:hover .mega-panel {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
    padding: 16px 20px;
  }
  .mega-panel-content {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0;
  }
  .mega-featured {
    grid-column: span 1;
  }
  .btn-nav-cta span {
    display: none;
  }
  .btn-nav-cta {
    padding: 10px;
    width: 44px;
    height: 44px;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .mega-panel {
    min-width: 100%;
  }
  .mega-link {
    font-size: 0.85rem;
  }
  .mega-link i:first-child {
    font-size: 1rem;
  }
}

/* --- Light Mode --- */
body.light-mode .mega-panel {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(var(--primary-color-rgb), 0.15);
}
body.light-mode .mega-panel::before {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(var(--primary-color-rgb), 0.15);
}
body.light-mode .mega-featured-box {
  background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.08), rgba(var(--primary-color-rgb), 0.02));
}

.map-section-luxury .map-container { height: 500px !important; width: 100%; position: relative; overflow: hidden; }


.map-load-btn.override-btn-style {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  display: inline-flex !important;
  margin-top: 10px !important;
  padding: 12px 30px !important;
  background: rgba(var(--primary-color-rgb), 0.1) !important;
  color: var(--primary-color) !important;
  border: 1px solid rgba(var(--primary-color-rgb), 0.5) !important;
  border-radius: 30px !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  font-size: 0.8rem !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}
.map-load-btn.override-btn-style:hover {
  background: var(--primary-color) !important;
  color: #000 !important;
  transform: translateY(-2px) !important;
}

/* ============================================================
   LIGHT-MODE: Startseite Luxury Sections
   ============================================================ */

/* Story Premium Section */
body.light-mode .story-premium-text h2.section-title {
  background: linear-gradient(135deg, #1a1a1a 0%, #555 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.light-mode .story-lead {
  color: #1a1a1a;
}
body.light-mode .story-premium-text p {
  color: #444;
}
body.light-mode .feature-item {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.08);
}
body.light-mode .feature-item span {
  color: #1a1a1a;
}
body.light-mode .visual-wrapper {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}
body.light-mode .visual-glow {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

/* Cinematic Timeline / Process */
body.light-mode .timeline-line {
  background: rgba(0, 0, 0, 0.08);
}
body.light-mode .step-watermark {
  color: rgba(0, 0, 0, 0.03);
}
body.light-mode .cinematic-step h3 {
  color: #1a1a1a;
}
body.light-mode .cinematic-step p {
  color: #444;
}
body.light-mode .cinematic-step .process-icon {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Bento Services */
body.light-mode .bento-box {
  background: #f0f0f0;
  border-color: rgba(0, 0, 0, 0.08);
}
body.light-mode .bento-box:hover {
  border-color: rgba(var(--primary-color-rgb), 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
body.light-mode .bento-content h3 {
  color: #1a1a1a;
}
body.light-mode .bento-content p {
  color: #444;
}

/* Reviews Editorial */
body.light-mode .editorial-watermark {
  color: rgba(0, 0, 0, 0.03);
}
body.light-mode .review-editorial-card p {
  color: #1a1a1a;
}
body.light-mode .btn-google-luxury {
  color: #1a1a1a;
  border-bottom-color: rgba(0, 0, 0, 0.2);
}

/* Contact Split Section */
body.light-mode .contact-split-section {
  background: #f8f9fa;
}
body.light-mode .macro-fade-overlay {
  background: linear-gradient(to right, transparent 0%, #f8f9fa 100%);
}
body.light-mode .contact-form-side .section-label {
  color: var(--primary-color);
}
body.light-mode .contact-form-side .section-title {
  color: var(--primary-color);
}
body.light-mode .form-group-luxury input,
body.light-mode .form-group-luxury textarea {
  border-bottom-color: rgba(0, 0, 0, 0.15);
  color: #1a1a1a;
}
body.light-mode .form-group-luxury label {
  color: rgba(0, 0, 0, 0.45);
}
body.light-mode .btn-luxury-submit {
  border-color: rgba(0, 0, 0, 0.2);
  color: #1a1a1a;
}
body.light-mode .btn-luxury-submit:hover {
  background: rgba(var(--primary-color-rgb), 0.1);
  border-color: var(--primary-color);
  color: #1a1a1a;
}
body.light-mode .form-check-label {
  color: #444;
}

/* Map Section */
body.light-mode .map-band-content {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
}
body.light-mode .map-band-content h3 {
  color: #1a1a1a !important;
}
body.light-mode .map-band-content p {
  color: rgba(0, 0, 0, 0.6) !important;
}
body.light-mode .btn-map-route {
  color: #1a1a1a !important;
  border-color: rgba(0, 0, 0, 0.2) !important;
}
body.light-mode .btn-map-route:hover {
  background: rgba(0, 0, 0, 0.05) !important;
  border-color: #1a1a1a !important;
}
body.light-mode .map-monochrome {
  filter: grayscale(0.5) contrast(1.05);
}

/* Floating Dial */
body.light-mode .floating-scroll-dial {
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  color: #1a1a1a;
}

/* Hero Immersive - bleibt dunkel, aber Scroll-Indicator anpassen ist nicht noetig */

/* ============================================================
   LEISTUNGEN PAGE LUXURY REDESIGN
   ============================================================ */

/* --- A. Leistungen Hero --- */
.leistungen-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 80px 0 60px;
}
.leistungen-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}
.leistungen-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(18,18,18,0.6) 0%, var(--bg-color) 100%);
}
.leistungen-hero .container { position: relative; z-index: 2; }
.leistungen-hero h1 {
  font-family: var(--audiowide-font);
  font-size: clamp(1.4rem, 8vw, 3.5rem);
  background: linear-gradient(135deg, #fff 0%, #aaa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  line-height: 1.25;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}
.leistungen-hero .page-subtitle {
  color: var(--text-color-light);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  max-width: 650px;
  margin: 0 auto 20px;
  line-height: 1.6;
}
.leistungen-hero .breadcrumb {
  justify-content: center;
}

/* --- Leistungen Hero Mobile --- */
@media (max-width: 767px) {
  .leistungen-hero {
    min-height: auto;
    padding: 50px 0 36px;
    overflow: visible;
  }
  .leistungen-hero h1 {
    font-size: clamp(1.1rem, 5vw, 1.6rem);
    line-height: 1.35;
    word-break: normal;
  }
  .leistungen-hero .page-subtitle {
    font-size: clamp(0.85rem, 3.2vw, 1rem);
  }
  .section-label-premium {
    font-size: 0.65rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
  }
}

/* --- B. Sticky Section Subnav --- */
.section-subnav--sticky {
  position: sticky;
  top: var(--navbar-height);
  z-index: 100;
  background: rgba(var(--bg-color-rgb), 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 0;
  margin: 0 -15px;
  padding-left: 15px;
  padding-right: 15px;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.section-subnav--sticky.is-stuck {
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* --- C. Category Header --- */
.category-header {
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
}
.category-header .subsection-title {
  margin-bottom: 16px;
}
.category-header .section-intro {
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-color-light);
}
.category-header .section-intro a {
  color: var(--primary-color);
}

/* --- C3. Politur Tiers --- */
.politur-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  margin-bottom: 50px;
}
.politur-tier-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s ease;
  overflow: hidden;
}
.politur-tier-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(var(--primary-color-rgb), 0.15);
  border-color: rgba(var(--primary-color-rgb), 0.4);
}
.politur-tier-card .card-content {
  padding: 30px 28px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.politur-tier-card .card-icon {
  font-size: 2.4rem;
  color: var(--primary-color);
  margin-bottom: 16px;
  filter: drop-shadow(0 0 8px rgba(var(--primary-color-rgb), 0.4));
}
.politur-tier-card h3 {
  font-family: var(--audiowide-font);
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #fff;
}
.politur-tier-card .leistung-details {
  text-align: left;
}
.politur-tier-card .tier-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  justify-content: center;
}
.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  background: rgba(var(--primary-color-rgb), 0.08);
  color: var(--primary-color);
  border: 1px solid rgba(var(--primary-color-rgb), 0.15);
}
.tier-badge i { font-size: 0.7rem; }
.politur-tier-card .card-footer {
  padding: 18px 20px;
  background: rgba(0,0,0,0.1);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.politur-tier-card--premium {
  border-color: rgba(var(--primary-color-rgb), 0.4);
  box-shadow: 0 0 30px rgba(var(--primary-color-rgb), 0.1);
}
.politur-tier-card--premium::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-gradient-start), var(--primary-gradient-end));
}
@media (max-width: 768px) {
  .politur-tiers {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* --- C4. Keramik Feature Card --- */
.keramik-feature {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  padding: 50px 40px;
  margin-top: 50px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: 300px;
  background: rgba(30,30,30,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(var(--primary-color-rgb), 0.2);
}
.keramik-feature-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  transition: opacity 0.5s ease;
}
.keramik-feature:hover .keramik-feature-bg {
  opacity: 0.2;
}
.keramik-feature-content {
  position: relative;
  z-index: 2;
  flex: 1;
}
.keramik-feature-content h3 {
  font-family: var(--audiowide-font);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff;
  margin-bottom: 16px;
}
.keramik-feature-content p {
  color: var(--text-color-light);
  line-height: 1.8;
  margin-bottom: 12px;
}
.keramik-feature-content .leistung-details {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}
.keramik-feature-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.keramik-feature-actions .preis {
  font-family: var(--audiowide-font);
  font-size: 1.2rem;
  color: var(--primary-color);
}
@media (max-width: 768px) {
  .keramik-feature {
    flex-direction: column;
    padding: 28px 20px;
    overflow: visible;
    min-height: auto;
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .keramik-feature-content h3 {
    font-size: clamp(1.1rem, 5vw, 1.5rem);
  }
  .keramik-feature-actions .preis {
    font-size: 1rem;
  }
}

/* --- C5. FAQ Standalone --- */
.faq-standalone {
  background: rgba(30,30,30,0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 40px;
  margin-top: 40px;
}
.faq-standalone .subsection-title {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

/* --- F. Package Tiers --- */
.packages-tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.package-tier {
  position: relative;
}
.package-tier--featured {
  border: 2px solid rgba(var(--primary-color-rgb), 0.5) !important;
  box-shadow: 0 0 30px rgba(var(--primary-color-rgb), 0.1);
}
.package-tier--featured::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-gradient-start), var(--primary-gradient-end));
  z-index: 2;
  border-radius: 12px 12px 0 0;
}
.package-badge {
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
  color: #001014;
  padding: 5px 18px;
  border-radius: 0 0 10px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 3;
  white-space: nowrap;
}
.package-tier--highlight {
  border-color: rgba(var(--primary-color-rgb), 0.25) !important;
}
@media (max-width: 1024px) {
  .packages-tier-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .packages-tier-grid {
    grid-template-columns: 1fr;
  }
}

/* --- G. Compact Grid --- */
.leistungen-grid--compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.leistungen-grid--compact .leistung-card .card-content {
  padding: 20px;
}
.leistungen-grid--compact .leistung-card .card-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.leistungen-grid--compact .leistung-card h3 {
  font-size: 1rem;
}

/* --- H. Preis-Hinweis Glassmorphism --- */
.preis-hinweis-glass {
  background: rgba(30,30,30,0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 30px;
  margin-top: 50px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.preis-hinweis-glass i {
  color: var(--primary-color);
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.preis-hinweis-glass p {
  margin: 0;
  color: var(--text-color-light);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* --- I. CTA Split --- */
.leistungen-cta-split {
  display: flex;
  background: #050505;
  min-height: 350px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 60px;
}
.leistungen-cta-image {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.leistungen-cta-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.leistungen-cta-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 0%, #050505 100%);
}
.leistungen-cta-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px 60px;
}
.leistungen-cta-content h3 {
  font-family: var(--audiowide-font);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 16px;
}
.leistungen-cta-content p {
  color: var(--text-color-light);
  line-height: 1.8;
  margin-bottom: 28px;
}
@media (max-width: 768px) {
  .leistungen-cta-split {
    flex-direction: column;
    border-radius: 16px;
  }
  .leistungen-cta-image { min-height: 200px; }
  .leistungen-cta-fade {
    background: linear-gradient(to bottom, transparent 0%, #050505 100%);
  }
  .leistungen-cta-content { padding: 35px 25px; }
}

/* --- Story Interlude (reuse story-premium with slight adjustment) --- */
.leistungen-story .story-premium-grid {
  gap: 60px;
}

/* ============================================================
   LEISTUNGEN PAGE: LIGHT-MODE OVERRIDES
   ============================================================ */
body.light-mode .leistungen-hero h1 {
  background: linear-gradient(135deg, #1a1a1a 0%, #555 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
body.light-mode .leistungen-hero-overlay {
  background: linear-gradient(to bottom, rgba(248,249,250,0.6) 0%, var(--bg-color) 100%);
}
body.light-mode .section-subnav--sticky {
  background: rgba(var(--bg-color-rgb), 0.88);
}
body.light-mode .section-subnav--sticky.is-stuck {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
body.light-mode .category-header .section-intro {
  color: #444;
}
body.light-mode .politur-tier-card {
  background: var(--bg-surface);
}
body.light-mode .politur-tier-card h3 {
  color: #1a1a1a;
}
body.light-mode .politur-tier-card .card-footer {
  background: rgba(0,0,0,0.03);
}
body.light-mode .tier-badge {
  background: rgba(var(--primary-color-rgb), 0.06);
}
body.light-mode .keramik-feature {
  background: rgba(255,255,255,0.7);
  border-color: rgba(0,0,0,0.08);
}
body.light-mode .keramik-feature-content h3 {
  color: #1a1a1a;
}
body.light-mode .keramik-feature-content p {
  color: #444;
}
body.light-mode .faq-standalone {
  background: rgba(255,255,255,0.5);
  border-color: rgba(0,0,0,0.06);
}
body.light-mode .package-tier--featured {
  border-color: rgba(var(--primary-color-rgb), 0.5) !important;
}
body.light-mode .preis-hinweis-glass {
  background: rgba(255,255,255,0.5);
  border-color: rgba(0,0,0,0.06);
}
body.light-mode .preis-hinweis-glass p {
  color: #444;
}
body.light-mode .leistungen-cta-split {
  background: #f8f9fa;
}
body.light-mode .leistungen-cta-fade {
  background: linear-gradient(to right, transparent 0%, #f8f9fa 100%);
}
body.light-mode .leistungen-cta-content h3 {
  color: #1a1a1a;
}
body.light-mode .leistungen-cta-content p {
  color: #444;
}
@media (max-width: 768px) {
  body.light-mode .leistungen-cta-fade {
    background: linear-gradient(to bottom, transparent 0%, #f8f9fa 100%);
  }
}
