/* =========================================================================
   VauLid GmbH – Design-Tokens & Basis
   Mobile-first. Alle Farben laufen ausschließlich über CSS Custom
   Properties, hier zentral definiert. Schriften sind lokal eingebunden
   (assets/fonts, SIL-OFL-Lizenz) – kein Aufruf externer Font-CDNs.
   ========================================================================= */

@font-face {
  font-family: 'Space Grotesk';
  src: url('../assets/fonts/space-grotesk-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../assets/fonts/space-grotesk-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../assets/fonts/space-grotesk-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* --- Farben: Corporate Design VauLid GmbH (Nachtblau + Gold) ---
     Exakte Markenfarben aus dem Logo/Canva-Kit: Navy #0a2d57, Gold
     #c59b48, Hellgold #ebd186, Dunkelgold/Bronze #8d6423. */
  --color-bg: #071b33;
  --color-bg-alt: #0a2d57;
  --color-bg-elevated: #0f3563;
  --color-surface: rgba(255, 255, 255, 0.045);
  --color-surface-strong: rgba(255, 255, 255, 0.08);
  --color-border: rgba(197, 155, 72, 0.18);
  --color-border-strong: rgba(213, 178, 111, 0.38);
  --color-text: #f6f4ee;
  --color-text-muted: #a9b0c4;
  --color-text-faint: #78809a;
  --color-gold: #c59b48;
  --color-gold-light: #ebd186;
  --color-gold-dark: #8d6423;
  --color-ink: #071b33;
  --color-danger: #ff6b6b;
  --color-header-bg: rgba(5, 7, 13, 0.72);
  --color-header-bg-scrolled: rgba(5, 7, 13, 0.92);
  --color-header-bg-mobile-nav: rgba(5, 7, 13, 0.98);
  --gradient-brand: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 55%, var(--color-gold-dark) 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(197, 155, 72, 0.18), rgba(235, 209, 134, 0.14));
  --gradient-text: linear-gradient(120deg, #ffffff 25%, #ebd186 60%, #c59b48 95%);

  /* --- Radien & Schatten --- */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-md: 0 14px 34px rgba(2, 4, 14, 0.45);
  --shadow-lg: 0 30px 74px rgba(2, 4, 14, 0.55);
  --shadow-glow: 0 0 0 1px rgba(213, 178, 111, 0.3), 0 24px 60px rgba(197, 155, 72, 0.15);

  /* --- Typografie --- */
  --font-heading: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --container-w: 1220px;
  --header-h: 72px;

  /* --- Sonstiges --- */
  --z-header: 100;
  --z-fab: 95;
  --z-mobilebar: 96;
  --z-progress: 200;
  --z-preloader: 500;
}

/* --- Hell-Modus: gleiches Navy+Gold-Branding, aber auf hellem statt
   dunklem Untergrund. Nur die Oberflächen-/Text-/Rahmen-Töne kippen –
   die Markenfarben (Gold-Familie) bleiben identisch. Typografie, Radien,
   Layout- und Z-Index-Variablen sind bewusst NICHT hier drin: die sind
   theme-unabhängig und stehen oben im Basis-:root. --- */
:root[data-theme="light"] {
  --color-bg: #f9f6ef;
  --color-bg-alt: #f1ece0;
  --color-bg-elevated: #ffffff;
  --color-surface: #ffffff;
  --color-surface-strong: #ffffff;
  --color-border: rgba(10, 45, 87, 0.12);
  --color-border-strong: rgba(10, 45, 87, 0.22);
  --color-text: #0a2d57;
  --color-text-muted: #4a5a72;
  --color-text-faint: #7c879a;
  --color-header-bg: rgba(249, 246, 239, 0.82);
  --color-header-bg-scrolled: rgba(249, 246, 239, 0.95);
  --color-header-bg-mobile-nav: rgba(249, 246, 239, 0.98);
  --gradient-text: linear-gradient(120deg, #0a2d57 15%, #8d6423 60%, #c59b48 95%);
  --shadow-md: 0 14px 34px rgba(10, 45, 87, 0.12);
  --shadow-lg: 0 30px 74px rgba(10, 45, 87, 0.16);
  --shadow-glow: 0 0 0 1px rgba(141, 100, 35, 0.25), 0 24px 60px rgba(197, 155, 72, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html, body { background: var(--color-bg); }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Feine Rausch-/Noise-Textur über der gesamten Seite, rein dekorativ. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 3px 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-text);
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 1.5rem + 4.2vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 1.3rem + 2.2vw, 2.8rem); }
h3 { font-size: clamp(1.1rem, 1rem + 0.6vw, 1.35rem); font-weight: 600; }

p { margin: 0 0 16px; color: var(--color-text-muted); }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Sichtbarer, konsistenter Fokusring für Tastaturbedienung überall. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: rgba(197, 155, 72, 0.09);
  border: 1px solid rgba(197, 155, 72, 0.2);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.tag-alt {
  color: var(--color-ink);
  background: var(--color-gold-light);
  border-color: transparent;
}

.section { padding: 76px 0; position: relative; z-index: 2; }
/* Ohne das würde ein Anker-Sprung (Klick auf einen Nav-Link, aber auch ein
   direkter #hash-Aufruf) die Section exakt bündig mit der Viewport-Oberkante
   ausrichten – darunter liegt aber der sticky Header. Die Section-Überschrift
   würde dann sichtbar unter dem halbtransparenten, geblurrten Header
   "durchscheinen" statt sauber darunter zu erscheinen. */
main section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.section-lead {
  max-width: 640px;
  font-size: 1.05rem;
}
.section-alt {
  background: var(--color-bg-alt);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 420px at 10% 0%, rgba(235, 209, 134, 0.08), transparent 60%),
    radial-gradient(600px 380px at 100% 100%, rgba(197, 155, 72, 0.08), transparent 65%);
  pointer-events: none;
}
.section-alt > .container { position: relative; }

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.96rem;
  font-family: var(--font-body);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-brand);
  color: var(--color-ink);
  box-shadow: 0 10px 30px rgba(197, 155, 72, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(235, 209, 134, 0.35); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text);
  border-color: var(--color-border-strong);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--color-gold); color: var(--color-gold); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* Magnetische Buttons: script.js verschiebt per --mx/--my leicht Richtung
   Cursor. Nur Desktop/Maus, siehe hasFinePointer-Check im JS. */
