/* ==========================================================================
   D.ONE — assets/css/styles.css
   Reihenfolge: 1 Tokens · 2 Reset · 3 Base · 4 Layout · 5 Components · 6 Utilities
   Eine Designentscheidung existiert genau an einer Stelle.
   ========================================================================== */

/* ===== 1 · TOKENS ======================================================== */
:root {
  /* Farbe — Rollen laut docs/02-brand-design.md */
  --ink:          #0F172A;
  --navy-mid:     #16284C;
  --navy-2:       #1E3557;
  --bg:           #FCF8F0;
  --surface:      #FFFDF9;
  --muted:        #6B7280;
  --muted-soft:   #9CA3AF;
  --line:         #E8DFD2;
  --line-ink:     #24324D;
  --accent:       #BFA37A;
  --accent-deep:  #A98B62;
  --accent-text:  #7E6239;
  --ok:           #2F6B4F;
  --err:          #9B2C22;

  /* Schrift — drei Rollen, streng getrennt */
  --ff-display: "Cormorant Garamond","EB Garamond","Iowan Old Style","Palatino Linotype",Palatino,"Georgia Pro",Georgia,serif;
  --ff-text:    Inter,"Helvetica Neue","Segoe UI",system-ui,-apple-system,Arial,sans-serif;
  --ff-mono:    "IBM Plex Mono",SFMono-Regular,ui-monospace,"Cascadia Mono","Roboto Mono",Menlo,Consolas,monospace;

  --fs-hero:  clamp(2.4rem, 1.50rem + 4.20vw, 5.00rem);
  --fs-h1:    clamp(2.0rem, 1.40rem + 2.60vw, 3.40rem);
  --fs-h2:    clamp(1.6rem, 1.25rem + 1.50vw, 2.40rem);
  --fs-h3:    clamp(1.15rem, 1.05rem + 0.50vw, 1.40rem);
  --fs-lead:  clamp(1.06rem, 1.00rem + 0.40vw, 1.25rem);
  --fs-body:  clamp(1.00rem, 0.97rem + 0.15vw, 1.06rem);
  --fs-small: 0.875rem;
  --fs-label: 0.72rem;

  /* Raum — 8-px-Basis */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  /* Layout */
  --container: 1180px;
  --measure: 68ch;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(56px, 8vw, 112px);
  --header-h: 104px;

  /* Effekte — Radius 2 oder 0, genau ein Schatten */
  --radius: 2px;
  --shadow: 0 18px 48px -24px rgba(15,23,42,.28);
  --t: 160ms cubic-bezier(.2,.6,.2,1);
}

/* ===== 2 · RESET ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
:target { scroll-margin-top: calc(var(--header-h) + 24px); }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

/* ===== 3 · BASE ========================================================== */
body {
  font-family: var(--ff-text);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2 { font-family: var(--ff-display); font-weight: 500; line-height: 1.1;
  letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; letter-spacing: -.005em; }
h4 { font-size: 1rem; font-weight: 600; line-height: 1.4; margin: 0; }
p { text-wrap: pretty; }
p + p { margin-top: var(--s-4); }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: .22em;
  text-decoration-thickness: 1px; transition: color var(--t), text-decoration-color var(--t); }
a:hover { color: var(--accent-text); text-decoration-color: var(--accent-deep); }
strong { font-weight: 600; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible {
  outline: 2px solid var(--accent-deep); outline-offset: 2px; border-radius: 1px;
}
.on-ink :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: var(--accent); }

/* ===== 4 · LAYOUT ======================================================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto;
  padding-inline: var(--gutter); }
.measure { max-width: var(--measure); }
.section { padding-block: var(--section-y); border-top: 1px solid var(--line); }
.section:first-of-type { border-top: 0; }
.section--tint { background: var(--surface); }
.section--ink { background: var(--ink); color: var(--bg); border-top-color: var(--line-ink); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section__head { max-width: 60ch; }
.section__head h2 { max-width: 20ch; }
.section__head p { color: var(--muted); margin-top: var(--s-4); font-size: var(--fs-lead);
  max-width: 54ch; }
.section--ink .section__head p, .section--ink .muted { color: #B9C2D2; }

.grid { display: grid; gap: var(--s-5); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
.split { display: grid; gap: var(--s-7); grid-template-columns: 1fr; align-items: start; }

@media (min-width: 560px) { .grid--4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .split { grid-template-columns: 1.15fr .85fr; gap: var(--s-8); } }

/* ===== 5 · COMPONENTS ==================================================== */

