/* Lexordo.de — Stylesheet v4 "Modern Legal"
   Serif-Display + Sans-UI, Tiefblau/Gold-Palette, klare Hierarchie.
   Basispalette: Ink #1a365d, Gold #c9a227, Papier #faf9f7.
   Erfolg/Warnung als semantische Farben. */

@font-face {
  font-family: "Source Serif 4 Variable";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/source-serif-4-latin-wght-normal.woff2?v=197cc326af") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+20AC, U+2212;
}
@font-face {
  font-family: "Source Serif 4 Variable";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/source-serif-4-latin-ext-wght-normal.woff2?v=24102cbae8") format("woff2-variations");
  unicode-range: U+0100-02BA, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+20AC, U+2212;
}
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Palette */
  --ink: #1a365d;
  --ink-strong: #12294a;
  --gold: #b8912a;
  --gold-strong: #9a7a1f;
  --paper: #faf9f7;
  --paper-warm: #f4f1ea;
  --success: #276749;
  --success-bg: #f0fff4;
  --warn: #b7791f;
  --warn-bg: #fffaf0;
  --bad: #9b2c2c;
  --bad-bg: #fff5f5;

  /* Ink-Abstufungen */
  --ink-70: rgba(26,54,93,.85);
  --ink-60: rgba(26,54,93,.72);
  --ink-40: rgba(26,54,93,.42);
  --ink-30: rgba(26,54,93,.28);
  --ink-12: rgba(26,54,93,.1);
  --ink-06: rgba(26,54,93,.05);

  /* Typo */
  --serif: "Source Serif 4 Variable", Georgia, "Times New Roman", serif;
  --sans: "Inter Variable", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --max-width: 1140px;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 3px rgba(18,41,74,.08);
  --shadow-md: 0 4px 14px rgba(18,41,74,.1);
  --shadow-lg: 0 12px 32px rgba(18,41,74,.14);
  --focus-ring: 3px solid rgba(184,145,42,.65);

  /* Kompatibilität (alte Variablen) */
  --color-bg: var(--paper);
  --color-bg-alt: var(--ink-06);
  --color-bg-card: #ffffff;
  --color-primary: var(--ink);
  --color-accent: var(--gold);
  --color-accent-dark: var(--gold-strong);
  --color-text: #22344f;
  --color-text-muted: var(--ink-60);
  --color-border: var(--ink-30);
  --color-success-bg: var(--success-bg);
  --color-success-border: var(--success);
  --color-warn-bg: var(--warn-bg);
  --color-warn-border: var(--warn);
  --color-bad-bg: var(--bad-bg);
  --color-bad-border: var(--bad);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--serif);
  color: #22344f;
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
::selection { background: var(--gold); color: #fff; }
img, video { max-width: 100%; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink-strong); text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: var(--focus-ring); outline-offset: 2px; border-radius: 2px;
}
h1, h2, h3, h4 { color: var(--ink-strong); line-height: 1.2; font-weight: 600; letter-spacing: 0; }
h1 { font-size: 2.3rem; margin: 0 0 .6em; }
h2 { font-size: 1.65rem; margin: 1.8em 0 .6em; }
h3 { font-size: 1.2rem; margin: 1.4em 0 .5em; }
p { margin: 0 0 1em; }
.lead { font-size: 1.14rem; color: var(--ink-70); max-width: 62ch; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.kicker, .cta-ad-label, .progress-label {
  font-family: var(--sans);
  text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; font-weight: 600;
  color: var(--gold-strong);
}

/* ---------- Scroll-Fortschritt ---------- */
.progress-ink { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--gold); z-index: 60; transition: width .1s linear; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,249,247,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-12);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px;
  padding-top: 14px; padding-bottom: 13px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: 1.15rem; letter-spacing: .06em;
  color: var(--ink-strong); text-decoration: none;
}
.brand-mark { height: 30px; width: 30px; display: block; }
.nav-toggle {
  display: inline-flex; flex-direction: column; background: none; border: 1px solid var(--ink-30);
  border-radius: var(--radius-sm); padding: 8px 10px; cursor: pointer;
}
.nav-toggle .bar { display: block; width: 20px; height: 2px; background: var(--ink); margin: 2.5px 0; }
.main-nav { display: none; flex-direction: column; gap: 2px; width: 100%; }
.main-nav.open { display: flex; }
.main-nav a {
  font-family: var(--sans);
  display: block; padding: 10px 4px; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--ink-12);
  font-size: .92rem; font-weight: 500; letter-spacing: .02em;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--ink-strong); }
