/* Selbst gehostete Variable Fonts. Kein Request an Google, DSGVO-konform. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/archivo-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/archivo-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/inter-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/inter-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ===========================================================================
   GRID by HSP: Stylesheet
   Aufbau: 1 Tokens  2 Reset  3 Layout  4 Typografie  5 Komponenten
           6 Sektionen  7 Artikel  8 Formular  9 Footer  10 Responsive
   =========================================================================== */

/* 1 Tokens ---------------------------------------------------------------- */
:root {
  --red: #a72920;
  --red-bright: #c8392e;
  --red-dark: #7d1c15;
  --red-tint: #fbf1f0;

  --ink: #141414;
  --ink-2: #1d1d1d;
  --ink-3: #2b2b2b;

  --paper: #ffffff;
  --paper-2: #f5f4f2;
  --paper-3: #ebe9e6;
  --line: #e0ddd9;
  --line-dark: #343434;

  --text: #191919;
  --text-muted: #5b5955;
  --text-invert: #f4f2f0;
  --text-invert-muted: #a5a19c;

  --font-head: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1180px;
  --gap: clamp(1.5rem, 4vw, 3rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
  --radius: 3px;
  --radius-lg: 6px;

  --shadow: 0 1px 2px rgba(20, 20, 20, .05), 0 8px 24px -12px rgba(20, 20, 20, .18);
  --shadow-lg: 0 2px 4px rgba(20, 20, 20, .06), 0 20px 48px -20px rgba(20, 20, 20, .28);
  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* 2 Reset ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'kern' 1, 'liga' 1, 'tnum' 0;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--red); color: #fff; padding: .75rem 1.25rem; font-weight: 600;
}
.skip:focus { left: 0; }

/* 3 Layout ---------------------------------------------------------------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, 46rem); }
.wrap-wide { width: min(100% - 2.5rem, 62rem); }

.section { padding-block: var(--section-y); }
.section-muted { background: var(--paper-2); }
.section-dark {
  background: var(--ink);
  color: var(--text-invert);
}
.section-dark .lead,
.section-dark p { color: var(--text-invert-muted); }
.section-dark h2, .section-dark h3, .section-dark strong { color: var(--text-invert); }

.grid-2 { display: grid; gap: var(--gap); grid-template-columns: 1fr 1fr; align-items: start; }
.grid-2-wide { grid-template-columns: 1.15fr .85fr; }
.grid-2-form { grid-template-columns: .85fr 1.15fr; }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-row {
  max-width: none; display: flex; gap: 1.5rem;
  align-items: flex-end; justify-content: space-between; flex-wrap: wrap;
}

/* 4 Typografie ------------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 4.6vw, 3.3rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); letter-spacing: -.01em; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}
.section-dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow { color: #e0685c; }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--text-muted); }
.note { font-size: .92rem; color: var(--text-muted); margin-top: 1.5rem; }

.link-arrow {
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid rgba(167, 41, 32, .35);
  padding-bottom: 1px;
  transition: border-color .2s var(--ease);
}
.link-arrow::after { content: ' \2192'; }
.link-arrow:hover { border-bottom-color: var(--red); }
.section-dark .link-arrow { color: #e8918a; border-bottom-color: rgba(232, 145, 138, .4); }

/* 5 Komponenten ----------------------------------------------------------- */
.btn {
  --btn-bg: var(--red);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-head); font-weight: 600; font-size: .97rem;
  letter-spacing: .01em;
  padding: .9rem 1.6rem;
  border: 1px solid transparent; border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { background: var(--red-bright); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .6rem 1.1rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  border-color: currentColor;
  opacity: .92;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .09); transform: translateY(-1px); }
.section:not(.section-dark) .btn-ghost:hover { background: rgba(20, 20, 20, .05); }

