/* ═══════════════════════════════════════════════════════════
   Finanzierungsraum · Dokumentenmanagement für Finanzierungsberater
   Redesign: editorial, Newsreader (Serif) + Public Sans + Roboto Mono,
   nummerierte Kapitel, Schwarz/Weiß/Grau mit Akzentfarbe.
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #eceef0;
  --ink: #111316;
  --line: #d3d7db;
  --line-soft: #e2e5e8;
  /* Von #63676d abgedunkelt: das ergab auf dem hellen Grund nur 4,9:1,
     und die Mono-Labels stehen klein, in Versalien, mit weitem Abstand.
     Jetzt 6,0:1 — deutlich ruhiger zu lesen, optisch kaum verändert. */
  --muted: #565a60;
  --muted-2: #40444a;
  --num-gray: #a9afb6;
  --white: #ffffff;
  --accent: #efe94a;
  --cell-off: #dfe3e6;
  --font-serif: 'Newsreader', Georgia, serif;
  --font-sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Roboto Mono', 'SF Mono', monospace;
  --maxw: 1240px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--ink); }
a:hover { color: var(--muted); }
::selection { background: var(--accent); color: var(--ink); }

@keyframes scanPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ═══════════ Kopfzeile ═══════════ */
.topbar {
  position: sticky; top: 0; z-index: 50; background: var(--bg);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 clamp(20px, 4vw, 56px); height: 60px;
}
.brand {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 500; flex: 0 0 auto;
}
.brand-sub {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
  flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ═══════════ Auftakt / Hero ═══════════ */
.hero { padding: clamp(56px, 9vw, 120px) clamp(20px, 4vw, 56px) clamp(40px, 5vw, 72px); }
.hero-inner { max-width: var(--maxw); margin: 0 auto; }
.hero-kicker {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 clamp(28px, 4vw, 48px);
}
.hero-title {
  font-family: var(--font-serif); font-weight: 400; font-size: clamp(40px, 6.4vw, 94px);
  line-height: 1.02; letter-spacing: -0.025em; margin: 0; max-width: 19ch; text-wrap: balance;
}
.hero-salutation { display: block; }
.hero-title mark {
  background: linear-gradient(to bottom, transparent 10%, var(--accent) 10%, var(--accent) 93%, transparent 93%);
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
  padding: 0 0.06em; color: inherit;
}
.hero-bottom {
  display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 80px);
  margin-top: clamp(36px, 5vw, 64px); align-items: flex-end;
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--muted-2);
  margin: 0; max-width: 52ch; flex: 1 1 340px;
}
.hero-facts { display: flex; flex-direction: column; flex: 1 1 280px; }
.hero-fact {
  display: flex; justify-content: space-between; gap: 16px; padding: 12px 0;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
}
.hero-facts .hero-fact:last-child { border-bottom: 1px solid var(--line); }

/* ═══════════ Kapitel-Layout (01-04) ═══════════ */
.chapter {
  padding: clamp(40px, 6vw, 88px) clamp(20px, 4vw, 56px) 0;
  border-top: 1px solid var(--line);   /* trennt die Kapitel sichtbar voneinander */
}
/* Am dunklen Kapitel trennt der Farbwechsel, dort stört eine Linie. */
.chapter.is-dark, .chapter.is-dark + .chapter { border-top: 0; }
.chapter-kicker {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 14px;
}
.chapter:last-of-type { border-bottom: 1px solid var(--line); padding-bottom: clamp(48px, 7vw, 104px); }
.chapter-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 64px); align-items: flex-start;
}
.chapter-num-col {
  flex: 0 1 200px; border-right: 1px solid var(--line); padding-right: clamp(12px, 2vw, 32px);
}
.chapter-num {
  font-family: var(--font-serif); font-weight: 300; font-size: clamp(56px, 7vw, 116px);
  line-height: 0.78; color: var(--num-gray); letter-spacing: -0.03em;
}
.chapter-label {
  font-family: var(--font-mono); font-size: clamp(14px, 1.2vw, 17px); letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 500; margin: 18px 0 0; line-height: 1.45;
}
.chapter-audience {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin: 8px 0 0;
}
.chapter-content { flex: 1 1 460px; min-width: 0; }
.chapter-heading {
  font-family: var(--font-serif); font-weight: 400; font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 20px; max-width: 20ch;
}
.chapter-lede {
  font-size: clamp(15px, 1.2vw, 18px); line-height: 1.6; color: var(--muted-2);
  margin: 0 0 clamp(28px, 4vw, 48px); max-width: 56ch;
}

