/* =========================================================
   HOLZWOI LANDINGPAGE — Design-System
   Markenwelt: Naturholz, Handwerk, Ruhe, Vertrauen, Regionalität
   ========================================================= */

/* =====================================================================
   Self-hosted Fonts (DSGVO: kein Google-CDN, kein IP-Transfer).
   Variable woff2 (Fraunces opsz+wght 400-600, Inter wght 400-700),
   nur Subsets latin + latin-ext. Quelle: Google Fonts, OFL-Lizenz.
   ===================================================================== */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* -----------------------------
   Tokens
   ----------------------------- */
:root {
  /* Warme Naturtöne */
  --bg:           #FBF7EE;
  --bg-elev:      #FFFFFF;
  --surface:      #F4ECDB;
  --surface-2:    #ECE1CB;

  /* Schrift */
  --ink:          #1E1A14;
  --ink-soft:     #423A2F;
  --ink-mute:     #756A5B;
  --ink-faint:    #A39786;

  /* Linien */
  --line:         #E6DCC6;
  --line-soft:    #EFE7D4;

  /* Holz / Sand / Akzent */
  --wood:         #B68A57;
  --wood-deep:    #8B6238;
  --sand:         #D9BF92;
  --terracotta:   #B5613F;
  --terracotta-2: #9C4E2F;
  --terracotta-3: #843E25;
  --moss:         #6B7F5A;
  --moss-soft:    #C8D2BB;

  /* --accent muss WCAG-2.2-AA-Kontrast auf Weiss halten – es faerbt den einzigen
     Conversion-CTA (~10x), den Telefon-Fallback-Link und die VSL-Mini-CTA.
     #9C4E2F = 5,93:1 (AA pass). Vorher #B5613F = 4,42:1 (AA fail). */
  --accent:       var(--terracotta-2);
  --accent-hover: var(--terracotta-3);

  /* Glas */
  --glass:        rgba(255, 252, 244, 0.72);
  --glass-stroke: rgba(70, 50, 25, 0.08);

  /* Typografie */
  --font-serif:   'Fraunces', 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Spacing */
  --section-y:    clamp(4.5rem, 9vw, 8rem);
  --container:    1180px;
  --container-narrow: 880px;

  /* Radien */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* Schatten */
  --shadow-xs: 0 1px 2px rgba(30, 26, 20, 0.04);
  --shadow-sm: 0 2px 4px rgba(30, 26, 20, 0.04), 0 1px 2px rgba(30, 26, 20, 0.03);
  --shadow-md: 0 12px 28px -10px rgba(30, 26, 20, 0.12), 0 4px 8px -4px rgba(30, 26, 20, 0.06);
  --shadow-lg: 0 32px 56px -20px rgba(30, 26, 20, 0.18), 0 12px 20px -8px rgba(30, 26, 20, 0.10);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* -----------------------------
   Reset / Base
   ----------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Globaler Scroll-Offset für alle Anchor-Ziele, damit der Sticky-Header
     (60-68 px je nach Scroll-State) keine Section-Headlines verdeckt.
     96 px = Header (max 68) + kicker-Margin (~16) + Buffer (12). */
  scroll-padding-top: 96px;
}

main section,
[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}
a:hover { color: var(--accent); }

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: inherit;
}

::selection {
  background: var(--terracotta);
  color: #fff;
}

/* -----------------------------
   Typografie
   ----------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.25;
}

h4 {
  font-size: 1.125rem;
  line-height: 1.3;
  font-weight: 600;
}

p { margin: 0; }
p + p { margin-top: 1em; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wood-deep);
  margin: 0 0 1.1rem;
}

.kicker::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--wood);
}

.lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* -----------------------------
   Layout
   ----------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.container-narrow { max-width: var(--container-narrow); }

section { padding-top: var(--section-y); padding-bottom: var(--section-y); }

.section-tinted   { background: var(--surface); }
.section-tinted-2 { background: var(--surface-2); }

.section-head {
  max-width: 780px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head--center .kicker { justify-content: center; }

/* -----------------------------
   Buttons / CTA
   ----------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.6rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.985rem;
  line-height: 1.2;
  letter-spacing: -0.005em;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out),
              box-shadow 0.25s var(--ease-out),
              background 0.25s var(--ease-out),
              color 0.25s var(--ease-out);
  white-space: nowrap;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(181, 97, 63, 0.45),
              inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -8px rgba(181, 97, 63, 0.55),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:active { transform: translateY(0); }

.btn-primary .arrow { transition: transform 0.25s var(--ease-out); }
.btn-primary:hover .arrow { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-block {
  display: flex;
  width: 100%;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-top: 1.75rem;
}

/* -----------------------------
   Header
   ----------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--glass);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--glass-stroke);
  transition: transform 0.3s var(--ease-out);
  will-change: transform;
}
/* Auto-Hide-on-Scroll-Down: bei „is-hidden" verschwindet der Header
   nach oben. Steuerung über JS (initStickyHeader in script.js). */
.site-header.is-hidden { transform: translateY(-100%); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.brand__logo {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 520px) {
  .brand__logo { height: 34px; }
}

.brand--footer .brand__logo {
  height: 52px;
  /* Logo in dunkler Footer-Umgebung aufhellen */
  filter: brightness(0) invert(1) opacity(0.92);
}

.site-header__meta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--ink-mute);
}
.site-header__meta svg { color: var(--wood); }

.site-header .btn { padding: 0.65rem 1.1rem; font-size: 0.875rem; }

@media (min-width: 720px) {
  .site-header__meta { display: inline-flex; }
}

/* -----------------------------
   Hero
   ----------------------------- */
