/* ============================================================
   mpu-erfahrungen.de — "Das menschliche Magazin"
   Papierweiß · Ziegelrot · Lora (Serif) + Source Sans 3
   Print-Editorial: Hairlines statt Schatten, 4 px Radius.
   Eigenständiges Theme — kein geteiltes CSS, kein Footer-Block.
   ============================================================ */

@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/lora-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Lora";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/lora-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./fonts/lora-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./fonts/lora-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/source-sans-3-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./fonts/source-sans-3-latin-500.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./fonts/source-sans-3-latin-600.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/source-sans-3-latin-700.woff2") format("woff2");
}

:root {
  --paper: #f5efe4;
  --paper-warm: #efe7d9;
  --ink: #2e2230;
  --muted: #6e5a6b;
  --muted-soft: #76636f;
  --line: #e3d9c8;
  --line-soft: #efe8dc;
  --brick: #5d3a4a;
  --brick-dark: #472b38;
  --brick-soft: #ede2e4;
  --gold: #8a6d2b;
  --gold-soft: #f4eedd;
  --radius: 4px;
  --measure: 65ch;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--brick-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brick);
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Lora", Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.005em;
  color: var(--ink);
}

h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.14;
}

h3 {
  font-size: 23px;
  line-height: 1.22;
}

h4 {
  font-size: 18px;
  font-weight: 600;
}

p {
  margin: 0;
}

/* ---------- Header / Nav ---------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.masthead-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
  padding-block: 18px 14px;
  padding-inline: clamp(20px, 5vw, 32px);
}

.wordmark {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark span {
  color: var(--brick);
}

.nav-toggle-cb {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
}

/* Semantischer Menü-Button (nur Seiten mit button.nav-toggle): Button-Standardstil zurücksetzen, Fokus sichtbar. */
button.nav-toggle {
  padding: 0;
  font: inherit;
}

button.nav-toggle:focus-visible {
  outline: 2px solid var(--brick);
  outline-offset: 2px;
}

.nav-links {
  display: flex;
  align-items: baseline;
  gap: 22px;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: var(--brick-dark);
}

.nav-links a.is-active {
  color: var(--ink);
  border-bottom: 1.5px solid var(--brick);
}

.nav-link-quiet {
  color: var(--muted-soft) !important;
  font-style: italic;
  font-family: "Lora", Georgia, serif;
  font-size: 15px;
  font-weight: 400;
}

/* ---------- Buttons (flache Print-Buttons, keine Pills) ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid var(--brick);
  border-radius: var(--radius);
  background: var(--brick);
  color: #fff;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.12s ease, border-color 0.12s ease;
}

.button:hover {
  background: var(--brick-dark);
  border-color: var(--brick-dark);
  color: #fff;
}

.button:focus-visible {
  outline: 2px solid var(--brick);
  outline-offset: 2px;
}

.button.secondary {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.button.secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.button.ghost {
  border-color: transparent;
  background: transparent;
  color: var(--brick-dark);
  padding-inline: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Layout ---------- */

.shell {
  max-width: 1140px;
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 32px);
}

.shell.narrow {
  max-width: 880px;
}

.read {
  max-width: var(--measure);
}

/* ---------- Hero / Magazin-Aufmacher ---------- */

.hero {
  padding-block: 68px 52px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font-family: "Source Sans 3", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brick);
}

.hero-eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1.5px;
  background: var(--brick);
  vertical-align: middle;
  margin-right: 10px;
  margin-bottom: 3px;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero-sub {
  column-count: 2;
  column-gap: 36px;
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 640px;
}

.hero-sub p {
  margin: 0;
}

.hero-byline {
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted-soft);
  font-style: italic;
  font-family: "Lora", Georgia, serif;
}

.hero-byline strong {
  color: var(--ink);
  font-style: normal;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 600;
}

/* Ehrlichkeits-Label direkt unter H1 — KI-Zitat-Stelle */
.honesty-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 8px 14px;
  border: 1px solid var(--brick);
  border-radius: var(--radius);
  background: var(--brick-soft);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brick-dark);
  letter-spacing: 0.005em;
}

.honesty-tag::before {
  content: "※";
  font-weight: 700;
  color: var(--brick);
}

/* Aufmacher-Pull-Quote (statt Foto) */

