/* ============================================================
   SITEBASE · site.css — Heller Grundton (Hell-Pivot 2026-07)
   ------------------------------------------------------------
   Voll-Pivot nach Profi-Feedback (Luke/hallomerlin, 2026-06-13):
   Zielgruppe sind Handwerker, Cafés, Praxen, Salons — nicht
   Informatiker. Warmweiße Basis, viel Weißraum, klare Typo,
   Gold #C9A86B nur noch als dezenter Akzent (Brand-Kontinuität).

   Ersetzt css/style.css (Tech-Noir) vollständig — auch für die
   Rechtsseiten (legal.css lädt danach und erbt die Tokens hier).

   Kontraste rechnerisch geprüft (WCAG AA, 2026-07-12):
     ink      #241E14 auf #FBF8F2 → 15.6 : 1
     ink-soft #574F3E auf #FBF8F2 →  7.6 : 1
     ink-mut  #6E6552 auf #FBF8F2 →  5.4 : 1
     label    #7A7160 auf #FBF8F2 →  4.6 : 1
     gold-deep#8A6D34 auf #FBF8F2 →  4.6 : 1
     Gold roh #C9A86B NIE als Textfarbe auf hell (2.1:1) —
     nur dekorativ (Linien, Flächen, Siegel) oder unter dunkler Schrift.
   ============================================================ */

:root {
  /* Flächen */
  --bg:            #FBF8F2;   /* warmweißer Grundton */
  --surface:       #FFFFFF;   /* Karten, Formulare */
  --surface-warm:  #F3EDE1;   /* Sektions-Wechsel, ruhige Bänder */

  /* Schrift */
  --ink:           #241E14;   /* warmes Fast-Schwarz */
  --ink-soft:      #574F3E;   /* Fließtext */
  --ink-mut:       #6E6552;   /* Nebentext */
  --label:         #7A7160;   /* Eyebrows/Labels (knapp AA — sparsam) */

  /* Akzent: Gold bleibt, aber diszipliniert */
  --gold:          #C9A86B;   /* dekorativ: Linien, Marker, Siegel */
  --gold-soft:     #E9DDC4;   /* helle Gold-Fläche */
  --gold-deep:     #8A6D34;   /* text-sicheres Gold (Links, Akzente) */

  --line:          #E7DFD0;   /* Hairlines/Borders */
  --line-strong:   #D6CBB6;

  --success:       #2F6B3F;
  --error:         #A33B2E;

  /* Typografie — Brand-Fonts bleiben (selbst gehostet, DSGVO) */
  --font-anchor:   'Fraunces', Georgia, serif;
  --font-display:  'Inter Tight', system-ui, -apple-system, sans-serif;
  --font-mono:     'JetBrains Mono', ui-monospace, monospace;

  --t-display:     clamp(2.7rem, 1.4rem + 5vw, 5.2rem);
  --t-title:       clamp(1.7rem, 1.2rem + 1.9vw, 2.7rem);
  --t-sub:         clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem);
  --t-body:        clamp(1rem, 0.94rem + 0.3vw, 1.1rem);
  --t-label:       0.74rem;

  --space-section: clamp(3.5rem, 2.5rem + 4vw, 7rem);
  --radius:        10px;
  --radius-sm:     7px;
  --shadow-card:   0 1px 2px rgba(36, 30, 20, 0.05), 0 8px 28px rgba(36, 30, 20, 0.07);
  --shadow-pop:    0 2px 6px rgba(36, 30, 20, 0.08), 0 18px 48px rgba(36, 30, 20, 0.14);
  /* Tiefe für die "Artefakte" (Angebots-Dokument, Geräte-Rahmen) —
     mehrstufig weich, wie Papier/Gerät auf einem Tisch */
  --shadow-artifact: 0 1px 2px rgba(36, 30, 20, 0.06), 0 10px 22px rgba(36, 30, 20, 0.08),
                     0 32px 64px -18px rgba(36, 30, 20, 0.22);

  --easing-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --d-fast:        160ms;
  --d-normal:      280ms;
}

/* ---------- Fonts (selbst gehostet, unverändert) ---------- */
@font-face {
  font-family: 'Fraunces';
  src: url('/public/fonts/Fraunces.woff2') format('woff2-variations'),
       url('/public/fonts/Fraunces.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  font-variation-settings: "opsz" 36, "SOFT" 50;
}
@font-face {
  font-family: 'Fraunces';
  src: url('/public/fonts/Fraunces-Italic.woff2') format('woff2-variations'),
       url('/public/fonts/Fraunces-Italic.woff2') format('woff2');
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter Tight';
  src: url('/public/fonts/InterTight.woff2') format('woff2-variations'),
       url('/public/fonts/InterTight.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/public/fonts/JetBrainsMono.woff2') format('woff2-variations'),
       url('/public/fonts/JetBrainsMono.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  scroll-padding-top: 5.5rem; /* sticky Nav */
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--t-body);
  min-height: 100vh;
  overflow-x: clip;
}

img, video, svg, canvas { display: block; max-width: 100%; }
button { background: none; border: none; color: inherit; font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, select, textarea { background: transparent; border: none; color: inherit; font: inherit; }
::selection { background: var(--gold); color: var(--ink); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 2px;
}
:where(input, textarea):focus-visible { outline-offset: 1px; }

/* ---------- Typo-Utilities ---------- */
.t-display {
  font-family: var(--font-anchor);
  font-size: var(--t-display);
  font-weight: 470;
  font-variation-settings: "opsz" 90, "SOFT" 40;
  letter-spacing: -0.015em;
  line-height: 1.06;
  text-wrap: balance;
  color: var(--ink);
}
.t-title {
  font-family: var(--font-anchor);
  font-size: var(--t-title);
  font-weight: 480;
  font-variation-settings: "opsz" 70, "SOFT" 40;
  letter-spacing: -0.01em;
  line-height: 1.12;
  text-wrap: balance;
  color: var(--ink);
}
.t-label {
  font-family: var(--font-display);
  font-size: var(--t-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--label);
  font-weight: 600;
  line-height: 1.5;
}
.t-body {
  font-size: var(--t-body);
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 62ch;
  text-wrap: pretty;
}
.t-body p + p { margin-top: 0.9em; }
.t-body ul, .t-body ol { margin: 0.9em 0; padding-left: 1.2em; list-style: disc; }
.t-body li { margin-bottom: 0.45em; }
.t-body strong { color: var(--ink); font-weight: 600; }
.t-body a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }

.skip-link {
  position: fixed; top: 1rem; left: 1rem; z-index: 10000;
  background: var(--ink); color: #fff;
  padding: 0; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
  font-size: 0.85rem; border-radius: 6px; text-decoration: none;
}
.skip-link:focus, .skip-link:focus-visible {
  width: auto; height: auto; padding: 0.8rem 1.1rem;
  overflow: visible; clip-path: none;
}

main { display: block; }

section {
  padding-block: var(--space-section);
  padding-inline: clamp(1.25rem, 4vw, 4rem);
}
.wrap { max-width: 72rem; margin-inline: auto; }
.wrap--narrow { max-width: 54rem; margin-inline: auto; }

/* Sektions-Kopf */
.section-head { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-head .t-body { margin-top: 0.3rem; }

/* ============================================================
   NAV — sticky, warmweiß, ruhig
   ============================================================ */
#nav {
  position: sticky; top: 0; inset-inline: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem clamp(1.25rem, 4vw, 3rem);
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--d-normal) ease, box-shadow var(--d-normal) ease;
}
#nav.nav--scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(36, 30, 20, 0.02), 0 6px 24px rgba(36, 30, 20, 0.05);
}