.btn-magnetic {
  transform: translate(var(--mx, 0), var(--my, 0));
}

/* =========================================================================
   Preloader
   ========================================================================= */
.preloader {
  position: fixed;
  inset: 0;
  z-index: var(--z-preloader);
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
@keyframes preloader-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.88); opacity: 0.7; }
}
.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .preloader-chip { animation: none; }
}
/* Ohne JS keinen Preloader dauerhaft anzeigen (kein Blockieren des Inhalts). */
html:not(.js) .preloader { display: none; }

/* =========================================================================
   Scroll-Fortschritt & Back-to-top
   ========================================================================= */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: 0 0;
  z-index: var(--z-progress);
  will-change: transform;
}
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 80;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { border-color: var(--color-gold); }
.back-to-top svg { width: 18px; height: 18px; fill: var(--color-gold); }
@media (min-width: 600px) {
  .back-to-top { right: 28px; bottom: 28px; }
}

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
/* Der Blur läuft bewusst über ein ::before statt direkt auf .site-header:
   backdrop-filter/filter auf einem Vorfahren macht diesen in Chromium/
   WebKit zum Containing Block für position:fixed-Nachfahren – dadurch
   würde das mobile Menü (#main-nav, position:fixed) nur innerhalb der
   72px hohen Kopfzeile "gefangen" statt über den ganzen Viewport zu
   reichen (siehe Burger-Menü-Bug). Der Header selbst bleibt filterfrei. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--color-header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--color-border);
}
.site-header.is-scrolled::before {
  background: var(--color-header-bg-scrolled);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
/* Das offizielle Logo ist für hellen Untergrund gestaltet (Navy-/Gold-Text
   auf Weiß). Auf dem dunklen Seitenhintergrund sitzt es deshalb auf einer
   kleinen weißen "Chip"-Fläche statt direkt auf Navy – sonst wäre der
   navyfarbene Teil des Schriftzugs kaum lesbar. */