/* 5.1 Signature: Etikett + goldener Punkt ---------------------------------- */
.label {
  display: flex; align-items: flex-start; gap: .6em;
  font-family: var(--ff-mono); font-size: var(--fs-label); font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text);
  margin: 0 0 var(--s-4);
}
.label::before {
  content: ""; width: 5px; height: 5px; flex: 0 0 5px; margin-top: .58em;
  background: var(--accent); border-radius: 50%;
}
.section--ink .label, .hero .label, .site-footer .label { color: var(--accent); }
.dot { display: inline-block; width: 5px; height: 5px; background: var(--accent);
  border-radius: 50%; vertical-align: .3em; margin-inline: .5em; }

/* 5.2 Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius);
  font-size: .95rem; font-weight: 500; line-height: 1.2; text-align: center;
  text-decoration: none; border: 1px solid transparent;
  transition: background-color var(--t), color var(--t), border-color var(--t);
}
.btn--primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--primary:hover { background: var(--navy-2); border-color: var(--navy-2); color: var(--bg); }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--accent); color: var(--ink); }
.btn--light { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--outline-light { border-color: rgba(252,248,240,.35); color: var(--bg); }
.btn--outline-light:hover { border-color: var(--accent); color: var(--bg); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.expect { margin-top: var(--s-4); font-size: var(--fs-small); color: var(--muted); }
.section--ink .expect, .cta-band .expect { color: #B9C2D2; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em; min-height: 44px;
  font-weight: 500; text-decoration: none;
  border-bottom: 1px solid var(--accent); padding-bottom: 2px; align-self: flex-start;
}
.link-arrow svg { transition: transform var(--t); }
.link-arrow:hover svg { transform: translateX(3px); }

/* 5.3 Header + Navigation -------------------------------------------------- */
.skip {
  position: absolute; left: 12px; top: -100px; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: var(--radius);
  text-decoration: none; transition: top var(--t);
}
.skip:focus { top: 12px; color: var(--bg); }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--bg); border-bottom: 1px solid transparent;
  transition: border-color var(--t), background-color var(--t);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(252,248,240,.94);
  backdrop-filter: saturate(140%) blur(8px); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand svg, .brand img { height: 58px; width: auto; display: block; }
@media (max-width: 719px) { :root { --header-h: 88px; } .brand svg, .brand img { height: 48px; } }
.nav { display: none; }
.nav ul { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 26px);
  list-style: none; margin: 0; padding: 0; }
.nav a {
  position: relative; display: inline-block; padding: 8px 0; font-size: .92rem;
  text-decoration: none; color: var(--ink); white-space: nowrap;
}
.nav a:hover { color: var(--accent-text); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::before {
  content: ""; position: absolute; left: 50%; top: -1px; transform: translateX(-50%);
  width: 5px; height: 5px; background: var(--accent); border-radius: 50%;
}
.header__actions { display: flex; align-items: center; gap: var(--s-3); }
.header__cta { display: none; }
.burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-right: -12px; color: var(--ink);
}
@media (min-width: 1080px) {
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .burger { display: none; }
}

/* 5.4 Drawer --------------------------------------------------------------- */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(88vw, 380px); z-index: 90;
  background: var(--bg); border-left: 1px solid var(--line); box-shadow: var(--shadow);
  transform: translateX(101%); transition: transform var(--t);
  display: flex; flex-direction: column; overflow-y: auto; visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer__top { display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); padding-inline: var(--gutter); border-bottom: 1px solid var(--line); }