.hero {
  position: relative;
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: clamp(3.5rem, 7vw, 5rem);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(217, 191, 146, 0.35), transparent 60%),
    radial-gradient(50% 40% at 10% 90%, rgba(107, 127, 90, 0.18), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

@media (min-width: 920px) {
  .hero__inner { grid-template-columns: 1.05fr 1fr; }
}

/* MOBILE: VSL-Visual zwischen H1 und Subline einreihen.
   Trick: .hero__copy bekommt display: contents, damit seine Kinder
   direkte Grid-Items von .hero__inner werden – dann lassen sie sich
   per `order` zusammen mit .hero__visual frei umsortieren.
   min-width: 0 + max-width: 100 % defensive: verhindert, dass ein
   einziges langes Wort im Title die Grid-Spalte breiter zwingt als
   den Viewport (sonst clippt .hero overflow:hidden alles rechts ab). */
@media (max-width: 919px) {
  .hero {
    padding-top: clamp(1.75rem, 5vw, 3rem);
    padding-bottom: clamp(2.5rem, 6vw, 4rem);
  }
  .hero__inner { gap: 0; }
  .hero__copy { display: contents; }

  .hero__inner > * {
    min-width: 0;
    max-width: 100%;
  }

  .hero__copy > .kicker         { order: 1; }
  .hero__copy > .hero__proof    { order: 2; }
  .hero__copy > .hero__title    { order: 3; }
  .hero__visual                 { order: 4; margin: 0.75rem 0 1.5rem; }
  .hero__copy > .hero__sub      { order: 5; }
  .hero__copy > .hero__benefits { order: 6; }
  .hero__copy > .cta-row        { order: 7; }
  .hero__copy > .hero__micro    { order: 8; }
  .hero__copy > .hero__footnote { order: 9; }
}

.hero__copy { max-width: 620px; }

.hero__title {
  /* Hero-Headline überschreibt die globale h1-Größe.
     Min-Wert auf 1.45rem reduziert: die pain-led Headlines sind länger
     als 4-Wort-Slogans und brauchen auf 390 px Viewport mehr Atemraum.
     overflow-wrap: anywhere + word-break: break-word verhindern
     dass lange deutsche Komposita den Container sprengen. */
  font-size: clamp(1.45rem, 6vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin-bottom: 1.25rem;
  text-wrap: balance;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

/* Color-Break auf der Schlüsselphrase — visueller Fokus ohne Bold/Italic.
   Greift nur in der Default-Variante; DTR-Varianten ersetzen via
   textContent und verlieren die Inline-Span (gewollt). */
.hero__title-accent {
  color: var(--wood);
}
.hero__sub {
  color: var(--ink-soft);
  font-size: 1.1rem;
  overflow-wrap: break-word;
}

.stars { color: #D9A441; letter-spacing: 0.05em; }

/* -----------------------------
   Hero Social-Proof-Bar (Avatare + Sterne + Text)
   ----------------------------- */
.hero__proof {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  padding: 0.55rem 1.15rem 0.55rem 0.6rem;
  background: var(--bg-elev);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  box-shadow: var(--shadow-xs);
  margin-bottom: 1.75rem;
  max-width: 100%;
}

.proof-avatars { display: inline-flex; align-items: center; flex: none; }

.proof-avatar {
  display: block;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2.5px solid var(--bg-elev);
  background: var(--surface);
  overflow: hidden;
  margin-left: -10px;
  box-shadow: 0 1px 2px rgba(30, 26, 20, 0.12);
  flex: none;
}
.proof-avatar:first-child { margin-left: 0; }
.proof-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.proof-more {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2.5px solid var(--bg-elev);
  margin-left: -10px;
  background: linear-gradient(135deg, var(--sand) 0%, var(--wood) 100%);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.78rem;
  flex: none;
  box-shadow:
    0 1px 2px rgba(30, 26, 20, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

.hero__proof-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1 1 auto;
}
.hero__proof-meta .stars { font-size: 0.875rem; line-height: 1; }
.hero__proof-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.2;
}
.hero__proof-rating-text {
  font-size: 0.85rem;
  color: var(--ink-soft);
  letter-spacing: 0.005em;
}
.hero__proof-rating-text strong { color: var(--ink); font-weight: 700; }
/* Rating ist ein echter Outbound-Link aufs Google-Profil – in der Trust-Bar
   aber wie Text gestaltet (kein oranger Default-Link), nur Hover/Fokus zeigt Klickbarkeit. */
a.hero__proof-rating { text-decoration: none; color: inherit; cursor: pointer; border-radius: 6px; }
a.hero__proof-rating:hover .hero__proof-rating-text { text-decoration: underline; text-underline-offset: 2px; }
a.hero__proof-rating:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hero__proof-text {
  /* Auf Desktop/Tablet single-line via nowrap.
     Auf < 480 px wird das im Media-Query unten wieder gelockert,
     damit es nicht den Viewport sprengt. KEIN !important hier,
     sonst überschreibt es das Mobile-Override. */
  font-weight: 600;
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1.3;
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow-wrap: anywhere;
}

@media (max-width: 480px) {
  .hero__proof {
    display: flex;        /* statt inline-flex: füllt den Container und zwingt zur Wrapping-Schranke */
    width: 100%;
    padding: 0.5rem 0.85rem 0.5rem 0.5rem;
    gap: 0.6rem;
  }
  .proof-avatar, .proof-more { width: 32px; height: 32px; }
  .proof-more { font-size: 0.7rem; }
  .hero__proof-text {
    font-size: 0.72rem;
    white-space: normal;          /* auf Mobile darf der Satz wrappen */
  }
  .hero__proof-rating-text { font-size: 0.78rem; }
  .hero__sub { font-size: 0.95rem; }
}

/* -----------------------------
   Hero Benefits-Liste (3 Häkchen-Punkte über dem Button)
   ----------------------------- */
.hero__benefits {
  list-style: none;
  padding: 0;
  margin: 1.85rem 0 0;
  display: grid;
  gap: 0.9rem;
}

.hero__benefits li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.5;
  min-width: 0;
}
.hero__benefits li > span:last-child {
  min-width: 0;
  overflow-wrap: break-word;
}
@media (max-width: 480px) {
  .hero__benefits li { font-size: 0.9rem; gap: 0.7rem; }
  .hero__benefits-check { width: 22px; height: 22px; }
  .hero__benefits-check svg { width: 11px; height: 11px; }
}

.hero__benefits strong { color: var(--ink); font-weight: 600; }

.hero__benefits-check {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #F3E6CC;
  color: var(--wood-deep);
  display: grid;
  place-items: center;
}

/* -----------------------------
   Hero Secondary-Button („Video ansehen")
   ----------------------------- */
.btn-secondary {
  background: var(--bg-elev);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 0.45rem 1.2rem 0.45rem 0.5rem;
}
.btn-secondary:hover {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--wood);
}
.btn-secondary__icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--wood);
  color: #fff;
  display: grid; place-items: center;
  flex: none;
}
.btn-secondary__icon svg { margin-left: 2px; }

