/* =========================================================================
   mpu-fragen-und-antworten.de — „Der interaktive Fragen-Hub"
   Redesign 0346 (Juli 2026). Eigene Identität: Kobalt + Outfit/Inter + Pill.
   Fingerprint-Token: #FBFBF7 · #1B2233 · #2E4FA3 · Outfit/Inter · Pill-Radius.
   Nicht geteilt mit Schwesterdomains (NETZWERK-FINGERPRINT-REGEL).
   ========================================================================= */

/* ---------- Fonts (lokal, DSGVO) ---------- */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./fonts/outfit-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: "Outfit";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/outfit-700.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: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/inter-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: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./fonts/inter-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: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./fonts/inter-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;
}

/* ---------- Tokens ---------- */

:root {
  --fq-bg: #fbfbf7;
  --fq-surface: #ffffff;
  --fq-ink: #1b2233;
  --fq-muted: #5c6478;
  --fq-line: #e2e4ec;
  --fq-line-soft: #eceef3;
  --fq-accent: #2e4fa3;
  --fq-accent-dark: #233d80;
  --fq-accent-soft: #e4eaf8;
  --fq-card-tint: #eef2fc;
  --fq-shadow: 0 22px 48px rgba(46, 79, 163, 0.10);
  --fq-shadow-soft: 0 10px 28px rgba(46, 79, 163, 0.06);
  --fq-radius-card: 16px;
  --fq-radius-pill: 999px;
  --fq-maxw: 1180px;
  --fq-font-display: "Outfit", "Inter", system-ui, sans-serif;
  --fq-font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--fq-bg);
  color: var(--fq-ink);
  font-family: var(--fq-font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--fq-accent-dark); }
a:hover { color: var(--fq-accent); }

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--fq-font-display);
  font-weight: 700;
  color: var(--fq-ink);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(36px, 5.4vw, 58px); letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: 21px; }
h4 { font-size: 17px; }

p { margin: 0; }

/* ---------- Layout ---------- */

.fq-container {
  max-width: var(--fq-maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.fq-container.narrow { max-width: 920px; }

.fq-section { padding: 64px 0; }
.fq-section.tight { padding: 40px 0; }
.fq-section.intro { padding: 28px 0 40px; }
.fq-section.alt { background: var(--fq-surface); border-top: 1px solid var(--fq-line); border-bottom: 1px solid var(--fq-line); }

/* ---------- Header / Nav ---------- */

.fq-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 251, 247, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--fq-line);
}

.fq-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  max-width: var(--fq-maxw);
  margin: 0 auto;
  padding: 14px 24px;
}

.fq-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fq-font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--fq-ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.fq-brand-mark {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--fq-accent);
  color: #fff;
  font-family: var(--fq-font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0;
}

.fq-nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14.5px;
}

.fq-nav-links a {
  color: var(--fq-muted);
  text-decoration: none;
  font-weight: 500;
}

.fq-nav-links a:hover { color: var(--fq-ink); }

/* .fq-nav-links a (Klasse+Element) schlaegt .fq-btn (eine Klasse) und faerbte
   den Nav-CTA-Text muted-grau auf Kobalt — kaum lesbar. Explizit weiss halten. */
.fq-nav-links a.fq-btn,
.fq-nav-links a.fq-btn:hover { color: #fff; }

.fq-nav-toggle-cb { display: none; }

.fq-nav-toggle {
  display: none;
  width: 44px;
  height: 42px;
  border: 1px solid var(--fq-line);
  border-radius: 12px;
  background: var(--fq-surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.fq-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--fq-ink);
}

/* ---------- Buttons / Pills ---------- */

.fq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--fq-accent);
  border-radius: var(--fq-radius-pill);
  background: var(--fq-accent);
  color: #fff;
  font-family: var(--fq-font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

/* Der Quiz-„Zurück"-Button traegt hidden auf Schritt 1; ohne diese Regel
   gewinnt display:inline-flex oben (gleiche Spezifitaet wie [hidden]). */
.fq-btn[hidden] {
  display: none;
}

.fq-btn:hover {
  background: var(--fq-accent-dark);
  border-color: var(--fq-accent-dark);
  color: #fff;
}

.fq-btn:focus-visible {
  outline: 3px solid var(--fq-accent-soft);
  outline-offset: 2px;
}

.fq-btn.secondary {
  background: var(--fq-surface);
  color: var(--fq-ink);
  border-color: var(--fq-line);
}

.fq-btn.secondary:hover {
  background: var(--fq-accent-soft);
  border-color: var(--fq-accent);
  color: var(--fq-accent-dark);
}

.fq-btn.ghost {
  background: transparent;
  border-color: transparent;
  color: var(--fq-accent-dark);
  padding-inline: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--fq-accent-soft);
}

