/* aiworker.ch – Teaser (AW-001, Claude Opus 5.5, 20.11.2026). Keine externen Quellen (CSP style-src/font-src 'self').
   Farben aus dem Masterprompt Abschnitt 04, Kontraste geprüft in tests/test_seiten.py. Dunkel ist Standard, hell per Schalter. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-wght.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #101122;
  --bg-2: #17172b;
  --raised: #1b1a31;
  --elev: #25243f;
  --line: rgba(237, 229, 251, 0.09);
  --line-strong: rgba(237, 229, 251, 0.17);
  --text: #f2effb;
  --text-2: #b0a9c8;
  --muted: #9089aa;
  --brand: #8650e9;
  --brand-hi: #b991ff;
  --brand-text: #c4a3ff;
  --soft: #ede5fb;
  --warm: #e9ad6c;
  --warm-bg: rgba(233, 173, 108, 0.12);
  --ok: #4cc995;
  --ok-bg: rgba(76, 201, 149, 0.12);
  --btn: #8650e9;
  --btn-hover: #9563f0;
  --on-btn: #ffffff;
  --glow: rgba(134, 80, 233, 0.26);
  --warm-glow: rgba(233, 173, 108, 0.07);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 30px 80px -30px rgba(0, 0, 0, 0.7), 0 12px 30px -18px rgba(0, 0, 0, 0.6);
  --header-bg: rgba(16, 17, 34, 0.78);
  /* Signet (brand/marke.json): vordere Fläche Violettverlauf, hintere kühler Lavendel, Schatten in der Falte; «.ch» leiser */
  --mk-v1: #a480f6; --mk-v2: #7b47e1; --mk-l1: #c6bafe; --mk-l2: #a999f5; --mk-f1: #3b2485; --mk-f2: #4d2fa6; --mk-ch: #a9a1c6;
  /* Etagen-Grafik */
  --slab-top: #2a2946; --slab-l: #1c1b33; --slab-r: #23223c; --slab-edge: rgba(237, 229, 251, 0.16);
  --pillar: rgba(237, 229, 251, 0.12);
  --human: #e9c39b; --agent: #b991ff;
  --desk-t: #3a3858; --desk-l: #24233d; --desk-r: #2e2d4a;
  /* helle Regelkarte (wie der Inspector im Entwurf, in beiden Darstellungen hell) */
  --card-bg: #f7f5fd; --card-text: #241f3a; --card-2: #5d5674; --card-line: #e0d9ef; --card-brand: #6b3bd6;
  --radius: 14px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f5fd;
  --bg-2: #ffffff;
  --raised: #ffffff;
  --elev: #efebfa;
  --line: #e4ddf1;
  --line-strong: #d3c9e8;
  --text: #241f3a;
  --text-2: #554e6c;
  --muted: #6a6280;
  --brand-text: #6b3bd6;
  --warm: #9a5410;
  --warm-bg: rgba(233, 150, 60, 0.13);
  --ok: #157552;
  --ok-bg: rgba(25, 134, 93, 0.1);
  --btn: #7443db;
  --btn-hover: #6634cf;
  --glow: rgba(134, 80, 233, 0.16);
  --warm-glow: rgba(233, 160, 90, 0.1);
  --shadow: 0 30px 70px -36px rgba(52, 33, 110, 0.35), 0 10px 26px -18px rgba(52, 33, 110, 0.3);
  --header-bg: rgba(247, 245, 253, 0.82);
  --mk-v1: #8e5aec; --mk-v2: #6636cd; --mk-l1: #a292f2; --mk-l2: #8b79e6; --mk-f1: #38207f; --mk-f2: #48299a; --mk-ch: #736b88;
  --slab-top: #ffffff; --slab-l: #e6e0f4; --slab-r: #f0ecfa; --slab-edge: #cfc5e6;
  --pillar: #d8d0ea;
  --human: #b9773a; --agent: #7443db;
  --desk-t: #ece6f8; --desk-l: #d5cbea; --desk-r: #e1d9f1;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-text); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--brand-hi); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(134, 80, 233, 0.35); }
.nw { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--btn); color: var(--on-btn); padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