.drawer__close { display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-right: -12px; }
.drawer nav ul { list-style: none; margin: 0; padding: 0; }
.drawer nav a {
  display: block; padding: 18px var(--gutter); font-size: 1.05rem;
  text-decoration: none; border-bottom: 1px solid var(--line);
}
.drawer nav a[aria-current="page"] { color: var(--accent-text); }
.drawer nav a[aria-current="page"]::before {
  content: ""; display: inline-block; width: 5px; height: 5px; background: var(--accent);
  border-radius: 50%; margin-right: 10px; vertical-align: .22em;
}
.drawer__foot { padding: var(--s-5) var(--gutter) var(--s-7); margin-top: auto; }
.drawer__foot .btn { width: 100%; }
.drawer__foot p { margin-top: var(--s-4); font-size: var(--fs-small); color: var(--muted); }
.scrim {
  position: fixed; inset: 0; z-index: 80; background: rgba(15,23,42,.42);
  opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t);
}
.scrim.is-open { opacity: 1; visibility: visible; }
body.is-locked { overflow: hidden; }
@media (min-width: 1080px) { .drawer, .scrim { display: none; } }

/* 5.5 Hero — einziger Ort des Verlaufs ------------------------------------- */
.hero {
  background: linear-gradient(160deg, var(--ink) 0%, var(--navy-mid) 58%, var(--navy-2) 100%);
  color: var(--bg); padding-block: clamp(56px, 9vw, 116px) clamp(40px, 6vw, 72px);
}
.hero h1 { font-size: var(--fs-hero); max-width: 15ch; }
.hero__lead { margin-top: var(--s-5); max-width: 54ch; font-size: var(--fs-lead);
  color: #C7CEDB; }
.hero__examples { margin-top: clamp(40px, 6vw, 72px); padding-top: var(--s-5);
  border-top: 1px solid var(--line-ink); }
.hero__examples ul { display: grid; gap: var(--s-2); margin: var(--s-3) 0 0;
  padding: 0; list-style: none; font-size: var(--fs-small); color: #C7CEDB; }
.hero__examples li { position: relative; padding-left: 16px; }
.hero__examples li::before { content: ""; position: absolute; left: 0; top: .62em;
  width: 4px; height: 4px; background: var(--accent); border-radius: 50%; }
@media (min-width: 720px) {
  .hero__examples ul { display: flex; flex-wrap: wrap; gap: 6px 0; }
  .hero__examples li { padding-left: 0; }
  .hero__examples li::before { display: none; }
  .hero__examples li + li::before { content: "·"; display: inline; position: static;
    width: auto; height: auto; background: none; color: var(--accent); margin-inline: .7em; }
}

/* 5.6 Page head (Innenseiten) ---------------------------------------------- */
.pagehead { padding-block: clamp(32px, 5vw, 64px) clamp(24px, 3vw, 36px); }
.pagehead h1 { max-width: 20ch; }
.pagehead__lead { margin-top: var(--s-5); max-width: 62ch; font-size: var(--fs-lead);
  color: var(--muted); }

/* 5.7 Breadcrumb ----------------------------------------------------------- */
.breadcrumb { padding-top: var(--s-5); font-size: var(--fs-small); color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "·"; color: var(--accent); margin-inline: .6em; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--ink); }

/* 5.8 Linienliste (Abgrenzung, Aufzählungen) ------------------------------- */
.rows { border-top: 1px solid var(--line); }
.rows li { border-bottom: 1px solid var(--line); padding-block: var(--s-5); }
.section--ink .rows, .section--ink .rows li { border-color: var(--line-ink); }
.rows--lead li { font-family: var(--ff-display); font-size: clamp(1.2rem,1.05rem + .7vw,1.6rem);
  line-height: 1.35; }
.rows li strong { display: block; font-family: var(--ff-display); font-weight: 500;
  font-size: clamp(1.1rem,1rem + .5vw,1.35rem); line-height: 1.3; margin-bottom: var(--s-2); }

.ticks { display: grid; gap: var(--s-3); }
.ticks li { position: relative; padding-left: 20px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em;
  width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.ticks--plain li::before { background: var(--muted-soft); }

/* 5.9 Regeln --------------------------------------------------------------- */
.rules { border-top: 1px solid var(--line); }
.rules li { display: grid; grid-template-columns: 2.4em 1fr; gap: var(--s-4);
  align-items: baseline; padding-block: var(--s-5); border-bottom: 1px solid var(--line); }
.rules .num { font-family: var(--ff-mono); font-size: var(--fs-label); letter-spacing: .12em;
  color: var(--accent-text); }
.rules p { font-family: var(--ff-display); font-size: clamp(1.15rem,1rem + .7vw,1.55rem);
  line-height: 1.35; }
.section--ink .rules, .section--ink .rules li { border-color: var(--line-ink); }
.section--ink .rules .num { color: var(--accent); }

/* 5.10 Auswahlkriterium ---------------------------------------------------- */
.criteria { display: grid; gap: var(--s-4); border-top: 1px solid var(--line);
  padding-top: var(--s-6); }
.criteria li { font-family: var(--ff-display); font-size: clamp(1.4rem,1.1rem + 1.4vw,2.1rem);
  line-height: 1.25; display: flex; align-items: baseline; gap: .6em; }
.criteria li::before { content: ""; width: 6px; height: 6px; flex: 0 0 6px;
  background: var(--accent); border-radius: 50%; transform: translateY(-.3em); }
@media (min-width: 768px) { .criteria { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); } }

/* 5.11 Aussage-Block (eine Aussage je Abschnitt) --------------------------- */
.statement { font-family: var(--ff-display); font-size: clamp(1.7rem,1.2rem + 2.2vw,3rem);
  line-height: 1.18; letter-spacing: -.015em; max-width: 22ch; text-wrap: balance; }
.statement em { font-style: normal; color: var(--accent); }
.statement__note { margin-top: var(--s-5); max-width: 52ch; color: #B9C2D2; }

/* 5.12 Karten -------------------------------------------------------------- */
.card {
  display: flex; flex-direction: column; gap: var(--s-3);
  padding: var(--s-5) 0 var(--s-6); border-top: 1px solid var(--line);
  transition: border-color var(--t);
}
.card:hover { border-top-color: var(--accent); }
.card p { color: var(--muted); }
.card .link-arrow { margin-top: auto; padding-top: var(--s-4); }
.card--boxed { padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--radius); }
.card--boxed:hover { border-color: var(--accent); }

/* 5.14 Datentabellen (Abläufe, Rechenbeispiel, Zusatzleistungen) ----------- */
.table { font-size: var(--fs-body); }
.table th { text-align: left; font-family: var(--ff-mono); font-size: var(--fs-label);
  font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text);
  padding-block: var(--s-3); border-bottom: 1px solid var(--line); }
