/* =========================================================
   seosath — design system
   Single bundled stylesheet. Mobile-first, dark, precise.
   ========================================================= */

/* ── Tokens ───────────────────────────────────────────── */
:root {
  /* Surfaces — cold-precise dark, not warm-brown. */
  --bg-0: #0a0a0b;
  --bg-1: #0f0f11;
  --bg-2: #141416;
  --bg-card: #111113;
  --bg-elev: #111113;

  /* Borders — cold neutral */
  --border: #1e1e22;
  --border-strong: #272729;
  --border-hover: #333337;

  /* Text — off-white to reduce harshness on cold dark */
  --text: #f5f5f5;
  --text-2: #a8a8aa;
  --text-3: #6b6b6e;
  --text-muted: #6b6b6e;

  /* Accent — single orange voice. --accent stays for visual elements
     (links, icons, borders, ribbons). --accent-btn is a slightly deeper
     shade reserved for white-on-orange button surfaces so we hit
     WCAG AA 4.5:1 contrast on the primary CTA. */
  --accent: #e85d2f;
  --accent-btn: #c44e24;          /* 4.7:1 vs #fff — passes AA */
  --accent-hover: #d4531f;
  --accent-soft: rgba(232, 93, 47, 0.12);
  --accent-ring: rgba(232, 93, 47, 0.30);
  /* Halo / glow tokens for hero highlight + dropdown-option hover */
  --accent-halo: rgba(232, 93, 47, 0.28);
  --accent-glow: rgba(232, 93, 47, 0.07);
  /* ── New design-system aliases (briefing v2) ─────────── */
  --orange: #e85d2f;
  --orange-soft: rgba(232, 93, 47, 0.12);
  --bg: var(--bg-0);
  --text-1: var(--text);          /* alias so prose/insights use consistent token */
  --text-soft: var(--text-2);
  --text-mute: var(--text-muted);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --sans: var(--font-sans);
  --fs-17: 1.0625rem;             /* between fs-16 and fs-18 — used in prose body */

  /* Status */
  --success: #4ade80;
  --error: #f87171;

  /* Type */
  --font-sans: 'Inter', 'Inter Fallback', system-ui, -apple-system, sans-serif;
  --fs-12: 0.75rem;
  --fs-13: 0.8125rem;
  --fs-14: 0.875rem;
  --fs-15: 0.9375rem;
  --fs-16: 1rem;
  --fs-18: 1.125rem;
  --fs-20: 1.25rem;
  --fs-22: 1.375rem;
  --fs-26: 1.625rem;
  --fs-32: 2rem;
  --fs-40: 2.5rem;
  --lh-tight: 1.08;
  --lh-snug: 1.2;
  --lh-base: 1.55;
  --lh-loose: 1.7;
  --tracking-tight: -0.02em;
  --tracking-tighter: -0.035em;

  /* Spacing scale (8px base) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 20px;
  --s-6: 24px; --s-7: 32px; --s-8: 40px; --s-9: 48px; --s-10: 64px;
  --s-11: 80px; --s-12: 96px; --s-13: 128px; --s-14: 160px;

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 760px;
  --container-wide: 1440px;
  --pad-x: 20px;

  /* Radii — sharp, max 4px per brand spec (.impeccable.md) */
  --r-sm: 2px;    /* Badges, Hairline-Kontext, Foto-Masken */
  --r-md: 3px;    /* Buttons, Inputs, Nav-Items */
  --r-lg: 4px;    /* Cards, Tiles, Dropdowns */
  --r-xl: 4px;    /* Modals, Feature-Surfaces, Showcases */
  --r-pill: 999px;

  /* Shadows — elevation scale for dark UI */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.5), 0 2px 4px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.6), 0 4px 8px rgba(0,0,0,0.3);

  /* Blur scale */
  --blur-nav: 14px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 150ms;
  --t-base: 220ms;
  --t-slow: 380ms;

  /* Header */
  --header-h: 72px;
}

@media (min-width: 768px) {
  :root { --pad-x: 32px; }
}
@media (min-width: 1024px) {
  :root { --pad-x: 32px; }
}

/* Self-hosted Inter — served from EU under our own control (was Google Fonts;
   loading externally before consent is a documented GDPR violation since the
   2022 Munich ruling). All five weights, font-display: swap so paint isn't
   blocked by font load. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/inter-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/inter-800.woff2') format('woff2');
}
/* Inter Fallback — overrides system-ui's metrics to closely match Inter so the
   font-swap from fallback to web-font produces minimal CLS. Tuned for Inter. */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

/* JetBrains Mono — variable font, self-hosted. Latin subset covers all
   German characters (ä ö ü ß). Single woff2 covers weights 400-700.
   font-display: swap keeps monospace fallback visible until font loads. */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-variable.woff2') format('woff2');
}

/* ── Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
/* min-height instead of height: prevents the document from being clamped to
   viewport height (which broke `position: sticky` on .site-header — the
   element only stuck for the first viewport, then scrolled away with the
   document because body was a non-scrolling box of fixed height). With
   min-height: 100%, the body grows with content and html stays the scroll
   container. Sticky now persists across the full page. */