/* -----------------------------
   Hero Microcopy + Fußnote
   ----------------------------- */
.hero__micro {
  margin: 1.1rem 0 0;
  font-size: 0.875rem;
  color: var(--ink-mute);
  letter-spacing: 0;
}
.hero__micro .sep {
  display: inline-block;
  margin: 0 0.5rem;
  color: var(--ink-faint);
}

.hero__footnote {
  margin: 0.4rem 0 0;
  font-size: 0.75rem;
  color: var(--ink-faint);
  font-style: italic;
}

/* Hero Visual (VSL/Bild) */
.hero__visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface);
  /* Mobile: 16:9 (kompakter Preview, mehr Hero-Copy above-the-fold).
     Desktop: 4:5 (portrait, füllt die rechte Spalte neben der Copy). */
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 920px) {
  .hero__visual { aspect-ratio: 4 / 5; }
}

.hero__visual img,
.hero__visual video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Matratze-Variante: Hero zeigt Felix. Cover-Crop oben halten, damit sein Gesicht
   in BEIDEN Container-Formaten (mobil 16:9 / Desktop 4:5) sichtbar bleibt. */
html[data-variant="matratze"] #hero-image { object-position: center top; }

/* Matratze-Variante auf Mobil: 1:1 (quadratisch) statt 16:9, damit Felix nicht
   oben/unten abgeschnitten wird. Desktop bleibt 4:5 (allgemeine Regel oben). */
@media (max-width: 919px) {
  html[data-variant="matratze"] .hero__visual { aspect-ratio: 1 / 1; }
}

.hero__play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 78px; height: 78px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,0.35);
  color: var(--ink);
  transition: transform 0.25s var(--ease-out), background 0.25s var(--ease-out);
}
.hero__play:hover { transform: translate(-50%, -50%) scale(1.06); }
.hero__play svg { margin-left: 4px; }

/* Hero floating glass badge */
.hero__badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  background: var(--glass);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--glass-stroke);
  border-radius: 999px;
  font-size: 0.825rem;
  color: var(--ink);
  font-weight: 500;
  box-shadow: var(--shadow-md);
}

.hero__badge .dot-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--moss);
  position: relative;
}
.hero__badge .dot-pulse::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--moss);
  opacity: 0.5;
  animation: pulse 2s var(--ease-out) infinite;
}
@keyframes pulse {
  0%   { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(1.8); opacity: 0;   }
}

/* -----------------------------
   Anker (Sektion 1b)
   ----------------------------- */
.anchor {
  background: linear-gradient(180deg, transparent 0%, var(--surface) 100%);
}

.anchor__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.anchor h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 400;
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.anchor p {
  font-size: 1.075rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* -----------------------------
   Problem
   ----------------------------- */
.problem__lead {
  margin: 1.25rem 0 0;
  font-size: 1.125rem;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 680px;
}

.problem-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem 2.5rem;
  max-width: 920px;
}
@media (min-width: 720px) {
  .problem-list { grid-template-columns: 1fr 1fr; }
}

.problem-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  font-size: 1.02rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.problem-list li:hover { transform: none; }

.problem-list__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-elev);
  border: 1px solid var(--line-soft);
  color: var(--accent);
  box-shadow: var(--shadow-xs);
}

.problem__outro {
  margin-top: 2.25rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 720px;
}

/* -----------------------------
   Ursache / 3 Liege-Illustrationen
   ----------------------------- */
.lying-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 760px) { .lying-grid { grid-template-columns: repeat(3, 1fr); } }