.hero-pull {
  border-left: 2px solid var(--brick);
  padding-block: 8px;
  padding-inline-start: 26px;
  margin: 0;
}

.hero-pull blockquote {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.3;
  color: var(--ink);
}

.hero-pull cite {
  display: block;
  margin-top: 16px;
  font-family: "Source Sans 3", sans-serif;
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brick-dark);
}

/* ---------- Editorial-Vorspann (Sofortantwort) ---------- */

/* R1-QuickWin: Beta-Form-Grid auf minimalen Track begrenzen (Input-Intrinsic trieb Seite auseinander) */
.beta-form { grid-template-columns: minmax(0, 1fr); }
.beta-form > * { min-width: 0; max-width: 100%; }

/* R1-QuickWin: Cloudflare-Turnstile-Widget (fix 300px) mobil auf Container begrenzen */
.cf-turnstile, .cf-turnstile > div { max-width: 100%; overflow-x: hidden; }
.cf-turnstile iframe { max-width: 100%; }

.lede {
  padding-block: 44px 52px;
  border-bottom: 1px solid var(--line);
}

.lede-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 36px;
}

.lede-label {
  font-family: "Source Sans 3", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brick);
  padding-top: 8px;
}

.lede-body {
  max-width: 720px;
  font-family: "Lora", Georgia, serif;
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink);
}

.lede-body .dropcap {
  float: left;
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 68px;
  line-height: 0.9;
  padding: 6px 12px 0 0;
  color: var(--brick);
}

.lede-body strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Sektion-Rahmen ---------- */

.section {
  padding-block: 64px;
  border-bottom: 1px solid var(--line);
}

.section.tight {
  padding: 44px 0;
}

.section-title {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-deck {
  max-width: 640px;
  color: var(--muted);
  font-size: 18.5px;
  line-height: 1.55;
  margin-bottom: 36px;
}

/* ---------- Dossiers (asymmetrische Magazin-Teaser, fotolos) ---------- */

.dossiers {
  display: grid;
  gap: 0;
}

.dossier {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.dossier:first-child {
  border-top: 0;
  padding-top: 8px;
}

.dossier.flip {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

.dossier.flip .dossier-quote {
  order: 2;
}

.dossier.flip .dossier-body {
  order: 1;
}

.dossier-meta {
  font-family: "Source Sans 3", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 10px;
}

.dossier-meta .sep {
  color: var(--muted-soft);
  margin: 0 8px;
  font-weight: 400;
}

.dossier-title {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin-bottom: 18px;
}

.dossier-title a {
  color: inherit;
  text-decoration: none;
}

.dossier-title a:hover {
  color: var(--brick-dark);
}

.dossier-body p {
  font-size: 17.5px;
  line-height: 1.62;
  color: var(--ink);
  margin-bottom: 12px;
}

.dossier-body p:last-of-type {
  color: var(--muted);
}

.dossier-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--brick-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Pull-Quote im Dossier (fotolos-Lösung) */

.dossier-quote {
  border-left: 2px solid var(--brick);
  padding-block: 12px;
  padding-inline-start: 28px;
  background: linear-gradient(to right, var(--brick-soft) 0%, transparent 60%);
}

.dossier-quote blockquote {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 2.1vw, 24px);
  line-height: 1.34;
  color: var(--ink);
}

.dossier-quote cite {
  display: block;
  margin-top: 14px;
  font-family: "Source Sans 3", sans-serif;
  font-style: normal;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brick-dark);
}

/* Ehrlichkeits-Label im Dossier */
.dossier-label {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 11px;
  border: 1px solid var(--brick);
  border-radius: 2px;
  background: var(--paper);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brick-dark);
}

/* ---------- Longform-Liste (Fehler) ---------- */

.longform {
  max-width: var(--measure);
}

.longform-intro {
  font-family: "Lora", Georgia, serif;
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 36px;
}

.longform-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: longform;
}

.longform-list li {
  position: relative;
  padding-block: 22px;
  padding-inline-start: 56px;
  border-top: 1px solid var(--line);
  counter-increment: longform;
}

.longform-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.longform-list li::before {
  content: counter(longform, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 24px;
  font-family: "Lora", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--brick);
}

.longform-list h3 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 21px;
  margin-bottom: 6px;
}

.longform-list p {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.55;
}