html, body { min-height: 100%; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  line-height: var(--lh-base);
  color: var(--text);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv11', 'ss01';
  font-optical-sizing: auto;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
hr { border: 0; border-top: 1px solid var(--border); margin: 0; }
::selection { background: var(--accent-btn); color: #fff; }  /* accent-btn is the AA 4.7:1 deeper shade — accent alone falls to 3.3:1 on selection */
/* Selection over the orange highlight strip would be accent-on-accent (illegible). */
.hero__title .underline::selection { background: var(--text); color: var(--bg-0); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  /* No border-radius forced on the focus ring: each element keeps its
     own radius (cards 10px, buttons 6px, photos 2px). Forcing one value
     here caused radius-jump on focus. The outline itself is rendered
     outside the box — it doesn't need to match element geometry. */
}

/* Sticky header offset for in-page anchors and JS-injected tabindex focus.
   Keeps headings from disappearing under the 72/80px sticky bar. */
:target,
[tabindex="-1"]:focus {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

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

/* Skip link — visually-hidden until keyboard focus (sr-only pattern).
   Avoids any chance of leaking the orange chip on initial paint. */
.skip-link {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus-visible {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  width: auto; height: auto; clip: auto; clip-path: none; margin: 0;
  padding: 10px 16px; border-radius: var(--r-md);
  background: var(--accent); color: #fff; font-weight: 600;
  max-width: calc(100vw - 24px); overflow: hidden; text-overflow: ellipsis;
}

/* ── Layout ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.container--narrow { max-width: var(--container-narrow); }
.container--wide   { max-width: var(--container-wide); }

.section { padding: 160px 0; position: relative; }
.section--tight { padding: 96px 0; }
@media (max-width: 1024px) {
  .section { padding: 96px 0; }
  .section--tight { padding: 64px 0; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .section--tight { padding: 48px 0; }
}
/* Section variant with clipping for absolute-positioned content
   (e.g. wow-watermark on the homepage team section). */
.section--clip { position: relative; overflow: hidden; }

.section--hero {
  padding-block: clamp(96px, 12vw, 168px) clamp(64px, 9vw, 112px);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.section--hero > .container { width: 100%; position: relative; z-index: 2; }
/* Legal page heroes: centered text — privacy, terms, legal-notice, cookie pages. */
.section--legal { text-align: center; }
.section--legal .eyebrow { justify-content: center; }
.section--legal .crumbs { justify-content: center; }
/* Hero backgrounds removed — purely typographic per redesign brief.
   No animated gradients, no grid overlays, no breathing orbs. */
.section--alt {
  background: var(--bg-1);
  border-block: 1px solid var(--line);
  position: relative;
}
/* Whisper-quiet dotted grid — premium texture without theatrics. */
.section--alt::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: 0 0;             /* aligns the dot grid across hero/section seams */
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent, black 8%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, black 8%, black 88%, transparent);
}
.section--alt > * { position: relative; }
.section + .section,
.section--tight + .section,
.section + .section--tight { border-top: 1px solid var(--line); }
.section--alt + .section--alt { border-top: 1px solid var(--line); }
.section__head { max-width: 740px; margin-bottom: var(--s-9); }
@media (min-width: 768px) {
  .section__head { margin-bottom: var(--s-10); }
}
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--tight  { margin-bottom: var(--s-7); }

/* Toggle switch (used on cookie-settings) */
.toggle {
  display: inline-flex; align-items: center; gap: var(--s-3); cursor: pointer;
  font-weight: 600;
}
.toggle__input { position: absolute; opacity: 0; pointer-events: none; }
.toggle__track {
  position: relative; width: 44px; height: 24px;
  background: var(--bg-elev); border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.toggle__track::before {
  content: ''; position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: var(--text-3);
  border-radius: 50%;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.toggle__input:checked + .toggle__track { background: var(--accent); border-color: var(--accent); }
.toggle__input:checked + .toggle__track::before { transform: translateX(20px); background: #fff; }
.toggle__input:focus-visible + .toggle__track {
  outline: 2px solid var(--accent); outline-offset: 3px;
}
.toggle__label { color: var(--text-2); min-width: 32px; }

/* Cookie-settings page — self-contained component */
.consent-row { display: flex; justify-content: space-between; align-items: center; gap: var(--s-7); flex-wrap: wrap; }
.consent-row + .consent-row { margin-top: var(--s-5); }
.consent-row .card__title { font-size: var(--fs-22); margin-bottom: 4px; }

/* Grid helpers */
.grid { display: grid; gap: var(--s-6); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
/* Pricing groups always stay 3-up once there's room for them — avoids the
   orphan card at the 720–1023 breakpoint where a 3-card row collapses to 2+1. */
.grid--pricing { grid-template-columns: 1fr; align-items: stretch; }
/* minmax(0, 1fr) forces strictly equal columns; plain `1fr` is shorthand for
   minmax(auto, 1fr) and lets a column grow if its content has a hard min-width
   (which the featured card was triggering — extra border, badge, longer copy). */
@media (min-width: 720px)  { .grid--pricing { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.split {
  display: grid;
  gap: var(--s-9);
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .split { grid-template-columns: 1.05fr 1fr; align-items: start; gap: var(--s-10); }
  .split--reverse > :first-child { order: 2; }
  /* Photo + text split — narrower image column. */
  .split--media { grid-template-columns: minmax(220px, 320px) 1fr; align-items: center; gap: var(--s-9); }
  /* Mirrored variant — text left, image right. Used on the About page so
     Patrick (text-left) and Selina (text-left, but image-right) alternate
     visually. On mobile both fall back to single-column flow. */
  .split--media-reverse { grid-template-columns: 1fr minmax(220px, 320px); }
}

/* Founder photo — square, hairline border, accent ring on hover. */
.founder-photo {
  display: block;
  width: 100%; max-width: 320px;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  object-fit: cover;
  background: var(--bg-2);
  transition: border-color var(--t-base) var(--ease);
}
.founder-photo:hover { border-color: var(--accent); }
.founder-photo--lg { max-width: 400px; }
@media (max-width: 959px) {
  .founder-photo, .founder-photo--lg { max-width: 240px; margin-inline: auto; }
}


/* ── Typography ──────────────────────────────────────── */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--text);
  text-wrap: balance;
}

.display {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: var(--lh-tight);
  letter-spacing: -0.04em;
  font-weight: 800;
}
/* Weight hierarchy: H1 heaviest → descends. H2 explicitly 600 so it
   never reads heavier than H1 at adjacent sizes. H3/H4 at 500 so
   H2 stays clearly dominant. Progression: 800 / 700 / 600 / 500. */
h1, .h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h2, .h2 { font-size: clamp(1.625rem, 3.2vw, 2.5rem); font-weight: 600; letter-spacing: var(--tracking-tight); }
h3, .h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 500; }
h4, .h4 { font-size: var(--fs-18); font-weight: 500; }

p { color: var(--text-2); }
.lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: var(--lh-loose);
  color: var(--text-2);
  max-width: 64ch;
}
.lead--lg {
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  color: var(--text-2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: var(--fs-12);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--s-3);          /* hugs the h2 — h2→lead gap stays the dominant rhythm */
}
.eyebrow::before {
  content: '';
  width: 18px; height: 1px; background: currentColor;
}
.eyebrow--center { justify-content: center; }

.muted { color: var(--text-3); }
.text-center { text-align: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; margin-top: var(--s-7); }
.cta-row--center { justify-content: center; }
/* Mobile: primary and ghost buttons go full-width to prevent overflow.
   Quiet (text-link style) and link-arrow stay inline. */
@media (max-width: 600px) {
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row--center { align-items: center; }
  .cta-row .btn--primary,
  .cta-row .btn--ghost { width: 100%; }
}

/* Inline link */
.link-inline {
  color: var(--text);
  border-bottom: 1px solid var(--border-hover);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.link-inline:hover { color: var(--accent); border-color: var(--accent); }

/* Arrow link */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text); font-weight: 600; font-size: var(--fs-15);
}
.link-arrow::after {
  content: '→';
}
.link-arrow:hover { color: var(--accent); }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--mono);
  font-size: var(--fs-13);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  min-height: 48px;
}
/* Primary — solid orange, dark text for contrast.
   Background-position fill sweep on hover — no z-index juggling. */
.btn--primary {
  background: linear-gradient(to right, #ff6b3d 50%, var(--orange) 50%);
  background-size: 200% 100%;
  background-position: right center;
  color: var(--bg-0);
  border-color: var(--orange);
  font-weight: 600;
  transition: background-position var(--t-base) var(--ease),
              border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
}
.btn--primary:hover {
  background-position: left center;
  border-color: #ff6b3d;
}
/* White inset ring on focus — orange-on-orange ring would be invisible */
.btn--primary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--orange-soft);
}
/* Ghost — neutral outlined */
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--line-strong); background: rgba(255,255,255,0.04); }
/* Arrow shift — inline icon nudges right on any button hover */
.btn .arrow { display: inline-block; transition: transform var(--t-fast) var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
/* Quiet — text link style */
.btn--quiet {
  background: transparent;
  color: var(--text);
  border-color: transparent;
  padding-inline: 12px;
  font-family: var(--font-sans);
  text-transform: none;
  letter-spacing: normal;
  font-size: var(--fs-15);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--border-hover);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.btn--quiet:hover { color: var(--accent); text-decoration-color: var(--accent); }

.btn--sm { padding: 10px 16px; min-height: 40px; font-size: var(--fs-12); }
.btn--lg { padding: 18px 28px; font-size: var(--fs-14); min-height: 56px; }
.btn--block { width: 100%; }

/* Mobile button hardening.
   Problem: .btn has white-space: nowrap so uppercase mono labels like
   "STRATEGIEGESPRÄCH BUCHEN (60 MIN., 190 €)" overflow their container
   on viewports below ~400px (observed on iPhone SE-class devices).
   Width 100% in .cta-row doesn't help — the TEXT itself refuses to break.
   Fix: allow wrapping on small viewports, slightly tighten letter-spacing,
   reduce --lg padding so more horizontal room is available for glyphs.
   Kept above 400px at 0.1em tracking — the brand voice stays intact on
   any tablet/desktop. */
@media (max-width: 520px) {
  .btn {
    white-space: normal;
    letter-spacing: 0.08em;
    line-height: 1.25;
    word-break: normal;
    overflow-wrap: break-word;
  }
  .btn--lg {
    padding: 16px 18px;
    font-size: var(--fs-13);
    min-height: 52px;
  }
}

/* ── Cards ───────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-7);
  display: flex; flex-direction: column; gap: var(--s-4);
  position: relative;
  overflow: hidden;
  transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 2px; height: 100%;
  background: var(--orange);
  transform: scaleY(0); transform-origin: top;
  transition: transform var(--t-base) var(--ease);
}
.card:hover, .card:focus-within { border-color: var(--line-strong); background: rgba(255,255,255,0.015); }
.card:hover::before, .card:focus-within::before { transform: scaleY(1); }
/* Callout variant — accent border-left highlight for sample/example blocks. */
.card--callout {
  border-left: 3px solid var(--accent);
  padding: var(--s-7);
}
.card--callout .eyebrow { color: var(--accent); }
/* CTA-card variant — the entire card is an <a>. */
a.card--cta {
  text-decoration: none; color: inherit;
}
a.card--cta:hover { border-color: var(--line-strong); }
a.card--cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.card__cta-link {
  margin-top: auto;
  color: var(--accent);
  font-weight: 600;
  font-size: var(--fs-14);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap var(--t-fast) var(--ease);
}
a.card--cta:hover .card__cta-link { gap: 10px; }

/* ── Branding showcase (Branding service page) ──────── */
/* Three-stage display: logo, palette, typography. Single row on desktop with
   the typography block taking 1.4× width; stacks vertically on mobile. */
.brand-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-8);
}
@media (min-width: 900px) {
  .brand-showcase { grid-template-columns: 1fr 1fr 1.4fr; }
}
.brand-showcase__logo,
.brand-showcase__palette,
.brand-showcase__type {
  display: flex; flex-direction: column; gap: var(--s-4); min-width: 0;
}
.brand-showcase__logo img {
  display: block;
  max-width: 100%; height: auto;
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-5);
}
.brand-showcase__caption {
  color: var(--text-3); font-size: var(--fs-13); line-height: var(--lh-base);
  margin: 0;
}
.brand-showcase__caption--top { margin-bottom: var(--s-2); }
.palette-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-2);
}
.swatch {
  display: flex; align-items: flex-end; justify-content: center;
  aspect-ratio: 1 / 1.2;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  padding: 6px;
  position: relative;
}
.swatch__hex {
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
  font-family: var(--mono);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.type-specimen {
  display: flex; flex-direction: column; gap: var(--s-4);
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-6);
}
.type-specimen__display {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}
.type-specimen__body {
  font-size: var(--fs-15);
  line-height: var(--lh-base);
  color: var(--text-2);
}
.type-specimen__meta {
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.card--accent {
  background: var(--bg-card);
  border-color: var(--accent-ring);
  border-top: 2px solid var(--orange);
}
/* Icon without the templated orange-background box — just the accent-colored
   glyph. The icon speaks for itself; the box was visual noise. */
.card__icon {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
/* Bootstrap icons baseline — orange via currentColor on parent */
.bi { display: inline-block; vertical-align: -0.125em; }

/* Service-tile icon — box-free, just the accent glyph */
.service-tile__icon {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: var(--s-2);
}
.card__title { font-size: var(--fs-20); font-weight: 700; letter-spacing: var(--tracking-tight); }
.card__body { color: var(--text-2); font-size: var(--fs-15); line-height: var(--lh-loose); flex-grow: 1; }
.card__body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.card__body a:hover { color: var(--accent-hover); }
.card__meta {
  display: flex; align-items: center; gap: var(--s-3);
  font-size: var(--fs-12); color: var(--text-3);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.card__footer { margin-top: auto; padding-top: var(--s-4); }

/* Numbered card (for process) */
.card--numbered {
  position: relative;
  padding-top: var(--s-9);
}
/* Reset .card::before orange-bar so the step number can use ::before cleanly.
   The left-bar hover is removed on numbered cards — the number is the visual
   anchor instead. Properties from .card::before that must be neutralised:
   width:2px, height:100%, background:var(--orange), transform:scaleY(0). */
.card--numbered::before {
  content: attr(data-step);
  position: absolute; top: var(--s-6); right: var(--s-6);
  left: auto;                   /* undo card::before left:0 */
  width: auto;                  /* undo card::before width:2px */
  height: auto;                 /* undo card::before height:100% */
  background: transparent;      /* undo orange background */
  transform: none;              /* undo scaleY(0) — always visible */
  transition: none;
  font-size: var(--fs-32); font-weight: 700; line-height: 1;
  color: var(--text-muted);
  letter-spacing: -0.03em;
  font-feature-settings: 'tnum';
}

/* Service tile (richer) */
.service-tile {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-7);
  display: grid; gap: var(--s-5);
  position: relative;
  overflow: hidden;
  transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.service-tile::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 2px; height: 100%;
  background: var(--orange);
  transform: scaleY(0); transform-origin: top;
  transition: transform var(--t-base) var(--ease);
}
.service-tile:hover, .service-tile:focus-within { border-color: var(--line-strong); background: rgba(255,255,255,0.015); }
.service-tile:hover::before, .service-tile:focus-within::before { transform: scaleY(1); }
.service-tile__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-3); flex-wrap: wrap; }
.service-tile__price { font-size: var(--fs-14); color: var(--text-3); text-align: right; max-width: 55%; }
.service-tile__price strong { color: var(--accent); font-weight: 600; }
@media (max-width: 480px) {
  .service-tile__head { flex-direction: column; }
  .service-tile__price { text-align: left; max-width: 100%; }
}
.service-tile__title { font-size: var(--fs-22); font-weight: 700; letter-spacing: var(--tracking-tight); }
.service-tile__body { color: var(--text-2); font-size: var(--fs-15); line-height: var(--lh-loose); }
.service-tile__cta { margin-top: auto; }

/* Pricing card */
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-8);
  display: flex; flex-direction: column; gap: var(--s-5);
  position: relative;
  height: 100%;
}
.price-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 2px; height: 100%;
  background: var(--orange);
  transform: scaleY(0); transform-origin: top;
  transition: transform var(--t-base) var(--ease);
}
.price-card:hover, .price-card:focus-within { border-color: var(--line-strong); background: rgba(255,255,255,0.015); }
.price-card:hover::before, .price-card:focus-within::before { transform: scaleY(1); }
.price-card--featured {
  border: 2px solid var(--accent);
  background: var(--bg-elev);                  /* visible elevation against --bg-card siblings */
  padding: calc(var(--s-8) - 1px);             /* compensate the +1px border */
}
.price-card__badge {
  position: absolute; top: -12px; left: var(--s-7);
  background: var(--accent); color: #fff;
  padding: 4px 12px; border-radius: var(--r-pill);
  font-size: var(--fs-12); font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase;
}
/* Phones: featured card stacks below siblings, badge (12px tall + 12px offset) needs full clearance.
   Edge 719.98px avoids overlap with the (min-width: 720px) pricing-grid breakpoint. */
@media (max-width: 719.98px) {
  .price-card--featured { margin-top: var(--s-7); }
}
/* Title sizing must fit the narrowest column (long German words like
   "Strategiegespräch" or "SEO-Betreuung"). Fluid clamp keeps it readable;
   overflow-wrap lets it break only as a last resort (hyphens off — produced
   ugly mid-word breaks like "Strategiegesprä-ch" on intermediate widths). */
.price-card__head { display: grid; gap: var(--s-2); margin-bottom: var(--s-4); }
.price-card__sub {
  font-size: var(--fs-13);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.price-card__note {
  font-size: var(--fs-13);
  color: var(--text-muted);
  line-height: var(--lh-base);
}
.price-card__title {
  font-size: clamp(1.375rem, 2.1vw, 2rem);
  font-weight: 800;
  letter-spacing: var(--tracking-tighter);
  line-height: var(--lh-tight);
  overflow-wrap: break-word;
}
.price-card__amount { display: flex; align-items: baseline; gap: 6px; }
/* Legacy price-card amount sub-spans removed — price_html() owns this now. */
/* When .price-card__amount wraps a price_html() span instead of the legacy
   inline parts, render the entire amount string as the number-style headline. */
.price-card__amount > .price > .price__amount {
  font-family: var(--mono);
  font-size: var(--fs-40);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  line-height: var(--lh-tight);
}
.price-card__features,
.price-card__list { display: grid; gap: var(--s-3); margin-top: var(--s-4); }
.price-card__features li,
.price-card__list li {
  display: grid; grid-template-columns: 18px 1fr; gap: 12px;
  font-size: var(--fs-14); color: var(--text-2);
  line-height: 1.55;
}
.price-card__features li::before,
.price-card__list li::before {
  content: '';
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23e85d2f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.5l3.5 3.5L16 6'/%3E%3C/svg%3E");
  background-size: contain;
  margin-top: 2px;
}
.price-card__footer { margin-top: auto; padding-top: var(--s-5); }

/* ── Quick-Start tile (OnePage offering on Pricing page) ───── */
/* Single highlighted block between the main 3-card grid and the Individuell
   grid. Visually distinct (orange-tinted background, accent left border) so it
   reads as "additional product" rather than "fourth pricing tier". */
.quick-start {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  background: linear-gradient(135deg, var(--bg-elev) 0%, var(--bg-card) 100%);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: var(--r-lg);
  padding: var(--s-8);
}
@media (min-width: 900px) {
  .quick-start { grid-template-columns: minmax(260px, 1fr) 2fr; column-gap: var(--s-9); align-items: start; }
}
.quick-start__title {
  font-size: clamp(1.625rem, 2.2vw, 2rem);
  font-weight: 800;
  letter-spacing: var(--tracking-tighter);
  line-height: var(--lh-tight);
  margin-top: var(--s-3);
}
.quick-start__sub {
  margin-top: var(--s-4);
  color: var(--text-2);
  font-size: var(--fs-15);
}
.quick-start__sub strong { color: var(--text); font-weight: 700; }
.quick-start__body { min-width: 0; }

/* ── Header ──────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 11, 0.60);
  backdrop-filter: blur(var(--blur-nav));
  -webkit-backdrop-filter: blur(var(--blur-nav));
  border-bottom: 1px solid var(--line);
  transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
  /* GPU-layer promotion: eliminates WebKit backdrop-blur compositing flicker
     during the background-opacity transition on scroll. transform: translateZ(0)
     is safer than will-change here (no layer churn on scroll state change). */
  transform: translateZ(0);
  /* Shrink-effect plumbing: header height is driven by a CSS var that
     animates when .is-scrolled is added by main.js. */
  --header-shrink: 0px;
}
.site-header.is-scrolled {
  background: rgba(10, 10, 11, 0.85);
  border-bottom-color: var(--line-strong);
  --header-shrink: 12px;
}
.site-header__inner {
  display: flex; align-items: center; gap: var(--s-3);
  height: calc(var(--header-h) - var(--header-shrink));
  transition: height var(--t-base) var(--ease);
}
.brand-mark { color: var(--accent); }
/* Restore the wider gap only when the desktop nav is actually visible (≥1024px). */
@media (min-width: 1024px) {
  .site-header__inner { gap: var(--s-6); }
}
.site-header__brand {
  display: inline-flex; align-items: center; gap: 10px;
  align-self: center;
  flex: 0 0 auto;
  height: auto;
  line-height: 0;
  font-weight: 800; font-size: 1.125rem; letter-spacing: -0.025em;
  color: var(--text);
}
.brand-mark { width: 26px; height: 26px; }
.brand-word { font-feature-settings: 'cv11'; font-weight: 800; }
/* Full ribbon-S + wordmark logo (PNG, theme-aware variants in /assets/img/).
   Aspect ratio ~4.6:1 after balanced crop. Height drives layout; width is
   computed from the intrinsic ratio. Block display + line-height: 0 on the
   parent kill any baseline-derived extra height that would push the image
   off-center inside the flex container. */
