/* Website and blog. A drawing sheet in daylight: warm paper, drawing-ink text, one surveyor blue, one signal
   colour (--flag) that means only "Nicht im LV", and one motif, the Peilmarke (docs/design/brand-manual.md).
   Tokens mirror the app (docs/design/tokens.md); the block "Site extensions" below lists the few values that
   exist only here. Fonts are bundled in fonts/ (Inter, SIL OFL 1.1), weights 400 and 700 only. Nothing is
   loaded from other servers.
   Rules: no gradients, glow or glass; text at least 4.5:1; nothing under 14 px; rule and disclaimer lines
   at least 15 px; every control at least 48 px (--tap); keys have a solid edge that sinks when pressed. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/inter-latin-700-normal.woff2") format("woff2");
}
/* Fallback with Inter's metrics: while the font loads (font-display: swap) the text sits where it will end up. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 107.4%;
  ascent-override: 90.2%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}

:root {
  /* Neutrals */
  --bg: #faf9f6;
  --card: #ffffff;
  --neutral-soft: #efede8;
  --text: #1a1a1a;
  --muted: #5c5a55;
  --rule: #d9d6cf;
  --card-border: #918d85;
  --control-border: #8a867e;

  /* Accent: one colour */
  --accent: #3070b3;
  --accent-strong: #1d4f85;
  --accent-soft: #e8f0f8;
  --on-accent: #ffffff;

  /* Status */
  --ok: #1e6b3a;
  --ok-soft: #e7f2ea;
  --warn: #7a5200;
  --warn-soft: #fbf3dd;
  --warn-ink: #4d3400;
  --danger: #9b2c1d;
  --danger-soft: #fbeceb;
  --flag: #b4410f; /* exactly one meaning: "Nicht im LV", Abweichung; always with the words; never on keys or links */
  --flag-soft: #fbeee6;

  /* Focus: blue ring with a white gap (tokens.md :focus-visible) */
  --focus: #3070b3;
  --focus-gap: #ffffff;

  /* Type: Inter 400 and 700 */
  --font: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xs: 14px;
  --fs-rule: 15px;
  --fs-sm: 16px;
  --fs-body: 17px;
  --fs-lg: 19px;
  --fs-h1: 28px;
  --fs-display: 32px;
  --lh-body: 1.55;
  --lh-head: 1.1;

  /* Space, radius, sizes */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 48px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius: 16px;
  --radius-pill: 999px;
  --tap: 48px;
  --tap-place: 52px;
  --tap-big: 64px;

  /* Keys */
  --key-depth: 3px;
  --key-edge: var(--control-border);
  --press: 120ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-press: 120ms;
  --dur-enter: 160ms;
  --dur-done: 240ms;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  /* Site extensions: used only on this site. tests/test_site_design.py measures their contrast. */
  --ink-2: #3d3b37; /* secondary headings and lead text */
  --accent-deep: #163d66; /* key edge under --accent-strong */
  --accent-line: #c9d8ea; /* dividers on --accent-soft, decorative numerals; never text */
  --on-accent-soft: rgba(255, 255, 255, 0.84); /* secondary text on --accent-strong */
  --on-accent-rule: rgba(255, 255, 255, 0.22); /* dividers on --accent-strong */
  --night: #14202e; /* footer band */
  --on-night: #f2efe8;
  --accent-on-night: #8fb8e6; /* mark and links on --night */
  --night-rule: rgba(242, 239, 232, 0.2);
  --bezel: #2a2926; /* phone frame around app screenshots */
  --radius-lg: 24px; /* slabs and phone frames only */
  --fs-hero: clamp(32px, 5.2vw, 56px);
  --fs-hero-wide: clamp(40px, 3.5vw, 52px);
  --fs-section: clamp(28px, 3.4vw, 40px);
  --fs-stat: clamp(64px, 9vw, 112px);
  --fs-numeral: 56px;
  --space-9: 72px;
  --space-10: 112px;
  --section-y: 56px;
  --gutter: 16px;
}

@media (min-width: 700px) { :root { --gutter: 24px; } }

@media (prefers-contrast: more) {
  :root {
    --muted: #3d3b37;
    --card-border: #6b675f;
    --control-border: #55524c;
    --rule: #8a867e;
    --text: #000;
  }
}

* { box-sizing: border-box; }

/* The sticky header is 64 px plus its edge; anchors stop a little below it. Smooth only without a motion limit. */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; -webkit-tap-highlight-color: transparent; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; interpolate-size: allow-keywords; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh;
}
body > main { flex: 1 0 auto; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 2px var(--focus-gap); border-radius: var(--radius-sm); }
/* the one variant for dark fields: white ring, no gap */
.dark :focus-visible, .site-foot :focus-visible { outline-color: var(--on-accent); box-shadow: none; }

a { color: var(--accent-strong); text-underline-offset: 3px; transition: color var(--dur-press) var(--ease), text-decoration-color var(--dur-press) var(--ease); }
main :is(p, li) > a:not(.btn, .btn-link):hover, .crumbs a:hover { color: var(--text); }
main :is(p, li) > a:not(.btn, .btn-link):active, .crumbs a:active { color: var(--accent-deep); }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }

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

.skip {
  position: absolute; left: var(--space-4); top: -100px;
  background: var(--card); padding: var(--space-3) var(--space-4); z-index: 30;
}
.skip:focus { top: var(--space-2); }

/* Peilmarke: the brand mark, drawn from one mask so every page gets it without extra markup. The geometry
   is img/peilmarke.svg (single source). Lockup S: mark 24 px, name Inter 700 in --fs-lg, gap --space-2. */