.lying-card {
  background: var(--bg-elev);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.lying-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.lying-card__media {
  /* Bewusst WEISS statt cream: die Sektion (.section-tinted) ist selbst cream,
     ein cream-Mediabereich würde nahtlos in den Sektion-Background laufen und
     die Karte wirkt nicht mehr als Karte. */
  aspect-ratio: 16 / 10;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}
.lying-card__media img { width: 100%; height: 100%; object-fit: cover; }

.lying-card__media .verdict {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px -4px rgba(0,0,0,0.2);
}
.verdict--bad  { background: #F0D5CC; color: var(--terracotta-2); }
.verdict--good { background: var(--moss-soft); color: #44513A; }

.lying-card__body { padding: 1.4rem 1.4rem 1.6rem; }
.lying-card__title { font-weight: 600; margin-bottom: 0.4rem; font-family: var(--font-sans); font-size: 1.075rem; }
.lying-card__title em { font-style: normal; color: var(--ink-mute); }
.lying-card__text { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; }

/* -----------------------------
   Lösung — gleichwertige Produkt-Karten
   ----------------------------- */
.solution-intro { max-width: 740px; color: var(--ink-soft); font-size: 1.1rem; }

.solution-grid {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
@media (min-width: 800px) { .solution-grid { grid-template-columns: 1fr 1fr; } }

/* DTR — bei ?v=relax wird das Relax-System zur ersten Kachel.
   Default + ?v=matratze + alle Symptom-Varianten: DOM-Reihenfolge bleibt
   (FLEX-Matratze links/oben). 50/50-Größenverhältnis bleibt unangetastet. */
[data-variant="relax"] .solution-grid .product-card--relax { order: 1; }
[data-variant="relax"] .solution-grid .product-card--flex  { order: 2; }

.product-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card__media {
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
  position: relative;
  overflow: hidden;
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }

.product-card__pill {
  position: absolute;
  top: 18px; left: 18px;
  padding: 0.4rem 0.8rem;
  background: var(--glass);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border: 1px solid var(--glass-stroke);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wood-deep);
}

.product-card__body { padding: 2rem clamp(1.5rem, 3vw, 2.25rem) 2.25rem; }
.product-card__component {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wood-deep);
  margin-bottom: 0.6rem;
}
.product-card__title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.product-card__title strong { font-weight: 600; }
.product-card__text { color: var(--ink-soft); font-size: 1rem; line-height: 1.65; }

.solution-outro {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: 1.5rem 1.75rem;
  background: var(--bg-elev);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  font-size: 1rem;
  color: var(--ink-soft);
}
.solution-outro strong { color: var(--ink); font-weight: 600; }

/* Solution Chips — drei scannbare Botschaften, immer in einer Reihe (3-Col-Grid). */
.solution-chips {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 720px) {
  .solution-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.solution-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.85rem 1.1rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.35;
}
.solution-chip strong { color: var(--ink); font-weight: 600; margin-right: 0.35rem; }
.solution-chips__footnote {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  color: var(--ink-faint);
  font-style: italic;
}

/* -----------------------------
   Trust-System — System-Schichtbild mit Trust-Siegeln
   UWG-Anker: Begleittext muss ZWINGEND mit dem Bild zusammen sichtbar sein
   (die Award-Zuordnung zu Relax ist nur im Begleittext, nicht im Bild).
   ----------------------------- */
.trust-system {
  background: var(--bg);
}
.trust-system__layout {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
@media (min-width: 800px) {
  .trust-system__layout { grid-template-columns: 1fr 1.1fr; }
}
.trust-system__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
}
.trust-system__desc {
  margin: 0;
  font-size: 1.025rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.trust-system__desc strong { color: var(--ink); font-weight: 600; }
.trust-system__desc em {
  font-style: normal;
  color: var(--wood-deep);
  font-weight: 500;
}
.trust-system__media {
  background: var(--bg-elev);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 1rem;
  box-shadow: var(--shadow-xs);
}
.trust-system__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-md);
}

/* -----------------------------
   Mechanismus (4 Punkte)
   ----------------------------- */
.mech-layout {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}
@media (min-width: 920px) { .mech-layout { grid-template-columns: 1.05fr 1fr; } }

.mech-media {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
  /* DOM-Reihenfolge belassen: media zuerst → erscheint auf Mobile direkt
     unter der H2, vor den Bulletpoints. Auf Desktop sitzt es ohnehin links. */
}
.mech-media img,
.mech-media video { width: 100%; height: 100%; object-fit: cover; display: block; }

.mech-points { display: grid; gap: 1rem; }

/* ============================================================
   Mechanismus-DTR — Komplett-Varianten-Switch via CSS.
   Default sichtbar: --relax-Variante (Federkörper-Story).
   Bei ?v=matratze: --flex-Variante (3-Schritt-Latex-Story).
   Beide Blöcke bleiben im DOM (gut für SEO/Crawler, gut wenn JS ausfällt).
   ============================================================ */
.mechanism__variant--flex { display: none; }
.mechanism__variant--relax { display: block; }
[data-variant="matratze"] .mechanism__variant--relax { display: none; }
[data-variant="matratze"] .mechanism__variant--flex { display: block; }

.mechanism__variant-title {
  /* Eigener H2-Container je Variante, damit nur eine sichtbare H2 pro Sektion. */
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 760px;
}

/* 3-Schritt-Layout (FLEX-Variante): Cards mit Bild oben, Body unten.
   Mobile: 1-Spalter. Desktop: 3-Spalter, stilistisch konsistent zur Cause-Sektion. */
.mechanism-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}
@media (min-width: 800px) {
  .mechanism-steps { grid-template-columns: repeat(3, 1fr); }
}

.mechanism-step {
  background: var(--bg-elev);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.mechanism-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.mechanism-step__media {
  aspect-ratio: 16 / 11;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.mechanism-step__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.mechanism-step__body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mechanism-step__title {
  font-family: var(--font-sans);
  font-size: 1.075rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.005em;
}
.mechanism-step__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.mech-point {
  background: var(--bg-elev);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 1.25rem 1.4rem;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 1rem;
  align-items: start;
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.mech-point:hover { border-color: var(--wood); transform: translateX(2px); }

.mech-point__icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(150deg, var(--surface) 0%, var(--surface-2) 100%);
  display: grid; place-items: center;
  color: var(--wood-deep);
}

.mech-point__title { font-family: var(--font-sans); font-weight: 600; font-size: 1.025rem; margin-bottom: 0.3rem; }
.mech-point__text { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; }

/* -----------------------------
   360°-Analyse
   ----------------------------- */
.analysis {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}
.analysis-layout {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 920px) { .analysis-layout { grid-template-columns: 1fr 1.05fr; } }

.analysis-media {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.analysis-media img { width: 100%; height: 100%; object-fit: cover; }

.outcome-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0.85rem; }
.outcome-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.1rem 1.25rem;
  background: var(--bg-elev);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
}
.outcome-list__check {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--moss-soft);
  color: #3F4B33;
  display: grid; place-items: center;
  margin-top: 3px;
}
.outcome-list strong { display: block; color: var(--ink); margin-bottom: 0.15rem; font-weight: 600; }
.outcome-list span { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.55; }

.analysis__promise {
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--wood);
  background: var(--bg-elev);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 1rem;
  color: var(--ink-soft);
}
.analysis__promise strong { color: var(--ink); }

/* -----------------------------
   Ablauf — 4 Schritte
   ----------------------------- */
.steps-intro { max-width: 720px; color: var(--ink-soft); font-size: 1.075rem; }

.steps-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  counter-reset: step;
}
@media (min-width: 720px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }

.step-card {
  position: relative;
  padding: 2rem 1.5rem 1.75rem;
  background: var(--bg-elev);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.step-card__num {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--wood-deep);
  margin-bottom: 1rem;
}
.step-card__title { font-family: var(--font-sans); font-weight: 600; font-size: 1.05rem; margin-bottom: 0.4rem; }
.step-card__text { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; }

/* -----------------------------
   Appointment-Sektion (merged Analyse + Ablauf)
   ----------------------------- */
.appointment-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
@media (min-width: 720px)  { .appointment-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .appointment-grid { grid-template-columns: repeat(4, 1fr); } }

.appointment-step {
  position: relative;
  padding: 2rem 1.5rem 1.75rem;
  background: var(--bg-elev);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.appointment-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.appointment-step__num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--wood-deep);
  margin-bottom: 1rem;
}
.appointment-step__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--ink);
}
.appointment-step__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.appointment-promise {
  margin: clamp(2.5rem, 4vw, 3.5rem) auto 0;
  max-width: 760px;
  padding: 1.5rem 1.75rem;
  border-left: 3px solid var(--wood);
  background: var(--bg-elev);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 1.025rem;
  color: var(--ink-soft);
  line-height: 1.6;
  text-align: left;
}
.appointment-promise strong { color: var(--ink); font-weight: 600; }

/* -----------------------------
   Social Proof
   ----------------------------- */
.testimonials-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 720px) { .testimonials-grid { grid-template-columns: 1fr 1fr; } }

.testimonial {
  background: var(--bg-elev);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Hero-Foto pro Karte — Kunde mit seinem System ist klar erkennbar. */
.testimonial__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface);
  border-bottom: 1px solid var(--line-soft);
}
.testimonial__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial__body {
  padding: 1.75rem 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex: 1;
}

.testimonial__quote {
  position: relative;
  padding-left: 1.5rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.075rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.testimonial__quote::before {
  content: '“';
  position: absolute;
  top: -10px; left: -4px;
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--wood);
  line-height: 1;
}
.testimonial__author {
  padding-top: 0.85rem;
  border-top: 1px solid var(--line-soft);
}
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sand), var(--wood));
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1rem;
  flex: none;
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial__name { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.testimonial__sub  { font-size: 0.82rem; color: var(--ink-mute); }

.disclaimer {
  font-size: 0.78rem;
  color: var(--ink-mute);
  line-height: 1.55;
  margin-bottom: 2.5rem;
  max-width: 720px;
  font-style: italic;
}


/* -----------------------------
   Garantie / Nachsorge — dezidierter Trust-Moment
   Warme Cream-Bühne (statt dunklem Kontrast). Visueller Bruch
   kommt über Typographie + Hintergrundtonigkeit, nicht Inversion.
   Passender für Holzwois Zielgruppe (Manufaktur, Naturholz, Premium-warm).
   ----------------------------- */
.guarantee--featured {
  --g-bg:      var(--surface-2);     /* warme Cream-Bühne #ECE1CB */
  --g-ink:     var(--ink);
  --g-mute:    var(--ink-soft);
  --g-faint:   var(--ink-mute);
  --g-accent:  var(--wood-deep);
  --g-line:    var(--line);

  background: var(--g-bg);
  color: var(--g-ink);
  position: relative;
  overflow: hidden;
}
.guarantee--featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 15% 5%, rgba(217, 191, 146, 0.40), transparent 60%),
    radial-gradient(50% 50% at 90% 95%, rgba(181, 97, 63, 0.08), transparent 60%);
  pointer-events: none;
}
.guarantee--featured > .container { position: relative; }

.kicker--invert {
  color: var(--wood-deep);
}
.kicker--invert::before {
  background: var(--wood);
}

.guarantee-layout {
  display: grid;
  gap: clamp(2.5rem, 4vw, 4rem);
  align-items: start;
}
@media (min-width: 980px) {
  .guarantee-layout { grid-template-columns: 1.4fr 1fr; }
}

/* LEFT — Hauptbotschaft */
.guarantee-main__title {
  color: var(--g-ink);
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.guarantee-main__sub {
  color: var(--g-mute);
  font-size: 1.125rem;
  line-height: 1.55;
  margin-bottom: 2rem;
}

.guarantee-promises {
  list-style: none;
  padding: 0;
  margin: 0 0 2.25rem;
  display: grid;
  gap: 1.25rem;
}
.guarantee-promises li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 1rem;
  align-items: start;
}
.guarantee-promises__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sand);
  color: #1A1612;
  margin-top: 1px;
  flex: none;
  line-height: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.guarantee-promises__check svg {
  /* Geometrisch zentriert via Flex – aber das Check-Symbol hat seine visuelle
     Masse oben-rechts (langer Arm dominiert). Translate gleicht das aus:
     etwas nach unten-links verschieben, damit die Wahrnehmung mittig sitzt. */
  display: block;
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin: 0;
  flex: none;
  vertical-align: middle;
  transform: translate(-1px, 1px);
}
.guarantee-promises strong {
  display: block;
  color: var(--g-ink);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}
.guarantee-promises span {
  display: block;
  color: var(--g-mute);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Founder-Versprechen-Karte — bewusst weißer „Brief"-Look, der sich aus
   der warmen Cream-Bühne deutlich heraushebt. Linker Wood-Akzent als
   Signatur-Streifen, leichter Lift-Shadow, dezentes Serifen-Anführungszeichen
   als typografische Note. */
.guarantee-pledge {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.75rem 1.85rem 1.85rem;
  background: var(--bg-elev);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--wood);
  border-radius: var(--r-lg);
  box-shadow:
    0 1px 2px rgba(30, 26, 20, 0.04),
    0 12px 32px -18px rgba(30, 26, 20, 0.22);
  overflow: hidden;
}
.guarantee-pledge::before {
  content: '\201E';                        /* deutsches Anführungszeichen unten */
  position: absolute;
  top: -1.25rem;
  right: 1.25rem;
  font-family: var(--font-serif);
  font-size: 6rem;
  line-height: 1;
  color: var(--sand);
  opacity: 0.35;
  font-style: italic;
  pointer-events: none;
}
.guarantee-pledge__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sand), var(--wood));
  color: #1A1612;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.4rem;
  overflow: hidden;
  box-shadow:
    0 2px 6px rgba(139, 98, 56, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.guarantee-pledge__avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.guarantee-pledge__content {
  position: relative;                       /* über dem ::before-Quote-Glyph */
  min-width: 0;
}
.guarantee-pledge__kicker {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wood-deep);                  /* deutlich kontrastiert statt fast-unsichtbar Sand */
}
.guarantee-pledge__quote {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--g-ink);
}
.guarantee-pledge__author {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--g-mute);
}