.brand-logo {
  display: block;
  height: 32px;
  width: auto;
  align-self: center;
  flex: 0 0 auto;
  vertical-align: middle;
  image-rendering: -webkit-optimize-contrast;
}
@media (max-width: 640px) {
  .brand-logo { height: 26px; }
}
.brand-logo--footer { height: 44px; }

.site-nav { display: none; margin-inline: auto; }
@media (min-width: 1024px) { .site-nav { display: block; } }
.site-nav__list { display: flex; gap: var(--s-2); align-items: center; }
.site-nav__item { position: relative; }
.site-nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 14px; border-radius: var(--r-md);
  font-size: var(--fs-15); font-weight: 500; color: var(--text-2);
  transition: color var(--t-fast) var(--ease);
}
.site-nav__link:hover { color: var(--text); }
.site-nav__link[aria-current="page"],
.site-nav__link[aria-current="true"] { color: var(--text); }
.site-nav__link .caret { transition: transform var(--t-fast) var(--ease); }
.has-dropdown:hover .caret,
.has-dropdown:focus-within .caret { transform: rotate(180deg); }
.has-dropdown:hover .site-nav__link,
.has-dropdown:focus-within .site-nav__link { color: var(--text); }

.site-nav__dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  width: min(620px, 90vw);
  margin-top: 0;                       /* no gap — bridge is built via padding-top below */
  padding-top: 12px;                   /* invisible hover-bridge: keeps dropdown alive when cursor traverses the gap */
  background: transparent;             /* the bridge area must stay see-through; the visible card uses background-clip */
  background-color: transparent;
  pointer-events: none;
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-base) var(--ease), visibility 0s linear var(--t-base);
}
.site-nav__dropdown::before {
  /* The visible "card" lives inside the bridge so hover never breaks. */
  content: '';
  position: absolute; inset: 12px 0 0 0;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  z-index: -1;
}
.site-nav__dropdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 12px var(--s-3) var(--s-3);
}
.has-dropdown:hover .site-nav__dropdown,
.has-dropdown:focus-within .site-nav__dropdown,
.has-dropdown.is-open .site-nav__dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity var(--t-base) var(--ease), visibility 0s;
}
/* Modern dwell delay — keep menu open ~120ms after the cursor leaves to allow
   diagonal mouse paths into a sub-link without the menu vanishing. */
.has-dropdown { --dropdown-close-delay: 140ms; }
.has-dropdown:not(:hover):not(:focus-within):not(.is-open) .site-nav__dropdown {
  transition: opacity var(--t-base) var(--dropdown-close-delay) var(--ease),
              visibility 0s linear calc(var(--t-base) + var(--dropdown-close-delay));
}
.has-dropdown.is-open .caret { transform: rotate(180deg); }
.site-nav__sub {
  display: grid; gap: 2px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  position: relative;
  transition: background var(--t-fast) var(--ease);
}
.site-nav__sub::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 2px; height: 100%;
  background: var(--orange);
  transform: scaleY(0); transform-origin: top;
  transition: transform var(--t-base) var(--ease);
  border-radius: var(--r-sm);
}
.site-nav__sub:hover,
.site-nav__sub:focus-visible { background: rgba(255,255,255,0.04); outline: none; }
.site-nav__sub:hover::before,
.site-nav__sub:focus-visible::before { transform: scaleY(1); }
.site-nav__sub-title { font-weight: 600; font-size: var(--fs-15); color: var(--text); }
.site-nav__sub-desc { font-size: var(--fs-13); color: var(--text-3); }
.has-dropdown.is-open .site-nav__link { color: var(--text); }

.site-header__aside {
  display: flex; align-items: center; gap: var(--s-3);
  margin-left: auto;
}
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; min-width: 44px; padding: 0 12px;
  border-radius: var(--r-md);
  font-size: var(--fs-14); font-weight: 600;
  color: var(--text-2);
  border: 1px solid var(--border-strong);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.lang-switch:hover { color: var(--text); border-color: var(--border-hover); }
.lang-switch__chip { font-feature-settings: 'tnum'; letter-spacing: 0.04em; }
.site-header__cta { display: none; }
/* Match the desktop-nav breakpoint (1024) so we never show a hamburger AND a CTA side-by-side. */
@media (min-width: 1024px) { .site-header__cta { display: inline-flex; } }

/* Hamburger */
.hamburger {
  width: 44px; height: 44px;
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-strong);
}
.hamburger span {
  width: 18px; height: 1.5px; background: var(--text);
  transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 1024px) { .hamburger { display: none; } }

/* Mobile nav */
.mobile-nav {
  /* Explicit top/left/right + height (instead of `inset` shorthand) — relying
     on top+bottom to auto-compute the height collapsed to 0 in some Chromium
     builds when the body switched from `height: 100%` to `min-height: 100%`.
     Setting the height directly with svh/vh fallback is reliable across
     mobile browsers (svh excludes the dynamic browser chrome). */
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
  background: var(--bg-0);
  z-index: 70;                         /* above sticky header (50) and cookie banner (60) */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;   /* momentum scroll on iOS */
}
/* Body lock applied via class (avoids clobbering inline styles, survives bfcache). */
.is-nav-open { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .mobile-nav { animation: fadeIn var(--t-base) var(--ease); }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
}
.mobile-nav__inner { padding-block: var(--s-7) var(--s-9); }
.mobile-nav__list { display: grid; gap: 4px; margin-bottom: var(--s-7); }
.mobile-nav__list > li > a {
  display: block; padding: 14px 0;
  font-size: var(--fs-22); font-weight: 600; letter-spacing: var(--tracking-tight);
  color: var(--text); border-bottom: 1px solid var(--border);
}
.mobile-nav__group {
  display: grid; gap: 4px;
  padding-block: var(--s-3);
  border-bottom: 1px solid var(--border);
}
.mobile-nav__group-label {
  font-size: var(--fs-12); text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-3); font-weight: 600; padding-block: 8px;
}
.mobile-nav__group-link {
  display: block; padding: 14px 0;
  font-size: var(--fs-22); font-weight: 600; letter-spacing: var(--tracking-tight);
  color: var(--text);
}
.mobile-nav__group a {
  padding: 10px 0; font-size: var(--fs-16); color: var(--text-2);
}
.mobile-nav__sublist { display: grid; gap: 0; padding-left: 0; }
.mobile-nav__sublist a { display: block; }
.mobile-nav__footer { display: grid; gap: var(--s-4); margin-top: var(--s-7); }

/* ── Hero ────────────────────────────────────────────── */
/* Meta-Strip (Eyebrow im Hero): Mono, muted, uppercase - kein Orange */
.hero .eyebrow,
.hero-meta {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-mute);
  margin-bottom: 24px;
  /* Eyebrow-Linie deaktivieren im Hero */
}
.hero .eyebrow::before { display: none; }
/* Abstände: Meta->Headline 24px (via margin-bottom), Headline->Sub 32px,
   Sub->CTA 48px */
.hero-title { margin-top: 0; }
.hero-sub   { margin-top: var(--s-7); }
.hero-cta   { margin-top: var(--s-9); }

/* Full viewport hero (SURGICAL REDESIGN 2026-04-20). */
.hero {
  position: relative;
  padding-block: clamp(88px, 12vw, 160px) clamp(64px, 9vw, 112px);
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  max-height: none;
  display: flex;
  align-items: center;
}
/* Whisper-quiet dot grid — same texture as .section--alt but masked
   as a centered ellipse so it fades naturally into the dark edges. */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: 0 0;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 45%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 45%, black, transparent);
}
.hero .hero__inner { position: relative; z-index: 2; width: 100%; }
/* Left-aligned, asymmetric — no centering, no max-width clamp.
   Layout driven by outer grid (SURGICAL REDESIGN 2026-04-20). */
.hero__inner {
  position: relative;
  max-width: none;
  margin-inline: 0;
  text-align: left;
}
.hero__inner .hero__lead { margin-inline: auto; }
.hero__inner .cta-row,
.hero__inner .hero__meta { justify-content: center; }
.hero__inner .eyebrow {
  margin-inline: auto;
  /* Drop the leading 18px line on centered hero eyebrow so it doesn't pull text off-axis. */
}
.hero__inner .eyebrow::before { display: none; }
.hero__title {
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;              /* dominant over H2 (600), lighter than .display (800) so hero reads editorial, not chunky */
  text-wrap: balance;
}
.hero__title .accent { color: var(--accent); }
/* Thin highlighter strip at the bottom 28% of the word — editorial underline
   marker effect. 6px inline padding + -2px inline margin pull the stripe
   slightly past the letter glyphs so the gradient never hard-cuts at the edge. */
.hero__title .underline {
  background-image: linear-gradient(180deg, transparent 72%, var(--accent-halo) 72%, var(--accent-halo) 98%, transparent 98%);
  background-repeat: no-repeat;
  padding-inline: 6px;
  margin-inline: -2px;
  border-radius: var(--r-sm);
}
.hero__lead {
  font-size: 20px;
  line-height: 1.4;
  color: var(--text-soft);
  max-width: 64ch;
  margin-top: 32px;
}
.hero__meta {
  display: flex; flex-wrap: wrap; gap: var(--s-5);
  margin-top: var(--s-9);
  font-size: var(--fs-14); color: var(--text-3);
}
.hero__meta-item { display: inline-flex; align-items: center; gap: 8px; }
/* Separator dot only BETWEEN items — not before the first. */
.hero__meta-item + .hero__meta-item::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
  flex-shrink: 0;
}