.brand::before, .brand-foot::before {
  content: ""; flex: none; width: 24px; height: 24px; background: currentColor;
  -webkit-mask: var(--peilmarke) center / contain no-repeat; mask: var(--peilmarke) center / contain no-repeat;
}
:root {
  --peilmarke: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M8 6h16l-8 12z'/%3E%3Cpath d='M3 18h26M9 23h14M14 28h4' stroke='%23000' stroke-width='2.5' stroke-linecap='square' fill='none'/%3E%3C/svg%3E");
}

/* Draft strip: remove before launch (site/README.md). It states a disclaimer, so 15 px, and it wraps. */
.draft {
  background: var(--warn-soft); color: var(--warn-ink);
  border-bottom: 1px dashed var(--warn);
  font-size: var(--fs-rule); font-weight: 400; line-height: 1.35; padding: var(--space-2) 0;
}
.draft strong { font-weight: 700; }

/* Placeholders stay visible but small */
.offen {
  background: var(--warn-soft); color: var(--warn-ink);
  border: 1px dashed var(--warn); border-radius: var(--radius-sm);
  padding: 0 var(--space-2); font-size: var(--fs-xs); line-height: 1.5;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid var(--rule); background: var(--bg);
  view-transition-name: site-head;
}
/* Once the page has moved, the bar's edge firms up: a stronger line and a solid 3 px band under it, like a key's
   edge (no blur). Driven by the scroll position itself, no script; where unsupported the bar stays as it is. */
@keyframes head-edge {
  from { border-bottom-color: var(--rule); box-shadow: 0 0 0 0 var(--neutral-soft); }
  to { border-bottom-color: var(--card-border); box-shadow: 0 var(--key-depth) 0 0 var(--neutral-soft); }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .site-head { animation: head-edge linear both; animation-timeline: scroll(root block); animation-range: 0 48px; }
  }
}
.site-head .wrap-wide {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4); min-height: 64px;
}
.brand {
  display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--tap);
  font-weight: 700; font-size: var(--fs-lg); color: var(--text); text-decoration: none; letter-spacing: -0.02em;
}
.brand::before { color: var(--accent-strong); }
.head-nav { display: flex; align-items: center; gap: var(--space-5); }
.head-nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: var(--tap);
  color: var(--text); font-weight: 700; font-size: var(--fs-sm); text-decoration: none;
  text-decoration-color: transparent; transition: color var(--dur-press) var(--ease), text-decoration-color var(--dur-press) var(--ease);
}
.head-nav a:not(.btn):active { color: var(--text); text-decoration-color: currentColor; }
.head-nav a:not(.btn):hover { color: var(--accent-strong); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.head-nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.head-nav .btn { white-space: nowrap; }
@media (max-width: 799px) { .head-nav { gap: var(--space-1); } .head-nav .btn-small { padding: 0 var(--space-3); font-size: var(--fs-rule); margin-left: var(--space-2); } .head-nav a:not(.btn) { padding: 0 var(--space-2); font-size: var(--fs-rule); } .site-head .wrap-wide { gap: var(--space-2); } }
.wide-only { display: none !important; }
.narrow-only { display: inline-flex; }
@media (min-width: 800px) { .wide-only { display: inline-flex !important; } .narrow-only { display: none !important; } }

/* ---------- Keys: solid edge that sinks when pressed ---------- */
.btn {
  --edge: var(--accent-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: var(--tap-place); padding: 0 var(--space-5);
  background: var(--accent); color: var(--on-accent);
  border: 0; border-radius: var(--radius-md);
  font: 700 var(--fs-body) / 1.2 var(--font); text-decoration: none; cursor: pointer;
  box-shadow: 0 var(--key-depth) 0 var(--edge);
  transform: translateY(0);
  transition: transform var(--press), box-shadow var(--press), background-color var(--press);
}
.btn:hover { background: var(--accent-strong); --edge: var(--accent-deep); }
.btn:active { transform: translateY(var(--key-depth)); box-shadow: 0 0 0 var(--edge); }
.btn-small { min-height: var(--tap); font-size: var(--fs-sm); padding: 0 var(--space-4); }
.btn-big { min-height: var(--tap-big); padding: 0 var(--space-6); font-size: var(--fs-lg); }
.btn-quiet {
  --edge: var(--control-border);
  background: var(--card); color: var(--accent-strong); border: 1.5px solid var(--accent-strong);
}
.btn-quiet:hover { background: var(--accent-soft); color: var(--accent-strong); --edge: var(--control-border); }
.btn-on-accent { --edge: var(--accent-deep); background: var(--card); color: var(--accent-strong); }
.btn[disabled] {
  --edge: transparent;
  background: var(--neutral-soft); color: var(--muted);
  border: 1.5px dashed var(--control-border); cursor: not-allowed; transform: none; box-shadow: none;
}
.btn-link {
  display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--tap);
  color: var(--accent-strong); font-weight: 700; font-size: var(--fs-body);
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px;
}
.btn-link:hover { color: var(--text); }
.btn-link .arrow {
  width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-2px); margin-left: 2px;
  transition: transform var(--dur-press) var(--ease);
}
.btn-link:hover .arrow { transform: rotate(45deg) translate(2px, 0); }
.btn-link:active .arrow { transform: rotate(45deg) translate(3px, 1px); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); margin: var(--space-7) 0 var(--space-5); }
.actions-center { justify-content: center; }

/* ---------- Type ---------- */
h1, h2, h3 { line-height: var(--lh-head); margin: 0 0 var(--space-4); letter-spacing: -0.015em; }
h1 { font-size: var(--fs-hero); letter-spacing: -0.028em; line-height: 1.06; overflow-wrap: break-word; hyphens: auto; }
h2 { font-size: var(--fs-section); letter-spacing: -0.022em; line-height: 1.12; }
h3 { font-size: var(--fs-lg); }
h1 .line, h2 .line { display: block; }
h1, h2, h3, .lead, .answer { text-wrap: balance; }
.soft { color: var(--accent-strong); }
p { margin: 0 0 var(--space-4); }