.brand {
  display: inline-flex; align-items: center; gap: 0.32em;
  font-family: var(--font-display);
  font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1;
  color: var(--ink);
}
.brand-strong { font-weight: 750; }
.brand-light  { font-weight: 380; color: var(--ink-mut); }
.logo-atom { fill: none; stroke: var(--gold-deep); stroke-width: 1.4; transform: translateY(-1px); }

.nav-links {
  display: flex; gap: clamp(1.1rem, 2.5vw, 2.2rem);
  font-size: 0.92rem; font-weight: 500;
}
.nav-links a {
  color: var(--ink-soft);
  padding: 0.4rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color var(--d-fast) ease, border-color var(--d-fast) ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--ink); border-bottom-color: var(--gold); }
@media (max-width: 1024px) { .nav-links { display: none; } }

.nav-right { display: flex; align-items: center; gap: 0.9rem; }

.lang-switch {
  display: inline-flex; align-items: center; gap: 0.1rem;
  padding: 0.18rem;
  border: 1px solid var(--line-strong); border-radius: 999px;
}
.lang-switch-opt {
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em;
  padding: 0.3rem 0.55rem; border-radius: 999px; color: var(--ink-mut);
  transition: color var(--d-fast) ease, background var(--d-fast) ease;
}
.lang-switch-opt.is-active { background: var(--ink); color: #fff; font-weight: 600; }
.lang-switch:hover .lang-switch-opt:not(.is-active) { color: var(--ink); }
.lang-switch--menu { align-self: flex-start; margin-bottom: 1rem; }

.menu-toggle {
  display: none; align-items: center; gap: 0.55em;
  min-height: 44px; padding: 0.5rem 0.9rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font-size: 0.85rem; font-weight: 550; color: var(--ink-soft);
  transition: color var(--d-fast) ease, border-color var(--d-fast) ease;
}
.menu-toggle:hover { color: var(--ink); border-color: var(--ink-mut); }
.menu-toggle-bars { display: inline-flex; flex-direction: column; gap: 4px; }
.menu-toggle-bars span { display: block; width: 15px; height: 2px; border-radius: 2px; background: currentColor; }
@media (max-width: 1024px) { .menu-toggle { display: inline-flex; } }
/* Hinweis: .cta (weiter unten) setzt display:inline-flex bei gleicher
   Spezifität — deshalb hier .cta.nav-cta, damit das Verstecken gewinnt. */
@media (max-width: 1024px) { .cta.nav-cta { display: none; } }

/* ============================================================
   CTA-Buttons — solide, freundlich, eindeutig
   ============================================================ */
.cta {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 48px;
  padding: 0.85rem 1.6rem;
  font-size: 1rem; font-weight: 600; letter-spacing: 0.005em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ink);
  background: var(--ink); color: #fff;
  transition: background var(--d-fast) ease, border-color var(--d-fast) ease,
              color var(--d-fast) ease, transform var(--d-fast) var(--easing-out),
              box-shadow var(--d-fast) ease;
}
.cta:hover, .cta:focus-visible {
  background: #3A3222;
  border-color: #3A3222;
  box-shadow: 0 6px 18px rgba(36, 30, 20, 0.18);
}
.cta:active { transform: translateY(1px); }
.cta-arrow { transition: transform var(--d-normal) var(--easing-out); flex: none; }
.cta:hover .cta-arrow, .cta:focus-visible .cta-arrow { transform: translateX(4px); }

.cta--ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line-strong);
  font-weight: 550;
}
.cta--ghost:hover, .cta--ghost:focus-visible {
  background: var(--surface);
  color: var(--ink); border-color: var(--ink-mut);
  box-shadow: 0 4px 14px rgba(36, 30, 20, 0.08);
}
.cta--xl { min-height: 54px; padding: 1rem 2.1rem; font-size: 1.05rem; }
.nav-cta { min-height: 42px; padding: 0.55rem 1.15rem; font-size: 0.92rem; }
.cta-bracket { color: rgba(255,255,255,0.6); }
.cta--ghost .cta-bracket { color: var(--gold-deep); }

/* ============================================================
   MOBILE MENU — <dialog>, warmweiß, Vollbild
   ============================================================ */
