/*
 * PsyClinicAI Antrags-Copilot / Application Copilot — marketing site (DE + EN share this file).
 * Design: design/prototypes/35-web (owner-approved): white page, vivid blue #1D4ED8, 16 px cards,
 * one soft shadow step, 12-column symmetric grid, IBM Plex Sans UI, Source Serif 4 for report text only.
 * Motion: docs/design/MOTION-SYSTEM-2026-10.md — calm, transform/opacity only, no bounce, no glow,
 * everything static and fully visible under prefers-reduced-motion. Self-hosted fonts, no external requests.
 *
 * Contrast ratios (WCAG 2.2, measured):
 *   Text   #1F2937 on White #FFFFFF   14.68:1  (AA/AAA)
 *   Ink    #111827 on White           17.74:1
 *   Muted  #4B5563 on White            7.56:1  · on Subtle #F7F8FB 7.1:1
 *   Blue   #1D4ED8 on White            6.70:1  · on Blue-weak #EEF3FF 6.0:1
 *   White  on Blue #1D4ED8             6.70:1  (primary button) · on pressed #1E40AF 8.7:1
 *   Light  #DBE6FF on Blue             5.4:1   (text on the data band)
 *   Cite   #1E3A8A on #EEF2FB          9.2:1   (source chip)
 *   Draft  #5C4300 on #FFF4CC          8.4:1   ("Nicht belegt" / "ungeprüft" only)
 */

@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/source-serif-4-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/source-serif-4-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --ink: #111827;
  --text: #1F2937;
  --muted: #4B5563;
  --paper: #FFFFFF;
  --surface: #FFFFFF;
  --subtle: #F7F8FB;
  --rule: #E5E7EB;
  --rule-strong: #D1D5DB;
  --brand: #1D4ED8;
  --brand-press: #1E40AF;
  --link: #1D4ED8;
  --blue-weak: #EEF3FF;
  --blue-track: #DCE7FF;
  --on-blue-2: #DBE6FF;
  --cite-bg: #EEF2FB;
  --cite-fg: #1E3A8A;
  --cite-border: #1D4ED8;
  --draft-bg: #FFF4CC;
  --draft-fg: #5C4300;
  --warn: #8A4B00;
  --success: #1D4ED8;
  --radius: 12px;
  --r-card: 16px;
  --r-btn: 10px;
  --r-chip: 6px;
  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --max: 75rem;
  --gutter: 24px;
  --side: 32px;
  --shadow: 0 1px 2px rgba(17,24,39,.05), 0 8px 24px -8px rgba(17,24,39,.18);
  --shadow-rest: 0 1px 2px rgba(17,24,39,.04);
  --d-instant: 100ms;
  --d-fast: 160ms;
  --d-standard: 240ms;
  --d-reveal: 280ms;
  --e-standard: cubic-bezier(.2, 0, 0, 1);
  --e-enter: cubic-bezier(0, 0, .2, 1);
  --e-exit: cubic-bezier(.4, 0, 1, 1);
  --lift: -2px;
  --press: .98;
  --rise: 10px;
  color-scheme: light;
}
@media (prefers-reduced-motion: reduce) {
  :root { --d-instant: 0ms; --d-fast: 0ms; --d-standard: 0ms; --d-reveal: 0ms; --lift: 0px; --press: 1; --rise: 0px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1rem/1.625 var(--sans);
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  hyphens: manual;
  -webkit-hyphens: manual;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--sans); color: var(--ink); font-weight: 600; line-height: 1.2; margin: 0 0 .6em; hyphens: manual; -webkit-hyphens: manual; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.25rem); letter-spacing: -.025em; line-height: 1.14; }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.8vw, 2.4rem); letter-spacing: -.02em; line-height: 1.2; }