.eyebrow {
  font-size: var(--fs-xs); font-weight: 700;
  color: var(--muted); margin: 0 0 var(--space-3);
}
.lead { font-size: var(--fs-lg); line-height: 1.55; color: var(--ink-2); max-width: 52ch; }
.answer { font-size: var(--fs-lg); line-height: 1.5; color: var(--ink-2); }
.trust { color: var(--muted); font-size: var(--fs-rule); }
.rule-line { font-size: var(--fs-rule); color: var(--muted); }
.center { text-align: center; }
.small { font-size: var(--fs-rule); }
.muted { color: var(--muted); }
.mt-6 { margin-top: var(--space-6); }

/* ---------- Sections: padding, alternating grounds, a Peilmarke on every divider ---------- */
section { padding: var(--section-y) 0; position: relative; }
section.white { background: var(--card); }
section + section::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M0 0h10L5 9z' fill='%231d4f85'/%3E%3C/svg%3E")
      max(var(--gutter), calc((100% - 1160px) / 2 + var(--gutter))) 0 / 10px 10px no-repeat;
}
section + section::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule);
}
.hero + section::before, .hero + section::after, .cta::before, .cta::after, .dark::before, .dark::after { display: none; }
.section-head { max-width: 760px; margin: 0 0 var(--space-7); }
.section-head .answer { max-width: 62ch; }
.compare-note { max-width: 760px; margin: var(--space-5) auto 0; text-align: center; color: var(--muted); font-size: var(--fs-rule); }
.split-head { display: grid; gap: var(--space-4); margin-bottom: var(--space-8); }
.split-head h2 { margin-bottom: 0; }
.split-head .answer { margin: 0; }

/* centred heads: kette, vergleich, warum, ablauf. left heads: mehr, daten, fragen, wir, rollen */
.section-head.head-center { text-align: center; margin-left: auto; margin-right: auto; max-width: 900px; }
.section-head.head-center .answer { margin-left: auto; margin-right: auto; }

.lines { list-style: none; padding: 0; margin: 0; }
.lines li { padding: var(--space-3) 0; border-top: 1px solid var(--rule); }
.lines li:first-child { border-top: 0; }
.prose .lines, .lines.measure { max-width: 66ch; }

.steps { padding-left: 0; list-style: none; counter-reset: step; margin: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 48px; margin-bottom: var(--space-5); }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: var(--radius-pill);
  background: var(--accent-strong); color: var(--on-accent);
  font-size: var(--fs-rule); font-weight: 700; display: flex; align-items: center; justify-content: center;
}

.card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: var(--space-5); }
@media (min-width: 700px) { .card { padding: var(--space-6); } }

figure { margin: 0; }
figcaption { color: var(--muted); font-size: var(--fs-xs); line-height: 1.45; margin-top: var(--space-3); }

/* Phone frame around app screenshots */
.phone {
  border: 8px solid var(--bezel); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--card); max-width: 260px; margin: 0 auto;
}
.phone img { display: block; width: 100%; height: auto; }
figure .phone + figcaption { text-align: center; max-width: 340px; margin-left: auto; margin-right: auto; text-wrap: balance; }

/* ---------- Hero ---------- */
.hero { padding: var(--space-6) 0 0; overflow: hidden; }
.hero-copy { min-width: 0; }
.pain {
  font-size: var(--fs-sm); line-height: 1.35; font-weight: 400; color: var(--muted);
  margin: 0 0 var(--space-3);
}
.pain s { display: inline-block; text-decoration-thickness: 1.5px; text-decoration-color: var(--control-border); }
.hero h1 { margin: 0 0 var(--space-3); }
.hero .eyebrow { font-size: var(--fs-rule); }
.hero .sub { margin: 0 0 var(--space-4); font-size: var(--fs-sm); font-weight: 700; color: var(--accent-strong); line-height: 1.35; }
.proof .stat, .compare, .chain-step, .flow-no, time { font-variant-numeric: tabular-nums; }
.hero .lead { margin: 0 0 var(--space-5); font-size: var(--fs-sm); line-height: 1.5; }
.hero .actions { margin: var(--space-5) 0 var(--space-3); }
.hero .trust {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-4); margin: 0 0 var(--space-3);
  font-size: var(--fs-xs); color: var(--ink-2);
}
.hero .trust .item { display: flex; align-items: flex-start; gap: var(--space-2); line-height: 1.3; }
.hero .trust .item::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 0.45em; border-radius: 50%; background: var(--accent-strong); }
.hero .trust .sep { display: none; }
.hero-alt { font-size: var(--fs-rule); color: var(--muted); margin: 0 0 var(--space-2); }
.hero-alt a { display: inline-flex; align-items: center; min-height: 48px; }

/* Peillinie: the one signature. Soll above, Ist below, the marker sits where they meet. */
.peillinie { display: block; position: relative; height: 54px; max-width: 720px; margin: var(--space-5) 0 0; }
.peillinie::before {
  content: ""; position: absolute; left: 0; right: 0; top: 26px; height: 0; border-top: 1.5px solid var(--accent-strong);
}
.pl-mark {
  position: absolute; top: 12px; left: 38%; width: 14px; height: 14px; margin-left: -7px;
  background: var(--accent-strong); clip-path: polygon(0 0, 100% 0, 50% 100%);
  animation: pl-in var(--dur-done) var(--ease) both;
}
.pl-soll, .pl-ist { position: absolute; font: 700 var(--fs-xs) / 1.2 var(--font); letter-spacing: 0; }
.pl-soll { left: 0; top: 0; color: var(--ink-2); }
.pl-ist { right: 0; top: 34px; color: var(--flag); }
@keyframes pl-in { from { left: 0; } to { left: 38%; } }

/* The hero's phones: one phone (the match) on the phone; from 640 px a calm row of three with the middle one
   larger and a little higher, even gaps, each label centred over its phone. No overlap, no crop. */