.longform-pull {
  margin: 30px 0;
  padding-block: 24px;
  padding-inline-start: 28px;
  border-left: 2px solid var(--brick);
  background: transparent;
}

.longform-pull blockquote {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 2.5vw, 28px);
  line-height: 1.28;
  color: var(--brick-dark);
}

.longform-pull cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-family: "Source Sans 3", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

/* ---------- Ruhe-Liste (4 Punkte, Hairlines) ---------- */

.calm-list {
  max-width: 720px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.calm-list li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}

.calm-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.calm-list .num {
  font-family: "Lora", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--brick);
}

.calm-list h3 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 19px;
  margin-bottom: 4px;
}

.calm-list p {
  color: var(--muted);
  font-size: 16px;
}

/* ---------- Print-Stil Panel (Check-Teaser) ---------- */

.panel-print {
  max-width: 640px;
  padding: 36px 36px 32px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-warm);
}

.panel-print .panel-eyebrow {
  font-family: "Source Sans 3", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 14px;
}

.panel-print h3 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: clamp(22px, 2.5vw, 28px);
  line-height: 1.18;
  margin-bottom: 14px;
}

.panel-print p {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.55;
  margin-bottom: 20px;
}

.panel-print .panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- mpufy-Beta (Print-Kasten, In eigener Sache) ---------- */

.beta-kasten {
  max-width: 640px;
  margin-top: 8px;
  padding: 36px 36px 32px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-warm);
}

.beta-kasten-eyebrow {
  font-family: "Source Sans 3", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 14px;
}

.beta-kasten h3 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: clamp(22px, 2.5vw, 28px);
  line-height: 1.18;
  margin-bottom: 14px;
}

.beta-kasten > p {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.55;
  margin-bottom: 22px;
}

.beta-form {
  display: grid;
  gap: 18px;
}

.beta-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}

.beta-field input,
.beta-field select {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 15.5px;
}

.beta-field input:focus,
.beta-field select:focus {
  outline: 2px solid var(--brick);
  outline-offset: 2px;
  border-color: var(--brick);
}

.beta-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}

.beta-consent input {
  margin-top: 3px;
  accent-color: var(--brick);
}

.beta-consent a {
  color: var(--brick-dark);
}

.beta-actions {
  margin-top: 4px;
}

.beta-status {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--muted);
  display: none;
}

.beta-status.visible {
  display: block;
}

.beta-status[data-kind="pending"] {
  color: var(--brick-dark);
  font-weight: 600;
}

.beta-noscript {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

/* ---------- FAQ (Hairline-Liste) ---------- */

.faq-list {
  max-width: 800px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 0;
  font-family: "Lora", Georgia, serif;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.3;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--brick);
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  padding: 0 0 22px;
  max-width: 720px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.62;
}

/* ---------- Redaktions- & Quellenblock ---------- */

.colophon {
  padding-block: 60px 70px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-warm);
}

.colophon-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
}

.colophon h2 {
  font-family: "Lora", Georgia, serif;
  font-size: clamp(24px, 2.8vw, 32px);
  margin-bottom: 16px;
}

.colophon p {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.62;
  margin-bottom: 14px;
}

.colophon .why-note {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: "Lora", Georgia, serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
}

.sources-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sources-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 1.5;
}

.sources-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.sources-list a {
  color: var(--brick-dark);
  font-weight: 600;
}

.sources-list .meta {
  display: block;
  margin-top: 4px;
  color: var(--muted-soft);
  font-size: 13px;
  font-style: italic;
  font-family: "Lora", Georgia, serif;
}

.last-checked {
  margin-top: 24px;
  font-size: 13.5px;
  color: var(--muted-soft);
  font-style: italic;
  font-family: "Lora", Georgia, serif;
}

/* ---------- Artikel-Unterseiten ---------- */

.article-hero {
  padding-block: 56px 36px;
  border-bottom: 1px solid var(--line);
}

.article-hero .breadcrumb {
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--muted-soft);
  font-style: italic;
  font-family: "Lora", Georgia, serif;
}

.article-hero .breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.article-hero .breadcrumb a:hover {
  color: var(--brick-dark);
}

.article-hero .hero-eyebrow {
  margin-bottom: 14px;
}