h3 { font-size: 1.2rem; line-height: 1.3; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
code, .mono { font-family: var(--mono); font-size: .9em; }
abbr[title] { text-decoration: none; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2rem 0; }
.accent { color: var(--brand); }

.skip-link { position: absolute; left: -999px; top: .5rem; background: var(--brand); color: #fff; padding: .5rem 1rem; z-index: 30; border-radius: 8px; }
.skip-link:focus { left: .5rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 12-column symmetric grid: 1200 px column, 24 px gutter, >= 32 px side margins (16 px on phones) */
.shell { max-width: calc(var(--max) + 2 * var(--side)); margin: 0 auto; padding-inline: var(--side); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); border-bottom: 1px solid transparent; transition: border-color var(--d-fast) var(--e-standard), box-shadow var(--d-fast) var(--e-standard); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); } }
.site-header.scrolled { border-bottom-color: var(--rule); box-shadow: 0 6px 16px -12px rgba(17,24,39,.22); }
.site-header .bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand .mk { width: 32px; height: 32px; border-radius: 9px; background: var(--brand); display: grid; place-items: center; flex: none; }
.brand .mk svg { width: 22px; height: 22px; color: #fff; }
.brand-text { display: block; line-height: 1.15; }
.brand-name { display: block; font: 600 1.0625rem/1.2 var(--sans); color: var(--ink); letter-spacing: -.01em; }
.brand-product { display: block; font: 400 .75rem/1.2 var(--sans); color: var(--muted); letter-spacing: 0; text-transform: none; }
.site-nav ul { list-style: none; display: flex; justify-content: center; gap: 2px; margin: 0; padding: 0; }
.site-nav a { position: relative; display: block; padding: 8px 9px; font: 500 .9rem/1.3 var(--sans); color: var(--text); text-decoration: none; border-radius: 8px; white-space: nowrap; transition: color var(--d-fast) var(--e-standard); }
.site-nav a::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 3px; height: 2px; border-radius: 1px; background: var(--brand); transform: scaleX(0); transform-origin: left center; transition: transform var(--d-standard) var(--e-standard); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand); text-decoration: none; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after, .site-nav a.is-here::after { transform: scaleX(1); }
.bar-act { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.nav-login { margin: 0; padding: 0 6px; color: var(--text); font: 500 .9rem/1.3 var(--sans); text-decoration: none; }
.nav-login:hover { color: var(--brand); text-decoration: underline; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: none; place-items: center; color: var(--ink); }
.menu-btn:hover { background: var(--blue-weak); }

/* language switch DE | EN */
.lang { display: inline-flex; padding: 3px; border-radius: 10px; background: #F1F2F5; }
.lang a { min-width: 38px; height: 30px; padding: 0 8px; border-radius: 7px; display: grid; place-items: center; font: 600 .8125rem/1 var(--sans); color: var(--muted); text-decoration: none; transition: background-color var(--d-fast) var(--e-standard), color var(--d-fast) var(--e-standard); }
.lang a[aria-current="true"] { background: #fff; color: var(--brand); box-shadow: var(--shadow-rest), inset 0 0 0 1px var(--rule); }
.lang a:not([aria-current="true"]):hover { color: var(--ink); }

/* ---------- Buttons: press .98, colour at instant speed ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: .6rem 1.15rem; border-radius: var(--r-btn); border: 0; background: var(--brand); color: #fff; font: 600 .9375rem/1.25 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--d-instant) var(--e-standard), background-color var(--d-instant) var(--e-standard), box-shadow var(--d-fast) var(--e-standard); }
.btn:hover { background: var(--brand-press); text-decoration: none; }
.btn:active { transform: scale(var(--press)); }
.btn-secondary { background: var(--surface); color: var(--brand); box-shadow: inset 0 0 0 1px var(--rule-strong); }
.btn-secondary:hover { background: var(--blue-weak); color: var(--brand); }
.btn-small { min-height: 40px; padding: .35rem 1rem; font-size: .875rem; }
.btn-lg { min-height: 52px; padding: .75rem 1.5rem; font-size: 1rem; }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: var(--blue-weak); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Generic sections ---------- */
.section { padding-block: clamp(4rem, 8vw, 7rem) 0; }
.section-head { max-width: 48rem; margin: 0 auto 3rem; text-align: center; }
.section-head .lede { margin-inline: auto; }
.eyebrow { font: 500 .8125rem/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin: 0 0 .75rem; hyphens: manual; -webkit-hyphens: manual; }
.section-head h2 { margin-bottom: .45em; }
.lede { font-size: 1.125rem; line-height: 1.65; color: var(--muted); max-width: 42rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- Icons (inline sprite) ---------- */
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.chipi { width: 40px; height: 40px; border-radius: 12px; background: var(--blue-weak); color: var(--brand); display: grid; place-items: center; flex: none; }

/* ---------- Hero (centred over the 12-column grid) ---------- */
.hero { padding: clamp(2.5rem, 5vw, 3.5rem) 0 0; text-align: center; }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.hero-grid > * { grid-column: 1 / -1; }
.hero .pill { display: inline-flex; align-items: center; justify-self: center; height: 32px; padding: 0 14px; margin: 0; border-radius: 16px; background: var(--blue-weak); color: var(--brand); font: 500 .875rem/1 var(--sans); letter-spacing: .01em; text-transform: none; }
.hero h1 { grid-column: 2 / span 10; margin: 22px 0 0; }
.hero .lede { grid-column: 3 / span 8; margin: 20px 0 0; font-size: 1.1875rem; line-height: 1.6; }
.hero .cta-row { justify-content: center; margin: 30px 0 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.25rem; }
.hero-note { margin: 14px 0 0; font-size: .875rem; color: var(--muted); }

/* hero demo: report section <-> sources, symmetric 1 : 1 */
.demo { grid-column: 2 / span 10; margin: 44px 0 0; text-align: left; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow); }
.demo .pane { padding: 24px 28px 28px; min-width: 0; }
.demo .pane + .pane { border-left: 1px solid var(--rule); background: var(--subtle); }
.demo .head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; min-height: 26px; }
.demo .head .k { font: 500 .8125rem/1.2 var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.demo .head .eyebrow { margin: 0; color: var(--muted); }
.demo h3 { font: 600 1.0625rem/1.4 var(--sans); color: var(--ink); margin-bottom: 12px; letter-spacing: 0; }
.demo .txt { margin: 0; font: 400 1.0625rem/1.75 var(--serif); color: var(--text); }
.demo .s .tx { border-radius: 4px; padding: 1px 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; transition: background-color var(--d-standard) var(--e-standard); }
.demo.is-live .s.pending .tx { background: linear-gradient(transparent 92%, rgba(29,78,216,.28) 92%); }
.demo .s .src { margin-left: 4px; transition: opacity var(--d-standard) var(--e-enter), transform var(--d-standard) var(--e-enter); }
.demo.is-live .s:not(.cited) .src { opacity: 0; transform: translateY(4px); }
.demo .s.now .tx { background: var(--blue-weak); }
.src { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: var(--r-chip); background: var(--cite-bg); color: var(--cite-fg); font: 500 .75rem/22px var(--mono); white-space: nowrap; vertical-align: 2px; text-decoration: none; }
.tag { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 6px; font: 500 .75rem/24px var(--sans); white-space: nowrap; vertical-align: 2px; }
.tag.neutral { background: #F1F2F5; color: var(--muted); }
.status { position: relative; height: 26px; width: 210px; flex: none; display: block; margin: 0; padding: 0; border: 0; border-radius: 0; font: inherit; letter-spacing: 0; }
.status > span { position: absolute; right: 0; top: 0; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 13px; font: 600 .75rem/26px var(--sans); white-space: nowrap; transition: opacity var(--d-fast) var(--e-enter); }
.status .run { background: #F1F2F5; color: var(--muted); opacity: 0; }
.status .ok { background: var(--brand); color: #fff; opacity: 1; }
.demo.is-live:not(.done) .status .run { opacity: 1; }
.demo.is-live:not(.done) .status .ok { opacity: 0; }
.status .ic { width: 14px; height: 14px; stroke-width: 2.2; }
.srcs { display: grid; gap: 10px; }
.sc { padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--rule); transition: border-color var(--d-standard) var(--e-standard), box-shadow var(--d-standard) var(--e-standard); }
.sc.on { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.sc .t { display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 600 .875rem/1.4 var(--sans); color: var(--ink); }
.sc p { margin: 4px 0 0; font: 400 .875rem/1.5 var(--sans); color: var(--muted); }
.demo-note { grid-column: 1 / -1; margin: 14px 0 0; font-size: .8125rem; line-height: 1.5; color: var(--muted); }

/* trust strip: 4 equal columns */
.trust-strip { margin-top: 56px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--paper); }
.trust-strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gutter); }
.trust-strip li { display: flex; gap: 14px; align-items: center; justify-content: center; padding: 26px 0; font-size: .875rem; line-height: 1.4; color: var(--muted); }
.trust-strip li > span:last-child { display: block; }
.trust-strip strong { display: block; font: 600 .9375rem/1.3 var(--sans); color: var(--ink); text-transform: none; letter-spacing: 0; margin: 0; }

/* ---------- Steps with progress line ---------- */
.steps { --p: 1; list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); counter-reset: s; }
.steps li { position: relative; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-card); padding: 28px 28px 30px; transition: transform var(--d-fast) var(--e-standard), box-shadow var(--d-fast) var(--e-standard), border-color var(--d-fast) var(--e-standard); }
.steps li:hover { transform: translateY(var(--lift)); box-shadow: var(--shadow); border-color: transparent; }
.steps h3 { margin: 20px 0 10px; font-size: 1.25rem; letter-spacing: -.01em; }
.steps li p { margin: 0; color: var(--muted); }
.step-no { position: relative; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; margin: 0 auto; border-radius: 18px; background: var(--brand); color: #fff; font: 600 .9375rem/1 var(--sans); transition: background-color var(--d-standard) var(--e-standard), color var(--d-standard) var(--e-standard), box-shadow var(--d-standard) var(--e-standard); }
.steps h3, .steps li p { text-align: left; }
.steps::before, .steps::after { content: ""; position: absolute; z-index: 1; top: 46px; left: calc((100% - 2 * var(--gutter)) / 6); right: calc((100% - 2 * var(--gutter)) / 6); height: 2px; border-radius: 1px; pointer-events: none; }
.steps::before { background: var(--blue-track); }
.steps::after { background: var(--brand); transform: scaleX(var(--p)); transform-origin: left center; transition: transform 640ms var(--e-standard); }
.steps.is-seq li:not(.on) .step-no { background: #fff; color: var(--muted); box-shadow: inset 0 0 0 2px var(--rule-strong); }
.steps.is-seq li:not(.on) h3, .steps.is-seq li:not(.on) p { opacity: .55; }
.steps li h3, .steps li p { transition: opacity var(--d-standard) var(--e-standard); }

/* ---------- Module / feature cards (3 x 2) ---------- */
.module-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.module-grid li { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-card); padding: 28px; transition: transform var(--d-fast) var(--e-standard), box-shadow var(--d-fast) var(--e-standard), border-color var(--d-fast) var(--e-standard); }
.module-grid li:hover { transform: translateY(var(--lift)); box-shadow: var(--shadow); border-color: transparent; }
.module-grid .chipi { margin-bottom: 20px; }
.module-grid h3 { margin: 0 0 10px; font-size: 1.1875rem; line-height: 1.35; }
.module-grid h3 a { color: inherit; text-decoration: none; }
.module-grid h3 a:hover { color: var(--brand); text-decoration: underline; }
.module-grid p { margin: 0 0 .7rem; font-size: .9375rem; line-height: 1.6; color: var(--muted); }
.module-grid p:last-child { margin-bottom: 0; }
.module-grid .more { margin-top: auto; padding-top: 6px; }
.more a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: .9375rem; color: var(--brand); text-decoration: none; }
.more a:hover { text-decoration: underline; }
.more .ic { width: 18px; height: 18px; transition: transform var(--d-fast) var(--e-standard); }
.module-grid li:hover .more .ic { transform: translateX(2px); }
.promise { max-width: 48rem; margin: 40px auto 0; border: 1px solid var(--rule); border-radius: var(--r-card); background: var(--blue-weak); padding: 20px 24px; font: 500 1.1875rem/1.5 var(--sans); color: var(--ink); text-align: center; }
.promise + .small { text-align: center; margin: 14px auto 0; max-width: 42rem; }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--r-card); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .97rem; }
th, td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--rule); }
tr:last-child th, tr:last-child td { border-bottom: 0; }
thead th { font: 600 .8125rem/1.3 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--subtle); }
tbody th { font-weight: 600; color: var(--ink); width: 22%; }
.col-us { background: var(--blue-weak); }
thead th.col-us { color: var(--brand); }
.compare td:last-child { color: var(--ink); }