/* ── Case-detail (Proof page) ────────────────────────── */
.case-detail { display: block; }
.case-detail__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  align-items: start;
}
@media (min-width: 900px) {
  .case-detail__head {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: var(--s-8);
    align-items: center;
  }
}
.case-detail__head-text { max-width: 880px; min-width: 0; }
.case-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  flex-shrink: 0;
  padding: var(--s-4);
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.case-logo:hover { opacity: 1; }
.case-logo--light { background: #fff; border-color: rgba(0,0,0,0.08); }
.case-detail h3 .bi { color: var(--accent); margin-right: 0.5em; vertical-align: -0.125em; }
.case-logo img {
  display: block;
  max-height: 88px;
  max-width: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (min-width: 900px) {
  .case-logo { justify-self: end; align-self: center; }
}
.case-detail__metrics {
  display: grid; gap: var(--s-4);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .case-detail__metrics { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .case-detail__metrics { grid-template-columns: repeat(4, 1fr); } }
.metric {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-6) var(--s-5);
  text-align: left;
}
.metric__num {
  font-family: var(--mono);
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 500; line-height: 1.1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
  letter-spacing: -0.02em;
}
.metric__label {
  margin-top: var(--s-3);
  font-size: var(--fs-13);
  color: var(--text-3);
  line-height: var(--lh-tight, 1.3);
}

/* ── Problem block ───────────────────────────────────── */
.problem-list {
  display: grid; gap: var(--s-4);
  counter-reset: prob;
}
.problem-list li {
  position: relative;
  padding: var(--s-5) 0 var(--s-5) 40px;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-16); color: var(--text-2); line-height: var(--lh-loose);
}
.problem-list li::before {
  position: absolute; left: 0; top: var(--s-5);
  counter-increment: prob;
  content: counter(prob, decimal-leading-zero);
  font-feature-settings: 'tnum';
  font-size: var(--fs-14); font-weight: 600; color: var(--text-3);
}
/* When the list is just bullet content (ul, no counter), drop the number gutter. */
ul.problem-list li { padding-left: var(--s-4); }
ul.problem-list li::before {
  content: ''; counter-increment: none;
  width: 6px; height: 6px; top: calc(var(--s-5) + 10px);
  background: var(--accent); border-radius: 50%;
}

/* ── Process timeline ────────────────────────────────── */
/* Redesign per Briefing: vertikale Linie links via ::before auf Container,
   Orange-Dot via ::before auf Item, Akzentbalken via ::after auf Item. */
.timeline {
  position: relative;
  padding-left: 48px;
  padding-top: 8px;   /* clearance so dot-01 isn't clipped by section padding edge */
  display: grid; gap: 0;
}
/* Vertikale Linie links */
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--line);
}
/* Closing dot caps the vertical line at its bottom end for all timelines
   (both static service-page timelines and scroll-rail timelines). */
.timeline::after {
  content: '';
  position: absolute;
  left: -3px; bottom: 8px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--bg-0);
  border: 2px solid var(--line);
}
.timeline__item {
  position: relative;
  padding: 32px 0 32px 32px;
  border-top: 1px solid var(--line);
  transition: background var(--t-base) var(--ease), padding-left var(--t-base) var(--ease);
  /* no overflow:hidden — ::before dot sits at left:-53px and would be clipped */
}
.timeline__item:last-child { border-bottom: 1px solid var(--line); }
/* Orange Dot auf der Linie */
.timeline__item::before {
  content: '';
  position: absolute;
  left: -53px; top: 40px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--bg-0);
  border: 2px solid var(--orange);
}
/* Akzentbalken links */
.timeline__item::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 2px; height: 100%;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--t-base) var(--ease);
}
.timeline__item:hover, .timeline__item:focus-within { background: rgba(255,255,255,0.015); }
.timeline__item:hover::after, .timeline__item:focus-within::after { transform: scaleY(1); }
.section--alt .timeline__item::before { background: var(--bg-1); }
.timeline__num {
  font-family: var(--mono);
  font-size: 14px; font-weight: 400; color: var(--text-mute);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  /* Step index in mute — dot stays orange, number doesn't need to fight for accent budget */
}
.timeline__title { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; margin-top: 4px; }
.timeline__body { color: var(--text-soft); font-size: var(--fs-15); line-height: 1.55; margin-top: 16px; max-width: 56ch; }
.timeline__meta { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-mute); margin-top: var(--s-4); }
@media (max-width: 640px) {
  .timeline { padding-left: 32px; }
  .timeline__item { padding: 24px 0 24px 20px; }
  .timeline__item::before { left: -37px; top: 28px; }
}

/* ── Proof / Case card ───────────────────────────────── */
.case {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-8);
  display: grid; gap: var(--s-5);
  position: relative;
  overflow: hidden;
  transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.case::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 2px; height: 100%;
  background: var(--orange);
  transform: scaleY(0); transform-origin: top;
  transition: transform var(--t-base) var(--ease);
}
.case:hover, .case:focus-within { border-color: var(--line-strong); background: rgba(255,255,255,0.015); }
.case:hover::before, .case:focus-within::before { transform: scaleY(1); }
.case__meta { display: flex; gap: var(--s-3); font-size: var(--fs-12); color: var(--text-3); text-transform: uppercase; letter-spacing: 0.1em; }
.case__title { font-size: var(--fs-26); font-weight: 700; letter-spacing: var(--tracking-tight); }
.case__body { color: var(--text-2); font-size: var(--fs-15); line-height: var(--lh-loose); }
.case__metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--border);
}
@media (max-width: 380px) {
  .case__metrics { grid-template-columns: repeat(2, 1fr); }
}
.case__metric-num { font-family: var(--mono); font-size: var(--fs-22); font-weight: 500; color: var(--accent); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.case__metric-label { font-size: var(--fs-12); color: var(--text-3); text-transform: uppercase; letter-spacing: 0.1em; }

/* ── FAQ accordion ───────────────────────────────────── */
.faq { display: grid; gap: 0; counter-reset: faq-q; }
.faq__item { border-top: 1px solid var(--line); counter-increment: faq-q; }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
/* Mono Q-number badge via CSS counter — no HTML change needed. */
.faq__btn::before {
  content: 'Q' counter(faq-q, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.08em;
  min-width: 32px;
  flex-shrink: 0;
}
.faq__btn {
  width: 100%;
  display: flex; align-items: center; gap: var(--s-4);
  padding: var(--s-6) 4px;            /* tiny horizontal padding to widen tap area */
  min-height: 48px;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  font-weight: 600; letter-spacing: var(--tracking-tight);
  color: var(--text);
  text-align: left;
}
/* Question text expands to fill space, pushing icon to far right. */
.faq__btn > span:not(.faq__icon) { flex: 1; }
.faq__icon {
  width: 24px; height: 24px; flex: none;
  position: relative;
}
.faq__icon::before, .faq__icon::after {
  content: ''; position: absolute; inset: 0; margin: auto;
  background: currentColor;
}
.faq__icon::before { width: 14px; height: 1.5px; }
.faq__icon::after  { width: 1.5px; height: 14px; transition: transform var(--t-base) var(--ease); }
.faq__btn[aria-expanded="true"] .faq__icon::after { transform: rotate(90deg); opacity: 0; }
.faq__btn[aria-expanded="true"] { color: var(--accent); }
.faq__panel {
  display: grid; grid-template-rows: 0fr;
}
/* Transition only after JS adds .is-ready — prevents the open-on-load flash. */
.faq.is-ready .faq__panel {
  transition: grid-template-rows var(--t-base) var(--ease);
}
.faq__panel > div { overflow: hidden; }
.faq__btn[aria-expanded="true"] + .faq__panel { grid-template-rows: 1fr; }
.faq__panel p {
  color: var(--text-2); font-size: var(--fs-15); line-height: var(--lh-loose);
  padding-bottom: var(--s-6); max-width: 70ch;
}

/* ── Forms ───────────────────────────────────────────── */
.form { display: grid; gap: var(--s-5); }
.form__row { display: grid; gap: var(--s-5); }
@media (min-width: 720px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 8px; }
.field__label {
  font-size: var(--fs-14); font-weight: 600; color: var(--text-2);
  letter-spacing: -0.005em;
}
.field__label .required { color: var(--accent); }
.field__hint { font-size: var(--fs-12); color: var(--text-3); }
.field__error { font-size: var(--fs-13); color: var(--error); display: none; }
.field.has-error .field__error { display: block; }
.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea { border-color: var(--error); }

.input, .select, .textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  color: var(--text);
  font-size: var(--fs-16);            /* 16px prevents iOS Safari zoom-on-focus */
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  min-height: 48px;
}
.input::placeholder, .textarea::placeholder { color: var(--text-muted); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--border-hover); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
  background: var(--bg-2);
}
.textarea { min-height: 120px; resize: vertical; line-height: var(--lh-base); }
.select {
  appearance: none;
  -moz-appearance: none;                /* older Firefox draws a native arrow without this */
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%238a8a8a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 2l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  padding-right: 44px;
}

.checkbox { display: grid; grid-template-columns: 22px 1fr; gap: var(--s-3); align-items: start; }
.checkbox input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 22px; height: 22px;
  border: 1px solid var(--border-strong); border-radius: var(--r-sm);
  background: var(--bg-1);
  display: inline-grid; place-items: center;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  margin-top: 2px;
}
.checkbox input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.checkbox input[type="checkbox"]:checked::after {
  content: '';
  width: 12px; height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.5l3.5 3.5L16 6'/%3E%3C/svg%3E");
  background-size: contain;
}
.checkbox label, .checkbox > span {
  font-size: var(--fs-14); color: var(--text-2); line-height: var(--lh-loose);
}
.checkbox a { color: var(--text); text-decoration: underline; text-decoration-color: var(--border-hover); }
.checkbox a:hover { color: var(--accent); text-decoration-color: var(--accent); }

/* Honeypot field — visually hidden via the sr-only clip pattern. The old
   `left: -9999px` approach could trigger a horizontal scrollbar in some
   browsers when the viewport hadn't finished laying out. */
.honey { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

.form__status { display: none; }
.form__status--success, .form__status--error {
  padding: var(--s-5);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}
.form__status--success { border-color: rgba(74, 222, 128, 0.4); background: rgba(74, 222, 128, 0.06); }
.form__status--error { border-color: rgba(248, 113, 113, 0.4); background: rgba(248, 113, 113, 0.06); }
.form.is-success .form__status--success { display: block; }
.form.is-error   .form__status--error { display: block; }

/* ── Compact contact form (Money + Main page footer) ───────────────── */
.section--compact-contact { border-top: 1px solid var(--line); }
.form--compact { max-width: 640px; margin-inline: auto; }
.form--compact .form__row--cols-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
@media (min-width: 600px) {
  .form--compact .form__row--cols-2 { grid-template-columns: 1fr 1fr; }
}
.form--compact .form__status--success,
.form--compact .form__status--error {
  text-align: center;
  font-size: var(--fs-15);
}
/* Cloudflare Turnstile: subtle dark-theme integration */
.form--compact .cf-turnstile {
  display: flex;
  justify-content: center;
  min-height: 65px; /* reserves space — avoids CLS while widget loads */
}

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  padding-block: clamp(64px, 8vw, 96px) var(--s-7);
  margin-top: var(--s-12);
}
.site-footer__top {
  display: grid; gap: var(--s-9);
  grid-template-columns: 1fr;
}
@media (min-width: 960px) { .site-footer__top { grid-template-columns: 1.2fr 2fr; } }
.site-footer__brand { max-width: 360px; display: grid; gap: var(--s-4); }
.site-footer__logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.025em; color: var(--text); }
.site-footer__logo .brand-mark { width: 28px; height: 28px; }
.site-footer__tagline { color: var(--text-2); font-size: var(--fs-15); line-height: var(--lh-loose); }
.site-footer__based { color: var(--text-3); font-size: var(--fs-13); }
.site-footer__email {
  font-weight: 600; color: var(--text);
  border-bottom: 1px solid var(--border-hover);
  width: max-content;
  margin-top: var(--s-2);
  padding-top: var(--s-3);
  border-top: 1px solid var(--border);
  border-bottom-color: transparent;
  padding-right: 4px;
}
.site-footer__email:hover { color: var(--accent); border-color: var(--accent); }

.site-footer__cols {
  display: grid; gap: var(--s-7);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) { .site-footer__cols { grid-template-columns: repeat(4, 1fr); } }
.site-footer__heading {
  font-size: var(--fs-12); text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-3); font-weight: 700;
  margin: 0 0 var(--s-4);
  line-height: 1.4;
}
.site-footer__col ul { display: grid; gap: 10px; }
.site-footer__col a { font-size: var(--fs-14); color: var(--text-2); }
.site-footer__col a:hover { color: var(--text); }
/* Stacked column: a single grid cell carries two heading-list pairs
   (Features + Rechtliches) so the footer keeps a clean 4-column row
   instead of orphaning Rechtliches on a second row. The secondary
   heading sits with extra top space so the two sections read as
   separate units. */
.site-footer__heading--secondary { margin-top: var(--s-6); }

.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: space-between;
  align-items: center;
  margin-top: var(--s-9); padding-top: var(--s-6);
  border-top: 1px solid var(--border);
  color: var(--text-3); font-size: var(--fs-13);
}