/* CTA-Variante für dunklen Hintergrund — Sand-Akzent statt Terrakotta. */
.btn-primary--invert {
  background: var(--sand);
  color: #1A1612;
  box-shadow:
    0 8px 20px -6px rgba(217, 191, 146, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary--invert:hover {
  background: #E8CFA1;
  color: #1A1612;
  box-shadow:
    0 14px 28px -8px rgba(217, 191, 146, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* RIGHT — Side-Card mit „10 Jahre"-KPI
   Bewusst weißer Card-Look wie die Pledge-Box, damit sie sich
   aus der warmen Cream-Bühne der Garantie-Sektion heraushebt. */
.guarantee-aside {
  background: var(--bg-elev);
  border: 1px solid var(--line-soft);
  border-top: 3px solid var(--wood);
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  display: grid;
  gap: 1.25rem;
  align-content: start;
  position: relative;
  box-shadow:
    0 1px 2px rgba(30, 26, 20, 0.04),
    0 12px 32px -18px rgba(30, 26, 20, 0.22);
}

.guarantee-aside__big {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 8vw, 5.5rem);
  line-height: 1;
  color: var(--sand);
  letter-spacing: -0.03em;
  margin: 0;
}
.guarantee-aside__big-label {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--g-ink);
  letter-spacing: -0.005em;
}
.guarantee-aside__desc {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--g-mute);
}
.guarantee-aside__desc strong { color: var(--g-ink); font-weight: 600; }

.guarantee-aside__divider {
  height: 1px;
  background: var(--g-line);
  margin: 0.25rem 0;
}

.guarantee-aside__seal {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0.85rem;
  align-items: center;
}
.guarantee-aside__seal-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(217, 191, 146, 0.10);
  color: var(--sand);
  display: grid;
  place-items: center;
}
.guarantee-aside__seal-icon--logo {
  width: 52px;
  height: 52px;
  background: #fff;
  border: 1px solid var(--line-soft);
  padding: 4px;
  overflow: hidden;
}
.guarantee-aside__seal-icon--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.guarantee-aside__seal strong {
  display: block;
  color: var(--g-ink);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.25;
}
.guarantee-aside__seal span {
  display: block;
  color: var(--g-mute);
  font-size: 0.8rem;
  margin-top: 0.15rem;
  line-height: 1.4;
}

/* -----------------------------
   Für wen geeignet
   ----------------------------- */
.fit-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 760px) { .fit-grid { grid-template-columns: 1.05fr 1fr; } }

.fit-card {
  background: var(--bg-elev);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  padding: 1.75rem 1.85rem 2rem;
}

.fit-card__title {
  display: flex; align-items: center; gap: 0.65rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: var(--ink);
}

.fit-card__title .badge {
  display: grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
}
.fit-card--yes .badge { background: var(--moss-soft); color: #44513A; }
.fit-card--no  .badge { background: #F0D5CC;        color: var(--terracotta-2); }

.fit-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }
.fit-list li {
  /* WICHTIG: kein display:flex auf <li>, weil das jedes <strong> darin
     zu einem eigenen Flex-Item macht und den Textfluss in narrow Spalten bricht.
     Statt dessen: position:relative + absolut platzierte Bullet. */
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.fit-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--wood);
}
.fit-list li strong { color: var(--ink); font-weight: 600; }
.fit-card--no .fit-list li::before { background: var(--ink-faint); }

/* -----------------------------
   FAQ — Accordion
   ----------------------------- */
.faq {
  background: var(--surface);
  /* Bewusst kompakter, der Founder-Block davor hat schon viel Luft. */
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 0.5rem; }

.faq-item {
  background: var(--bg-elev);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.25s var(--ease-out);
}
.faq-item[open] { border-color: var(--wood); }

.faq-item__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease-out);
}
.faq-item__btn:hover { background: var(--surface); color: var(--ink); }
.faq-item__btn:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }

.faq-item__icon {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--surface);
  display: grid; place-items: center;
  color: var(--wood-deep);
  transition: transform 0.3s var(--ease-out);
}
.faq-item[aria-open="true"] .faq-item__icon { transform: rotate(45deg); }

.faq-item__body {
  max-height: 0;
  overflow: hidden;
  /* visibility:hidden nimmt die eingeklappte Antwort aus dem Accessibility-Baum
     und der Tab-Reihenfolge (sonst liest der Screenreader alle 7 Antworten vor,
     obwohl aria-expanded=false meldet). Verzoegert ausgeblendet, damit die
     Schliess-Animation noch sichtbar laeuft. */
  visibility: hidden;
  transition: max-height 0.4s var(--ease-out), visibility 0s linear 0.4s;
}
.faq-item[aria-open="true"] .faq-item__body {
  max-height: 600px;
  visibility: visible;
  transition: max-height 0.4s var(--ease-out), visibility 0s linear 0s;
}

.faq-item__body-inner {
  padding: 0 1.4rem 1.35rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* -----------------------------
   Final CTA + Widget
   ----------------------------- */
.final {
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(217, 191, 146, 0.4), transparent 60%),
    var(--bg);
}