.fq-btn.ghost:hover { text-decoration-color: var(--fq-accent); }

/* ---------- Hero ---------- */

.fq-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 48px;
  align-items: center;
  padding: 72px 0 56px;
}

.fq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 14px;
  border-radius: var(--fq-radius-pill);
  background: var(--fq-accent-soft);
  color: var(--fq-accent-dark);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.fq-hero-lead {
  max-width: 580px;
  margin-top: 20px;
  color: var(--fq-muted);
  font-size: 19px;
  line-height: 1.55;
}

.fq-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.fq-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 26px;
  color: var(--fq-muted);
  font-size: 13.5px;
}

.fq-byline-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--fq-line);
}

.fq-byline strong { color: var(--fq-ink); font-weight: 600; }

.fq-trust-badge,
.byline-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--fq-radius-pill);
  background: var(--fq-accent-soft);
  color: var(--fq-accent-dark);
  padding: 4px 10px;
  font-weight: 600;
  font-size: 12.5px;
}

/* Article body farblich auf neues Token-System ziehen (migrierte Unterseiten). */
.fq-article-section ul li em { color: var(--fq-muted); font-style: normal; font-weight: 500; }
.fq-article-section ul li em::before { content: "— "; color: var(--fq-accent); }
.fq-article-section a { color: var(--fq-accent-dark); }
.fq-side-card p { color: var(--fq-muted); }
.fq-side-card.brand p { color: var(--fq-ink); }
.fq-article-layout .fq-article-section h3 { color: var(--fq-ink); margin-top: 22px; }
.fq-article-layout .fq-article-section ol { padding-left: 26px; }
.fq-article-layout .fq-article-section ol li { margin-bottom: 12px; }

/* Hero visual: question-card stack (3 gefächerte Karten) */

.fq-card-stack {
  position: relative;
  min-height: 360px;
  display: block;
}

.fq-card-stack-piece {
  position: absolute;
  width: 88%;
  border-radius: 20px;
  background: var(--fq-surface);
  border: 1px solid var(--fq-line);
  padding: 22px 22px 24px;
  box-shadow: var(--fq-shadow-soft);
}

.fq-card-stack-piece:nth-child(1) {
  top: 30px; left: 0;
  transform: rotate(-5deg);
  background: var(--fq-card-tint);
  border-color: var(--fq-accent-soft);
  z-index: 1;
  opacity: 0.75;
}

.fq-card-stack-piece:nth-child(2) {
  top: 14px; left: 8%;
  transform: rotate(3deg);
  z-index: 2;
  opacity: 0.9;
}

.fq-card-stack-piece:nth-child(3) {
  top: 0; left: 16%;
  transform: rotate(-1.5deg);
  z-index: 3;
  box-shadow: var(--fq-shadow);
}

.fq-card-stack-piece .fq-mini-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fq-accent);
  margin-bottom: 10px;
}

.fq-card-stack-piece .fq-mini-q {
  font-family: var(--fq-font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--fq-ink);
  line-height: 1.3;
}

.fq-card-stack-piece .fq-mini-meta {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--fq-muted);
}

/* ---------- Hero-Card (idiotentest-fragen.html) ---------- */