.article-hero h1 {
  font-size: clamp(32px, 4.4vw, 52px);
  margin-bottom: 18px;
  max-width: 900px;
}

.article-hero .article-lead {
  max-width: 760px;
  font-family: "Lora", Georgia, serif;
  font-size: 20px;
  line-height: 1.5;
  color: var(--muted);
}

.article-hero .byline {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted-soft);
  font-style: italic;
  font-family: "Lora", Georgia, serif;
}

.article-hero .byline strong {
  color: var(--ink);
  font-style: normal;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 600;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 64px;
  padding-block: 48px 72px;
}

.article-body {
  max-width: 720px;
  min-width: 0;
}

.article-body h2 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: clamp(24px, 2.8vw, 30px);
  margin: 40px 0 16px;
  line-height: 1.18;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 21px;
  margin: 28px 0 10px;
}

.article-body p {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
}

.article-body ul,
.article-body ol {
  margin: 0 0 22px;
  padding-left: 22px;
  color: var(--ink);
}

.article-body li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.article-body strong {
  color: var(--ink);
  font-weight: 600;
}

.article-body a {
  color: var(--brick-dark);
}

/* Inline-Pullquote im Artikel */
.article-pull {
  margin: 32px 0;
  padding-block: 8px;
  padding-inline-start: 28px;
  border-left: 2px solid var(--brick);
}

.article-pull blockquote {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.32;
  color: var(--brick-dark);
}

/* Side-Rail (Sticky) */

.side-rail {
  position: sticky;
  top: 88px;
  align-self: start;
  display: grid;
  gap: 20px;
  min-width: 0;
  font-size: 15px;
}

.side-card {
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.side-card.is-brick {
  border-color: var(--brick);
  background: var(--brick-soft);
}

.side-card h4 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 10px;
}

.side-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
  margin-bottom: 12px;
}

.side-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14.5px;
}

.side-card li {
  margin-bottom: 6px;
}

.side-card a {
  color: var(--brick-dark);
  font-weight: 600;
  font-size: 14.5px;
}

/* ---------- Fehler-Check (Print-Panel) ---------- */

.check-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px;
  align-items: start;
  padding-block: 48px 72px;
}

.check-form {
  padding: 36px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-warm);
}

.check-form h2 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  margin-bottom: 8px;
}

.check-form .intro {
  color: var(--muted);
  font-size: 16.5px;
  margin-bottom: 24px;
}

.check-question {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.check-question:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.check-question .label {
  display: block;
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--ink);
}

/* fieldset/legend (Gruppenname der Radiofragen): Browser-Standardrahmen/-abstände aufheben, Aufbau wie zuvor. */
/* Ein Rand würde die Legende auf die Linie setzen und der Abstand läge unter ihr: Linie daher als Innenschatten,
   Abstand oben an der Legende, unten am fieldset. */
fieldset.check-question {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0 0 20px;
  box-shadow: inset 0 1px 0 var(--line);
}

fieldset.check-question:first-of-type {
  box-shadow: none;
}

/* Legende als Float: nur so wirken ihre Außenabstände wie bei dem früheren span.label. */
.check-question legend.label {
  float: left;
  width: 100%;
  padding: 0;
  margin-top: 21px;
}

fieldset.check-question:first-of-type legend.label {
  margin-top: 0;
}

.check-question legend.label + .check-options {
  clear: both;
}

.check-options {
  display: grid;
  gap: 8px;
}

.check-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
  font-size: 15.5px;
}

.check-option:hover {
  border-color: var(--brick);
}

.check-option input {
  margin-top: 4px;
  accent-color: var(--brick);
}

.check-submit {
  margin-top: 24px;
  width: 100%;
}

.check-result {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid var(--brick);
  border-radius: var(--radius);
  background: var(--paper);
  display: none;
}

.check-result.visible {
  display: block;
}

.check-result h3 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 10px;
}

.check-result p {
  font-size: 15.5px;
  line-height: 1.55;
  margin-bottom: 10px;
  color: var(--ink);
}

.check-result ul {
  margin: 8px 0 14px;
  padding-left: 20px;
  font-size: 15px;
  color: var(--muted);
}

.check-result li {
  margin-bottom: 6px;
}

.check-result .disclaimer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted-soft);
  font-style: italic;
  font-family: "Lora", Georgia, serif;
}

