/* ═══════════════════════════════════════════════════════════════════════
   FARO TELEMATIK — Design System
   Warm-Professionell · Erdtöne · Public Sans · Leicht abgerundet
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  /* Brand Palette — Medical Blue + Cream-White */
  --color-bark:   #14315A;  /* deep navy — primary text, dark surfaces */
  --color-clay:   #3D6CA8;  /* medium blue — accent, borders */
  --color-amber:  #5B8FD9;  /* light azure — highlight, CTAs hover */
  --color-stone:  #5A6B82;  /* slate-blue — secondary text */
  --color-cream:  #F4F8FC;  /* cool cream-white — page background */
  --color-paper:  #FBFDFE;  /* paper-white — card backgrounds */
  --color-line:   #D8E2EE;  /* cool blue-grey divider */
  --color-ink:    #0F1F38;  /* near-black-blue text on cream */

  --color-success: #4A8B6D;
  --color-attention: #C75050;

  /* Type Scale */
  --font-display: 'Public Sans', 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --font-body:    'Public Sans', system-ui, -apple-system, sans-serif;

  --fs-h1: clamp(2.25rem, 4.2vw, 3.625rem);
  --fs-h2: clamp(1.875rem, 3.5vw, 2.875rem);
  --fs-h3: clamp(1.25rem, 1.75vw, 1.5rem);
  --fs-h4: 1.125rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-eyebrow: 0.8125rem;

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;
  --gutter: clamp(1.25rem, 3vw, 2rem);

  /* Form */
  --radius-sm: 6px;
  --radius:    8px;
  --radius-lg: 12px;
  --radius-xl: 18px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --speed-fast: 180ms;
  --speed: 320ms;
  --speed-slow: 520ms;

  /* Shadow (warm) */
  --shadow-sm: 0 1px 2px rgba(20, 49, 90, 0.06), 0 1px 3px rgba(20, 49, 90, 0.04);
  --shadow:    0 4px 12px rgba(20, 49, 90, 0.06), 0 2px 6px rgba(20, 49, 90, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(20, 49, 90, 0.18), 0 8px 16px -8px rgba(20, 49, 90, 0.08);

  /* Mobile-specific tokens */
  --mobile-gutter: 1.25rem;
  --mobile-section-pad: clamp(2.5rem, 9vw, 4rem);
  --mobile-touch-min: 48px;
  --fs-h1-mobile: clamp(2rem, 7vw, 2.625rem);
  --fs-h2-mobile: clamp(1.5rem, 5.5vw, 2rem);
  --fs-body-mobile: 1rem;
}

/* ── Mobile typography baseline (≤ 720 px) ─────────────────────────── */
@media (max-width: 720px) {
  :root { --gutter: var(--mobile-gutter); }
  body { font-size: var(--fs-body-mobile); }
  h1 { font-size: var(--fs-h1-mobile); line-height: 1.12; }
  h2 { font-size: var(--fs-h2-mobile); line-height: 1.18; }
  .btn, .btn-lg { min-height: var(--mobile-touch-min); }
}

/* ── Body scroll lock when fullscreen menu open ───────────────────── */
body[data-menu-open="true"] {
  overflow: hidden;
  touch-action: none;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* Anchor scroll target offset — accounts for fixed nav (109px) + extra breath */
section[id] {
  scroll-margin-top: 140px;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-cream);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
a { color: inherit; text-decoration: none; transition: color var(--speed-fast) var(--ease); }
a:hover { color: var(--color-clay); }

ul, ol { list-style: none; }

/* ── TYPOGRAPHY ───────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-bark);
}

h1 { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; }
h2 { font-size: var(--fs-h2); font-weight: 600; }
h3 { font-size: var(--fs-h3); font-weight: 600; }
h4 { font-size: var(--fs-h4); font-weight: 600; }

h1 em, h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--color-clay);
}

p { color: var(--color-stone); line-height: 1.65; }
strong { font-weight: 600; color: var(--color-ink); }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-clay);
  margin-bottom: 1rem;
}

/* ── LAYOUT ───────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 0.5rem; }
.section-lead { font-size: 1.125rem; max-width: 60ch; }
.section-head-center .section-lead { margin: 1rem auto 0; }

/* ── BUTTONS ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--speed) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}

.btn-lg { padding: 1.05rem 1.85rem; font-size: 1rem; }

.btn-primary {
  background: var(--color-bark);
  color: var(--color-cream);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--color-ink);
  color: var(--color-cream);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

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

/* ── NAV — Editorial Masthead ────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(244, 248, 252, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--color-bark);
  border-bottom: 1px solid var(--color-line);
  transition: background-color 320ms var(--ease), transform 360ms var(--ease), border-bottom-color 320ms var(--ease);
  will-change: transform;
}
.nav.scrolled {
  background: rgba(244, 248, 252, 0.96);
  border-bottom-color: var(--color-bark);
}
.nav.nav-hidden { transform: translateY(-100%); }

body { padding-top: 132px; }
@media (max-width: 880px) {
  body { padding-top: 102px; }
  .nav-inner { height: 64px; }
  .nav-logo .brand-mark { height: 44px; }
  .nav-toptab-tagline { display: none; }
}
@media (max-width: 540px) {
  body { padding-top: 64px; }
  .nav-toptab { display: none; }
  .nav-logo .brand-mark { height: 36px; }
  .footer-logo .brand-mark-footer { height: 44px; }
}

/* Top contact strip */
.nav-toptab {
  background: var(--color-paper);
  border-bottom: 1px solid var(--color-line);
}
.nav-toptab-inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  height: 36px;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 0.8125rem;
  color: var(--color-stone);
}
.nav-toptab-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-stone);
  font-weight: 500;
  letter-spacing: 0.005em;
  transition: color 220ms var(--ease);
}
.nav-toptab-tagline { font-weight: 400; letter-spacing: 0.01em; }
.nav-toptab-spacer { flex: 1; }
a.nav-toptab-item:hover { color: var(--color-bark); }
a.nav-toptab-item svg { color: var(--color-clay); }

.nav-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  height: 96px;
  padding: 0;
}

/* Brand block — left, separated by hairline */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 clamp(1rem, 2vw, 1.5rem) 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-bark);
  letter-spacing: -0.015em;
  border-right: 1px solid var(--color-line);
}
.nav-logo .brand-mark {
  height: 80px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 600ms var(--ease);
}
.nav-logo:hover .brand-mark { transform: translateY(-1px) scale(1.05); }

/* Links — each one in its own column with a vertical hairline */
.nav-links {
  display: flex;
  align-items: stretch;
  margin: 0 auto;
}
.nav-links a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 clamp(0.65rem, 1.2vw, 1.05rem);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  white-space: nowrap;
  color: var(--color-stone);
  border-right: 1px solid var(--color-line);
  transition: color 220ms var(--ease), background-color 280ms var(--ease);
}
.nav-links a:first-child { border-left: 1px solid var(--color-line); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 2px;
  background: var(--color-bark);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 320ms var(--ease);
}
.nav-links a:hover {
  color: var(--color-bark);
  background: rgba(61, 108, 168, 0.05);
}
.nav-links a:hover::after { transform: scaleX(1); }

/* CTA cell — flush right, dark, sharp edges, takes its own column */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 clamp(1.1rem, 2vw, 1.6rem);
  height: 100%;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--color-cream);
  background: var(--color-bark);
  border-radius: 0;
  border: 0;
  border-left: 1px solid var(--color-bark);
  box-shadow: none;
  transition: background-color 280ms var(--ease), letter-spacing 320ms var(--ease);
}
.nav-cta svg { transition: transform 280ms var(--ease); }
.nav-cta:hover {
  background: #0A1F3A;
  color: var(--color-cream);
  transform: none;
}
.nav-cta:hover svg { transform: translateX(3px); }

.nav-toggle {
  display: none;
  width: var(--mobile-touch-min);
  height: var(--mobile-touch-min);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  position: relative;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-bark);
  border-radius: 2px;
  transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════════════════
   FULLSCREEN MOBILE MENU — fade + stagger, body scroll-locked
   ═══════════════════════════════════════════════════════════════════════ */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  z-index: 1000;
  background: var(--color-cream);
  flex-direction: column;
  padding: 0;
  border-top: 1px solid var(--color-bark);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms var(--ease);
}
.mobile-menu[data-open="true"] {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

/* Top bar: logo left, close button right */
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem var(--gutter);
  border-bottom: 1px solid var(--color-line);
  flex-shrink: 0;
}
.mobile-menu-logo img,
.mobile-menu-logo picture { height: 56px; width: auto; display: block; }
.mobile-menu-close {
  width: var(--mobile-touch-min);
  height: var(--mobile-touch-min);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--color-line);
  color: var(--color-bark);
  cursor: pointer;
  transition: border-color var(--speed) var(--ease), background-color var(--speed) var(--ease);
}
.mobile-menu-close:hover { border-color: var(--color-bark); background: var(--color-paper); }

/* Link list — large, generous tap area, hairline separators */
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.5rem var(--gutter);
  overflow-y: auto;
}
.mobile-menu-nav a {
  display: block;
  padding: 1.15rem 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--color-bark);
  border-bottom: 1px solid var(--color-line);
  transition: color var(--speed-fast) var(--ease), padding-left var(--speed-fast) var(--ease);
  opacity: 0;
  transform: translateY(8px);
}
.mobile-menu[data-open="true"] .mobile-menu-nav a {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 320ms var(--ease) var(--stagger, 0ms),
              transform 320ms var(--ease) var(--stagger, 0ms),
              color var(--speed-fast) var(--ease),
              padding-left var(--speed-fast) var(--ease);
}
.mobile-menu-nav a:nth-child(1) { --stagger: 80ms; }
.mobile-menu-nav a:nth-child(2) { --stagger: 130ms; }
.mobile-menu-nav a:nth-child(3) { --stagger: 180ms; }
.mobile-menu-nav a:nth-child(4) { --stagger: 230ms; }
.mobile-menu-nav a:nth-child(5) { --stagger: 280ms; }
.mobile-menu-nav a:nth-child(6) { --stagger: 330ms; }
.mobile-menu-nav a:hover,
.mobile-menu-nav a:focus-visible {
  color: var(--color-clay);
  padding-left: 0.4rem;
  outline: none;
}
.mobile-menu-nav a.active {
  font-weight: 700;
  color: var(--color-bark);
  position: relative;
}
.mobile-menu-nav a.active::before {
  content: "";
  position: absolute;
  left: -0.65rem;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: var(--color-bark);
}

/* Primary CTA — full-width, prominent */
.mobile-menu-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 0.75rem var(--gutter) 0.5rem;
  padding: 1.1rem 1.4rem;
  background: var(--color-bark);
  color: var(--color-cream);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  border: 1px solid var(--color-bark);
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 320ms var(--ease) 380ms, transform 320ms var(--ease) 380ms,
              background-color var(--speed) var(--ease);
}
.mobile-menu[data-open="true"] .mobile-menu-cta {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu-cta:hover { background: var(--color-ink); color: var(--color-cream); }
.mobile-menu-cta svg { transition: transform var(--speed) var(--ease); }
.mobile-menu-cta:hover svg { transform: translateX(3px); }

/* Contact bar — bottom-anchored eyebrow style */
.mobile-menu-contact {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.1rem var(--gutter) calc(1.1rem + env(safe-area-inset-bottom, 0));
  border-top: 1px solid var(--color-line);
  background: var(--color-paper);
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 320ms var(--ease) 430ms, transform 320ms var(--ease) 430ms;
}
.mobile-menu[data-open="true"] .mobile-menu-contact {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu-contact a,
.mobile-menu-contact span {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9375rem;
  color: var(--color-stone);
  min-height: var(--mobile-touch-min);
}
.mobile-menu-contact a {
  color: var(--color-bark);
  font-weight: 500;
}
.mobile-menu-contact a:hover { color: var(--color-clay); }
.mobile-menu-contact svg { color: var(--color-clay); flex-shrink: 0; }

/* Reduced motion: everything snaps */
@media (prefers-reduced-motion: reduce) {
  .mobile-menu,
  .mobile-menu-nav a,
  .mobile-menu-cta,
  .mobile-menu-contact {
    transition: opacity 80ms linear !important;
    transform: none !important;
  }
}

/* Show hamburger toggle, hide desktop nav at ≤ 880 px */
@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* Smaller phone refinement */
@media (max-width: 540px) {
  .mobile-menu-nav a { font-size: 1.375rem; padding: 1.05rem 0; }
  .mobile-menu-logo img,
  .mobile-menu-logo picture { height: 48px; }
}

/* ── HERO ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.blob-1 {
  width: 520px; height: 520px;
  top: -120px; right: -160px;
  background: radial-gradient(circle, var(--color-amber) 0%, transparent 70%);
  animation: float 22s ease-in-out infinite;
}
.blob-2 {
  width: 420px; height: 420px;
  bottom: -100px; left: -120px;
  background: radial-gradient(circle, #B8D4F0 0%, transparent 70%);
  animation: float 28s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, -30px) scale(1.05); }
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

/* Hero flow-line — subtle decorative thread, sits BEHIND text and visuals.
   Fades in late so it doesn't pop in before the rest of the page settles. */
.hero-flowline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
  /* start invisible, fade in after content reveal animations have run */
  opacity: 0;
  animation: flowlineEnter 1400ms cubic-bezier(0.33, 1, 0.68, 1) 1100ms forwards;
}
@keyframes flowlineEnter {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Multiple flowing dashes — each line at a different speed */
.fl-d-1 { animation: flowDashMove 11s linear infinite; }
.fl-d-2 { animation: flowDashMove 9s linear infinite reverse; }
.fl-d-3 { animation: flowDashMove 13s linear infinite; }

@keyframes flowDashMove {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -1550; }  /* full cycle of dasharray (50–80 + 1500) */
}
.flowline-dot {
  filter: drop-shadow(0 0 3px rgba(10, 20, 66, 0.35));
}

@media (prefers-reduced-motion: reduce) {
  .hero-flowline { animation: none; opacity: 1; }
  .fl-d-1, .fl-d-2, .fl-d-3 { animation: none; }
  .flowline-dot animateMotion { display: none; }
}

/* ── Vertical sibling flowline — left side, top→bottom ───────────────
   Same topographic DNA as .hero-flowline, transposed.
   Sits in the gap between viewport-left and the container.
   Hidden on narrow viewports where there's no room. */
.hero-flowline-v {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  /* Element-Box bleibt schmal (vor dem Text). Pfade gehen in der viewBox
     weit nach rechts — overflow: visible lässt sie außerhalb der Box rendern.
     clip-path L-shape begrenzt das overflow auf den UNTEREN Hero-Bereich. */
  width: calc((100vw - var(--container, 1200px)) / 2 + 24px);
  max-width: 380px;
  min-width: 140px;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
  opacity: 0;

  /* Two-island clip-path:
     • TOP band (0–75%): schmal — wavy vertikale Linien, deeper into hero
     • MID band (75–92%): KOMPLETT ausgespart — Trust-Stats frei
     • BOTTOM band (92–100%): breit (2000% width) — Knick + Verbindung läuft
       weit nach rechts und überlappt mit dem .hero-flowline Cluster. */
  clip-path: polygon(
    0 0,
    100% 0,
    100% 75%,
    0 75%,
    0 92%,
    2000% 92%,
    2000% 100%,
    0 100%
  );
  -webkit-clip-path: polygon(
    0 0,
    100% 0,
    100% 75%,
    0 75%,
    0 92%,
    2000% 92%,
    2000% 100%,
    0 100%
  );

  animation: flowlineEnter 1400ms cubic-bezier(0.33, 1, 0.68, 1) 1300ms forwards;
}

.fl-v-d-1 { animation: flowDashMoveV 11s linear infinite; }
.fl-v-d-2 { animation: flowDashMoveV 9s linear infinite reverse; }
.fl-v-d-3 { animation: flowDashMoveV 13s linear infinite; }

@keyframes flowDashMoveV {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -1550; }
}

.flowline-dot-v {
  filter: drop-shadow(0 0 4px rgba(91, 143, 217, 0.6));
}

@media (prefers-reduced-motion: reduce) {
  .hero-flowline-v { animation: none; opacity: 1; }
  .fl-v-d-1, .fl-v-d-2, .fl-v-d-3 { animation: none; }
  .flowline-dot-v animateMotion { display: none; }
}