.mobile-menu {
  border: none; max-width: none; max-height: none;
  width: 100vw; height: 100dvh;
  background: var(--bg); color: var(--ink);
  padding: 1rem clamp(1.25rem, 5vw, 2rem) 2rem;
  display: none; flex-direction: column;
}
.mobile-menu[open] { display: flex; }
.mobile-menu::backdrop { background: rgba(36, 30, 20, 0.3); }
.mobile-menu-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 0.4rem 1.6rem;
  border-bottom: 1px solid var(--line);
}
.mobile-menu-close {
  font-size: 1.9rem; line-height: 1; color: var(--ink-mut);
  min-width: 44px; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.mobile-menu-close:hover { color: var(--ink); background: var(--surface-warm); }
.mobile-menu-nav { flex: 1; display: flex; align-items: center; }
.mobile-menu-nav ul { width: 100%; display: flex; flex-direction: column; gap: 0.2rem; }
.mobile-menu-nav a {
  display: flex; align-items: baseline; gap: 0.9rem;
  padding: 0.85rem 0.2rem;
  font-family: var(--font-anchor);
  font-size: clamp(1.5rem, 5.5vw, 2rem);
  font-weight: 480; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-menu-nav a:hover .mm-label { color: var(--gold-deep); }
.mm-idx { font-family: var(--font-mono); font-size: 0.7rem; color: var(--gold-deep); }
.mobile-menu-foot { display: flex; flex-direction: column; padding-top: 1.4rem; }
.mobile-menu-cta { width: 100%; }

/* ============================================================
   01 · HERO — Klartext links, Angebotskarte rechts
   ============================================================ */
#hero {
  padding-top: clamp(2.5rem, 3rem + 3vw, 6rem);
  padding-bottom: clamp(3rem, 2.5rem + 3vw, 5.5rem);
}
.hero-grid {
  max-width: 72rem; margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.4rem; }
}
.hero-text { display: flex; flex-direction: column; gap: 1.4rem; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 0.6em; }
.hero-eyebrow::before {
  content: ''; width: 22px; height: 2px; background: var(--gold); border-radius: 2px;
}
.hero-h1 em {
  font-style: italic;
  font-variation-settings: "opsz" 90, "SOFT" 80;
}
.hero-subhead {
  font-size: var(--t-sub);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 34rem;
  text-wrap: pretty;
}
.hero-ctas { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 0.4rem; }
.hero-proof {
  display: flex; gap: 0.5em; align-items: baseline; flex-wrap: wrap;
  font-size: 0.92rem; color: var(--ink-mut);
}
.hero-proof a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }
.hero-proof a:hover { color: var(--ink); }

/* Signature: die Angebotskarte — das schriftliche Angebot,
   dem Handwerker vertrauen. Ruhig, wie ein sauberes Dokument. */
.offer-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: clamp(1.4rem, 3vw, 2rem);
  position: relative;
}
.offer-card-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--ink);
}
.offer-card-title { font-weight: 700; font-size: 1.02rem; letter-spacing: 0.01em; }
.offer-card-brand { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.18em; color: var(--label); text-transform: uppercase; }
.offer-rows { display: flex; flex-direction: column; }
.offer-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding-block: 0.85rem;
  border-bottom: 1px dashed var(--line-strong);
}
.offer-row:last-child { border-bottom: none; }
.offer-row dt { font-size: 0.94rem; color: var(--ink-mut); }
.offer-row dd {
  font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-size: 1rem; font-weight: 600; color: var(--ink);
  text-align: right;
}
.offer-row--price dd { font-size: 1.45rem; font-weight: 700; }
.offer-row--price dt { color: var(--ink); font-weight: 600; }
.offer-foot {
  margin-top: 0.4rem; padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-size: 0.82rem; color: var(--ink-mut);
}
.offer-seal {
  flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold-deep);
  background: var(--gold-soft);
}
.offer-seal svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.3; }

/* Sanfte Entrance — der reduced-motion-Kill-Switch (unten) stoppt
   sie bei echter Nutzer-Präferenz; fill-mode both endet sichtbar. */
.hero-text { animation: rise-in 0.7s var(--easing-out) both; }
.hero-stage { animation: rise-in 0.7s var(--easing-out) 0.12s both; }
@keyframes rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   HERO-BÜHNE — das Angebots-Dokument als Artefakt: leicht gedreht
   wie auf dem Schreibtisch, Gold-Orbit (Marken-Atom, riesig und
   leise) dahinter. Hover richtet das Dokument auf.
   ============================================================ */
.hero-stage { position: relative; }
.hero-orbit {
  position: absolute; inset: -18% -14%;
  width: auto; height: auto; max-width: none;
  pointer-events: none; z-index: 0;
  color: var(--gold);
  opacity: 0.5;
}
.hero-orbit ellipse { fill: none; stroke: currentColor; stroke-width: 0.55; }
.hero-orbit circle  { fill: currentColor; stroke: none; }
.hero-stage .offer-card {
  position: relative; z-index: 1;
  transform: rotate(-1.6deg);
  box-shadow: var(--shadow-artifact);
  transition: transform 0.5s var(--easing-out), box-shadow 0.5s ease;
  /* Papier: hauchfeine Körnung + warmer Lichteinfall von oben links */
  background:
    linear-gradient(160deg, #FFFFFF 0%, #FFFDF8 55%, #FBF6EC 100%);
}
.hero-stage .offer-card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: var(--shadow-pop);
}
.offer-stamp {
  position: absolute; top: -17px; right: 18px;
  transform: rotate(7deg);
  font-family: var(--font-mono); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-deep);
  background: var(--gold-soft);
  border: 1.5px solid var(--gold);
  border-radius: 4px;
  padding: 0.35rem 0.6rem;
}

/* Mini-Beweis-Strip unter den CTAs: drei echte Screenshots als
   Münzen — der Link führt zur Beweis-Sektion. */
.hero-proofstrip {
  display: inline-flex; align-items: center; gap: 0.8rem;
  margin-top: 0.2rem;
  font-size: 0.92rem; color: var(--ink-mut);
  align-self: flex-start;
}
.hero-proofstrip:hover .proof-label, .hero-proofstrip:focus-visible .proof-label { color: var(--ink); }
.proof-thumbs { display: inline-flex; }
.proof-thumbs img {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover; object-position: left top;
  border: 2px solid var(--bg);
  box-shadow: 0 2px 8px rgba(36, 30, 20, 0.18);
}
.proof-thumbs img + img { margin-left: -11px; }
.proof-label { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); transition: color var(--d-fast) ease; }

/* ============================================================
   02 · REFERENZEN — Echte Kunden, echte Seiten
   ============================================================ */
#referenzen { background: var(--surface-warm); }