/* Mono legal link strip in footer bottom */
.footer-legal {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.footer-legal a {
  color: var(--text-mute);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.footer-legal a:hover { color: var(--text); }
.footer-divider {
  margin: 0 12px;
  color: var(--line-strong);
  user-select: none;
  font-size: 10px;
}

/* ── Cookie banner ───────────────────────────────────── */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  max-width: 640px; margin-inline: auto;
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: var(--s-6);
}
@media (prefers-reduced-motion: no-preference) {
  .cookie-banner { animation: slideUp var(--t-slow) var(--ease); }
  @keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
}
/* Two-column layout uses minmax so neither column can collapse the other.
   The actions column is capped so wrapped buttons don't starve the copy. */
.cookie-banner__inner { display: grid; gap: var(--s-5); }
@media (min-width: 720px) {
  .cookie-banner__inner {
    grid-template-columns: minmax(0, 1fr) minmax(160px, max-content);
    align-items: center;
    gap: var(--s-7);
  }
}
.cookie-banner__title { font-size: var(--fs-16); font-weight: 700; }
.cookie-banner__body { font-size: var(--fs-14); color: var(--text-2); margin-top: 4px; line-height: 1.6; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: flex-end; }
@media (min-width: 720px) { .cookie-banner__actions { max-width: 280px; } }

/* ── Final CTA section ───────────────────────────────── */
/* Open, architectural treatment: no box. The vertical 2px orange bar is the
   site's primary visual language applied as a static decorative element.
   The brand signal reads immediately without enclosure noise. */
.final-cta {
  padding: clamp(32px, 4vw, 56px) 0;
  text-align: center;
  position: relative;
  min-height: 60vh;
}
.final-cta::before {
  content: '';
  display: block;
  width: 2px;
  height: 48px;
  background: var(--accent);
  margin: 0 auto var(--s-7);
  opacity: 0.85;
}
.final-cta--on-alt { /* no background needed — parent section provides context */ }
.final-cta h2 {
  font-size: clamp(1.875rem, 4.5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: var(--s-5);
}
.final-cta p { max-width: 56ch; margin-inline: auto; font-size: var(--fs-16); color: var(--text-2); }
/* The generic p rule above would override .eyebrow's orange — restore it. */
.final-cta .eyebrow { color: var(--accent); max-width: none; }
/* Centered eyebrow normally hides the ::before dash — restore it for final-cta
   so the pattern matches every other section head on the page. */
.final-cta .eyebrow::before { display: inline-block; }

/* ── Pill / chips ────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--bg-2);
  border: 1px solid var(--border);
  font-size: var(--fs-12); font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.02em;
}
.pill--accent { color: var(--accent); border-color: var(--accent-ring); background: var(--accent-soft); }

/* ── Comparison table ────────────────────────────────── */
.compare {
  width: 100%; min-width: 560px;       /* keep columns readable on narrow screens — wrapper scrolls */
  border-collapse: separate; border-spacing: 0;
  font-size: var(--fs-14);
}
.compare th, .compare td {
  padding: var(--s-4) var(--s-3);
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.compare th { font-weight: 600; color: var(--text-3); font-size: var(--fs-12); text-transform: uppercase; letter-spacing: 0.1em; }
.compare td { color: var(--text-2); line-height: var(--lh-loose); }
.compare tr:hover td { background: var(--bg-1); }

/* ── Prose (legal & long-form pages + Markdown body) ───
   Typography (fs-17 / 1.7) adopted from REDESIGN v2 Markdown treatment;
   container constraints (max-width 760px, centered) retained from legal-page use. */
.prose { max-width: 760px; margin-inline: auto; color: var(--text-2); font-size: var(--fs-17); line-height: 1.7; }
.prose h2 { font-size: var(--fs-26); margin-top: var(--s-9); margin-bottom: var(--s-4); color: var(--text); }
.prose h3 { font-size: var(--fs-20); margin-top: var(--s-7); margin-bottom: var(--s-3); color: var(--text); }
.prose p { margin-bottom: var(--s-4); line-height: var(--lh-loose); font-size: var(--fs-16); }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: var(--s-4); }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 8px; line-height: var(--lh-loose); }
.prose a { color: var(--accent); border-bottom: 1px solid var(--accent-ring); }
.prose a:hover { border-color: var(--accent); }
.prose strong { color: var(--text); }
.prose code { font-family: var(--mono); font-size: 0.9em; padding: 2px 6px; background: var(--bg-2); border-radius: 4px; }
.prose .meta { color: var(--text-3); font-size: var(--fs-13); margin-bottom: var(--s-7); }

/* ── Breadcrumbs ─────────────────────────────────────── */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: var(--fs-13); color: var(--text-3); margin-bottom: var(--s-5); }
.crumbs a { color: var(--text-3); }
.crumbs a:hover { color: var(--text); }
.crumbs__sep { color: var(--text-muted); }

/* ── Utilities ───────────────────────────────────────── */
.mt-0 { margin-top: 0; }
.mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.mt-8 { margin-top: var(--s-8); }
.mt-9 { margin-top: var(--s-9); }
.mt-10 { margin-top: var(--s-10); }
.mb-0 { margin-bottom: 0; }
.gap-3 { gap: var(--s-3); }
.gap-4 { gap: var(--s-4); }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* ── Currency toggle + price spans ───────────────────── */
/* Default state (no JS / EUR): show EUR, hide USD. Switch on [data-currency]. */
.price { display: inline; }
.price__amount { display: inline; font-variant-numeric: tabular-nums; }
.price__amount--usd { display: none; }
[data-currency="USD"] .price__amount--eur { display: none; }
[data-currency="USD"] .price__amount--usd { display: inline; }
/* Hero meta-strip always shows EUR — compact reference, no toggle needed. */
[data-currency="USD"] .hero__meta .price__amount--eur { display: inline; }
[data-currency="USD"] .hero__meta .price__amount--usd { display: none; }

.currency-toggle {
  display: inline-flex; align-items: center;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  padding: 4px;
  gap: 2px;
}
.currency-toggle button {
  appearance: none; border: 0; background: transparent;
  color: var(--text-3);
  font-size: var(--fs-14);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  min-height: 44px;                      /* WCAG 2.5.5 / Apple HIG tap target */
}
.currency-toggle button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.currency-toggle button:not([aria-pressed="true"]):hover { color: var(--text); }



/* ── Print ──────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .cookie-banner, .hamburger { display: none !important; }
  .section--hero::before, .section--hero::after,
  .hero::before, .hero::after { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
}

/* ── Insights / Einblicke ───────────────────────────── */
.insights-list {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 700px)  { .insights-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .insights-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.insights-card {
  display: flex;
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.insights-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 2px; height: 100%;
  background: var(--orange);
  transform: scaleY(0); transform-origin: top;
  transition: transform var(--t-base) var(--ease);
  z-index: 1;
}
.insights-card:hover, .insights-card:focus-within { border-color: var(--line-strong); background: rgba(255,255,255,0.015); }
.insights-card:hover::before, .insights-card:focus-within::before { transform: scaleY(1); }
.insights-card--featured { border-color: var(--accent); }
@media (min-width: 1100px) {
  .insights-card--featured { grid-column: auto; }
}

.insights-card__link {
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
  text-decoration: none;
  color: inherit;
}
.insights-card__cover {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-2);
}
.insights-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.insights-card__body {
  display: grid;
  gap: var(--s-3);
  padding: var(--s-5);
  align-content: start;
}
.insights-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  font-size: var(--fs-13);
  color: var(--text-3);
  align-items: center;
}
.insights-card__tag {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-weight: 600;
  font-size: var(--fs-12);
}
.insights-card__title {
  font-family: var(--font-display, inherit);
  font-size: var(--fs-18);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-1);
}
.insights-card__excerpt { font-size: var(--fs-15); color: var(--text-2); line-height: 1.55; }
.insights-card__author { font-size: var(--fs-13); color: var(--text-3); margin-top: var(--s-2); }
.insights-list--small .insights-card__title { font-size: var(--fs-18); }
.insights-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: rgba(232, 93, 47, 0.1);
  color: var(--accent);
  flex-shrink: 0;
}
.insights-card__icon svg { width: 20px; height: 20px; }

/* Single post */
.post__head .display { max-width: 22ch; }
.post__meta {
  display: flex;
  align-items: center;
  gap: var(--s-4);
}
.post__author-photo {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}
.post__meta-text { display: grid; gap: 2px; }
.post__author { font-weight: 600; color: var(--text-1); }
.post__byline { font-size: var(--fs-13); color: var(--text-3); }
.post__cover { margin-block: var(--s-7); }
.post__cover img {
  width: 100%; height: auto; display: block;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  aspect-ratio: 16/9;
  object-fit: cover;
}
.post__draft-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 2px 8px;
  border-radius: var(--r-sm);
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Table of contents — generated from H2 headings in content.php.
   Rendered between post cover and body, only when a post has >=3 H2s. */
.post__toc {
  margin-top: var(--s-7);
  margin-bottom: var(--s-2);
  padding: var(--s-5) var(--s-6);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.post__toc-title {
  font-size: var(--fs-13);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin: 0 0 var(--s-3) 0;
}
.post__toc-list {
  list-style: decimal inside;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--s-2);
  color: var(--text-2);
  font-size: var(--fs-15);
  line-height: 1.5;
}
.post__toc-list li { padding-left: 4px; }
.post__toc-list a {
  color: var(--text-1);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base) var(--ease);
}
.post__toc-list a:hover { border-color: var(--accent); color: var(--accent); }

/* Prose (Markdown body) — base .prose {} merged upward into the consolidated
   rule above; these descendant rules enrich the Markdown treatment. */
.prose > * + * { margin-top: var(--s-5); }
.prose h2 { font-size: var(--fs-26); color: var(--text-1); margin-top: var(--s-9); line-height: 1.2; }
.prose h3 { font-size: var(--fs-20); color: var(--text-1); margin-top: var(--s-7); line-height: 1.3; }
.prose h4 { font-size: var(--fs-18); color: var(--text-1); margin-top: var(--s-6); }
.prose p { margin-top: var(--s-4); }
.prose ul, .prose ol { padding-left: 1.4em; margin-top: var(--s-4); }
.prose ul li, .prose ol li { margin-top: var(--s-2); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-hover); }
.prose strong { color: var(--text-1); font-weight: 700; }
.prose em { font-style: italic; }
.prose code {
  background: var(--bg-2);
  padding: 2px 6px;
  border-radius: var(--r-sm);
  font-size: 0.9em;
  font-family: var(--mono);
}
.prose pre {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-5);
  overflow-x: auto;
  font-size: var(--fs-14);
}
.prose pre code { background: transparent; padding: 0; }
.prose figure.post-architecture {
  margin-top: var(--s-6);
}
.prose figure.post-architecture pre {
  margin-top: 0;
  border-color: color-mix(in srgb, var(--accent) 32%, var(--border));
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 8%, var(--bg-2)), var(--bg-2));
}
.prose figure.post-architecture figcaption {
  margin-top: var(--s-3);
  color: var(--text-3);
  font-size: var(--fs-14);
}
.prose blockquote {
  border-left: 3px solid var(--accent);
  padding: var(--s-3) var(--s-5);
  color: var(--text-2);
  font-style: italic;
}
.prose hr { border: 0; border-top: 1px solid var(--border); margin-block: var(--s-8); }
.prose img {
  width: 100%; height: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  margin-top: var(--s-5);
}
.prose .faq { margin-top: var(--s-6); }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--s-5);
  font-size: var(--fs-15);
  line-height: 1.5;
}
.prose table thead th {
  text-align: left;
  font-weight: 600;
  color: var(--text-1);
  padding: var(--s-3) var(--s-4);
  border-bottom: 2px solid var(--border);
  background: var(--bg-2);
}
.prose table tbody td {
  padding: var(--s-3) var(--s-4);
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  vertical-align: top;
}
.prose table tbody tr:last-child td { border-bottom: 0; }
.prose table tbody td:first-child {
  font-variant-numeric: tabular-nums;
  color: var(--text-3);
  width: 3ch;
  white-space: nowrap;
}
.prose table tbody td:nth-child(2) {
  color: var(--text-1);
  font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .prose table tbody td:nth-child(2) { white-space: normal; }
}
.prose table.selfcheck-table tbody td:first-child {
  width: auto;
  white-space: normal;
}
.prose table.selfcheck-table tbody td:nth-child(2) {
  color: var(--text-2);
  font-weight: 400;
  white-space: normal;
}
.prose table.selfcheck-table tbody td:last-child {
  color: var(--text-1);
  font-weight: 600;
  white-space: nowrap;
}

/* Related-insights block (for service pages) */
.related-insights {
  border-top: 1px solid var(--border);
  margin-top: var(--s-9);
  padding-top: var(--s-7);
}
.related-insights__title {
  font-size: var(--fs-13);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: var(--s-4);
}
.related-insights__list { list-style: none; padding: 0; display: grid; gap: var(--s-3); }
.related-insights__list a {
  display: grid;
  gap: 2px;
  padding: var(--s-4);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--t-base) var(--ease);
}
.related-insights__list a:hover { border-color: var(--accent); }
.related-insights__h { font-weight: 600; color: var(--text-1); }
.related-insights__e { font-size: var(--fs-14); color: var(--text-3); }

/* ==========================================================
   REDESIGN v2 — New components per briefing 2026-04-20
   ========================================================== */