@media (max-width: 1280px) {
  /* Container füllt fast komplett den Viewport — kein Platz links neben Text */
  .hero-flowline-v { display: none; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.hero-copy h1 {
  margin: 0.85rem 0 1.5rem;
  max-width: 22ch;
}

/* Rotating words — words occupy the same grid cell, slide up + fade */
.rotating-words {
  display: inline-grid;
  grid-template-areas: "stack";
  vertical-align: bottom;
  position: relative;
  overflow: hidden;
  padding-bottom: 0.05em; /* prevent descender clipping */
}
.rotating-words em {
  grid-area: stack;
  font-style: italic;
  font-weight: 500;
  color: var(--color-clay);
  white-space: nowrap;
  opacity: 0;
  animation: rotateWord 16s infinite cubic-bezier(0.65, 0, 0.35, 1);
  animation-fill-mode: both;
}
.rotating-words em:nth-child(1) { animation-delay: 0s; }
.rotating-words em:nth-child(2) { animation-delay: 4s; }
.rotating-words em:nth-child(3) { animation-delay: 8s; }
.rotating-words em:nth-child(4) { animation-delay: 12s; }

@keyframes rotateWord {
  0%      { opacity: 0; transform: translateY(40%); }
  4%      { opacity: 1; transform: translateY(0); }
  22%     { opacity: 1; transform: translateY(0); }
  27%     { opacity: 0; transform: translateY(-40%); }
  99.9%   { opacity: 0; transform: translateY(-40%); }
  100%    { opacity: 0; transform: translateY(40%); }
}

@media (prefers-reduced-motion: reduce) {
  .rotating-words em { animation: none; opacity: 0; }
  .rotating-words em:first-child { opacity: 1; }
}
.hero-lead {
  font-size: 1.0625rem;
  max-width: 44ch;
  line-height: 1.55;
  color: var(--color-stone);
  margin-bottom: 1.5rem;
}

.hero-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.hero-trust {
  display: flex;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-line);
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.trust-item strong {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--color-bark);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.trust-item span {
  font-size: 0.8125rem;
  color: var(--color-stone);
  line-height: 1.4;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;   /* anchor the visual to the top of its column */
  align-self: start;          /* and the column itself starts at top of grid */
  min-height: 460px;
  padding-top: clamp(2.5rem, 3vw, 2.75rem);  /* badge aligns with first headline line */
  /* push the visual block past the column edge so the video sits further right */
  margin-right: clamp(-6rem, -6vw, -2.5rem);
}

.hero-card {
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  width: 100%;
  max-width: 360px;
}
.hero-card-1 {
  position: relative;
  z-index: 2;
  transform: rotate(-1.5deg);
}

/* Hero video — showcases the physical eHBA + SMC-B cards in motion */
.hero-video {
  position: relative;
  z-index: 2;
  width: 620px;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 32px;
  overflow: hidden;
  isolation: isolate;                  /* fixes overflow + transform clipping */
  -webkit-mask-image: -webkit-radial-gradient(white, black); /* Safari clip fallback */
  background: var(--color-bark);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.6) inset,
    0 32px 64px -14px rgba(20, 49, 90, 0.34),
    0 12px 24px -10px rgba(20, 49, 90, 0.16);
  transform: rotate(-1.5deg);
  transition:
    transform 700ms cubic-bezier(0.33, 1, 0.68, 1),
    box-shadow 900ms cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.hero-video:hover {
  transform: rotate(0deg) scale(1.025) translateY(-4px);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.7) inset,
    0 44px 88px -16px rgba(20, 49, 90, 0.42),
    0 18px 36px -12px rgba(20, 49, 90, 0.22);
}
.hero-video video {
  transition: transform 1200ms cubic-bezier(0.33, 1, 0.68, 1);
}
.hero-video:hover video {
  transform: scale(1.05);
}
.hero-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}
/* subtle warm-tinted overlay so the cool blue video integrates with the
   warm-cream background of the hero — never washes out, just softens */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    160deg,
    rgba(244, 248, 252, 0) 0%,
    rgba(244, 248, 252, 0) 55%,
    rgba(20, 49, 90, 0.18) 100%
  );
  mix-blend-mode: multiply;
}
/* Live badge on top-left of video — adds context */
.hero-video-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem 0.35rem 0.65rem;
  background: rgba(20, 49, 90, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(244, 248, 252, 0.18);
  border-radius: 999px;
  color: var(--color-cream);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hvb-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-amber);
  box-shadow: 0 0 0 3px rgba(91, 143, 217, 0.25);
  animation: hvbPulse 2.4s ease-in-out infinite;
}
@keyframes hvbPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.85); }
}
.hero-card-2 {
  position: absolute;
  bottom: -1.5rem;
  right: -3.5rem;
  z-index: 3;
  max-width: 240px;
  padding: 1.25rem;
  transform: rotate(3deg);
  background: linear-gradient(135deg, var(--color-bark), #1E4475);
  color: var(--color-cream);
  border-color: transparent;
}

/* Card-3 — Partners + DE flag, sits top-right of the video */
.hero-card-3 {
  position: absolute;
  top: -1.25rem;
  right: -0.75rem;
  z-index: 3;
  width: max-content;
  max-width: 260px;
  padding: 0.85rem 1.1rem;
  transform: rotate(-1.5deg);
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.7) inset,
    0 12px 28px -10px rgba(20, 49, 90, 0.20),
    0 4px 8px -4px rgba(20, 49, 90, 0.10);
}
.hc-flagrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-bottom: 0.6rem;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid var(--color-line);
}
.hc-flag {
  flex-shrink: 0;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(20, 49, 90, 0.15);
}
.hc-flaglabel {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-stone);
}
.hc-partnerlogos {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.hc-partnerlogos img {
  height: 26px;
  width: auto;
  max-width: 84px;
  object-fit: contain;
  filter: grayscale(35%) opacity(0.92);
}
.hc-partnerdivider {
  display: inline-block;
  width: 1px;
  height: 18px;
  background: var(--color-line);
}

.hc-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-stone);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--color-line);
}
.hc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 4px rgba(107, 142, 90, 0.18);
}

.hc-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
}
.hc-row-done { color: var(--color-success); }
.hc-row-done svg { color: var(--color-success); }
.hc-row-done span { color: var(--color-ink); }

.hc-row-active { color: var(--color-attention); }
.hc-row-active span { color: var(--color-ink); font-weight: 500; }

.hc-row-pending { color: var(--color-stone); }
.hc-row-pending span { color: var(--color-stone); }

.hc-spinner {
  width: 18px; height: 18px;
  border: 2px solid var(--color-line);
  border-top-color: var(--color-attention);
  border-radius: 50%;
  animation: spin 1.4s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hc-circle {
  width: 18px; height: 18px;
  border: 2px dashed var(--color-line);
  border-radius: 50%;
}

.hc-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-amber);
  margin-bottom: 0.65rem;
}
.hc-amount {
  display: block;
  font-family: var(--font-display);
  font-size: 2.125rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-cream);
  line-height: 1;
  margin-bottom: 0.4rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.hc-note {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(244, 248, 252, 0.85);
  letter-spacing: 0.005em;
}

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 320px; margin-top: 1rem; }
}

/* ── WAS IST TI — same standard treatment as other sections ────────────── */
.was-ist-ti {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background: var(--color-paper);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.was-ist-ti .eyebrow-light {
  color: var(--color-clay);
}
.ti-banner-head {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}
.ti-banner-head h2 {
  color: var(--color-bark);
  margin-top: 0.4rem;
  font-size: clamp(1.625rem, 2.5vw, 2.125rem);
}

/* Glossary — three terms in horizontal columns separated by hairlines */
.ti-glossary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(61, 108, 168, 0.25);
}
.ti-term {
  padding: clamp(1.5rem, 2.5vw, 2rem) clamp(1.25rem, 2vw, 2rem);
  border-right: 1px solid rgba(61, 108, 168, 0.25);
}
.ti-term:last-child { border-right: none; }

.ti-term dt {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-bark);
  margin-bottom: 0.4rem;
}
.ti-term-num {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-clay);
  font-family: var(--font-display);
}

.ti-term-def {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-stone);
  margin-bottom: 1rem;
}

.ti-term-body {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-ink);
}
.ti-term-body strong {
  color: var(--color-bark);
  font-weight: 600;
}

/* Footer band beneath glossary */
.ti-banner-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: clamp(2rem, 3.5vw, 3rem);
  padding-top: clamp(1.5rem, 2.5vw, 2rem);
  border-top: 1px solid rgba(61, 108, 168, 0.25);
  font-size: 0.9375rem;
  color: var(--color-ink);
}
.ti-banner-foot strong { color: var(--color-bark); font-weight: 600; }

.ti-banner-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  color: var(--color-bark);
  text-decoration: underline;
  text-decoration-color: var(--color-clay);
  text-underline-offset: 4px;
  transition: color 220ms var(--ease), gap 280ms var(--ease);
}
.ti-banner-link:hover { color: var(--color-clay); gap: 0.65rem; }

@media (max-width: 880px) {
  .ti-glossary { grid-template-columns: 1fr; }
  .ti-term {
    border-right: none;
    border-bottom: 1px solid rgba(61, 108, 168, 0.25);
  }
  .ti-term:last-child { border-bottom: none; }
  .ti-banner-foot { justify-content: flex-start; }
}

/* ── ÜBER UNS ─────────────────────────────────────────────────────────── */
.ueber-uns {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}
.uu-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.uu-copy h2 { margin: 0.5rem 0 1.25rem; }
.uu-copy p {
  font-size: 1.0625rem;
  line-height: 1.65;
  margin-bottom: 1rem;
  max-width: 56ch;
}
.uu-quote {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 2.5rem;
  margin: 2rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--color-bark);
  background: var(--color-paper);
  border-left: 3px solid var(--color-clay);
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 56ch;
}
.uu-quote-mark {
  font-family: var(--font-display);
  color: var(--color-amber);
  font-size: 1.5em;
  line-height: 1;
  font-style: normal;
}
.uu-quote-author {
  display: block;
  font-size: 0.875rem;
  color: var(--color-stone);
  font-weight: 500;
}

.uu-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
.uu-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}
.uu-stat strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-bark);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.uu-stat span {
  font-size: 0.8125rem;
  color: var(--color-stone);
}

@media (max-width: 880px) {
  .uu-grid { grid-template-columns: 1fr; }
  .uu-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .uu-stats { grid-template-columns: 1fr; }
}

/* ── PROCESS ──────────────────────────────────────────────────────────── */
.process {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background: var(--color-paper);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: var(--color-cream);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--color-clay);
}

.step-num {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-clay);
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { font-size: var(--fs-small); }

@media (max-width: 880px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ── PROCESS — horizontal card carousel, left → right, nav-DNA hover ───── */
.process-carousel {
  position: relative;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.5rem, 2.5vw, 2rem) 0;
  overflow: hidden;
  border-top: 1px solid rgba(61, 108, 168, 0.25);
  border-bottom: 1px solid rgba(61, 108, 168, 0.25);
}

.process-carousel-track {
  display: flex;
  gap: clamp(0.85rem, 1.5vw, 1.25rem);
  width: max-content;
  padding: 0 clamp(0.85rem, 1.5vw, 1.25rem);
  /* Cards travel left → right: track translates from -50% to 0 */
  animation: process-scroll 90s linear infinite;
}

.process-carousel:hover .process-carousel-track,
.process-carousel:focus-within .process-carousel-track {
  animation-play-state: paused;
}

.process-step {
  flex: 0 0 auto;
  width: clamp(260px, 24vw, 340px);
  padding: clamp(1.75rem, 2.5vw, 2.25rem) clamp(1.5rem, 2vw, 1.85rem);
  position: relative;
  background: var(--color-cream);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 320ms var(--ease),
              box-shadow 320ms var(--ease),
              border-color 320ms var(--ease);
  display: flex;
  flex-direction: column;
}
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--color-clay);
}

/* Nav-DNA: 2px bottom bar — scaleX 0 → 1 on hover, sits inside the rounded corner */
.process-step::after {
  content: "";
  position: absolute;
  left: 8%; right: 8%;
  bottom: 6px;
  height: 2px;
  background: var(--color-bark);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 320ms var(--ease);
  border-radius: 1px;
}
.process-step:hover::after {
  transform: scaleX(1);
}

.process-step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--color-clay);
  margin-bottom: 1rem;
}
.process-step h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-bark);
  line-height: 1.32;
  letter-spacing: -0.01em;
  margin: 0 0 0.55rem;
}
.process-step p {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--color-stone);
  margin: 0;
}

/* Direction: cards slide from right → left (track translates from 0 to -50%) */
@keyframes process-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Sharp-edge "shiny" masks — page-bg gradient + metallic accent line */
.process-carousel-edge {
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(72px, 9vw, 130px);
  pointer-events: none;
  z-index: 2;
}
.process-carousel-edge-left {
  left: 0;
  background:
    /* sharp metallic strip on the inner edge */
    linear-gradient(90deg, transparent calc(100% - 2px), rgba(61, 108, 168, 0.55) calc(100% - 2px), rgba(61, 108, 168, 0.55) 100%),
    /* main fade — paper to transparent, blocky */
    linear-gradient(90deg, var(--color-paper) 0%, var(--color-paper) 35%, rgba(251, 253, 254, 0) 100%);
}
.process-carousel-edge-right {
  right: 0;
  background:
    linear-gradient(270deg, transparent calc(100% - 2px), rgba(61, 108, 168, 0.55) calc(100% - 2px), rgba(61, 108, 168, 0.55) 100%),
    linear-gradient(270deg, var(--color-paper) 0%, var(--color-paper) 35%, rgba(251, 253, 254, 0) 100%);
}

/* Animated shimmer — runs vertically across the metallic strip */
.process-carousel-edge::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 24px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(244, 248, 252, 0.85) 40%,
    rgba(255, 255, 255, 1) 50%,
    rgba(244, 248, 252, 0.85) 60%,
    transparent 100%);
  mix-blend-mode: overlay;
  opacity: 0;
  animation: edge-shimmer 4.5s ease-in-out infinite;
}
.process-carousel-edge-left::before { right: -2px; animation-delay: 0s; }
.process-carousel-edge-right::before { left: -2px; animation-delay: 2.25s; }

@keyframes edge-shimmer {
  0%, 100% { opacity: 0; transform: translateY(-30%); }
  50% { opacity: 1; transform: translateY(30%); }
}

@media (prefers-reduced-motion: reduce) {
  .process-carousel-track { animation: none; }
  .process-carousel-edge::before { animation: none; opacity: 0; }
}

@media (max-width: 540px) {
  .process-step { width: 80vw; }
  .process-carousel-edge { width: 48px; }
}

/* ── SPLIT ────────────────────────────────────────────────────────────── */
.split {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.split-col {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
}
.split-pain {
  background: transparent;
}
.split-pain h2 { color: var(--color-stone); }
.split-gain {
  background: var(--color-paper);
  box-shadow: var(--shadow);
}

.split-col h2 { margin-bottom: 1.5rem; }

.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.checklist li {
  position: relative;
  padding-left: 1.85rem;
  font-size: var(--fs-small);
  color: var(--color-ink);
  line-height: 1.55;
}
.checklist-x li::before,
.checklist-check li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px 12px;
}
.checklist-x li {
  color: var(--color-stone);
  text-decoration: line-through;
  text-decoration-color: rgba(122, 107, 92, 0.3);
}
.checklist-x li::before {
  background-color: rgba(197, 123, 78, 0.12);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'><path d='M3 3l6 6M9 3l-6 6' stroke='%23C57B4E' stroke-width='1.8' stroke-linecap='round'/></svg>");
}
.checklist-check li::before {
  background-color: rgba(107, 142, 90, 0.15);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'><path d='M3 6.5L5 8.5l4-5' stroke='%236B8E5A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

@media (max-width: 720px) { .split-inner { grid-template-columns: 1fr; } }

/* ── LEISTUNGEN / PRODUKTE ────────────────────────────────────────────── */
.leistungen {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background: var(--color-paper);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  outline: 1px solid transparent;
  outline-offset: -1px;
  transition: outline-color 500ms cubic-bezier(0.4, 0, 0.2, 1);
}
.product:hover {
  outline-color: var(--color-clay);
}

.product-featured {
  /* badge handles the visual emphasis — no border needed */
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-cream);
  background: var(--color-bark);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(20, 49, 90, 0.18);
}

.product-image {
  padding: clamp(0.75rem, 1.5vw, 1.25rem) clamp(1.25rem, 2.5vw, 2rem) 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-image img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: contain;
  transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}
.product:hover .product-image img {
  transform: scale(1.04);
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(1rem, 2vw, 1.5rem) clamp(1.5rem, 2.5vw, 2rem) clamp(1.25rem, 2vw, 1.75rem);
}

.product-head { margin-bottom: 1.25rem; }
.product-head h3 { margin-bottom: 0.4rem; }
.product-head p { font-size: var(--fs-small); }

.product-microhead {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-clay);
  margin-bottom: 0.85rem;
}

/* Screen-reader only — keeps content for SEO/a11y, hides visually */
.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;
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-line);
}
.product-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-ink);
}
.product-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background-color: rgba(61, 108, 168, 0.15);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10' fill='none'><path d='M2 5l2 2 4-5' stroke='%238B6F47' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
}

.product-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  margin-top: auto;
  padding-top: 0.25rem;
}
.product-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-bark);
  line-height: 1;
}
.price-note {
  font-size: 0.875rem;
  color: var(--color-stone);
}

.product-payment-note {
  margin-top: 0.85rem;
  font-size: 0.75rem;
  color: var(--color-stone);
  text-align: center;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.buy-button-target {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* ── ENHANCED BUY BUTTON — centered, prominent, unmistakably-a-button ── */
.btn-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-width: 240px;
  padding: 1.2rem 2.4rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--color-cream);
  background: linear-gradient(135deg, var(--color-bark) 0%, #0A1F3A 100%);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.12) inset,
    0 8px 20px rgba(20, 49, 90, 0.22),
    0 2px 6px rgba(20, 49, 90, 0.12);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.btn-buy::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-clay) 0%, var(--color-bark) 100%);
  opacity: 0;
  transition: opacity var(--speed) var(--ease);
  z-index: 0;
}
.btn-buy > * { position: relative; z-index: 1; }
.btn-buy svg {
  transition: transform var(--speed) var(--ease);
}
.btn-buy:hover {
  color: var(--color-cream);
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.15) inset,
    0 16px 36px rgba(20, 49, 90, 0.32),
    0 6px 12px rgba(20, 49, 90, 0.18);
}
.btn-buy:hover::before { opacity: 1; }
.btn-buy:hover svg { transform: translateX(4px); }
.btn-buy:active { transform: translateY(0); }
.btn-buy:focus-visible {
  outline: 3px solid var(--color-amber);
  outline-offset: 3px;
}
/* Loading state — fired while we create the Storefront cart */
.btn-buy.is-loading {
  pointer-events: none;
  opacity: 0.85;
  cursor: progress;
}
.btn-buy.is-loading svg { opacity: 0.5; }