.check-aside {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.check-aside h3 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 10px;
}

.check-aside p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 14px;
}

/* ---------- Hinweis-Box / Warnung ---------- */

.note {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-left: 1px solid var(--gold);
  border-radius: var(--radius);
  background: var(--paper);
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
}

.note strong {
  color: var(--ink);
  font-weight: 600;
}

.notice {
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-warm);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Checkliste-Seite ---------- */

.checkliste {
  max-width: 760px;
}

.checkliste-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.checkliste-item:last-child {
  border-bottom: 1px solid var(--line);
}

.checkliste-item .num {
  font-family: "Lora", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  color: var(--brick);
}

.checkliste-item h3 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 4px;
}

.checkliste-item p {
  color: var(--muted);
  font-size: 15.5px;
}

/* ---------- ÜBER-SEITE ---------- */

.about-body {
  max-width: 720px;
  padding-block: 56px 80px;
}

.about-body h2 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  margin: 40px 0 14px;
}

.about-body h2:first-child {
  margin-top: 0;
}

.about-body p {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 16px;
}

/* ---------- Footer (schlank, lokal, kein Netzwerk) ---------- */

.foot {
  padding-block: 44px 56px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.foot-inner {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--muted);
}

.foot-wordmark {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}

.foot-wordmark span {
  color: var(--brick);
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.foot-links a {
  color: var(--muted);
  text-decoration: none;
}

.foot-links a:hover {
  color: var(--brick-dark);
}

.foot-fineprint {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--muted-soft);
  font-style: italic;
  font-family: "Lora", Georgia, serif;
  max-width: 720px;
}

/* ---------- Cookie-Consent ---------- */

.cookie-consent {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 22px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
}

.cookie-consent h2 {
  font-family: "Lora", Georgia, serif;
  font-size: 18px;
  margin-bottom: 4px;
}

.cookie-consent p {
  max-width: 620px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- 404 ---------- */

.notfound {
  max-width: 640px;
  padding-block: 96px 120px;
  text-align: left;
}

.notfound h1 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: clamp(40px, 6vw, 64px);
  margin-bottom: 18px;
}

.notfound p {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 24px;
}

/* ---------- Responsiv ---------- */

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-sub {
    column-count: 1;
  }

  .lede-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .lede-label {
    padding-top: 0;
  }

  .dossier,
  .dossier.flip {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .dossier.flip .dossier-quote,
  .dossier.flip .dossier-body {
    order: unset;
  }

  .article-layout,
  .check-layout,
  .colophon-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .side-rail {
    position: static;
  }
}

@media (max-width: 860px) {
  body {
    font-size: 17px;
  }

  .masthead-inner {
    flex-wrap: wrap;
    padding: 14px 22px 10px;
  }

  .nav-toggle {
    display: flex;
    order: 3;
  }

  .nav-links {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 10px;
    font-size: 17px;
  }

  .nav-links a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .nav-toggle-cb:checked ~ .nav-links,
  button.nav-toggle[aria-expanded="true"] ~ .nav-links {
    display: flex;
  }

  .shell {
    padding-inline: clamp(20px, 5vw, 32px);
  }

  .hero {
    padding-block: 48px 36px;
  }

  .section {
    padding: 48px 0;
  }

  .cookie-consent {
    grid-template-columns: 1fr;
  }

  .cookie-consent__actions {
    justify-content: stretch;
  }

  .cookie-consent__actions .button {
    flex: 1 1 180px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 34px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .lede-body {
    font-size: 18px;
  }

  .lede-body .dropcap {
    font-size: 52px;
  }

  .dossier-title {
    font-size: 24px;
  }

  .check-form,
  .panel-print,
  .beta-kasten {
    padding: 24px;
  }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============================================================
   Legacy-Kompatibilität — alte Unterseiten-Markup im Print-Stil
   Eigene Selektoren (kein Sharing mit Schwesterdomains), nur
   intern genutzt, um Bestands-HTML nicht groß umschreiben zu müssen.
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-header .nav {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 28px 14px;
}

.site-header .brand {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.site-header .brand-logo {
  display: inline-block;
}

.site-header .nav-links {
  display: flex;
  align-items: baseline;
  gap: 22px;
  font-size: 15px;
  font-weight: 500;
}

.site-header .nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.site-header .nav-links a:hover {
  color: var(--brick-dark);
}

.site-header .nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--brick);
  border-radius: var(--radius);
  color: var(--brick-dark) !important;
  font-weight: 600;
  background: transparent;
}

.site-header .nav-cta:hover {
  background: var(--brick);
  color: #fff !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  font-family: "Source Sans 3", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brick);
}

.lead {
  max-width: 760px;
  margin-top: 14px;
  font-family: "Lora", Georgia, serif;
  font-size: 20px;
  line-height: 1.5;
  color: var(--muted);
}

.byline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted-soft);
  font-style: italic;
  font-family: "Lora", Georgia, serif;
}