.final__head { text-align: center; max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.final__head p { color: var(--ink-soft); font-size: 1.1rem; margin-top: 1rem; }
.final__location {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  text-align: center;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.final__location svg { color: var(--accent); flex-shrink: 0; }
.final__location a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.widget-shell {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(0.75rem, 1.5vw, 1.25rem);
  box-shadow: var(--shadow-lg);
  max-width: 920px;
  margin: 0 auto;
}

.widget-frame {
  width: 100%;
  min-height: 1500px;
  border: 0;
  border-radius: var(--r-lg);
  display: block;
}

/* Lade-Skelett: liegt über dem iframe, bis es geladen hat.
   Sichtbarer „Es passiert was"-Zustand für den einzigen Conversion-Punkt. */
.widget-skeleton {
  position: absolute;
  inset: clamp(0.75rem, 1.5vw, 1.25rem);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(217, 191, 146, 0.35), transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 1;
  transition: opacity 0.45s var(--ease-out);
  pointer-events: none;
}

.widget-shell.is-loaded .widget-skeleton {
  opacity: 0;
}

.widget-skeleton__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-elev);
  display: grid;
  place-items: center;
  color: var(--wood-deep);
  box-shadow: var(--shadow-sm);
  animation: widget-skeleton-pulse 2.4s var(--ease-in-out) infinite;
}

@keyframes widget-skeleton-pulse {
  0%, 100% { transform: scale(1);    box-shadow: 0 0 0 0  rgba(139, 98, 56, 0.0),  var(--shadow-sm); }
  50%      { transform: scale(1.04); box-shadow: 0 0 0 12px rgba(139, 98, 56, 0.08), var(--shadow-sm); }
}

.widget-skeleton__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

.widget-fallback {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.widget-fallback a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

/* Timeout-Fallback: erscheint, wenn das Widget nicht innerhalb 8s lädt. */
.widget-timeout-fallback {
  margin: 1.25rem auto 0;
  max-width: 560px;
  padding: 1.25rem 1.5rem 1.5rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.widget-timeout-fallback strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.widget-timeout-fallback p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.widget-timeout-fallback .btn {
  display: inline-flex;
}

/* -----------------------------
   Footer
   ----------------------------- */
.site-footer {
  background: var(--ink);
  color: #D9CCB4;
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
}
.site-footer .brand { color: #FFF1D9; }
/* Footer-Links explizit hell (sonst erben sie die Terracotta-Link-Farbe → kaum lesbar auf dunklem Footer). */
.site-footer a { color: #E7DAC2; text-decoration: none; }
.site-footer a:hover,
.site-footer a:focus-visible { color: #FFF1D9; text-decoration: underline; text-underline-offset: 3px; }

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }

.footer-col h4 {
  color: #FFF1D9;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col p, .footer-col li { color: #C8B89A; font-size: 0.95rem; line-height: 1.7; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.footer-col a:hover { color: var(--sand); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 241, 217, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #9B8C72;
  font-size: 0.85rem;
}

/* -----------------------------
   Sticky Mobile CTA
   ----------------------------- */
.sticky-cta {
  position: fixed;
  left: calc(12px + env(safe-area-inset-left));
  right: calc(12px + env(safe-area-inset-right));
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 40;
  display: none;
  padding: 0.7rem;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid var(--glass-stroke);
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  transform: translateY(140%);
  transition: transform 0.4s var(--ease-out), opacity 0.3s var(--ease-out);
  opacity: 0;
}
.sticky-cta.is-visible {
  display: block;
  transform: translateY(0);
  opacity: 1;
}
.sticky-cta .btn { width: 100%; padding: 0.85rem 1.2rem; }

@media (min-width: 720px) {
  .sticky-cta { display: none !important; }
}

/* -----------------------------
   Hero VSL — Video + Play-Overlay
   ----------------------------- */
.hero__play {
  z-index: 3;
  border: 0;
  cursor: pointer;
}
.hero__play:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.hero__video {
  display: none;
  background: #000;
}
.hero__visual.is-playing .hero__video {
  display: block;
  z-index: 2;
}
.hero__visual.is-playing .hero__poster,
.hero__visual.is-playing .hero__play,
.hero__visual.is-playing .hero__badge {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}

/* -----------------------------
   Authority-Strip (unter Hero)
   3 × 2 Grid statt 6 × 1 — sonst werden die Spalten
   bei längeren Labels wie „Berliner Schlafmedizin-Studie"
   zu schmal und der Text kollabiert in Mini-Spalten.
   ----------------------------- */
.authority-strip {
  padding: clamp(2rem, 4vw, 3rem) 0;
  background: var(--bg-elev);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.authority-strip__kicker {
  margin: 0 0 1.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wood-deep);
  text-align: center;
}

.authority-strip__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem 1.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px)  { .authority-strip__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .authority-strip__list { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }

.auth-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: start;
  gap: 0.9rem;
  min-width: 0;
}
.auth-item__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--surface);
  display: grid;
  place-items: center;
  color: var(--wood-deep);
  align-self: start;
}
.auth-item__text {
  min-width: 0;
}
.auth-item strong {
  display: block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.auth-item .auth-item__desc {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-mute);
  line-height: 1.4;
  margin-top: 0.25rem;
}

/* -----------------------------
   Founder-Sektion
   Aufbau: zentrierter Intro → Wide Team-Band → 3 horizontale Promises.
   Bewusst anderer Rhythmus als die Analyse-Sektion direkt danach.
   ----------------------------- */
.founder {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
}

.founder-head {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.founder-head__title {
  margin-bottom: 1rem;
}
.founder-head__lead {
  color: var(--ink-soft);
}
.founder-head__lead strong { color: var(--ink); font-weight: 600; }

/* Wide Team-Band — volle Sektionsbreite, dramatisches 21:9 Crop. */
.founder-band {
  position: relative;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--surface);
  box-shadow: 0 30px 60px -30px rgba(30, 26, 20, 0.30);
}
@media (max-width: 720px) {
  .founder-band { aspect-ratio: 4 / 3; }
}
.founder-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
}
.founder-band__overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(180deg, transparent 0%, rgba(20, 17, 12, 0.78) 60%, rgba(20, 17, 12, 0.92) 100%);
  color: #FFF8EA;
}
.founder-band__quote {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.founder-band__author {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--sand);
  letter-spacing: 0.04em;
}