/* ── Reveal system (Scroll-Animationen) ──────────────────── */
/* Blur-fade: elements sharpen into view — "schärft sich ein" not "fadet ein".
   240ms with ease-out-expo feels instant, not animated. 10px translate is
   perceptible without being theatrical. 4px blur adds sharpness-reveal cue
   without blur being visible as a frame of itself. */
[data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  filter: blur(4px);
  transition: opacity 240ms var(--ease-out-expo),
              transform 240ms var(--ease-out-expo),
              filter 240ms var(--ease-out-expo);
  will-change: opacity, transform, filter;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
}
/* Stagger containers are layout wrappers only — only their children animate.
   Without this override the container itself starts at opacity:0 and when it
   gains is-visible before some children do, a "blank grid" flash occurs. */
[data-reveal="stagger"] { opacity: 1; transform: none; filter: none; transition: none; }

/* Staggered reveals via CSS delay — no JS stagger needed.
   60ms per step keeps the cascade snappy on short grids and
   never reaches >300ms even for 6-child containers. */
[data-reveal="stagger"] > *:nth-child(1) { transition-delay:   0ms; }
[data-reveal="stagger"] > *:nth-child(2) { transition-delay:  60ms; }
[data-reveal="stagger"] > *:nth-child(3) { transition-delay: 120ms; }
[data-reveal="stagger"] > *:nth-child(4) { transition-delay: 180ms; }
[data-reveal="stagger"] > *:nth-child(5) { transition-delay: 240ms; }
[data-reveal="stagger"] > *:nth-child(6) { transition-delay: 300ms; }

/* Hero-specific timed reveals (on page load, not scroll).
   280ms with ease-out-expo feels instant on the very first paint. */
.hero-meta  { animation: hero-reveal 280ms var(--ease-out-expo) 0.10s both; }
.hero-title { animation: hero-reveal 280ms var(--ease-out-expo) 0.22s both; }
.hero-sub   { animation: hero-reveal 280ms var(--ease-out-expo) 0.34s both; }
.hero-cta   { animation: hero-reveal 280ms var(--ease-out-expo) 0.46s both; }
@keyframes hero-reveal {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
/* Reduced-motion is handled globally by the animation-duration: 0.01ms
   reset at the top of the file — no per-selector overrides needed. */

/* ── Inner-page hero load animations ────────────────────────
   .section--hero (inner pages) uses the same keyframe as the homepage
   hero but applied to structural selectors — no custom classes needed.
   Breadcrumbs first, then eyebrow, display heading, lead, CTA row, meta bar.
   Delays tighter than the homepage — service pages load with intent. */
.section--hero .crumbs     { animation: hero-reveal 280ms var(--ease-out-expo) 0.06s both; }
.section--hero .eyebrow    { animation: hero-reveal 280ms var(--ease-out-expo) 0.14s both; }
.section--hero .display    { animation: hero-reveal 280ms var(--ease-out-expo) 0.24s both; }
.section--hero .lead--lg   { animation: hero-reveal 280ms var(--ease-out-expo) 0.34s both; }
.section--hero .cta-row    { animation: hero-reveal 280ms var(--ease-out-expo) 0.44s both; }
.section--hero .hero__meta { animation: hero-reveal 280ms var(--ease-out-expo) 0.52s both; }
/* Reduced-motion: handled by the global reset at the top of the file
   (animation-duration: 0.01ms !important). No per-selector overrides needed. */

/* ── KPI Grid ────────────────────────────────────────────── */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Stronger hairlines than generic --line: on a dark background rgba(255,255,255,0.08)
     disappears. 0.14 is visible without feeling heavy. */
  border-top: 1px solid rgba(255,255,255,0.14);
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
@media (max-width: 960px) {
  .kpi-grid { grid-template-columns: 1fr; }
  .kpi-cell { border-right: none !important; border-bottom: 1px solid var(--line); }
  .kpi-cell:last-child { border-bottom: none; }
}
.kpi-cell {
  position: relative;
  padding: 56px 40px;
  border-right: 1px solid rgba(255,255,255,0.14);
  transition: background var(--t-base) var(--ease);
  --glow-x: 50%;
  --glow-y: 50%;
}
.kpi-cell:last-child { border-right: none; }
/* Cursor-tracking glow — radial spotlight follows the mouse inside the cell.
   Uses ::after so ::before stays free for the left-bar accent. */
.kpi-cell::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(
    260px circle at var(--glow-x) var(--glow-y),
    var(--accent-glow),
    transparent 70%
  );
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
  pointer-events: none;
  border-radius: inherit;
}
.kpi-cell:hover::after { opacity: 1; }
.kpi-cell::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 2px; height: 100%;
  background: var(--orange);
  transform: scaleY(0); transform-origin: top;
  transition: transform var(--t-base) var(--ease);
}
.kpi-cell:hover { background: rgba(255,255,255,0.015); }
.kpi-cell:hover::before { transform: scaleY(1); }
.kpi-number {
  font-family: var(--mono);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}
.kpi-label {
  font-family: var(--mono);
  font-size: var(--fs-12);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-mute);
  margin-top: var(--s-4);
}
.kpi-desc {
  font-size: var(--fs-14);
  color: var(--text-soft);
  margin-top: var(--s-3);
  max-width: 28ch;
  line-height: 1.55;
}
.kpi-source {
  font-family: var(--mono);
  font-size: 11px; /* intentionally 1px below --fs-12 — citation text, needs subordinate weight */
  color: var(--text-mute);
  margin-top: var(--s-7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@media (max-width: 640px) {
  .kpi-cell { padding: 40px 24px; }
  .kpi-number { font-size: clamp(40px, 10vw, 56px); }
}

/* ── Matrix rows (Case highlights, lists, services) ──────── */
.matrix-list { list-style: none; padding: 0; margin: 0; }
/* matrix-row can be a <div> (static) or <a> (linked) — reset anchor defaults */
a.matrix-row { text-decoration: none; color: inherit; display: grid; }
/* matrix-row focus: inherits global :focus-visible (2px accent, outline-offset 3px) */
.matrix-row {
  position: relative;
  display: grid;
  grid-template-columns: 100px 1fr 280px;
  align-items: center;
  gap: 48px;
  padding: 32px 0 32px 24px;
  border-top: 1px solid var(--line);
  transition: background var(--t-base) var(--ease);
}
.matrix-row:last-of-type,
.matrix-list > li:last-child .matrix-row { border-bottom: 1px solid var(--line); }
.matrix-row::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 2px; height: 100%;
  background: var(--orange);
  transform: scaleY(0); transform-origin: top;
  transition: transform var(--t-base) var(--ease);
}
.matrix-row:hover { background: rgba(255,255,255,0.015); }
.matrix-row:hover::before { transform: scaleY(1); }
.matrix-row:hover .matrix-meta { color: var(--orange); }
.matrix-num {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--orange);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.matrix-title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
}
.matrix-desc {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.5;
  margin-top: 6px;
  max-width: 52ch;
}
.matrix-meta {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text);
  text-align: right;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .matrix-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-left: var(--s-5); /* 20px — keeps 18px clear of 2px accent bar */
  }
  .matrix-meta { text-align: left; margin-top: 4px; }
}

/* ── Service grid cells (new pattern) ─────────────────────── */
/* ── Wow-moment watermark ─────────────────────────────────── */
.wow-watermark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(280px, 40vw, 640px);
  color: var(--text);
  opacity: 0.04;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 1;
  white-space: nowrap;
}
.wow-content {
  position: relative;
  z-index: 1;
}

/* ── Footer watermark — stronger, positioned at bottom ───── */
.footer-watermark {
  position: absolute;
  bottom: -40px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(160px, 24vw, 400px);
  color: var(--text);
  opacity: 0.03;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  white-space: nowrap;
}
.site-footer { position: relative; overflow: hidden; }

/* ── Mono label utility ───────────────────────────────────── */
.label-mono {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-mute);
}

/* ── Form inputs — underline style ─────────────────────────── */
/* Opt-in with .field--line on the .field wrapper. Preserves default
   bordered style for cookie-settings / general forms. */
.field--line .input,
.field--line .textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 12px 0;
}
.field--line .input:focus,
.field--line .textarea:focus {
  outline: none;
  border-bottom-color: var(--orange);
  box-shadow: none;
  background: transparent;
}
.field--line .field__label {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-mute);
  font-weight: 500;
}

/* Underline-style select — matches .field--line inputs visually.
   The custom chevron arrow shifts left to account for removed padding. */
.field--line .select {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  padding-left: 0;
  padding-right: 40px;
}
.field--line .select:hover { border-bottom-color: var(--border-hover); }
.field--line .select:focus {
  outline: none;
  border-bottom-color: var(--orange);
  box-shadow: none;
  background-color: transparent;
}

/* ── Custom Select Combobox (.cs) ────────────────────────────────────
   Replaces native <select> open-panel rendering with a fully branded
   panel. The native <select> is visually hidden but stays in the DOM
   for form submission and JS-off fallback.                           */
.cs {
  position: relative;
  width: 100%;
}
/* Visually hide the native <select>; keep it reachable for form POST. */
.cs__native {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  z-index: -1;
}
/* Trigger button — inherits the same look as .field--line .select */
.cs__trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%;
  padding: 12px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  font-size: var(--fs-16); color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-bottom-color var(--t-fast) var(--ease);
  min-height: 48px;
}
.cs__trigger:hover { border-bottom-color: var(--border-hover); }
.cs.is-open .cs__trigger,
.cs__trigger:focus-visible {
  outline: none;
  border-bottom-color: var(--orange);
}
.cs__trigger:focus-visible { outline: none; box-shadow: none; }
/* Displayed value text */
.cs__display {
  flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: var(--text);
}
.cs__display[data-placeholder] { color: var(--text-muted, var(--text-3)); }
/* Chevron arrow — same SVG as native select but orange-tinted when open */
.cs__arrow {
  width: 12px; height: 8px; flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%238a8a8a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 2l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: contain;
  transition: transform var(--t-fast) var(--ease), background-image var(--t-fast) var(--ease);
}
.cs.is-open .cs__arrow {
  transform: rotate(180deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23e85d2f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 2l4 4 4-4'/%3E%3C/svg%3E");
}
/* Dropdown panel */
.cs__list {
  display: none;
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  z-index: 200;
  background: var(--bg-elev, var(--bg-1));
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  max-height: 240px; overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  /* Subtle slide-in */
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.cs.is-open .cs__list {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
/* Individual option */
.cs__option {
  padding: 11px 16px;
  font-size: var(--fs-15);
  color: var(--text-2);
  cursor: pointer;
  border-left: 2px solid transparent;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
  user-select: none;
}
.cs__option:first-child { color: var(--text-3); } /* placeholder */
.cs__option:hover,
.cs__option[aria-selected="true"] {
  background: rgba(232, 93, 47, 0.08);
  color: var(--text);
  border-left-color: var(--orange);
}
.cs__option[aria-selected="true"] { color: var(--orange); }
.cs__option.is-focused {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  outline: none;
}
/* Scrollbar — thin, dark-branded */
/* Scrollbar styling — Firefox uses `scrollbar-*`, WebKit uses ::-webkit-scrollbar-*. */
.cs__list { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.cs__list::-webkit-scrollbar { width: 4px; }
.cs__list::-webkit-scrollbar-track { background: transparent; }
.cs__list::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: var(--r-sm); }
/* Error state */
.field.has-error .cs__trigger { border-bottom-color: var(--error); }

/* ==========================================================
   SURGICAL REDESIGN — 2026-04-20
   ========================================================== */

/* ── Hero: left-aligned, asymmetric (descendant overrides) ─ */
/* Override the previous centered descendant treatment.
   Headline spans cols 1-9, mono-meta sits cols 10-12 on desktop. */
.hero__inner .hero__lead { margin-inline: 0; }
.hero__inner .cta-row,
.hero__inner .hero__meta { justify-content: flex-start; }
.hero__inner .eyebrow { margin-inline: 0; }
.hero__inner .eyebrow::before { display: inline-block; }

/* Orange period at sentence end in hero title */
.hero__title .period { color: var(--orange); }

/* ── Hero mono-meta strip (top-right on desktop) ─────────── */
/* Desktop-only component. Visibility controlled by the media queries below. */
.hero__mono-meta {
  position: absolute;
  top: 0; right: 0;
  gap: 0;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-mute);
  min-width: 260px;
}
.hero__mono-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.hero__mono-row:last-child { border-bottom: none; }
.hero__mono-row span:first-child { color: var(--orange); opacity: 0.7; }
@media (max-width: 1023px) { .hero__mono-meta { display: none !important; } }
@media (min-width: 1024px) { .hero__mono-meta { display: grid; } }

/* ── Hero giant index watermark ─────────────────────────── */
.hero__index-wm {
  position: absolute;
  bottom: -0.15em; right: -0.05em;
  font-family: var(--mono);
  font-size: clamp(180px, 22vw, 340px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  z-index: 0;
}
@media (max-width: 768px) { .hero__index-wm { display: none; } }

/* ── Hero scroll cue ─────────────────────────────────────── */
.hero__scroll-cue {
  position: absolute;
  bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.hero__scroll-line {
  width: 1px;
  height: 24px;
  background: var(--orange);
  opacity: 0.8;
  animation: scroll-pulse 1800ms ease-in-out infinite;
}
.hero__scroll-label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-mute);
}
@keyframes scroll-pulse {
  0%, 100% { transform: translateY(0); opacity: 0.8; }
  50%       { transform: translateY(4px); opacity: 0.4; }
}
@media (max-width: 640px) { .hero__scroll-cue { display: none; } }

/* ── Hero status pulsing live-dot ────────────────────────── */
/* Small orange dot before the STATUS value — signals "actively accepting".
   GPU-composited (opacity + transform only). */
.hero__status-pulse {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 6px;
  vertical-align: middle;
  flex-shrink: 0;
  animation: status-pulse 2000ms ease-in-out infinite;
}
@keyframes status-pulse {
  0%, 100% { opacity: 1;    transform: scale(1);    }
  50%       { opacity: 0.3; transform: scale(0.65); }
}
@media (prefers-reduced-motion: reduce) { .hero__status-pulse { animation: none; } }

/* ── Section index marker ─────────────────────────────────── */
/* Subtle mono label at the top of each section — signals precise structure
   to engaged readers without demanding attention. */
.sec-marker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  opacity: 0.55;
  margin-bottom: var(--s-7);
  user-select: none;
  pointer-events: none;
}

/* ── Team portraits (no card background) ─────────────────── */
/* Replace the warm bg-card team-card. Two columns with hairline divider.
   Portrait gets border-radius: 2px (not round). Mono skill strip below bio. */
.team-portrait-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-9);
}
@media (min-width: 720px) {
  .team-portrait-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .team-portrait-grid .team-portrait + .team-portrait {
    border-left: 1px solid var(--line);
    padding-left: var(--s-9);
  }
}
.team-portrait {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--s-6);
  align-items: start;
  position: relative;
  padding: var(--s-6);
  transition: background var(--t-base) var(--ease);
}
.team-portrait::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 2px; height: 100%;
  background: var(--orange);
  transform: scaleY(0); transform-origin: top;
  transition: transform var(--t-base) var(--ease);
}
.team-portrait:hover { background: rgba(255,255,255,0.015); }
.team-portrait:hover::before { transform: scaleY(1); }
@media (max-width: 480px) {
  .team-portrait { grid-template-columns: 1fr; }
}
.team-portrait__photo {
  display: block;
  width: 120px; height: 120px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--bg-2);
}
.team-portrait__role {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: var(--s-2);
  opacity: 0.85;
}
.team-portrait__name {
  font-size: var(--fs-20);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
}
.team-portrait__bio {
  margin-top: var(--s-3);
  font-size: var(--fs-14);
  color: var(--text-2);
  line-height: var(--lh-base);
}
.team-portrait__skills {
  margin-top: var(--s-4);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-mute);
}