.logo-chip {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border-radius: 10px;
  padding: 5px 10px;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.logo:hover .logo-chip { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.logo-chip img { display: block; height: 26px; width: auto; }
@media (min-width: 720px) {
  .logo-chip img { height: 30px; }
}
.footer-brand .logo-chip img { height: 32px; }
.preloader-chip {
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  animation: preloader-pulse 1.1s ease-in-out infinite;
}
.preloader-chip img { display: block; height: 40px; width: auto; }
@media (prefers-reduced-motion: reduce) {
  .logo-chip { transition: none; }
  .logo:hover .logo-chip { transform: none; }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
}
.main-nav a:not(.nav-cta) {
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--color-text-muted);
  padding-bottom: 4px;
  transition: color 0.2s ease;
}
.main-nav a:not(.nav-cta):hover,
.main-nav a.active { color: var(--color-text); }
.nav-indicator {
  position: absolute;
  bottom: -1px; left: 0;
  height: 2px; width: 0;
  background: var(--gradient-brand);
  opacity: 0;
  transition: left 0.35s cubic-bezier(0.65, 0, 0.35, 1), width 0.35s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.2s ease;
  pointer-events: none;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-brand);
  color: var(--color-ink) !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.nav-cta svg { width: 15px; height: 15px; }

.theme-toggle {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--color-border-strong);
  background: var(--color-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.theme-toggle:hover { border-color: var(--color-gold); }
.theme-toggle .theme-icon { width: 17px; height: 17px; color: var(--color-gold); }
.theme-icon-moon { display: none; }
:root[data-theme="light"] .theme-icon-sun { display: none; }
:root[data-theme="light"] .theme-icon-moon { display: block; }
@media (prefers-reduced-motion: reduce) {
  .theme-toggle { transition: none; }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin: -10px;
  flex-shrink: 0;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 899px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    bottom: 0;
    background: var(--color-header-bg-mobile-nav);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    gap: 22px;
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .main-nav.is-open { opacity: 1; transform: translateY(0); visibility: visible; }
  .main-nav a:not(.nav-cta) { font-size: 1.1rem; }
  .nav-indicator { display: none; }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative;
  padding: 44px 0 64px;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
}
.hero-bg-glow {
  position: absolute;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(560px circle at 78% 18%, rgba(235, 209, 134, 0.22), transparent 60%),
    radial-gradient(520px circle at 14% 82%, rgba(197, 155, 72, 0.2), transparent 60%);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-top: calc(var(--header-h) + 8px);
}
.eyebrow {
  display: inline-block;
  color: var(--color-gold);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 20px;
}
.hero h1 { margin-bottom: 6px; }
.word-rotator {
  position: relative;
  display: inline-grid;
  vertical-align: bottom;
  min-height: 1.14em;
}
.word-rotator-item {
  grid-area: 1 / 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(0.35em);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.word-rotator-item.is-active { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .word-rotator-item { transition: opacity 0.3s ease; transform: none; }
}

.hero-lead {
  font-size: 1.1rem;
  max-width: 600px;
  margin-top: 18px;
}

/* --- Zielgruppen-Umschalter --- */
.audience-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  padding: 5px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  margin: 28px 0 8px;
  max-width: 100%;
}
.audience-option {
  position: relative;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.86rem;
  line-height: 1.25;
  padding: 11px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-align: center;
  transition: color 0.25s ease;
  z-index: 1;
}
@media (max-width: 480px) {
  .audience-option { font-size: 0.74rem; padding: 10px 8px; }
}
.audience-option.is-active { color: var(--color-ink); }
.audience-toggle-thumb {
  position: absolute;
  top: 5px; bottom: 5px; left: 5px;
  width: calc(50% - 5px);
  background: var(--gradient-brand);
  border-radius: var(--radius-pill);
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 0;
}
.audience-toggle[data-audience="unternehmen"] .audience-toggle-thumb {
  transform: translateX(100%);
}
@media (prefers-reduced-motion: reduce) {
  .audience-toggle-thumb { transition: none; }
}

.hero-actions { display: flex; gap: 14px; margin: 28px 0 8px; flex-wrap: wrap; }

/* Audience-abhängige Inhalte: Sichtbarkeit läuft über das native
   hidden-Attribut (funktioniert unabhängig vom display-Typ des Elements
   und garantiert ohne JS einen sinnvollen Default, siehe HTML). script.js
   blendet beim Umschalten kurz über .audience-fade sanft über. */
[hidden] { display: none !important; }
.audience-fade { transition: opacity 0.18s ease; }
.audience-fade.is-hiding { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .audience-fade { transition: none; }
}

/* =========================================================================
   Status-/Trust-Leiste
   ========================================================================= */
.status-strip {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  padding: 18px 0;
  position: relative;
  z-index: 3;
}
.status-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 22px;
  text-align: center;
}
.live-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text);
}
.live-status-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(197, 155, 72, 0.18);
  flex-shrink: 0;
}
.live-status[data-open="false"] .live-status-dot {
  background: var(--color-text-faint);
  box-shadow: 0 0 0 3px rgba(148, 163, 225, 0.12);
}
html.js .live-status-dot { animation: status-pulse 2.4s ease-in-out infinite; }
@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(197, 155, 72, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(197, 155, 72, 0.05); }
}
.trust-item {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.trust-item::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--color-gold-light);
}
@media (prefers-reduced-motion: reduce) {
  html.js .live-status-dot { animation: none; }
}