.hero-card {
  border: 1px solid var(--fq-accent-soft);
  border-radius: var(--fq-radius-card);
  background: var(--fq-surface);
  padding: 26px;
  box-shadow: var(--fq-shadow-soft);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-card-title {
  font-family: var(--fq-font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--fq-ink);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  border-radius: var(--fq-radius-pill);
  background: var(--fq-accent-soft);
  color: var(--fq-accent-dark);
  padding: 4px 12px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.timeline-mini {
  display: grid;
  gap: 16px;
}

.timeline-mini > div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.timeline-mini > div > span {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--fq-accent);
  color: #fff;
  font-family: var(--fq-font-display);
  font-weight: 700;
  font-size: 13px;
}

.timeline-mini > div > p {
  font-size: 14px;
  color: var(--fq-muted);
  line-height: 1.5;
}

.timeline-mini > div > p b {
  display: block;
  color: var(--fq-ink);
  font-weight: 600;
  margin-bottom: 2px;
}

/* ---------- Stat-Reihe (idiotentest-fragen.html) ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat {
  border: 1px solid var(--fq-line);
  border-radius: var(--fq-radius-card);
  background: var(--fq-surface);
  padding: 20px;
}

.stat .num {
  font-family: var(--fq-font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--fq-accent);
  line-height: 1.1;
}

.stat .num span {
  font-size: 14px;
  font-weight: 600;
  color: var(--fq-accent);
}

.stat .lbl {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--fq-muted);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
}

/* ---------- Sofortantwort-Box ---------- */

.fq-answer {
  border: 1px solid var(--fq-line);
  border-left: 4px solid var(--fq-accent);
  border-radius: 14px;
  background: var(--fq-surface);
  padding: 26px 28px;
  box-shadow: var(--fq-shadow-soft);
  font-size: 17.5px;
}

.fq-answer strong { color: var(--fq-ink); font-weight: 600; }

/* ---------- Section header ---------- */

.fq-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 32px;
  max-width: 760px;
}

.fq-section-head.split {
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.5fr);
  gap: 36px;
  align-items: end;
  max-width: none;
}

.fq-kicker {
  color: var(--fq-accent);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fq-section-copy {
  color: var(--fq-muted);
  font-size: 18px;
  line-height: 1.55;
}

/* ---------- Fragen-Explorer ---------- */

.fq-explorer-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.fq-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fq-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--fq-line);
  border-radius: var(--fq-radius-pill);
  background: var(--fq-surface);
  color: var(--fq-muted);
  font-family: var(--fq-font-body);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.fq-chip:hover { border-color: var(--fq-accent); color: var(--fq-accent-dark); }

.fq-chip[aria-pressed="true"] {
  background: var(--fq-accent);
  border-color: var(--fq-accent);
  color: #fff;
}

.fq-search {
  flex: 1 1 240px;
  min-width: 220px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--fq-line);
  border-radius: var(--fq-radius-pill);
  background: var(--fq-surface);
  padding: 0 16px 0 14px;
  min-height: 42px;
}

.fq-search:focus-within {
  border-color: var(--fq-accent);
  box-shadow: 0 0 0 3px var(--fq-accent-soft);
}

.fq-search-icon {
  width: 16px;
  height: 16px;
  color: var(--fq-muted);
  flex: 0 0 16px;
}

.fq-search input {
  flex: 1 1 auto;
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--fq-ink);
  outline: none;
  min-width: 0;
}

.fq-search input::placeholder { color: var(--fq-muted); }

/* Masonry via CSS columns — Fragekarten als discrete cards */

.fq-question-grid {
  column-count: 2;
  column-gap: 16px;
}

.fq-question-card {
  break-inside: avoid;
  display: block;
  margin-bottom: 16px;
  border: 1px solid var(--fq-line);
  border-radius: var(--fq-radius-card);
  background: var(--fq-card-tint);
  overflow: hidden;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

/* JS-Filter/Suche setzt das hidden-Attribut; ohne diese Regel gewinnt die
   .fq-question-card-Klasse (gleiche Spezifität, Autor-Regel) gegen die
   native [hidden]-UA-Regel und die Karte bliebe sichtbar. */
.fq-question-card[hidden] {
  display: none;
}

.fq-question-card:hover {
  border-color: var(--fq-accent-soft);
  box-shadow: var(--fq-shadow-soft);
}

.fq-question-card summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  font-family: var(--fq-font-display);
  font-weight: 600;
  font-size: 16.5px;
  color: var(--fq-ink);
  line-height: 1.35;
}

.fq-question-card summary::-webkit-details-marker { display: none; }

.fq-question-card summary::after {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E4FA3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.18s ease;
}