/* --- Geräte-Rahmen: Browser-Chrome um echte Screenshots --- */
.browser-frame {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-artifact);
}
.bf-bar {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.5rem 0.8rem;
  background: linear-gradient(#FBF8F2, #F3EDE1);
  border-bottom: 1px solid var(--line);
}
.bf-dots { display: inline-flex; gap: 5px; flex: none; }
.bf-dots i {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--line-strong); display: inline-block;
}
.bf-url {
  flex: 1; min-width: 0;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.03em;
  color: var(--ink-mut);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.22rem 0.75rem;
  text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bf-badge {
  flex: none;
  font-family: var(--font-mono); font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.2rem 0.5rem; border-radius: 4px;
}
.bf-badge--live { color: var(--success); border: 1px solid #BAD3BF; background: #EDF4EE; }
.bf-badge--demo { color: var(--ink-mut); border: 1px solid var(--line-strong); background: var(--bg); }
.browser-frame img { width: 100%; height: auto; }

/* --- Telefon-Rahmen mit auto-scrollendem Screenshot --- */
.phone {
  display: block;
  width: 100%;
  border-radius: clamp(16px, 2vw, 26px);
  border: clamp(5px, 0.7vw, 8px) solid var(--ink);
  background: var(--ink);
  box-shadow: var(--shadow-artifact);
  overflow: hidden;
  position: relative;
}
.phone-screen {
  --phone-screen-h: clamp(230px, 25vw, 320px);
  display: block;
  height: var(--phone-screen-h);
  overflow: hidden;
  border-radius: inherit;
  background: #103B34; /* Falafel-Rida-Grundton bis das Bild da ist */
}
.phone-screen img {
  width: 100%; height: auto;
  animation: phone-pan 26s ease-in-out 1.2s infinite alternate;
}
@keyframes phone-pan {
  from { transform: translateY(0); }
  to   { transform: translateY(calc(-100% + var(--phone-screen-h))); }
}

/* --- Die eine echte Referenz: große Beweis-Komposition --- */
.ref-feature {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: center;
}
@media (max-width: 860px) { .ref-feature { grid-template-columns: 1fr; } }
.ref-shot { position: relative; padding-bottom: clamp(1.8rem, 4vw, 2.6rem); padding-right: clamp(2rem, 5vw, 3.6rem); }
.ref-shot .phone {
  position: absolute; right: 0; bottom: 0; z-index: 2;
  width: clamp(120px, 13vw, 158px);
  transform: rotate(2deg);
}
.ref-body { display: flex; flex-direction: column; gap: 0.9rem; }
.ref-live {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: 0.82rem; font-weight: 650; color: var(--success);
  letter-spacing: 0.04em;
}
.ref-live::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(47, 107, 63, 0.16);
}
.ref-name { font-family: var(--font-anchor); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); font-weight: 520; line-height: 1.12; }
.ref-branch { font-size: 0.9rem; color: var(--ink-mut); }
.ref-desc { color: var(--ink-soft); line-height: 1.65; font-size: 0.98rem; }
.ref-link {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-weight: 600; font-size: 0.95rem; color: var(--gold-deep);
  align-self: flex-start;
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 0.15em;
  transition: color var(--d-fast) ease, border-color var(--d-fast) ease;
}
.ref-link:hover, .ref-link:focus-visible { color: var(--ink); border-color: var(--ink); }
.ref-link .ext { font-size: 0.85em; }
.ref-note { margin-top: clamp(1.6rem, 3vw, 2.2rem); font-size: 0.95rem; color: var(--ink-mut); max-width: 60ch; }

/* --- Beispiel-Designs: drei sichtbar VERSCHIEDENE Demo-Welten --- */
.examples-strip {
  margin-top: clamp(2.6rem, 6vw, 4.5rem);
  padding-top: clamp(1.6rem, 3vw, 2.2rem);
  border-top: 1px solid var(--line-strong);
}
.examples-lead { font-size: 0.98rem; color: var(--ink-mut); max-width: 64ch; margin-bottom: clamp(1.2rem, 2.5vw, 1.8rem); }
.demo-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.8rem);
}
@media (max-width: 760px) { .demo-grid { grid-template-columns: 1fr; } }
.demo-card { display: flex; flex-direction: column; gap: 0.75rem; }
.demo-card .browser-frame {
  box-shadow: var(--shadow-card);
  transition: transform var(--d-normal) var(--easing-out), box-shadow var(--d-normal) ease;
}
.demo-card .browser-frame img {
  aspect-ratio: 1264 / 800; object-fit: cover;
  transition: transform 0.6s var(--easing-out);
}
.demo-card:hover .browser-frame, .demo-card:focus-visible .browser-frame {
  transform: translateY(-4px);
  box-shadow: var(--shadow-pop);
}
.demo-card:hover .browser-frame img { transform: scale(1.035); }
.demo-meta { display: flex; align-items: baseline; gap: 0.55em; font-size: 0.92rem; }
.demo-meta strong { font-weight: 700; color: var(--ink); letter-spacing: 0.01em; }
.demo-meta span { color: var(--ink-mut); font-size: 0.9em; }
.demo-meta .ext { margin-left: auto; color: var(--gold-deep); }

/* ============================================================
   03 · PRICING — der Pauschalpreis, groß und ruhig
   ============================================================ */