.stage { display: grid; justify-items: center; align-items: start; margin-top: var(--space-6); padding: 0; }
.stage-item { text-align: center; min-width: 0; }
.stage-item.side { display: none; }
.stage-label {
  display: block; margin: 0 0 var(--space-3); text-align: center;
  font-size: var(--fs-xs); font-weight: 700; color: var(--muted);
}
.stage .main .stage-label { color: var(--accent-strong); }
.stage .phone { width: 240px; max-width: 100%; }

/* ---------- Audience strip ---------- */
.audience { padding: var(--space-5) 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--bg); }
.audience-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; text-align: center; gap: var(--space-3) var(--space-6); }
.audience p { margin: 0; color: var(--muted); font-size: var(--fs-rule); max-width: 70ch; }
.audience ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-6); }
.audience li { font-weight: 700; font-size: var(--fs-sm); }
.audience + section::before, .audience + section::after { display: none; }

/* ---------- The chain: said, found, drafted ---------- */
.band { background: var(--accent-soft); }
.chain {
  list-style: none; padding: 0; margin: 0 0 var(--space-5); display: grid; counter-reset: chain;
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
}
.chain li { position: relative; padding: var(--space-6) var(--space-5) var(--space-6) 64px; display: flex; flex-direction: column; counter-increment: chain; }
.chain li + li { border-top: 1px solid var(--rule); }
.chain li::before {
  content: counter(chain); position: absolute; left: 16px; top: 22px; z-index: 1;
  width: 32px; height: 32px; border-radius: 50%; background: var(--accent-strong); color: var(--on-accent);
  font-size: var(--fs-rule); font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.chain li:not(:last-child)::after {
  content: ""; position: absolute; left: 31px; top: 54px; bottom: -22px; width: 2px; background: var(--accent-line); z-index: 0;
}
.chain-step { font-size: var(--fs-xs); font-weight: 700; color: var(--muted); margin: var(--space-2) 0 var(--space-3); }
.chain blockquote { margin: 0 0 var(--space-4); font-size: var(--fs-lg); line-height: 1.45; border-left: 4px solid var(--accent); padding-left: var(--space-4); color: var(--ink-2); }
.chain-main { font-size: var(--fs-lg); font-weight: 700; line-height: 1.25; margin-bottom: var(--space-3); letter-spacing: -0.01em; }
.chain li:nth-child(2) .chain-main { padding-left: var(--space-3); border-left: 4px solid var(--flag); }
.chain-note { color: var(--muted); font-size: var(--fs-rule); margin: auto 0 0; }

/* ---------- Without and with: a table on wide screens, compact rows on the phone ---------- */
.compare { max-width: 1040px; margin: 0 auto; }
.compare-head { display: none; }
.compare-row {
  position: relative; background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: var(--space-4); margin-bottom: var(--space-3);
}
.c-topic {
  display: block; font-size: var(--fs-xs); font-weight: 700;
  color: var(--muted); margin-bottom: var(--space-2);
}
.c-without, .c-with { display: block; padding: var(--space-2) var(--space-3) var(--space-2) var(--space-4); border-left: 3px solid var(--accent-line); }
.c-with { border-left-color: var(--accent-strong); margin-top: var(--space-1); background: var(--accent-soft); }
.c-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.c-without .c-text { color: var(--ink-2); }
.c-with .c-text { color: var(--text); }
.c-with strong { font-weight: 700; }

/* ---------- Five steps ---------- */
.flow { list-style: none; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); display: grid; counter-reset: flow; }
.flow li {
  counter-increment: flow; display: grid; gap: var(--space-6); align-items: start;
  padding: var(--space-7) 0; border-top: 1px solid var(--rule);
}
.flow li:first-child { border-top: 0; }
.flow-text { position: relative; max-width: 560px; }
.flow-text::before {
  content: counter(flow, decimal-leading-zero); display: block; font-size: var(--fs-numeral); font-weight: 700; line-height: 1;
  letter-spacing: -0.03em; color: var(--accent-line); margin-bottom: var(--space-2);
}
.flow-no { font-size: var(--fs-xs); font-weight: 700; color: var(--accent-strong); margin-bottom: var(--space-2); }
.flow h3 { font-size: var(--fs-h1); letter-spacing: -0.02em; }
.flow li figure {
  width: 100%; max-width: 320px; margin: 0 auto; padding: var(--space-5) var(--space-5) var(--space-3);
  background: var(--neutral-soft); border-radius: var(--radius); overflow: hidden;
}
.flow .phone {
  position: relative; max-width: none; max-height: 380px; border-width: 6px; border-radius: var(--radius-lg);
  /* cropped screen: a solid cut edge, no fade-out */
  border-bottom: 1.5px solid var(--control-border); border-bottom-left-radius: 0; border-bottom-right-radius: 0;
}
.flow figcaption { margin: var(--space-3) 0 0; color: var(--ink-2); text-align: center; }
.flow li:nth-child(3) figure { max-width: 360px; }

/* Letter and check sheet */
.papers-head { margin-top: var(--space-9); margin-bottom: var(--space-6); text-align: left; }
.papers-head h3 { font-size: var(--fs-h1); margin-bottom: var(--space-2); }
.papers-sec { background: var(--neutral-soft); border-radius: var(--radius-lg); padding: var(--space-6) var(--space-4); margin-top: var(--space-8); }
.papers-sec .papers-head { margin-top: 0; }
.papers {
  display: flex; gap: var(--space-5); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-3);
  margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding-left: var(--gutter);
}
.papers figure { flex: 0 0 78%; scroll-snap-align: start; }
.paper {
  border: 1px solid var(--card-border); border-radius: var(--radius-sm); background: var(--card); overflow: hidden;
  max-width: 520px; margin: 0 auto;
}
.papers figcaption { max-width: 520px; margin: var(--space-3) auto 0; color: var(--ink-2); font-size: var(--fs-xs); }
.papers figcaption strong { display: inline-block; background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-sm); padding: 0 var(--space-2); margin-right: var(--space-2); }