.fq-question-card[open] summary::after { transform: rotate(180deg); }

.fq-question-card .fq-q-body {
  padding: 0 20px 20px;
}

.fq-question-card .fq-q-body p {
  color: var(--fq-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.fq-question-card .fq-q-focus {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--fq-accent-soft);
}

.fq-question-card .fq-q-focus-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fq-accent);
  margin-bottom: 4px;
}

.fq-q-tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 9px;
  border-radius: var(--fq-radius-pill);
  background: var(--fq-accent-soft);
  color: var(--fq-accent-dark);
  font-size: 11.5px;
  font-weight: 600;
}

.fq-explorer-empty {
  padding: 32px;
  text-align: center;
  color: var(--fq-muted);
  border: 1px dashed var(--fq-line);
  border-radius: var(--fq-radius-card);
}

.fq-show-more {
  margin-top: 22px;
  text-align: center;
}

/* ---------- 3 Kernlinien (horizontale Stations-Grafik) ---------- */

.fq-lines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--fq-line);
  border-radius: var(--fq-radius-card);
  background: var(--fq-surface);
  overflow: hidden;
}

.fq-line-step {
  position: relative;
  padding: 28px 24px;
  border-right: 1px dashed var(--fq-line);
}

.fq-line-step:last-child { border-right: 0; }

.fq-line-num {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--fq-accent);
  color: #fff;
  font-family: var(--fq-font-display);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 16px;
}

.fq-line-title {
  font-family: var(--fq-font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--fq-ink);
  margin-bottom: 6px;
}

.fq-line-text {
  color: var(--fq-muted);
  font-size: 14.5px;
}

.fq-line-arrow {
  position: absolute;
  top: 46px;
  right: -10px;
  width: 20px;
  height: 20px;
  background: var(--fq-bg);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--fq-accent);
  z-index: 2;
}

.fq-line-step:last-child .fq-line-arrow { display: none; }

/* ---------- Mythos / Realität ---------- */

.fq-mythreal {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.fq-mythreal-item {
  border: 1px solid var(--fq-line);
  border-radius: var(--fq-radius-card);
  background: var(--fq-surface);
  padding: 22px;
}

.fq-mythreal-label {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: var(--fq-radius-pill);
}

.fq-mythreal-label.myth {
  background: #fdecec;
  color: #b3261e;
}

.fq-mythreal-label.real {
  background: var(--fq-accent-soft);
  color: var(--fq-accent-dark);
}

.fq-mythreal-item p {
  color: var(--fq-ink);
  font-size: 15px;
  line-height: 1.5;
}

/* ---------- Quiz Preview (Fragen-Check Teaser) ---------- */

.fq-quiz-preview {
  border: 1px solid var(--fq-line);
  border-radius: 20px;
  background: var(--fq-surface);
  padding: 32px;
  box-shadow: var(--fq-shadow-soft);
  max-width: 720px;
  margin: 0 auto;
}

.fq-quiz-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.fq-quiz-progress span {
  flex: 1 1 0;
  height: 6px;
  border-radius: 3px;
  background: var(--fq-line);
}

.fq-quiz-progress span.on { background: var(--fq-accent); }

.fq-quiz-meta {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fq-accent);
  margin-bottom: 10px;
}

.fq-quiz-q {
  font-family: var(--fq-font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--fq-ink);
  margin-bottom: 18px;
  line-height: 1.3;
}

.fq-quiz-options {
  display: grid;
  gap: 8px;
}

.fq-quiz-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--fq-line);
  border-radius: 12px;
  font-size: 14.5px;
  color: var(--fq-ink);
  background: var(--fq-bg);
}

.fq-quiz-opt::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--fq-line);
  border-radius: 50%;
  flex: 0 0 14px;
}

/* ---------- Nach Anlass Zeilen-Links ---------- */

.fq-cause-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--fq-line);
}

.fq-cause-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 22px 8px;
  border-bottom: 1px solid var(--fq-line);
  text-decoration: none;
  color: var(--fq-ink);
  transition: background 0.15s ease;
}

.fq-cause-row:hover { background: var(--fq-accent-soft); }

.fq-cause-row h3 {
  font-size: 19px;
  margin-bottom: 4px;
}