/* =========================================================================
   Karten (Vorteile)
   ========================================================================= */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 44px;
}
@media (min-width: 640px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .cards-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --hover-lift: 0px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}
.card:hover {
  --hover-lift: -6px;
  border-color: rgba(197, 155, 72, 0.35);
  box-shadow: var(--shadow-lg);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--gradient-brand-soft);
  border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--color-gold);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.94rem; }

/* =========================================================================
   Schritte (So funktioniert's / Für Unternehmen)
   ========================================================================= */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
  position: relative;
}
.steps-line {
  position: absolute;
  top: 0; bottom: 0; left: 19px;
  width: 2px;
  background: var(--color-border);
  z-index: 0;
  overflow: hidden;
}
.steps-line-fill {
  position: absolute;
  inset: 0;
  background: var(--gradient-brand);
  transform: scaleY(var(--steps-progress, 0));
  transform-origin: top center;
}
.step {
  --hover-lift: 0px;
  position: relative;
  z-index: 1;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 26px 22px 26px 56px;
}
.step:hover { --hover-lift: -3px; border-color: var(--color-border-strong); }
.step-num {
  position: absolute;
  left: 4px; top: 24px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.92rem; margin-bottom: 0; }

@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .steps-5 { grid-template-columns: repeat(3, 1fr); }
  .steps-line { top: 19px; left: 0; right: 0; bottom: auto; height: 2px; width: auto; }
  .steps-line-fill { transform: scaleX(var(--steps-progress, 0)); transform-origin: left center; }
  .step { padding: 30px 22px; }
  .step-num { position: static; margin-bottom: 16px; }
}
@media (min-width: 1080px) {
  .steps-5 { grid-template-columns: repeat(5, 1fr); }
}