/* ---------- Proof ---------- */
.proof { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; max-width: 1040px; margin: 0 auto; }
.proof li { padding: var(--space-5) 0; border-top: 1px solid var(--accent-line); }
.proof h3 { font-size: var(--fs-sm); line-height: 1.3; margin-bottom: var(--space-2); }
.proof p { margin: 0; color: var(--ink-2); }
.proof .proof-main { border-top: 0; padding-top: 0; }
.proof .stat {
  display: block; font-size: var(--fs-stat); font-weight: 700; line-height: 1; letter-spacing: -0.04em;
  color: var(--accent-strong); margin-bottom: var(--space-3);
}
.proof .proof-main h3 { font-size: var(--fs-xs); color: var(--muted); }
.proof .proof-main p { color: var(--text); font-size: var(--fs-lg); max-width: 36ch; }
.proof .proof-main .proof-caveat { font-size: var(--fs-sm); color: var(--muted); margin-top: var(--space-3); max-width: 46ch; }

/* ---------- Light cards (mehr) and the one dark blue slab (Grenzen) ---------- */
.limits {
  list-style: none; padding: 0; margin: 0; display: grid; gap: 1px;
  background: var(--on-accent-rule); border: 1px solid var(--on-accent-rule);
  border-radius: var(--radius-lg); overflow: hidden;
}
.limits li { background: var(--accent-strong); padding: var(--space-6); }
.limits h3 { font-size: var(--fs-lg); margin-bottom: var(--space-2); color: var(--on-accent); }
.limits p { color: var(--on-accent-soft); margin: 0; }
.dark { background: var(--accent-strong); color: var(--on-accent); }
.dark h2, .dark h3 { color: var(--on-accent); }
.dark .eyebrow, .dark .soft, .dark .answer { color: var(--on-accent-soft); }
.dark .eyebrow { color: var(--on-accent); }
.dark .answer { max-width: 56ch; }

.limits.light { background: none; border: 0; border-radius: 0; gap: var(--space-4); overflow: visible; }
.limits.light li {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  border-top: 3px solid var(--accent-strong); padding: var(--space-5);
}
.limits.light h3 { color: var(--text); font-size: var(--fs-lg); }
.limits.light p { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.5; }

/* ---------- Roles ---------- */
.roles { display: grid; gap: var(--space-4); }
.role { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: var(--space-5); border-left: 4px solid var(--accent-strong); }
.role h3 { font-size: var(--fs-lg); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  min-height: var(--tap-big); display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  cursor: pointer; font-weight: 700; padding: var(--space-3) 0; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px;
  border: solid var(--accent-strong); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translateY(-3px);
  transition: transform var(--dur-enter) var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq summary { transition: color var(--dur-press) var(--ease), background-color var(--dur-press) var(--ease); }
.faq summary:hover { color: var(--accent-strong); }
.faq summary:active { background: var(--accent-soft); }
.faq details p { margin: 0; padding: 0 0 var(--space-5); color: var(--ink-2); max-width: 62ch; }

/* ---------- Call to action band ---------- */
.cta { background: var(--accent-soft); color: var(--text); border-top: 1px solid var(--accent-line); padding: var(--space-9) 0; }
.cta .eyebrow { color: var(--accent-strong); }
.cta h2 { font-size: var(--fs-section); }
.cta .lead { max-width: 62ch; margin: 0 auto var(--space-4); color: var(--ink-2); font-size: var(--fs-sm); }
.cta .lead:first-of-type { font-size: var(--fs-body); }
.cta a:not(.btn) { color: var(--accent-strong); }

/* ---------- Form ---------- */
form { display: grid; gap: var(--space-5); }
label { display: block; font-weight: 700; font-size: var(--fs-rule); margin-bottom: var(--space-2); }
.hint { font-weight: 400; color: var(--muted); font-size: var(--fs-xs); }
input[type="text"], input[type="tel"], input[type="email"], textarea {
  width: 100%; min-height: 52px; padding: var(--space-3) var(--space-4);
  font: var(--fs-body) var(--font); color: var(--text);
  background: var(--card); border: 1.5px solid var(--control-border); border-radius: var(--radius-md);
  transition: border-color var(--dur-press) var(--ease), box-shadow var(--dur-press) var(--ease);
}
input[type="text"]:hover, input[type="tel"]:hover, input[type="email"]:hover, textarea:hover { border-color: var(--muted); }
input[type="text"]:focus-visible, input[type="tel"]:focus-visible, input[type="email"]:focus-visible, textarea:focus-visible {
  border-color: var(--accent-strong); box-shadow: 0 0 0 3px var(--accent-soft); outline-offset: 1px;
}
textarea { min-height: 128px; resize: vertical; }
fieldset.choices { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-3); }
fieldset.choices legend { font-weight: 700; font-size: var(--fs-rule); margin-bottom: var(--space-3); padding: 0; }
.choice { margin: 0; font-weight: 400; font-size: var(--fs-body); position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--space-4);
  background: var(--card); border: 1.5px solid var(--control-border); border-radius: var(--radius-md);
  box-shadow: 0 var(--key-depth) 0 var(--key-edge); cursor: pointer;
  transition: transform var(--press), box-shadow var(--press), background-color var(--press), border-color var(--press), color var(--press);
}
.choice span:hover { background: var(--accent-soft); border-color: var(--accent-strong); }
.choice span:active { transform: translateY(var(--key-depth)); box-shadow: 0 0 0 var(--key-edge); }
.choice input:checked + span {
  background: var(--accent-soft); border-color: var(--accent-strong); color: var(--accent-strong); font-weight: 700;
  box-shadow: 0 1px 0 var(--accent-strong); transform: translateY(2px);
}
.choice input:checked + span::before { content: "✓ "; content: "✓ " / ""; white-space: pre; }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.consent { display: flex; gap: var(--space-3); align-items: flex-start; font-weight: 400; font-size: var(--fs-sm); }
.consent { min-height: var(--tap); }
.consent input {
  -webkit-appearance: none; appearance: none; flex: none; width: 24px; height: 24px; margin: var(--space-1) 0 0;
  display: grid; place-items: center; background: var(--card); border: 1.5px solid var(--control-border);
  border-radius: var(--radius-sm); box-shadow: 0 var(--key-depth) 0 var(--key-edge); cursor: pointer;
  transition: transform var(--press), box-shadow var(--press), background-color var(--press), border-color var(--press);
}
.consent input:hover { border-color: var(--accent-strong); }
.consent input:active { transform: translateY(var(--key-depth)); box-shadow: 0 0 0 var(--key-edge); }
.consent input:checked { background: var(--accent-soft); border-color: var(--accent-strong); box-shadow: 0 1px 0 var(--accent-strong); transform: translateY(2px); }
.consent input:checked::before { content: "✓"; color: var(--accent-strong); font-weight: 700; font-size: var(--fs-sm); line-height: 1; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* quiet notice, not a slab */
.note {
  background: var(--card); color: var(--ink-2); border: 1px solid var(--card-border); border-left: 3px solid var(--warn);
  padding: var(--space-3) var(--space-4); font-size: var(--fs-rule); line-height: 1.5; border-radius: var(--radius-sm);
}

/* ---------- Footer: the night band ---------- */
.site-foot { background: var(--night); color: var(--on-night); padding: var(--space-8) 0 var(--space-6); font-size: var(--fs-rule); }
.foot-grid { display: grid; gap: var(--space-7); }
.brand-foot {
  display: flex; align-items: center; gap: var(--space-2); font-size: var(--fs-lg); font-weight: 700; color: var(--on-night);
  margin: 0 0 var(--space-3); letter-spacing: -0.02em;
}
.brand-foot::before { color: var(--accent-on-night); }
.foot-tag { font-size: var(--fs-lg); font-weight: 700; color: var(--on-night); margin-bottom: var(--space-3); max-width: 28ch; line-height: 1.3; }
.foot-brand .small { color: var(--on-night); font-size: var(--fs-rule); max-width: 46ch; }
.foot-col .foot-title { font-size: var(--fs-xs); font-weight: 700; color: var(--on-night); margin: 0 0 var(--space-2); }
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--accent-on-night); font-size: var(--fs-rule); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; }
.foot-col a:hover, .foot-col a:active { color: var(--on-night); text-decoration-color: currentColor; }
.foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-6);
  margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--night-rule); color: var(--on-night);
  font-size: var(--fs-xs);
}
.foot-bottom p { margin: 0; }