#pricing {
  text-align: center;
  background: radial-gradient(ellipse 55% 46% at 50% 34%, rgba(201, 168, 107, 0.13), transparent 72%);
}
.pricing-inner { max-width: 46rem; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.pricing-capacity {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-size: 0.88rem; color: var(--ink-mut);
  padding: 0.45rem 1rem;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--surface);
}
.pricing-capacity::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
}
.pricing-number {
  font-family: var(--font-anchor);
  font-size: clamp(4rem, 2.5rem + 8vw, 7.5rem);
  font-weight: 500; line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.pricing-currency { color: var(--gold-deep); font-weight: 420; }
.pricing-tagline { font-size: var(--t-sub); color: var(--ink); font-weight: 550; }
.pricing-fineprint { font-size: 0.92rem; color: var(--ink-mut); max-width: 46ch; line-height: 1.6; }
.pricing-included {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.7rem 2rem;
  margin-block: 1.2rem 0.6rem;
  text-align: left;
}
@media (max-width: 640px) { .pricing-included { grid-template-columns: 1fr; } }
.pricing-included li { display: flex; gap: 0.65em; align-items: baseline; color: var(--ink-soft); }
.pi-check { color: var(--success); font-weight: 700; flex: none; }
.pricing-anchor { font-size: 0.92rem; color: var(--ink-mut); max-width: 52ch; line-height: 1.65; }
.anchor-strike { color: var(--ink-soft); font-weight: 550; }

/* --- Kalkulator: „Stellen Sie Ihr Paket zusammen" ---
   Gleiche Dokument-Familie wie die Hero-Angebotskarte: Papier,
   Rechnungsposten, Summenzeile mit Doppelstrich. Der Besucher
   schreibt sein eigenes Angebot (Endowment-Effekt). */
.calc-card {
  width: min(100%, 34rem);
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  text-align: left;
  background: linear-gradient(160deg, #FFFFFF 0%, #FFFDF8 55%, #FBF6EC 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-artifact);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.calc-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--ink);
}
.calc-title { font-weight: 700; font-size: 1.02rem; }
.calc-brand { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.18em; color: var(--label); text-transform: uppercase; }

.calc-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding-block: 0.8rem;
  border-bottom: 1px dashed var(--line-strong);
}
.calc-row--base .calc-name { font-weight: 600; color: var(--ink); }
.calc-base-check {
  flex: none; align-self: center;
  width: 21px; height: 21px; border-radius: 5px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff;
  font-size: 0.75rem; font-weight: 700;
}
.calc-left { display: flex; gap: 0.7rem; align-items: baseline; min-width: 0; }
.calc-name { font-size: 0.96rem; color: var(--ink-soft); }
.calc-sub { display: block; font-size: 0.78rem; color: var(--ink-mut); margin-top: 0.15rem; }
.calc-price {
  font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-size: 0.98rem; font-weight: 600; color: var(--ink);
  white-space: nowrap;
}

/* Add-on-Zeile = großes Label, ganze Zeile klickbar */
.calc-row--addon { cursor: pointer; transition: background var(--d-fast) ease; }
.calc-row--addon:hover { background: rgba(201, 168, 107, 0.07); }
.calc-check {
  flex: none; align-self: center;
  appearance: none; -webkit-appearance: none;
  width: 21px; height: 21px; border-radius: 5px;
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  display: inline-grid; place-content: center;
  cursor: pointer;
  transition: border-color var(--d-fast) ease, background var(--d-fast) ease;
}
.calc-check::before {
  content: '';
  width: 11px; height: 11px;
  transform: scale(0);
  transition: transform var(--d-fast) var(--easing-out);
  background: #fff;
  clip-path: polygon(14% 44%, 0 62%, 38% 100%, 100% 18%, 84% 6%, 38% 70%);
}
.calc-check:checked { background: var(--gold-deep); border-color: var(--gold-deep); }
.calc-check:checked::before { transform: scale(1); }
.calc-check:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.calc-row--addon:has(.calc-check:checked) .calc-name { color: var(--ink); font-weight: 600; }

/* Hosting-Wahl: zwei Radio-Zeilen im selben Rechnungs-Stil */
.calc-hosting { border: none; margin: 0; padding: 0; }
.calc-hosting legend {
  padding: 0.9rem 0 0.2rem;
  font-family: var(--font-mono); font-size: 0.64rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--label);
}
.calc-radio {
  flex: none; align-self: center;
  appearance: none; -webkit-appearance: none;
  width: 21px; height: 21px; border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  display: inline-grid; place-content: center;
  cursor: pointer;
  transition: border-color var(--d-fast) ease;
}
.calc-radio::before {
  content: '';
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--gold-deep);
  transform: scale(0);
  transition: transform var(--d-fast) var(--easing-out);
}
.calc-radio:checked { border-color: var(--gold-deep); }
.calc-radio:checked::before { transform: scale(1); }
.calc-radio:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.calc-row--hosting:has(.calc-radio:checked) .calc-name { color: var(--ink); font-weight: 600; }

.calc-total-row {
  margin-top: 0.5rem;
  padding-top: 0.9rem;
  border-top: 3px double var(--ink);
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
}
.calc-monthly-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding-top: 0.4rem;
}
.calc-monthly-label { font-size: 0.9rem; color: var(--ink-mut); }
.calc-monthly-val {
  font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-size: 1.02rem; font-weight: 650; color: var(--ink);
  white-space: nowrap;
}
.calc-monthly-val small { font-weight: 500; color: var(--ink-mut); font-size: 0.8em; }
.calc-total-label { font-weight: 700; font-size: 1rem; }
.calc-total {
  font-family: var(--font-anchor);
  font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem);
  font-weight: 520; color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.calc-total-currency { color: var(--gold-deep); font-weight: 420; }
.calc-anchor { margin-top: 0.7rem; font-size: 0.85rem; color: var(--ink-mut); line-height: 1.55; }
.calc-cta { width: 100%; margin-top: 1.1rem; }
.calc-note { margin-top: 0.7rem; font-size: 0.8rem; color: var(--ink-mut); line-height: 1.5; }

/* ============================================================
   04 · WHY — vier Versprechen (Trust-Substanz)
   ============================================================ */
#why { background: var(--surface-warm); }
.why-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }
.why-pillars { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.2rem; }
.why-pillar {
  font-size: 0.88rem; font-weight: 600; color: var(--ink);
  padding: 0.45rem 0.95rem;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px;
}
.why-list { display: flex; flex-direction: column; counter-reset: why; }
.why-item {
  display: grid; grid-template-columns: auto 1fr; gap: 1.1rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--line-strong);
  align-items: baseline;
}
.why-item:first-child { padding-top: 0.2rem; }
.why-idx {
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600;
  color: var(--gold-deep);
}
.why-text { color: var(--ink-soft); line-height: 1.65; }
.why-cite { padding-top: 1.15rem; font-size: 0.92rem; color: var(--ink-mut); font-style: italic; font-family: var(--font-anchor); }

/* ============================================================
   05 · STATS — vier ehrliche Eckdaten
   ============================================================ */
#stats { padding-block: clamp(2.2rem, 4vw, 3.5rem); }
.stats-inner {
  max-width: 72rem; margin-inline: auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 3vw, 2.5rem);
}
@media (max-width: 900px) { .stats-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .stats-inner { grid-template-columns: 1fr; } }
.stat-cell {
  display: flex; flex-direction: column; gap: 0.35rem;
  padding-left: 1.1rem;
  border-left: 2px solid var(--gold);
}
.stat-num {
  font-family: var(--font-anchor); font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem);
  font-weight: 500; color: var(--ink); line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.stat-num small { font-size: 0.45em; font-family: var(--font-display); font-weight: 550; color: var(--ink-mut); letter-spacing: 0.02em; }