/* =========================================================================
   Split-Layout (Für Unternehmen, Ansprechpartner)
   ========================================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr 0.95fr; gap: 60px; }
  .split.reverse { grid-template-columns: 0.95fr 1.05fr; }
  .split.reverse .split-visual { order: 1; }
  .split.reverse .split-text { order: 2; }
}
.check-list { list-style: none; padding: 0; margin: 22px 0 0; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gradient-brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 60% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 60% no-repeat;
}
.ms-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(10px);
}
.ms-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--color-border);
  font-weight: 600;
  font-size: 0.94rem;
}
.ms-row:last-child { border-bottom: none; }
.ms-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--color-gold); flex-shrink: 0; }
.ms-row:nth-child(even) .ms-dot { background: var(--color-gold-light); }

/* =========================================================================
   Vermittlungspakete
   ========================================================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
  align-items: start;
}
@media (min-width: 900px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}
.price-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --hover-lift: 0px;
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}
.price-card:hover { --hover-lift: -6px; }
.price-card--featured {
  border-color: transparent;
  background:
    linear-gradient(var(--color-bg-elevated), var(--color-bg-elevated)) padding-box,
    var(--gradient-brand) border-box;
  border: 2px solid transparent;
  box-shadow: var(--shadow-glow);
}
@media (min-width: 900px) {
  .price-card--featured { transform: translateY(-14px); }
  .price-card--featured:hover { transform: translateY(calc(-14px + var(--hover-lift))); }
}
.price-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: var(--color-ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.price-tier-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; margin-bottom: 4px; }
.price-tier-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  margin: 6px 0 20px;
}
.price-tier-value .gradient-text { font-size: 1.5rem; }
.price-list { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.price-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--color-gold);
  font-weight: 700;
  font-size: 0.85rem;
}
.price-list li.is-inherited { color: var(--color-text-faint); }
.price-card .btn { margin-top: auto; }

.pricing-addons {
  margin-top: 40px;
  background: var(--color-surface);
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-md);
  padding: 26px;
}
.pricing-addons h3 { margin-bottom: 14px; }
.pricing-addons ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 640px) {
  .pricing-addons ul { grid-template-columns: repeat(2, 1fr); }
}
.pricing-addons li {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  padding-left: 20px;
  position: relative;
}
.pricing-addons li::before {
  content: "+";
  position: absolute; left: 0; top: 0;
  color: var(--color-gold-light);
  font-weight: 700;
}
.pricing-note {
  margin-top: 22px;
  font-size: 0.85rem;
  color: var(--color-text-faint);
  font-style: italic;
}

/* =========================================================================
   Wohnungen: Video-Rundflug & Galerie
   ========================================================================= */
.video-feature { margin-top: 44px; }
.video-feature video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
  object-fit: cover;
}
.video-feature-label {
  display: block;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
.gallery { margin-top: 44px; }
.gallery-viewport {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gallery-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border-strong) transparent;
}
.gallery-slide {
  flex: 0 0 82%;
  scroll-snap-align: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  position: relative;
  aspect-ratio: 4 / 3;
}
@media (min-width: 640px) { .gallery-slide { flex-basis: 46%; } }
@media (min-width: 1000px) { .gallery-slide { flex-basis: 31%; } }
.gallery-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.gallery-slide-label {
  position: absolute;
  bottom: 14px; left: 14px; right: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  /* Bewusst fest hell statt var(--color-text): der Scrim-Hintergrund
     darunter ist unabhängig vom Theme immer dunkel (für Lesbarkeit über
     Fotos), im Hell-Modus wäre der sonst dunkle --color-text sonst
     unsichtbar auf dunklem Grund. */
  color: #f6f4ee;
  background: rgba(7, 27, 51, 0.65);
  backdrop-filter: blur(4px);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}