/* ═══════════ Verbindungspfeil zwischen Blöcken ═══════════ */
.chapter-arrow { display: flex; flex-direction: column; align-items: center; padding: 26px 0 0; }
.chapter-arrow.tight { padding-top: 16px; }
.chapter-arrow-line { width: 1px; height: 44px; background: #b9bfc5; }
.chapter-arrow-tip {
  font-family: var(--font-mono); font-size: 15px; line-height: 1; color: var(--muted); margin-top: -3px;
}

/* ═══════════ Kapitel "Heute" · der Ist-Zustand ═══════════
   Zeigt das Chaos, das der Leser aus dem eigenen Postfach kennt,
   bevor die Seite die Lösung erklärt. Bewusst nüchtern gehalten:
   die Dateinamen tun die Arbeit, nicht die Gestaltung.          */
.chapter-num.is-word {
  font-size: clamp(38px, 4.4vw, 72px); line-height: 0.9; letter-spacing: -0.02em;
}
.today-card { background: var(--white); border: 1px solid var(--line); }
.today-list { padding: clamp(8px, 1.5vw, 14px) 0; }
.today-row {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px;
  padding: 13px clamp(20px, 3vw, 40px); border-bottom: 1px solid var(--line-soft);
}
.today-row:last-child { border-bottom: 0; }
.today-chan {
  flex: 0 0 76px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}
.today-subject { flex: 1 1 240px; min-width: 0; font-size: 15.5px; letter-spacing: -0.01em; }
.today-att {
  flex: 0 0 auto; font-family: var(--font-mono); font-size: 12px; color: var(--muted-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%;
}
/* "ohne Anhang" und "keine Antwort" tragen die Pointe des Kapitels und
   müssen lesbar sein. Kursiv setzt sie ab, nicht Aufhellung. */
.today-att.is-none { color: #6e747b; font-style: italic; }
.today-row.is-open { background: color-mix(in srgb, var(--accent) 16%, transparent); }
.today-facts {
  display: flex; flex-wrap: wrap; gap: 4px 0; border-top: 1px solid var(--ink);
}
.today-fact {
  flex: 1 1 180px; display: flex; align-items: baseline; gap: 12px;
  padding: 18px clamp(20px, 3vw, 40px); border-right: 1px solid var(--line-soft);
}
.today-fact:last-child { border-right: 0; }
.today-fact-num {
  font-family: var(--font-serif); font-size: 34px; line-height: 1; font-weight: 300;
}
.today-fact-txt { font-size: 13.5px; line-height: 1.4; color: var(--muted-2); }

/* ═══════════ Perspektiv-Marke über den Karten ═══════════ */
.perspective {
  display: inline-block; margin: 0 0 12px; padding: 5px 10px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink); background: var(--line-soft);
}
.perspective.is-you { background: var(--accent); }

/* ═══════════ Karte (Selbstauskunft / Upload) ═══════════ */
.doc-card { background: var(--white); border: 1px solid var(--line); }
.doc-card-meta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 4px 16px; padding: 11px 18px; border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}
.doc-card-body { padding: clamp(24px, 3vw, 40px) clamp(20px, 3vw, 40px); }
.doc-card-title {
  font-family: var(--font-serif); font-weight: 400; font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 6px;
}
.doc-card-sub { font-size: 15px; color: var(--muted-2); margin: 0 0 clamp(24px, 3vw, 32px); max-width: 48ch; }

/* ── Selbstauskunft ── */
.sa-label {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 12px;
}
.sa-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(22px, 3vw, 30px); }
.sa-pill { font-size: 13.5px; padding: 8px 14px; border: 1px solid #c4c9ce; color: var(--muted-2); }
.sa-pill.is-active { border-color: var(--ink); background: var(--ink); color: var(--white); }
.sa-fields { border-top: 1px solid var(--ink); }
.sa-field {
  display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 14px 0; border-bottom: 1px solid var(--line-soft);
}
.sa-field-label {
  flex: 0 0 180px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); padding-top: 4px;
}
.sa-field-value { flex: 1 1 200px; font-size: 16px; font-variant-numeric: tabular-nums; min-height: 1.4em; }
/* Ausfüll-Animation: aktive Zeile bekommt Fokus, Wert wird getippt */
.sa-field.is-filling { background: color-mix(in srgb, var(--accent) 22%, transparent); }
.sa-field.is-filling .sa-field-value::after {
  content: ''; display: inline-block; width: 1px; height: 1.05em; margin-left: 2px;
  background: var(--ink); vertical-align: -0.15em; animation: caret 0.9s step-end infinite;
}
@keyframes caret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.sa-pill { transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease; }
.sa-submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: clamp(22px, 3vw, 30px); }
.sa-submit-btn {
  display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 500; background: var(--ink); color: var(--bg);
  padding: 15px 26px; border: none; cursor: pointer;
}
.sa-submit-hint { font-size: 14px; color: var(--muted-2); }