.stat-key { font-weight: 650; font-size: 0.95rem; color: var(--ink); }
.stat-cap { font-size: 0.88rem; color: var(--ink-mut); line-height: 1.5; }

/* ============================================================
   06 · PROCESS — fünf Tage als sichtbare Zeitleiste (keine Tabs)
   ============================================================ */
.process-steps {
  display: flex; flex-direction: column;
  max-width: 54rem;
}
.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.1rem, 3vw, 2.2rem);
  position: relative;
  padding-bottom: clamp(1.8rem, 4vw, 2.8rem);
}
.process-step:last-child { padding-bottom: 0; }
.process-day {
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  position: relative;
}
.process-day-dot {
  width: 52px; height: 52px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold-soft);
  border: 1.5px solid var(--gold);
  color: var(--ink);
  font-family: var(--font-mono); font-size: 0.95rem; font-weight: 650;
  flex: none;
  transition: background 0.5s ease, border-color 0.5s ease;
}
.process-step::before {
  content: '';
  position: absolute; left: 25.5px; top: 56px; bottom: 4px;
  width: 1.5px; background: var(--line-strong);
}
/* Gold-Verbinder: zeichnet sich beim Scrollen (nur unter data-anim;
   ohne JS/Motion ist er von Anfang an voll gezeichnet). */
.process-step::after {
  content: '';
  position: absolute; left: 25.5px; top: 56px; bottom: 4px;
  width: 1.5px; background: var(--gold);
  transform-origin: top;
}
html[data-anim] .process-step::after {
  transform: scaleY(0);
  transition: transform 0.9s var(--easing-out) 0.15s;
}
html[data-anim] .process-step.is-reached::after { transform: scaleY(1); }
html[data-anim] .process-day-dot { background: var(--surface); }
html[data-anim] .process-step.is-reached .process-day-dot {
  background: var(--gold-soft);
  border-color: var(--gold-deep);
}
.process-step:last-child::before, .process-step:last-child::after { display: none; }
.process-body { display: flex; flex-direction: column; gap: 0.55rem; padding-top: 0.35rem; }
.process-meta { display: flex; align-items: baseline; gap: 0.8em; flex-wrap: wrap; }
.process-daylabel { font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.process-tag {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold-deep);
}
.process-h { font-family: var(--font-anchor); font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem); font-weight: 500; line-height: 1.2; color: var(--ink); }
.process-p { color: var(--ink-soft); line-height: 1.65; max-width: 58ch; }
.process-list { display: flex; flex-direction: column; gap: 0.35rem; margin-top: 0.3rem; }
.process-list li {
  display: flex; gap: 0.6em; align-items: baseline;
  font-size: 0.94rem; color: var(--ink-mut);
}
.process-list li::before { content: '—'; color: var(--gold-deep); flex: none; }

/* ============================================================
   07 · ADD-ONS — schlichte Liste statt Live-Demo-Bühne
   ============================================================ */
#addons { background: var(--surface-warm); }
.addons-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
@media (max-width: 900px) { .addons-grid { grid-template-columns: 1fr; } }
.addons-lead-h em { font-style: italic; font-variation-settings: "opsz" 70, "SOFT" 80; }
.addons-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
@media (max-width: 640px) { .addons-list { grid-template-columns: 1fr; } }
.addon-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem;
  display: flex; flex-direction: column; gap: 0.35rem;
}
.addon-name { font-weight: 650; color: var(--ink); font-size: 1rem; }
.addon-desc { font-size: 0.92rem; color: var(--ink-mut); line-height: 1.55; }
.addons-note { grid-column: 1 / -1; font-size: 0.92rem; color: var(--ink-mut); margin-top: 0.3rem; }

/* ============================================================
   08 · INHABER — inhabergeführt, persönlich erreichbar
   ============================================================ */
.owner-grid {
  max-width: 54rem; margin-inline: auto;
  display: grid; grid-template-columns: auto 1fr;
  gap: clamp(1.6rem, 4vw, 3rem); align-items: start;
}
@media (max-width: 640px) { .owner-grid { grid-template-columns: 1fr; } }
.owner-badge {
  width: clamp(110px, 16vw, 150px); aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--gold-soft), #DFCFA8);
  border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-anchor); font-weight: 520;
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--gold-deep);
  letter-spacing: 0.02em;
}
.owner-body { display: flex; flex-direction: column; gap: 0.9rem; }
.owner-name { font-weight: 700; color: var(--ink); }
.owner-facts { display: flex; flex-direction: column; gap: 0.45rem; margin-top: 0.3rem; }
.owner-facts li { display: flex; gap: 0.6em; align-items: baseline; font-size: 0.95rem; color: var(--ink-soft); }
.owner-facts li::before { content: '·'; color: var(--gold-deep); font-weight: 700; flex: none; }
.owner-facts a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }
.owner-facts a:hover { color: var(--ink); }

/* ============================================================
   09 · INTEGRATIONS — nüchterne Liste
   ============================================================ */
#integrations { background: var(--surface-warm); }
.integrations-inner { max-width: 72rem; margin-inline: auto; }
.integrations-body { margin-top: 0.6rem; }
.integrations-list {
  margin-top: clamp(1.6rem, 4vw, 2.5rem);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.4rem, 3vw, 2.5rem);
}
@media (max-width: 900px) { .integrations-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .integrations-list { grid-template-columns: 1fr; } }
.ints-cat {
  display: block;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--label);
  padding-bottom: 0.6rem; margin-bottom: 0.7rem;
  border-bottom: 1px solid var(--line-strong);
}
.ints-group li { padding-block: 0.28rem; color: var(--ink-soft); font-size: 0.97rem; }

/* ============================================================
   10 · FAQ — Accordion
   ============================================================ */
.faq-accordion { max-width: 54rem; }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item:first-child { border-top: 1px solid var(--line-strong); }
.faq-toggle {
  width: 100%;
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.2rem;
  padding: 1.15rem 0.2rem;
  text-align: left;
  transition: color var(--d-fast) ease;
}
.faq-toggle:hover .faq-q { color: var(--gold-deep); }
.faq-q { font-weight: 620; font-size: 1.08rem; color: var(--ink); line-height: 1.4; }
.faq-plus {
  flex: none;
  font-family: var(--font-mono); font-size: 1.15rem; color: var(--gold-deep);
  transition: transform var(--d-normal) var(--easing-out);
}
.faq-toggle[aria-expanded="true"] .faq-plus { transform: rotate(45deg); }
.faq-panel { padding: 0 0.2rem 1.4rem; }
.faq-panel[hidden] { display: none; }