.main-nav a.cta-nav {
  background: var(--ink); color: #fff; text-align: center;
  padding: 10px 22px; border: none; border-radius: var(--radius-sm);
  font-weight: 600;
  transition: background .2s ease, transform .15s ease;
}
.main-nav a.cta-nav:hover { background: var(--ink-strong); color: #fff; }
@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .main-nav { display: flex !important; flex-direction: row; align-items: center; width: auto; gap: 28px; }
  .main-nav a { border-bottom: 2px solid transparent; padding: 4px 0 3px; }
  .main-nav a:hover { border-color: var(--gold); }
  .main-nav a.cta-nav { padding: 10px 22px; border-bottom: none; }
}

/* ---------- Mäanderband ---------- */
.meander.brand-band {
  display: block; height: 40px; opacity: .8;
  background-image: url('/img/lexordo-wordmark.png?v=08dca7d8e9'), url('/img/lexordo-tile.png?v=71dcbf6e9b');
  background-repeat: no-repeat, repeat-x;
  background-position: center center, left center;
  background-size: auto 40px, auto 40px;
  text-decoration: none;
}
.meander.brand-band.band-plain { background-image: url('/img/lexordo-tile.png?v=71dcbf6e9b'); background-repeat: repeat-x; }
@media (max-width: 560px) {
  .meander.brand-band { height: 30px; background-size: auto 30px, auto 30px; }
}

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative; min-height: min(92vh, 860px);
  display: flex; align-items: center;
  padding: 40px 0 60px;
}
.hero > .container { flex: 1 1 100%; width: 100%; min-width: 0; }
.hero-stage { position: absolute; inset: 0; overflow: visible; pointer-events: none; }
.ring {
  position: absolute; top: 46%; right: -8vw;
  width: min(78vh, 46vw); aspect-ratio: 1;
  transform: translateY(-50%); will-change: transform;
}
.ring svg { width: 100%; height: 100%; display: block; }
.hero-stage .hero-goddess {
  position: absolute; top: 47%; right: 1vw; left: auto;
  height: min(94vh, 118vw);
  transform: translateY(-50%);
  will-change: transform;
}
.hero-goddess img { height: 100%; width: auto; display: block; }
.fig-wrap { position: relative; display: inline-block; height: 100%; }
.fig-wrap img { position: relative; z-index: 2; }
.fig-occluder {
  position: absolute; inset: 0; z-index: 1;
  background: var(--paper); pointer-events: none;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
@media (max-width: 880px) {
  .hero { min-height: auto; padding-top: 40px; }
  .hero-stage { position: static; }
  .ring { right: -34vw; width: 100vw; top: 40%; opacity: .5; }
  .hero-stage .hero-goddess { position: relative; inset: auto; height: 62vh; margin: 26px auto 0; transform: none; display: block; }
}
.hero-copy { position: relative; z-index: 2; max-width: min(600px, 44vw); }
.hero-copy .lead { max-width: 46ch; }
@media (max-width: 880px) { .hero-copy, .hero-copy .lead { max-width: 100%; } }
.hero-copy h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.3rem);
  margin: 14px 0 20px;
  font-weight: 650;
  letter-spacing: -.01em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 32px 0 0; padding: 0;
  list-style: none; font-family: var(--sans); font-size: .88rem; color: var(--ink-70);
}
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges li::before {
  content: ""; flex: none; width: 18px; height: 18px;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  border-radius: 50%;
}
.scroll-hint {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 2;
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .28em; font-size: .72rem; color: var(--ink-60);
}
.scroll-hint span { display: inline-block; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ---------- Seiten-Hero (Hubs) ---------- */
.page-hero { position: relative; padding: 14px 0 0; display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center; }
@media (min-width: 860px) { .page-hero { grid-template-columns: 3fr 2fr; } }
.page-hero .lead { margin-bottom: 0; }
.page-goddess { text-align: center; }
.page-goddess img { height: min(38vh, 330px); width: auto; max-width: 100%; }
.page-goddess .caption {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .18em;
  font-size: .72rem; color: var(--ink-60); display: block; margin-top: 10px;
}
.page-goddess::after { content: ""; display: block; margin: 8px auto 0; width: 55%; border-bottom: 2px solid var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 600; font-size: .95rem;
  letter-spacing: .02em; text-decoration: none; text-align: center;
  padding: 14px 30px; border: 2px solid transparent; border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.btn-primary {
  background: var(--ink); color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--ink-strong); color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: transparent; color: var(--ink); border-color: var(--ink-40);
}
.btn-secondary:hover {
  border-color: var(--ink); background: var(--ink-06); color: var(--ink-strong);
}
.btn-accent {
  background: var(--gold); color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-accent:hover {
  background: var(--gold-strong); color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-block { display: block; width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Göttinnen-Siegel (Startseite) ---------- */
.seal-grid { display: grid; grid-template-columns: 1fr; gap: 48px 32px; margin: 56px 0 30px; }
@media (min-width: 640px) { .seal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .seal-grid { grid-template-columns: repeat(3, 1fr); } }
.seal {
  display: block; text-decoration: none; color: var(--ink); text-align: center; position: relative;
  background: #fff; border: 1px solid var(--ink-12); border-radius: var(--radius);
  padding: 28px 20px 24px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.seal:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.seal-fig { position: relative; height: 260px; display: flex; align-items: flex-end; justify-content: center; }
.seal-fig .fig-wrap {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.2s cubic-bezier(.6,0,.2,1), transform .5s ease;
  will-change: transform;
}
.seal-fig img { height: 100%; width: auto; max-width: 100%; object-fit: contain; display: block; }
.seal.is-visible .seal-fig .fig-wrap { clip-path: inset(0 0 0 0); }
.seal:hover .seal-fig .fig-wrap { transform: scale(1.04); }
.seal-fig::after {
  content: ""; position: absolute; bottom: -12px; left: 22%; right: 22%;
  border-bottom: 2px solid var(--gold);
  transform: scaleX(0); transition: transform .9s ease .4s;
}
.seal.is-visible .seal-fig::after { transform: scaleX(1); }
.seal-ring {
  position: absolute; top: 6%; left: 50%; width: 72%; aspect-ratio: 1;
  transform: translateX(-50%); opacity: .4; transition: opacity .4s ease; pointer-events: none;
}
.seal:hover .seal-ring { opacity: .8; }
.seal-ring svg { width: 100%; height: 100%; }
.seal:hover .seal-ring svg { animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.seal h3 {
  font-family: var(--sans); font-weight: 600; letter-spacing: .02em;
  font-size: 1.08rem; margin: 24px 0 4px; color: var(--ink-strong);
}
.seal p { font-size: .88rem; color: var(--ink-60); margin: 0; }
.seal .small { font-family: var(--sans); }

/* ---------- Sektionen / Karten ---------- */
section { margin: clamp(48px, 7vh, 80px) 0; }
section:first-child { margin-top: clamp(28px, 4vh, 44px); }
.sec-head { text-align: center; max-width: 62ch; margin: 0 auto; }
.hr-orn {
  display: flex; align-items: center; gap: 14px; margin: 14px auto 0;
  color: var(--gold); max-width: 420px; font-size: 1.1rem;
}
.hr-orn::before, .hr-orn::after { content: ""; flex: 1; border-top: 1px solid var(--ink-30); }

.card {
  background: #fff; border: 1px solid var(--ink-12); border-radius: var(--radius);
  padding: 26px 28px; margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.tile-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin: 28px 0 40px; }
@media (min-width: 620px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .tile-grid { grid-template-columns: repeat(3, 1fr); } }
.tile {
  display: block; background: #fff; border: 1px solid var(--ink-12); border-radius: var(--radius);
  padding: 24px;
  text-decoration: none; color: inherit;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.tile:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.tile .tile-icon { font-size: 1.6rem; }
.tile h3 {
  margin: 12px 0 6px; font-size: 1.05rem;
  font-family: var(--sans); font-weight: 600; letter-spacing: .01em;
  color: var(--ink-strong);
}
.tile p { margin: 0; color: var(--ink-60); font-size: .92rem; font-family: var(--sans); }

.steps { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps .card {
  border: 1px solid var(--ink-12); border-top: 3px solid var(--gold);
  padding: 24px 26px;
}
.step-num {
  display: inline-block; font-family: var(--serif); font-size: 1.9rem; font-weight: 600;
  color: var(--gold); margin-bottom: 6px;
}
.step-num::after { content: "."; }

.trust-box {
  background: #fff; border: 1px solid var(--ink-12); border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px 26px; font-size: .95rem; color: var(--ink-70);
  box-shadow: var(--shadow-sm);
}
.trust-box strong { color: var(--ink-strong); }

/* ---------- Selbst-Check-Teaser ---------- */
.check-teaser {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-strong) 100%);
  color: #fff; padding: 32px 34px; margin: 32px 0; border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.check-teaser h3 { color: #fff; margin-top: 0; }
.check-teaser p { color: rgba(255,255,255,.85); }
.check-teaser .btn-primary { background: var(--gold); color: #fff; border-color: transparent; }
.check-teaser .btn-primary:hover { background: var(--gold-strong); color: #fff; }

/* ---------- Anwalts-CTA ---------- */
.cta-block {
  background: #fff; border: 1px solid var(--ink-12); border-radius: var(--radius);
  border-top: 3px solid var(--gold);
  padding: 30px 32px; margin: 40px 0 20px; position: relative;
  box-shadow: var(--shadow-sm);
}
.cta-block h2 { margin-top: 0; }
.cta-ad-label {
  display: inline-block; border: 1px solid var(--ink-30); border-radius: 4px;
  padding: 3px 10px; margin-top: 12px;
  color: var(--ink-60);
}
.cta-fineprint { font-size: .82rem; color: var(--ink-60); margin-top: 14px; font-family: var(--sans); }
.disclaimer { font-size: .82rem; color: var(--ink-60); font-family: var(--sans); }

/* ---------- Footer ---------- */
.site-footer { border-top: 0; background: transparent; padding: 36px 0 44px; margin-top: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 18px; }
.footer-links a {
  color: var(--ink-70); text-decoration: none;
  font-family: var(--sans); font-size: .88rem; font-weight: 500;
}
.footer-links a:hover { color: var(--ink-strong); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  font-size: .82rem; color: var(--ink-60); margin: 18px 0;
  font-family: var(--sans); letter-spacing: .02em;
}
.breadcrumbs a { color: var(--ink-60); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink-strong); }

/* ---------- Inhaltsseiten ---------- */
.thema-index {
  background: #fff; border: 1px solid var(--ink-12); border-radius: var(--radius);
  padding: 20px 26px; margin: 30px 0 34px;
  box-shadow: var(--shadow-sm);
}
.thema-index ol {
  list-style: none; margin: 10px 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 6px 32px; counter-reset: ti;
}
@media (min-width: 700px) { .thema-index ol { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .thema-index ol { grid-template-columns: repeat(3, 1fr); } }
.thema-index li { counter-increment: ti; }
.thema-index a {
  text-decoration: none; font-size: .95rem; display: inline-block; padding: 3px 0;
  border-bottom: 1px solid transparent;
  font-family: var(--sans);
}
.thema-index a::before { content: counter(ti) ". "; color: var(--gold-strong); font-variant-numeric: tabular-nums; font-weight: 600; }
.thema-index a:hover { border-bottom-color: var(--gold); color: var(--ink-strong); }

.item { margin-bottom: 22px; scroll-margin-top: 96px; }
.item h2 { margin-top: 0; display: flex; align-items: baseline; gap: 12px; }
.item-num {
  flex: none; font-size: .8em; font-variant-numeric: tabular-nums;
  color: var(--gold-strong); border-bottom: 2px solid var(--gold); line-height: 1.1;
}
.item-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.item h3 { margin-bottom: 4px; }
.item p, .item ul, .item ol { max-width: 72ch; }
.item li { max-width: none; }
section > h2:first-child { position: relative; padding-bottom: 10px; }
section > h2:first-child::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; border-bottom: 3px solid var(--gold); }

.case-block {
  background: #fff; border: 1px solid var(--ink-12); border-left: 4px solid var(--ink);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 24px; margin: 26px 0;
  box-shadow: var(--shadow-sm);
}
.case-block h4 { margin: 0 0 8px; font-size: 1.1rem; color: var(--ink-strong); }
.case-block .label {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 600;
  color: var(--ink-60); display: block; margin: 14px 0 4px;
}
.case-block .fazit { font-style: italic; margin-top: 14px; color: var(--ink-strong); }
.case-block .fazit::before { content: "❦ "; color: var(--gold); }

details.faq-item {
  background: #fff; border: 1px solid var(--ink-12); border-radius: var(--radius);
  padding: 14px 20px; margin-bottom: 10px;
}
details.faq-item summary { cursor: pointer; font-weight: 600; color: var(--ink-strong); font-family: var(--sans); font-size: .98rem; }
details.faq-item summary::marker { color: var(--gold); }
details.faq-item p { margin-top: 10px; max-width: 72ch; }

/* ---------- Check-Widget ---------- */
.check-widget {
  background: #fff;
  border: 1px solid var(--ink-12);
  border-radius: var(--radius);
  padding: 36px 38px 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform-origin: left center;
  transition: transform .5s cubic-bezier(.5,0,.3,1), opacity .5s ease;
}
.check-widget.turning { transform: rotateY(-88deg); opacity: 0; }
#check-app { perspective: 1800px; }

.progress-bar {
  height: 6px; background: var(--ink-12); border-radius: 3px;
  overflow: hidden; margin-bottom: 26px;
}
.progress-bar-fill {
  height: 100%; background: linear-gradient(90deg, var(--ink), var(--gold));
  border-radius: 3px;
  transition: width .35s ease;
}
.question-text {
  font-size: 1.3rem; font-weight: 600; color: var(--ink-strong);
  margin-bottom: 22px; line-height: 1.35;
}
.options-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.option-btn {
  font-family: var(--sans); font-size: .98rem;
  text-align: left; color: var(--ink);
  background: #fff; border: 1.5px solid var(--ink-30); border-radius: var(--radius-sm);
  padding: 15px 20px; cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .15s ease, box-shadow .2s ease;
}
.option-btn:hover {
  border-color: var(--gold); background: var(--paper-warm);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.option-unknown { color: var(--ink-60); font-style: italic; }
.check-nav { display: flex; justify-content: space-between; align-items: center; }

/* Zwischenfeedback im Check */
.check-ack {
  font-family: var(--sans); font-size: .85rem; color: var(--success);
  margin: -8px 0 18px; font-weight: 500;
}

/* Ergebnis-Label über der Headline */
.result-label {
  display: inline-block; font-family: var(--sans); font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; font-size: .72rem;
  padding: 4px 12px; border-radius: 4px; margin-bottom: 12px;
}
.tier-A .result-label { background: var(--success); color: #fff; }
.tier-B .result-label { background: var(--warn); color: #fff; }
.tier-C .result-label { background: var(--bad); color: #fff; }

/* Ergebnis-Stufen: semantische Farben */
.result-tier {
  padding: 26px 28px 22px; margin-bottom: 24px; position: relative;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.result-tier h2 { margin-top: 0; }
.result-tier.tier-A {
  border: 1px solid var(--success);
  border-left: 5px solid var(--success);
  background: var(--success-bg);
}
.result-tier.tier-B {
  border: 1px solid var(--warn);
  border-left: 5px solid var(--warn);
  background: var(--warn-bg);
}
.result-tier.tier-C {
  border: 1px solid var(--bad);
  border-left: 5px solid var(--bad);
  background: var(--bad-bg);
}

.factor-list { list-style: none; padding: 0; margin: 0 0 20px; }
.factor-list li {
  padding: 12px 0 12px 30px; position: relative;
  border-bottom: 1px solid var(--ink-12);
}
.factor-list li::before { content: "❧"; position: absolute; left: 0; top: 10px; color: var(--gold); }
.factor-list li a { font-size: .85rem; display: block; margin-top: 2px; font-family: var(--sans); }

.rule-highlight {
  background: #fff; border: 1px solid var(--ink-12); border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 20px; margin-bottom: 16px;
}
.rule-highlight strong { display: block; margin-bottom: 4px; color: var(--ink-strong); }
.rule-highlight p { margin: 0 0 6px; }
.rule-highlight a { font-size: .85rem; font-family: var(--sans); }

.next-steps {
  background: #fff; border: 1px solid var(--ink-12); border-radius: var(--radius);
  padding: 22px 26px; margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.next-steps h3 { margin-top: 0; }
.next-steps ul { margin: 0; padding-left: 20px; }
.next-steps li { margin-bottom: 6px; }

.js-required-note { display: none; }
noscript .js-required-note-ns { display: block; border: 1px dashed var(--bad); border-radius: var(--radius-sm); padding: 16px; background: var(--bad-bg); }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Utility ---------- */
.text-muted { color: var(--ink-60); }
.small { font-size: .88rem; }
.mt-0 { margin-top: 0; }
.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;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .seal-fig .fig-wrap { clip-path: none !important; transition: none; }
  .seal-ring svg, .scroll-hint span { animation: none; }
  .check-widget { transition: none; }
  .btn, .tile, .option-btn { transition: none; }
}