/* ---------- Data band (vivid blue) ---------- */
.band { margin-top: clamp(4rem, 8vw, 7rem); background: var(--brand); color: #fff; padding-block: clamp(4rem, 7vw, 6rem); background-image: radial-gradient(circle at 100% 0, rgba(255,255,255,.09), rgba(255,255,255,0) 60%); }
.band .section-head { margin-bottom: 2.5rem; }
.band .eyebrow { color: var(--on-blue-2); }
.band h2 { color: #fff; }
.band .section-head p { color: var(--on-blue-2); font-size: 1.125rem; line-height: 1.6; }
.band a { color: #fff; }
.stats { list-style: none; margin: 0 0 var(--gutter); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.stats li { text-align: center; padding: 8px 12px 4px; }
.stats b { display: block; font: 600 3rem/1.1 var(--sans); letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums lining-nums; }
.stats li > span { display: block; margin-top: 6px; font-size: .9375rem; line-height: 1.45; color: var(--on-blue-2); }
.cells { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.cells .cell { padding: 24px; border-radius: var(--r-card); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); }
.cells .cell:last-child { grid-column: 1 / -1; }
.cells .ic { width: 26px; height: 26px; color: #fff; }
.cells dt { margin-top: 14px; font: 600 1.0625rem/1.4 var(--sans); color: #fff; }
.cells dd { margin: 8px 0 0; font-size: .9375rem; line-height: 1.6; color: var(--on-blue-2); }
.band .foot { margin: 28px auto 0; max-width: 46rem; text-align: center; font-size: .875rem; line-height: 1.5; color: var(--on-blue-2); }
.band .foot a { text-decoration: underline; text-underline-offset: 3px; }
.status-tag { display: inline-block; font: 500 .72rem/1.4 var(--mono); border: 1px solid var(--rule); border-radius: 6px; padding: 0 .4rem; margin-left: .35rem; white-space: nowrap; color: var(--muted); }

/* ---------- Musterbericht teaser ---------- */
.sample { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px var(--gutter); align-items: center; padding: 40px; background: var(--subtle); border: 1px solid var(--rule); border-radius: var(--r-card); }
.sample-copy { grid-column: span 7; }
.sample-copy p:last-child { margin-bottom: 0; }
.sample-links { grid-column: span 5; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }

/* ---------- Pricing: 2 x 2, centred ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); max-width: 56rem; margin-inline: auto; }
.price-grid + .price-grid { margin-top: var(--gutter); }
.plan { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-card); padding: 28px; display: flex; flex-direction: column; transition: transform var(--d-fast) var(--e-standard), box-shadow var(--d-fast) var(--e-standard), border-color var(--d-fast) var(--e-standard); }
.plan:hover { transform: translateY(var(--lift)); box-shadow: var(--shadow); border-color: transparent; }
.plan-featured { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.plan-featured:hover { border-color: var(--brand); }
.plan h3 { margin-bottom: .25rem; }
.price { font: 600 2.25rem/1.1 var(--sans); letter-spacing: -.02em; color: var(--ink); margin: .6rem 0 0; font-variant-numeric: tabular-nums lining-nums; }
.price small { font: 400 1rem/1.3 var(--sans); letter-spacing: 0; color: var(--muted); }
.price-sub { font: 400 .8125rem/1.5 var(--mono); color: var(--muted); margin: .4rem 0 1rem; }
.plan ul { margin: 0 0 1.4rem; padding-left: 1.1rem; }
.plan li { margin-bottom: .4rem; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.price-notes { max-width: 56rem; margin: 28px auto 0; font-size: .9rem; color: var(--muted); }
.price-notes p { margin-bottom: .6rem; }

/* ---------- Waitlist: card with the helper (the only place she appears) ---------- */
.waitlist-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gutter); padding: 48px; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow); }
.waitlist-copy { grid-column: span 5; }
.waitlist-form { grid-column: span 7; }
.who { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.buddy { flex: none; }
.buddy .eyes { animation: blink 6.5s steps(1) infinite; transform-origin: 32px 30px; transform-box: view-box; }
@keyframes blink { 0%, 95% { transform: none; } 96%, 98% { transform: scaleY(.12); } 99%, 100% { transform: none; } }
.bubble { position: relative; padding: 10px 14px; border-radius: 14px; background: var(--blue-weak); color: var(--ink); font: 500 .9375rem/1.45 var(--sans); }
.bubble::before { content: ""; position: absolute; left: -6px; top: 50%; margin-top: -6px; width: 12px; height: 12px; background: var(--blue-weak); transform: rotate(45deg); border-radius: 2px; }
.form-row { margin-bottom: 1.1rem; }
.form-row label, .form-row .label { display: block; font-weight: 500; color: var(--ink); margin-bottom: .35rem; font-size: .9375rem; }
.form-row .optional { font-weight: 400; color: var(--muted); font-size: .875rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
input[type="email"], input[type="text"], input[type="number"], select { width: 100%; min-height: 48px; padding: .5rem .85rem; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--rule-strong); border-radius: var(--r-btn); transition: border-color var(--d-fast) var(--e-standard), box-shadow var(--d-fast) var(--e-standard); }
input[type="email"]:focus, input[type="text"]:focus, input[type="number"]:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--blue-track); }
input[aria-invalid="true"] { border-color: var(--warn); }
.check { display: grid; grid-template-columns: 1.25rem 1fr; gap: .6rem; align-items: start; margin-bottom: .9rem; font-size: .9375rem; }
.check input { width: 1.15rem; height: 1.15rem; margin: .2rem 0 0; accent-color: var(--brand); }
.check label { font-weight: 400; color: var(--text); margin: 0; }
.form-error { color: var(--warn); font-size: .9rem; margin: .3rem 0 0; min-height: 0; }
.form-status { margin-top: 1rem; padding: 0; font-size: .97rem; }
.form-status:empty { display: none; }
.form-status[data-state="success"] { border-left: 3px solid var(--brand); padding: .6rem .8rem; background: var(--blue-weak); border-radius: 0 8px 8px 0; }
.form-status[data-state="error"] { border-left: 3px solid var(--warn); padding: .6rem .8rem; background: var(--draft-bg); border-radius: 0 8px 8px 0; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fineprint { font-size: .85rem; color: var(--muted); margin-top: 1rem; }

/* ---------- FAQ: accordion with smooth height ---------- */
.faq { max-width: 52rem; margin-inline: auto; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 20px 44px 20px 4px; font: 600 1.0625rem/1.45 var(--sans); color: var(--ink); list-style: none; position: relative; transition: color var(--d-fast) var(--e-standard); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand); }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -8px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg); transition: transform var(--d-standard) var(--e-standard); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 4px; max-width: 46rem; overflow: hidden; color: var(--text); }
.faq .answer p:last-child { margin-bottom: 20px; }