.table td { padding-block: var(--s-4); border-bottom: 1px solid var(--line);
  vertical-align: top; }
.table td:first-child { padding-right: var(--s-5); }
.table .num-cell { font-family: var(--ff-mono); white-space: nowrap; text-align: right; }
.table .is-sum td { font-weight: 600; border-bottom-width: 0; border-top: 1px solid var(--ink); }
.table--stack { display: block; }
.table--stack thead { display: none; }
.table--stack tbody, .table--stack tr, .table--stack td { display: block; width: 100%; }
.table--stack tr { border-bottom: 1px solid var(--line); padding-block: var(--s-4); }
.table--stack td { border: 0; padding-block: 2px; }
.table--stack .flow-from { font-weight: 600; }
.table--stack .flow-to { color: var(--muted); }
.table--stack .num-cell { text-align: left; }
@media (min-width: 768px) {
  .table--stack { display: table; }
  .table--stack thead { display: table-header-group; }
  .table--stack tbody { display: table-row-group; }
  .table--stack tr { display: table-row; padding: 0; border: 0; }
  .table--stack td { display: table-cell; width: auto; border-bottom: 1px solid var(--line);
    padding-block: var(--s-4); }
  .table--stack td:first-child { width: 38%; }
  .table--stack .flow-to { color: var(--ink); }
  .table--stack .num-cell { text-align: right; }
}
.table-wrap { overflow-x: auto; }

/* 5.15 Schritte ------------------------------------------------------------ */
.steps { border-top: 1px solid var(--line); counter-reset: step; }
.steps li { display: grid; grid-template-columns: 2.4em 1fr; gap: var(--s-4);
  padding-block: var(--s-5); border-bottom: 1px solid var(--line); }
.steps .num { font-family: var(--ff-mono); font-size: var(--fs-label); letter-spacing: .12em;
  color: var(--accent-text); padding-top: .35em; }
.steps h3 { margin-bottom: var(--s-2); }
.steps p { color: var(--muted); }