.byline strong {
  color: var(--ink);
  font-style: normal;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 600;
}

.byline-badge {
  display: inline-block;
  margin-right: 8px;
  padding: 3px 9px;
  border: 1px solid var(--brick);
  border-radius: 2px;
  background: var(--brick-soft);
  color: var(--brick-dark);
  font-family: "Source Sans 3", sans-serif;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.page-hero {
  padding-block: 56px 36px;
  border-bottom: 1px solid var(--line);
}

.page-hero .breadcrumb {
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--muted-soft);
  font-style: italic;
  font-family: "Lora", Georgia, serif;
}

.page-hero .breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.page-hero h1 {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 600;
  margin-bottom: 18px;
  max-width: 900px;
}

.page-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 64px;
  padding-block: 48px 72px;
}

.article {
  display: grid;
  gap: 0;
  min-width: 0;
  max-width: 720px;
}

.article-section {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.article-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.article-section h2 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: clamp(24px, 2.8vw, 30px);
  line-height: 1.18;
  margin: 0 0 14px;
}

.article-section h3 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 21px;
  margin: 22px 0 8px;
}

.article-section p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 16px;
}

.article-section ul,
.article-section ol {
  margin: 0 0 20px;
  padding-left: 22px;
  color: var(--ink);
}

.article-section li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.article-section strong {
  font-weight: 600;
}

.article-section a {
  color: var(--brick-dark);
}

/* ponytail: .cost-table hatte keine Regel (nackte Browser-Tabelle) —
   Hairline-Optik passend zum restlichen Legacy-Artikelstil ergaenzt. */
.cost-table {
  width: 100%;
  margin: 0 0 20px;
  border-collapse: collapse;
  font-size: 16px;
}

.cost-table th,
.cost-table td {
  padding: 14px 16px 14px 0;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--line);
}

.cost-table thead th {
  border-top: none;
  border-bottom: 1px solid var(--ink);
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  padding-top: 0;
}

.cost-table tbody tr:last-child td {
  border-bottom: 1px solid var(--line);
}

.cost-table td:first-child,
.cost-table th:first-child {
  padding-right: 24px;
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .cost-table,
  .cost-table thead,
  .cost-table tbody,
  .cost-table tr,
  .cost-table th,
  .cost-table td {
    display: block;
    width: auto;
  }

  .cost-table thead {
    display: none;
  }

  .cost-table tr {
    padding: 16px 0;
    border-top: 1px solid var(--line);
  }

  .cost-table tbody tr:last-child {
    border-bottom: 1px solid var(--line);
  }

  .cost-table td {
    border-top: none;
    padding: 4px 0;
    white-space: normal;
  }

  .cost-table td:first-child {
    padding-top: 0;
  }
}

.side-panel {
  position: sticky;
  top: 88px;
  align-self: start;
  display: grid;
  gap: 18px;
  min-width: 0;
}

.side-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.side-card h4 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 10px;
}