@media (max-width: 719px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: var(--space-6) var(--space-4); }
  .foot-brand { grid-column: 1 / -1; }
}

/* ---------- Legal pages ---------- */
.legal h1, .crumbs + h1 { font-size: var(--fs-section); }
.legal h2 { font-size: var(--fs-lg); margin-top: var(--space-7); }
.legal dl { display: grid; grid-template-columns: 1fr; gap: var(--space-2) var(--space-5); }
.legal dt { font-weight: 700; }
.legal dd { margin: 0 0 var(--space-3); }

/* ---------- Blog ---------- */
.crumbs { font-size: var(--fs-rule); color: var(--muted); margin-bottom: var(--space-5); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--space-2); }
.crumbs li { display: inline-flex; align-items: center; min-height: var(--tap); }
.crumbs a { display: inline-flex; align-items: center; min-height: var(--tap); }
.crumbs li + li::before { content: "›"; content: "›" / ""; margin-right: var(--space-2); }
.crumbs ol { flex-wrap: nowrap; }
.crumbs li { flex: none; }
.crumbs li[aria-current] {
  display: block; flex: 0 1 auto; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: var(--tap);
}
section.page-top { padding-top: var(--space-7); }
section.page-top.nf { padding-bottom: var(--space-10); }
section.page-top::before, section.page-top::after { display: none; }
@media (min-width: 720px) { section.page-top { padding-top: var(--space-8); } }
.post-meta { color: var(--muted); font-size: var(--fs-rule); }
.prose { font-size: var(--fs-lg); line-height: 1.65; }
.prose h2 { font-size: var(--fs-h1); margin-top: var(--space-8); }
.prose h3 { margin-top: var(--space-7); }
.prose ul, .prose ol { padding-left: var(--space-6); }
.prose li { margin-bottom: var(--space-2); }
.prose figure { margin: var(--space-7) 0; }
.prose .phone { max-width: 280px; }
.prose .papers { margin: var(--space-6) 0; display: grid; grid-template-columns: 1fr; padding: 0; overflow: visible; }
.prose .papers figure { margin: 0; flex: none; }
.tldr { background: var(--accent-soft); border-left: 4px solid var(--accent-strong); border-radius: var(--radius-sm); padding: var(--space-5); margin: var(--space-6) 0; }
.tldr p:last-child { margin-bottom: 0; }
.tldr-title { font-weight: 700; color: var(--accent-strong); margin-bottom: var(--space-2); }
.tldr ul { padding-left: var(--space-6); margin: 0 0 var(--space-3); }
.tldr li { margin-bottom: var(--space-2); }
.toc { margin: var(--space-6) 0; }
.toc ol { padding-left: var(--space-6); margin: 0; }
.toc li { margin-bottom: 0; }
.toc a { display: inline-flex; align-items: center; min-height: var(--tap); }
.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-5); }
.post-card {
  position: relative; border-color: var(--control-border); box-shadow: 0 var(--key-depth) 0 var(--control-border);
  transition: transform var(--press), box-shadow var(--press), border-color var(--press);
}
.post-card:hover { border-color: var(--accent-strong); box-shadow: 0 var(--key-depth) 0 var(--accent-strong); }
.post-card:active { transform: translateY(var(--key-depth)); box-shadow: 0 0 0 var(--control-border); }
.post-card:has(a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.post-card h2 a:focus-visible { outline: 0; box-shadow: none; }
.post-card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.post-card h2 { font-size: var(--fs-h1); margin-bottom: var(--space-3); }
.post-card h2 a { color: var(--accent-strong); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.post-card h2 a:hover { color: var(--text); }

/* ---------- Phone only ---------- */
@media (max-width: 719px) {
  .lines li, .role li, .flow-text p, .limits p, .faq details p, .steps li, .chain blockquote { font-size: var(--fs-sm); line-height: 1.5; }
  .lines li { padding: var(--space-2) 0; }
  .limits li { padding: var(--space-5) var(--space-4); }
  .flow li { padding: var(--space-6) 0; gap: var(--space-5); }
  .flow-text::before { --fs-numeral: 44px; margin-bottom: 0; }
  .flow-text p { margin-bottom: var(--space-3); }
  .answer { font-size: var(--fs-body); }
  .section-head { margin-bottom: var(--space-6); }
  .papers-head { margin-top: var(--space-7); }
}
@media (max-width: 519px) {
  .hero .actions { flex-direction: column; align-items: stretch; gap: var(--space-2); }
  .hero .actions .btn { width: 100%; }
  .hero .actions .btn-link { justify-content: center; }
  .actions .btn { flex: 1 1 100%; }
  section.papers-wrap { padding-top: 0; }
}

/* ---------- Tablet and up ---------- */
@media (min-width: 720px) {
  :root { --section-y: 72px; }
  .hero { padding-top: var(--space-7); }
  .hero .lead { font-size: var(--fs-lg); }
  .hero .trust { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-5); }
  .hero .trust .item { white-space: nowrap; }
  .section-head { margin-bottom: var(--space-8); }
  #ablauf, .cta { --section-y: 112px; }
  .legal dl { grid-template-columns: 220px 1fr; }
  .legal dd { margin: 0; }
  .chain { grid-template-columns: repeat(3, 1fr); }
  .chain li { padding: var(--space-8) var(--space-6) var(--space-6); }
  .chain li + li { border-top: 0; border-left: 1px solid var(--rule); }
  .chain li::before { left: var(--space-6); top: -16px; border: 3px solid var(--card); }
  .chain li:not(:last-child)::after { display: none; }
  .chain li:first-child::before { }
  .chain-step { margin-top: 0; }
  .compare { border: 1px solid var(--card-border); border-radius: var(--radius); overflow: hidden; background: var(--card); }
  .compare-head { display: block; }
  .compare-row {
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, 1.7fr); margin: 0; padding: 0;
    border: 0; border-radius: 0; border-top: 1px solid var(--rule); background: transparent;
  }
  .compare-head .compare-row { border-top: 0; }
  .compare-row > span { padding: var(--space-5) var(--space-6); hyphens: auto; }
  .c-topic { margin: 0; display: flex; align-items: center; background: var(--bg); color: var(--muted); }
  .c-without { background: var(--card); border-left: 0; align-content: center; }
  .c-with { background: var(--accent-soft); border-left: 0; margin-top: 0; align-content: center; }
  .c-label { display: none; }
  .compare-head .c-without, .compare-head .c-with, .compare-head .c-topic {
    display: flex; align-items: center; font-size: var(--fs-xs); font-weight: 700;
  }
  .compare-head .c-without { color: var(--muted); }
  .compare-head .c-with { background: var(--accent-soft); color: var(--accent-strong); border-top: 2px solid var(--accent-strong); }
  .proof { grid-template-columns: 5fr 4fr; column-gap: var(--space-9); }
  .proof .proof-main { grid-row: 1 / span 2; border-top: 0; padding-top: 0; align-self: start; }
  .proof li:nth-child(2) { border-top: 0; padding-top: 0; }
  .flow li { grid-template-columns: minmax(0, 1fr) 320px; gap: var(--space-9); padding: var(--space-8) 0; align-items: center; }
  .flow li:nth-child(3) { grid-template-columns: minmax(0, 1fr) 360px; }
  .flow figure { margin: 0; }
  .papers { overflow: visible; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7); margin: 0; padding: 0; }
  .papers figure { flex: none; }
  .papers-sec { padding: var(--space-8) var(--space-8) var(--space-7); }
  .papers figcaption { font-size: var(--fs-rule); }
  .limits { grid-template-columns: 1fr 1fr; }
  .limits.light { grid-template-columns: 1fr 1fr; }
  .limits.light li:last-child:nth-child(2n + 1) { grid-column: span 2; }
  .roles { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .split-head { grid-template-columns: 1.5fr 1fr; align-items: start; gap: var(--space-8); }
}