/* ============================================================
   11 · FINAL CTA
   ============================================================ */
#final-cta {
  text-align: center;
  background:
    radial-gradient(ellipse 70% 90% at 50% 110%, rgba(201, 168, 107, 0.16), transparent 70%),
    var(--surface-warm);
  border-top: 1px solid var(--line);
}
.final-cta-inner { max-width: 46rem; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.final-cta-headline em { font-style: italic; font-variation-settings: "opsz" 90, "SOFT" 80; }
.final-cta-body { text-align: center; }
.final-cta-substext { font-size: 0.92rem; color: var(--ink-mut); }
.final-cta-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; justify-content: center; margin-top: 0.4rem; }
.final-cta-trust {
  display: flex; gap: clamp(1.4rem, 4vw, 3rem); flex-wrap: wrap; justify-content: center;
  margin-top: 1.4rem; padding-top: 1.4rem;
  border-top: 1px solid var(--line-strong);
  width: 100%;
}
.final-cta-trust li { display: flex; flex-direction: column; gap: 0.2rem; }
.trust-key { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--label); }
.trust-val { font-weight: 650; font-size: 0.98rem; color: var(--ink); }

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  border-top: 1px solid var(--line);
  padding: clamp(2.2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 4rem) 2.2rem;
  background: var(--bg);
}
.footer-grid {
  max-width: 72rem; margin-inline: auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-tagline { margin-top: 0.8rem; font-size: 0.95rem; }
.footer-col .t-label { margin-bottom: 0.8rem; }
.footer-col li { padding-block: 0.22rem; font-size: 0.95rem; }
.footer-col a { color: var(--ink-soft); }
.footer-col a:hover { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }
.footer-meta-line { color: var(--ink-mut); font-size: 0.9rem; }
.footer-copy { color: var(--ink-mut); font-size: 0.88rem; align-self: end; }

/* ============================================================
   BOOKING MODAL — gleiche DOM-Struktur wie zuvor (booking-modal.js
   hängt an diesen Klassen), nur hell restyled.
   ============================================================ */
.modal {
  /* margin: auto explizit — der globale Reset (* { margin: 0 })
     überschreibt sonst das UA-Centering des <dialog> im Top-Layer */
  margin: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow-pop);
  padding: clamp(1.2rem, 3vw, 2rem);
  width: min(94vw, 34rem);
  max-height: min(92dvh, 46rem);
  overflow-y: auto;
}
.modal::backdrop { background: rgba(36, 30, 20, 0.38); }
@media (prefers-reduced-motion: no-preference) {
  .modal[open] { animation: modal-in 280ms var(--easing-out); }
  @keyframes modal-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}
.modal-close {
  position: absolute; top: 0.7rem; right: 0.7rem;
  min-width: 44px; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.5rem; line-height: 1; color: var(--ink-mut);
  border-radius: 50%;
}
.modal-close:hover { color: var(--ink); background: var(--surface-warm); }

.booking-head { display: flex; align-items: baseline; gap: 0.7em; padding-right: 3rem; }
.booking-head-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); align-self: center; }
.booking-head-label { font-weight: 700; font-size: 1.05rem; }
.booking-head-meta { font-size: 0.85rem; color: var(--ink-mut); }

.booking-tabs {
  display: flex; gap: 1.4rem;
  margin-top: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.booking-tab {
  position: relative;
  padding: 0.6rem 0.1rem 0.7rem;
  font-size: 0.92rem; font-weight: 550; color: var(--ink-mut);
  transition: color var(--d-fast) ease;
}
.booking-tab::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: transparent;
  transition: background var(--d-fast) ease;
}
.booking-tab--active { color: var(--ink); }
.booking-tab--active::after { background: var(--gold-deep); }
.booking-tab:hover { color: var(--ink); }

.booking-panel { padding-top: 1.2rem; }
.booking-panel[hidden] { display: none; }