.between-note { text-align: center; padding: 0 8px; }
.between-note-kicker {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 12px;
}
.between-note-title {
  font-family: var(--font-serif); font-weight: 400; font-size: clamp(21px, 2.4vw, 32px);
  line-height: 1.25; letter-spacing: -0.02em; margin: 0 auto; max-width: 22ch;
}
.between-note-sub { font-size: 15px; line-height: 1.55; color: var(--muted-2); margin: 14px auto 0; max-width: 46ch; }

/* Der Wendepunkt vom Ist-Zustand zur Lösung: das ist der wichtigste Satz
   der Seite und muss größer stehen als jede Kapitel-Überschrift. */
.between-note.is-turn { padding: clamp(14px, 2.5vw, 36px) 8px; }
.between-note.is-turn .between-note-kicker { font-size: 11px; margin-bottom: 20px; }
.between-note.is-turn .between-note-title {
  font-size: clamp(32px, 4.8vw, 68px); line-height: 1.06; max-width: 16ch;
}
.between-note.is-turn .between-note-sub {
  font-size: clamp(16px, 1.3vw, 18px); margin-top: 24px; max-width: 52ch; color: var(--muted-2);
}

/* ── Upload-Karte ── */
.up-status-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding-bottom: 10px; border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
}
.up-status-pct {
  font-family: var(--font-serif); font-size: 26px; line-height: 1; font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.cell-track { display: flex; gap: 3px; margin-top: 14px; }
.cell-track .cell { height: 8px; flex: 1; background: var(--cell-off); transition: background 0.45s ease; }
.cell-track .cell.filled { background: var(--ink); }

/* Flex, damit der Text bei Umbruch nicht unter die Marke rutscht. */
.try-note {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px;
  font-size: 14.5px; line-height: 1.55; color: var(--muted-2);
  margin: 0 0 14px; max-width: 64ch;
}
.try-note-mark {
  flex: 0 0 auto;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink);
  background: var(--accent); padding: 3px 7px;
  white-space: nowrap;
}

.upload-echo {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 14px; padding: 12px 16px; text-decoration: none;
  border: 1px solid var(--ink); color: var(--ink); background: var(--white);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s ease;
}
.upload-echo:hover { background: var(--accent); }
.upload-echo[hidden] { display: none; }
.upload-echo-arrow { font-size: 14px; line-height: 1; }