/* 5.16 Akkordeon ----------------------------------------------------------- */
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__btn {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4);
  width: 100%; min-height: 56px; padding-block: var(--s-4); text-align: left;
  font-size: 1.02rem; font-weight: 500; color: var(--ink); transition: color var(--t);
}
.accordion__btn:hover { color: var(--accent-text); }
.accordion__btn .sign { flex: 0 0 auto; font-family: var(--ff-mono); color: var(--accent-text);
  transition: transform var(--t); }
.accordion__btn[aria-expanded="true"] .sign { transform: rotate(45deg); }
.accordion__panel { padding-bottom: var(--s-5); max-width: 62ch; color: var(--muted); }
.accordion__panel[hidden] { display: none; }

/* 5.17 Filter-Chips -------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-6); }
.chip { min-height: 44px; padding: 8px 16px; border: 1px solid var(--line);
  border-radius: var(--radius); font-size: var(--fs-small); color: var(--muted);
  transition: border-color var(--t), color var(--t), background-color var(--t); }
.chip:hover { border-color: var(--accent); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
[hidden] { display: none !important; }

/* 5.18 Formular ------------------------------------------------------------ */
.form { display: grid; gap: var(--s-5); }
.field { display: grid; gap: var(--s-2); }
.field > label { font-size: var(--fs-small); font-weight: 500; }
.field .req { color: var(--accent-text); }
.field .hint { font-size: var(--fs-small); color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color var(--t);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--accent-deep); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible {
  border-color: var(--accent-deep); }
.field .error { font-size: var(--fs-small); color: var(--err); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: var(--fs-small); color: var(--muted); }
.error--box { border: 1px solid var(--err); border-left-width: 3px; border-radius: var(--radius);
  padding: var(--s-4) var(--s-5); color: var(--err); font-size: var(--fs-small);
  margin-bottom: var(--s-5); }
.formsuccess { border: 1px solid var(--ok); border-left-width: 3px; border-radius: var(--radius);
  padding: var(--s-5); }
.formsuccess h2 { font-size: var(--fs-h3); font-family: var(--ff-text); font-weight: 600; }
.formsuccess p { margin-top: var(--s-3); color: var(--muted); }
.formsuccess .ok-mark { color: var(--ok); font-family: var(--ff-mono); font-size: var(--fs-label);
  letter-spacing: .14em; text-transform: uppercase; display: block; margin-bottom: var(--s-3); }

/* 5.19 CTA-Band ------------------------------------------------------------ */
.cta-band { background: var(--ink); color: var(--bg); padding-block: clamp(48px,7vw,88px); }
.cta-band h2 { max-width: 22ch; }
.cta-band p { margin-top: var(--s-4); max-width: 52ch; color: #B9C2D2; }
.cta-band__inner { display: grid; gap: var(--s-5); }
@media (min-width: 900px) {
  .cta-band__inner { grid-template-columns: minmax(0,1.35fr) auto; align-items: end;
    column-gap: var(--s-8); }
  .cta-band__inner .btn-row { margin-top: 0; justify-content: flex-end; }
}

/* 5.20 Faktenblock / Meta -------------------------------------------------- */
.facts { border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 1fr; gap: 2px;
  padding-block: var(--s-4); border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--ff-mono); font-size: var(--fs-label); letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; }
@media (min-width: 560px) { .facts div { grid-template-columns: 14em 1fr; gap: var(--s-4); } }
.facts--stack div { grid-template-columns: 1fr !important; gap: 2px !important; }
.meta { font-family: var(--ff-mono); font-size: var(--fs-label); letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); }
.note {
  border-left: 2px solid var(--accent); padding: var(--s-4) 0 var(--s-4) var(--s-5);
  color: var(--muted); font-size: var(--fs-small); background: transparent;
}
.note strong { color: var(--ink); }
.section--ink .note { border-left-color: var(--accent); color: #B9C2D2; }
.section--ink .note strong { color: var(--bg); }

/* 5.21 Bilder / Figuren ---------------------------------------------------- */
.figure { margin: 0; }
.figure--md { max-width: 760px; }
.figure img { width: 100%; }
.figure figcaption { margin-top: var(--s-4); padding-top: var(--s-3);
  border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--muted); }
.portrait { border: 1px solid var(--line); border-radius: var(--radius); }