.leistungen-foot {
  text-align: center;
  font-size: var(--fs-small);
  color: var(--color-stone);
}
.leistungen-foot a {
  color: var(--color-bark);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--color-amber);
  text-underline-offset: 4px;
}

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

/* ── TRUST ────────────────────────────────────────────────────────────── */
.trust {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}

/* Editorial stat row — open layout, hairline dividers, no card wrapper */
.trust-numbers {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.num-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  padding: 0 clamp(0.75rem, 1.5vw, 1.25rem);
  position: relative;
}
.num-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 12%;
  bottom: 12%;
  right: 0;
  width: 1px;
  background: var(--color-line);
}

.num-item strong {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-bark);
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.num-item span {
  font-size: 0.8125rem;
  color: var(--color-stone);
  line-height: 1.4;
  max-width: 18ch;
}

.partners {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.partners-label {
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-stone);
}
.partners-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.partner-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  transition: background-color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.partner-link:hover {
  background-color: rgba(61, 108, 168, 0.08);
  transform: translateY(-2px);
}
.partner-link:focus-visible {
  outline: 2px solid var(--color-clay);
  outline-offset: 2px;
}
.partner-img {
  height: 88px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  filter: grayscale(60%) opacity(0.85);
  transition: filter var(--speed) var(--ease);
}
.partner-link:hover .partner-img {
  filter: grayscale(0%) opacity(1);
}
.partners-row:hover .partner-link:not(:hover) .partner-img {
  filter: grayscale(80%) opacity(0.5);
}
@media (max-width: 540px) {
  .partner-img { height: 64px; max-width: 220px; }
}

.partners-note {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-stone);
  max-width: 60ch;
  line-height: 1.55;
}
.partners-note strong { color: var(--color-bark); font-weight: 600; }

@media (max-width: 1024px) {
  .trust-numbers { grid-template-columns: repeat(3, 1fr); row-gap: 2.25rem; padding: 2.5rem 0; }
  .num-item:nth-child(3)::after { display: none; }
}
@media (max-width: 720px) {
  .trust-numbers { grid-template-columns: 1fr 1fr; row-gap: 2rem; padding: 2.5rem 0; }
  .num-item::after { display: none; }
  .num-item:nth-child(odd):not(:last-child) {
    border-right: 1px solid var(--color-line);
  }
  .partners-row { gap: 1.5rem; }
}
@media (max-width: 540px) {
  .trust-numbers { grid-template-columns: 1fr; row-gap: 1.5rem; }
  .num-item:nth-child(odd):not(:last-child) { border-right: none; }
  .num-item:not(:last-child) {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-line);
  }
}