.fq-cause-row p {
  color: var(--fq-muted);
  font-size: 14.5px;
}

.fq-cause-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--fq-accent-soft);
  color: var(--fq-accent-dark);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  flex: 0 0 36px;
}

/* ---------- FAQ ---------- */

.fq-faq {
  display: grid;
  gap: 10px;
}

.fq-faq details {
  border: 1px solid var(--fq-line);
  border-radius: 12px;
  background: var(--fq-surface);
  padding: 4px 20px;
}

.fq-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-family: var(--fq-font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--fq-ink);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.fq-faq summary::-webkit-details-marker { display: none; }

.fq-faq summary::after {
  content: "+";
  color: var(--fq-accent);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
}

.fq-faq details[open] summary::after { content: "–"; }

.fq-faq details p {
  padding: 0 0 18px;
  color: var(--fq-muted);
}

/* ---------- Redaktion & Quellen ---------- */

.fq-sources {
  border-top: 1px solid var(--fq-line);
  padding-top: 24px;
  color: var(--fq-muted);
  font-size: 14.5px;
}

.fq-sources h4 {
  color: var(--fq-ink);
  margin-bottom: 12px;
  font-family: var(--fq-font-display);
}

.fq-sources ul {
  margin: 0;
  padding-left: 18px;
}

.fq-sources li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.fq-sources a {
  color: var(--fq-accent-dark);
  text-decoration: underline;
  text-decoration-color: var(--fq-accent-soft);
  text-underline-offset: 3px;
}

.fq-editorial {
  border: 1px solid var(--fq-line);
  border-radius: var(--fq-radius-card);
  background: var(--fq-surface);
  padding: 28px 32px;
  max-width: 760px;
}

.fq-editorial p { color: var(--fq-muted); }
.fq-editorial p + p { margin-top: 10px; }
.fq-editorial strong { color: var(--fq-ink); }

/* ---------- Note / Tag inline ---------- */

.fq-note {
  border: 1px solid var(--fq-accent-soft);
  border-left: 4px solid var(--fq-accent);
  border-radius: 12px;
  background: var(--fq-accent-soft);
  padding: 18px 20px;
  color: var(--fq-ink);
  font-size: 15px;
}

.fq-note strong { color: var(--fq-accent-dark); }

.fq-tag {
  display: inline-block;
  border-radius: var(--fq-radius-pill);
  background: var(--fq-accent-soft);
  color: var(--fq-accent-dark);
  padding: 4px 12px;
  font-size: 12.5px;
  font-weight: 600;
}

/* ---------- Subpage (Artikel) ---------- */

.fq-page-hero {
  padding: 56px 0 32px;
}

.fq-breadcrumb {
  margin-bottom: 16px;
  color: var(--fq-muted);
  font-size: 13.5px;
}

.fq-breadcrumb a {
  color: var(--fq-accent-dark);
  text-decoration: none;
}

.fq-page-hero h1 { max-width: 900px; }
.fq-page-hero .fq-lead {
  max-width: 760px;
  margin-top: 16px;
  color: var(--fq-muted);
  font-size: 19px;
}

.fq-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
  gap: 40px;
  padding-bottom: 72px;
  min-width: 0;
}

.fq-article {
  display: grid;
  gap: 28px;
  min-width: 0;
}

.fq-article-section {
  border-top: 1px solid var(--fq-line);
  padding-top: 26px;
  min-width: 0;
}

.fq-article-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.fq-article-section h2 {
  font-size: clamp(24px, 2.8vw, 30px);
  margin-bottom: 14px;
}

.fq-article-section h3 {
  margin: 20px 0 10px;
}

.fq-article-section p {
  color: var(--fq-muted);
  margin-bottom: 12px;
  line-height: 1.65;
}

.fq-article-section p strong { color: var(--fq-ink); }

.fq-article-section ul,
.fq-article-section ol {
  margin: 14px 0;
  padding-left: 22px;
  color: var(--fq-muted);
}

.fq-article-section li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.fq-article-section li strong { color: var(--fq-ink); }

/* ---------- Kosten-Tabelle (mpu-antworten.html, mpu-fragen-alkohol.html) ---------- */