.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}
.slider-arrow {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-border-strong);
  background: var(--color-surface);
  color: var(--color-text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.slider-arrow:hover { border-color: var(--color-gold); }
.slider-arrow svg { width: 18px; height: 18px; }
.slider-dots { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-border-strong);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.slider-dot.is-active { background: var(--gradient-brand); transform: scale(1.3); }

/* =========================================================================
   Ansprechpartner
   ========================================================================= */
.founder-card {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.founder-photo-wrap {
  position: relative;
  width: 96px; height: 96px;
  flex-shrink: 0;
  border-radius: 50%;
  padding: 3px;
  background: var(--gradient-brand);
  box-shadow: 0 0 0 4px rgba(197, 155, 72, 0.16), var(--shadow-md);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
@media (min-width: 720px) {
  .founder-photo-wrap { width: 140px; height: 140px; }
}
.founder-photo-wrap:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 0 0 6px rgba(197, 155, 72, 0.24), var(--shadow-lg);
}
.founder-photo-wrap picture { display: block; width: 100%; height: 100%; }
.founder-photo {
  display: block;
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 30%;
  background: var(--color-bg-elevated);
}
.founder-photo-wrap .founder-photo-placeholder {
  display: none;
  position: absolute;
  inset: 3px;
  width: auto; height: auto;
  border-radius: 50%;
  background: var(--gradient-brand-soft);
  border: 1px solid var(--color-border-strong);
  align-items: center; justify-content: center;
  color: var(--color-text-faint);
}
.founder-photo-wrap.is-fallback picture { display: none; }
.founder-photo-wrap.is-fallback .founder-photo-placeholder { display: flex; }
.founder-photo-placeholder svg { width: 36%; height: 36%; }
@media (prefers-reduced-motion: reduce) {
  .founder-photo-wrap { transition: none; }
  .founder-photo-wrap:hover { transform: none; }
}
.founder-info strong { display: block; font-size: 1.1rem; color: var(--color-text); }
.founder-info span { font-size: 0.9rem; color: var(--color-text-muted); }
.founder-quote {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.5;
  margin: 22px 0;
  padding-left: 20px;
  border-left: 3px solid;
  border-image: var(--gradient-brand) 1;
}
.founder-social { display: flex; gap: 12px; margin-top: 22px; }
.founder-social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.founder-social a:hover { border-color: var(--color-gold); transform: translateY(-2px); }
.founder-social img { width: 18px; height: 18px; }

/* Die Icon-SVGs (phone/mail/linkedin/instagram) sind fest hellblau
   eingefärbt – auf dem hellen Kreis-Hintergrund im Hell-Modus kaum
   sichtbar. Im Hell-Modus daher auf Schwarz umfärben statt eigene
   dunkle SVG-Varianten zu pflegen. */
:root[data-theme="light"] .founder-social img,
:root[data-theme="light"] .social-row img,
:root[data-theme="light"] .fab-item img {
  filter: brightness(0) saturate(100%);
}

/* =========================================================================
   Partner
   ========================================================================= */
.partner-grid {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 90px;
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 22px;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.partner-logo:hover,
.partner-logo:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  .partner-logo { transition: none; }
  .partner-logo:hover, .partner-logo:focus-visible { transform: none; }
}

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { margin-top: 44px; max-width: 820px; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  background: var(--color-surface);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--color-border-strong);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--color-gold);
  transition: transform 0.25s ease;
}
.faq-icon::before { width: 10px; height: 2px; }
.faq-icon::after { width: 2px; height: 10px; }
.faq-item[open] .faq-icon::after { transform: rotate(90deg) scaleY(0); }
.faq-body {
  padding: 0 24px 22px;
  font-size: 0.94rem;
  color: var(--color-text-muted);
}
html.js .faq-body { animation: faq-in 0.3s ease; }
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  html.js .faq-body { animation: none; }
}

/* =========================================================================
   Kontakt
   ========================================================================= */
.contact-info { list-style: none; padding: 0; margin: 22px 0; }
.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}
.contact-info svg { width: 18px; height: 18px; color: var(--color-gold); flex-shrink: 0; margin-top: 2px; }
.contact-info a { color: var(--color-text); font-weight: 600; }
.contact-info a:hover { color: var(--color-gold); }

.social-row { display: flex; gap: 12px; margin-top: 22px; }
.social-row a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s ease;
}
.social-row a:hover { border-color: var(--color-gold); }
.social-row img { width: 17px; height: 17px; }

.map-consent {
  margin-top: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  text-align: center;
}
.map-consent p { font-size: 0.85rem; max-width: 340px; }
.map-frame-wrap { border-radius: var(--radius-md); overflow: hidden; margin-top: 24px; }
.map-frame-wrap iframe { width: 100%; height: 260px; border: 0; display: block; }

/* --- Formular --- */
.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}
@media (min-width: 480px) {
  .contact-form { padding: 36px; }
}
.form-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}
.form-progress-bar {
  flex: 1;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--color-border);
  overflow: hidden;
}
.form-progress-fill {
  height: 100%;
  width: 33.33%;
  background: var(--gradient-brand);
  border-radius: var(--radius-pill);
  transition: width 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.form-progress-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-faint);
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  .form-progress-fill { transition: none; }
}