/* ── Gap rows (structural problems / gaps, "01-05" section) ── */
/* Each gap is a full-width row with mono orange number, hover accent bar.
   Replaces the generic problem-list on the homepage. */
.gap-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.gap-row {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--s-7);
  padding: 28px 24px 28px 24px;
  border-top: 1px solid var(--line);
  transition: background var(--t-base) var(--ease);
}
.gap-row:last-child { border-bottom: 1px solid var(--line); }
.gap-row::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 100%;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--t-base) var(--ease);
}
.gap-row:hover::before { transform: scaleY(1); }
.gap-row:hover { background: rgba(255,255,255,0.015); }
.gap-num {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 400;
  color: var(--orange);
  letter-spacing: 0.08em;
  font-feature-settings: 'tnum';
  padding-top: 2px;
}
.gap-title {
  font-size: var(--fs-16);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.gap-body {
  color: var(--text-2);
  line-height: 1.6;
  margin-top: 4px;
  font-size: var(--fs-15);
}
@media (max-width: 480px) {
  .gap-row { grid-template-columns: 40px 1fr; gap: var(--s-4); padding: 20px 0; }
}

/* ── Service grid — borderless/transparent variant (homepage 3-up) ── */
/* Wrapping .service-grid--open removes card backgrounds from children. */
.service-grid--open {
  border: 1px solid var(--line);
  gap: 0;
}
.service-grid--open .service-tile {
  background: transparent;
  border: none;
  border-right: 1px solid var(--line);
  border-radius: 0;
}
.service-grid--open .service-tile:last-child { border-right: none; }
/* On mobile: stack with horizontal dividers instead */
@media (max-width: 1023px) {
  .service-grid--open { border: none; gap: 0; }
  .service-grid--open .service-tile {
    border: none;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .service-grid--open .service-tile:last-child { border-bottom: none; }
}

/* ── Timeline progress rail (scroll-fill orange line) ────── */
/* The `.timeline-rail` element is injected by PHP inside `.timeline`.
   JS scrolls its scaleY from 0→1 as user traverses the timeline section. */
.timeline-rail {
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--orange);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 80ms linear;
  z-index: 1;
  pointer-events: none;
}
/* Passed dots — filled orange, all items the rail has moved through */
.timeline__item.is-passed::before {
  background: var(--orange);
  border-color: var(--orange);
}
/* Active dot — the leading dot at the current rail head gets the glow ring */
.timeline__item.is-active::before {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 93, 47, 0.22), 0 0 0 5px rgba(232, 93, 47, 0.08);
}

/* ── Fit-check two-column with subtle tints ──────────────── */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 720px) {
  .fit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
}
.fit-col { padding: var(--s-7) var(--s-6); }
.fit-col--yes { background: rgba(127, 189, 127, 0.02); }
.fit-col--no  { background: rgba(210, 96, 96, 0.02); }
@media (min-width: 720px) {
  .fit-col--no { border-left: 1px solid var(--line); }
}

/* ── Final CTA watermark ─────────────────────────────────── */
.final-cta__wm {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--mono);
  font-size: clamp(120px, 18vw, 300px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}
.final-cta > * { position: relative; z-index: 1; }

/* ── Footer link hover — orange underline ────────────────── */
.site-footer__col a {
  padding-block: 5px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.site-footer__col a:hover {
  color: var(--text);
  border-bottom-color: var(--orange);
  text-underline-offset: 6px;
}


/* Reduced-motion: .hero__scroll-line animation still needs a belt-and-braces
   disable because `animation-duration: 0.01ms` on the global reset doesn't
   neutralise infinite looping keyframes cleanly on all browsers. */
@media (prefers-reduced-motion: reduce) {
  .hero__scroll-line { animation: none; }
}

/* ── Post-Pass-3 micro-polish (consolidated) ─────────────────────
   These rules were originally appended as Pass-3 patches. Keeping only
   the ones that are semantically distinct from earlier rules — .underline
   is now merged into its original declaration. */

/* Final-CTA label strip: allow wrapping at the segment boundaries
   (each segment is a <span> with non-breaking spaces inside), keep
   centered. Old nowrap+ellipsis cut visible text on narrow viewports
   ("AUF DE ODE…" instead of full "AUF DE ODER EN"). */
.final-cta .label-mono {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4em 0.9em;
  max-width: 100%;
  text-transform: uppercase;
}
.final-cta .label-mono span { display: inline-block; }
.final-cta .label-mono span + span::before {
  content: "\00B7"; /* middle dot as separator */
  color: var(--accent);
  margin-right: 0.9em;
}

/* Ghost button hover: reinforce the interaction on dark surface. */
.btn--ghost:hover { background: rgba(255,255,255,0.06); }

/* Card / tile hover: micro-elevation shadow alongside the orange left-bar. */
.card:hover,
.service-tile:hover { box-shadow: var(--shadow-sm); }

/* Timeline items: hover reads clearly against --bg-0 and --bg-1. */
.timeline__item:hover { background: rgba(255,255,255,0.02); }

/* KPI mobile borders: match desktop hairline strength. */
@media (max-width: 960px) {
  .kpi-cell { border-bottom: 1px solid rgba(255,255,255,0.14) !important; }
  .kpi-cell:last-child { border-bottom: none !important; }
}

/* ── Bob widget — mobile safety net ──────────────────────────────────────────
   bob.css is loaded only at ≥1024 px (media="(min-width:1024px)").
   Without these rules the widget, its SVG, and the WhatsApp float have no
   sizing or display constraints on mobile, causing full-screen overflow.
   ─────────────────────────────────────────────────────────────────────────── */

/* 1. Hide the mascot and the "bring Bob back" button entirely on mobile. */
@media (max-width: 1023px) {
  .bob-widget,
  .bob-bring-back { display: none !important; }
}

/* 2. WhatsApp float — always needs base sizing because bob.css doesn't load
      on mobile.  On desktop bob.css overrides position/opacity/transform via
      a higher-order cascade rule (it loads after main.css). */
.bob-wa-float {
  position: fixed;
  bottom: 20px;
  right: 16px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e85d2f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 9998;
  box-shadow: 0 4px 20px rgba(232,93,47,.45);
  /* hidden by default; bob.js adds .is-visible on desktop after Bob dismissal */
  opacity: 0;
  pointer-events: none;
}
.bob-wa-float svg { width: 26px; height: 26px; display: block; flex-shrink: 0; }

/* 3. On mobile: show immediately — no bob.js required. */
@media (max-width: 1023px) {
  .bob-wa-float {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    top: auto !important;
  }
}

/* 4. On desktop: bob.css restores full positioning and opacity control via
      its own .bob-wa-float rule + .is-visible class. The display:none here
      is overridden by bob.css's display:flex (later in the cascade). */
@media (min-width: 1024px) {
  .bob-wa-float { display: none; }
}

/* =========================================================
   BRANCHEN — Hub + Branchen-Detailseiten (Branchen-Verzeichnis)
   Eingeführt mit /de/branchen/ und /de/branchen/handwerker/.
   Komponenten ergänzen den Component-Pool, ohne Tokens zu brechen.
   ========================================================= */

/* visually-hidden Utility (WAI-ARIA Pattern, SR-only Texte) */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Lese-optimierte Spalten-Breite, kappt Fließtext bei 70ch */
.measure { max-width: 70ch; }

/* Status-Pille (live = orange, soon = neutral) */
.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid var(--line);
  color: var(--text-2);
}
.status-pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-3);
}
.status-pill--live {
  color: var(--accent);
  border-color: rgba(232, 93, 47, 0.35);
  background: var(--accent-soft);
}
.status-pill--live::before {
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.status-pill--soon { color: var(--text-2); }

/* Hero-Grid (Hub-Hero mit Mini-Preview rechts) */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-10); }
}

/* Hero-Preview (Mini-Matrix 2x3 Grid im Hero) */
.hero-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.hero-preview__cell {
  background: var(--bg-card);
  padding: var(--s-5) var(--s-4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 120px;
  color: inherit;
  position: relative;
  transition: background var(--t-fast) var(--ease);
}
.hero-preview__cell:hover { background: rgba(255,255,255,0.025); }
.hero-preview__cell--live { background: rgba(232, 93, 47, 0.06); }
.hero-preview__cell--live::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--accent);
}
.hero-preview__cell::after {
  content: ""; position: absolute; top: 14px; right: 14px;
  width: 8px; height: 8px;
  border-top: 1.5px solid var(--text-3);
  border-right: 1.5px solid var(--text-3);
  transform: rotate(45deg) translate(-2px, 2px);
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-base) var(--ease);
}
.hero-preview__cell:hover::after {
  opacity: 1; transform: rotate(45deg) translate(0, 0);
}
.hero-preview__cell--live::after {
  opacity: 1; border-color: var(--accent);
}
.hero-preview__num {
  font-family: var(--mono);
  font-size: 26px; font-weight: 700; line-height: 1;
  color: var(--text-3); letter-spacing: -0.02em;
}
.hero-preview__cell--live .hero-preview__num { color: var(--accent); }
.hero-preview__label {
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 500;
  color: var(--text-2); line-height: 1.3;
}
.hero-preview__cell--live .hero-preview__label { color: var(--text); }
.hero-preview__status {
  font-family: var(--mono);
  font-size: 9.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-3); margin-top: 6px;
}
.hero-preview__cell--live .hero-preview__status { color: var(--accent); }