.dropzone {
  border: 1px dashed #b9bfc5; background: #f6f7f8;
  padding: clamp(28px, 4vw, 44px) 24px; text-align: center; cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.dropzone.is-scanning { border-color: var(--ink); background: color-mix(in srgb, var(--accent) 18%, transparent); cursor: default; }
.dropzone-icon {
  font-family: var(--font-mono); font-size: 22px; line-height: 1; margin-bottom: 16px;
}
.dropzone.is-scanning .dropzone-icon { animation: scanPulse 1s ease-in-out infinite; }
.dropzone-text { font-size: 16px; font-weight: 500; margin: 0 0 6px; letter-spacing: -0.01em; }
.dropzone-hint {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin: 0;
}
.dropzone-input { display: none; }

.doclist-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); padding-bottom: 10px; border-bottom: 1px solid var(--ink);
}
.doc-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 14px 0;
  border-bottom: 1px solid var(--line-soft); transition: background 0.5s ease;
}
.doc-mark {
  width: 9px; height: 9px; flex: 0 0 9px; border: 1px solid #9aa0a8; background: transparent;
  transition: all 0.3s ease;
}
.doc-row.done .doc-mark { border-color: var(--ink); background: var(--ink); }
.doc-name { font-size: 15.5px; flex: 1 1 160px; min-width: 0; }
.doc-state {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  white-space: nowrap; flex: 0 0 auto; margin-left: auto; color: var(--ink);
}
.doc-row:not(.done) .doc-state { background: var(--accent); padding: 3px 7px; }
.doc-row.just-completed { background: color-mix(in srgb, var(--accent) 18%, transparent); }