/* 5.22 Artikelkarten ------------------------------------------------------- */
.article-card { display: flex; flex-direction: column; gap: var(--s-3);
  border-top: 1px solid var(--line); padding-top: var(--s-5); transition: border-color var(--t); }
.article-card:hover { border-top-color: var(--accent); }
.card h2, .article-card h2 { font-family: var(--ff-text); font-size: var(--fs-h3);
  font-weight: 600; line-height: 1.3; letter-spacing: -.005em; }
.article-card h2 a, .article-card h3 a { text-decoration: none; }
.article-card p { color: var(--muted); }
.prose h2 { margin-top: var(--s-8); }
.prose h3 { margin-top: var(--s-6); }
.prose p, .prose ul { margin-top: var(--s-4); }
.prose ul { display: grid; gap: var(--s-2); padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px;
  height: 5px; background: var(--accent); border-radius: 50%; }

/* 5.23 Mobile Leiste ------------------------------------------------------- */
.bottombar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(252,248,240,.96); border-top: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(8px);
  transform: translateY(110%); transition: transform var(--t);
}
.bottombar.is-visible { transform: none; }
.bottombar .btn { width: 100%; }
@media (min-width: 720px) { .bottombar { display: none; } }

/* 5.24 Consent ------------------------------------------------------------- */
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: var(--bg); border-top: 1px solid var(--line); box-shadow: var(--shadow);
  padding: var(--s-5) 0 calc(var(--s-5) + env(safe-area-inset-bottom));
}
.consent[hidden] { display: none !important; }
.consent__inner { display: grid; gap: var(--s-4); }
.consent p { font-size: var(--fs-small); color: var(--muted); max-width: 68ch; }
.consent .btn-row { margin-top: 0; }
@media (min-width: 900px) {
  .consent__inner { grid-template-columns: 1fr auto; align-items: center; gap: var(--s-6); }
}

/* 5.25 Footer -------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--bg); padding-block: var(--s-8) var(--s-6);
  margin-bottom: 0; }
.site-footer a { text-decoration: none; color: #C7CEDB; }
.site-footer .footer-cta { color: var(--bg); border-bottom: 1px solid var(--accent);
  padding-bottom: 2px; }
.site-footer a:hover { color: var(--bg); }
.site-footer__grid { display: grid; gap: var(--s-7); }
.site-footer h2 { font-family: var(--ff-mono); font-size: var(--fs-label); font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s-4); }
.site-footer ul { display: grid; gap: var(--s-3); list-style: none; margin: 0; padding: 0;
  font-size: .95rem; }
.site-footer .brandcol svg, .site-footer .brandcol img { height: 76px; width: auto; display: block; }
.site-footer .brandcol p { margin-top: var(--s-4); color: #B9C2D2; font-size: var(--fs-small);
  max-width: 34ch; }
.site-footer address { font-style: normal; color: #C7CEDB; font-size: .95rem;
  display: grid; gap: var(--s-2); }
.site-footer__legal { margin-top: var(--s-7); padding-top: var(--s-5);
  border-top: 1px solid var(--line-ink); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5);
  font-size: var(--fs-small); color: #9AA6BA; }
.site-footer__legal li { list-style: none; }
.site-footer__legal ul { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }
@media (max-width: 719px) { body.has-bottombar .site-footer { padding-bottom: 96px; } }

/* 5.26 404 ----------------------------------------------------------------- */
.notfound { background: var(--ink); color: var(--bg); min-height: clamp(400px, 62vh, 720px);
  display: flex; align-items: center; padding-block: var(--s-9); }
.notfound .code { font-family: var(--ff-mono); font-size: var(--fs-label); letter-spacing: .2em;
  color: var(--accent); }
.notfound + .site-footer { border-top: 1px solid var(--line-ink); }

/* ===== 6 · UTILITIES ===================================================== */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.muted { color: var(--muted); }
.mono { font-family: var(--ff-mono); }
.small { font-size: var(--fs-small); }
.nowrap { white-space: nowrap; }

/* Reveal — nur mit JS aktiv, ohne JS und bei reduzierter Bewegung sofort sichtbar */
.js .reveal { opacity: 0; transform: translateY(12px);
  transition: opacity 500ms ease, transform 500ms cubic-bezier(.2,.6,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