.badge {
  display: inline-block; font-family: var(--font-head); font-size: .7rem;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .2rem .5rem; border-radius: 2px;
}
.badge-draft { background: #fde9b8; color: #6b4b06; }

.tag {
  display: inline-block; font-size: .78rem; color: var(--text-muted);
  border: 1px solid var(--line); border-radius: 100px;
  padding: .15rem .7rem; margin-right: .35rem;
}

.cards { display: grid; gap: 1.25rem; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { border-color: #cfc9c3; transform: translateY(-2px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .97rem; color: var(--text-muted); margin: 0; }

.section-dark .card {
  background: var(--ink-2);
  border-color: var(--line-dark);
}
/* .card p setzt eine dunkle Textfarbe und steht später im Stylesheet als die
   Regel der Sektion. Auf dunklem Grund muss sie deshalb hier zurückgeholt
   werden, sonst steht dunkler Text auf dunklem Grund. */
.section-dark .card p { color: var(--text-invert-muted); }
.section-dark .card:hover { border-color: #4a4a4a; }

.card .icon { width: 30px; height: 30px; color: var(--red); margin-bottom: 1.1rem; }

.cards.numbered { list-style: none; margin: 0; padding: 0; counter-reset: c; }
.cards.numbered .card { counter-increment: c; position: relative; padding-top: 3.6rem; }
.cards.numbered .card::before {
  content: counter(c, decimal-leading-zero);
  position: absolute; top: 1.5rem; left: 1.6rem;
  font-family: var(--font-head); font-size: .82rem; font-weight: 700;
  letter-spacing: .12em; color: var(--red-bright);
}

.card-article h3 { font-size: 1.15rem; line-height: 1.25; }
.card-article h3 a { text-decoration: none; }
.card-article h3 a:hover { color: var(--red-bright); }
.card-meta {
  font-family: var(--font-head); font-size: .76rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: .75rem !important;
}

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.ticks li { position: relative; padding-left: 1.85rem; font-size: .98rem; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .45em;
  width: 1rem; height: .5rem;
  border-left: 2px solid var(--red); border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}
/* Themen, die erst geplant sind: kein Haken, der Fertigstellung suggeriert. */
.ticks.upcoming li::before {
  border: 0; transform: none; top: .62em;
  width: .55rem; height: .55rem; background: var(--red); opacity: .55;
}
.ticks.upcoming li { color: var(--text-muted); }

.ticks-neutral li::before {
  border: 0; border-top: 2px solid #b4aea7;
  width: .85rem; height: 0; transform: none; top: .72em;
}

.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.feature-list li {
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  font-size: .99rem;
  color: var(--text-muted);
}
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list strong { color: var(--text); display: block; font-weight: 600; }
.section-dark .feature-list li { border-color: var(--line-dark); color: var(--text-invert-muted); }
.section-dark .feature-list strong { color: var(--text-invert); }
.section-dark .feature-list li:last-child { border-bottom-color: var(--line-dark); }

.panel {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.25rem);
}
.panel h3 { font-size: 1.3rem; }
.panel-accent { border-left: 3px solid var(--red); background: var(--red-tint); }
.panel-foot { margin-top: 1.5rem; font-size: .93rem; color: var(--text-muted); }

.table-scroll { overflow-x: auto; margin-top: 1.75rem; }
table.spec { width: 100%; border-collapse: collapse; font-size: .97rem; }
table.spec th, table.spec td { text-align: left; padding: .85rem 1rem .85rem 0; border-top: 1px solid var(--line); vertical-align: top; }
table.spec tr:last-child td, table.spec tr:last-child th { border-bottom: 1px solid var(--line); }
table.spec th {
  font-family: var(--font-head); font-weight: 600; width: 38%;
  padding-right: 1.5rem; color: var(--text);
}
table.spec td { color: var(--text-muted); }

/* 6 Sektionen ------------------------------------------------------------- */

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(20, 20, 20, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: var(--text-invert);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 4.5rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { width: 160px; height: auto; }

.nav-list {
  list-style: none; display: flex; align-items: center; gap: .35rem;
  margin: 0; padding: 0;
}
.nav-list a {
  display: inline-block; padding: .55rem .8rem;
  font-size: .93rem; font-weight: 500; text-decoration: none;
  color: var(--text-invert-muted); border-radius: var(--radius);
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav-list a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-cta { margin-left: .6rem; }
.nav-cta a { color: #fff; }
.nav-cta a:hover { background: var(--red-bright); }

.nav-toggle { display: none; }

.preview-bar {
  background: #fde9b8; color: #5a3f05; text-align: center;
  padding: .55rem 1rem; font-size: .85rem;
}
.preview-bar code { background: rgba(0, 0, 0, .08); padding: .1rem .35rem; border-radius: 2px; }

/* Hero */
.hero {
  position: relative; isolation: isolate;
  background: var(--ink); color: var(--text-invert);
  padding-block: clamp(4rem, 11vw, 8.5rem);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  /* Abdunkeln nur so weit, wie der Text es braucht: links deckend, rechts
     bleibt das Foto sichtbar. */
  background:
    linear-gradient(100deg, rgba(10, 10, 10, .93) 0%, rgba(12, 12, 12, .84) 38%, rgba(18, 12, 11, .40) 64%, rgba(24, 13, 11, .10) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, .32), rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, .58));
}
.hero-inner { max-width: 47rem; }
.hero h1 { color: #fff; }
.hero-lead {
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  color: #d6d2ce;
  max-width: 40rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }
.hero-trust {
  list-style: none; margin: 3rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem;
  font-size: .88rem; color: #c2bdb8;
}
.hero-trust li { position: relative; padding-left: 1.15rem; }
.hero-trust li::before {
  content: ''; position: absolute; left: 0; top: .55em;
  width: .45rem; height: .45rem; background: var(--red-bright); border-radius: 50%;
}

/* Kennzahlen */
.stats { background: var(--ink-2); color: var(--text-invert); border-top: 1px solid var(--line-dark); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 2rem 1.5rem 2rem 0;
  border-left: 1px solid var(--line-dark);
  padding-left: 1.5rem;
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-value {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.02em; color: #fff;
}
.stat-label { display: block; font-size: .87rem; color: var(--text-invert-muted); margin-top: .35rem; }

/* Vergleich */
.compare { display: grid; gap: 1rem; }
.compare-col {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.6rem; background: var(--paper-2);
}
.compare-col h3 { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 1.1rem; }
.compare-col-accent {
  background: var(--paper); border-color: var(--red);
  box-shadow: var(--shadow);
}
.compare-col-accent h3 { color: var(--red); }

/* Prozess */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  counter-reset: step;
}
.steps li { border-top: 2px solid var(--red); padding-top: 1.15rem; }
.step-no {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: .85rem; letter-spacing: .12em; color: var(--red); margin-bottom: .5rem;
}
.steps h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.steps p { font-size: .95rem; color: var(--text-muted); margin: 0; }

/* Partner */
.partner-logos {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
}
.partner-logos li {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--paper-2);
  padding: 1.4rem 2rem; min-width: 15rem; text-align: center;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  color: var(--text-muted);
}

/* CTA-Band */
.cta-band {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cta-band h2 { margin-bottom: .35rem; }

/* Seiten-Hero */
.page-hero {
  background: var(--ink); color: var(--text-invert);
  padding-block: clamp(3rem, 7vw, 5rem) clamp(2.5rem, 5vw, 3.5rem);
}
.page-hero h1 { color: #fff; max-width: 22ch; }
.page-hero .hero-lead { max-width: 44rem; }
.page-hero-slim { padding-block: clamp(2.5rem, 6vw, 4rem); }

.breadcrumb { margin-bottom: 1.75rem; font-size: .85rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: '/'; margin-right: .5rem; opacity: .45; }
.breadcrumb a { color: inherit; opacity: .75; text-decoration: none; }
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.breadcrumb [aria-current] { opacity: .6; }
.page-artikel .breadcrumb, .page-static .breadcrumb { color: var(--text-muted); }
/* Auf Impressum und Datenschutz sitzen Brotkrumen und Datumszeile im dunklen
   Seitenkopf. Die Regeln darüber sind für helle Flächen gedacht und würden
   dort dunkelgrauen Text auf dunklem Grund ergeben. */
.page-hero .breadcrumb,
.page-hero .breadcrumb a,
.page-hero .article-meta { color: var(--text-invert-muted); }

/* Artikelliste */
.article-list { display: grid; gap: 0; }
.article-row {
  display: grid; grid-template-columns: 12rem 1fr; gap: 2rem;
  padding: 2rem 0; border-top: 1px solid var(--line);
}
.article-row:last-child { border-bottom: 1px solid var(--line); }
.article-row-meta {
  display: flex; flex-direction: column; gap: .4rem; align-items: flex-start;
  font-family: var(--font-head); font-size: .82rem; font-weight: 500;
  color: var(--text-muted); letter-spacing: .02em;
}
.article-row h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin-bottom: .5rem; }
.article-row h2 a { text-decoration: none; }
.article-row h2 a:hover { color: var(--red); }
.article-row p { color: var(--text-muted); font-size: 1rem; margin-bottom: .9rem; }
.article-row-tags { margin: 0 !important; }

.empty-state {
  border: 1px dashed var(--line); border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem); text-align: center; background: var(--paper-2);
}
.empty-state code { background: var(--paper-3); padding: .15rem .45rem; border-radius: 3px; font-size: .9em; }

/* 7 Artikel --------------------------------------------------------------- */
.article-head { padding-block: clamp(2.5rem, 5vw, 4rem) 0; }
.article-head h1 { font-size: clamp(1.95rem, 3.9vw, 2.9rem); max-width: 24ch; }
.article-meta {
  font-family: var(--font-head); font-size: .85rem; color: var(--text-muted);
  display: flex; flex-wrap: wrap; gap: .45rem; align-items: center;
}
.article-lead {
  font-size: clamp(1.08rem, 1.6vw, 1.22rem); line-height: 1.55;
  color: var(--text-muted); margin-top: 1.5rem;
  padding-left: 1.1rem; border-left: 3px solid var(--red);
}
.draft-note {
  background: #fdf3d6; border: 1px solid #edd79a; color: #5f4406;
  padding: .85rem 1.1rem; border-radius: var(--radius); font-size: .92rem;
}
.draft-note code { background: rgba(0, 0, 0, .07); padding: .1rem .3rem; border-radius: 2px; }

.article-figure { margin: clamp(2rem, 4vw, 3rem) 0 0; }
.article-figure img { width: 100%; border-radius: var(--radius-lg); }
.article-figure figcaption { font-size: .85rem; color: var(--text-muted); margin-top: .6rem; }

.article-layout {
  display: grid; grid-template-columns: 16rem minmax(0, 46rem);
  gap: clamp(2rem, 5vw, 4.5rem);
  justify-content: center;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
.article-layout .prose { grid-column: 2; }
.article-layout .toc { grid-column: 1; }

.toc {
  position: sticky; top: 6rem;
  font-size: .9rem;
  border-left: 2px solid var(--line);
  padding-left: 1.1rem;
}
.toc h2 {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: .9rem;
}
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.toc a { text-decoration: none; color: var(--text-muted); line-height: 1.35; display: block; }
.toc a:hover { color: var(--red); }
.toc .toc-l3 { padding-left: .9rem; font-size: .85rem; }
.toc-audience {
  margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
  font-size: .85rem; color: var(--text-muted);
}
.toc-audience strong { color: var(--text); }

/* Fließtext */
.prose { font-size: 1.09rem; line-height: 1.72; }
.prose > h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  margin-top: 2.5em; margin-bottom: .55em;
  scroll-margin-top: 6rem;
}
.prose > h2:first-child { margin-top: 0; }
.prose > h3 { font-size: 1.22rem; margin-top: 2em; margin-bottom: .5em; scroll-margin-top: 6rem; }
.prose p { margin-bottom: 1.35em; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--red-bright); }
/* Schaltflächen im Fließtext behalten ihre eigene Farbe. Ohne diese Regel
   gewinnt ".prose a" und es steht roter Text auf rotem Grund. */
.prose a.btn,
.prose a.btn:hover { color: var(--btn-fg); text-decoration: none; }
.prose ul, .prose ol { padding-left: 1.35rem; margin-bottom: 1.5em; }
.prose li { margin-bottom: .55em; }
.prose li::marker { color: var(--red); }
.prose strong { font-weight: 600; }
.prose blockquote {
  margin: 2em 0; padding: .25rem 0 .25rem 1.4rem;
  border-left: 3px solid var(--red); color: var(--text-muted); font-style: normal;
}
.prose .table-scroll { overflow-x: auto; margin: 2em 0; max-width: 100%; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 32rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .7rem .85rem; text-align: left; vertical-align: top; }
.prose th { background: var(--paper-2); font-family: var(--font-head); font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 3em 0; }
.prose code {
  background: var(--paper-2); padding: .12rem .35rem; border-radius: 3px;
  font-size: .9em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.faq { margin-top: 3rem; }
.faq dl { margin: 0; }
.faq-item { border-top: 1px solid var(--line); padding: 1.25rem 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq dt { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; margin-bottom: .4rem; }
.faq dd { margin: 0; color: var(--text-muted); }

.source-note { font-size: .88rem; color: var(--text-muted); margin-top: 2.5rem; }

.article-cta {
  margin-top: 3.5rem; padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--ink); color: var(--text-invert); border-radius: var(--radius-lg);
}
.article-cta h2 { color: #fff; font-size: 1.4rem; margin-bottom: .6rem; }
.article-cta p { color: var(--text-invert-muted); font-size: 1rem; margin-bottom: 1.6rem; }

.related h2 { margin-bottom: 1.75rem; }

/* 8 Formular -------------------------------------------------------------- */
.form {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin: 0 0 1rem; display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .88rem; font-weight: 600; color: var(--text); }
.field label span { color: var(--red); margin-left: .15rem; }
.field input, .field select, .field textarea {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .7rem .85rem;
  font-size: .97rem;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--red); outline: none; box-shadow: 0 0 0 3px rgba(167, 41, 32, .12);
}
.field textarea { resize: vertical; }
.field-check { flex-direction: row; align-items: flex-start; gap: .65rem; margin-top: 1.25rem; }
.field-check input { width: 1.1rem; height: 1.1rem; margin-top: .25rem; flex: none; }
.field-check label { font-size: .87rem; font-weight: 400; color: var(--text-muted); line-height: 1.5; }
.field-check a { color: var(--red); }
.field-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.spec-fields { border: 0; padding: 0; margin: .5rem 0 1rem; }
.spec-fields legend {
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted);
  padding: 0; margin-bottom: .9rem;
}
.form .btn { margin-top: .75rem; }
.form-hint { font-size: .82rem; color: var(--text-muted); margin-top: .9rem; text-align: center; }
.form-status { font-size: .9rem; margin-top: .75rem; text-align: center; }
.form-status.is-error { color: var(--red); }
.form-status.is-ok { color: #1c6b3f; }

.contact-data { margin: 2rem 0 0; display: grid; gap: 1.15rem; }
.contact-data > div { display: grid; gap: .15rem; }
.contact-data dt {
  font-family: var(--font-head); font-size: .76rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted);
}
.contact-data dd { margin: 0; }
.contact-data a { color: var(--red); text-underline-offset: 3px; }

/* 9 Footer ---------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--text-invert-muted); padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-logo { width: 170px; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 32ch; }
.footer-note { font-size: .84rem; color: #948e86; margin-top: 1rem; }
.footer-head {
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-list a { text-decoration: none; transition: color .18s var(--ease); }
.footer-list a:hover { color: #fff; }
.footer-contact li { line-height: 1.5; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-block: 1.5rem;
  border-top: 1px solid var(--line-dark);
  font-size: .85rem;
}
.footer-bottom p { margin: 0; }
.footer-legal { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: #fff; }

/* 10 Responsive ----------------------------------------------------------- */
@media (max-width: 860px) {
  .hero::after {
    background: linear-gradient(to bottom, rgba(8, 8, 8, .86), rgba(10, 10, 10, .8) 50%, rgba(12, 10, 9, .9));
  }
}

@media (max-width: 980px) {
  .grid-2, .grid-2-wide, .grid-2-form { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-dark); padding-block: 1.4rem; }
  .stat:first-child { border-top: 1px solid var(--line-dark); }
  .article-layout { grid-template-columns: minmax(0, 46rem); }
  .article-layout .prose, .article-layout .toc { grid-column: 1; }
  .toc { position: static; margin-bottom: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .cards-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .article-row { grid-template-columns: 1fr; gap: .85rem; }
  .article-row-meta { flex-direction: row; align-items: center; gap: .75rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { flex: 1 1 auto; }

  /* Mobile Navigation */
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.75rem; height: 2.75rem;
    background: transparent; border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--radius); cursor: pointer;
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    display: block; width: 1.1rem; height: 2px; background: #fff;
    transition: transform .22s var(--ease), opacity .22s var(--ease);
  }
  .nav-toggle-bar::before, .nav-toggle-bar::after { content: ''; position: absolute; }
  .nav-toggle-bar::before { transform: translateY(-6px); }
  .nav-toggle-bar::after { transform: translateY(6px); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: rotate(-45deg); }

  .nav-list {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
    padding: .5rem 1.25rem 1.25rem;
    display: none;
  }
  .nav-list.is-open { display: flex; }
  .nav-list a { padding: .85rem .25rem; font-size: 1rem; }
  .nav-cta { margin: .75rem 0 0; }
  .nav-cta a { text-align: center; padding: .8rem; }
}

@media print {
  .site-header, .site-footer, .article-cta, .toc, .related, .preview-bar { display: none !important; }
  body { font-size: 11pt; }
  .prose a { text-decoration: none; }
  .prose a[href^="/"]::after { content: ' (' attr(href) ')'; font-size: .85em; color: #666; }
}