/* ---------- Desktop ---------- */
@media (min-width: 960px) {
  .limits { grid-template-columns: repeat(3, 1fr); }
  .limits.light { grid-template-columns: repeat(3, 1fr); }
  .limits.light li:last-child:nth-child(3n + 2) { grid-column: span 2; }
  .limits.light li:last-child:nth-child(2n + 1):not(:nth-child(3n + 2)) { grid-column: auto; }
  .flow li:nth-child(even) .flow-text { order: 2; }
  .flow li:nth-child(even) { grid-template-columns: 320px minmax(0, 1fr); }
  .flow li:nth-child(3) { grid-template-columns: minmax(0, 1fr) 360px; }
  .flow li:nth-child(even) figure { order: 1; }
  .flow li:nth-child(even) .flow-text { order: 2; justify-self: start; }
}

/* two-column hero: copy left, the product beside it */
@media (min-width: 1180px) {
  .hero { padding: var(--space-6) 0 0; }
  .hero-grid { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); column-gap: var(--space-7); align-items: start; }
  .hero h1 { font-size: var(--fs-hero-wide); margin-bottom: var(--space-5); }
  .hero .lead { font-size: var(--fs-body); line-height: 1.5; margin-bottom: var(--space-2); }
  .hero .actions { margin: var(--space-5) 0 var(--space-4); }
  .hero .trust { margin-bottom: var(--space-3); display: grid; grid-template-columns: repeat(2, max-content); gap: var(--space-2) var(--space-6); }
  .peillinie { margin-top: var(--space-5); }
  .pain { font-size: var(--fs-body); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important;
    transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important;
  }
  .btn:active, .choice span:active, .consent input:active, .post-card:active, .choice input:checked + span, .consent input:checked { transform: none; }
  .btn-link:hover .arrow, .btn-link:active .arrow { transform: rotate(45deg) translateY(-2px); }
  .site-head { animation: none; }
  .pl-mark { animation: none; }
}