.form-step { display: none; }
.form-step.is-active { display: block; animation: form-step-in 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes form-step-in {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .form-step.is-active { animation: none; }
}

.form-step-title { font-size: 1.05rem; margin-bottom: 18px; font-family: var(--font-heading); font-weight: 700; }

.audience-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 8px;
}
@media (min-width: 480px) { .audience-cards { grid-template-columns: repeat(2, 1fr); } }
.audience-card {
  cursor: pointer;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.audience-card svg { width: 26px; height: 26px; color: var(--color-gold); }
.audience-card strong { font-family: var(--font-heading); font-size: 0.98rem; }
.audience-card span { font-size: 0.82rem; color: var(--color-text-muted); }
.audience-card input { position: absolute; opacity: 0; pointer-events: none; }
.audience-card:has(input:checked) {
  border-color: var(--color-gold);
  background: var(--gradient-brand-soft);
}
.audience-card:has(input:focus-visible) { outline: 2px solid var(--color-gold); outline-offset: 2px; }

.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 7px; }
.form-row label { font-weight: 700; font-size: 0.85rem; color: var(--color-text); }
.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text);
  resize: vertical;
  width: 100%;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--color-text-faint); }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(197, 155, 72, 0.15);
}
.form-row input:invalid[data-touched="true"],
.form-row textarea:invalid[data-touched="true"] {
  border-color: var(--color-danger);
}
.form-row select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9b0c4' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
/* Der Browser rendert die aufgeklappte Options-Liste unabhängig vom Dark-
   Theme meist mit weißem Hintergrund; ohne explizite Farben hier erben die
   <option>-Elemente sonst den hellen --color-text der Seite und werden auf
   Weiß fast unlesbar. */
.form-row select option {
  color: #1a1a1a;
  background: #ffffff;
}
.field-error {
  font-size: 0.78rem;
  color: var(--color-danger);
  min-height: 1.1em;
}
.form-row-group { display: flex; gap: 14px; margin-bottom: 18px; }
.form-row-group .form-row { flex: 1; margin-bottom: 0; }
@media (max-width: 479px) { .form-row-group { flex-direction: column; gap: 18px; } }

.form-checkbox-row { margin-bottom: 22px; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-weight: 400; font-size: 0.83rem; line-height: 1.5; color: var(--color-text-muted); }
.checkbox-label input[type="checkbox"] { width: 17px; height: 17px; margin-top: 2px; flex-shrink: 0; accent-color: var(--color-gold); }
.checkbox-label a { color: var(--color-gold); }

.form-nav { display: flex; gap: 12px; margin-top: 10px; }
.form-nav .btn { flex: 1; }

.form-note { margin: 16px 0 0; font-size: 0.88rem; font-weight: 600; color: var(--color-gold); min-height: 1.2em; }
.form-note.is-error { color: var(--color-danger); }

.send-error-actions {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.send-error-phone { font-size: 0.85rem; color: var(--color-text-muted); }
.send-error-phone a { color: var(--color-gold); font-weight: 600; }

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 20px 0;
}
.form-success.is-shown { display: flex; }
.form-success-check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gradient-brand-soft);
  border: 2px solid var(--color-gold);
  display: flex; align-items: center; justify-content: center;
}
.form-success-check svg {
  width: 28px; height: 28px;
  color: var(--color-gold);
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
}
html.js .form-success.is-shown .form-success-check svg { animation: check-draw 0.5s ease forwards 0.1s; }
@keyframes check-draw { to { stroke-dashoffset: 0; } }
.form-success h3 { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) {
  html.js .form-success.is-shown .form-success-check svg { animation: none; stroke-dashoffset: 0; }
}