/* ---------- Report excerpt (musterbericht, guides): source chips, flags ---------- */
.cite { display: inline; font-family: var(--mono); font-size: .78em; line-height: 1; white-space: nowrap; color: var(--cite-fg); background: var(--cite-bg); border: 0; border-radius: var(--r-chip); padding: .22em .45em; margin-left: .15em; vertical-align: .06em; cursor: pointer; text-decoration: none; }
button.cite { font-weight: 500; }
.cite[aria-expanded="true"], .cite.is-open { background: var(--blue-track); }
.cited { background: transparent; }
.unbelegt { text-decoration: underline wavy var(--warn); text-decoration-thickness: 1px; text-underline-offset: .22em; }
.flag { display: inline-block; font: 500 .72em/1.4 var(--sans); color: var(--draft-fg); background: var(--draft-bg); border-radius: var(--r-chip); padding: .1em .5em; margin-left: .2em; vertical-align: .06em; white-space: nowrap; }
.source { border: 1px solid var(--rule); border-radius: 12px; padding: .75rem .9rem; font-size: .92rem; background: var(--surface); transition: border-color var(--d-standard) var(--e-standard), box-shadow var(--d-standard) var(--e-standard); }
.source.is-active { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.source-head { display: flex; flex-wrap: wrap; gap: .25rem .75rem; font: 500 .75rem/1.4 var(--mono); color: var(--muted); margin-bottom: .3rem; }
.source p { margin: 0; font-family: var(--serif); }
.source mark { background: var(--cite-bg); color: inherit; border-radius: 3px; padding: 0 .15em; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.prose p, .prose li, .report p { hyphens: auto; -webkit-hyphens: auto; }

/* Prose (legal, Ratgeber) */
.prose { max-width: 44rem; }
.prose h1 { margin-bottom: .4em; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.prose blockquote { margin: 1.25rem 0; padding: .75rem 1rem; border-left: 3px solid var(--cite-border); background: var(--surface); font-family: var(--serif); }
.prose .meta { font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.prose .sources { font-size: .92rem; border-top: 1px solid var(--rule); margin-top: 2.5rem; padding-top: 1rem; }
.page { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 6vw, 5rem); }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 1.5rem; }
.callout { border: 1px solid var(--rule); border-left: 3px solid var(--brand); background: var(--surface); padding: 1rem 1.15rem; border-radius: var(--radius); margin: 1.5rem 0; }
.callout-warn { border-left-color: var(--warn); }
.checklist { list-style: none; padding-left: 0 !important; }
.checklist li { padding-left: 1.75rem; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .35em; width: .95rem; height: .95rem; border: 1px solid var(--ink); border-radius: 2px; background: var(--surface); }
.article-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.article-list li { border-bottom: 1px solid var(--rule); padding: 1.25rem 0; }
.article-list h2 { font-size: 1.35rem; margin-bottom: .35rem; }
.article-list a { text-decoration: none; color: var(--ink); }
.article-list a:hover { color: var(--link); text-decoration: underline; }


/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--rule); background: var(--paper); padding-block: 2rem 2.5rem; margin-top: clamp(4rem, 8vw, 7rem); font-size: .875rem; color: var(--muted); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; }
.footer-grid p { margin: 0; }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 0; padding: 0; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--brand); text-decoration: underline; }
.disclaimer { max-width: 46rem; margin: 1.25rem 0 0; }
.doc-caption { margin-top: .6rem; }