/* disclosures that keep long copy complete but out of the way */
details.more, details.disclose { margin: 0 0 var(--space-3); }
details.more > summary, details.disclose > summary {
  display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--tap); cursor: pointer; list-style: none;
  color: var(--accent-strong); font-weight: 700; text-decoration: underline; text-underline-offset: 4px;
}
details.disclose > summary { display: flex; border-top: 1px solid var(--rule); text-decoration: none; color: var(--text); min-height: var(--tap-place); }
details.disclose > summary h3 { margin: 0; font-size: var(--fs-lg); }
details.more > summary::-webkit-details-marker, details.disclose > summary::-webkit-details-marker { display: none; }
details.more > summary::after, details.disclose > summary::after {
  content: ""; width: 8px; height: 8px; border: solid var(--accent-strong); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translateY(-2px);
  transition: transform var(--dur-enter) var(--ease);
}
details.disclose > summary::after { margin-left: auto; margin-right: 4px; }
details.more[open] > summary::after, details.disclose[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
details.disclose { margin-top: var(--space-6); border-bottom: 1px solid var(--rule); }
details.disclose[open] > summary { border-bottom: 0; }
@media (max-width: 719px) {
  :root { --section-y: 48px; }
  .faq summary { min-height: var(--tap-place); padding: var(--space-2) 0; }
  .flow .phone { max-height: 340px; }
  .limits.light li { padding: var(--space-4); }
}

/* phone: product crop right after the buttons, secondary link after it */
@media (max-width: 1179px) {
  .hero-grid { display: flex; flex-direction: column; }
  .hero-copy { display: contents; }
  .hero-copy > * { order: 0; }
  .hero-copy > .trust { order: 2; }
  .hero-grid > .stage { order: 1; align-self: stretch; margin-top: var(--space-4); }
  .hero-copy > .hero-alt { order: 3; margin-top: var(--space-4); }
}

@media (max-width: 379px) { .head-nav .narrow-only { display: none !important; } }

/* the row of three, from 640 px */
@media (min-width: 640px) {
  .stage { grid-template-columns: 1fr 1.6fr 1fr; align-items: end; gap: var(--space-3); max-width: 640px; margin-left: auto; margin-right: auto; }
  .stage-item.side { display: block; }
  .stage .phone, .stage .main .phone { width: 100%; }
  .stage-item.main { align-self: start; }
  .stage-item.side { align-self: start; margin-top: var(--space-6); }
}
@media (min-width: 1180px) {
  .stage { margin: 0; max-width: none; gap: var(--space-2); align-self: center; }
  .stage .phone { border-width: 6px; border-radius: var(--radius-lg); }
  /* one large phone: the match with quote and LV position stays readable */
  .stage { grid-template-columns: 1fr; justify-items: center; }
  .stage-item.side { display: none; }
  .stage .phone, .stage .main .phone { width: min(100%, 340px); }
}
.aud-note { flex-basis: 100%; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin: 0 0 var(--space-6); max-width: 760px; }
.facts div { border-left: 3px solid var(--accent-line); padding: var(--space-1) 0 var(--space-1) var(--space-3); }
.facts dt { font-size: var(--fs-xs); font-weight: 700; color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; }
@media (max-width: 519px) { .facts { grid-template-columns: 1fr; } }
.papers-hint { display: none; }
@media (max-width: 719px) { .papers-hint { display: block; margin: var(--space-2) 0 0; font-size: var(--fs-xs); color: var(--muted); } }
@media (max-width: 479px) {
  .head-nav a[href$="/anmelden"] { display: none; }
  .head-nav .narrow-only { border: 1px solid var(--control-border); border-radius: var(--radius-sm); min-height: var(--tap); padding: 0 var(--space-3); align-items: center; }
}

/* ---------- Data section: scannable list, open points marked at the edge ---------- */
#daten .lines li { padding: var(--space-5) 0 var(--space-5) var(--space-4); border-left: 3px solid transparent; }
#daten .lines li:has(.offen) { border-left-color: var(--warn); }

/* Disclosures (FAQ and "Mehr dazu") open and close smoothly where the browser can animate the hidden part
   (::details-content, interpolate-size); elsewhere they simply open. Off under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  @supports selector(::details-content) {
    .faq details::details-content, details.more::details-content, details.disclose::details-content {
      block-size: 0; overflow-y: clip;
      transition: block-size var(--dur-done) var(--ease), content-visibility var(--dur-done) var(--ease) allow-discrete;
    }
    .faq details[open]::details-content, details.more[open]::details-content, details.disclose[open]::details-content { block-size: auto; }
  }
  /* Page to page: a short cross-fade; the header stays put (progressive enhancement). */
  @view-transition { navigation: auto; }
  ::view-transition-group(root), ::view-transition-old(root), ::view-transition-new(root) {
    animation-duration: var(--dur-enter); animation-timing-function: var(--ease);
  }
  ::view-transition-group(site-head) { animation-duration: 0.01ms; }
}