.side-card p,
.side-card li {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.side-card ul {
  margin: 0;
  padding-left: 18px;
}

.side-card li {
  margin-bottom: 6px;
}

.side-card a {
  color: var(--brick-dark);
  font-weight: 600;
  font-size: 14.5px;
}

.side-card.brand {
  border-color: var(--brick);
  background: var(--brick-soft);
}

.side-card.brand h4 {
  color: var(--brick-dark);
}

/* `.side-card a` (Spezifität 0,1,1) überschrieb die weiße Schrift von `.button` (1,3:1 auf Ziegelrot);
   gezielt nur für den Button mit Zusatzklasse button-on-card. */
.side-card .button.button-on-card,
.side-card .button.button-on-card:hover {
  color: #fff;
}

.tag,
.tag.gold {
  display: inline-block;
  padding: 3px 9px;
  margin-bottom: 8px;
  border: 1px solid var(--brick);
  border-radius: 2px;
  background: transparent;
  color: var(--brick-dark);
  font-family: "Source Sans 3", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
}

/* Steps (legacy) — wird zu Longform-Stil umgewandelt */

.steps {
  display: grid;
  gap: 0;
  margin: 8px 0;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.step:last-child {
  border-bottom: 1px solid var(--line);
}

.step-number {
  font-family: "Lora", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 26px;
  color: var(--brick);
  width: auto;
  height: auto;
  background: transparent;
  display: block;
}

.step h3 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 19px;
  margin: 0 0 4px;
}

.step p {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}

/* Grid-Cards (legacy) — als einfache Hairline-Liste */

.grid-3,
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
}

.grid-3 .info-card,
.grid-2 .panel,
.duo .panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 22px;
  margin: 8px;
  box-shadow: none;
}

.info-card h3,
.panel h3 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 19px;
  margin-bottom: 8px;
}

.info-card p,
.panel p {
  color: var(--muted);
  font-size: 15.5px;
}

.info-card a {
  display: inline-block;
  margin-top: 10px;
  color: var(--brick-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* FAQ (legacy div.faq) */

.faq {
  display: grid;
  gap: 0;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-family: "Lora", Georgia, serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--brick);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 16px;
  max-width: 720px;
}

/* Warning/Note (legacy) */

.warning {
  margin-top: 12px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-left: 1px solid var(--gold);
  border-radius: var(--radius);
  background: var(--paper-warm);
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.sources {
  /* ponytail: kein eigener Top-Hairline/Abstand mehr — .sources steht immer
     in .article-section, das bereits Hairline + 28px Padding liefert; sonst
     doppelte Trennlinie mit Lücke vor "Quellen & weiterführende Stellen". */
  color: var(--muted);
  font-size: 14.5px;
}

.sources h4 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--ink);
}

.sources ul {
  margin: 0;
  padding-left: 18px;
}

.sources li {
  margin-bottom: 6px;
}

/* Footer (legacy .footer) */

.footer {
  border-top: 1px solid var(--line);
  padding-block: 36px 48px;
  background: var(--paper);
  color: var(--muted);
  font-size: 14px;
}

.footer .container.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--brick-dark);
}

/* Responsiv Legacy */

@media (max-width: 980px) {
  .page-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .side-panel {
    position: static;
  }
}

@media (max-width: 860px) {
  .site-header .nav {
    flex-wrap: wrap;
    padding: 14px 22px 10px;
  }

  .site-header .nav-toggle {
    display: flex;
    order: 3;
  }

  .site-header .nav-links {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 10px;
    font-size: 17px;
  }

  .site-header .nav-links a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
  }

  .site-header .nav-links a:last-child {
    border-bottom: 0;
  }

  .site-header .nav-toggle-cb:checked ~ .nav-links {
    display: flex;
  }
}

/* Print */