.honeypot-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 48px 0 100px;
  position: relative;
  z-index: 2;
}
@media (min-width: 900px) { .site-footer { padding-bottom: 48px; } }
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
@media (min-width: 720px) {
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-brand p { font-size: 0.85rem; max-width: 280px; margin-top: 10px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px; }
.footer-nav a { color: var(--color-text-muted); font-size: 0.88rem; }
.footer-nav a:hover { color: var(--color-text); }
.footer-copy { margin: 0; font-size: 0.8rem; color: var(--color-text-faint); width: 100%; text-align: center; margin-top: 32px; }

/* =========================================================================
   Schwebender Kontakt-Button (FAB) & Mobile-Leiste
   ========================================================================= */
.fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: var(--z-fab);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.fab-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 4px;
}
.fab-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border-strong);
  color: var(--color-text);
  padding: 10px 16px 10px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(8px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.fab.is-open .fab-item {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.fab-item span.fab-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--gradient-brand-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fab-item img, .fab-item svg { width: 15px; height: 15px; }
.fab-toggle {
  width: 58px; height: 58px;
  border-radius: 50%;
  border: none;
  background: var(--gradient-brand);
  color: var(--color-ink);
  box-shadow: 0 12px 34px rgba(197, 155, 72, 0.3);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  position: relative;
}
.fab-toggle svg { width: 24px; height: 24px; transition: transform 0.3s ease; }
.fab-toggle .icon-close { position: absolute; opacity: 0; transform: rotate(-45deg) scale(0.6); }
.fab.is-open .fab-toggle .icon-chat { opacity: 0; transform: rotate(45deg) scale(0.6); }
.fab.is-open .fab-toggle .icon-close { opacity: 1; transform: rotate(0) scale(1); }
@media (prefers-reduced-motion: reduce) {
  .fab-item, .fab-toggle svg { transition: none; }
}
@media (max-width: 719px) {
  .fab { bottom: 88px; right: 16px; }
}

.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-mobilebar);
  background: rgba(9, 13, 26, 0.95);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 10px 8px calc(10px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 720px) { .mobile-bar { display: none; } }
.mobile-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-text-muted);
  padding: 4px;
}
.mobile-bar a svg { width: 19px; height: 19px; color: var(--color-gold); }
.mobile-bar a:first-child svg { color: var(--color-ink); }
.mobile-bar a:first-child {
  background: var(--gradient-brand);
  color: var(--color-ink);
  border-radius: var(--radius-sm);
  padding: 8px 4px 6px;
}

/* =========================================================================
   Zitat / Überzeugung
   ========================================================================= */
.quote-block {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.quote-block blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.5;
  margin: 0 0 20px;
}
.quote-block footer { font-size: 0.9rem; font-weight: 600; color: var(--color-text-muted); }

/* =========================================================================
   Rechtliche Seiten (Impressum / Datenschutz)
   ========================================================================= */
.legal { padding-top: 48px; }
.legal-container { max-width: 780px; }
.legal h1 { margin-top: 0; }
.legal h2 { font-size: 1.1rem; margin-top: 34px; margin-bottom: 10px; }
.legal p { margin-bottom: 10px; font-size: 0.95rem; }
.legal-back { margin-top: 40px; }
.legal-back a { color: var(--color-gold); font-weight: 600; }

/* =========================================================================
   Bewegung / Scroll-Reveal
   Fällt ohne JS (kein .js auf <html>) auf sichtbaren Zustand zurück, damit
   Inhalte auch ohne Skript immer lesbar sind.
   ========================================================================= */
.reveal { opacity: 1; transform: none; }
html.js .reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform;
}
html.js .reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); will-change: auto; }
html.js .card.is-visible,
html.js .step.is-visible,
html.js .price-card.is-visible {
  transform: translateY(var(--hover-lift, 0px)) perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}
html.js .reveal.settled {
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
html.js .card,
html.js .step,
html.js .price-card {
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s),
    box-shadow 0.4s ease 0s,
    border-color 0.4s ease 0s;
}
html.js .card.settled,
html.js .step.settled,
html.js .price-card.settled {
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0s,
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0s,
    box-shadow 0.4s ease 0s,
    border-color 0.4s ease 0s;
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .card, .step, .price-card, .btn-primary, .back-to-top, .btn-magnetic, .gallery-track, .partner-logo {
    transition: none !important;
    scroll-behavior: auto;
  }
  html { scroll-behavior: auto; }
  .card, .step, .price-card { --tilt-x: 0deg; --tilt-y: 0deg; --hover-lift: 0px; }
  .steps-line-fill { transform: none !important; }
  .btn-magnetic { transform: none !important; }
}