.cost-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 14px 0;
  font-size: 14.5px;
  border: 1px solid var(--fq-line);
  border-radius: var(--fq-radius-card);
  overflow: hidden;
}

.cost-table th,
.cost-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--fq-line);
}

.cost-table thead th {
  font-family: var(--fq-font-display);
  font-weight: 600;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fq-accent-dark);
  background: var(--fq-accent-soft);
}

.cost-table thead th:last-child,
.cost-table tbody td:last-child {
  text-align: right;
}

.cost-table tbody td { color: var(--fq-muted); }
.cost-table tbody td:last-child { color: var(--fq-ink); font-weight: 600; }
.cost-table tbody tr:last-child td { border-bottom: 0; }

.cost-note {
  margin-top: 8px;
  color: var(--fq-muted);
  font-size: 13.5px;
}

.fq-side {
  position: sticky;
  top: 90px;
  align-self: start;
  display: grid;
  gap: 16px;
  min-width: 0;
}

.fq-side-card {
  border: 1px solid var(--fq-line);
  border-radius: var(--fq-radius-card);
  background: var(--fq-surface);
  padding: 22px;
}

.fq-side-card h4 {
  margin-bottom: 10px;
  font-family: var(--fq-font-display);
}

.fq-side-card p,
.fq-side-card li {
  color: var(--fq-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.fq-side-card ul {
  margin: 0;
  padding-left: 18px;
}

.fq-side-card.brand {
  border-color: var(--fq-accent-soft);
  background: linear-gradient(180deg, var(--fq-accent-soft), var(--fq-surface));
}

/* ---------- Quiz / Fragen-Check page ---------- */

.fq-quiz {
  display: grid;
  gap: 24px;
}

.fq-quiz-step {
  display: none;
  border: 1px solid var(--fq-line);
  border-radius: 20px;
  background: var(--fq-surface);
  padding: 32px;
  box-shadow: var(--fq-shadow-soft);
}

.fq-quiz-step.active { display: block; }

.fq-quiz-step h2 {
  font-size: 24px;
  margin: 12px 0 20px;
}

.fq-quiz-options.form .fq-quiz-opt {
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.fq-quiz-options.form .fq-quiz-opt:hover {
  border-color: var(--fq-accent);
  background: var(--fq-accent-soft);
}

.fq-quiz-options.form input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fq-quiz-options.form input[type="radio"]:checked + .fq-quiz-opt {
  border-color: var(--fq-accent);
  background: var(--fq-accent-soft);
  color: var(--fq-accent-dark);
  font-weight: 600;
}

.fq-quiz-options.form input[type="radio"]:checked + .fq-quiz-opt::before {
  border-color: var(--fq-accent);
  background: var(--fq-accent);
  box-shadow: inset 0 0 0 3px var(--fq-surface);
}

.fq-quiz-options.form label {
  position: relative;
  display: flex;
}

.fq-quiz-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

/* Nach Quiz-Abschluss setzt script.js hidden auf .fq-quiz-nav; ohne diese
   Regel gewinnt die display:flex-Deklaration oben (gleiche Spezifität wie
   [hidden]) und die Zurück/Ergebnis-Buttons blieben sichtbar. */
.fq-quiz-nav[hidden] {
  display: none;
}

.fq-quiz-result {
  display: none;
  border: 1px solid var(--fq-accent);
  border-radius: 20px;
  background: var(--fq-accent-soft);
  padding: 32px;
}

.fq-quiz-result.visible { display: block; }

.fq-quiz-result h2 {
  color: var(--fq-accent-dark);
  margin-bottom: 12px;
}

.fq-quiz-result p { color: var(--fq-ink); }
.fq-quiz-result p + p { margin-top: 10px; }

.fq-quiz-result .fq-result-cta {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--fq-accent-soft);
}

/* ---------- Footer ---------- */

.fq-footer {
  border-top: 1px solid var(--fq-line);
  padding: 36px 0;
  color: var(--fq-muted);
  font-size: 14px;
  background: var(--fq-bg);
}

.fq-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.fq-footer a {
  color: var(--fq-muted);
  text-decoration: none;
}

.fq-footer a:hover { color: var(--fq-ink); }

/* ---------- 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(--fq-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 60px rgba(46, 79, 163, 0.18);
}

.cookie-consent h2 {
  margin-bottom: 6px;
  font-size: 18px;
  font-family: var(--fq-font-display);
}

.cookie-consent p {
  max-width: 680px;
  color: var(--fq-muted);
  font-size: 14.5px;
  line-height: 1.5;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

/* ---------- mpufy-Beta-Warteliste (0344) ---------- */

.fq-beta-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  border: 1px solid var(--fq-line);
  border-radius: var(--fq-radius-card);
  background: var(--fq-card-tint);
  padding: 40px;
}

.fq-beta-copy h2 { margin-top: 10px; font-size: 26px; }
.fq-beta-copy p { margin-top: 14px; color: var(--fq-muted); max-width: 46ch; }
.fq-beta-copy strong { color: var(--fq-accent-dark); }

.fq-beta-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--fq-surface);
  border: 1px solid var(--fq-line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--fq-shadow-soft);
}