/* ── TESTIMONIALS ─────────────────────────────────────────────────────── */
.stimmen {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background: var(--color-paper);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.75rem;
  background: var(--color-cream);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  position: relative;
}
.testimonial::before {
  content: """;
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--color-amber);
  opacity: 0.3;
}
.testimonial blockquote p {
  font-size: 1.0625rem;
  color: var(--color-ink);
  line-height: 1.55;
}
.testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-line);
}
.testimonial figcaption strong {
  font-size: 0.9375rem;
  color: var(--color-bark);
}
.testimonial figcaption span {
  font-size: 0.8125rem;
  color: var(--color-stone);
}

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

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq { padding: clamp(4rem, 7vw, 6.5rem) 0; }

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

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border-bottom: 1px solid var(--color-line);
  padding: 0.5rem 0;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--color-bark);
  cursor: pointer;
  list-style: none;
  transition: color var(--speed-fast) var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'><path d='M5 8l5 5 5-5' stroke='%238B6F47' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  transition: transform var(--speed) var(--ease);
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--color-clay); }
.faq-item p {
  padding: 0.25rem 0 1.25rem;
  font-size: 1rem;
  max-width: 65ch;
}

/* ── WISSEN ───────────────────────────────────────────────────────────── */
.wissen {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background: var(--color-paper);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.wissen-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.wissen-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem;
  background: var(--color-cream);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
  color: var(--color-ink);
}
.wissen-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--color-clay);
  color: var(--color-ink);
}
.wc-cat {
  display: inline-block;
  width: fit-content;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-clay);
  background: rgba(61, 108, 168, 0.1);
  border-radius: var(--radius-sm);
  margin-bottom: 0.25rem;
}
.wissen-card h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.25rem;
}
.wissen-card p { font-size: var(--fs-small); }
.wc-meta {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.8125rem;
  color: var(--color-stone);
  border-top: 1px solid var(--color-line);
}

@media (max-width: 880px) { .wissen-cards { grid-template-columns: 1fr; } }

/* ── QUIZ FUNNEL ──────────────────────────────────────────────────────── */
.quiz-funnel {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background: var(--color-paper);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

/* INTRO */
.quiz-intro {
  max-width: var(--container-narrow);
  margin: 0 auto;
  text-align: center;
}
.quiz-intro h2 { margin: 0.5rem 0 1rem; }
.quiz-intro > p {
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 60ch;
  margin: 0 auto 2rem;
}
.quiz-intro-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.quiz-intro-meta { font-size: 0.875rem; color: var(--color-stone); }

/* PROGRESS BAR */
.quiz-stage {
  max-width: 720px;
  margin: 0 auto;
}

/* Smooth question/option transitions on step change (mirrors bf-stage funnel) */
.quiz-stage.is-anim .quiz-question {
  animation: quizFadeIn 420ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.quiz-stage.is-anim .quiz-options .quiz-option {
  animation: quizFadeIn 480ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.quiz-stage.is-anim .quiz-options .quiz-option:nth-child(1) { animation-delay: 80ms; }
.quiz-stage.is-anim .quiz-options .quiz-option:nth-child(2) { animation-delay: 140ms; }
.quiz-stage.is-anim .quiz-options .quiz-option:nth-child(3) { animation-delay: 200ms; }
.quiz-stage.is-anim .quiz-options .quiz-option:nth-child(4) { animation-delay: 260ms; }
.quiz-stage.is-anim .quiz-options .quiz-option:nth-child(5) { animation-delay: 320ms; }

@keyframes quizFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.quiz-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.quiz-progress-bar {
  position: relative;
  flex: 1;
  height: 4px;
  background: var(--color-line);
  border-radius: 999px;
  overflow: hidden;
}
.quiz-progress-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--color-bark);
  border-radius: 999px;
  transition: width 500ms cubic-bezier(0.4, 0, 0.2, 1);
}
.quiz-progress-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-stone);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* QUESTION + OPTIONS */
.quiz-question {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-bark);
  margin-bottom: 1.5rem;
  letter-spacing: -0.015em;
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}
.quiz-option {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 1.05rem 1.25rem;
  background: var(--color-cream);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  color: var(--color-ink);
  cursor: pointer;
  transition:
    background-color 220ms var(--ease),
    border-color 220ms var(--ease),
    transform 220ms var(--ease);
}
.quiz-option-marker {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border: 1.5px solid var(--color-line);
  border-radius: 50%;
  position: relative;
  transition: border-color 220ms var(--ease);
}
.quiz-option:hover {
  background: var(--color-paper);
  border-color: var(--color-clay);
}
.quiz-option:hover .quiz-option-marker { border-color: var(--color-clay); }
.quiz-option.selected,
.quiz-option:focus-visible {
  background: var(--color-paper);
  border-color: var(--color-bark);
  outline: none;
}
.quiz-option.selected .quiz-option-marker {
  border-color: var(--color-bark);
  background: var(--color-bark);
}
.quiz-option.selected .quiz-option-marker::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--color-cream);
  border-radius: 50%;
}

.quiz-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.quiz-controls-spacer { flex: 1; }
.btn-text {
  background: none;
  border: 0;
  padding: 0.5rem 0.5rem;
  font-size: 0.875rem;
  color: var(--color-stone);
  text-decoration: underline;
  text-decoration-color: var(--color-line);
  text-underline-offset: 4px;
  cursor: pointer;
  transition: color 220ms var(--ease), text-decoration-color 220ms var(--ease);
}
.btn-text:hover { color: var(--color-bark); text-decoration-color: var(--color-clay); }

/* ANALYZING */
.quiz-analyzing {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(2rem, 4vw, 3.5rem) 0;
}
.quiz-analyzing-spinner {
  width: 48px; height: 48px;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--color-line);
  border-top-color: var(--color-bark);
  border-radius: 50%;
  animation: quizSpin 1s linear infinite;
}
@keyframes quizSpin { to { transform: rotate(360deg); } }
.quiz-analyzing strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--color-bark);
  margin-bottom: 1.25rem;
}
.quiz-analyzing-steps {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 320px;
  margin: 0 auto;
}
.quiz-analyzing-steps li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.75rem;
  font-size: 0.9375rem;
  color: var(--color-stone);
  opacity: 0.4;
  transition: opacity 320ms var(--ease), color 320ms var(--ease);
}
.quiz-analyzing-steps li::before {
  content: "○";
  position: absolute;
  left: 0;
  color: var(--color-line);
  font-size: 0.875rem;
}
.quiz-analyzing-steps li.active {
  opacity: 1;
  color: var(--color-bark);
}
.quiz-analyzing-steps li.active::before {
  content: "✓";
  color: var(--color-success);
}

/* RESULT */
.quiz-result {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.quiz-result h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 0.5rem 0 1rem;
}
.quiz-result-summary {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-stone);
  max-width: 56ch;
  margin: 0 auto 2.5rem;
}
.quiz-result-card {
  text-align: left;
  padding: 2rem;
  background: var(--color-cream);
  border: 1px solid var(--color-clay);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}

/* Calendar-only variant — qualified leads who don't need a package */
.quiz-result-card.quiz-result-card-cal {
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem);
  background: linear-gradient(180deg, var(--color-paper) 0%, var(--color-cream) 100%);
  border: 1px solid var(--color-clay);
  text-align: center;
}
.qrc-cal-placeholder {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}
.qrc-cal-icon {
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(61, 108, 168, 0.10);
  color: var(--color-bark);
  margin-bottom: 0.25rem;
}
.qrc-cal-placeholder strong {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-weight: 600;
  color: var(--color-bark);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.qrc-cal-placeholder p {
  font-size: 0.9375rem;
  color: var(--color-stone);
  margin: 0 0 0.5rem;
}
.quiz-cal-cta {
  margin-top: 0.5rem;
  min-width: 280px;
}

/* Inline Cal.com embed inside the quiz result card — replaces the placeholder
   on click of "Kalender öffnen" / "Termin sofort buchen" */
.quiz-result-calendar.quiz-cal-active {
  padding: 0;
  background: transparent;
  border: 0;
}
.quiz-cal-inline {
  width: 100%;
  min-height: 640px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-sm);
  animation: quiz-cal-fade 320ms var(--ease) both;
}
@keyframes quiz-cal-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 540px) {
  .quiz-cal-inline { min-height: 560px; }
}
.qrc-cal-alt {
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  color: var(--color-stone);
}
.qrc-cal-alt a {
  color: var(--color-bark);
  text-decoration: underline;
  text-decoration-color: var(--color-clay);
  text-underline-offset: 3px;
}
.qrc-cal-alt a:hover { color: var(--color-clay); }
.qrc-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-cream);
  background: var(--color-bark);
  border-radius: 999px;
  margin-bottom: 1rem;
}
.qrc-headline {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-bark);
  margin-bottom: 0.5rem;
}
.qrc-tagline {
  font-size: 1rem;
  color: var(--color-stone);
  margin-bottom: 1.25rem;
}
.qrc-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.qrc-bullets li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-ink);
}
.qrc-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-clay);
  font-weight: 700;
}
.qrc-price {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-line);
}
.qrc-price-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-bark);
  line-height: 1;
}
.qrc-price-note {
  font-size: 0.875rem;
  color: var(--color-stone);
}

.quiz-result-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

/* Newsletter (eliminated leads only) */
.quiz-newsletter {
  width: 100%;
  max-width: 520px;
  margin: 1.25rem auto 0;
  padding: 1.5rem;
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  text-align: left;
}
.quiz-newsletter-lead {
  font-size: 0.9375rem;
  color: var(--color-stone);
  margin-bottom: 1rem;
}
.quiz-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.quiz-newsletter-input {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-ink);
  background: var(--color-cream);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  transition: border-color 220ms var(--ease), background-color 220ms var(--ease);
}
.quiz-newsletter-input:focus {
  outline: none;
  border-color: var(--color-bark);
  background: #ffffff;
}
.quiz-newsletter-submit { width: 100%; }
.quiz-newsletter-msg {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--color-stone);
  min-height: 1.2em;
}
.quiz-newsletter-msg.is-error { color: #B83A3A; }
.quiz-newsletter-msg.is-warning { color: var(--color-attention); }
.quiz-newsletter-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 0;
  text-align: center;
  color: var(--color-success);
}
.quiz-newsletter-success strong {
  font-family: var(--font-display);
  color: var(--color-bark);
  font-size: 1.0625rem;
}
.quiz-newsletter-success span { font-size: 0.875rem; color: var(--color-stone); }
.quiz-result-restart {
  display: block;
  margin: 0 auto;
}

@media (max-width: 540px) {
  .quiz-progress { flex-direction: column-reverse; align-items: flex-start; gap: 0.5rem; }
  .quiz-progress-label { white-space: normal; }
  .quiz-options { gap: 0.5rem; }
  .quiz-option { padding: 0.85rem 1rem; }
  .quiz-result-card { padding: 1.5rem; }
}

/* ── BERATUNG / FINAL CTA ─────────────────────────────────────────────── */
.beratung {
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.beratung-inner {
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.75rem, 3vw, 3rem);
  background: linear-gradient(135deg, var(--color-paper) 0%, var(--color-cream) 100%);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

/* New layout: centered copy on top, full-width Cal.com below */
.beratung-head {
  max-width: 720px;
  margin: 0 auto clamp(2rem, 3.5vw, 3rem);
  text-align: center;
}
.beratung-head h2 { margin: 0.65rem 0 1rem; }
.beratung-head > p {
  max-width: 56ch;
  margin: 0 auto 1.75rem;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.beratung-bullets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1.85rem;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.beratung-bullets li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--color-ink);
}
.beratung-bullets li svg { color: var(--color-clay); flex-shrink: 0; }

/* Cal.com inline embed — no chrome, lets Cal own its UI */
.beratung-booking {
  position: relative;
  width: 100%;
}
#cal-embed {
  width: 100%;
  min-height: 760px;
  border-radius: var(--radius-lg);
  background: transparent;
  border: 0;
  overflow: visible;
}
#cal-embed iframe {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  background: var(--color-paper);
}

/* ── Cal.com Footer-Branding overlay ────────────────────────────────
   "Powered by Cal.com" sitzt unten im iframe und ist via Cross-Origin
   nicht stylbar. Wir legen einen Cream-Streifen drüber, der nahtlos in
   den iframe-Hintergrund übergeht. Ränder/Radius matchen das iframe-Frame. */
.beratung-booking::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--cal-mask-h, 135px);
  background: var(--color-paper);
  border-left: 1px solid var(--color-line);
  border-right: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  pointer-events: auto;       /* blockiert versehentliche Klicks aufs Branding */
  z-index: 5;
}
@media (max-width: 600px) {
  .beratung-booking::after { height: var(--cal-mask-h-mobile, 111px); }
}

/* Phone / Email row — under cal embed, centered */
.beratung-alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.85rem;
  margin: clamp(1.75rem, 3vw, 2.5rem) auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-line);
  font-size: 0.875rem;
  color: var(--color-stone);
  text-align: center;
}
.beratung-alt a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-bark);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--color-amber);
  text-underline-offset: 4px;
}
.beratung-alt a:hover { color: var(--color-clay); }
.beratung-alt .dot { color: var(--color-line); }

.calendly-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(61, 108, 168, 0.04) 0,
      rgba(61, 108, 168, 0.04) 12px,
      transparent 12px,
      transparent 24px
    ),
    var(--color-paper);
  border-style: dashed;
  border-color: var(--color-clay);
}
.cal-placeholder-inner {
  text-align: center;
  padding: 2.5rem 1.75rem;
  max-width: 360px;
}
.cal-placeholder-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px; height: 72px;
  margin-bottom: 1.25rem;
  background: rgba(61, 108, 168, 0.12);
  border-radius: 50%;
  color: var(--color-clay);
}
.cal-placeholder-inner strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-bark);
  margin-bottom: 0.5rem;
}
.cal-placeholder-inner p {
  font-size: 0.9375rem;
  color: var(--color-stone);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.cal-placeholder-inner .btn { width: 100%; }
.cal-placeholder-note {
  display: block;
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--color-stone);
  font-style: italic;
}

@media (max-width: 880px) {
  #cal-embed { min-height: 680px; }
}
@media (max-width: 540px) {
  #cal-embed { min-height: 620px; }
}

/* Hero microcopy under CTAs */
.hero-microcopy {
  margin-top: -1.25rem;
  margin-bottom: 0.65rem;
  font-size: 0.875rem;
  color: var(--color-stone);
}

/* Quick-buy shortcut for users who already know what they need */
.hero-quickbuy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 1.75rem;
  font-size: 0.875rem;
  color: var(--color-stone);
}
.hero-quickbuy-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.75rem 0.4rem 0.85rem;
  background: rgba(61, 108, 168, 0.08);
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 500;
  color: var(--color-bark);
  letter-spacing: -0.005em;
  transition:
    background-color 280ms var(--ease),
    border-color 280ms var(--ease),
    gap 280ms var(--ease);
}
.hero-quickbuy-link:hover {
  background: rgba(61, 108, 168, 0.14);
  border-color: var(--color-clay);
  color: var(--color-bark);
  gap: 0.75rem;
}
.hqb-prices {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-cream);
  background: var(--color-bark);
  border-radius: 999px;
  letter-spacing: 0;
}
.hero-quickbuy-link svg {
  margin-left: 0.05rem;
  transition: transform 280ms var(--ease);
}
.hero-quickbuy-link:hover svg { transform: translate(2px, -2px); }

/* ── FOOTER ───────────────────────────────────────────────────────────── */
.footer {
  position: relative;
  background: var(--color-bark);
  color: rgba(244, 248, 252, 0.8);
  padding: 0;
  margin-top: clamp(40px, 5vw, 70px); /* matches wave height — see .footer-wave */
  isolation: isolate;
}

/* Full-width container override — footer extends near edge-to-edge */
.footer .container {
  max-width: none;
  padding: 0 clamp(1.25rem, 3.5vw, 3rem);
}

/* Wavy top edge — sits above the footer, navy fill with curved upper edge */
.footer-wave {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  width: 100%;
  height: clamp(40px, 5vw, 70px);
  display: block;
  pointer-events: none;
  z-index: 1;
}
.footer-wave path { fill: var(--color-bark); }

/* Top contact strip — mirrors .nav-toptab. Transparent w/ white hairline contour */
.footer-topstrip {
  position: relative;
  z-index: 2;
  background: transparent;
  border-top: 1px solid rgba(244, 248, 252, 0.18);
  border-bottom: 1px solid rgba(244, 248, 252, 0.18);
}
.footer-topstrip-inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  height: 40px;
  font-size: 0.8125rem;
  color: rgba(244, 248, 252, 0.55);
}
.footer-topstrip-tag { font-weight: 400; letter-spacing: 0.01em; }
.footer-topstrip-spacer { flex: 1; }
.footer-topstrip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(244, 248, 252, 0.7);
  font-weight: 500;
  letter-spacing: 0.005em;
  transition: color 220ms var(--ease);
}
a.footer-topstrip-item:hover { color: var(--color-cream); }
a.footer-topstrip-item svg { color: var(--color-amber); }

/* Main grid — mirrors .nav-inner with hairline column separators */
.footer-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  padding: 0;
  border-bottom: 1px solid rgba(244, 248, 252, 0.12);
}

.footer-brand {
  flex: 0 0 auto;
  width: clamp(240px, 26%, 340px);
  padding: clamp(1.75rem, 2.6vw, 2.25rem) clamp(1.25rem, 2vw, 2rem) clamp(1.75rem, 2.6vw, 2.25rem) 0;
  border-right: 1px solid rgba(244, 248, 252, 0.12);
}
.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
}
.footer-logo .brand-mark-footer {
  filter: brightness(0) invert(1);
  height: 52px;
  width: auto;
  opacity: 0.96;
}
.footer-brand p {
  font-size: var(--fs-small);
  color: rgba(244, 248, 252, 0.6);
  line-height: 1.55;
  max-width: 36ch;
}

.footer-cols {
  display: flex;
  flex: 1;
  align-items: stretch;
}
.footer-col {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(1.75rem, 2.6vw, 2.25rem) clamp(1rem, 1.8vw, 1.75rem);
  border-right: 1px solid rgba(244, 248, 252, 0.12);
}
.footer-col:last-child { border-right: 0; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 248, 252, 0.45);
  margin-bottom: 1.1rem;
}
.footer-col a {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(244, 248, 252, 0.85);
  padding: 0.3rem 0;
  letter-spacing: -0.005em;
  transition: color 220ms var(--ease), transform 240ms var(--ease);
}
.footer-col a:hover {
  color: var(--color-amber);
  transform: translateX(2px);
}
.footer-address {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(244, 248, 252, 0.5);
}

/* Bottom row — copyright + legal */
.footer-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  font-size: 0.8125rem;
  color: rgba(244, 248, 252, 0.45);
  border-bottom: 1px solid rgba(244, 248, 252, 0.12);
}
.footer-legal { display: flex; gap: clamp(1rem, 2vw, 1.75rem); }
.footer-legal a {
  color: rgba(244, 248, 252, 0.55);
  transition: color 220ms var(--ease);
}
.footer-legal a:hover { color: var(--color-amber); }

/* SVG filter container — kept zero-size so it doesn't affect layout */
.footer-defs {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Closing line — sits ABOVE the giant logo so logo is the last visible element */
.footer-endline {
  position: relative;
  z-index: 2;
  height: 1px;
  margin: 0 0 clamp(1rem, 2vw, 1.75rem);
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(244, 248, 252, 0.32) 18%,
    rgba(244, 248, 252, 0.32) 82%,
    transparent 100%);
}

/* Giant Faro wordmark — last element, flush with footer bottom (no scroll past it) */
.footer-mark-giant {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 0 clamp(1rem, 3vw, 2rem);
  pointer-events: none;
}

/* Shiny mask-based wordmark — silvery shine traverses + water-ripple distortion */
.footer-mark-shine {
  width: 100%;
  max-width: clamp(350px, 47.5vw, 650px);
  aspect-ratio: 1280 / 609;
  -webkit-mask: url('images/brand/faro-wordmark.png') center / contain no-repeat;
          mask: url('images/brand/faro-wordmark.png') center / contain no-repeat;
  background:
    linear-gradient(110deg,
      rgba(255, 255, 255, 0.72) 0%,
      rgba(255, 255, 255, 0.72) 30%,
      rgba(255, 255, 255, 1)    44%,
      rgba(218, 232, 252, 1)    50%,
      rgba(255, 255, 255, 1)    56%,
      rgba(255, 255, 255, 0.72) 70%,
      rgba(255, 255, 255, 0.72) 100%);
  background-size: 220% 100%;
  background-position: 220% 50%;
  filter: url(#footer-water) drop-shadow(0 0 12px rgba(216, 230, 252, 0.18));
  animation: footer-shine 7s linear infinite;
  will-change: background-position;
  opacity: 0.96;
}

@keyframes footer-shine {
  0%   { background-position: 220% 50%; }
  100% { background-position: -120% 50%; }
}

@media (max-width: 540px) {
  .footer-mark-shine { max-width: 90vw; }
}

@media (prefers-reduced-motion: reduce) {
  .footer-mark-shine {
    animation: none;
    filter: none;
    background: rgba(255, 255, 255, 0.94);
  }
}

/* Responsive */
@media (max-width: 880px) {
  .footer-inner { flex-direction: column; }
  .footer-brand {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid rgba(244, 248, 252, 0.12);
    padding: 2rem 0;
  }
  .footer-cols { flex-wrap: wrap; }
  .footer-col {
    flex: 1 1 50%;
    padding: 1.5rem 1rem 1.5rem 0;
    border-right: 1px solid rgba(244, 248, 252, 0.12);
    border-bottom: 1px solid rgba(244, 248, 252, 0.08);
  }
  .footer-col:nth-child(2n) { border-right: 0; padding-right: 0; padding-left: 1rem; }
  .footer-bottom {
    flex-direction: column;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1.25rem 0;
  }
  .footer-topstrip-tag { display: none; }
}
@media (max-width: 540px) {
  .footer-logo .brand-mark-footer { height: 44px; }
  .footer-col { flex: 1 1 100%; border-right: 0; padding: 1.25rem 0; }
  .footer-col:nth-child(2n) { padding-left: 0; }
  .footer-topstrip-inner { gap: 0.85rem; height: auto; padding-top: 0.6rem; padding-bottom: 0.6rem; flex-wrap: wrap; }
}

/* ── LEGAL PAGES (Impressum, Datenschutz, AGB) ───────────────────────── */
.legal-page {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(4rem, 7vw, 6rem);
}
.legal-head {
  max-width: var(--container-narrow);
  margin: 0 auto clamp(2.5rem, 4vw, 3.5rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-line);
}
.legal-head .eyebrow { margin-bottom: 0.75rem; }
.legal-head h1 {
  font-size: clamp(2rem, 3.6vw, 2.875rem);
  margin-bottom: 0.75rem;
}
.legal-head .legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: var(--color-stone);
}
.legal-head .legal-meta strong { color: var(--color-bark); font-weight: 500; }

.legal-content {
  max-width: var(--container-narrow);
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-ink);
}
.legal-content > section { margin-bottom: 3rem; }
.legal-content > section:last-child { margin-bottom: 0; }
.legal-content h2 {
  font-size: clamp(1.375rem, 2vw, 1.625rem);
  margin-bottom: 1rem;
  color: var(--color-bark);
  scroll-margin-top: 7rem;
}
.legal-content h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-bark);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.005em;
}
.legal-content p {
  margin-bottom: 1rem;
  color: var(--color-ink);
}
.legal-content ul, .legal-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { margin-bottom: 0.4rem; line-height: 1.6; }
.legal-content a {
  color: var(--color-bark);
  text-decoration: underline;
  text-decoration-color: var(--color-amber);
  text-underline-offset: 3px;
}
.legal-content a:hover { color: var(--color-clay); }
.legal-content strong { color: var(--color-bark); font-weight: 600; }

.legal-content .info-block {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  margin: 1rem 0 1.5rem;
}
.legal-content .info-block dt { color: var(--color-stone); font-weight: 500; }
.legal-content .info-block dd { color: var(--color-ink); }

.legal-content .callout {
  padding: 1.25rem 1.5rem;
  background: var(--color-paper);
  border-left: 3px solid var(--color-clay);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
}
.legal-content .callout strong { display: block; margin-bottom: 0.35rem; }

.legal-toc {
  position: sticky;
  top: 130px;
  align-self: start;
  font-size: 0.875rem;
  padding: 1.25rem 0 1.25rem 1.25rem;
  border-left: 1px solid var(--color-line);
}
.legal-toc-title {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-clay);
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.legal-toc ol { padding-left: 1.25rem; counter-reset: toc; }
.legal-toc li { margin-bottom: 0.45rem; }
.legal-toc a { color: var(--color-stone); transition: color 200ms var(--ease); text-decoration: none; }
.legal-toc a:hover { color: var(--color-bark); }

.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: clamp(2rem, 4vw, 3.5rem);
  max-width: var(--container);
  margin: 0 auto;
}
.legal-grid .legal-content { margin: 0; max-width: none; }
@media (max-width: 880px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal-toc { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   CHECKOUT PAGE — embedded Stripe + Faro hero-vibe brand panel
   ═══════════════════════════════════════════════════════════════════════ */
body.checkout-page {
  padding-top: 0;
  background: var(--color-cream);
}

/* Floating back-button — matches landing .btn-ghost style */
.checkout-back-floating {
  position: absolute;
  top: clamp(1.25rem, 3vw, 2rem);
  left: clamp(1.25rem, 3vw, 2rem);
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--color-bark);
  background: transparent;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  transition: color var(--speed) var(--ease), gap var(--speed) var(--ease), background-color var(--speed) var(--ease), border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.checkout-back-floating svg { transition: transform var(--speed) var(--ease); }
.checkout-back-floating:hover {
  background: var(--color-paper);
  border-color: var(--color-clay);
  color: var(--color-bark);
  gap: 0.75rem;
}
.checkout-back-floating:hover svg { transform: translateX(-2px); }

.checkout-main {
  min-height: 100vh;
  position: relative;
  background:
    radial-gradient(circle at 18% 28%, rgba(61, 108, 168, 0.08) 0%, transparent 55%),
    radial-gradient(circle at 82% 72%, rgba(91, 143, 217, 0.07) 0%, transparent 50%),
    var(--color-cream);
  /* No overflow rules — they create scroll/clip contexts that break position:sticky descendants */
}
.checkout-main-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.checkout-main-bg svg { width: 100%; height: 100%; display: block; }
.checkout-flowlines path { vector-effect: non-scaling-stroke; }
.checkout-flowlines-anim .cf-dash {
  animation: cflow 18s linear infinite;
}
.checkout-flowlines-anim .cf-d-2 { animation-delay: -7s; animation-duration: 22s; }
@keyframes cflow {
  to { stroke-dashoffset: -1560; }
}
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 7rem);
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* ── LEFT: Brand panel with flowlines ─────────────────────────────────── */
.checkout-brand {
  background: transparent;
  padding: clamp(4rem, 7vw, 6rem) 0 clamp(2rem, 4vw, 3rem) clamp(1.75rem, 3vw, 3rem);
  /* Block layout — flex was stretching the sticky child even with align-self: flex-start */
}

.checkout-brand-inner {
  position: sticky;
  top: clamp(4rem, 8vh, 5.5rem);
  margin-left: auto;               /* push right (toward middle) within block parent */
  max-width: 520px;
  width: 100%;
  height: auto;                    /* explicitly avoid any inherited height */
}
.checkout-brand-logo {
  display: block;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.checkout-brand-logo img {
  height: clamp(72px, 9vw, 110px);
  width: auto;
  display: block;
}
.checkout-brand-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--color-bark);
  margin: 0 0 clamp(1.75rem, 3vw, 2.25rem);
  max-width: 22ch;
}

/* Partner logos under main logo */
.checkout-partners {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: -0.75rem 0 clamp(1.5rem, 2.5vw, 2rem);
}
.checkout-partners-label {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--color-stone);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.checkout-partners-logos {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.checkout-partners-logos img {
  height: 26px;
  width: auto;
  display: block;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 320ms var(--ease), opacity 320ms var(--ease);
}
.checkout-partners-logos img:hover {
  filter: grayscale(0);
  opacity: 1;
}
.checkout-partners-divider {
  width: 1px;
  height: 22px;
  background: var(--color-line);
}

/* Match the landing-page product-card visual */
.checkout-product-image {
  margin: 0 0 clamp(1.5rem, 2.5vw, 2rem);
  padding: clamp(0.75rem, 1.5vw, 1.25rem) clamp(1.25rem, 2.5vw, 2rem) 0;
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  outline: 1px solid transparent;
  outline-offset: -1px;
  transition: outline-color 500ms cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.checkout-product-image:hover {
  outline-color: var(--color-clay);
}
.checkout-product-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: contain;
  transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}
.checkout-product-image:hover img {
  transform: scale(1.04);
}

/* ═══════════════════════════════════════════════════════════════════════
   BESTELLUNG-FUNNEL — quiz-style one-question-per-step
   ═══════════════════════════════════════════════════════════════════════ */
/* Lock the funnel page to viewport height — no scrolling above the topbar */
html:has(body.bestellung-funnel),
body.bestellung-funnel {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  padding-top: 0 !important;          /* override global body { padding-top: 132px } */
  background: var(--color-cream);
}
@media (max-width: 880px) {
  body.bestellung-funnel { padding-top: 0 !important; }
}
@media (max-width: 540px) {
  body.bestellung-funnel { padding-top: 0 !important; }
}

.bestellung-funnel .bestell-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.25rem 1rem;
  height: calc(100vh - 40px);
  height: calc(100dvh - 40px);
  overflow: hidden;
}

/* Stage scrolls internally if a step's content exceeds viewport,
   smooth height transition between steps with different content sizes */
.bestellung-funnel .bf-stage {
  max-height: calc(100dvh - 40px - 230px);
  overflow-y: auto;
  transition: min-height 360ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Topbar — replaces empty whitespace at top with contact + hours */
.bf-topbar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0 clamp(0.85rem, 2vw, 1.25rem);
  height: 40px;
  background: var(--color-paper);
  border-bottom: 1px solid var(--color-line);
  font-size: 0.8125rem;
  color: var(--color-stone);
  position: relative;
  z-index: 5;
}
.bf-topbar-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  color: var(--color-stone);
  text-decoration: none;
  padding: 0.3rem 0.6rem 0.3rem 0;
  border-right: 1px solid var(--color-line);
  margin-right: 0.4rem;
  transition: color 220ms var(--ease), gap 280ms var(--ease);
}
.bf-topbar-back:hover { color: var(--color-bark); gap: 0.55rem; }
.bf-topbar-back svg { transition: transform 280ms var(--ease); }
.bf-topbar-back:hover svg { transform: translateX(-2px); }

.bf-topbar-spacer { flex: 1; }
.bf-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-stone);
  font-weight: 500;
  text-decoration: none;
  transition: color 220ms var(--ease);
  white-space: nowrap;
}
.bf-topbar-item svg { color: var(--color-clay); flex-shrink: 0; }
a.bf-topbar-item:hover { color: var(--color-bark); }
.bf-topbar-dot { color: var(--color-line); }

@media (max-width: 720px) {
  .bf-topbar { gap: 0.4rem; font-size: 0.75rem; }
}
@media (max-width: 540px) {
  .bf-topbar > .bf-topbar-item:nth-of-type(1) { display: none; }
  .bf-topbar > .bf-topbar-dot:nth-of-type(1) { display: none; }
}

.bf-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.bf-mini-header {
  text-align: center;
  margin-bottom: 1.5rem;
}
.bf-mini-header img {
  height: 32px;
  width: auto;
  display: inline-block;
  opacity: 0.85;
}

/* Brand head — Faro logo above, partners + DE-flag below */
.bf-brand-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
.bf-brand-logo img {
  height: clamp(46px, 5.5vw, 60px);
  width: auto;
  display: block;
  opacity: 0.95;
}
.bf-brand-partners {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.bf-brand-partners img {
  height: 18px;
  width: auto;
  display: block;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 220ms var(--ease), opacity 220ms var(--ease);
}
.bf-brand-partners img:hover { filter: grayscale(0); opacity: 1; }
.bf-brand-divider {
  width: 1px;
  height: 16px;
  background: var(--color-line);
}
.bf-brand-de {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-stone);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.bf-brand-de svg { display: block; border-radius: 2px; flex-shrink: 0; }
.bf-brand-de small { font-size: inherit; font-weight: 500; }

@media (max-width: 540px) {
  .bf-brand-de small { display: none; }
  .bf-brand-partners { gap: 0.6rem; }
}

/* Progress bar */
.bf-progress {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.bf-progress-bar {
  height: 4px;
  background: rgba(216, 226, 238, 0.55);
  border-radius: 999px;
  overflow: hidden;
}
.bf-progress-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--color-clay), var(--color-bark));
  border-radius: 999px;
  width: 0;
  transition: width 480ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.bf-progress-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-stone);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Stage area where each step renders */
.bf-stage {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  min-height: 240px;
  box-shadow: 0 24px 48px -16px rgba(20, 49, 90, 0.12);
}
.bf-stage.is-anim .bf-step {
  animation: bfFadeIn 420ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.bf-stage.is-anim .bf-step > * {
  animation: bfFadeInChild 480ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.bf-stage.is-anim .bf-step > *:nth-child(1) { animation-delay: 0ms; }
.bf-stage.is-anim .bf-step > *:nth-child(2) { animation-delay: 60ms; }
.bf-stage.is-anim .bf-step > *:nth-child(3) { animation-delay: 120ms; }
.bf-stage.is-anim .bf-step > *:nth-child(4) { animation-delay: 180ms; }
.bf-stage.is-anim .bf-step > *:nth-child(5) { animation-delay: 240ms; }
.bf-stage.is-anim .bf-step > *:nth-child(6) { animation-delay: 300ms; }

@keyframes bfFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bfFadeInChild {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.bf-stage.shake { animation: bfShake 360ms ease; }
@keyframes bfShake {
  10%,90% { transform: translateX(-2px); }
  20%,80% { transform: translateX(4px); }
  30%,50%,70% { transform: translateX(-6px); }
  40%,60% { transform: translateX(6px); }
}

.bf-step {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.bf-question {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.625rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--color-bark);
  margin: 0;
}
.bf-sub {
  margin: -0.4rem 0 0;
  font-size: 0.875rem;
  color: var(--color-stone);
  line-height: 1.5;
}

.bf-inline-error {
  background: rgba(199, 80, 80, 0.1);
  border: 1px solid rgba(199, 80, 80, 0.45);
  color: var(--color-attention);
  padding: 0.7rem 0.95rem;
  font-size: 0.875rem;
  line-height: 1.45;
  border-radius: var(--radius);
  margin-top: 0.5rem;
  animation: bfErrorIn 280ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
@keyframes bfErrorIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Inputs */
.bf-input {
  font: inherit;
  font-size: 1.125rem;
  padding: 0.95rem 1.1rem;
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-ink);
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease);
  width: 100%;
}
.bf-input:focus {
  outline: 0;
  border-color: var(--color-clay);
  box-shadow: 0 0 0 4px rgba(61, 108, 168, 0.15);
}

/* Radio cards */
.bf-radios {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.bf-radio {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: border-color var(--speed) var(--ease), background-color var(--speed) var(--ease), transform var(--speed) var(--ease);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-bark);
}
.bf-radio:hover { border-color: var(--color-clay); background: rgba(255, 255, 255, 0.92); }
.bf-radio input[type="radio"] {
  appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--color-line);
  background: white;
  transition: border-color 200ms ease;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
}
.bf-radio input[type="radio"]:checked {
  border-color: var(--color-bark);
  background: radial-gradient(circle, var(--color-bark) 30%, white 35%);
}
.bf-radio:has(input:checked) {
  border-color: var(--color-bark);
  background: var(--color-paper);
}

/* Berufs-IDs additional */
.bf-field-inline {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.5rem;
}
.bf-field-inline span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-stone);
}

/* Package cards in funnel */
.bf-packages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 540px) { .bf-packages { grid-template-columns: 1fr; } }
.bf-package {
  cursor: pointer;
  position: relative;
  display: block;
}
.bf-package input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.bf-package .bestell-product-card {
  height: 100%;
  margin: 0;
}
.bf-package input[type="radio"]:checked ~ .bestell-product-card {
  border-color: var(--color-bark) !important;
  box-shadow: 0 0 0 1px var(--color-bark) inset, var(--shadow-sm) !important;
}

/* Quantity selector in funnel */
.bf-quantity {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.85);
  align-self: center;
  margin: 0 auto;
}
.bf-quantity button {
  appearance: none;
  background: transparent;
  border: 0;
  width: 48px; height: 48px;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-bark);
  cursor: pointer;
  font-family: var(--font-display);
}
.bf-quantity button:hover { background: var(--color-cream); }
.bf-quantity span {
  min-width: 56px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-bark);
  font-variant-numeric: tabular-nums;
}
.bf-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 1rem;
  border-top: 1px solid var(--color-line);
  font-size: 0.875rem;
  color: var(--color-stone);
  margin: 0.5rem 0 0;
}
.bf-total strong {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-bark);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* Action buttons */
.bf-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.bf-actions [data-bf-back] { padding: 0.75rem 1.1rem; }
.bf-actions [data-bf-next] { margin-left: auto; min-width: 180px; }

.bf-disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-stone);
  margin: 1.5rem 0 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   BESTELLUNG-PAGE — single column centered (Step 1, legacy form layout)
   ═══════════════════════════════════════════════════════════════════════ */
body.bestellung-page {
  background: var(--color-cream);
}
.bestell-main {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 28%, rgba(61, 108, 168, 0.08) 0%, transparent 55%),
    radial-gradient(circle at 82% 72%, rgba(91, 143, 217, 0.07) 0%, transparent 50%),
    var(--color-cream);
  padding: clamp(1rem, 2.5vw, 1.75rem) clamp(1rem, 3vw, 2rem) clamp(2rem, 4vw, 3rem);
}
.bestell-container {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.bestell-header {
  text-align: center;
  margin-bottom: clamp(0.85rem, 1.5vw, 1.25rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.bestell-logo img {
  height: clamp(48px, 5.5vw, 64px);    /* compact, near nav-size */
  width: auto;
  display: block;
}
.bestell-header .checkout-partners {
  margin: 0;
  font-size: 0.75rem;
}
.bestell-header .checkout-partners-logos img { height: 18px; }

/* Stepper — horizontal at top of bestellung-page (transparent, cream surroundings) */
.cf-stepper-horizontal {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 0 auto clamp(1.25rem, 2.5vw, 2rem);
  padding: 0.5rem 1rem;
  max-width: 540px;
  background: transparent;
  border: 0;
}
.cf-stepper-horizontal .cf-step-line {
  width: 24px;
  height: 1px;
  margin: 0;
}
@media (max-width: 540px) {
  .cf-stepper-horizontal { gap: 0.75rem; padding: 0.75rem 1rem; }
  .cf-stepper-horizontal .cf-step small { display: none; }
}

/* Form on bestellung-page — cream-toned (matches page bg, no white card) */
.bestell-form {
  max-width: 720px !important;
  margin: 0 auto;
  background:
    linear-gradient(155deg,
      rgba(244, 248, 252, 0.92) 0%,
      rgba(244, 248, 252, 0.78) 45%,
      rgba(216, 226, 238, 0.55) 100%) !important;
}
.bestell-form::before {
  background: radial-gradient(circle at 80% 0%, rgba(91, 143, 217, 0.10) 0%, transparent 55%) !important;
}

/* Compact product-card for radio selection — match landing .product visual */
.bestell-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
@media (max-width: 540px) {
  .bestell-products { grid-template-columns: 1fr; }
}
.bestell-product {
  cursor: pointer;
  display: block;
  position: relative;
}
.bestell-product input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Override .product spacing for compact card */
.bestell-product-card {
  background: var(--color-cream);
  border: 2px solid var(--color-line);
  border-radius: var(--radius-lg);
  outline: 0 !important;          /* radio-state handles the highlight */
  transition: border-color var(--speed) var(--ease), transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
  height: 100%;
}
.bestell-product:hover .bestell-product-card {
  border-color: var(--color-clay);
  transform: translateY(-2px);
}
.bestell-product input[type="radio"]:checked ~ .bestell-product-card {
  border-color: var(--color-bark);
  box-shadow: 0 0 0 1px var(--color-bark) inset, var(--shadow-sm);
}
.bestell-product-card .product-image {
  padding: 0.65rem 0.85rem 0;
}
.bestell-product-card .product-image img {
  max-height: 140px;            /* compact */
}
.bestell-product-card .product-body {
  padding: 0.85rem 1rem 1rem;
  gap: 0.55rem;
}
.bestell-product-card .product-microhead {
  font-size: 0.875rem;
  text-transform: none;
  letter-spacing: -0.01em;
  margin-bottom: 0.45rem;
  color: var(--color-bark);
}
.bestell-product-card .product-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.bestell-product-card .product-list li {
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--color-stone);
  padding-left: 1rem;
  position: relative;
}
.bestell-product-card .product-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-clay);
}
.bestell-product-card .product-cta {
  margin-top: auto;
  padding-top: 0.4rem;
}
.bestell-product-card .price-amount {
  font-size: 1.5rem !important;
}
.bestell-product-card .price-note {
  font-size: 0.75rem !important;
}

/* Step indicator on bestellung-page (vertical, used in checkout.html only) */
.cf-stepper {
  margin: clamp(1.5rem, 2.5vw, 2rem) 0;
  padding: 1.25rem 1.4rem;
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  display: grid;
  gap: 0.85rem;
}
.cf-step {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  opacity: 0.55;
  transition: opacity 320ms var(--ease);
}
.cf-step.is-active { opacity: 1; }
.cf-step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--color-cream);
  border: 1px solid var(--color-line);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.875rem;
  color: var(--color-stone);
  flex-shrink: 0;
}
.cf-step.is-active .cf-step-num {
  background: var(--color-bark);
  color: var(--color-cream);
  border-color: var(--color-bark);
}
.cf-step strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem; font-weight: 600;
  color: var(--color-bark);
  letter-spacing: -0.01em;
}
.cf-step small {
  display: block;
  font-size: 0.75rem;
  color: var(--color-stone);
  margin-top: 1px;
}
.cf-step-line {
  width: 1px; height: 16px;
  background: var(--color-line);
  margin-left: 16px;
}

/* Title/Vorname/Nachname row */
.cf-row-title-name {
  display: grid;
  grid-template-columns: 110px 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 540px) { .cf-row-title-name { grid-template-columns: 1fr; } }
.cf-field-title select {
  font: inherit; font-size: 0.9375rem;
  padding: 0.7rem 0.6rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-ink);
  width: 100%; cursor: pointer;
}
.cf-field-title select:focus {
  outline: 0;
  border-color: var(--color-clay);
  box-shadow: 0 0 0 3px rgba(61, 108, 168, 0.12);
}

/* Package selection (radio-cards) */
.cf-package-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 540px) { .cf-package-grid { grid-template-columns: 1fr; } }
.cf-package {
  cursor: pointer; display: block;
  position: relative;
}
.cf-package input[type="radio"] {
  position: absolute; opacity: 0; pointer-events: none;
}
.cf-package-card {
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-paper);
  overflow: hidden;
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease), transform var(--speed) var(--ease);
  display: flex;
  flex-direction: column;
}
.cf-package:hover .cf-package-card {
  border-color: var(--color-clay);
  transform: translateY(-2px);
}
.cf-package input[type="radio"]:checked + .cf-package-card {
  border-color: var(--color-bark);
  box-shadow: 0 0 0 1px var(--color-bark) inset, var(--shadow-sm);
}
.cf-package-img {
  background: var(--color-cream);
  padding: 0.75rem 1rem 0;
  aspect-ratio: 800 / 324;
}
.cf-package-img img { width: 100%; height: 100%; object-fit: contain; }
.cf-package-body {
  padding: 0.85rem 1rem 1rem;
  display: flex; flex-direction: column;
  gap: 0.3rem;
}
.cf-package-body strong {
  font-family: var(--font-display);
  font-size: 0.9375rem; font-weight: 600;
  color: var(--color-bark);
  letter-spacing: -0.01em;
}
.cf-package-body p {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--color-stone);
  margin: 0;
}
.cf-package-price {
  margin-top: 0.4rem;
  font-family: var(--font-display);
  font-size: 1.125rem; font-weight: 700;
  color: var(--color-clay);
  letter-spacing: -0.02em;
}
.cf-package input[type="radio"]:checked ~ .cf-package-card .cf-package-price {
  color: var(--color-bark);
}

/* Total row on bestellung-page */
.cf-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-line);
  font-size: 0.875rem;
  color: var(--color-stone);
}
.cf-total-row strong {
  font-family: var(--font-display);
  font-size: 1.375rem; font-weight: 700;
  color: var(--color-bark);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* Product switcher tabs (komplett vs smcb) */
.cf-product-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 0 0 clamp(1.5rem, 2.5vw, 2rem);
}
.cf-product-tab {
  appearance: none;
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--speed) var(--ease), background-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.cf-product-tab:hover {
  border-color: var(--color-clay);
}
.cf-product-tab.is-active {
  border-color: var(--color-bark);
  background: var(--color-paper);
  box-shadow: 0 0 0 1px var(--color-bark) inset, var(--shadow-sm);
}
.cf-tab-name {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-bark);
  letter-spacing: -0.01em;
}
.cf-tab-price {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-stone);
}
.cf-product-tab.is-active .cf-tab-price { color: var(--color-clay); }

/* Quantity selector */
.cf-quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--color-line);
}
.cf-quantity-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-stone);
}
.cf-quantity {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-paper);
}
.cf-qty-btn {
  appearance: none;
  background: transparent;
  border: 0;
  width: 32px;
  height: 32px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-bark);
  cursor: pointer;
  transition: background-color var(--speed) var(--ease);
  font-family: var(--font-display);
  line-height: 1;
}
.cf-qty-btn:hover { background: var(--color-cream); }
.cf-qty-btn:active { background: rgba(61, 108, 168, 0.12); }
.cf-qty-value {
  min-width: 32px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--color-bark);
  font-size: 0.9375rem;
}

/* Refresh state on payment-element while new clientSecret is fetched */
#payment-element.is-refreshing {
  opacity: 0.4;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.checkout-summary {
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}
.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.checkout-summary-label {
  font-weight: 600;
  color: var(--color-bark);
  font-size: 0.9375rem;
}
.checkout-summary-amount {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-bark);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.checkout-summary-meta {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-stone);
  font-weight: 500;
}
.checkout-summary-meta:first-of-type {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--color-line);
}
.checkout-summary-meta span:last-child {
  color: var(--color-bark);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.checkout-summary-total {
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--color-line);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-bark);
}
.checkout-summary-total span:last-child {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.checkout-trust {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0 0 clamp(1.75rem, 3vw, 2.25rem);
  list-style: none;
  padding: 0;
}
.checkout-trust li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--color-ink);
  line-height: 1.4;
}
.checkout-trust li svg { color: var(--color-clay); flex-shrink: 0; }

.checkout-brand-foot {
  font-size: 0.8125rem;
  color: var(--color-stone);
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-line);
}
.checkout-brand-foot a {
  color: var(--color-bark);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--color-amber);
  text-underline-offset: 3px;
}

/* ── RIGHT: own form + Stripe Payment Element ─────────────────────────── */
.checkout-payment {
  background: transparent;
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.75rem, 3vw, 3rem) clamp(2rem, 4vw, 3rem) 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;   /* keep form near middle (left edge of right column) */
  border-left: 0;
}
.checkout-form { margin: 0; }

.checkout-form {
  width: 100%;
  max-width: 520px;
  position: relative;
  background:
    linear-gradient(155deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(244, 248, 252, 0.78) 45%,
      rgba(216, 226, 238, 0.55) 100%);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-radius: 28px;
  padding: clamp(1.75rem, 2.5vw, 2.25rem);
  box-shadow:
    0 28px 56px -18px rgba(20, 49, 90, 0.16),
    0 6px 14px -6px rgba(20, 49, 90, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
/* Inner highlight for glassy depth */
.checkout-form::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: radial-gradient(circle at 80% 0%, rgba(91, 143, 217, 0.12) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.checkout-form > * { position: relative; z-index: 1; }

.cf-fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cf-legend {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-clay);
  margin-bottom: 0.4rem;
  padding: 0;
}
.cf-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cf-row-2 {
  flex-direction: row;
  gap: 0.75rem;
}
.cf-row-2 .cf-field { flex: 1; min-width: 0; }
.cf-row-postal {
  flex-direction: row;
  gap: 0.75rem;
}
.cf-row-postal .cf-field:first-child { flex: 0 0 30%; }
.cf-row-postal .cf-field:last-child { flex: 1; }

.cf-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.8125rem;
}
.cf-field span {
  font-weight: 500;
  color: var(--color-bark);
  font-size: 0.8125rem;
}
.cf-field span em { color: var(--color-attention); font-style: normal; }
.cf-field span small {
  color: var(--color-stone);
  font-size: 0.75rem;
  font-weight: 400;
}
.cf-field input {
  font: inherit;
  font-size: 0.9375rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-ink);
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease);
  width: 100%;
}
.cf-field input:focus {
  outline: 0;
  border-color: var(--color-clay);
  box-shadow: 0 0 0 3px rgba(61, 108, 168, 0.12);
}
.cf-field input:invalid:not(:placeholder-shown) {
  border-color: var(--color-attention);
}

.cf-stripe-mount {
  min-height: 180px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--color-line);
  padding: 1rem;
  border-radius: var(--radius);
}
.cf-stripe-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 2rem 0;
  color: var(--color-stone);
  font-size: 0.875rem;
}
.cf-spinner {
  width: 28px;
  height: 28px;
  border: 2.5px solid var(--color-line);
  border-top-color: var(--color-clay);
  border-radius: 50%;
  animation: cspinner 800ms linear infinite;
}
@keyframes cspinner { to { transform: rotate(360deg); } }

.cf-agb {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-ink);
  cursor: pointer;
}
.cf-agb input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--color-bark);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.cf-agb a {
  color: var(--color-bark);
  text-decoration: underline;
  text-decoration-color: var(--color-clay);
  text-underline-offset: 2px;
}
.cf-agb a:hover { color: var(--color-clay); }
.cf-agb em { color: var(--color-attention); font-style: normal; }

.cf-error {
  background: rgba(199, 80, 80, 0.08);
  border: 1px solid rgba(199, 80, 80, 0.4);
  color: var(--color-attention);
  padding: 0.75rem 0.85rem;
  font-size: 0.875rem;
  border-radius: var(--radius);
}

/* Submit-Button — same style as landing .btn-primary .btn-lg */
.cf-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.05rem 1.85rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  background: var(--color-bark);
  color: var(--color-cream);
  border: 0;
  border-radius: var(--radius);    /* matches landing .btn (8px) */
  cursor: pointer;
  width: 100%;
  transition: background-color var(--speed) var(--ease), transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
  box-shadow: var(--shadow-sm);
}
.cf-submit:hover:not(:disabled) {
  background: var(--color-ink);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -6px rgba(20, 49, 90, 0.35);
}
.cf-submit:disabled, .cf-submit.is-loading {
  opacity: 0.7;
  cursor: not-allowed;
}
.cf-submit.is-loading::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 0.4rem;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: cspinner 700ms linear infinite;
}
.cf-submit.is-loading .cf-submit-icon { display: none; }

.cf-disclaimer {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--color-stone);
  margin: 0;
  text-align: center;
}

.checkout-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  text-align: center;
  color: var(--color-stone);
  font-size: 0.9375rem;
}
.checkout-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--color-line);
  border-top-color: var(--color-clay);
  border-radius: 50%;
  animation: cspinner 800ms linear infinite;
  margin-bottom: 1rem;
}
@keyframes cspinner { to { transform: rotate(360deg); } }

/* ── Mobile ─────────────────────────────────────────────────────────── */
@media (max-width: 880px) {
  .checkout-grid { grid-template-columns: 1fr; min-height: auto; }
  .checkout-brand {
    padding: 2rem 1.25rem 2.5rem;
  }
  .checkout-brand-inner { max-width: none; margin: 0 auto; }
  .checkout-brand-logo img { height: 60px; }
  .checkout-brand-title { font-size: 1.375rem; max-width: none; }
  .checkout-payment { padding: 1.5rem 1rem 2rem; }
  .checkout-form { max-width: none; padding: 1.25rem; border-radius: 20px; }
  .cf-row-2 { flex-direction: column; }
  .checkout-nav-inner { grid-template-columns: auto 1fr auto; gap: 0.75rem; }
  .checkout-secure { font-size: 0; gap: 0; }
  .checkout-secure svg { color: var(--color-success); width: 16px; height: 16px; }
}

/* ── REVEAL ANIMATIONS ────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ═══════════════════════════════════════════════════════════════════════
   SUB-PAGES — shared building blocks
   Used by: so-einfach-gehts.html · leistungen.html · ueber-uns.html
   ═══════════════════════════════════════════════════════════════════════ */

/* ── PAGE HERO BAND (replaces simple .was-ist-ti hero on subpages) ──── */
.page-hero {
  position: relative;
  padding: clamp(8rem, 16vw, 12rem) 0 clamp(3.5rem, 6vw, 5rem);
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-paper) 100%);
  border-bottom: 1px solid var(--color-line);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse at 85% 25%, rgba(91, 143, 217, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 90%, rgba(20, 49, 90, 0.04) 0%, transparent 50%);
}
.page-hero-inner {
  position: relative;
  max-width: 880px;
}
.page-hero h1 {
  margin: 0.5rem 0 1.25rem;
}
.page-hero-lead {
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--color-stone);
  max-width: 64ch;
  margin-bottom: clamp(2rem, 3.5vw, 2.75rem);
}

.page-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(1rem, 2.5vw, 2rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-line);
}
.phm-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.phm-item strong {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-bark);
}
.phm-item span {
  font-size: 0.8125rem;
  color: var(--color-stone);
  letter-spacing: 0.02em;
}
.phm-divider {
  width: 1px;
  height: 32px;
  background: var(--color-line);
}

@media (max-width: 720px) {
  .page-hero-meta {
    gap: 1rem;
  }
  .phm-divider { display: none; }
  .phm-item {
    flex: 1 1 calc(50% - 0.5rem);
    padding: 0.5rem 0;
  }
}

/* Active nav link state */
.nav-links a.active,
.mobile-menu a.active {
  color: var(--color-bark);
  font-weight: 600;
}
.nav-links a.active::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: var(--color-bark);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════
   SO EINFACH GEHT'S — Page-specific
   ═══════════════════════════════════════════════════════════════════════ */

/* ── COMPARE — Ohne Faro vs Mit Faro ──────────────────────────────── */
.compare {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background: var(--color-cream);
}
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
}
.compare-col {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--color-paper);
  border: 1px solid var(--color-line);
}
.compare-without {
  background: var(--color-paper);
  border-color: rgba(199, 80, 80, 0.18);
}
.compare-with {
  background: linear-gradient(180deg, var(--color-paper) 0%, #EFF4FA 100%);
  border-color: var(--color-clay);
  outline: 1px solid var(--color-clay);
  outline-offset: -1px;
}
.compare-badge {
  position: absolute;
  top: -12px;
  right: clamp(1.5rem, 3vw, 2.5rem);
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-cream);
  background: var(--color-bark);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(20, 49, 90, 0.18);
}
.compare-head {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-line);
}
.compare-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-stone);
  margin-bottom: 0.5rem;
}
.compare-without .compare-label { color: var(--color-attention); }
.compare-with .compare-label { color: var(--color-clay); }
.compare-head h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}
.compare-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.compare-list li {
  position: relative;
  padding-left: 1.85rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-ink);
}
.compare-list-x li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background-color: rgba(199, 80, 80, 0.12);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10' fill='none'><path d='M2 2l6 6M8 2l-6 6' stroke='%23C75050' stroke-width='1.8' stroke-linecap='round'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
}
.compare-list-check li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background-color: rgba(74, 139, 109, 0.15);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10' fill='none'><path d='M2 5l2 2 4-5' stroke='%234A8B6D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
}

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

/* ── TIMELINE — vertical 10 steps with progress line ────────────── */
.timeline-section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background: var(--color-paper);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding-left: clamp(2.5rem, 5vw, 4.5rem);
}
.timeline-line {
  position: absolute;
  left: clamp(0.875rem, 1.75vw, 1.5rem);
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-line);
  border-radius: 1px;
  overflow: hidden;
}
.timeline-line-progress {
  position: absolute;
  inset: 0 0 auto 0;
  height: 0;
  background: linear-gradient(180deg, var(--color-bark) 0%, var(--color-clay) 100%);
  transition: height 80ms linear;
  will-change: height;
}
.timeline-step {
  position: relative;
  margin-bottom: clamp(2rem, 3.5vw, 2.75rem);
}
.timeline-step:last-child { margin-bottom: 0; }

.timeline-marker {
  position: absolute;
  left: clamp(-2.5rem, -5vw, -4.5rem);
  top: 0;
  width: clamp(2.25rem, 3.5vw, 3rem);
  height: clamp(2.25rem, 3.5vw, 3rem);
  border-radius: 50%;
  background: var(--color-paper);
  border: 2px solid var(--color-line);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: border-color 320ms var(--ease), transform 320ms var(--ease);
}
.timeline-marker-final {
  background: var(--color-bark);
  border-color: var(--color-bark);
  box-shadow: 0 0 0 6px rgba(20, 49, 90, 0.08);
}
.timeline-marker-final .timeline-num { color: var(--color-cream); }
.timeline-step.is-active .timeline-marker {
  border-color: var(--color-clay);
  transform: scale(1.05);
}
.timeline-num {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-bark);
}

.timeline-card {
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: var(--color-cream);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  transition: border-color 320ms var(--ease), transform 320ms var(--ease), box-shadow 320ms var(--ease);
}
.timeline-step.is-active .timeline-card {
  border-color: var(--color-clay);
  box-shadow: var(--shadow);
}
.timeline-card-final {
  background: linear-gradient(180deg, var(--color-cream) 0%, #EFF4FA 100%);
  border-color: var(--color-clay);
}

.timeline-week {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-clay);
  margin-bottom: 0.5rem;
}
.timeline-card h3 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
  color: var(--color-bark);
}
.timeline-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}
.timeline-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding: 0.75rem 0 1rem;
  border-top: 1px solid var(--color-line);
}
.timeline-bullets li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.875rem;
  color: var(--color-ink);
  line-height: 1.5;
}
.timeline-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-clay);
}
.timeline-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-stone);
  padding: 0.3rem 0.7rem;
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: 999px;
}
.timeline-tag-success {
  color: var(--color-success);
  border-color: rgba(74, 139, 109, 0.3);
  background: rgba(74, 139, 109, 0.08);
  font-weight: 600;
}

/* ── BANDSTRIP — visual 3-month timeline ────────────────────────── */
.bandsection {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}
.bandstrip {
  position: relative;
  margin: 0 auto;
  max-width: 1080px;
}
.bandstrip-track {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  position: relative;
}
.bandstrip-month {
  position: relative;
  padding: 1.25rem 1rem 4.5rem;
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  min-height: 200px;
}
.bs-month-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-bark);
  margin-bottom: 0.85rem;
}
.bs-events {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.bs-event {
  position: relative;
  padding: 0.4rem 0.75rem 0.4rem 1.6rem;
  font-size: 0.8125rem;
  color: var(--color-stone);
  background: var(--color-cream);
  border-radius: var(--radius-sm);
  line-height: 1.4;
}
.bs-event::before {
  content: "";
  position: absolute;
  left: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-clay);
  opacity: 0.5;
}
.bs-event-active {
  color: var(--color-bark);
  font-weight: 600;
  background: rgba(91, 143, 217, 0.12);
}
.bs-event-active::before { opacity: 1; background: var(--color-bark); }
.bs-event-success {
  color: var(--color-success);
  font-weight: 600;
  background: rgba(74, 139, 109, 0.1);
}
.bs-event-success::before { background: var(--color-success); }

.bandstrip-progress {
  position: absolute;
  bottom: 0.875rem;
  left: 1.5rem;
  right: 1.5rem;
  height: 3px;
  background: var(--color-line);
  border-radius: 999px;
  overflow: hidden;
}
.bandstrip-progress::before {
  content: "";
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-bark) 0%, var(--color-clay) 50%, var(--color-success) 100%);
  border-radius: 999px;
  transition: width 80ms linear;
  will-change: width;
}
.bandstrip-progress[data-fill]::before {
  width: var(--fill, 0%);
}
.bandstrip-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-stone);
  max-width: 720px;
  margin: 1.5rem auto 0;
}

@media (max-width: 880px) {
  .bandstrip-track { grid-template-columns: 1fr; }
  .bandstrip-progress { display: none; }
  .bandstrip-month { padding-bottom: 1.25rem; }
}

@media (max-width: 720px) {
  .timeline { padding-left: clamp(2.75rem, 7vw, 3.5rem); }
  .timeline-marker {
    left: -2.75rem;
    width: 2rem;
    height: 2rem;
  }
  .timeline-line { left: -1.875rem; }
  .timeline-card { padding: 1.25rem; }
}

/* ═══════════════════════════════════════════════════════════════════════
   LEISTUNGEN — Page-specific
   ═══════════════════════════════════════════════════════════════════════ */

/* ── PRODUCTS DETAILED ─────────────────────────────────────────── */
.products-detailed .product-detailed {
  padding: 0;
}
.product-detailed-head {
  margin-bottom: 1.25rem;
}
.product-detailed-head h3 {
  font-size: clamp(1.375rem, 2.4vw, 1.625rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-bark);
  margin-bottom: 0.4rem;
}
.product-detailed-tagline {
  font-size: 0.9375rem;
  color: var(--color-stone);
  margin-bottom: 1rem;
  font-style: italic;
}
.product-detailed-fitfor {
  font-size: 0.875rem;
  line-height: 1.55;
  padding: 0.85rem 1rem;
  background: rgba(91, 143, 217, 0.08);
  border-left: 3px solid var(--color-clay);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--color-ink);
}

.product-list-detailed {
  gap: 0.6rem;
}

/* ── MATRIX — feature comparison table ───────────────────────── */
.matrix-section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background: var(--color-paper);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.matrix {
  max-width: 920px;
  margin: 0 auto;
  background: var(--color-cream);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.matrix-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  align-items: center;
  border-bottom: 1px solid var(--color-line);
  transition: background-color 220ms var(--ease);
}
.matrix-row:last-child { border-bottom: 0; }
.matrix-row:hover:not(.matrix-head) {
  background: var(--color-paper);
}
.matrix-cell {
  padding: clamp(0.85rem, 1.5vw, 1.1rem) clamp(0.85rem, 1.5vw, 1.25rem);
  font-size: 0.9375rem;
  color: var(--color-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.matrix-cell-feature {
  justify-content: flex-start;
  font-weight: 500;
  color: var(--color-bark);
  border-right: 1px solid var(--color-line);
}
.matrix-cell-product {
  flex-direction: column;
  text-align: center;
  border-right: 1px solid var(--color-line);
  padding: 1.5rem 1rem;
}
.matrix-cell-product:last-child { border-right: 0; }
.matrix-cell-product strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-bark);
  margin-bottom: 0.15rem;
}
.matrix-cell-product span {
  font-size: 0.8125rem;
  color: var(--color-stone);
  margin-bottom: 0.5rem;
}
.matrix-cell-product em {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.02em;
  color: var(--color-bark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}
.matrix-cell-product em small {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--color-stone);
  text-transform: lowercase;
}
.matrix-head .matrix-cell-product em small { color: rgba(244, 248, 252, 0.7); }
.matrix-head {
  background: var(--color-bark);
  color: var(--color-cream);
}
.matrix-head .matrix-cell-feature {
  color: var(--color-cream);
  border-right-color: rgba(255, 255, 255, 0.12);
}
.matrix-head .matrix-cell-product {
  border-right-color: rgba(255, 255, 255, 0.12);
}
.matrix-head .matrix-cell-product strong { color: var(--color-cream); }
.matrix-head .matrix-cell-product span { color: rgba(244, 248, 252, 0.7); }
.matrix-head .matrix-cell-product em { color: var(--color-cream); }

.matrix-cell-featured {
  background: linear-gradient(180deg, #1A3D6F 0%, var(--color-bark) 100%);
}
.matrix-row:not(.matrix-head) .matrix-cell-product:nth-child(2) {
  background: rgba(91, 143, 217, 0.05);
}
.matrix-cell-text {
  font-size: 0.875rem;
  color: var(--color-stone);
}

.matrix-check {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(74, 139, 109, 0.15);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 10 10' fill='none'><path d='M2 5l2 2 4-5' stroke='%234A8B6D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
}
.matrix-dash {
  font-size: 1.25rem;
  color: var(--color-stone);
  opacity: 0.5;
}

@media (max-width: 720px) {
  .matrix-row { grid-template-columns: 1fr; }
  .matrix-cell { padding: 0.65rem 1rem; border-right: 0; }
  .matrix-cell-feature {
    background: var(--color-paper);
    border-bottom: 1px solid var(--color-line);
    font-weight: 600;
    padding: 0.85rem 1rem;
  }
  .matrix-cell-product { flex-direction: row; gap: 0.5rem; padding: 0.65rem 1rem; }
  .matrix-cell[data-label]::before {
    content: attr(data-label) ":";
    font-size: 0.75rem;
    color: var(--color-stone);
    margin-right: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  .matrix-row.matrix-head .matrix-cell-product { padding: 1rem; }
  .matrix-head .matrix-cell-product::before { display: none; }
}

/* ── FOERDERUNG-CALC — Navbar-DNA: blue hairlines, no red ──────── */
.foerderung-section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}
.foerderung-calc {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.25rem);
  background: var(--color-paper);
  /* Navbar-DNA: stronger top hairline (bark), softer bottom (line) */
  border-top: 1px solid var(--color-bark);
  border-right: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  border-left: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
}

/* Header row — column labels, eyebrow style */
.fc-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 2fr) auto;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  align-items: end;
  padding: 0 0 0.75rem;
  border-bottom: 1px solid var(--color-bark);
  margin-bottom: 0.5rem;
}
.fc-head-col {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-stone);
}
.fc-head-amount { text-align: right; }

.fc-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 2fr) auto;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-line);   /* navbar-DNA hairline */
}
.fc-row:last-of-type { border-bottom: 0; }

.fc-label {
  font-size: 0.9375rem;
  color: var(--color-ink);
  line-height: 1.4;
}

/* Section label — separates positiv from abzüge — eyebrow look */
.fc-section-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-stone);
  padding: 1rem 0 0.5rem;
  margin-top: 0.25rem;
  border-top: 1px solid var(--color-line);
}

.fc-bar {
  position: relative;
  height: 8px;
  background: var(--color-cream);
  border: 1px solid var(--color-line);
  border-radius: 999px;
  overflow: hidden;
}
.fc-bar-fill {
  display: block;
  width: var(--fill, 0%);
  height: 100%;
  background: linear-gradient(90deg, var(--color-amber) 0%, var(--color-bark) 100%);
  border-radius: 999px;
  transition: width 800ms var(--ease);
}
/* Abzüge — gedämpfte Blau-Schraffur statt rot */
.fc-bar-fill-neg {
  background: linear-gradient(90deg, var(--color-line) 0%, var(--color-stone) 100%);
}
/* Saldo — kräftiges Bark wie Navbar-Active */
.fc-bar-fill-success {
  background: linear-gradient(90deg, var(--color-clay) 0%, var(--color-bark) 100%);
  height: 100%;
}

.fc-amount {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.1875rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.fc-amount-positive { color: var(--color-bark); }
.fc-amount-neg     { color: var(--color-stone); font-weight: 500; }
.fc-amount-success { color: var(--color-bark); font-size: clamp(1.375rem, 2.2vw, 1.75rem); font-weight: 700; }

/* Divider — strong bark hairline like navbar-scrolled bottom */
.fc-divider {
  height: 1px;
  background: var(--color-bark);
  margin: 0.85rem 0 0.65rem;
}

/* Result row — emphasized with bark-tinted background + double hairline */
.fc-result {
  position: relative;
  padding: 1.1rem 0 0.65rem;
}
.fc-result::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(91, 143, 217, 0.06) 0%, rgba(91, 143, 217, 0) 100%);
  margin: -0.5rem -0.85rem 0;
  border-radius: var(--radius);
  pointer-events: none;
  z-index: -1;
}
.fc-result .fc-label strong {
  font-weight: 600;
  color: var(--color-bark);
}

.fc-disclaimer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-line);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--color-stone);
}

@media (max-width: 720px) {
  .fc-head { display: none; }
  .fc-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "label amount"
      "bar bar";
    gap: 0.4rem 1rem;
    padding: 0.85rem 0;
  }
  .fc-label { grid-area: label; }
  .fc-amount { grid-area: amount; }
  .fc-bar { grid-area: bar; }
  .fc-bar { width: 100%; }
}

/* ── NEUTRAL — anbieterneutral 4-card grid ─────────────────── */
.neutral-section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background: var(--color-paper);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.neutral-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.neutral-card {
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: var(--color-cream);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  transition: border-color 320ms var(--ease), transform 320ms var(--ease), box-shadow 320ms var(--ease);
}
.neutral-card:hover {
  border-color: var(--color-clay);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.neutral-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-clay);
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.85rem;
  background: rgba(91, 143, 217, 0.1);
  border-radius: var(--radius-sm);
  line-height: 1;
}
.neutral-card h3 {
  font-size: clamp(1.125rem, 1.8vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
  color: var(--color-bark);
}
.neutral-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
}

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

/* ═══════════════════════════════════════════════════════════════════════
   ÜBER UNS — Page-specific
   ═══════════════════════════════════════════════════════════════════════ */

/* ── STORY — split layout ────────────────────────────────────── */
.story-section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 4vw, 4rem);
}
.story-col h2 { margin-top: 0.5rem; }
.story-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 65ch;
}
.story-text p {
  line-height: 1.7;
}

@media (max-width: 880px) {
  .story-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ── VALUES — 4 cards ───────────────────────────────────────── */
.values-section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background: var(--color-paper);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.value-card {
  padding: clamp(1.75rem, 2.8vw, 2.25rem);
  background: var(--color-cream);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  transition: transform 420ms var(--ease), border-color 320ms var(--ease), box-shadow 320ms var(--ease);
}
.value-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-clay);
  box-shadow: var(--shadow);
}
.value-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(91, 143, 217, 0.12);
  color: var(--color-bark);
  margin-bottom: 1rem;
}
.value-icon svg {
  width: 24px;
  height: 24px;
}
.value-card h3 {
  font-size: clamp(1.125rem, 1.8vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
  color: var(--color-bark);
}
.value-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
}

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

/* ── FOUNDER — profile card + letter ──────────────────────── */
.founder-section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}
.founder-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}
.founder-photo {
  position: relative;
}
.founder-photo-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-clay) 0%, var(--color-bark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder-photo-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: rgba(244, 248, 252, 0.95);
  pointer-events: none;
  z-index: -1;
}
.founder-photo-fallback .founder-photo-initials {
  z-index: 1;
}
.founder-info {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.founder-role {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-clay);
  margin: 0;
}
.founder-info h3 {
  font-size: clamp(1.625rem, 2.6vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}
.founder-bio {
  font-size: 1rem;
  line-height: 1.7;
}
.founder-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-line);
}
.founder-meta li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--color-ink);
}
.founder-meta strong {
  font-weight: 600;
  color: var(--color-bark);
}

.founder-letter {
  position: relative;
  padding: clamp(2rem, 3.5vw, 3rem);
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  max-width: 760px;
  margin: 0 auto;
}
.founder-letter::before {
  content: "„";
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  color: var(--color-clay);
  opacity: 0.18;
  pointer-events: none;
}
.founder-letter-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-clay);
  margin-bottom: 0.65rem;
}
.founder-letter h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: var(--color-bark);
}
.founder-letter p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.founder-letter-sig {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-line);
}
.founder-letter-greeting {
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}
.founder-letter-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 500;
  color: var(--color-bark);
  margin-bottom: 0.25rem;
}
.founder-letter-role {
  font-size: 0.8125rem;
  color: var(--color-stone);
  letter-spacing: 0.04em;
}

@media (max-width: 720px) {
  .founder-card { grid-template-columns: 1fr; gap: 1.5rem; }
  .founder-photo { max-width: 240px; }
  .founder-meta li { grid-template-columns: 1fr; gap: 0.15rem; }
  .founder-meta strong { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-stone); }
}

/* ── STORYLINE — vertical milestones with progress ──────────── */
.storyline-section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background: var(--color-paper);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.storyline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: clamp(2rem, 4vw, 2.75rem);
}
.storyline-line {
  position: absolute;
  left: clamp(0.5rem, 1vw, 0.75rem);
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: var(--color-line);
  border-radius: 1px;
  overflow: hidden;
}
.storyline-line-progress {
  position: absolute;
  inset: 0 0 auto 0;
  height: 0;
  background: linear-gradient(180deg, var(--color-bark) 0%, var(--color-clay) 100%);
  transition: height 80ms linear;
  will-change: height;
}
.storyline-item {
  position: relative;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.storyline-item:last-child { margin-bottom: 0; }
.storyline-dot {
  position: absolute;
  left: clamp(-2rem, -4vw, -2.75rem);
  top: 0.5rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-paper);
  border: 2px solid var(--color-line);
  z-index: 2;
  transition: border-color 320ms var(--ease), transform 320ms var(--ease);
}
.storyline-item.is-active .storyline-dot {
  border-color: var(--color-clay);
  transform: scale(1.15);
}
.storyline-dot-current {
  background: var(--color-bark);
  border-color: var(--color-bark);
  box-shadow: 0 0 0 5px rgba(20, 49, 90, 0.12);
}
.storyline-dot-current::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--color-clay);
  opacity: 0.4;
  animation: storyline-pulse 2s var(--ease) infinite;
}
@keyframes storyline-pulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.3); opacity: 0; }
}
.storyline-card {
  padding: clamp(1.25rem, 2.2vw, 1.65rem);
  background: var(--color-cream);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  transition: border-color 320ms var(--ease), box-shadow 320ms var(--ease);
}
.storyline-card-current {
  background: linear-gradient(180deg, var(--color-cream) 0%, #EFF4FA 100%);
  border-color: var(--color-clay);
  box-shadow: 0 4px 16px rgba(20, 49, 90, 0.08);
}
.storyline-date {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-stone);
  margin-bottom: 0.5rem;
}
.storyline-date-current { color: var(--color-clay); }
.storyline-card h3 {
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
  color: var(--color-bark);
}
.storyline-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ── PARTNERS DETAILED ──────────────────────────────────────── */
.partners-section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}
.partners-detailed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
  max-width: 1080px;
  margin: 0 auto;
}
.partner-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  transition: border-color 320ms var(--ease), transform 320ms var(--ease), box-shadow 320ms var(--ease);
}
.partner-card:hover {
  border-color: var(--color-clay);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.partner-card-logo {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.partner-card-logo img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.15);
}
.partner-card-body h3 {
  font-size: clamp(1.125rem, 1.7vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
  color: var(--color-bark);
}
.partner-card-role {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-clay);
  margin-bottom: 0.75rem;
}
.partner-card-body p {
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 0.85rem;
}
.partner-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-bark);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: gap var(--speed) var(--ease), color var(--speed) var(--ease);
}
.partner-card-link:hover {
  color: var(--color-clay);
  gap: 0.6rem;
}

@media (max-width: 880px) {
  .partners-detailed { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .partner-card { grid-template-columns: 1fr; gap: 1rem; }
  .partner-card-logo { justify-content: flex-start; }
}

/* ── LOCATION ──────────────────────────────────────────────── */
.location-section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background: var(--color-paper);
  border-top: 1px solid var(--color-line);
}
.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.location-info h2 {
  margin: 0.5rem 0 1rem;
}
.location-info > p {
  margin-bottom: 1.5rem;
  max-width: 50ch;
}
.location-meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-line);
}
.location-meta li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  align-items: start;
}
.location-meta-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-stone);
  padding-top: 2px;
}
.location-meta li > a,
.location-meta li > span:not(.location-meta-label) {
  font-size: 0.9375rem;
  color: var(--color-ink);
  line-height: 1.5;
}
.location-meta li > a {
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.location-meta li > a:hover {
  color: var(--color-clay);
  border-bottom-color: currentColor;
}

.location-map {
  position: relative;
}
.location-map-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--color-cream);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.location-map-frame svg {
  width: 100%;
  height: 100%;
}
.map-pin {
  transform-origin: center;
  animation: map-pin-pulse 3s var(--ease) infinite;
}
@keyframes map-pin-pulse {
  0%, 100% { transform: translate(170px, 180px) scale(1); }
  50%      { transform: translate(170px, 180px) scale(1.06); }
}

@media (max-width: 880px) {
  .location-grid { grid-template-columns: 1fr; gap: 2rem; }
  .location-map-frame { max-width: 480px; margin: 0 auto; }
  .location-meta li { grid-template-columns: 1fr; gap: 0.15rem; }
}

/* ═══════════════════════════════════════════════════════════════════════
   GSAP-driven micro-states — opt-in via [data-gsap]
   The .reveal IO system stays as fallback when GSAP fails to load
   ═══════════════════════════════════════════════════════════════════════ */
html.gsap-ready [data-anim-line] {
  opacity: 0;
  transform: translateY(28px);
  /* GSAP will animate these explicitly */
}
html.gsap-ready [data-anim-line].reveal { transition: none; }

/* ═══════════════════════════════════════════════════════════════════════
   ADDITIONAL COMPONENTS — Service-Scope, SLA, Exclusion, dot-list
   ═══════════════════════════════════════════════════════════════════════ */

/* ── COMPARE-LIST-DOT — neutral list (für "Bei Ihnen verbleibend") ── */
.compare-list-dot {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.compare-list-dot li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-ink);
}
.compare-list-dot li::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-clay);
  opacity: 0.7;
}

/* ── SCOPE — 4-Phasen-Leistungsumfang (leistungen.html) ───────────── */
.scope-section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background: var(--color-paper);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
}
.scope-phase {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  background: var(--color-cream);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  transition: border-color 320ms var(--ease), transform 320ms var(--ease), box-shadow 320ms var(--ease);
}
.scope-phase:hover {
  border-color: var(--color-clay);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.scope-phase-head {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-line);
}
.scope-phase-num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-clay);
  margin-bottom: 0.5rem;
  padding: 0.3rem 0.7rem;
  background: rgba(91, 143, 217, 0.1);
  border-radius: var(--radius-sm);
}
.scope-phase-head h3 {
  font-size: clamp(1.125rem, 1.9vw, 1.3125rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
  color: var(--color-bark);
}
.scope-phase-time {
  font-size: 0.8125rem;
  color: var(--color-stone);
  margin: 0;
  letter-spacing: 0.02em;
}
.scope-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.scope-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-ink);
}
.scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--color-clay);
  border-radius: 50%;
  background: transparent;
}
.scope-list li strong {
  font-weight: 600;
  color: var(--color-bark);
}

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

/* ── SLA — Service-Level rows ───────────────────────────────────── */
.sla-section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}
.sla-grid {
  max-width: 920px;
  margin: 0 auto;
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sla-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.1rem, 2vw, 1.5rem) clamp(1.25rem, 2.5vw, 2rem);
  border-bottom: 1px solid var(--color-line);
  align-items: baseline;
  transition: background-color 220ms var(--ease);
}
.sla-row:last-child { border-bottom: 0; }
.sla-row:hover { background: var(--color-cream); }
.sla-row-label {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-bark);
  text-transform: uppercase;
}
.sla-row-value {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-ink);
}
.sla-row-value strong {
  font-weight: 600;
  color: var(--color-bark);
}

@media (max-width: 720px) {
  .sla-row { grid-template-columns: 1fr; gap: 0.4rem; }
  .sla-row-label { font-size: 0.75rem; }
}

/* ── EXCLUSION — was nicht enthalten ist ────────────────────── */
.exclusion-section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background: var(--color-paper);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.exclusion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.exclusion-card {
  position: relative;
  padding: clamp(1.5rem, 2.4vw, 1.875rem);
  background: var(--color-cream);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--color-stone);
  transition: border-color 320ms var(--ease), border-left-color 320ms var(--ease);
}
.exclusion-card:hover {
  border-color: var(--color-line);
  border-left-color: var(--color-clay);
}
.exclusion-card h3 {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  color: var(--color-bark);
}
.exclusion-card p {
  font-size: 0.875rem;
  line-height: 1.6;
}

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

/* ═══════════════════════════════════════════════════════════════════════
   FOERDERUNG STEPPER — Navbar-DNA: kantig, Hairlines, blue-tinted
   Pain → Lösung → Kosten → Saldo · 4 klickbare Steps
   ═══════════════════════════════════════════════════════════════════════ */

.stepper {
  max-width: 980px;
  margin: 0 auto;
  background: var(--color-paper);
  border-top: 1px solid var(--color-bark);
  border-right: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  border-left: 1px solid var(--color-line);
  /* kein border-radius — flach wie Navbar */
}

/* ── Tab-Navigation ──────────────────────────────────────────── */
.stepper-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--color-bark);
  background: var(--color-cream);
}
.stepper-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: clamp(1rem, 2vw, 1.4rem) clamp(0.85rem, 2vw, 1.4rem);
  background: transparent;
  border: 0;
  border-right: 1px solid var(--color-line);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  color: var(--color-stone);
  transition: background-color 220ms var(--ease), color 220ms var(--ease);
}
.stepper-tab:last-child { border-right: 0; }
.stepper-tab::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--color-bark);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 280ms var(--ease);
}
.stepper-tab:hover {
  color: var(--color-bark);
  background: rgba(91, 143, 217, 0.04);
}
.stepper-tab.is-active {
  color: var(--color-bark);
  background: var(--color-paper);
}
.stepper-tab.is-active::after { transform: scaleX(1); }
.stepper-tab-num {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: inherit;
  opacity: 0.7;
}
.stepper-tab.is-active .stepper-tab-num { opacity: 1; }
.stepper-tab-label {
  font-size: clamp(0.875rem, 1.4vw, 1rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

@media (max-width: 720px) {
  .stepper-nav {
    grid-template-columns: 1fr 1fr;
    border-bottom: 0;
  }
  .stepper-tab { border-bottom: 1px solid var(--color-line); }
  .stepper-tab:nth-child(2) { border-right: 0; }
  .stepper-tab:nth-child(3),
  .stepper-tab:nth-child(4) { border-bottom: 1px solid var(--color-bark); }
  .stepper-tab:nth-child(4) { border-right: 0; }
}

/* ── Panels ──────────────────────────────────────────────── */
.stepper-panels { position: relative; }
.stepper-panel {
  display: none;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2.5rem);
}
.stepper-panel.is-active {
  display: block;
  animation: stepper-fade 320ms var(--ease);
}
@keyframes stepper-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.step-meta {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-line);
}
.step-eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-clay);
  margin-bottom: 0.65rem;
}
.step-meta h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.625rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  color: var(--color-bark);
  line-height: 1.2;
}
.step-meta p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-ink);
  max-width: 75ch;
}

/* ── Tabelle (Step 1 + Step 3) ─────────────────────────── */
.step-table {
  margin: 1.25rem 0;
  border-top: 1px solid var(--color-bark);
  border-bottom: 1px solid var(--color-bark);
}
.step-table-head {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0.75rem clamp(0.5rem, 1.5vw, 1rem);
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-line);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-stone);
}
.step-th-num { text-align: right; }

.step-table-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.85rem clamp(0.5rem, 1.5vw, 1rem);
  border-bottom: 1px solid var(--color-line);
  transition: background-color 200ms var(--ease);
}
.step-table-row:last-child { border-bottom: 0; }
.step-table-row:hover { background: var(--color-cream); }

.step-pos {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.9375rem;
  color: var(--color-ink);
}
.step-pos-title {
  font-weight: 500;
  color: var(--color-bark);
}
.step-pos-note {
  font-size: 0.8125rem;
  color: var(--color-stone);
}
.step-num {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-bark);
  text-align: right;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.step-num-muted {
  color: var(--color-stone);
  font-weight: 400;
}
.step-table-total {
  background: var(--color-cream);
  border-top: 1px solid var(--color-bark);
}
.step-table-total .step-num strong,
.step-table-total .step-pos strong {
  color: var(--color-bark);
  font-weight: 700;
}

@media (max-width: 720px) {
  .step-table-head { display: none; }
  .step-table-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 0.75rem;
  }
  .step-pos { grid-column: 1 / -1; margin-bottom: 0.25rem; }
}

/* ── Highlight-Block (Step 2) ──────────────────────────── */
.step-highlight {
  margin: 1.5rem 0;
  border-top: 1px solid var(--color-bark);
  border-bottom: 1px solid var(--color-bark);
  background: var(--color-cream);
}
.step-highlight-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) auto minmax(0, 1.5fr);
  gap: 1rem;
  align-items: baseline;
  padding: clamp(1rem, 2vw, 1.4rem) clamp(0.75rem, 1.75vw, 1.5rem);
}
.step-highlight-row-sub { padding-top: 0.7rem; padding-bottom: 0.7rem; }
.step-highlight-divider {
  height: 1px;
  background: var(--color-line);
  margin: 0;
}
.step-highlight-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-bark);
}
.step-highlight-row-sub .step-highlight-label {
  font-size: 0.875rem;
  color: var(--color-stone);
  font-weight: 400;
}
.step-highlight-period {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-stone);
  white-space: nowrap;
}
.step-highlight-amount {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-bark);
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.step-highlight-amount-positive {
  font-size: clamp(1.625rem, 3vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

@media (max-width: 600px) {
  .step-highlight-row {
    grid-template-columns: 1fr auto;
    gap: 0.4rem;
  }
  .step-highlight-period { display: none; }
}

/* ── Saldo-Block (Step 4) ──────────────────────────────── */
.step-saldo {
  margin: 1.5rem 0;
  border-top: 1px solid var(--color-bark);
  border-bottom: 1px solid var(--color-bark);
  background: var(--color-cream);
}
.step-saldo-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: clamp(0.85rem, 2vw, 1.2rem) clamp(0.85rem, 2vw, 1.5rem);
  border-bottom: 1px solid var(--color-line);
}
.step-saldo-row:last-of-type { border-bottom: 0; }
.step-saldo-positive { color: var(--color-bark); }
.step-saldo-negative { color: var(--color-stone); }
.step-saldo-label {
  font-size: 0.9375rem;
  font-weight: 500;
}
.step-saldo-result {
  background: rgba(91, 143, 217, 0.08);
  border-top: 1px solid var(--color-bark);
  padding: clamp(1.1rem, 2.5vw, 1.6rem) clamp(0.85rem, 2vw, 1.5rem);
}
.step-saldo-result .step-saldo-label {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.step-saldo-result strong {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  font-weight: 600;
  color: var(--color-bark);
}
.step-saldo-sub {
  font-size: 0.75rem;
  color: var(--color-stone);
  letter-spacing: 0.04em;
  font-weight: 400;
}
.step-saldo-amount {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.step-saldo-amount-result {
  font-size: clamp(1.875rem, 4vw, 2.625rem);
  font-weight: 700;
  color: var(--color-bark);
  letter-spacing: -0.03em;
}
.step-saldo-divider {
  height: 1px;
  background: var(--color-bark);
  margin: 0;
}

.step-saldo-breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--color-line);
  background: var(--color-paper);
}
.step-saldo-mini {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: clamp(0.85rem, 2vw, 1.1rem) clamp(0.85rem, 2vw, 1.5rem);
  border-right: 1px solid var(--color-line);
  text-align: left;
}
.step-saldo-mini:last-child { border-right: 0; }
.step-saldo-mini-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-stone);
}
.step-saldo-mini-value {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 600;
  color: var(--color-bark);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

@media (max-width: 600px) {
  .step-saldo-breakdown { grid-template-columns: 1fr; }
  .step-saldo-mini { border-right: 0; border-bottom: 1px solid var(--color-line); }
  .step-saldo-mini:last-child { border-bottom: 0; }
}

/* ── Callouts ────────────────────────────────────────── */
.step-callout {
  margin: 1.25rem 0;
  padding: clamp(0.85rem, 2vw, 1.2rem) clamp(1rem, 2vw, 1.4rem);
  font-size: 0.9375rem;
  line-height: 1.6;
  background: var(--color-cream);
  border-left: 3px solid var(--color-clay);
}
.step-callout strong { color: var(--color-bark); }
.step-callout-pain   { border-left-color: var(--color-stone); }
.step-callout-info   { border-left-color: var(--color-clay); }
.step-callout-result {
  border-left-color: var(--color-bark);
  background: rgba(91, 143, 217, 0.06);
}

/* ── Step Actions / Navigation Buttons ───────────────── */
.step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  justify-content: flex-end;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-line);
}
.step-actions .stepper-cta-ghost { margin-right: auto; }

.stepper-cta,
.stepper-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--speed) var(--ease);
  border: 0;
}
.stepper-cta {
  background: var(--color-bark);
  color: var(--color-cream);
  border: 1px solid var(--color-bark);
}
.stepper-cta:hover {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: var(--color-cream);
}
.stepper-cta-ghost {
  background: transparent;
  color: var(--color-bark);
  border: 1px solid var(--color-line);
}
.stepper-cta-ghost:hover {
  border-color: var(--color-bark);
  color: var(--color-bark);
  background: var(--color-cream);
}

/* ── Bottom Progress Indicator ─────────────────────────── */
.stepper-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem clamp(1.25rem, 3vw, 2.5rem);
  background: var(--color-cream);
  border-top: 1px solid var(--color-bark);
}
.stepper-progress-track {
  position: relative;
  flex: 1;
  height: 2px;
  background: var(--color-line);
}
.stepper-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--p, 25%);
  height: 100%;
  background: var(--color-bark);
  transition: width 320ms var(--ease);
}
.stepper-progress-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-stone);
  white-space: nowrap;
}
.stepper-progress-label strong {
  color: var(--color-bark);
  font-weight: 700;
}

/* ── Disclaimer below stepper ─────────────────────────── */
.step-disclaimer {
  max-width: 980px;
  margin: 1.5rem auto 0;
  padding: 0 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--color-stone);
}

/* ── Tag-Pill für einmalig/— ─────────────────────────── */
.step-num-tag {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-stone);
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: normal;
  font-feature-settings: normal;
}

/* ── Breakdown-Block (Year 1 vs laufend) ───────────── */
.step-breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 1.25rem 0;
  background: var(--color-paper);
  border-top: 1px solid var(--color-bark);
  border-bottom: 1px solid var(--color-bark);
}
.step-breakdown-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: clamp(0.85rem, 2vw, 1.15rem) clamp(0.85rem, 2vw, 1.4rem);
  border-right: 1px solid var(--color-line);
}
.step-breakdown-item:last-child { border-right: 0; }
.step-breakdown-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-stone);
}
.step-breakdown-value {
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1.8vw, 1.3125rem);
  font-weight: 700;
  color: var(--color-bark);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.step-breakdown-note {
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--color-stone);
}

@media (max-width: 720px) {
  .step-breakdown { grid-template-columns: 1fr; }
  .step-breakdown-item {
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
  }
  .step-breakdown-item:last-child { border-bottom: 0; }
}

/* ── Saldo-Mini Note (sub-text in 3-cards under Saldo) ── */
.step-saldo-mini-note {
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--color-stone);
}
.step-saldo-mini-neg {
  color: var(--color-stone) !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   WAS-IST-TI — REBUILD
   Custom animations: directional slide-in (L/R), scroll-follow drift,
   pulsing network SVG, side-by-side comparisons.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Directional reveal extensions (used by IO via existing .reveal) ─── */
.reveal-left {
  transform: translate3d(-72px, 12px, 0) rotate(-1.5deg);
  opacity: 0;
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}
.reveal-right {
  transform: translate3d(72px, 12px, 0) rotate(1.5deg);
  opacity: 0;
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}
.reveal-left.is-visible,
.reveal-right.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0);
}
/* Once slide-in finished, drop the transform-transition so JS scroll-drift is snappy */
.wt-anw.is-settled { transition: opacity 220ms var(--ease); }

/* ── §I — DEFINITION + ANIMATED NETWORK ─────────────────────────────── */
.wt-section { padding: clamp(3.5rem, 6vw, 6rem) 0; }
.wt-definition {
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-line);
}
.wt-definition-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.wt-definition-prose p { margin-bottom: 1.1rem; max-width: 56ch; }
.wt-definition-prose p:last-child { margin-bottom: 0; }
.wt-definition-prose strong { color: var(--color-bark); font-weight: 600; }

.wt-network {
  position: relative;
  aspect-ratio: 5 / 4;
  width: 100%;
}
.wt-network svg { width: 100%; height: 100%; display: block; }
.wt-network .wt-net-link {
  stroke: var(--color-clay);
  stroke-width: 1.4;
  fill: none;
  stroke-dasharray: 6 6;
  opacity: 0.55;
  animation: wt-net-flow 6s linear infinite;
}
.wt-network .wt-net-link.alt { animation-direction: reverse; animation-duration: 8s; }
@keyframes wt-net-flow {
  to { stroke-dashoffset: -240; }
}
.wt-network .wt-net-node {
  fill: var(--color-paper);
  stroke: var(--color-bark);
  stroke-width: 1.5;
  filter: drop-shadow(0 4px 10px rgba(20, 49, 90, 0.12));
}
.wt-network .wt-net-pulse {
  fill: var(--color-clay);
  opacity: 0.18;
  transform-origin: center;
  transform-box: fill-box;
  animation: wt-net-pulse 3.4s ease-out infinite;
}
.wt-network .wt-net-pulse.d1 { animation-delay: 0s; }
.wt-network .wt-net-pulse.d2 { animation-delay: 0.85s; }
.wt-network .wt-net-pulse.d3 { animation-delay: 1.7s; }
.wt-network .wt-net-pulse.d4 { animation-delay: 2.55s; }
@keyframes wt-net-pulse {
  0%   { transform: scale(0.6); opacity: 0.32; }
  70%  { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}
.wt-network .wt-net-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  fill: var(--color-bark);
  text-anchor: middle;
}
.wt-network .wt-net-sublabel {
  font-size: 9px;
  font-weight: 500;
  fill: var(--color-stone);
  text-anchor: middle;
  letter-spacing: 0.04em;
}
.wt-network .wt-net-spark {
  fill: var(--color-amber);
  opacity: 0.85;
  filter: drop-shadow(0 0 6px rgba(91, 143, 217, 0.6));
}
@media (max-width: 880px) {
  .wt-definition-grid { grid-template-columns: 1fr; }
  .wt-network { max-width: 420px; margin: 0 auto; }
}

/* ── §II — ANWENDUNGEN — alternating slide-in cards with scroll-follow ─ */
.wt-anwendungen { background: var(--color-paper); }
.wt-anw-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.wt-anw {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: clamp(1rem, 2vw, 1.75rem);
  align-items: center;
  padding: clamp(1.25rem, 2.2vw, 1.85rem) clamp(1.25rem, 2.5vw, 2.25rem);
  background: var(--color-cream);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  will-change: transform;
}
.wt-anw[data-side="left"]  { align-self: flex-start; max-width: 78%; }
.wt-anw[data-side="right"] { align-self: flex-end;   max-width: 78%; }
.wt-anw-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--color-bark);
  color: var(--color-cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1;
  padding: 0.5rem;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(20, 49, 90, 0.18);
}
.wt-anw-body h3 {
  font-size: 1.1875rem;
  margin: 0 0 0.35rem;
  color: var(--color-bark);
  letter-spacing: -0.01em;
}
.wt-anw-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-clay);
  margin-bottom: 0.4rem;
}
.wt-anw-body p {
  margin: 0.25rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-ink);
}
.wt-anw-body p strong { color: var(--color-bark); font-weight: 600; }
@media (max-width: 720px) {
  .wt-anw[data-side="left"], .wt-anw[data-side="right"] {
    max-width: 100%;
    align-self: stretch;
  }
  .wt-anw {
    grid-template-columns: 64px 1fr;
    gap: 1rem;
    padding: 1.1rem 1.1rem;
  }
  .wt-anw-icon { width: 64px; height: 64px; font-size: 0.75rem; }
}

/* ── §III — VERGLEICH KONNEKTOR vs TI-GATEWAY ────────────────────────── */
.wt-vergleich {
  background: var(--color-bark);
  color: var(--color-cream);
  position: relative;
  overflow: hidden;
}
.wt-vergleich .section-head h2,
.wt-vergleich .ti-banner-head h2 { color: var(--color-cream); }
.wt-vergleich .section-lead {
  color: rgba(244, 248, 252, 0.72);
}
.wt-vergleich .eyebrow,
.wt-vergleich .eyebrow-light { color: var(--color-amber); }
.wt-vergleich-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: stretch;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.wt-vergleich-col {
  background: rgba(244, 248, 252, 0.04);
  border: 1px solid rgba(244, 248, 252, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  position: relative;
}
.wt-vergleich-col.is-new {
  border-color: var(--color-amber);
  background: linear-gradient(135deg, rgba(91, 143, 217, 0.10), rgba(91, 143, 217, 0.02));
}
.wt-vergleich-col-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(244, 248, 252, 0.12);
}
.wt-vergleich-col h3 {
  font-size: 1.5rem;
  color: var(--color-cream);
  margin: 0;
  letter-spacing: -0.01em;
}
.wt-vergleich-col .wt-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(244, 248, 252, 0.7);
}
.wt-vergleich-col.is-new .wt-tag {
  background: var(--color-amber);
  color: var(--color-bark);
}
.wt-vergleich-col p.lead {
  font-size: 0.9375rem;
  color: rgba(244, 248, 252, 0.78);
  margin-bottom: 1.1rem;
  line-height: 1.55;
}
.wt-vergleich-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.wt-vergleich-col ul li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: rgba(244, 248, 252, 0.85);
  line-height: 1.5;
}
.wt-vergleich-col ul li::before {
  content: "";
  width: 18px;
  height: 18px;
  display: inline-flex;
  border-radius: 50%;
  background: rgba(244, 248, 252, 0.18);
  margin-top: 0.15rem;
}
.wt-vergleich-col.is-new ul li::before {
  background: var(--color-amber);
  box-shadow: 0 0 0 4px rgba(91, 143, 217, 0.18);
}
.wt-vergleich-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-amber);
  font-size: 2rem;
  font-weight: 300;
  font-family: var(--font-display);
  letter-spacing: -0.05em;
  position: relative;
}
.wt-vergleich-arrow svg {
  width: 56px;
  height: 56px;
  stroke: var(--color-amber);
  fill: none;
  stroke-width: 1.4;
  animation: wt-arrow-pulse 2.4s ease-in-out infinite;
}
@keyframes wt-arrow-pulse {
  0%, 100% { transform: translateX(0); opacity: 0.6; }
  50%      { transform: translateX(8px); opacity: 1; }
}
@media (max-width: 880px) {
  .wt-vergleich-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .wt-vergleich-arrow { transform: rotate(90deg); padding: 0.5rem 0; }
}

/* ── §V — STICHTAGE — vertical timeline with sticky year ─────────────── */
.wt-stichtage { background: var(--color-paper); }
.wt-timeline {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0;
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--color-line);
}
.wt-timeline-row {
  display: contents;
}
.wt-timeline-year {
  padding: clamp(1.25rem, 2vw, 1.75rem) clamp(0.5rem, 1.5vw, 1.5rem);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--color-bark);
  border-right: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  background: var(--color-cream);
}
.wt-timeline-row.is-faro .wt-timeline-year {
  background: var(--color-bark);
  color: var(--color-amber);
}
.wt-timeline-content {
  padding: clamp(1.25rem, 2vw, 1.75rem) clamp(1.25rem, 2vw, 1.75rem);
  border-bottom: 1px solid var(--color-line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}
.wt-timeline-row.is-faro .wt-timeline-content {
  background: rgba(91, 143, 217, 0.06);
  border-left: 4px solid var(--color-amber);
  padding-left: calc(clamp(1.25rem, 2vw, 1.75rem) - 4px);
}
.wt-timeline-text h3 {
  font-size: 1.0625rem;
  margin: 0 0 0.25rem;
  color: var(--color-bark);
}
.wt-timeline-text p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-stone);
  line-height: 1.5;
}
.wt-timeline-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--color-cream);
  color: var(--color-stone);
  border: 1px solid var(--color-line);
  border-radius: 999px;
  white-space: nowrap;
}
.wt-timeline-row.is-faro .wt-timeline-pill {
  background: var(--color-amber);
  color: var(--color-bark);
  border-color: var(--color-amber);
}
@media (max-width: 720px) {
  .wt-timeline { grid-template-columns: 84px 1fr; }
  .wt-timeline-year { font-size: 1.0625rem; }
  .wt-timeline-content { grid-template-columns: 1fr; gap: 0.6rem; }
  .wt-timeline-pill { justify-self: start; }
}

/* ── Reduced motion overrides ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .wt-network .wt-net-link,
  .wt-network .wt-net-pulse,
  .wt-vergleich-arrow svg { animation: none; }
  .reveal-left, .reveal-right { transform: none; opacity: 1; }
}