/* ---------- Motion: scroll reveal (class added by site.js only; static without JS and under Reduce Motion) ---------- */
.js .rv { opacity: 0; transform: translateY(var(--rise)); transition: opacity var(--d-reveal) var(--e-enter) var(--rd, 0ms), transform var(--d-reveal) var(--e-enter) var(--rd, 0ms); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  .buddy .eyes { animation: none; }
  html { scroll-behavior: auto; }
  .steps::after { transition: none; }
}

/* ---------- Tablet / small laptop ---------- */
@media (max-width: 1179px) {
  .site-header .bar { grid-template-columns: auto minmax(0, 1fr) auto; }
  .menu-btn { display: grid; }
  .nav-login { display: none; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; }
  .js .site-nav { display: none; }
  .js .site-header.open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 4px 0 14px; gap: 0; }
  .site-nav a { padding: 12px 8px; font-size: 1rem; }
  .site-nav a::after { left: 8px; right: auto; width: 24px; bottom: 6px; }
  .bar-act { grid-column: 3; grid-row: 1; }
  .brand { grid-column: 1; grid-row: 1; }
  .site-header .bar { row-gap: 0; }
  .bar::after { content: ""; grid-column: 2; grid-row: 1; }
}
@media (min-width: 1180px) and (max-width: 1339px) { .nav-login { display: none; } }
@media (max-width: 1023px) {
  :root { --gutter: 20px; }
  .hero h1 { grid-column: 1 / -1; font-size: 2.75rem; line-height: 1.18; }
  .hero .lede { grid-column: 1 / -1; font-size: 1.125rem; }
  .demo { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .demo .pane + .pane { border-left: 0; border-top: 1px solid var(--rule); }
  .srcs { grid-template-columns: 1fr 1fr; }
  .trust-strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-strip li { justify-content: flex-start; padding: 16px 0; }
  .steps { grid-template-columns: 1fr; }
  .steps::before, .steps::after { top: 46px; bottom: 46px; left: 46px; right: auto; width: 2px; height: auto; }
  .steps::after { transform: scaleY(var(--p)); transform-origin: center top; }
  .steps li { padding: 28px 28px 30px 84px; }
  .step-no { position: absolute; left: 28px; top: 28px; margin: 0; }
  .steps h3 { margin-top: 3px; }
  .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats b { font-size: 2.5rem; }
  .cells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cells .cell:last-child { grid-column: 1 / -1; }
  .sample, .waitlist-grid { padding: 32px; }
  .sample-copy, .sample-links, .waitlist-copy, .waitlist-form { grid-column: 1 / -1; }
  .sample-links { justify-content: flex-start; }
  .section-head { margin-bottom: 2.25rem; }
}
@media (max-width: 599px) {
  :root { --side: 16px; --gutter: 12px; }
  .btn { white-space: normal; text-align: center; }
  .site-header .bar { min-height: 64px; column-gap: 12px; }
  .brand-product { display: none; }
  .bar-act .btn { display: none; }
  .hero h1 { font-size: 2.125rem; line-height: 1.2; }
  .hero .pill { height: auto; padding: 8px 14px; line-height: 1.35; text-align: center; border-radius: 18px; }
  .hero .cta-row { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .hero .cta-row .btn { flex: none; }
  .demo .pane { padding: 18px 18px 20px; }
  .demo .head { flex-wrap: wrap; }
  .status { width: auto; height: auto; }
  .status > span { position: static; display: none; }
  .status .ok { display: inline-flex; }
  .demo.is-live:not(.done) .status .run { display: inline-flex; opacity: 1; }
  .demo.is-live:not(.done) .status .ok { display: none; }
  .srcs { grid-template-columns: 1fr; }
  .trust-strip ul { grid-template-columns: 1fr; }
  .module-grid, .cells, .stats, .price-grid, .form-grid { grid-template-columns: 1fr; }
  .module-grid li, .plan { padding: 22px; }
  .steps li { padding: 22px 22px 24px 72px; }
  .step-no { left: 22px; top: 22px; }
  .steps::before, .steps::after { left: 40px; top: 40px; bottom: 40px; }
  .stats li { padding-inline: 0; }
  .sample, .waitlist-grid { padding: 22px; }
  .sample-links .btn, .cta-row .btn { flex: 1 1 100%; }
  .data-row { grid-template-columns: 1fr; }
  tbody th { width: auto; }
  .who { flex-direction: row; }
  .faq summary { padding-right: 36px; }
  .cta-row .btn { flex: 1 1 100%; }
}
@media (max-width: 767px) {
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { border-bottom: 1px solid var(--rule); padding: .85rem 1rem; }
  .compare tr:last-child { border-bottom: 0; }
  .compare th, .compare td { border: 0; padding: .15rem 0; }
  .compare tbody th { margin-bottom: .35rem; }
  .compare td::before { content: attr(data-label); display: block; font: 600 .72rem/1.3 var(--sans); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-top: .35rem; }
  .col-us { background: transparent; }
  .compare td.col-us { background: var(--blue-weak); border-radius: 8px; padding: .5rem .7rem; margin-top: .4rem; }
}
@media print {
  .site-header, .site-footer, .skip-link { display: none; }
  body { background: #fff; }
  .js .rv { opacity: 1; transform: none; }
}

/* Musterbericht */
.fiction-banner { border: 1px solid var(--warn); border-left-width: 4px; background: var(--surface); color: var(--text); padding: .85rem 1.1rem; border-radius: var(--radius); margin-bottom: 2rem; }
.fiction-banner strong { color: var(--warn); }
.report-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem var(--gutter); align-items: start; }
.report { grid-column: span 8; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(1.1rem, 4vw, 2.5rem); font-family: var(--serif); font-size: 1.05rem; line-height: 1.7; }
.report-sources { grid-column: span 4; position: sticky; top: 5rem; max-height: calc(100vh - 6rem); overflow: auto; }
.report-sources h2 { font-size: 1.15rem; }
.report-head { border-bottom: 1px solid var(--ink); padding-bottom: 1rem; margin-bottom: 1.5rem; }
.report-kicker { font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.report h1 { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 1.9rem); }
.report h2 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; margin: 1.8rem 0 .6rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.report h3 { font-family: var(--sans); font-size: .95rem; font-weight: 600; color: var(--text); margin: 1.1rem 0 .35rem; }
.report-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem 1.5rem; margin: 0; font-family: var(--sans); font-size: .9rem; }
.report-meta dt { font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.report-meta dd { margin: 0; }
.report a.cite { text-decoration: none; }
.report a.cite:hover { background: var(--cite-bg); }
.therapist-note { font-family: var(--sans); font-size: .85rem; color: var(--muted); border-left: 2px solid var(--rule); padding-left: .75rem; }
.diag { list-style: none; padding: 0; }
.diag li { margin-bottom: .35rem; }
.diag .mono { display: inline-block; min-width: 5.5rem; color: var(--ink); }
.report-sign { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 0; }
.report-sign p { border-top: 1px solid var(--text); display: inline-block; padding-top: .3rem; font-family: var(--sans); font-size: .85rem; color: var(--muted); }
.source-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.source:target { background: var(--cite-bg); }
@media (max-width: 62rem) {
  .report, .report-sources { grid-column: 1 / -1; }
  .report-sources { position: static; max-height: none; }
}
@media (max-width: 30rem) { .report-meta { grid-template-columns: 1fr; } }
@media print {
  @page { size: A4; margin: 16mm 15mm; }
  html, body { font-size: 10pt; }
  .page { padding: 0; }
  .shell { padding: 0; max-width: none; }
  .report-layout { display: block; }
  .report { border: 0; padding: 0; font-size: 10.5pt; line-height: 1.5; }
  .report-sources { position: static; max-height: none; overflow: visible; margin-top: 8mm; break-before: page; }
  .source { break-inside: avoid; }
  .fiction-banner { margin-bottom: 6mm; }
  .callout { break-inside: avoid; }
  .no-print { display: none; }
  .cite { border-color: var(--cite-border); }
  a { color: inherit; }
}
.fieldset-reset, fieldset { border: 0; padding: 0; margin: 0 0 1rem; } legend.label { font-weight: 500; color: var(--ink); margin-bottom: .6rem; padding: 0; }
figure { margin: 0; }
.eyebrow { hyphens: manual; -webkit-hyphens: manual; }
@media (max-width: 48rem) {
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { border-bottom: 1px solid var(--rule); padding: .85rem 1rem; }
  .compare tr:last-child { border-bottom: 0; }
  .compare th, .compare td { border: 0; padding: .15rem 0; }
  .compare tbody th { margin-bottom: .35rem; }
  .compare td::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-top: .35rem; }
  .col-us { background: transparent; }
}

/* ---- Trust page (datenschutz-und-sicherheit.html), built by tools/build_trust_page.js ---- */
.trust { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 3.5rem; align-items: start; }
.trust-toc { position: sticky; top: 5.5rem; font-size: .92rem; }
.trust-toc strong { display: block; font-family: var(--mono); font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; font-weight: 500; }
.trust-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.trust-toc li { counter-increment: t; border-bottom: 1px solid var(--rule); }
.trust-toc a { display: block; padding: .5rem 0 .5rem 1.6rem; position: relative; color: var(--text); text-decoration: none; }
.trust-toc a::before { content: counter(t); position: absolute; left: 0; font-family: var(--mono); font-size: .8rem; color: var(--brand); }
.trust-toc a:hover { color: var(--ink); }
.trust-body { max-width: 52rem; min-width: 0; }
.trust-head { padding-bottom: 1.75rem; border-bottom: 1px solid var(--rule); }
.trust-head h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: .5rem; }
.trust-head .meta { font-family: var(--mono); font-size: .8rem; color: var(--muted); margin: .9rem 0 0; }
.trust-note { margin: 1rem 0 0; padding: .65rem .9rem; background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--brand); border-radius: var(--radius); font-size: .95rem; }
.trust-facts { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
.trust-facts li { padding: .9rem 1rem; font-size: .88rem; line-height: 1.4; color: var(--muted); }
.trust-facts li + li { border-left: 1px solid var(--rule); }
.trust-facts strong { display: block; font-size: .95rem; color: var(--ink); margin-bottom: .2rem; }
.trust-body section { padding: 2.25rem 0 .75rem; border-bottom: 1px solid var(--rule); scroll-margin-top: 5rem; }
.trust-body section:last-child { border-bottom: 0; }
.trust-body h2 { font-size: 1.55rem; display: flex; gap: .8rem; align-items: baseline; margin-bottom: .8rem; }
.trust-body h2 .no { font-family: var(--mono); font-size: .85rem; font-weight: 500; color: var(--brand); }
.trust-body p { max-width: 46rem; }
.trust-body .callout { margin: 1rem 0 1.25rem; padding: .85rem 1rem; background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--brand); border-radius: var(--radius); }
.trust-body .callout p { margin: 0; font-size: .97rem; }
.trust-figure { margin: 1.5rem 0 1rem; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.trust-svg svg { display: block; width: 100%; height: auto; }
.trust-figure figcaption { padding: .6rem 1rem; border-top: 1px solid var(--rule); background: var(--surface); font-size: .85rem; color: var(--muted); }
.trust-flow { margin: 1.25rem 0; padding: 0; list-style: none; counter-reset: f; border-top: 1px solid var(--rule); }
.trust-flow li { counter-increment: f; display: grid; grid-template-columns: 2rem 1fr; padding: .7rem 0; border-bottom: 1px solid var(--rule); font-size: .96rem; }
.trust-flow li::before { content: counter(f); font-family: var(--mono); font-size: .85rem; color: var(--brand); }
.trust-table { font-size: .9rem; }
.trust-table th, .trust-table td { vertical-align: top; text-align: left; }
.trust-table tbody th { font-weight: 600; color: var(--ink); }
.trust-table .sub { display: block; font-weight: 400; font-size: .82rem; color: var(--muted); }
.trust-table:not(.trust-table-2) { min-width: 46rem; }
.trust-defs { margin: .5rem 0 1.25rem; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
.trust-defs > div { display: grid; grid-template-columns: 12rem 1fr; border-bottom: 1px solid var(--rule); }
.trust-defs > div:last-child { border-bottom: 0; }
.trust-defs dt { padding: .75rem 1rem; font-weight: 600; color: var(--ink); background: #F4F2EC; font-size: .95rem; }
.trust-defs dd { margin: 0; padding: .75rem 1rem; font-size: .96rem; }
.trust-rows, .trust-downloads { list-style: none; margin: .5rem 0 1.25rem; padding: 0; border-top: 1px solid var(--rule); }
.trust-rows li, .trust-downloads li { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid var(--rule); }
.trust-rows strong, .trust-downloads strong { display: block; color: var(--ink); }
.trust-rows .meta, .trust-downloads .meta { display: block; font-size: .88rem; color: var(--muted); max-width: 40rem; }
.trust-tag { display: inline-block; font-size: .78rem; line-height: 1.2; padding: .2rem .5rem; border: 1px solid #CFCAC0; border-radius: var(--radius); color: var(--muted); background: var(--surface); white-space: nowrap; }
.trust-tag.is-done { color: var(--ink); }
.trust-tag.is-done::before { content: "\2713\00a0"; color: var(--success); }
@media (max-width: 1099px) { .trust { grid-template-columns: minmax(0, 1fr); gap: 0; } .trust-toc { display: none; } }
@media (max-width: 640px) {
  .trust-facts { grid-template-columns: 1fr 1fr; }
  .trust-facts li:nth-child(3) { border-left: 0; }
  .trust-facts li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .trust-figure { display: none; }
  .trust-defs > div { grid-template-columns: 1fr; }
  .trust-defs dt { background: var(--surface); padding-bottom: 0; }
  .trust-defs dd { padding-top: .15rem; }
  .trust-rows li, .trust-downloads li { grid-template-columns: 1fr; gap: .5rem; }
  .trust-downloads .btn { justify-self: start; }
}


/* Free tools (Zeitersparnis-Rechner, Fristenrechner, Gutachterbericht-Checkliste) */
.tool-page > * { max-width: 62rem; }
.tool-page .section-head { max-width: 46rem; }
.tool-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2rem var(--gutter); margin: 1.75rem 0 2rem; align-items: start; }
.tool-form, .tool-result { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.25rem 1.4rem 1.4rem; min-width: 0; }
.tool-form h2, .tool-result h2 { font-size: 1.3rem; }
.tool-result h3 { font-size: 1.05rem; margin-top: 1.25rem; }
.field-hint { font-size: .88rem; color: var(--muted); margin: .3rem 0 0; }
input[type="text"] { width: 100%; min-height: 2.75rem; padding: .5rem .7rem; font: inherit; color: var(--text); background: var(--surface); border: 1px solid #8A8F98; border-radius: var(--radius); }
.result-list { margin: 0 0 1rem; }
.result-list > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .15rem 1rem; padding: .65rem 0; border-bottom: 1px solid var(--rule); }
.result-list dt { color: var(--muted); }
.result-list dd { margin: 0; font-family: var(--mono); color: var(--ink); }
.result-list dd.result-strong { font-weight: 500; font-size: 1.15rem; }
.result-block { border: 1px solid var(--rule); border-left: 3px solid var(--brand); border-radius: var(--radius); padding: .75rem 1rem; margin-bottom: .9rem; background: var(--paper); }
.result-block.is-warn { border-left-color: var(--warn); }
.result-block h3 { margin: 0 0 .3rem; font-size: 1rem; }
.result-block p { margin: 0; }
.formula { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: .6rem .8rem; font-size: .85rem; }
.limits-table td { font-family: var(--mono); }
.tool-links { margin-top: 2.5rem; border-top: 1px solid var(--ink); padding-top: 1rem; }
.tool-links h2 { font-size: 1.2rem; }
.tool-links ul { padding-left: 1.1rem; }
.tool-links li { margin-bottom: .4rem; }
.check-group { margin-bottom: 1.5rem; }
.check-group h2 { font-size: 1.2rem; margin-bottom: .5rem; padding-bottom: .35rem; border-bottom: 1px solid var(--rule); }
.checkbox-list { list-style: none; margin: 0; padding: 0; }
.checkbox-list li { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr); gap: .7rem; padding: .45rem 0; align-items: start; }
.checkbox-list .box { width: 1.05rem; height: 1.05rem; margin-top: .3rem; border: 1.5px solid var(--ink); border-radius: 2px; background: var(--surface); }
.rule-id { display: inline-block; font-size: .74rem; color: var(--muted); border: 1px solid var(--rule); border-radius: var(--radius); padding: .05rem .35rem; margin-left: .2rem; overflow-wrap: anywhere; }
.print-only { display: none; }
@media (max-width: 62rem) {
  .tool-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  .tool-form, .tool-result { padding: 1rem; }
}
@media print {
  .breadcrumb, .cta-row, .tool-links, .tool-form .btn { display: none !important; }
  .print-only { display: block !important; }
  .tool-page > * { max-width: none; }
  .check-group, .checkbox-list li { break-inside: avoid; }
  .rule-id { border-color: #888; color: #333; }
  a { color: inherit; text-decoration: none; }
}


/* ---------- Inner pages restyled to the web look (legal, guides, report, trust, tools) ---------- */
.page { padding-block: clamp(2rem, 5vw, 3.5rem) 0; }
.prose h1 { font-size: clamp(2rem, 1.2rem + 2.6vw, 2.75rem); }
.prose h2 { font-size: 1.5rem; margin-top: 2.4rem; }
.prose blockquote { border-left: 3px solid var(--brand); background: var(--subtle); border-radius: 0 12px 12px 0; }
.callout { border: 1px solid var(--rule); border-left: 3px solid var(--brand); background: var(--subtle); border-radius: 0 12px 12px 0; }
.callout-warn { border-left-color: var(--warn); background: var(--draft-bg); }
.checklist li::before { border-radius: 4px; border-color: var(--rule-strong); }
.breadcrumb a { color: var(--muted); }
.article-list { border-top: 1px solid var(--rule); }
.article-list li { border-bottom: 1px solid var(--rule); padding: 1.5rem 0; }
.article-list h2 { font-size: 1.3rem; margin-bottom: .35rem; }
.article-list a { color: var(--ink); }
.article-list a:hover { color: var(--brand); }
.prose .sources { border-top: 1px solid var(--rule); }
.fiction-banner { border: 1px solid #E9D48A; border-left: 4px solid #C9A227; background: var(--draft-bg); border-radius: 12px; color: var(--draft-fg); }
.fiction-banner strong { color: var(--draft-fg); }
.report { border-radius: var(--r-card); }
.report-head { border-bottom-color: var(--rule-strong); }
.report-kicker, .report-meta dt { color: var(--muted); font-family: var(--sans); }
.report a.cite:hover { background: var(--blue-track); }
.source:target { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.trust-defs, .trust-facts, .trust-figure, .tool-form, .tool-result, .data-box, .result-block, .formula { border-radius: var(--r-card); }
.trust-note, .trust-body .callout { border-radius: 0 12px 12px 0; background: var(--subtle); }
.trust-defs dt { background: var(--subtle); }
.trust-tag { border-color: var(--rule-strong); border-radius: 6px; }
.trust-tag.is-done::before { color: var(--brand); }
.trust-figure { background: var(--subtle); }
.trust-toc a.is-here { color: var(--brand); }
.limits-table td { font-family: var(--mono); }
.tool-links { border-top: 1px solid var(--rule); }
.checkbox-list .box { border-color: var(--rule-strong); border-radius: 4px; }
.result-block { background: var(--subtle); }
.rule-id { border-radius: 6px; font-family: var(--mono); }
.legal-note { margin: 0 0 1.75rem; padding: .85rem 1.1rem; background: var(--subtle); border: 1px solid var(--rule); border-left: 3px solid var(--brand); border-radius: 0 12px 12px 0; font-size: .95rem; }