.w { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .w { padding: 0 32px; } }

/* Kopf */
.kopf {
  position: sticky; top: 0; z-index: 20;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.kopf .w { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.marke { display: inline-flex; align-items: center; color: var(--text); text-decoration: none; flex: none; border-radius: 6px; }
.marke svg { display: block; width: auto; height: 28px; }
.mk-v1 { stop-color: var(--mk-v1); } .mk-v2 { stop-color: var(--mk-v2); }
.mk-l1 { stop-color: var(--mk-l1); } .mk-l2 { stop-color: var(--mk-l2); }
.mk-f1 { stop-color: var(--mk-f1); } .mk-f2 { stop-color: var(--mk-f2); }
.mk-wort { fill: var(--text); } .mk-ch { fill: var(--mk-ch); }
.nav { display: none; gap: 4px; margin-left: 20px; }
.nav a { color: var(--text-2); text-decoration: none; font-size: 0.875rem; font-weight: 500; padding: 8px 12px; border-radius: 999px; transition: color 0.2s, background 0.2s; }
.nav a:hover { color: var(--text); background: var(--line); }
@media (min-width: 1000px) { .nav { display: flex; } }
.kopf-rechts { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.thema {
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent;
  color: var(--text-2); display: inline-grid; place-items: center; cursor: pointer; transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.thema:hover { color: var(--text); background: var(--line); }
.thema svg { width: 18px; height: 18px; }
.thema .sonne { display: none; }
:root[data-theme="light"] .thema .sonne { display: block; }
:root[data-theme="light"] .thema .mond { display: none; }

/* Knöpfe */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 12px;
  font: inherit; font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.2s var(--ease), border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-p { background: var(--btn); color: var(--on-btn); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 8px 24px -10px rgba(134, 80, 233, 0.7); }
.btn-p:hover { background: var(--btn-hover); text-decoration: none; }
.btn-p:active { transform: translateY(1px); }
.btn-s { background: transparent; color: var(--text); border: 1px solid var(--line-strong); }
.btn-s:hover { background: var(--line); text-decoration: none; }
.btn-klein { min-height: 40px; padding: 0 14px; font-size: 0.875rem; border-radius: 10px; }
@media (max-width: 420px) { .btn-klein svg { display: none; } .btn-klein { padding: 0 12px; } }

/* Hero */
.hero { position: relative; padding: 64px 0 40px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 45% at 50% 18%, var(--glow), transparent 70%),
    radial-gradient(40% 40% at 8% 90%, var(--warm-glow), transparent 70%);
}
.hero-text { max-width: 840px; margin: 0 auto; text-align: center; }
.augenbraue {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-2);
}
.augenbraue::before { content: ""; width: 22px; height: 1px; background: linear-gradient(90deg, transparent, var(--brand-hi)); }
.augenbraue::after { content: ""; width: 22px; height: 1px; background: linear-gradient(90deg, var(--brand-hi), transparent); }
h1, h2, h3 { margin: 0; letter-spacing: -0.022em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4rem); font-weight: 720; letter-spacing: -0.032em; line-height: 1.04; }
h1 em { font-style: normal; background: linear-gradient(100deg, #b991ff, #8f63f2 55%, #c9b2ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="light"] h1 em { background: linear-gradient(100deg, #7443db, #5a2fc2 60%, #8650e9); -webkit-background-clip: text; background-clip: text; }
.unterzeile { margin: 20px auto 0; max-width: 640px; font-size: clamp(1.06rem, 0.98rem + 0.4vw, 1.25rem); line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.cta-reihe { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.status-chip {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); font-size: 0.8125rem; color: var(--text-2);
}
.status-chip .punkt { width: 7px; height: 7px; border-radius: 50%; background: var(--warm); box-shadow: 0 0 0 4px var(--warm-bg); }

.entwurf { margin: 56px auto 0; max-width: 1200px; }
.entwurf-rahmen {
  position: relative; border-radius: var(--radius-lg); padding: 8px;
  background: linear-gradient(180deg, var(--line-strong), var(--line) 40%, transparent);
  box-shadow: var(--shadow);
}
.entwurf-rahmen::before {
  /* violette Lichtlinie über der Kante */
  content: ""; position: absolute; top: 0; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-hi), transparent); opacity: 0.9;
}
.entwurf-bild { border-radius: 14px; overflow: hidden; background: var(--bg-2); aspect-ratio: 1672 / 909; }
.entwurf-bild img { width: 100%; height: 100%; object-fit: cover; }
.entwurf-marke {
  position: absolute; top: 20px; left: 20px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: rgba(16, 17, 34, 0.82); color: #f2effb; border: 1px solid rgba(237, 229, 251, 0.22);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.entwurf-marke svg { width: 14px; height: 14px; }
.entwurf figcaption { margin: 14px 4px 0; font-size: 0.8125rem; color: var(--muted); text-align: center; text-wrap: pretty; }
@media (max-width: 560px) {
  .entwurf { margin-top: 40px; }
  .entwurf-rahmen { padding: 5px; border-radius: 14px; }
  .entwurf-bild { border-radius: 10px; }
  .entwurf-marke { top: 12px; left: 12px; font-size: 0.6875rem; padding: 4px 10px; }
}

/* Abschnitte */
.abschnitt { padding: 88px 0; border-top: 1px solid var(--line); }
@media (max-width: 767px) { .abschnitt { padding: 64px 0; } }
.kopfzeile { max-width: 720px; margin-bottom: 44px; }
.etikett { margin: 0 0 14px; font-size: 0.75rem; font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-text); }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); font-weight: 700; }
.kopfzeile p:not(.etikett) { margin: 16px 0 0; color: var(--text-2); font-size: 1.0625rem; text-wrap: pretty; }