/* Horizontale Promise-Reihe — 3 Tiles unter dem Band. */
.founder-promises-row {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 820px) {
  .founder-promises-row { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
.founder-promises-row li {
  background: var(--bg-elev);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.6rem 1.85rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.founder-promises-row li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.founder-promises-row__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--wood-deep);
  margin-bottom: 1rem;
}
.founder-promises-row__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.075rem;
  line-height: 1.3;
  color: var(--ink);
}
.founder-promises-row__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* -----------------------------
   Testimonial-Avatar mit Foto
   ----------------------------- */
.avatar--photo {
  padding: 0;
  background: var(--surface);
}
.avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* -----------------------------
   Preis-Block in den Produkt-Karten
   ----------------------------- */
.product-card__price {
  margin: 1.25rem 0 0;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  display: grid;
  gap: 0.2rem;
}
.product-card__price-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wood-deep);
}
.product-card__price-value {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.product-card__price-note {
  font-size: 0.8rem;
  color: var(--ink-mute);
  line-height: 1.45;
  margin-top: 0.15rem;
}

/* -----------------------------
   Accessibility helpers
   ----------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

/* Skip-Link: nur bei Tastatur-Fokus sichtbar, springt am Sticky-Header vorbei
   direkt an den Seiteninhalt (WCAG 2.2 / EAA 2.4.1). */
.skip-link {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 100;
  padding: 0.65rem 1.1rem;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  font: 600 0.95rem/1 var(--font-sans);
  text-decoration: none;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus {
  top: calc(12px + env(safe-area-inset-top));
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Sprungmarken-Ziele (Google-Ads-Sitelinks): der globale scroll-padding-top (html, oben)
   positioniert ALLE #anker bereits unter dem Sticky-Header – keine eigene Regel nötig. */

/* -----------------------------
   VSL Modal — Vollbild-Stage für Hero-VSL
   Aktivierung über aria-hidden="false" (JS setzt das).
   ----------------------------- */
.vsl-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: rgba(20, 17, 12, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.vsl-modal[aria-hidden="false"] {
  display: flex;
  animation: vsl-fade-in 0.25s var(--ease-out);
}

.vsl-modal__shell {
  position: relative;
  width: 100%;
  max-width: 1040px;
}

.vsl-modal__close {
  position: absolute;
  top: -3rem;
  right: 0;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: none;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 0.2s var(--ease-out);
}
.vsl-modal__close:hover { background: rgba(255, 255, 255, 0.22); }
.vsl-modal__close:focus-visible { outline: 2px solid var(--sand); outline-offset: 2px; }

.vsl-modal__stage,
.vsl-modal__end-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  /* Warmer Cream-Fallback statt hartem Schwarz – sichtbar während das Video
     lädt oder bei letterboxed-Material mit transparentem Hintergrund.
     Passt zur Holzwoi-Brand-Palette und wirkt einladender als #000. */
  background: var(--surface);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}
.vsl-modal__stage[hidden],
.vsl-modal__end-stage[hidden] { display: none; }

.vsl-modal__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--surface);
}

/* Unmute-Tap-Overlay — zentraler Klick-Layer mit Pill, bis erster Klick */
.vsl-modal__unmute {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.18);
  border: none;
  cursor: pointer;
  transition: background 0.2s var(--ease-out);
}
.vsl-modal__unmute:hover { background: rgba(0, 0, 0, 0.28); }
.vsl-modal__unmute[hidden] { display: none; }
.vsl-modal__unmute-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.25rem;
  background: rgba(20, 17, 12, 0.85);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Mini-CTA top-right — ab Sek 10 */
.vsl-modal__mini-cta {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.78rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 24px -8px rgba(181, 97, 63, 0.5);
  animation: vsl-fade-slide 0.35s var(--ease-out);
}
.vsl-modal__mini-cta[hidden] { display: none; }
.vsl-modal__mini-cta:hover { background: var(--accent); transform: translateY(-1px); }

/* Voll-Overlay-CTA bottom-center — ab 30 % Watch-Time */
.vsl-modal__overlay-cta {
  position: absolute;
  left: 0; right: 0;
  bottom: 5rem;
  z-index: 20;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 1rem;
  animation: vsl-fade-slide 0.4s var(--ease-out);
}
.vsl-modal__overlay-cta[hidden] { display: none; }
.vsl-modal__overlay-cta .btn { pointer-events: auto; }
@media (max-width: 640px) {
  .vsl-modal__overlay-cta { bottom: 4rem; }
  .vsl-modal__overlay-cta .btn { padding: 0.85rem 1.2rem; font-size: 0.9rem; }
}

/* Pause-Overlay — Vollbild dim mit CTA */
.vsl-modal__pause-overlay {
  position: absolute;
  inset: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  text-align: center;
  animation: vsl-fade-in 0.25s var(--ease-out);
}
.vsl-modal__pause-overlay[hidden] { display: none; }
.vsl-modal__resume {
  margin-top: 1.1rem;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.85);
  font: 600 0.95rem/1 var(--font-sans);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.vsl-modal__resume:hover,
.vsl-modal__resume:focus-visible { color: #fff; }
.vsl-modal__pause-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0;
}
.vsl-modal__pause-sub {
  margin: 0.6rem 0 1.6rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
}

/* End-Stage — ersetzt das Video bei `ended` */
.vsl-modal__end-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 6vw, 4rem);
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #1A1612 0%, #2A2218 100%);
}
.vsl-modal__end-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 22ch;
}
.vsl-modal__end-sub {
  margin: 0.85rem 0 2rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 28ch;
}

@keyframes vsl-fade-slide {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes vsl-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Body-Scroll-Lock, wenn Modal offen */
body.vsl-modal-open { overflow: hidden; }