.fq-beta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.fq-beta-field { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--fq-muted); }

.fq-beta-field input,
.fq-beta-field select {
  border: 1px solid var(--fq-line);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  color: var(--fq-ink);
  background: var(--fq-surface);
}

.fq-beta-field input:focus-visible,
.fq-beta-field select:focus-visible {
  outline: 3px solid var(--fq-accent-soft);
  border-color: var(--fq-accent);
}

.fq-beta-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--fq-muted);
}

.fq-beta-consent input { margin-top: 3px; }
.fq-beta-consent a { color: var(--fq-accent-dark); }

.fq-beta-status {
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
}

.fq-beta-status[data-tone="success"] { background: var(--fq-accent-soft); color: var(--fq-accent-dark); }
.fq-beta-status[data-tone="error"] { background: #fbe9e9; color: #8a2c2c; }
.fq-beta-status[data-tone="pending"] { background: var(--fq-line-soft); color: var(--fq-muted); }

.fq-beta-noscript {
  font-size: 13px;
  color: var(--fq-muted);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .fq-beta-card { grid-template-columns: 1fr; padding: 28px; }
  .fq-beta-row { grid-template-columns: 1fr; }
  .fq-nav { flex-wrap: wrap; }
  .fq-nav-toggle { display: flex; order: 2; }
  .fq-nav-links {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-top: 12px;
    font-size: 16px;
  }
  .fq-nav-links a {
    padding: 12px 6px;
    border-radius: 10px;
  }
  .fq-nav-links a:hover { background: var(--fq-accent-soft); }
  .fq-nav-toggle-cb:checked ~ .fq-nav-links { display: flex; }

  .fq-hero,
  .fq-section-head.split,
  .fq-mythreal,
  .fq-article-layout {
    grid-template-columns: 1fr;
  }

  .fq-hero { padding: 44px 0 40px; gap: 32px; }

  .fq-card-stack { min-height: 280px; }

  .fq-lines { grid-template-columns: 1fr; }
  .fq-line-step {
    border-right: 0;
    border-bottom: 1px dashed var(--fq-line);
  }
  .fq-line-step:last-child { border-bottom: 0; }
  .fq-line-arrow { display: none; }

  .fq-question-grid { column-count: 1; }

  .fq-side { position: static; }

  .fq-footer-inner { flex-direction: column; align-items: flex-start; }

  .cookie-consent { grid-template-columns: 1fr; }
  .cookie-consent__actions { justify-content: stretch; }
  .cookie-consent__actions .fq-btn { flex: 1 1 190px; }
}

@media (max-width: 480px) {
  .fq-container { padding: 0 18px; }
  h1 { font-size: 32px; line-height: 1.15; }
  .fq-hero-lead { font-size: 17px; }
  .fq-section { padding: 48px 0; }
  .fq-quiz-step, .fq-quiz-result { padding: 24px; }
  .fq-quiz-preview { padding: 24px; }
  .fq-card-stack-piece { padding: 18px; }
  .fq-card-stack-piece .fq-mini-q { font-size: 16px; }
}

/* ---------- Skip link / a11y ---------- */

.fq-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--fq-accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
}

.fq-skip:focus {
  left: 12px;
  top: 12px;
}

/* ---------- Visually-hidden ---------- */

.fq-vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