.karten { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .karten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .karten { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.karte {
  position: relative; padding: 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--raised), var(--bg-2)); border: 1px solid var(--line);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.karte:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.karte .nr { position: absolute; top: 22px; right: 22px; font-size: 0.75rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.karte .ikon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(134, 80, 233, 0.14); color: var(--brand-text); margin-bottom: 20px; border: 1px solid rgba(185, 145, 255, 0.2); }
.karte .ikon svg { width: 22px; height: 22px; }
.karte h3 { font-size: 1.125rem; font-weight: 650; letter-spacing: -0.012em; }
.karte p { margin: 10px 0 0; color: var(--text-2); font-size: 0.96875rem; line-height: 1.55; }

.zielgruppen { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.zielgruppen .titel { font-size: 0.875rem; color: var(--muted); margin-right: 6px; }
.pille { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 0.84375rem; color: var(--text-2); }

/* Etagen */
.etagen { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1024px) { .etagen { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; } }
.haus { position: relative; max-width: 460px; margin: 0 auto; width: 100%; }
@media (min-width: 1024px) { .haus { position: sticky; top: 110px; } }
.haus svg { width: 100%; height: auto; overflow: visible; }
.haus .top { fill: var(--slab-top); stroke: var(--slab-edge); stroke-width: 1; }
.haus .sl { fill: var(--slab-l); }
.haus .sr { fill: var(--slab-r); }
.haus .saeule { stroke: var(--pillar); stroke-width: 1.4; }
.haus .nr { fill: var(--muted); font-size: 13px; font-weight: 600; font-family: inherit; }
.haus .aktiv .top { fill: url(#haus-glow); stroke: var(--brand-hi); stroke-width: 1.4; }
.haus .aktiv .sl, .haus .aktiv .sr { fill: #3a2a6e; }
:root[data-theme="light"] .haus .aktiv .sl, :root[data-theme="light"] .haus .aktiv .sr { fill: #cdbcf6; }
.haus .aktiv .nr { fill: var(--brand-text); }
.haus .mensch { fill: var(--human); }
.haus .hg1 { stop-color: #5a38b8; } .haus .hg2 { stop-color: #2c2258; }
:root[data-theme="light"] .haus .hg1 { stop-color: #d9c9fd; } :root[data-theme="light"] .haus .hg2 { stop-color: #b598f6; }
.haus .hs1 { stop-color: #000; stop-opacity: 0.35; }
:root[data-theme="light"] .haus .hs1 { stop-opacity: 0.12; }
.haus .tisch-t { fill: var(--desk-t); } .haus .tisch-l { fill: var(--desk-l); } .haus .tisch-r { fill: var(--desk-r); }
.haus .aktiv .tisch-t { fill: #6d4fd0; }
:root[data-theme="light"] .haus .aktiv .tisch-t { fill: #f4efff; }
.haus .ki { fill: var(--agent); }
.haus .ki-halo { fill: var(--agent); opacity: 0.22; }
.haus .fluss { fill: none; stroke: var(--brand-hi); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 3 5; opacity: 0.85; }
.haus .sweep { fill: none; stroke: #e7dcff; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 46 400; stroke-dashoffset: 446; opacity: 0.9; animation: sweep 5.5s var(--ease) infinite 1.2s; }
@keyframes sweep { 0% { stroke-dashoffset: 446; } 55%, 100% { stroke-dashoffset: 0; } }
.haus figcaption { margin-top: 10px; text-align: center; font-size: 0.8125rem; color: var(--muted); }
.legende { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 0.8125rem; color: var(--text-2); }
.legende span { display: inline-flex; align-items: center; gap: 7px; }
.legende i { width: 10px; height: 10px; display: inline-block; }
.legende .l-m { border-radius: 50%; background: var(--human); }
.legende .l-k { background: var(--agent); transform: rotate(45deg); width: 9px; height: 9px; }
.legende .l-f { width: 18px; height: 0; border-top: 2px dashed var(--brand-hi); }

.etagen-liste { display: grid; gap: 10px; }
.etage { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); transition: border-color 0.25s var(--ease), background 0.25s; }
.etage[open] { border-color: rgba(185, 145, 255, 0.45); background: linear-gradient(180deg, rgba(134, 80, 233, 0.09), var(--bg-2) 60%); }
.etage summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); }
.etage summary::-webkit-details-marker { display: none; }
.etage summary:hover .e-name { color: var(--brand-text); }
.e-nr { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-weight: 650; font-size: 0.875rem; color: var(--text-2); border: 1px solid var(--line-strong); font-variant-numeric: tabular-nums; }
.etage[open] .e-nr { background: var(--btn); color: var(--on-btn); border-color: transparent; }
.e-name { display: block; font-weight: 650; font-size: 1.0625rem; letter-spacing: -0.012em; transition: color 0.2s; }
.e-wer { display: block; font-size: 0.875rem; color: var(--muted); margin-top: 2px; }
.e-pfeil { width: 18px; height: 18px; color: var(--muted); transition: transform 0.3s var(--ease); }
.etage[open] .e-pfeil { transform: rotate(180deg); color: var(--brand-text); }
.e-inhalt { padding: 0 18px 20px 72px; }
@media (max-width: 560px) { .e-inhalt { padding: 0 16px 18px; } .etage summary { padding: 14px 16px; gap: 12px; } }
.e-szene { margin: 0 0 14px; color: var(--text-2); font-size: 0.96875rem; }
.schritte { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; counter-reset: s; }
.schritte li { display: inline-flex; align-items: center; gap: 8px; }
.schritte li:not(:last-child)::after { content: "→"; color: var(--muted); font-size: 0.875rem; }
.schritte .chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px 7px 8px; border-radius: 10px; background: var(--raised); border: 1px solid var(--line); font-size: 0.875rem; line-height: 1.3; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 2px 7px; border-radius: 6px; font-size: 0.6875rem; font-weight: 650; letter-spacing: 0.02em; white-space: nowrap; }
.tag::before { content: ""; width: 7px; height: 7px; display: inline-block; }
.t-m { background: rgba(233, 195, 155, 0.14); color: var(--human); }
.t-m::before { border-radius: 50%; background: var(--human); }
.t-k { background: rgba(185, 145, 255, 0.14); color: var(--brand-text); }
.t-k::before { background: var(--agent); transform: rotate(45deg); width: 6px; height: 6px; }
.t-h { background: linear-gradient(90deg, rgba(233, 195, 155, 0.14), rgba(185, 145, 255, 0.16)); color: var(--text); }
.t-h::before { border-radius: 50%; background: linear-gradient(90deg, var(--human) 50%, var(--agent) 50%); }
.t-s { background: transparent; color: var(--muted); border: 1px dashed var(--line-strong); }
.t-s::before { display: none; }
:root[data-theme="light"] .t-m { background: rgba(185, 119, 58, 0.12); }
.e-hinweis { margin: 14px 0 0; font-size: 0.8125rem; color: var(--muted); }
.etagen-fuss { margin-top: 18px; font-size: 0.875rem; color: var(--muted); }

/* Kontrolle */
.kontrolle { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 1024px) { .kontrolle { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.grundsaetze { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.grundsaetze li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; }
.grundsaetze svg { width: 22px; height: 22px; color: var(--brand-text); margin-top: 2px; }
.grundsaetze strong { display: block; font-weight: 650; }
.grundsaetze span { color: var(--text-2); font-size: 0.96875rem; }

.regelkarte {
  background: var(--card-bg); color: var(--card-text); border-radius: var(--radius-lg); padding: 26px;
  box-shadow: var(--shadow); border: 1px solid var(--card-line); position: relative;
}
.regelkarte::before { content: ""; position: absolute; top: -1px; left: 24px; right: 24px; height: 2px; background: linear-gradient(90deg, transparent, #8650e9, transparent); border-radius: 2px; }
.rk-kopf { display: flex; align-items: flex-start; gap: 14px; }
.rk-ikon { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; background: linear-gradient(160deg, #9a6cf5, #6a3fd6); color: #fff; }
.rk-ikon svg { width: 22px; height: 22px; }
.rk-kopf h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; }
.rk-kopf p { margin: 4px 0 0; font-size: 0.875rem; color: var(--card-2); }
.rk-bsp { margin-left: auto; flex: none; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: #ede5fb; color: #5a2fc2; }
.regeln { margin: 22px 0 0; display: grid; gap: 0; border: 1px solid var(--card-line); border-radius: 12px; overflow: hidden; background: #fff; }
.regel { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 12px; padding: 13px 16px; font-size: 0.9rem; }
.regel + .regel { border-top: 1px solid var(--card-line); }
.regel dt { color: var(--card-2); }
.regel dd { margin: 0; font-weight: 600; }
.zahl { font-variant-numeric: tabular-nums; white-space: nowrap; }
.faelle { margin-top: 18px; display: grid; gap: 10px; }
.fall { border-radius: 12px; padding: 14px 16px; border: 1px solid var(--card-line); background: #fff; }
.fall-kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 0.875rem; }
.fall-kopf b { font-weight: 650; }
.fall-kopf .betrag { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; }
.pfad { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 0.8125rem; }
.pfad li { display: inline-flex; align-items: center; gap: 6px; }
.pfad li + li::before { content: ""; width: 14px; height: 1px; background: #b8acd6; display: inline-block; }
.st { padding: 3px 8px; border-radius: 6px; font-weight: 600; border: 1px solid transparent; }
.st-neu { background: #f1eef8; color: #4d4664; border-color: #e0d9ef; }
.st-frei { background: #ede5fb; color: #5a2fc2; }
.st-mensch { background: #fbefe2; color: #8a4a0c; }
.st-ok { background: #e3f4ec; color: #126b4a; }
.st-aus { background: #fdecd9; color: #8a4a0c; border-color: #f1c58f; }
.rk-fuss { margin: 16px 0 0; font-size: 0.8125rem; color: var(--card-2); }

/* Stand */
.stand { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .stand { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .stand { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stufe { position: relative; padding: 22px 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); }
.stufe.jetzt { border-color: rgba(185, 145, 255, 0.45); background: linear-gradient(180deg, rgba(134, 80, 233, 0.1), var(--bg-2)); }
.stufe-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.stufe .wann { font-size: 0.75rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.stufe.jetzt .wann { color: var(--brand-text); }
.zustand { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-2); white-space: nowrap; }
.zustand::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.zustand.z-ok { color: var(--ok); border-color: transparent; background: var(--ok-bg); }
.zustand.z-ok::before { background: var(--ok); }
.zustand.z-plan::before { background: var(--warm); }
.stufe h3 { font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.01em; }
.stufe p { margin: 8px 0 0; font-size: 0.9375rem; color: var(--text-2); }
.stand-fuss { margin-top: 22px; font-size: 0.875rem; color: var(--muted); }

/* FAQ */
.faq { max-width: 860px; }
.frage { border-bottom: 1px solid var(--line); }
.frage summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 2px; font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; border-radius: 8px; }
.frage summary::-webkit-details-marker { display: none; }
.frage summary:hover { color: var(--brand-text); }
.frage summary svg { width: 18px; height: 18px; flex: none; color: var(--muted); transition: transform 0.3s var(--ease); }
.frage[open] summary svg { transform: rotate(45deg); color: var(--brand-text); }
.frage .antwort { padding: 0 2px 22px; color: var(--text-2); max-width: 760px; }
.frage .antwort p { margin: 0; }
.frage .antwort p + p { margin-top: 10px; }

/* Abschluss */
.abschluss { padding: 24px 0 96px; }
.abschluss-karte {
  position: relative; overflow: hidden; border-radius: 24px; padding: 56px 28px; text-align: center; isolation: isolate;
  border: 1px solid rgba(185, 145, 255, 0.3);
  background: radial-gradient(80% 120% at 50% 0%, rgba(134, 80, 233, 0.28), transparent 60%), var(--bg-2);
}
:root[data-theme="light"] .abschluss-karte { background: radial-gradient(80% 120% at 50% 0%, rgba(134, 80, 233, 0.14), transparent 60%), #fff; }
.abschluss-karte h2 { max-width: 680px; margin: 0 auto; }
.abschluss-karte p { max-width: 600px; margin: 16px auto 0; color: var(--text-2); text-wrap: pretty; }
.abschluss-karte .mail { display: block; margin-top: 16px; font-size: 0.9375rem; color: var(--muted); }
.abschluss-karte .mail a { color: var(--text-2); }

/* Fuss */
.fuss { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 0.875rem; color: var(--muted); }
.fuss .w { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .fuss .w { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
.fuss .marke svg { height: 23px; }
.fuss p { margin: 10px 0 0; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.fuss nav a { color: var(--text-2); text-decoration: none; }
.fuss nav a:hover, .fuss nav a[aria-current="page"] { color: var(--text); text-decoration: underline; }

/* Rechtsseiten */
.rechtlich { padding: 64px 0 88px; }
.rechtlich .w { max-width: 800px; }
.rechtlich h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 2.9rem); }
.rechtlich .stand-datum { margin: 14px 0 0; color: var(--muted); font-size: 0.875rem; }
.prosa { margin-top: 36px; }
.prosa h2 { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.012em; margin: 36px 0 10px; }
.prosa p, .prosa li { color: var(--text-2); }
.prosa p { margin: 0 0 12px; }
.prosa ul { margin: 0 0 12px; padding-left: 1.2em; }
.prosa address { font-style: normal; color: var(--text); line-height: 1.7; margin: 0 0 12px; }

/* Bewegung: ruhig, abschaltbar */
@media (prefers-reduced-motion: no-preference) {
  .hero-text > * { animation: auf 0.7s var(--ease) both; }
  .hero-text > :nth-child(2) { animation-delay: 0.06s; }
  .hero-text > :nth-child(3) { animation-delay: 0.12s; }
  .hero-text > :nth-child(4) { animation-delay: 0.18s; }
  .hero-text > :nth-child(5) { animation-delay: 0.24s; }
  .entwurf { animation: auf-gross 1s var(--ease) 0.25s both; }
}
@keyframes auf { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes auf-gross { from { opacity: 0; transform: translateY(24px) scale(0.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .kopf, .thema, .abschluss { display: none; }
  body { background: #fff; color: #000; }
}
@media (max-width: 480px) {
  .regelkarte { padding: 20px 16px; }
  .regel { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .rk-kopf { flex-wrap: wrap; }
}
@media (max-width: 400px) {
  .kopf .w { gap: 10px; }
  .kopf .marke svg { height: 24px; }
  .kopf-rechts { gap: 6px; }
  .btn-klein { padding: 0 10px; font-size: 0.8125rem; }
}