/* ── Dashboard ── */
.dash-card { background: var(--white); border: 1px solid var(--ink); }
.dash-head {
  display: flex; flex-wrap: wrap; gap: 12px 20px; padding: 12px 20px; border-bottom: 1px solid var(--ink);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.dash-head span:nth-child(1) { flex: 1 1 140px; min-width: 0; }
.dash-head span:nth-child(2) { flex: 0 0 150px; }
.dash-head span:nth-child(3) { flex: 0 0 110px; }
.dash-row {
  display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; padding: 18px 20px;
  border-bottom: 1px solid var(--line-soft); transition: background 0.5s ease;
}
.dash-who { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1 1 140px; }
.dash-idx { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; color: var(--muted); width: 22px; flex-shrink: 0; }
.dash-name { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-progress { flex: 0 0 150px; }
.dash-cells { display: flex; gap: 2px; margin-bottom: 8px; }
.dash-cells .cell { height: 7px; flex: 0 0 13px; background: var(--cell-off); }
.dash-cells .cell.filled { background: var(--ink); }
.dash-label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; color: var(--muted); font-variant-numeric: tabular-nums; }
.dash-status { flex: 0 0 110px; }
.dash-badge {
  display: inline-block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em;
  text-transform: uppercase; white-space: nowrap; color: var(--ink);
}
.dash-badge.offen { background: var(--accent); padding: 3px 7px; }
.dash-row.just-updated { background: color-mix(in srgb, var(--accent) 18%, transparent); }

/* ═══════════ Dunkles Kapitel (Perspektivwechsel zur Beratersicht) ═══════════
   Nur Kapitel 03 trägt .is-dark. Die Kundensicht bleibt hell, die eigene
   Sicht des Beraters hebt sich als Fläche ab.                              */
.chapter.is-dark {
  background: var(--ink); color: var(--white);
  padding-top: clamp(48px, 7vw, 104px); padding-bottom: clamp(48px, 7vw, 104px);
  margin-top: clamp(40px, 6vw, 88px);
}
.chapter.is-dark .chapter-num-col { border-right-color: #363b41; }
.chapter.is-dark .chapter-num { color: #4a5058; }
.chapter.is-dark .chapter-audience { color: #8a9199; }
.chapter.is-dark .chapter-lede { color: #b7bcc2; }
.chapter.is-dark .dash-card { background: #1a1e23; border-color: #363b41; }
.chapter.is-dark .dash-head { border-bottom-color: #4a5058; color: #8a9199; }
.chapter.is-dark .dash-row { border-bottom-color: #2a2f35; }
.chapter.is-dark .dash-idx,
.chapter.is-dark .dash-label { color: #8a9199; }
.chapter.is-dark .dash-cells .cell { background: #363b41; }
.chapter.is-dark .dash-cells .cell.filled { background: var(--white); }
.chapter.is-dark .dash-badge { color: #8a9199; }
.chapter.is-dark .dash-badge.offen { color: var(--ink); }
.chapter.is-dark .dash-row.just-updated { background: color-mix(in srgb, var(--accent) 14%, transparent); }

/* ═══════════ Was sich ändert (KI-Pipeline + Vergleich) ═══════════ */
.pipeline-kicker {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 14px;
}
.pipeline-text {
  font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; margin: 0 0 clamp(24px, 3vw, 34px); max-width: 58ch;
}
.pipeline-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.pipeline-step {
  border: 1px solid #c4c9ce; padding: 11px 16px; font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap;
}
.pipeline-step.is-last { border-color: var(--ink); }
.pipeline-arrow-wrap { display: inline-flex; align-items: center; gap: 12px; }
.pipeline-arrow { font-family: var(--font-mono); font-size: 14px; line-height: 1; color: var(--muted); }
.pipeline-loop {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin: 16px 0 0;
}

.vergleich-head {
  display: flex; flex-wrap: wrap; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink);
}
.vergleich-head span:first-child { flex: 1 1 240px; padding: 0 clamp(16px, 2vw, 28px) 12px 0; }
.vergleich-head span:last-child { flex: 1 1 240px; padding: 12px clamp(16px, 2vw, 28px); background: var(--white); }
.vergleich-row { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.vergleich-cell {
  margin: 0; flex: 1 1 240px; display: flex; gap: 14px; align-items: flex-start;
  padding: 22px clamp(16px, 2vw, 28px) 22px 0; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.5; color: var(--muted-2);
}
.vergleich-cell.is-neu {
  background: var(--white); color: var(--ink); padding: 22px clamp(16px, 2vw, 28px);
}
.vergleich-dot { width: 8px; height: 8px; flex: 0 0 8px; border: 1px solid #b9bfc5; margin-top: 9px; }
.vergleich-cell.is-neu .vergleich-dot { background: var(--ink); border: none; }

/* ═══════════ Abschluss ═══════════
   Bewusst ohne Button und ohne Kontaktdaten: die Seite läuft aus einer
   Cold Mail, der Rückweg ist die Antwort auf ebendiese Mail. Ruhig
   gesetzt wie der Rest, aber groß genug, um nicht überlesen zu werden. */
.closing {
  padding: clamp(56px, 8vw, 120px) clamp(20px, 4vw, 56px);
  text-align: center;
}
.closing-inner { max-width: 720px; margin: 0 auto; }
.closing-kicker {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 20px;
}
.closing-title {
  font-family: var(--font-serif); font-weight: 400; font-size: clamp(30px, 4.4vw, 60px);
  line-height: 1.08; letter-spacing: -0.022em; margin: 0 auto; max-width: 17ch;
}
.closing-title mark {
  background: linear-gradient(to bottom, transparent 10%, var(--accent) 10%, var(--accent) 93%, transparent 93%);
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
  padding: 0 0.06em; color: inherit;
}
.closing-sub {
  font-size: clamp(15px, 1.25vw, 18px); line-height: 1.6; color: var(--muted-2);
  margin: 24px auto 0; max-width: 52ch;
}

/* ═══════════ Fuß ═══════════ */
.foot {
  background: var(--ink); color: var(--bg); padding: clamp(28px, 3vw, 40px) clamp(20px, 4vw, 56px);
}
.foot-inner {
  max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 16px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em;
  /* #6d737b ergab auf dem dunklen Grund nur 3,9:1 bei 11,5px. */
  text-transform: uppercase; color: #8a9199;
}

/* ═══════════ Reveal-Basis ═══════════ */
.reveal { opacity: 0; transform: translateY(24px); }

/* ═══════════ Responsive ═══════════ */
@media (max-width: 720px) {
  .chapter-num-col { flex-basis: 100%; border-right: none; border-bottom: 1px solid var(--line); padding: 0 0 20px; }
  .chapter-num { font-size: 44px; }
  .dash-head span:nth-child(2), .dash-head span:nth-child(3) { display: none; }
  .dash-progress, .dash-status { flex-basis: 100%; }
}

/* ═══════════ Reduzierte Bewegung ═══════════ */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