.bw-steps { display: flex; gap: 0.4rem; align-items: center; margin-bottom: 1.2rem; }
.bw-steps__item {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-size: 0.8rem; color: var(--ink-mut);
}
.bw-steps__item + .bw-steps__item::before {
  content: ''; width: 22px; height: 1px; background: var(--line-strong);
  margin-inline: 0.4rem;
}
.bw-steps__dot {
  width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); color: var(--ink-mut);
}
.bw-steps__num { font-size: 0.62rem; }
.bw-steps__item--active { color: var(--ink); font-weight: 600; }
.bw-steps__item--active .bw-steps__dot { border-color: var(--gold-deep); color: var(--gold-deep); }
.bw-steps__item--done .bw-steps__dot { border-color: var(--success); color: var(--success); background: #EDF4EE; }
.bw-steps__item--done { color: var(--ink-soft); }

.bw-step { display: flex; flex-direction: column; gap: 1.2rem; }
.bw-step[hidden] { display: none; }
.bw-step__head { display: flex; flex-direction: column; gap: 0.4rem; }
.bw-step__title { font-weight: 700; font-size: 1.05rem; }
.bw-step__hint { font-size: 0.9rem; color: var(--ink-mut); line-height: 1.55; }
.bw-back {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: 0.85rem; color: var(--ink-mut);
  align-self: flex-start;
  min-height: 34px;
}
.bw-back:hover { color: var(--ink); }
.bw-back__arrow { font-size: 1.05em; }

.bw-calendar {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.45rem;
}
@media (max-width: 480px) { .bw-calendar { grid-template-columns: repeat(3, 1fr); } }
.bw-day {
  display: flex; flex-direction: column; align-items: center; gap: 0.1rem;
  padding: 0.55rem 0.3rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color var(--d-fast) ease, background var(--d-fast) ease, transform var(--d-fast) ease;
}
.bw-day:hover { border-color: var(--ink-mut); background: var(--bg); }
.bw-day--active { background: var(--ink); border-color: var(--ink); color: #fff; }
.bw-day--active .bw-day__weekday, .bw-day--active .bw-day__month { color: rgba(255,255,255,0.75); }
.bw-day--disabled, .bw-day:disabled { opacity: 0.38; cursor: not-allowed; }
.bw-day__weekday { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-mut); }
.bw-day__date { font-family: var(--font-mono); font-size: 1.05rem; font-weight: 650; }
.bw-day__month { font-size: 0.68rem; color: var(--ink-mut); }

.bw-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.45rem; }
@media (max-width: 480px) { .bw-slots { grid-template-columns: 1fr 1fr; } }
.bw-slot {
  display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
  padding: 0.6rem 0.4rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color var(--d-fast) ease, background var(--d-fast) ease;
}
.bw-slot:hover { border-color: var(--ink-mut); background: var(--bg); }
.bw-slot--active { background: var(--ink); border-color: var(--ink); color: #fff; }
.bw-slot__time { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 0.98rem; font-weight: 600; }
.bw-slot__local { font-size: 0.68rem; color: var(--ink-mut); }
.bw-slot--active .bw-slot__local { color: rgba(255,255,255,0.75); }
.bw-slots__empty { grid-column: 1 / -1; font-size: 0.92rem; color: var(--ink-mut); padding-block: 0.6rem; }

.bw-continue { align-self: flex-start; }
.bw-continue:disabled { opacity: 0.4; cursor: not-allowed; box-shadow: none; }

.bw-summary {
  font-size: 0.92rem; color: var(--ink);
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.85rem;
  display: inline-flex; gap: 0.5em; align-items: baseline;
}
.bw-summary:empty { display: none; }
.bw-summary__icon { opacity: 0.75; }

.bw-form { display: flex; flex-direction: column; gap: 1rem; }
.bw-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .bw-form-row { grid-template-columns: 1fr; } }
.bw-field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.bw-field > span { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.bw-field input, .bw-field textarea {
  /* width:100% + min-width:0 — Inputs haben eine intrinsische
     Mindestbreite (size-Attribut) und sprengen sonst die 1fr-Grid-Spalte */
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 0.7rem 0.85rem;
  font-size: 1rem; color: var(--ink);
  transition: border-color var(--d-fast) ease;
}
.bw-field input:hover, .bw-field textarea:hover { border-color: var(--ink-mut); }
.bw-field input:focus-visible, .bw-field textarea:focus-visible {
  outline: 2px solid var(--gold-deep); outline-offset: 0; border-color: var(--gold-deep);
}
.bw-field textarea { resize: vertical; min-height: 7rem; }

.bw-channels { border: none; display: flex; flex-direction: column; gap: 0.5rem; }
.bw-channels legend { font-size: 0.85rem; font-weight: 600; color: var(--ink); padding: 0; margin-bottom: 0.45rem; }
.bw-channels-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.bw-channel {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 0.9rem; color: var(--ink-soft);
  cursor: pointer;
  transition: border-color var(--d-fast) ease, background var(--d-fast) ease, color var(--d-fast) ease;
}
.bw-channel:hover { border-color: var(--ink-mut); }
.bw-channel:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #fff; }
.bw-channel:has(input:focus-visible) { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.bw-channel input {
  appearance: none; -webkit-appearance: none;
  width: 0; height: 0; position: absolute;
}
.bw-submit { align-self: flex-start; }
.bw-fineprint { font-size: 0.82rem; color: var(--ink-mut); line-height: 1.55; }
.bw-privacy a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }

.bw-result:empty { display: none; }
.bw-result__card {
  display: flex; align-items: flex-start; gap: 0.85rem;
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  margin-top: 1.1rem;
}
.bw-result__card--success { background: #EDF4EE; border: 1px solid #BAD3BF; }
.bw-result__card--error   { background: #F9ECE9; border: 1px solid #E4C0B9; }
.bw-result__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; font-weight: 700; }
.bw-result__icon--success { color: var(--success); border: 1.5px solid var(--success); }
.bw-result__icon--error   { color: var(--error); border: 1.5px solid var(--error); }
.bw-result__text { flex: 1; }
.bw-result__title { font-weight: 700; color: var(--ink); margin-bottom: 0.2rem; }
.bw-result__body { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.55; }
.bw-btn-ghost {
  flex: none; align-self: center;
  font-size: 0.85rem; font-weight: 600; color: var(--ink-soft);
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
}
.bw-btn-ghost:hover { color: var(--ink); border-color: var(--ink-mut); }

/* ============================================================
   STICKY CTA — dezente Leiste unten
   ============================================================ */
#sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  transform: translateY(110%);
  transition: transform var(--d-normal) var(--easing-out);
  pointer-events: none;
}
#sticky-cta.is-visible { transform: translateY(0); pointer-events: auto; }
.sticky-cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  max-width: 72rem; margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -8px 30px rgba(36, 30, 20, 0.12);
  padding: 0.75rem clamp(1rem, 3vw, 1.6rem);
}
.sticky-cta-meta { display: flex; gap: 0.5em; align-items: baseline; flex-wrap: wrap; font-size: 0.9rem; color: var(--ink-soft); }
.sticky-cta-price { font-weight: 700; color: var(--ink); }
.sticky-cta-sep { color: var(--line-strong); }
.sticky-cta-btn { min-height: 44px; padding: 0.6rem 1.3rem; font-size: 0.95rem; flex: none; }
@media (max-width: 560px) {
  .sticky-cta-prom { display: none; }
}

/* ============================================================
   SCROLL-REVEALS — nur unter html[data-anim] (JS setzt das Attribut
   ausschließlich, wenn Motion erlaubt ist → der reduced-Pfad hat
   per Konstruktion NIE versteckte Inhalte).
   Stagger pro Element über --rv-i (0, 1, 2, …).
   ============================================================ */
html[data-anim] .rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--easing-out), transform 0.75s var(--easing-out);
  transition-delay: calc(var(--rv-i, 0) * 95ms);
}
html[data-anim] .rv.rv-in { opacity: 1; transform: none; }

/* ============================================================
   Reduced Motion — alles Nicht-Essentielle aus.
   html[data-force-motion] (QA-Hook ?motion=1, s. js/motion.js)
   bleibt ausgenommen, sonst ist Motion auf diesem Host nie prüfbar.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html:not([data-force-motion]) *,
  html:not([data-force-motion]) *::before,
  html:not([data-force-motion]) *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