/* Watermark (Branchen-Hub) */
.matrix-wrap, .process-wrap {
  position: relative;
  isolation: isolate;
}
.matrix-wrap::before, .process-wrap::before {
  content: "06"; position: absolute;
  top: -0.18em; right: -0.04em;
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(220px, 32vw, 480px);
  line-height: 0.85;
  color: var(--text);
  opacity: 0.025;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.06em;
  z-index: -1;
}
.process-wrap::before {
  content: "04"; right: auto; left: -0.04em; top: -0.12em;
}
@media (max-width: 720px) {
  .matrix-wrap::before, .process-wrap::before {
    font-size: clamp(160px, 60vw, 280px);
    top: -0.12em;
  }
}

/* m-tags (Mono-Tags in Listen-Items) */
.m-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 6px;
  margin-bottom: 6px;
}
.m-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 3px 0;
  position: relative;
}
.m-tag + .m-tag::before {
  content: ""; position: absolute;
  left: -7px; top: 50%; transform: translateY(-50%);
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--text-3);
}
.m-beleg {
  font-size: var(--fs-14);
  color: var(--text-2);
  line-height: 1.5;
  max-width: 58ch;
}

/* Feature-Row (Live-Branche als Full-Width Block) */
.feature-row {
  position: relative;
  padding: clamp(24px, 3vw, 40px) clamp(20px, 3vw, 40px)
           clamp(24px, 3vw, 40px) clamp(28px, 4vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.feature-row::before {
  content: ""; position: absolute;
  left: -1px; top: -1px; bottom: -1px;
  width: 2px;
  background: var(--accent);
  border-radius: var(--r-lg) 0 0 var(--r-lg);
}
@media (max-width: 720px) {
  .feature-row { grid-template-columns: 1fr; gap: var(--s-7); }
}
.feature-row__head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: var(--s-4);
}
.feature-row__index {
  font-family: var(--mono);
  font-size: 11px; color: var(--text-3); letter-spacing: 0.14em;
}
.feature-row__title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700; letter-spacing: var(--tracking-tight);
  line-height: var(--lh-snug); margin-bottom: var(--s-4);
}
.feature-row__body {
  color: var(--text-2);
  font-size: var(--fs-17);
  line-height: var(--lh-loose);
}
.feature-row__kpis {
  display: grid; grid-template-columns: 1fr;
  gap: var(--s-5); padding-top: var(--s-2);
}
.feature-row__kpi {
  padding-left: var(--s-4);
  border-left: 2px solid var(--line);
}
.feature-row__kpi-num {
  font-family: var(--mono);
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700; line-height: 1;
  letter-spacing: -0.015em;
  color: var(--text); margin-bottom: 6px;
}
.feature-row__kpi-label {
  font-family: var(--mono);
  font-size: 11px; color: var(--text-3);
  letter-spacing: 0.12em; text-transform: uppercase;
}

/* Soon-List (Progressive-Disclosure-Accordion) */
.soon-list {
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--line);
}
.soon-item { border-bottom: 1px solid var(--line); }
.soon-item__head {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 20px; align-items: center;
  padding: var(--s-6) var(--s-4);
  cursor: pointer;
  position: relative;
  transition: background var(--t-fast) var(--ease);
  width: 100%; text-align: left; color: inherit; font: inherit;
  background: transparent; border: 0;
}
.soon-item__head::before {
  content: ""; position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px; background: transparent;
  transition: background var(--t-fast) var(--ease);
}
.soon-item__head:hover::before,
.soon-item[data-open] .soon-item__head::before {
  background: var(--accent);
}
.soon-item__head:hover { background: rgba(255,255,255,0.015); }
.soon-item__num {
  font-family: var(--mono);
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700; color: var(--text-3); line-height: 1;
}
.soon-item__title {
  display: block;
  font-size: var(--fs-18);
  font-weight: 600; color: var(--text); margin-bottom: 4px;
}
.soon-item__hebel {
  display: block;
  font-size: var(--fs-14);
  color: var(--text-2); line-height: 1.5;
}
.soon-item__toggle {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-3); white-space: nowrap;
}
.soon-item__toggle-icon {
  width: 22px; height: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform var(--t-base) var(--ease), border-color var(--t-fast) var(--ease);
}
.soon-item__toggle-icon::before {
  content: "+"; font-family: var(--mono); font-size: 14px; line-height: 1;
}
.soon-item[data-open] .soon-item__toggle-icon {
  transform: rotate(45deg);
  border-color: var(--accent);
  color: var(--accent);
}
.soon-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-slow) var(--ease-out-expo);
}
.soon-item[data-open] .soon-item__panel {
  grid-template-rows: 1fr;
}
.soon-item__panel > div {
  overflow: hidden;
  min-height: 0;
}
.soon-item__panel-inner {
  padding: 0 var(--s-4) var(--s-7) 76px;
  max-width: 70ch;
}
.soon-item__panel-inner p {
  color: var(--text-2);
  font-size: var(--fs-15);
  line-height: var(--lh-loose);
  margin-bottom: var(--s-4);
}
@media (max-width: 640px) {
  .soon-item__head {
    grid-template-columns: 40px 1fr;
    gap: 14px;
    padding: var(--s-5) var(--s-3);
  }
  .soon-item__toggle {
    grid-column: 1 / -1;
    justify-self: end;
    margin-top: -6px;
  }
  .soon-item__panel-inner {
    padding: 0 var(--s-3) var(--s-6) 54px;
  }
}

/* Phases (Recovery-Phasen-Block, 3 Phasen) */
.phases {
  list-style: none; padding: 0; margin: 0;
}
.phase {
  position: relative;
  padding-left: clamp(48px, 6vw, 88px);
  padding-bottom: var(--s-10);
}
.phase:last-child { padding-bottom: 0; }
.phase__rail {
  position: absolute;
  left: clamp(16px, 2vw, 28px); top: 8px; bottom: 0;
  width: 2px; background: var(--line);
}
.phase--damage .phase__rail { background: rgba(248, 113, 113, 0.35); }
.phase--recovery .phase__rail { background: var(--accent); }
.phase:last-child .phase__rail { bottom: 24px; }
.phase::before {
  content: ""; position: absolute;
  left: clamp(11px, 2vw, 23px); top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg-0);
  border: 2px solid var(--line);
  z-index: 1;
}
.phase--damage::before { border-color: var(--error); }
.phase--recovery::before {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.phase__head {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 14px; margin-bottom: var(--s-4);
}
.phase__num {
  font-family: var(--mono);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600; line-height: 1;
  color: var(--text-3); letter-spacing: -0.02em;
}
.phase--damage .phase__num { color: var(--error); }
.phase--recovery .phase__num { color: var(--accent); }
.phase__pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  font-family: var(--mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  line-height: 1;
  border: 1px solid var(--line);
  color: var(--text-2);
}
.phase__pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-3);
}
.phase__pill--build { color: var(--text-2); }
.phase__pill--damage {
  color: var(--error);
  border-color: rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.08);
}
.phase__pill--damage::before { background: var(--error); }
.phase__pill--recovery {
  color: var(--accent);
  border-color: rgba(232, 93, 47, 0.35);
  background: var(--accent-soft);
}
.phase__pill--recovery::before {
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.phase__period {
  font-family: var(--mono);
  font-size: 12px; color: var(--text-3);
  letter-spacing: 0.06em;
}
.phase__title {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700; line-height: var(--lh-snug);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--s-4); color: var(--text);
}
.phase__body p {
  color: var(--text-2);
  font-size: var(--fs-17);
  line-height: var(--lh-loose);
  max-width: 68ch;
}
.phase__meta {
  margin-top: var(--s-5) !important;
  font-family: var(--mono);
  font-size: 12px !important;
  color: var(--text-3) !important;
  letter-spacing: 0.04em;
}
.phase__matrix {
  padding-top: var(--s-6);
  border-top: 1px solid var(--line);
}

/* Steps-Inline (horizontale 4-Spalten-Schritte) */
.steps-inline {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 960px) {
  .steps-inline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .steps-inline { grid-template-columns: 1fr; }
}
.steps-inline__item {
  padding: var(--s-7) var(--s-5);
  border-right: 1px solid var(--line);
  position: relative;
}
.steps-inline__item:last-child { border-right: none; }
@media (max-width: 960px) {
  .steps-inline__item:nth-child(2n) { border-right: none; }
  .steps-inline__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .steps-inline__item { border-right: none; border-bottom: 1px solid var(--line); }
  .steps-inline__item:last-child { border-bottom: none; }
}
.steps-inline__item::before {
  content: ""; position: absolute;
  top: -1px; left: 0;
  width: 32px; height: 2px;
  background: var(--accent);
  transition: width var(--t-base) var(--ease);
}
.steps-inline__item:hover::before { width: 80px; }
.steps-inline__num {
  font-family: var(--mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: var(--s-3);
}
.steps-inline__title {
  font-size: var(--fs-18);
  font-weight: 700; line-height: var(--lh-snug);
  color: var(--text); margin-bottom: var(--s-3);
}
.steps-inline__body {
  font-size: var(--fs-14);
  line-height: var(--lh-loose);
  color: var(--text-2);
}

/* Gewerke (Tile-Liste mit Money-Queries pro Gewerk) */
.gewerke {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (max-width: 960px) {
  .gewerke { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .gewerke { grid-template-columns: 1fr; }
}
.gewerk {
  padding: var(--s-7) var(--s-6) var(--s-7) calc(var(--s-6) + 2px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.gewerk::before {
  content: ""; position: absolute;
  left: 0; top: var(--s-7);
  width: 2px; height: 24px;
  background: var(--accent);
  transition: height var(--t-base) var(--ease);
}
.gewerk:hover::before { height: 48px; }
.gewerk__num {
  font-family: var(--mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-3);
  margin-bottom: var(--s-3);
}
.gewerk__name {
  font-size: var(--fs-22);
  font-weight: 700; letter-spacing: var(--tracking-tight);
  line-height: var(--lh-snug);
  color: var(--text); margin-bottom: var(--s-3);
}
.gewerk__queries {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--accent); margin-bottom: var(--s-4);
  line-height: 1.5;
}
.gewerk__serp {
  font-size: var(--fs-14);
  line-height: var(--lh-loose);
  color: var(--text-2);
}

/* =========================================================
   BRANCHEN — Iteration 2 (Polish auf Live-Feedback)
   ========================================================= */

/* Hero-Modifier: content-driven height statt 100vh-zentriert.
   Inner-Page-Heroes mit langem H1 (4+ Zeilen) wirkten sonst
   verloren in der Vertikal-Mitte des Viewports. */
.section--hero--start {
  min-height: auto;
  align-items: flex-start;
  padding-block: clamp(56px, 8vw, 96px) clamp(48px, 7vw, 80px);
}

/* Branchen-spezifisch: numerische Listen-Counter in Akzentfarbe
   (statt --text-3 grau). Brand-Signal: Zahlen bekommen die
   Markenfarbe als visueller Anker. Greift NUR innerhalb
   .branchen-page (per body-Class oder Wrapper), damit andere
   Seiten unverändert bleiben. */
.branchen-page .problem-list li::before {
  color: var(--accent);
}
.branchen-page .gewerk__num {
  color: var(--accent);
}

/* Mehr Luft zwischen Lead-Absatz und steps-inline-Block,
   damit der visuelle Bruch zwischen Erklär-Satz und Schritte-
   Komponente klar wird. */
.steps-inline.steps-inline--breathe {
  margin-top: var(--s-9);
}

/* .note — kleine Sekundär-Anmerkung (honest framing, Limitationen).
   Verwendet auf Branchen-Recovery-Block für die offene Query-Note.
   Linker 2px-Bar in muted-color als visueller Anker, der die Brand-
   Signatur aufnimmt aber nicht so prominent wirkt wie accent. */
.branchen-page .note {
  font-size: var(--fs-14);
  line-height: var(--lh-loose);
  color: var(--text-2);
  padding-left: var(--s-4);
  border-left: 2px solid var(--text-3);
}

/* .tldr — single-sentence answer block at the top of hub/pillar pages,
   primes AI-overview citation (Perplexity, ChatGPT-Search, Google AI
   Overviews preferentially cite passages that state the answer in the
   first 100 words). Visually: subtle accent left-bar + slightly larger
   text. Lives between the eyebrow/breadcrumb and the H1. */
.tldr {
  border-left: 2px solid var(--accent);
  padding: var(--s-3) 0 var(--s-3) var(--s-4);
  margin: var(--s-5) 0 var(--s-7);
  max-width: 70ch;
}
.tldr__label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.tldr__text {
  font-size: var(--fs-17);
  line-height: var(--lh-loose);
  color: var(--text);
}