@media print {
  .masthead,
  .site-header,
  .foot,
  .footer,
  .cookie-consent,
  .nav-toggle,
  .side-rail,
  .side-panel {
    display: none;
  }

  body {
    background: #fff;
    font-size: 12pt;
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}

/* ===== Themen-Footer + Wortmarke-Bild (2026-08-18) ===== */
.tf { border-top: 1px solid var(--line); background: var(--paper-warm); padding-block: 44px 36px; margin-top: 56px; }
.tf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.tf-heading { font-family: "Lora", Georgia, serif; font-size: 15px; font-weight: 600; margin: 0 0 12px; color: var(--ink); letter-spacing: 0.01em; }
.tf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tf-list a { color: var(--muted-soft); text-decoration: none; font-size: 14px; line-height: 1.45; }
.tf-list a:hover, .tf-list a:focus-visible { color: var(--brick); text-decoration: underline; }
@media (max-width: 980px) { .tf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .tf-grid { grid-template-columns: 1fr; } .tf { padding-block: 34px 28px; } }
.wordmark img, .foot-wordmark img { height: 28px; width: auto; display: block; }
.foot-wordmark { display: inline-flex; align-items: center; }

.brand-logo, .brand img { height: 28px; width: auto; display: inline-block; vertical-align: middle; }

/* ---------- Header-Ausrichtung mobil: Wortmarke links, Menü-Button rechts, gleiche Zeile, mittig ---------- */
@media (max-width: 860px) {
  .masthead-inner { align-items: center; gap: 12px; }
  .masthead-inner .wordmark { flex: 0 1 auto; min-width: 0; width: calc(100% - 56px); max-width: 260px; }
  .masthead-inner .wordmark img { max-width: 100%; height: auto; }
  .masthead-inner .nav-toggle { flex: none; margin-left: auto; }
}

/* ---------- P1-Layout-Fix (2026-09-09): Mindest-Font ---------- */
.lede-label { font-size: 13.5px; }

/* ---------- R1-QuickWin (2026-09-10): Tabellen-Scroll global ----------
   .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
   Doku: erfahrungen-Tabellen stehen auf Subseiten (index: keine) und sind dort
   noch NICHT gewrappt — Folgeauftrag aus Audit-Sektion E.3 (Index hatte keinen
   Tabellen-Overflow; 27px-Overflow kam aus dem Beta-Form-Grid, bereits gefixt). */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-scroll table { min-width: 480px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 3000; background: var(--ink); color: #fff; padding: 10px 16px; font-weight: 650; text-decoration: none; }
.skip-link:focus { left: 0; }

/* ===== Finale Reparatur (2026-10-01) ===== */

/* Sprungziele nicht unter dem klebrigen Header verstecken */
html { scroll-padding-top: 96px; }

/* Header, beide Familien: Wortmarke und Menü vertikal mittig (Desktop; mobil siehe unten) */
@media (min-width: 861px) {
  .masthead-inner,
  .nav-links,
  .site-header .nav,
  .site-header .nav-links,
  .site-header .brand { align-items: center; }
}

/* Menü-Button: Touchfläche mindestens 44 x 44 */
.nav-toggle { height: 44px; }

@media (max-width: 860px) {
  /* site-header (Impressum/Datenschutz): wie masthead — Wortmarke links, Button rechts, gleiche Zeile, mittig */
  .site-header .nav { align-items: center; gap: 12px; }
  .site-header .brand { flex: 0 1 auto; min-width: 0; max-width: calc(100% - 56px); }
  .site-header .brand img { max-width: 100%; height: auto; }
  .site-header .nav-toggle { flex: none; margin-left: auto; }
  .site-header .nav-toggle[aria-expanded="true"] ~ .nav-links { display: flex; }
  /* geöffnetes Menü bleibt auch bei niedrigem Viewport erreichbar */
  .nav-links { max-height: calc(100vh - 96px); max-height: calc(100dvh - 96px); overflow-y: auto; }
}

/* Sichtbarer Fokus für alle bedienbaren Elemente */
a:focus-visible,
summary:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
.button:focus-visible { outline: 2px solid var(--brick); outline-offset: 2px; }

.check-option:focus-within { border-color: var(--brick); outline: 2px solid var(--brick); outline-offset: 2px; }

/* Touchflächen der Fußzeilenlinks (mindestens 24 px hoch) */
.foot-links a,
.tf-list a,
.footer a { display: inline-block; padding-block: 3px; min-height: 24px; }

/* Fehler-Check: Ergebnisbereich per Skript fokussiert */
.check-result h3:focus { outline: 2px solid var(--brick); outline-offset: 4px; }

.check-noscript { margin: 0 0 20px; padding: 14px 16px; border: 1px solid var(--brick); border-radius: var(--radius); background: var(--brick-soft); color: var(--ink); font-size: 15.5px; }

/* Lange Wörter in Überschriften/Text brechen statt die Seite zu verbreitern (320 px) */
h1, h2, h3, h4, p, li, td { overflow-wrap: break-word; }
h1, h2 { hyphens: auto; }

/* Primär-Button in Seitenkarten: `.side-card a` darf die weiße Schrift nicht überschreiben (1,3:1 auf Ziegelrot) */
.side-card .button:not(.secondary):not(.ghost),
.side-card .button:not(.secondary):not(.ghost):hover { color: #fff; }

/* Beta-Formular: Feldfehler */
.beta-field input[aria-invalid="true"] { border-color: var(--brick); outline: 2px solid var(--brick); outline-offset: 2px; }
