/* KI-Grenzgänger – Gestaltung nach Style Guide «klassisch»: ruhig, sachlich, viel Weissraum.
   Navy für Titel und Buttons, Blau als einziger Akzent, Ampelfarben nur für Bewertungen.
   Trennung durch Linien (oben 2 px Navy, danach 1 px), nicht durch Karten.
   Keine externen Schriften oder Skripte: Die Seite lädt nichts von Dritten (Datenschutz!). */

:root {
  --grund: #f2f4f7; --flaeche: #fff; --flaeche-2: #f7f9fb; --tint: #e9eef5;
  --navy: #0f1c2e; --navy-2: #1e3a60; --text: #334155; --muted: #526072; --linie: #d5dce6; --linie-2: #bcc7d6;
  --blau: #2e6bdb; --blau-text: #1f56b8; --blau-soft: #e6eefc; --cyan: #2ee6e6;
  --gruen: #1d7a4a; --gruen-mark: #22995a; --gruen-soft: #e2f3e9;
  --gelb: #875a00; --gelb-mark: #d49a0b; --gelb-soft: #fbf1d6;
  --orange: #a9480b; --orange-mark: #e0731f; --orange-soft: #fde8d8;
  --rot: #b42318; --rot-mark: #d92d20; --rot-soft: #fbe4e1;
  --grau: #6b7686; --grau-soft: #e8ecf1;
  --s-ch: #1d7a4a; --s-eu: #4aa874; --s-eub: #c8960f; --s-rest: #c2412d;
  --btn-bg: #0f1c2e; --btn-fg: #fff; --btn-hover: #1e3a60;
  --dunkel: radial-gradient(120% 140% at 20% 0%, #1e3a60 0%, #0f1c2e 70%);
  --display: "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --sans: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace;
  --schatten: 0 1px 2px rgba(15,28,46,.06), 0 12px 40px rgba(15,28,46,.06);
  --r: 14px; --r-btn: 10px; --r-klein: 7px;
  --breite: 1160px; --rand: 40px; --topbar: 68px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --grund: #0c1420; --flaeche: #131e2d; --flaeche-2: #172335; --tint: #1b2a3f;
    --navy: #eef3fa; --navy-2: #c9d7ea; --text: #c9d3e0; --muted: #94a3b8; --linie: #26364c; --linie-2: #364a64;
    --blau: #6f9ff2; --blau-text: #8fb3f5; --blau-soft: #1a2c4a;
    --gruen: #5cc48a; --gruen-mark: #3fae70; --gruen-soft: #15301f;
    --gelb: #e8bd4f; --gelb-mark: #d49a0b; --gelb-soft: #33290f;
    --orange: #f0a066; --orange-mark: #e0731f; --orange-soft: #3a2414;
    --rot: #f08a80; --rot-mark: #e5544a; --rot-soft: #3a1a17;
    --grau: #94a3b8; --grau-soft: #1d2a3b;
    --btn-bg: #eef3fa; --btn-fg: #0f1c2e; --btn-hover: #c9d7ea;
    --schatten: 0 1px 2px rgba(0,0,0,.3), 0 12px 40px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}

/* ---------- Grundlagen ---------- */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar) + 20px); }
body { margin: 0; background: var(--grund); color: var(--text); font: 18px/1.65 var(--sans); -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--blau-text); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .15s; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12;
  text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
svg { flex: none; }
strong, b { color: var(--navy); font-weight: 650; }
.muted { color: var(--muted); }
.klein { font-size: .86rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 2px; border-radius: 6px; }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--text); max-width: 46rem; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--btn-bg); color: var(--btn-fg); padding: .6rem 1rem; border-radius: var(--r-btn); z-index: 100; }
.skip:focus { top: .75rem; color: var(--btn-fg); }

.wrap { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.voll { width: 100%; padding-left: 28px; padding-right: 28px; }
.schmal { max-width: 820px; }
.lese { max-width: 860px; padding-top: 2rem; padding-bottom: 4rem; }

/* ---------- Kopfzeile ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--flaeche) 92%, transparent); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--linie); }
.topbar-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--topbar); }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 700; font-size: 1.15rem;
  letter-spacing: -0.02em; color: var(--navy); text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--navy); }
.brand-m { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #0f1c2e; color: #fff; }
.brand-m svg path:last-child { stroke: var(--cyan); }
.brand b { font-weight: 700; color: var(--blau); }
.nav { display: flex; gap: .25rem; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-size: 1rem; font-weight: 500; padding: .5rem .85rem; border-radius: var(--r-klein);
  white-space: nowrap; transition: background .15s, color .15s; }
.nav a:hover { background: var(--tint); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 650; background: var(--tint); }
.kopf-cta { display: inline-flex; align-items: center; gap: .45rem; }
.menu-btn { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; color: var(--navy);
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-btn); cursor: pointer; }
.menu-btn[aria-expanded="true"] { background: var(--tint); }

/* Profil-Band */
.profil-band { background: var(--navy-2); color: #fff; font-size: .92rem; }
@media (prefers-color-scheme: dark) { .profil-band { background: #1b2a3f; } }
.profil-band .wrap { display: flex; align-items: center; gap: .4rem 1rem; flex-wrap: wrap; padding-top: .5rem; padding-bottom: .5rem; }
.profil-band b { color: #fff; }
.profil-band button { background: none; border: 0; color: #cfe0ff; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0; font-size: .92rem; }
.profil-band button:hover { color: #fff; }

/* ---------- Bausteine ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 650; font-size: 1rem; line-height: 1.2;
  padding: 15px 28px; border-radius: var(--r-btn); border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background .18s, border-color .18s, color .18s; white-space: nowrap; }
.btn-p { background: var(--btn-bg); color: var(--btn-fg); }
.btn-p:hover { background: var(--btn-hover); color: var(--btn-fg); }
.btn-s, .btn-g { background: var(--flaeche); color: var(--navy); border-color: var(--linie); }
.btn-s:hover, .btn-g:hover { border-color: var(--linie-2); background: var(--flaeche-2); color: var(--navy); }
.btn-t { background: none; color: var(--blau-text); padding: .5rem .25rem; font-weight: 600; }
.btn-t:hover { color: var(--navy); }
.btn-klein { padding: 9px 16px; font-size: .92rem; }
.btn-hell { background: #fff; color: #0f1c2e; }
.btn-hell:hover { background: #e6eefc; color: #0f1c2e; }
.btn-rahmen-hell { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-rahmen-hell:hover { border-color: #fff; color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.js .js-weg { display: none; }
.nur-js { display: none; }
.js .nur-js { display: revert; }
.pfeil-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; text-decoration: none; }
.pfeil-link svg { transition: transform .18s; }
.pfeil-link:hover svg { transform: translateX(3px); }

.flaeche { background: var(--flaeche); border-radius: var(--r); box-shadow: var(--schatten); }
.kasten { background: var(--tint); border-radius: var(--r); padding: 1.1rem 1.35rem; }
.kasten > :last-child { margin-bottom: 0; }
.kasten-gelb { background: var(--gelb-soft); }
.kasten-rot { background: var(--rot-soft); }
.dunkel { background: var(--dunkel); color: #d7e1ee; border-radius: var(--r); }
.dunkel h2, .dunkel h3, .dunkel strong, .dunkel b { color: #fff; }
.dunkel a:not(.btn) { color: var(--cyan); }

/* Linien-Listen: oben 2 px Navy, danach 1 px Linie */
.liste { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.liste > li, .liste > .zeile { border-bottom: 1px solid var(--linie); }
.haken { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .45rem; }
.haken li { position: relative; padding-left: 1.8rem; }
.haken li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.1rem; height: 1.1rem;
  background: var(--blau); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.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='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat; }
.haken.nein li::before { background: var(--rot-mark); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6.5 6.5l11 11M17.5 6.5l-11 11'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6.5 6.5l11 11M17.5 6.5l-11 11'/%3E%3C/svg%3E"); }
.punkte { padding-left: 1.2rem; margin: 0 0 1rem; }
.punkte li { margin-bottom: .4rem; }
.punkte li::marker { color: var(--blau); }

.chip { display: inline-flex; align-items: center; gap: .3rem; font: 600 .78rem/1.3 var(--sans); padding: .22rem .55rem; border-radius: 6px; white-space: nowrap; }
.chip-v { background: var(--blau-soft); color: var(--blau-text); }
.chip-o { background: var(--grau-soft); color: var(--muted); }
.chip-f { background: var(--flaeche); color: var(--text); border: 1px solid var(--linie); }
.chip-f svg { color: var(--muted); }
.chip-eu { background: var(--blau-soft); color: var(--blau-text); }
.reg { font: 700 .66rem var(--sans); letter-spacing: .04em; padding: .12rem .38rem; border-radius: 5px; background: var(--grau-soft); color: var(--muted); }

/* Brotkrumen */
.brot { display: flex; flex-wrap: wrap; gap: .3rem .5rem; font-size: .92rem; color: var(--muted); margin: 0 0 1.2rem; padding: 0; list-style: none; }
.brot li + li::before { content: "›"; margin-right: .5rem; color: var(--linie-2); }
.brot a { color: var(--muted); text-decoration: none; }
.brot a:hover { color: var(--navy); text-decoration: underline; }

/* Seitenkopf der Unterseiten: weisse Fläche */
.seitenkopf { background: var(--flaeche); border-bottom: 1px solid var(--linie); padding: 2.75rem 0 3rem; }
.seitenkopf h1 { margin-bottom: .35em; }
.seitenkopf .lead { margin-bottom: 0; }
.seitenkopf .btns { margin-top: 1.5rem; }
.stand { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .3rem .9rem; font-size: .88rem; color: var(--muted); margin-top: 1rem; }
.stand span { display: inline-flex; align-items: center; gap: .35rem; }
.stand svg { color: var(--blau); }
.inhalt { padding-top: 3.5rem; padding-bottom: 5rem; }
.abschnitt { margin-top: 4.5rem; }
.abschnitt:first-child { margin-top: 0; }
.abschnitt-kopf { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.abschnitt-kopf h2 { margin: 0; }
.abschnitt-kopf p { margin: .5rem 0 0; color: var(--muted); max-width: 44rem; }

/* ---------- Ampeln ---------- */
.ka { display: inline-flex; align-items: center; gap: .45rem; font-weight: 650; font-size: .88rem; line-height: 1; padding: .38rem .6rem .38rem .38rem;
  border-radius: var(--r-klein); white-space: nowrap; }
.ka i { display: grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 5px; font: 800 .78rem/1 var(--sans); font-style: normal; color: #fff; }
.ka-gruen { background: var(--gruen-soft); color: var(--gruen); } .ka-gruen i { background: var(--gruen-mark); }
.ka-gelb { background: var(--gelb-soft); color: var(--gelb); } .ka-gelb i { background: var(--gelb-mark); color: #3a2800; }
.ka-rot { background: var(--rot-soft); color: var(--rot); } .ka-rot i { background: var(--rot-mark); }
.ka-gross { font-size: 1.05rem; padding: .55rem .85rem .55rem .55rem; }
.ka-gross i { width: 1.6rem; height: 1.6rem; font-size: 1rem; border-radius: 6px; }

/* Tool-Ampeln (Verzeichnis, Berater, Steckbriefe) */
.amp { display: inline-flex; align-items: center; gap: .45rem; font-size: .88rem; color: var(--text); white-space: nowrap; }
.amp i { width: 10px; height: 10px; border-radius: 3px; flex: none; background: var(--grau); }
.amp-gruen i { background: var(--gruen-mark); } .amp-gelb i { background: var(--gelb-mark); } .amp-orange i { background: var(--orange-mark); }
.amp-rot i { background: var(--rot-mark); } .amp-abh i { background: transparent; border: 2px solid var(--gruen-mark); }
.amp em { font-style: normal; color: var(--muted); margin-right: .15rem; }
.ort { display: inline-flex; align-items: center; gap: .35rem; font-size: .84rem; font-weight: 600; padding: .24rem .55rem; border-radius: 6px; white-space: nowrap; }
.ort-ch, .ort-eu { background: var(--gruen-soft); color: var(--gruen); }
.ort-eub { background: var(--gelb-soft); color: var(--gelb); }
.ort-unklar { background: var(--grau-soft); color: var(--muted); }
.ort-us, .ort-cn { background: var(--rot-soft); color: var(--rot); }
.kat { display: inline-flex; align-items: center; gap: .45rem; font-weight: 650; font-size: .84rem; color: var(--blau-text); }
.kat .ki { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--blau-soft); color: var(--blau-text); }
.kann { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; }
.kann > .l { font-size: .76rem; color: var(--muted); margin-right: .1rem; }

/* ---------- Glossar-Tooltip ---------- */
.gl { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: help; text-decoration: underline dotted var(--blau);
  text-decoration-thickness: 2px; text-underline-offset: 4px; }
.gl:hover, .gl[aria-expanded="true"] { color: var(--blau-text); }
.gl-pop { position: absolute; z-index: 80; max-width: min(340px, calc(100vw - 24px)); background: var(--navy); color: #fff; font-size: .9rem; line-height: 1.5;
  padding: .8rem 1rem; border-radius: 10px; box-shadow: 0 12px 40px rgba(15,28,46,.25); }
@media (prefers-color-scheme: dark) { .gl-pop { background: #26364c; } }
.gl-pop b { display: block; color: #fff; margin-bottom: .2rem; }
.gl-pop a { color: var(--cyan); font-size: .84rem; }

/* ---------- Quellen ---------- */
.qliste { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.qliste li { display: grid; grid-template-columns: 4.2rem 1fr; gap: .2rem 1rem; padding: .8rem 0; border-bottom: 1px solid var(--linie); font-size: .95rem; }
.qliste .qid { font: 600 .82rem var(--mono); color: var(--muted); padding-top: .15rem; }
.qliste a { font-weight: 600; }
.qliste small { display: block; color: var(--muted); font-size: .84rem; }
.qtyp { display: inline-flex; align-items: center; gap: .3rem; font-size: .76rem; font-weight: 650; padding: .1rem .4rem; border-radius: 5px; background: var(--grau-soft); color: var(--muted); margin-right: .35rem; }
.qtyp.primaer { background: var(--blau-soft); color: var(--blau-text); }
.normen { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.norm { display: inline-block; font: 600 .82rem var(--mono); padding: .3rem .55rem; border-radius: 6px; background: var(--flaeche); border: 1px solid var(--linie); color: var(--navy); text-decoration: none; }
a.norm:hover { border-color: var(--blau); color: var(--blau-text); }
.qref { font: 600 .74rem var(--mono); color: var(--muted); text-decoration: none; padding: .05rem .3rem; border-radius: 4px; background: var(--grau-soft); white-space: nowrap; }
a.qref:hover { color: var(--blau-text); background: var(--blau-soft); }

/* ---------- Startseite ---------- */
.held { background: var(--flaeche); border-bottom: 1px solid var(--linie); }
.held-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 4rem; align-items: center; padding-top: 5rem; padding-bottom: 5rem; }
.held h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); margin-bottom: .45em; }
.held .lead { font-size: 1.25rem; }
.suche-gross { display: flex; align-items: center; gap: .6rem; background: var(--flaeche); border: 1px solid var(--linie-2); border-radius: 12px;
  padding: .4rem .4rem .4rem 1.1rem; margin-top: 2rem; max-width: 40rem; box-shadow: var(--schatten); transition: border-color .15s; }
.suche-gross:focus-within { border-color: var(--blau); }
.suche-gross > svg { color: var(--muted); }
.suche-gross input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 1.06rem; padding: .7rem 0; color: var(--navy); }
.suche-gross input::placeholder { color: var(--muted); }
.suche-gross .btn { padding: 12px 22px; }
.vertrauen { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: 1.4rem; font-size: .92rem; color: var(--muted); }
.vertrauen span { display: inline-flex; align-items: center; gap: .4rem; }
.vertrauen svg { color: var(--blau); }
.held-seite { padding: 1.75rem 1.9rem; }
.held-seite h2 { font-size: 1.2rem; margin-bottom: .2rem; }
.held-seite > p { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.mini-liste { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.mini-liste li { border-bottom: 1px solid var(--linie); }
.mini-liste a { display: flex; gap: .8rem; align-items: flex-start; padding: .85rem 0; color: var(--navy); text-decoration: none; font-weight: 550; line-height: 1.4; font-size: 1rem; }
.mini-liste a:hover { color: var(--blau-text); }
.mini-liste .ka { margin-top: .05rem; }

.sektion { padding-top: 7rem; }
.sektion:last-of-type { padding-bottom: 7rem; }
.sektion-kopf { max-width: 48rem; margin-bottom: 2.5rem; }
.sektion-kopf p { font-size: 1.1rem; margin: 0; }
.schritt-nr { font: 700 .95rem var(--display); color: var(--blau); margin-bottom: .6rem; display: block; }

.tueren { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.tuer { border-top: 2px solid var(--navy); padding-top: 1.5rem; display: flex; flex-direction: column; }
.tuer .ic { color: var(--blau); margin-bottom: 1rem; }
.tuer h3 { font-size: 1.4rem; margin-bottom: .45rem; }
.tuer p { flex: 1; }
.tuer small { display: block; color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }

.fuenf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2rem; counter-reset: f; }
.fuenf li { border-top: 2px solid var(--navy); padding-top: 1.2rem; counter-increment: f; }
.fuenf li::before { content: counter(f); display: block; font: 700 2rem/1 var(--display); color: var(--blau); margin-bottom: .7rem; }
.fuenf h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.fuenf p { font-size: .98rem; margin-bottom: .6rem; }
.fuenf a { font-size: .94rem; font-weight: 600; }

.stufen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 3rem; border-top: 2px solid var(--navy); }
.stufe { padding: 1.4rem 1.6rem 1.4rem 0; }
.stufe + .stufe { padding-left: 1.6rem; border-left: 1px solid var(--linie); }
.stufe .balken-ton { height: 6px; border-radius: 3px; margin-bottom: 1rem; width: 3.5rem; }
.ton-gruen .balken-ton { background: var(--gruen-mark); } .ton-gelb .balken-ton { background: var(--gelb-mark); } .ton-rot .balken-ton { background: var(--rot-mark); }
.stufe h3 { margin-bottom: .3rem; }
.stufe p { font-size: .98rem; margin-bottom: .4rem; }
.stufe .folge { font-weight: 650; color: var(--navy); margin: 0; }
.stufen-fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 1.5rem; }

/* Dunkles Feld: Starter-Plan auf der Startseite */
.plan-band { padding: 3.5rem 3.5rem 3.25rem; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3.5rem; align-items: start; }
.plan-band h2 { margin-bottom: .5rem; }
.plan-band p { color: #c3d0e2; }
.plan-band ol { list-style: none; margin: 0; padding: 0; counter-reset: s; border-top: 2px solid rgba(255,255,255,.85); }
.plan-band li { counter-increment: s; display: grid; grid-template-columns: 2.2rem 1fr; gap: .2rem .8rem; padding: .95rem 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.plan-band li::before { content: counter(s); font: 700 1.1rem var(--display); color: var(--cyan); }
.plan-band li b { display: block; color: #fff; }
.plan-band li span { font-size: .95rem; color: #c3d0e2; }
.fortschritt-mini { display: flex; gap: 4px; margin: 1.5rem 0 1.75rem; }
.fortschritt-mini i { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,.2); }
.fortschritt-mini i:nth-child(-n+4) { background: var(--blau); } .fortschritt-mini i:nth-child(5) { background: #fff; }

.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.drei { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.spalte { border-top: 2px solid var(--navy); padding-top: 1.4rem; }
.spalte h3 { font-size: 1.35rem; }

.radar-mini { list-style: none; margin: 0; padding: 0; }
.radar-mini li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--linie); }
.radar-mini time { font-weight: 650; color: var(--navy); font-size: .95rem; }
.radar-mini span { font-size: .98rem; }

/* ---------- Fragen (Szenario-Karten) ---------- */
.filterleiste { display: grid; gap: 1rem; margin-top: 2rem; }
.filter-reihe { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }
.feld { display: flex; flex-direction: column; gap: .3rem; font-size: .88rem; font-weight: 600; color: var(--navy); }
.feld select, .auswahl { appearance: none; -webkit-appearance: none; background: var(--flaeche) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23526072' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") right .7rem center/18px no-repeat;
  border: 1px solid var(--linie-2); border-radius: var(--r-btn); padding: .65rem 2.4rem .65rem .85rem; font-size: .98rem; font-weight: 500; color: var(--navy); min-width: 13rem; cursor: pointer; }
.feld select:focus, .auswahl:focus { border-color: var(--blau); outline: none; box-shadow: 0 0 0 3px var(--blau-soft); }
.schalter { display: inline-flex; border: 1px solid var(--linie-2); border-radius: var(--r-btn); overflow: hidden; background: var(--flaeche); }
.schalter label { display: inline-flex; align-items: center; gap: .4rem; padding: .62rem .85rem; font-size: .94rem; font-weight: 550; cursor: pointer; color: var(--text); transition: background .15s; }
.schalter label + label { border-left: 1px solid var(--linie); }
.schalter input { position: absolute; opacity: 0; pointer-events: none; }
.schalter label:has(input:checked) { background: var(--tint); color: var(--navy); font-weight: 650; }
.schalter label:has(input:focus-visible) { outline: 3px solid var(--blau); outline-offset: -3px; }
.schalter .dot { width: 10px; height: 10px; border-radius: 3px; }
.dot-gruen { background: var(--gruen-mark); } .dot-gelb { background: var(--gelb-mark); } .dot-rot { background: var(--rot-mark); }
.check-feld { display: inline-flex; align-items: center; gap: .5rem; font-size: .96rem; cursor: pointer; }
.check-feld input { width: 18px; height: 18px; accent-color: var(--blau); margin: 0; }
.treffer-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin: 2.5rem 0 1rem; }
.treffer-kopf h2 { font-size: 1.5rem; margin: 0; }
.profil-hinweis { font-size: .92rem; }

.kgruppe { margin-top: 3rem; }
.kgruppe:first-child { margin-top: 0; }
.kgruppe > h2 { display: flex; align-items: center; gap: .6rem; font-size: 1.45rem; margin-bottom: .8rem; }
.kgruppe > h2 svg { color: var(--blau); }
.kgruppe > h2 small { font: 500 .95rem var(--sans); color: var(--muted); letter-spacing: 0; }
.kliste { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.kliste > li { border-bottom: 1px solid var(--linie); }
.kzeile > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 11rem minmax(0, 1fr) auto; gap: .4rem 1.25rem;
  align-items: start; padding: 1.05rem .25rem; transition: background .15s; border-radius: 6px; }
.kzeile > summary::-webkit-details-marker { display: none; }
.kzeile > summary:hover { background: var(--flaeche); }
.kzeile .ka { justify-self: start; margin-top: .1rem; }
.kzeile .kt { color: var(--navy); font-weight: 650; font-size: 1.06rem; line-height: 1.38; display: block; }
.kzeile .kk { display: block; color: var(--text); font-size: .98rem; margin-top: .2rem; }
.kzeile .auf { width: 30px; height: 30px; display: grid; place-items: center; color: var(--muted); border-radius: 8px; transition: transform .2s; }
.kzeile[open] .auf { transform: rotate(180deg); }
.kzeile-bd { padding: 0 .25rem 1.5rem calc(11rem + 1.5rem); }
.kzeile-bd p { margin-bottom: .7rem; }
.beispiel { display: flex; gap: .7rem; background: var(--flaeche); border-radius: 10px; padding: .85rem 1rem; font-size: .98rem; margin: .4rem 0 1rem; }
.beispiel svg { color: var(--blau); margin-top: .2rem; }
.beispiel b { display: block; font-size: .82rem; color: var(--muted); font-weight: 650; }
.sg-fw { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: .75rem; }
.sg-fw h4 { margin-bottom: .45rem; }
.sg-fw .haken { font-size: .97rem; }
.keine-treffer { padding: 2.5rem 0; text-align: center; }
/* Fragen-Suche: bester Treffer oben, aufgeklappt */
.rang-label { font-size: .85rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 .5rem; }
.rangliste [data-beste] { background: var(--flaeche); border-radius: 0 0 var(--r) var(--r); }
.rang-titel { font-size: 1.15rem; margin: 2.5rem 0 .8rem; }

/* Karte (Einzelseite) */
.karte-kopf h1 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); max-width: 52rem; }
.antwort { display: flex; flex-direction: column; gap: .9rem; margin-top: 1.6rem; padding: 1.6rem 1.75rem; max-width: 52rem; }
.antwort p { font-size: 1.3rem; line-height: 1.45; color: var(--navy); font-weight: 600; margin: 0; letter-spacing: -0.01em; }
.karte-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 4rem; align-items: start; }
.karte-haupt section { margin-bottom: 3rem; }
.karte-haupt h2 { font-size: 1.5rem; margin-bottom: .7rem; }
.naechster { padding: 1.75rem 1.9rem; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; flex-wrap: wrap; }
.naechster h2 { font-size: 1.35rem; margin: 0 0 .25rem; }
.naechster p { margin: 0; color: #c3d0e2; }
.fachleute { border-top: 2px solid var(--navy); }
.fachleute > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; font: 700 1.2rem var(--display); color: var(--navy); letter-spacing: -0.01em; }
.fachleute > summary::-webkit-details-marker { display: none; }
.fachleute > summary small { font: 500 .9rem var(--sans); color: var(--muted); letter-spacing: 0; display: block; }
.fachleute > summary svg { transition: transform .2s; color: var(--muted); }
.fachleute[open] > summary svg { transform: rotate(180deg); }
.fachleute-bd { padding-bottom: 1rem; }
.fachleute-bd h3 { font-size: 1.05rem; margin: 1.5rem 0 .5rem; }
.fachfassung { font-size: 1rem; }
.seitenleiste { position: sticky; top: calc(var(--topbar) + 24px); display: grid; gap: 2rem; }
.seitenleiste h2 { font-size: 1.05rem; margin-bottom: .6rem; }
.seitenleiste .mini-liste a { font-size: .95rem; padding: .7rem 0; }
.aktionen { display: grid; gap: .25rem; }
.aktionen button, .aktionen a { display: inline-flex; align-items: center; gap: .55rem; background: none; border: 0; padding: .45rem 0; font-size: .95rem; font-weight: 600; color: var(--blau-text); cursor: pointer; text-decoration: none; text-align: left; }
.aktionen button:hover, .aktionen a:hover { color: var(--navy); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chips a.chip { text-decoration: none; }
.chips a.chip:hover { border-color: var(--blau); color: var(--blau-text); }

/* ---------- Fragebaum / Helfer / Berater (gemeinsam) ---------- */
.fortschritt { display: flex; gap: 5px; margin-bottom: 1rem; max-width: 20rem; }
.fortschritt i { flex: 1; height: 6px; border-radius: 3px; background: var(--linie); }
.fortschritt i.on { background: var(--blau); }
.fortschritt i.on:last-child, .fortschritt i.letzt { background: var(--navy); }
.frage-label { font-size: .92rem; color: var(--muted); margin-bottom: .4rem; }
.optionen { display: grid; gap: .6rem; margin-top: 1.5rem; max-width: 44rem; }
.option { display: flex; align-items: center; gap: 1rem; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-btn);
  padding: 1rem 1.2rem; color: var(--navy); text-decoration: none; font-weight: 600; transition: border-color .15s, background .15s; }
.option:hover { border-color: var(--blau); color: var(--navy); }
.option svg:last-child { margin-left: auto; color: var(--muted); transition: transform .18s; }
.option:hover svg:last-child { transform: translateX(3px); color: var(--blau); }
.option small { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; margin-top: .1rem; }
.ergebnis { padding: 2rem 2.2rem; max-width: 48rem; }
.ergebnis h2 { font-size: 1.9rem; margin-bottom: .5rem; }

/* EU-Fragebaum */
.eu-fragen { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); counter-reset: e; }
.eu-fragen > li { border-bottom: 1px solid var(--linie); padding: 1.4rem 0; counter-increment: e; display: grid; grid-template-columns: 2.5rem 1fr; gap: 0 1rem; }
.eu-fragen > li::before { content: counter(e); font: 700 1.5rem/1.1 var(--display); color: var(--blau); }
.eu-fragen h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.eu-fragen p { margin: 0 0 .8rem; color: var(--muted); font-size: .96rem; }
.eu-ja { margin-top: .9rem; }
.risiko { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.risiko li { display: grid; grid-template-columns: 12rem 1fr 15rem; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--linie); align-items: baseline; }
.risiko .stufe-l { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--navy); }
.risiko .stufe-l i { width: 12px; height: 12px; border-radius: 3px; }
.risiko .folge { font-weight: 600; color: var(--navy); font-size: .95rem; }

/* ---------- Zeitleiste (Rechts-Radar) ---------- */
.radar-filter { margin: 0 0 2rem; }
.radar { list-style: none; margin: 0; padding: 0; position: relative; }
.radar::before { content: ""; position: absolute; left: 9.5rem; top: .5rem; bottom: .5rem; width: 2px; background: var(--linie); }
.radar li { display: grid; grid-template-columns: 8.5rem 2rem minmax(0, 1fr); gap: 0 1rem; padding: 0 0 2rem; position: relative; }
.radar time { font-weight: 700; color: var(--navy); text-align: right; font-size: .98rem; padding-top: .05rem; }
.radar .punkt { width: 14px; height: 14px; border-radius: 50%; background: var(--flaeche); border: 3px solid var(--blau); margin: .3rem 0 0 calc(1rem - 7px - 1rem + 1px); position: relative; z-index: 1; justify-self: center; }
.radar li.vergangen .punkt { background: var(--blau); }
.radar h3 { font-size: 1.12rem; margin-bottom: .25rem; }
.radar p { margin: 0 0 .4rem; font-size: .98rem; }
.radar .meta { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.status { font-size: .76rem; font-weight: 700; padding: .12rem .45rem; border-radius: 5px; }
.status-gilt { background: var(--gruen-soft); color: var(--gruen); }
.status-beschlossen { background: var(--blau-soft); color: var(--blau-text); }
.status-in_arbeit { background: var(--gelb-soft); color: var(--gelb); }
.status-kommt { background: var(--orange-soft); color: var(--orange); }
.spur { font-size: .76rem; font-weight: 700; padding: .12rem .45rem; border-radius: 5px; background: var(--grau-soft); color: var(--muted); }
.radar li.heute { padding-bottom: 2.2rem; }
.radar li.heute time { color: var(--blau-text); }
.radar li.heute .punkt { border-color: var(--navy); background: var(--navy); width: 18px; height: 18px; }
.radar li.heute h3 { color: var(--blau-text); margin: 0; font-size: 1rem; }

/* ---------- Rechtsgebiete, Mythen, Glossar ---------- */
.rg-index { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.rg { border-top: 2px solid var(--navy); padding-top: 1.6rem; margin-top: 3.5rem; scroll-margin-top: calc(var(--topbar) + 20px); }
.rg:first-of-type { margin-top: 0; }
.rg-kopf { display: flex; gap: .8rem; align-items: center; margin-bottom: .9rem; }
.rg-kopf svg { color: var(--blau); }
.rg-kopf h2 { font-size: 1.7rem; margin: 0; }
.dreissig { background: var(--flaeche); border-radius: var(--r); box-shadow: var(--schatten); padding: 1.3rem 1.5rem; margin-bottom: 1.4rem; }
.dreissig b { display: block; font-size: .88rem; color: var(--blau-text); margin-bottom: .3rem; }
.dreissig p { margin: 0; font-size: 1.08rem; color: var(--navy); }
.rg-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2.5rem; }
.rg-grid h3 { font-size: 1.02rem; margin-bottom: .6rem; }
.mythen { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.mythen > li { border-bottom: 1px solid var(--linie); }
.mythos > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 6.5rem 1fr auto; gap: 1rem; padding: 1.2rem .25rem; align-items: start; border-radius: 6px; }
.mythos > summary::-webkit-details-marker { display: none; }
.mythos > summary:hover { background: var(--flaeche); }
.mythos .lab { font-size: .8rem; font-weight: 700; color: var(--rot); background: var(--rot-soft); padding: .2rem .5rem; border-radius: 5px; justify-self: start; }
.mythos .txt { font: 650 1.12rem/1.4 var(--display); color: var(--navy); }
.mythos .auf { color: var(--muted); transition: transform .2s; }
.mythos[open] .auf { transform: rotate(180deg); }
.mythos-bd { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: 0 .25rem 1.4rem; }
.mythos-bd .lab { color: var(--gruen); background: var(--gruen-soft); }
.mythos-bd p { margin: 0 0 .4rem; }
.glossar { margin: 0; border-top: 2px solid var(--navy); }
.glossar > div { display: grid; grid-template-columns: 17rem 1fr; gap: 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--linie); scroll-margin-top: calc(var(--topbar) + 20px); }
.glossar dt { font-weight: 700; color: var(--navy); }
.glossar dd { margin: 0; }
.alphabet { display: flex; flex-wrap: wrap; gap: .3rem; margin: 1.5rem 0 0; }
.alphabet a { display: grid; place-items: center; min-width: 2.2rem; height: 2.2rem; border: 1px solid var(--linie); border-radius: 7px; text-decoration: none; font-weight: 650; background: var(--flaeche); }
.alphabet a:hover { border-color: var(--blau); }

/* ---------- Wissen-Übersicht ---------- */
.kern { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; border-top: 2px solid var(--navy); counter-reset: k; }
.kern li { padding: 1.1rem 0; border-bottom: 1px solid var(--linie); counter-increment: k; display: grid; grid-template-columns: 2rem 1fr; gap: .1rem .6rem; }
.kern li::before { content: counter(k); font: 700 1rem var(--display); color: var(--blau); padding-top: .1rem; }
.kern b { display: block; }
.kern span { font-size: .98rem; }
.wegweiser { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2.5rem; }
.wegweiser li { border-top: 2px solid var(--navy); }
.wegweiser a { display: block; padding: 1.3rem 0 2rem; text-decoration: none; color: var(--text); }
.wegweiser a:hover h3 { color: var(--blau-text); }
.wegweiser svg { color: var(--blau); margin-bottom: .7rem; }
.wegweiser h3 { margin-bottom: .35rem; transition: color .15s; }
.wegweiser p { margin: 0; font-size: .98rem; }

/* ---------- Absichern ---------- */
.plan { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); counter-reset: p; }
.plan > li { counter-increment: p; display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 0 1.2rem; padding: 2rem 0; border-bottom: 1px solid var(--linie); }
.plan > li::before { content: counter(p); font: 700 2.2rem/1 var(--display); color: var(--blau); }
.plan > li.erledigt::before { content: "✓"; color: var(--gruen-mark); }
.plan h3 { font-size: 1.4rem; margin-bottom: .3rem; }
.plan .warum { margin-bottom: 1rem; }
.aufgaben { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .4rem; }
.aufgaben label { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; }
.aufgaben input { width: 20px; height: 20px; margin: .25rem 0 0; accent-color: var(--blau); flex: none; }
.aufgaben input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--linie-2); }
.plan-links { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
.plan-status { position: sticky; top: calc(var(--topbar) + 12px); z-index: 5; background: var(--grund); padding: .9rem 0; margin-bottom: .5rem; }
.plan-status .fortschritt { max-width: none; margin-bottom: .35rem; }
.plan-status p { margin: 0; font-size: .92rem; color: var(--muted); }
.zweispaltig { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 4rem; align-items: start; }

.vorlage { border-top: 2px solid var(--navy); padding-top: 1.5rem; margin-top: 3.5rem; scroll-margin-top: calc(var(--topbar) + 20px); }
.vorlage:first-of-type { margin-top: 0; }
.vorlage h2 { font-size: 1.55rem; margin-bottom: .3rem; }
.vorlage-kopf { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; align-items: start; margin-bottom: 1rem; }
.vorlage-kopf p { margin: 0; color: var(--muted); }
pre.vorlagetext { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 12px; padding: 1.2rem 1.4rem; font: .92rem/1.6 var(--mono); color: var(--navy);
  white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 0 .8rem; }
.kopieren.ok { color: var(--gruen); }
.muster-hinweis { font-size: .88rem; color: var(--muted); }
.checkliste { list-style: none; padding: 0; margin: 0 0 .8rem; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 12px; }
.checkliste li { border-bottom: 1px solid var(--linie); }
.checkliste li:last-child { border-bottom: 0; }
.checkliste label { display: flex; gap: .8rem; padding: .75rem 1.1rem; cursor: pointer; font-size: .98rem; }
.checkliste input { width: 19px; height: 19px; margin: .2rem 0 0; accent-color: var(--blau); flex: none; }

.generator { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 3rem; align-items: start; }
.gen-form { display: grid; gap: 1.2rem; }
.gen-form label.feld input, .gen-form label.feld textarea { font-weight: 400; font-size: 1rem; border: 1px solid var(--linie-2); border-radius: var(--r-btn); padding: .7rem .85rem; background: var(--flaeche); color: var(--navy); width: 100%; }
.gen-form textarea { min-height: 5.5rem; resize: vertical; }
.gen-form input:focus, .gen-form textarea:focus { border-color: var(--blau); outline: none; box-shadow: 0 0 0 3px var(--blau-soft); }
.gen-form fieldset { border: 0; padding: 0; margin: 0; }
.gen-form legend { font-size: .88rem; font-weight: 600; color: var(--navy); margin-bottom: .5rem; }
.gen-form .module { display: grid; gap: .55rem; }
.gen-form .module label { display: flex; gap: .65rem; align-items: flex-start; font-size: .97rem; cursor: pointer; }
.gen-form .module input { width: 19px; height: 19px; margin: .22rem 0 0; accent-color: var(--blau); flex: none; }
.gen-vorschau { position: sticky; top: calc(var(--topbar) + 20px); }
.gen-vorschau pre { max-height: 70vh; overflow: auto; }

.merkblatt-regeln { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); counter-reset: m; }
.merkblatt-regeln li { counter-increment: m; display: grid; grid-template-columns: 2.6rem 1fr; padding: 1rem 0; border-bottom: 1px solid var(--linie); }
.merkblatt-regeln li::before { content: counter(m); font: 700 1.4rem/1.2 var(--display); color: var(--blau); }
.merkblatt-regeln b { display: block; font-size: 1.1rem; }

.notfall { border-top: 2px solid var(--navy); padding-top: 1.6rem; margin-top: 3.5rem; scroll-margin-top: calc(var(--topbar) + 20px); }
.notfall:first-of-type { margin-top: 0; }
.notfall h2 { font-size: 1.6rem; margin-bottom: .3rem; }
.notfall .lage { color: var(--muted); margin-bottom: 1.2rem; }
.schritte-liste { list-style: none; margin: 0 0 1.2rem; padding: 0; counter-reset: n; display: grid; gap: .1rem; }
.schritte-liste li { counter-increment: n; display: grid; grid-template-columns: 2.2rem 1fr; padding: .55rem 0; }
.schritte-liste li::before { content: counter(n) "."; font-weight: 700; color: var(--blau); }
.kontakte { display: grid; gap: .6rem; }
.kontakt { display: grid; gap: .2rem; font-size: .96rem; }
.anlauf { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.anlauf li { display: grid; grid-template-columns: 16rem 1fr; gap: .5rem 2rem; padding: 1.3rem 0; border-bottom: 1px solid var(--linie); }
.anlauf h3 { font-size: 1.15rem; margin: 0 0 .2rem; }
.anlauf .wofuer { font-weight: 600; color: var(--navy); margin-bottom: .3rem; }
.anlauf p { margin: 0 0 .4rem; font-size: .98rem; }
.notruf { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; padding: 1.5rem 1.75rem; }
.notruf div { display: flex; flex-direction: column; }
.notruf b { font: 700 1.6rem var(--display); color: #fff; letter-spacing: -0.01em; }
.notruf span { font-size: .9rem; color: #c3d0e2; }

/* ---------- Zahlen ---------- */
.kacheln { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.kachel { border-top: 2px solid var(--navy); padding-top: 1.2rem; }
.kachel .wert { font: 700 clamp(2.4rem, 4vw, 3.2rem)/1 var(--display); color: var(--navy); letter-spacing: -0.03em; display: block; margin-bottom: .5rem; }
.kachel p { margin: 0 0 .4rem; font-size: 1rem; }
.kachel small { color: var(--muted); font-size: .82rem; }
.grafik { background: var(--flaeche); border-radius: var(--r); box-shadow: var(--schatten); padding: 1.6rem 1.8rem 1.3rem; margin-top: 2rem; }
.grafik h3 { margin-bottom: 1.2rem; }
.balken { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.balken li { display: grid; grid-template-columns: minmax(10rem, 19rem) minmax(0, 1fr) 3.5rem; gap: 1rem; align-items: center; font-size: .96rem; }
.balken .spur-b { height: 22px; background: var(--grau-soft); border-radius: 4px; position: relative; overflow: hidden; }
.balken .fuell { position: absolute; inset: 0 auto 0 0; background: var(--blau); border-radius: 0 4px 4px 0; transform-origin: left; }
.balken .vorher { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--navy); }
.balken .zahl { font-weight: 700; color: var(--navy); text-align: right; font-variant-numeric: tabular-nums; }
.stapel { display: flex; height: 40px; gap: 2px; border-radius: 6px; overflow: hidden; }
.stapel span { display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .95rem; }
.stapel-legende { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: .8rem; font-size: .92rem; }
.stapel-legende span { display: inline-flex; align-items: center; gap: .45rem; }
.stapel-legende i { width: 12px; height: 12px; border-radius: 3px; }
.seq-1 { background: #1d4fae; } .seq-2 { background: #2e6bdb; } .seq-3 { background: #8fb0ea; color: #0f1c2e !important; }
.grafik-fuss { font-size: .84rem; color: var(--muted); margin-top: 1rem; }
@media (prefers-reduced-motion: no-preference) {
  .js .balken .fuell { transform: scaleX(0); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
  .js .balken.sichtbar .fuell { transform: scaleX(1); }
}

/* ---------- Branchen ---------- */
.branchen-raster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2.5rem; }
.branchen-raster li { border-top: 1px solid var(--linie); }
.branchen-raster li:nth-child(-n+3) { border-top: 2px solid var(--navy); }
.branchen-raster a { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 0 1.3rem; text-decoration: none; color: var(--text); }
.branchen-raster a svg { color: var(--blau); margin-top: .15rem; }
.branchen-raster b { display: block; font-size: 1.08rem; transition: color .15s; }
.branchen-raster a:hover b { color: var(--blau-text); }
.branchen-raster small { color: var(--muted); font-size: .9rem; }
.hinweise { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; counter-reset: h; }
.hinweise li { border-top: 2px solid var(--navy); padding-top: 1.1rem; counter-increment: h; }
.hinweise li::before { content: counter(h); display: block; font: 700 1.6rem/1 var(--display); color: var(--blau); margin-bottom: .6rem; }
.hinweise p { font-size: 1.04rem; color: var(--navy); font-weight: 550; margin-bottom: .5rem; }

/* ---------- Profil-Dialog ---------- */
.profil-form { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: end; }
.profil-form .btn { padding: 12px 22px; }

/* ---------- Steckbrief (Seite und Schublade) ---------- */
.zurueck { display: inline-block; font-size: .95rem; color: var(--muted); text-decoration: none; margin-bottom: 1.25rem; }
.zurueck:hover { color: var(--navy); }
.det h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: .6rem 0 .25rem; }
.det-anb { color: var(--muted); margin-bottom: 1.1rem; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; font-size: .98rem; }
.det-was { background: var(--tint); border-radius: var(--r); padding: 1rem 1.2rem; display: grid; gap: .65rem; }
.det-was p { margin: 0; font-size: .98rem; }
.det section { margin-top: 1.75rem; }
.det h2 { font-size: 1.3rem; }
.det-kurz { background: var(--flaeche); border-radius: var(--r); padding: 1.5rem; box-shadow: var(--schatten); }
.det-kurz ul { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.det-kurz li { display: flex; gap: .7rem; align-items: flex-start; font-size: 1.05rem; line-height: 1.45; color: var(--navy); }
.ti { flex: none; display: grid; place-items: center; width: 23px; height: 23px; border-radius: 6px; font: 800 .78rem var(--sans); margin-top: .1rem; }
.ton-gut .ti { background: var(--gruen-soft); color: var(--gruen); }
.ton-mittel .ti { background: var(--gelb-soft); color: var(--gelb); }
.ton-schlecht .ti { background: var(--rot-soft); color: var(--rot); }
.ton-offen .ti { background: var(--grau-soft); color: var(--muted); }
.det-amps { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; padding-top: 1rem; border-top: 1px solid var(--linie); }
.det-achtung { background: var(--gelb-soft); border-radius: var(--r); padding: 1.1rem 1.3rem; }
.det-achtung h2 { font-size: 1.08rem; margin-bottom: .3rem; }
.det-achtung p { margin: 0; }
.det-fakten { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2rem; border-top: 2px solid var(--navy); }
.fk { padding: .8rem 0; border-bottom: 1px solid var(--linie); }
.fk span { display: block; font-size: .82rem; color: var(--muted); font-weight: 600; margin-bottom: .1rem; }
.fk b { font-weight: 500; font-size: .96rem; color: var(--navy); }
.fk.offen b { color: var(--muted); font-style: italic; }
.det-vischer { background: var(--blau-soft); border-radius: var(--r); padding: 1.1rem 1.3rem; }
.det-vischer h2 { color: var(--blau-text); font-size: 1.08rem; margin-bottom: .3rem; }
.det-vischer p:last-child { margin: 0; }
.det-h { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .7rem; }
.det-h h2 { margin: 0; }
.acc { border-bottom: 1px solid var(--linie); }
.acc:first-of-type { border-top: 2px solid var(--navy); }
.acc summary { cursor: pointer; padding: .95rem .2rem; font-weight: 650; color: var(--navy); display: flex; align-items: center; gap: .6rem; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary > span:first-child { flex: 1; }
.acc summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.acc[open] summary::after { transform: rotate(-135deg); }
.acc dl { margin: 0; padding: 0 0 .8rem; }
.acc .row { display: grid; grid-template-columns: 38% 1fr; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--linie); }
.acc dt { font-weight: 600; font-size: .92rem; color: var(--navy); }
.acc dt small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; line-height: 1.4; margin-top: .1rem; }
.acc dd { margin: 0; font-size: .94rem; overflow-wrap: anywhere; }
.acc ul.q { list-style: none; margin: 0; padding: 0 0 .5rem; }
.acc ul.q li { padding: .5rem 0; border-top: 1px solid var(--linie); font-size: .92rem; display: flex; flex-direction: column; }
.acc ul.q small { color: var(--muted); font-size: .76rem; overflow-wrap: anywhere; }
.acc-fuss { padding: .25rem 0 1rem; margin: 0; }
.aehnlich { margin-top: 3rem; }
.mini { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2rem; border-top: 2px solid var(--navy); }
.mini a { display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; padding: 1rem 0; border-bottom: 1px solid var(--linie); color: var(--text); text-decoration: none; height: 100%; }
.mini a:hover strong { color: var(--blau-text); }

/* ---------- Schublade ---------- */
.scrim { position: fixed; inset: 0; background: rgba(15,28,46,.4); z-index: 90; opacity: 0; transition: opacity .2s; }
.scrim.on { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(700px, 100%); background: var(--grund); z-index: 91; box-shadow: var(--schatten);
  transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column; visibility: hidden; }
.drawer.on { transform: none; visibility: visible; }
.dr-hd { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .6rem 1rem; border-bottom: 1px solid var(--linie); background: var(--flaeche); }
.dr-hd .btn { padding: 8px 12px; font-size: .92rem; }
.dr-bd { overflow-y: auto; padding: 1.5rem 1.75rem 3rem; flex: 1; }
.dr-laden { color: var(--muted); padding: 2rem 0; }

/* ============================================================
   Berater (Tools finden)
   ============================================================ */
.vb-main { width: 100%; max-width: 860px; margin: 0 auto; padding: 2.5rem var(--rand) 3rem; }
.vb-welcome { padding: .5rem 0 1rem; }
.vb-welcome h1 { margin-bottom: .35rem; }
.vb-welcome p { font-size: 1.12rem; margin: 0; }
.vb-welcome .vb-meta { font-size: .9rem; color: var(--muted); margin-top: .6rem; }
.vb-welcome.kompakt h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.msg { margin: 2.2rem 0; }
.msg.neu { animation: auf .35s ease both; }
@keyframes auf { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .msg.neu { animation: none; } html { scroll-behavior: auto; } }
.msg .av { display: none; }
.msg .tx { font: 700 1.4rem/1.3 var(--display); color: var(--navy); letter-spacing: -0.015em; margin: 0; }
.msg .tx small { display: block; font: 400 1rem var(--sans); color: var(--muted); margin-top: .35rem; letter-spacing: 0; }
.msg p.tx { font: 500 1.15rem/1.5 var(--sans); color: var(--navy); letter-spacing: 0; }
.prog { display: flex; align-items: center; gap: 5px; font-size: .88rem; color: var(--muted); margin-bottom: .7rem; }
.prog i { width: 3.5rem; height: 6px; border-radius: 3px; background: var(--linie); }
.prog i.on { background: var(--blau); }
.prog span { margin-left: .6rem; }
.msg.user { margin: -1.2rem 0 1.6rem; }
.bub { display: inline-flex; align-items: center; gap: .5rem; background: var(--tint); border-radius: var(--r-btn); padding: .55rem .9rem; color: var(--navy); text-decoration: none; font-size: .98rem; font-weight: 600; }
.bub svg { color: var(--blau); }
.bub small { font-size: .82rem; color: var(--blau-text); margin-left: .4rem; font-weight: 500; text-decoration: underline; }
.bub:hover { color: var(--navy); background: var(--blau-soft); }
.vb-opts { display: grid; gap: .6rem; margin-top: 1.1rem; }
.vb-opts.g2 { grid-template-columns: repeat(2, 1fr); }
.opt { display: flex; align-items: center; gap: .9rem; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-btn); padding: .95rem 1.1rem; color: var(--navy); text-decoration: none; transition: border-color .15s; }
a.opt:hover { color: var(--navy); border-color: var(--blau); }
.opt.aus { opacity: .5; }
.opt .ic { flex: none; width: 40px; height: 40px; border-radius: 9px; background: var(--blau-soft); color: var(--blau-text); display: grid; place-items: center; }
.opt .tt { flex: 1; min-width: 0; }
.opt strong { display: block; font-weight: 650; font-size: 1rem; line-height: 1.3; }
.opt small { color: var(--muted); font-size: .88rem; line-height: 1.35; display: block; margin-top: .1rem; }
.opt .n { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.vb-recs { display: grid; gap: 1.25rem; margin-top: 1.2rem; }
.vb-rec { background: var(--flaeche); border-radius: var(--r); overflow: hidden; box-shadow: var(--schatten); }
.vb-rec .top { padding: 1.3rem 1.5rem 1.1rem; display: grid; gap: .6rem; }
.vb-rec .hd { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.vb-rec h3 { font-size: 1.45rem; margin: 0; }
.vb-rec .an { font-size: .9rem; color: var(--muted); margin-top: -.3rem; }
.vb-rec ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.vb-rec li { display: flex; gap: .6rem; font-size: .97rem; align-items: flex-start; }
.vb-rec li .ti { width: 21px; height: 21px; font-size: .72rem; }
.vb-rec .ft { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; padding: .9rem 1.5rem; background: var(--flaeche-2); border-top: 1px solid var(--linie); }
.vb-rec .ft .amps { display: flex; gap: 1.1rem; flex-wrap: wrap; align-items: center; }
.vb-rec .ft .btn { padding: 10px 18px; font-size: .94rem; }
.vb-rec .rolle { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .7rem; padding: .75rem 1.5rem; background: var(--tint); }
.vb-rec .rolle b { font-size: .92rem; color: var(--navy); }
.vb-rec .rolle span { font-size: .88rem; color: var(--muted); }
.vb-rec.rolle-leistung .rolle b { color: var(--blau-text); }
.vb-rec.rolle-datenschutz .rolle b { color: var(--gruen); }
.vb-tip { background: var(--gelb-soft); border-radius: var(--r); padding: 1rem 1.25rem; font-size: .97rem; margin-top: 1.2rem; }
.vb-cmp { margin-top: 1.25rem; background: var(--flaeche); border-radius: var(--r); overflow-x: auto; box-shadow: var(--schatten); }
.vb-cmp table { border-collapse: collapse; width: 100%; font-size: .9rem; min-width: 560px; }
.vb-cmp th, .vb-cmp td { padding: .65rem .9rem; text-align: left; border-bottom: 1px solid var(--linie); vertical-align: top; }
.vb-cmp thead th { font-family: var(--display); font-weight: 700; color: var(--navy); font-size: 1rem; border-bottom: 2px solid var(--navy); }
.vb-cmp tbody th { font-weight: 600; color: var(--muted); width: 24%; font-size: .86rem; }
.vb-cmp tr:last-child td, .vb-cmp tr:last-child th { border-bottom: 0; }
.vb-list { margin-top: 1rem; border-top: 2px solid var(--navy); }
.vb-list a { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; border-bottom: 1px solid var(--linie); padding: .85rem .2rem; align-items: center; color: var(--navy); text-decoration: none; }
.vb-list a:hover { background: var(--flaeche); color: var(--navy); }
.vb-list .nm { font-weight: 650; display: block; }
.vb-list .an { font-size: .84rem; color: var(--muted); }
.vb-list .rt { display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; }
.vb-mehr { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .8rem; }
.vb-alle { margin-top: .8rem; }
.vb-alle > summary { list-style: none; display: inline-flex; cursor: pointer; }
.vb-alle > summary::-webkit-details-marker { display: none; }
.vb-alle[open] > summary { display: none; }
.vb-comp { max-width: 860px; margin: 0 auto; padding: 0 var(--rand) 4rem; width: 100%; }
.vb-comp-in { position: relative; border-top: 2px solid var(--navy); padding-top: 1.5rem; }
.vb-comp-in > label.vb-lab { display: block; font-weight: 650; color: var(--navy); margin-bottom: .6rem; }
.vb-box { background: var(--flaeche); border: 1px solid var(--linie-2); border-radius: 12px; display: flex; align-items: center; gap: .5rem; padding: .4rem .4rem .4rem 1rem; }
.vb-box:focus-within { border-color: var(--blau); }
.vb-box input { flex: 1; border: 0; background: none; font-size: 1rem; color: var(--navy); outline: none; padding: .55rem 0; min-width: 0; }
.vb-box .send { width: 42px; height: 42px; border-radius: 9px; border: 0; background: var(--btn-bg); color: var(--btn-fg); display: grid; place-items: center; cursor: pointer; flex: none; }
.vb-box .send:hover { background: var(--btn-hover); }
.vb-sugg { position: absolute; top: calc(100% + .4rem); left: 0; right: 0; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 12px; box-shadow: var(--schatten); max-height: 50vh; overflow-y: auto; z-index: 20; }
.vb-sugg a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid var(--linie); padding: .7rem 1rem; font-size: .96rem; color: var(--navy); text-decoration: none; }
.vb-sugg a:first-child { border-top: 0; }
.vb-sugg a:hover, .vb-sugg a.sel { background: var(--tint); color: var(--navy); }
.vb-note { font-size: .84rem; color: var(--muted); margin-top: .7rem; }

/* ============================================================
   Verzeichnis (volle Breite)
   ============================================================ */
.vz { padding-top: 2.5rem; padding-bottom: 4rem; }
.vz-kopf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3rem; align-items: end; margin-bottom: 2.25rem; }
.vz-titel h1 { margin-bottom: .4rem; }
.vz-titel p { margin: 0; font-size: 1.08rem; max-width: 640px; }
.vz-dist-h { display: flex; justify-content: space-between; font-size: .88rem; color: var(--muted); font-weight: 600; margin-bottom: .5rem; }
.vz-bar { display: flex; height: 44px; border-radius: 8px; overflow: hidden; gap: 2px; }
.vz-bar a { color: #fff; font-weight: 700; font-size: .95rem; display: flex; align-items: center; justify-content: center; text-decoration: none; min-width: 34px; transition: filter .15s, opacity .15s; }
.vz-bar a:hover { color: #fff; filter: brightness(1.08); }
.vz-bar.sel a { opacity: .35; }
.vz-bar.sel a[aria-pressed="true"] { opacity: 1; }
.s-ch { background: var(--s-ch); } .s-eu { background: var(--s-eu); } .s-eub { background: var(--s-eub); } .s-rest { background: var(--s-rest); }
.vz-bar-l { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; margin-top: .6rem; font-size: .86rem; }
.vz-bar-l span { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.vz-bar-l b { font-weight: 700; }
.vz-bar-l i, .sw { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.vz-body { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 2.25rem; align-items: start; }
.vz-side { position: sticky; top: calc(var(--topbar) + 16px); max-height: calc(100vh - var(--topbar) - 32px); overflow-y: auto; display: flex; flex-direction: column; gap: 1rem; padding-right: .25rem; }
.vz-filter { background: var(--flaeche); border-radius: var(--r); padding: .5rem 1.1rem 1.1rem; box-shadow: var(--schatten); }
.vz-filter summary { list-style: none; display: flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--navy); padding: .55rem 0; cursor: default; }
.vz-filter summary::-webkit-details-marker { display: none; }
.vz-suche { display: flex; align-items: center; gap: .45rem; background: var(--grund); border: 1px solid var(--linie-2); border-radius: var(--r-btn); padding: 0 .7rem; margin: .4rem 0 .6rem; color: var(--muted); }
.vz-suche input { border: 0; background: none; font-size: .95rem; padding: .6rem 0; color: var(--navy); width: 100%; outline: none; }
.vz-grp { border: 0; margin: 0; padding: .75rem 0 .2rem; border-top: 1px solid var(--linie); }
.vz-grp legend { float: left; width: 100%; font-size: .86rem; color: var(--navy); font-weight: 700; padding: 0; margin-bottom: .3rem; }
.vz-grp legend small { font-weight: 400; color: var(--muted); }
.vz-grp label { clear: both; display: flex; align-items: center; gap: .55rem; padding: .3rem .4rem; margin: 0 -.4rem; border-radius: 7px; cursor: pointer; font-size: .92rem; }
.vz-grp label:hover { background: var(--tint); color: var(--navy); }
.vz-grp label.leer { opacity: .45; }
.vz-grp input { accent-color: var(--blau); width: 16px; height: 16px; margin: 0; flex: none; }
.vz-grp label > span:not(.li) { flex: 1; }
.vz-grp .li { color: var(--muted); display: grid; }
.vz-grp em { font-style: normal; font-size: .78rem; color: var(--muted); }
.vz-hilfe { font-size: .8rem; color: var(--muted); margin: .2rem 0 0; }
.vz-aktion { display: flex; flex-direction: column; gap: .4rem; margin-top: .8rem; }
.vz-legende { display: grid; gap: .45rem; background: var(--tint); border-radius: var(--r); padding: 1rem 1.1rem; font-size: .88rem; }
.vz-legende b { color: var(--navy); }
.vz-res { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.vz-res h2 { margin: 0; font-size: 1.5rem; }
.vz-res h2 span { font: 400 .95rem var(--sans); color: var(--muted); margin-left: .4rem; letter-spacing: 0; }
.vz-res-r { display: flex; align-items: center; gap: .75rem; }
.vz-res-r .btn { padding: 8px 12px; font-size: .9rem; }
.vz-hinweis { background: var(--gelb-soft); border-radius: var(--r); padding: .85rem 1.15rem; font-size: .95rem; margin-bottom: 1rem; }
.vz-tbl { background: var(--flaeche); border-radius: var(--r); box-shadow: var(--schatten); }
.vz-head, .vz-row { display: grid; grid-template-columns: minmax(190px, 1.5fr) minmax(210px, 1.7fr) minmax(110px, .8fr) minmax(95px, .6fr) minmax(125px, .85fr) minmax(140px, .9fr) minmax(190px, 1.5fr); gap: 1.1rem; align-items: center; padding: .9rem 1.25rem; }
.vz-head { background: var(--flaeche); border-bottom: 2px solid var(--navy); font-size: .84rem; color: var(--navy); font-weight: 700; position: sticky; top: var(--topbar); z-index: 2; border-radius: var(--r) var(--r) 0 0; }
.vz-head a { color: inherit; text-decoration: none; }
.vz-head a:hover, .vz-head a[data-on] { color: var(--blau-text); }
.vz-row { border-top: 1px solid var(--linie); color: var(--text); text-decoration: none; font-size: .92rem; transition: background .1s; }
.vz-row:first-of-type { border-top: 0; }
.vz-row:hover { background: var(--flaeche-2); color: var(--text); }
.vz-row:last-child { border-radius: 0 0 var(--r) var(--r); }
.vz-row.aktiv { background: var(--blau-soft); }
.c-tool .nm { display: block; font-weight: 700; color: var(--navy); font-size: 1.02rem; line-height: 1.3; }
.c-tool .an { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; font-size: .82rem; color: var(--muted); margin-top: .2rem; }
.c-art { display: grid; gap: .4rem; justify-items: start; }
.c-amp .amp em { display: none; }
.c-hinweis { font-size: .84rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vz-leer { text-align: center; padding: 3rem 1rem; background: var(--flaeche); border: 1px dashed var(--linie-2); border-radius: var(--r); }
.vz-sort-m { display: none; align-items: center; gap: .4rem; font-size: .88rem; }
.vz-sort-m select { background: var(--flaeche); border: 1px solid var(--linie-2); border-radius: 7px; padding: .35rem .5rem; color: var(--navy); }
.lst { display: inline-flex; align-items: center; gap: .3rem; font-size: .82rem; font-weight: 600; padding: .22rem .5rem; border-radius: 6px; white-space: nowrap; background: var(--grau-soft); color: var(--muted); }
.lst-spitze { background: var(--blau-soft); color: var(--blau-text); }
.lst-stark { background: var(--tint); color: var(--navy); }
.c-lst { display: flex; }

/* ---------- Prosa (Grundlagen, Marktanalyse, Über) ---------- */
.prosa h2 { font-size: 1.75rem; margin-top: 2.75rem; }
.prosa section { margin-top: 3.5rem; }
.prosa section:first-child { margin-top: 0; }
.prosa section > h2:first-child { margin-top: 0; }
.regel-liste { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--navy); counter-reset: r; }
.regel-liste li { counter-increment: r; display: grid; grid-template-columns: 2.6rem 1fr; padding: 1.2rem 0; border-bottom: 1px solid var(--linie); }
.regel-liste li::before { content: counter(r); font: 700 1.4rem/1.2 var(--display); color: var(--blau); grid-row: span 2; }
.regel-liste h3 { margin-bottom: .3rem; }
.regel-liste p { margin: 0; }
.ampel-erklaerung { list-style: none; padding: 0; margin: 0 0 1rem; border-top: 2px solid var(--navy); }
.ampel-erklaerung li { display: grid; grid-template-columns: 240px 1fr; gap: 1rem; align-items: baseline; padding: .8rem 0; border-bottom: 1px solid var(--linie); }
.ampel-erklaerung .amp { font-weight: 650; color: var(--navy); }
.analyse-layout > * { min-width: 0; }
.analyse-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 3.5rem; align-items: start; padding-top: 2.5rem; padding-bottom: 4rem; }
.toc { position: sticky; top: calc(var(--topbar) + 24px); font-size: .9rem; }
.toc b { display: block; color: var(--navy); margin-bottom: .5rem; }
.toc ul { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--navy); }
.toc a { display: block; padding: .45rem 0; border-bottom: 1px solid var(--linie); color: var(--text); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--blau-text); }
.analyse { max-width: 800px; }
.analyse h3 { margin-top: 1.75rem; }
.analyse table { border-collapse: collapse; width: 100%; font-size: .9rem; margin: 1rem 0 1.5rem; display: block; overflow-x: auto; background: var(--flaeche); border-radius: 12px; box-shadow: var(--schatten); }
.analyse th, .analyse td { padding: .6rem .8rem; text-align: left; border-bottom: 1px solid var(--linie); vertical-align: top; }
.analyse th { font-weight: 700; color: var(--navy); white-space: nowrap; border-bottom: 2px solid var(--navy); }
.analyse tr:last-child td { border-bottom: 0; }
.analyse li { margin-bottom: .45rem; }
.analyse li::marker { color: var(--blau); }
.analyse li.todo { list-style: none; position: relative; }
.analyse li.todo::before { content: ""; position: absolute; left: -1.5rem; top: .4rem; width: 14px; height: 14px; border: 1.5px solid var(--linie-2); border-radius: 4px; }
.analyse li.todo.erledigt::before { content: "✓"; background: var(--gruen-mark); border-color: var(--gruen-mark); color: #fff; font-size: 10px; line-height: 14px; text-align: center; }
.analyse li.todo.erledigt { color: var(--muted); }

/* ---------- Fusszeile ---------- */
.footer { background: var(--flaeche); border-top: 1px solid var(--linie); padding: 3.5rem 0 3rem; font-size: .92rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2rem; }
.footer h2 { font-size: .98rem; margin-bottom: .7rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.footer a { color: var(--text); text-decoration: none; }
.footer a:hover { color: var(--blau-text); text-decoration: underline; }
.footer-marke { display: inline-flex; align-items: center; gap: .5rem; font: 700 1.05rem var(--display); color: var(--navy); text-decoration: none; margin-bottom: .8rem; }
.footer-marke b { color: var(--blau); }
.footer-marke .brand-m { width: 26px; height: 26px; border-radius: 7px; }
.footer p { font-size: .88rem; color: var(--muted); margin: 0 0 .5rem; max-width: 26rem; }
.footer-unten { border-top: 1px solid var(--linie); margin-top: 2.5rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: .84rem; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1600px) {
  .vz-head, .vz-row { grid-template-columns: minmax(180px, 1.5fr) minmax(200px, 1.6fr) minmax(110px, .8fr) minmax(95px, .6fr) minmax(125px, .85fr) minmax(140px, .9fr); }
  .vz-head > :last-child, .c-hinweis { display: none; }
}
@media (max-width: 1100px) {
  .fuenf { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .nav a { padding: .5rem .6rem; }
}
@media (max-width: 1000px) {
  .held-in, .plan-band, .karte-layout, .zweispaltig, .generator, .rg-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .seitenleiste, .gen-vorschau { position: static; }
  .tueren, .drei, .hinweise, .wegweiser, .branchen-raster { grid-template-columns: 1fr 1fr; }
  .branchen-raster li:nth-child(3) { border-top-width: 1px; border-top-color: var(--linie); }
  .kacheln { grid-template-columns: 1fr 1fr; }
  .vz-kopf { grid-template-columns: 1fr; gap: 1.25rem; }
  .vz-body { grid-template-columns: 1fr; }
  .vz-side { position: static; max-height: none; overflow: visible; padding: 0; }
  .vz-filter summary { cursor: pointer; }
  .vz-legende, .vz-head { display: none; }
  .vz-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .6rem; padding: 1rem 1.1rem; }
  .vz-row .c-tool, .vz-row .c-art, .vz-row .c-amp { flex: 1 0 100%; }
  .vz-row .c-amp + .c-amp { margin-top: -.3rem; }
  .vz-row .c-lst:empty { display: none; }
  .vz-sort-m { display: inline-flex; }
  .c-amp .amp em { display: inline; }
  .analyse-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc { display: none; }
  .risiko li { grid-template-columns: 1fr; gap: .2rem; }
}
@media (max-width: 860px) {
  .js .menu-btn { display: inline-flex; }
  .js .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: .15rem; margin: 0;
    background: var(--flaeche); border-bottom: 1px solid var(--linie); box-shadow: var(--schatten); padding: .5rem 20px 1rem; }
  .js .nav.offen { display: flex; }
  .js .nav a { font-size: 1.08rem; padding: .85rem .9rem; }
  .js .kopf-cta { margin-left: auto; }
  html:not(.js) .topbar-inner { flex-wrap: wrap; height: auto; padding-top: .6rem; padding-bottom: .4rem; }
  html:not(.js) .nav { width: 100%; overflow-x: auto; margin: 0; }
  html:not(.js) .kopf-cta { display: none; }
  .kzeile > summary { grid-template-columns: minmax(0, 1fr) auto; }
  .kzeile > summary .ka { grid-column: 1 / -1; }
  .kzeile-bd { padding-left: .25rem; }
  .sg-fw { grid-template-columns: 1fr; }
  .kern { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  :root { --rand: 20px; --topbar: 60px; }
  body { font-size: 17px; }
  h2 { font-size: 1.75rem; }
  .voll { padding-left: 20px; padding-right: 20px; }
  .held-in { padding-top: 2.5rem; padding-bottom: 3rem; }
  .held .lead { font-size: 1.1rem; }
  .held-seite { padding: 1.4rem 1.25rem; }
  .sektion { padding-top: 5rem; }
  .sektion:last-of-type { padding-bottom: 5rem; }
  .seitenkopf { padding: 2rem 0 2.25rem; }
  .inhalt { padding-top: 2.5rem; }
  .abschnitt { margin-top: 3.5rem; }
  .tueren, .drei, .zwei, .fuenf, .stufen, .hinweise, .wegweiser, .branchen-raster, .kacheln, .mini, .det-fakten { grid-template-columns: 1fr; }
  .branchen-raster li:nth-child(2) { border-top-width: 1px; border-top-color: var(--linie); }
  .stufe, .stufe + .stufe { padding: 1.2rem 0; border-left: 0; border-bottom: 1px solid var(--linie); }
  .plan-band { padding: 2rem 1.4rem; margin: 0 -20px; border-radius: 0; }
  .btn { padding: 14px 22px; }
  .seitenkopf .btns .btn, .ergebnis .btns .btn, .naechster .btn, .plan-band .btn, .tuer .btn { width: 100%; }
  .suche-gross { flex-wrap: wrap; padding: .4rem .4rem .4rem .9rem; }
  .suche-gross .btn { width: 100%; }
  .radar::before { left: .45rem; }
  .radar li { grid-template-columns: 1.4rem minmax(0, 1fr); }
  .radar time { grid-column: 2; grid-row: 1; text-align: left; font-size: .9rem; }
  .radar .punkt { grid-column: 1; grid-row: 1 / span 2; margin: .3rem 0 0; }
  .radar li > div { grid-column: 2; }
  .radar-mini li { grid-template-columns: 1fr; gap: .1rem; }
  .glossar > div, .anlauf li, .ampel-erklaerung li, .acc .row { grid-template-columns: 1fr; gap: .3rem; }
  .mythos > summary { grid-template-columns: minmax(0, 1fr) auto; }
  .mythos > summary .lab { grid-column: 1 / -1; }
  .mythos-bd { grid-template-columns: 1fr; gap: .4rem; }
  .balken li { grid-template-columns: minmax(0, 1fr) 3rem; gap: .3rem .8rem; }
  .balken li > span:first-child { grid-column: 1 / -1; }
  .grafik { padding: 1.3rem 1.1rem 1rem; }
  .vb-main { padding-top: 1.75rem; }
  .vb-opts.g2 { grid-template-columns: 1fr; }
  .vb-rec .top, .vb-rec .ft, .vb-rec .rolle { padding-left: 1.1rem; padding-right: 1.1rem; }
  .vb-list a { grid-template-columns: 1fr; }
  .vb-list .rt { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: .4rem .7rem; }
  .vb-cmp table { min-width: 480px; }
  .dr-bd { padding: 1.2rem 1.1rem 3rem; }
  .antwort { padding: 1.25rem 1.2rem; }
  .antwort p { font-size: 1.15rem; }
  .ergebnis { padding: 1.5rem 1.3rem; }
  .naechster { padding: 1.4rem 1.3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feld, .feld select { width: 100%; }
  .filter-reihe { flex-direction: column; align-items: stretch; }
  .schalter { width: 100%; } .schalter label { flex: 1; justify-content: center; padding: .62rem .4rem; font-size: .88rem; }
  .brand-t { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Druck ---------- */
@media print {
  :root { --grund: #fff; --flaeche: #fff; color-scheme: light; }
  body { font-size: 11pt; background: #fff; color: #222; }
  .topbar, .footer, .profil-band, .no-print, .aktionen, .seitenleiste, .naechster, .filterleiste, .drawer, .scrim, .vb-comp, .skip, .gl-pop { display: none !important; }
  .seitenkopf { border: 0; padding: 0 0 1rem; }
  .flaeche, .dreissig, .grafik, .vz-tbl { box-shadow: none; border: 1px solid #ccc; }
  .karte-layout, .zweispaltig, .generator { display: block; }
  a { color: #222; text-decoration: none; }
  .qliste a::after { content: " – " attr(href); font-weight: 400; font-size: 8pt; color: #555; word-break: break-all; }
  details > summary .auf, details > summary svg { display: none; }
  .inhalt { padding: 1rem 0; }
  h1 { font-size: 22pt; } h2 { font-size: 15pt; }
  .gl { text-decoration: none; }
  .dunkel { background: #fff; color: #222; border: 1px solid #ccc; }
  .dunkel h2, .dunkel b, .dunkel strong { color: #000; }
  pre.vorlagetext { border: 1px solid #999; }
  .plan-status { position: static; }
  .wrap { padding: 0; max-width: none; }
}

/* ---------- Ergänzungen ---------- */
.hinweise.vier { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .hinweise.vier { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .hinweise.vier { grid-template-columns: 1fr; } .cta-t { display: none; } .kopf-cta { padding: 10px 12px; } }
.profil-dialog { border: 0; padding: 0; max-width: min(520px, calc(100vw - 32px)); width: 100%; color: var(--text); }
.profil-dialog::backdrop { background: rgba(15,28,46,.45); }
.profil-inhalt { padding: 1.75rem 1.9rem; display: grid; gap: 1rem; }
.profil-inhalt h2 { font-size: 1.5rem; margin: 0; }
.profil-inhalt p { margin: 0; }
.profil-inhalt .feld select { width: 100%; }
.h3 { font-size: 1.25rem; }
.kzeile-link { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: .4rem 1.25rem; align-items: start; padding: 1.05rem .25rem; text-decoration: none; border-radius: 6px; }
.kzeile-link:hover { background: var(--flaeche); }
.kzeile-link .kt { color: var(--navy); font-weight: 650; font-size: 1.06rem; line-height: 1.38; display: block; }
.kzeile-link .kk { display: block; color: var(--text); font-size: .98rem; margin-top: .2rem; }
@media (max-width: 860px) { .kzeile-link { grid-template-columns: 1fr; } }
.antwort .ka { align-self: flex-start; }
.mini-liste a { flex-direction: column; gap: .4rem; }
.held-seite .mini-liste a { flex-direction: row; gap: .8rem; }
.mini-liste a .ka { align-self: flex-start; }
.mini-liste a > svg { color: var(--blau); }
.seitenleiste .mini-liste a:has(> svg), .wegweiser-mini a:has(> svg) { flex-direction: row; align-items: center; }
fieldset.schalter { padding: 0; margin: 0; min-inline-size: 0; }
[data-gruppen] { margin-top: 3.5rem; }
.kgruppe > h2 + .kliste, .kgruppe .kliste { margin-top: 0; }
@media (max-width: 700px) { .btn { white-space: normal; text-align: center; } }
.naechster .btn { white-space: normal; }
@media (max-width: 700px) { .schalter .muted { display: none; } }
fieldset.schalter { width: max-content; max-width: 100%; }
fieldset.radar-filter { margin-bottom: 2.5rem; }
@media (max-width: 700px) { fieldset.schalter { width: 100%; } }
@media (prefers-color-scheme: dark) { .brand-m { background: #1e3a60; } }

/* =====================================================================
   Überarbeitung «weniger ist mehr»: eine Spalte, wenig Text, viel Luft.
   Diese Regeln stehen bewusst am Ende und übersteuern ältere Angaben.
   ===================================================================== */
.wrap.schmal { max-width: calc(780px + 2 * var(--rand)); }
.js .menu-btn { margin-left: auto; }
@media (min-width: 861px) { .js .menu-btn { display: none; } }

/* Seitenkopf ruhiger */
.seitenkopf { padding: 3rem 0 2.75rem; }
.seitenkopf h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
.seitenkopf .lead { font-size: 1.15rem; color: var(--muted); }
.brot { font-size: .86rem; margin-bottom: 1rem; }
.stand { display: block; font-size: .84rem; color: var(--muted); margin: 1rem 0 0; }
.leise { font-size: .9rem; color: var(--muted); margin-top: 3rem; }
.inhalt { padding-top: 3rem; padding-bottom: 6rem; }

/* Ampel klein: nur Zeichen */
.ka-mini { padding: 0; background: none; }
.ka-mini i { width: 1.5rem; height: 1.5rem; border-radius: 7px; font-size: .85rem; }

/* Startseite */
.seite-start main { background: var(--grund); }
.s-held { background: var(--flaeche); border-bottom: 1px solid var(--linie); text-align: center; }
.s-held .wrap { padding-top: 7rem; padding-bottom: 6.5rem; max-width: calc(760px + 2 * var(--rand)); }
.s-held h1 { font-size: clamp(2.6rem, 6.5vw, 4.4rem); letter-spacing: -0.035em; margin-bottom: .3em; }
.s-unter { font-size: 1.25rem; color: var(--muted); margin: 0 auto 2.5rem; }
.s-unter strong { font-weight: 700; color: var(--navy); }
.s-suche { display: flex; align-items: center; gap: .6rem; background: var(--flaeche); border: 1px solid var(--linie-2); border-radius: 14px;
  padding: .45rem .45rem .45rem 1.2rem; box-shadow: var(--schatten); text-align: left; transition: border-color .15s; }
.s-suche:focus-within { border-color: var(--blau); }
.s-suche { position: relative; }
/* Vorschläge unter dem Suchfeld der Startseite */
.s-sugg { position: absolute; top: calc(100% + .4rem); left: 0; right: 0; background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: 12px; box-shadow: var(--schatten); overflow: hidden; z-index: 20; text-align: left; }
.s-sugg a { display: flex; align-items: flex-start; gap: .8rem; padding: .75rem 1rem; border-top: 1px solid var(--linie);
  color: var(--navy); text-decoration: none; font-size: 1rem; line-height: 1.4; }
.s-sugg a:first-child { border-top: 0; }
.s-sugg a:hover, .s-sugg a.sel { background: var(--tint); }
.s-sugg .ka-mini { flex: none; }
.s-sugg-t, .s-sugg-k { display: block; }
.s-sugg-erst .s-sugg-t { font-weight: 650; }
.s-sugg-k { margin-top: .2rem; font-size: .92rem; color: var(--muted); }
.s-sugg a.s-sugg-alle { font-size: .92rem; font-weight: 600; color: var(--blau); background: var(--flaeche-2); }
.s-sugg a.s-sugg-alle:hover, .s-sugg a.s-sugg-alle.sel { background: var(--tint); }
.s-suche > svg { color: var(--muted); }
.s-suche input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 1.1rem; padding: .8rem 0; color: var(--navy); }
.s-suche input::placeholder { color: var(--muted); }
.s-tipps { margin: 1.4rem 0 0; font-size: .95rem; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.1rem; }
.s-tipps a { color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--linie-2); }
.s-tipps > span { flex-basis: 100%; }
.s-tipps a:hover { text-decoration-color: var(--blau); }

.s-block { padding-top: 6rem; max-width: calc(880px + 2 * var(--rand)); }
.s-block:last-child { padding-bottom: 7rem; }
.s-block > h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 1.5rem; }
.s-block > .pfeil-link { margin-top: 1.4rem; }

.s-regel { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2.5rem; }
.s-regel li { border-top: 2px solid var(--navy); padding-top: 1.4rem; }
.s-regel h3 { margin: 1rem 0 .35rem; font-size: 1.2rem; }
.s-regel p { margin: 0; color: var(--text); }

.s-fragen { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.s-fragen li { border-bottom: 1px solid var(--linie); }
.s-fragen a { display: flex; align-items: center; gap: 1rem; padding: 1.05rem .25rem; color: var(--navy); text-decoration: none; font-weight: 600; line-height: 1.4; }
.s-fragen a > span:not(.ka) { flex: 1; }
.s-fragen a > svg { color: var(--muted); transition: transform .18s, color .18s; }
.s-fragen a:hover { color: var(--blau-text); }
.s-fragen a:hover > svg { color: var(--blau); transform: translateX(3px); }

.s-wege { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2.5rem; }
.s-wege li { border-top: 2px solid var(--navy); }
.s-wege a { display: grid; gap: .35rem; padding: 1.3rem 0; text-decoration: none; color: var(--text); }
.s-wege b { font: 700 1.2rem/1.25 var(--display); color: var(--navy); letter-spacing: -0.01em; }
.s-wege a > svg { color: var(--blau); margin-top: .5rem; transition: transform .18s; }
.s-wege a:hover b { color: var(--blau-text); }
.s-wege a:hover > svg { transform: translateX(3px); }

/* Fragenliste: eine Zeile pro Frage */
.filterleiste { margin-top: 2rem; gap: 1.1rem; }
.filterleiste .suche-gross { margin-top: 0; max-width: none; }
.mehr-filter > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--blau-text); padding: .55rem .25rem; }
.mehr-filter > summary::-webkit-details-marker { display: none; }
.mehr-filter > summary svg { transition: transform .2s; }
.mehr-filter[open] > summary svg { transform: rotate(180deg); }
.mehr-filter > .filter-reihe { margin-top: .75rem; width: 100%; }
.mehr-filter[open] { flex-basis: 100%; }
[data-gruppen] { margin-top: 0; }
.kgruppe { margin-top: 3.5rem; }
.kgruppe > h2 { font-size: 1.3rem; }
.kzeile > summary { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 1rem .25rem; }
.kzeile .kt { font-size: 1.04rem; font-weight: 600; }
.kzeile-bd { padding: 0 2.5rem 1.4rem 2.75rem; }
.kzeile-bd .kk { color: var(--navy); font-weight: 650; font-size: 1.04rem; margin: 0 0 .4rem; }
@media (max-width: 860px) {
  .kzeile > summary { grid-template-columns: auto minmax(0, 1fr) auto; }
  .kzeile > summary .ka { grid-column: auto; }
  .kzeile-bd { padding: 0 .25rem 1.4rem 2.75rem; }
}

/* Karte: eine Spalte */
.karte-layout { display: block; }
.antwort { box-shadow: none; border: 1px solid var(--linie); background: var(--flaeche-2); }
.naechster { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1.5rem 0;
  border-top: 2px solid var(--navy); border-bottom: 1px solid var(--linie); border-radius: 0; background: none; }
.naechster p { color: var(--text); margin: 0; font-weight: 600; }
.aehnlich { margin-top: 4rem; }
.aehnlich h2 { font-size: 1.3rem; }
.aktionen.leise { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1.4rem; }
.aktionen.leise button, .aktionen.leise a { padding: 0; font-size: .9rem; font-weight: 600; }

/* Wissen: zehn Sätze untereinander */
.kern { grid-template-columns: 1fr; }
.abschnitt > h2 { font-size: 1.5rem; }

/* Fusszeile: alle Seiten auf einen Blick, darunter eine Zeile Hinweis */
.footer { padding: 3rem 0 2.5rem; }
.fuss-karte { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem; padding-bottom: 2rem;
  margin-bottom: 1.5rem; border-bottom: 1px solid var(--linie); }
.fuss-karte h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .8rem; }
.fuss-karte h2 a { color: var(--muted); }
.fuss-karte ul { gap: .45rem; }
.fuss-karte li a { color: var(--navy); font-size: .93rem; }
.footer-in p { max-width: none; margin: 0; font-size: .85rem; }
@media (max-width: 900px) { .fuss-karte { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fuss-karte { grid-template-columns: 1fr 1fr; gap: 1.75rem 1.25rem; } }

@media (max-width: 700px) {
  .s-held .wrap { padding-top: 4rem; padding-bottom: 4rem; }
  .s-suche { flex-wrap: wrap; padding: .45rem; }
  .s-suche > svg { margin-left: .7rem; }
  .s-suche .btn { width: 100%; }
  .s-block { padding-top: 4rem; }
  .s-block:last-child { padding-bottom: 5rem; }
  .s-regel, .s-wege { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Quellen-Kürzel im Text: leise statt Code-Optik */
.qref { font: 500 .8rem var(--sans); background: none; padding: 0; color: var(--muted); text-decoration: underline; text-decoration-color: var(--linie-2); }
a.qref:hover { background: none; color: var(--blau-text); }
.notfall-wahl { margin-top: 1.8rem; }
.notruf { margin-bottom: 0; }
.notfall + .notfall { margin-top: 4rem; }
.wrap.schmal .hinweise { grid-template-columns: 1fr; gap: 0; }
.wrap.schmal .hinweise.vier { grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
@media (max-width: 700px) { .wrap.schmal .hinweise.vier { grid-template-columns: 1fr; } }
.beispiel-gut { background: var(--gruen-soft); }
.beispiel-gut svg { color: var(--gruen); }
.beispiel-gut b { color: var(--gruen); }

/* =====================================================================
   Hauptnavigation mit Unterseiten pro Kapitel
   Desktop: Kapitel-Link + Pfeil; Panel öffnet beim Überfahren, per Klick oder Tastatur.
   Handy: Kapitel als Akkordeon im aufgeklappten Menü.
   ===================================================================== */
.nav-liste { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav-punkt { position: relative; display: flex; align-items: center; border-radius: var(--r-klein); transition: background .15s; }
.nav .nav-a { display: block; }
.hat-unter .nav-a { padding-right: .3rem; border-radius: var(--r-klein) 0 0 var(--r-klein); }
.nav .nav-a:hover { background: none; }
.nav-punkt:hover, .nav-punkt.offen { background: var(--tint); }
.nav .nav-a[aria-current] { background: none; color: var(--navy); font-weight: 650; }
.nav-punkt.ist-bereich { background: var(--tint); }
.nav-auf { display: grid; place-items: center; width: 26px; height: 36px; margin-right: .25rem; padding: 0; border: 0;
  background: none; color: var(--muted); cursor: pointer; border-radius: 6px; }
.nav-auf:hover { color: var(--navy); }
.nav-auf svg { transition: transform .2s; }
.nav-punkt.offen .nav-auf svg { transform: rotate(180deg); }

.nav-panel { position: absolute; top: calc(100% + 12px); left: -.5rem; z-index: 60; width: 360px; padding: .5rem;
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r); box-shadow: var(--schatten), 0 2px 6px rgba(15,28,46,.05);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .16s, transform .16s, visibility 0s linear .16s; }
.nav-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* Brücke für die Maus */
.nav-panel-breit { width: 620px; left: auto; right: -.5rem; }
.nav-punkt.offen .nav-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .16s, transform .16s; }
@media (hover: hover) and (min-width: 861px) {
  .hat-unter:hover .nav-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .16s .08s, transform .16s .08s; }
  .hat-unter:hover .nav-auf svg { transform: rotate(180deg); }
}
html:not(.js) .hat-unter:focus-within .nav-panel { opacity: 1; visibility: visible; transform: none; }
.nav-intro { margin: 0; padding: .55rem .75rem .7rem; font-size: .84rem; color: var(--muted); border-bottom: 1px solid var(--linie); margin-bottom: .4rem; }
.nav-unter { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.nav-panel-breit .nav-unter { grid-template-columns: 1fr 1fr; }
.nav .nav-unter a { display: flex; align-items: flex-start; gap: .75rem; padding: .6rem .7rem; border-radius: 10px; white-space: normal;
  font-size: .95rem; color: var(--text); }
.nav .nav-unter a:hover { background: var(--flaeche-2); }
.nu-i { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--tint); color: var(--navy-2);
  transition: background .15s, color .15s; }
.nav-unter a:hover .nu-i { background: var(--blau-soft); color: var(--blau-text); }
.nu-t { display: grid; gap: .1rem; line-height: 1.3; }
.nu-t b { color: var(--navy); font-weight: 650; }
.nu-t small { color: var(--muted); font-size: .82rem; }
.nav .nav-unter a[aria-current] { background: var(--blau-soft); }
.nav-unter a[aria-current] .nu-i { background: var(--blau); color: #fff; }
.nav-unter a[aria-current] .nu-t b { color: var(--blau-text); }

@media (max-width: 1100px) { .hat-unter .nav-a { padding-right: .2rem; } }
@media (max-width: 860px) {
  .js .nav { max-height: calc(100vh - var(--topbar)); overflow-y: auto; }
  .js .nav-liste { flex-direction: column; align-items: stretch; gap: .15rem; }
  .js .nav-punkt { flex-wrap: wrap; background: none; }
  .js .nav-punkt.ist-bereich > .nav-a { background: var(--tint); }
  .js .nav-a { flex: 1; border-radius: var(--r-klein); }
  .js .nav-auf { width: 48px; height: 48px; margin: 0; border-radius: var(--r-klein); }
  .js .nav-auf:hover { background: var(--tint); }
  .js .nav-panel { position: static; width: 100%; flex-basis: 100%; display: none; opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; background: none; padding: .1rem 0 .6rem .5rem; }
  .js .nav-punkt.offen .nav-panel { display: block; }
  .js .nav-intro { display: none; }
  .js .nav-panel-breit .nav-unter { grid-template-columns: 1fr; }
  .js .nav .nav-unter a { padding: .55rem .6rem; font-size: 1rem; }
  .js .nu-i { width: 30px; height: 30px; }
  .js .nu-t small { display: none; }
  html:not(.js) .nav-panel { display: none; }
}

/* ---------- Für wen gilt das? ---------- */
.fw-teil { scroll-margin-top: calc(var(--topbar) + 20px); }
.fw-teil + .fw-teil { margin-top: 4.5rem; }
.fw-teil > h2 { font-size: clamp(1.5rem, 2.8vw, 1.9rem); margin-bottom: 1.3rem; }
.fw-liste, .fw-privat { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.fw-liste > li, .fw-privat > li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .4rem 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--linie); scroll-margin-top: calc(var(--topbar) + 20px); }
.fw-liste h3, .fw-privat h3 { font-size: 1.12rem; margin: 0 0 .35rem; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; }
.fw-liste p, .fw-privat p { margin: 0 0 .5rem; }
.fw-liste p:last-child, .fw-privat p:last-child { margin-bottom: 0; }
.fw-ic { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 10px; background: var(--tint); color: var(--blau); }
.fw-gilt { font: 700 .76rem/1.3 var(--sans); padding: .14rem .5rem; border-radius: 5px; }
.fw-gilt-ja { background: var(--gruen-soft); color: var(--gruen); }
.fw-gilt-teils { background: var(--gelb-soft); color: var(--gelb); }
.fw-gilt-nein { background: var(--grau-soft); color: var(--muted); }
.fw-privat > li { grid-template-columns: 9.5rem minmax(0, 1fr); }
.fw-privat .ka { justify-self: start; align-self: start; margin-top: .1rem; }
.fw-tipp { color: var(--muted); font-size: .96rem; }
.fw-tipp b { color: var(--navy); }
.fw-normen { display: flex; flex-wrap: wrap; gap: .4rem .6rem; align-items: center; margin-top: .7rem !important; }
.fw-karte { font-size: .92rem; font-weight: 600; color: var(--blau-text); }
.fw-weiter { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin-top: 1.4rem; }
.fw-privat + .muster-hinweis { margin-top: 1.4rem; }
@media (max-width: 640px) {
  .fw-privat > li { grid-template-columns: minmax(0, 1fr); }
}

/* Startseite: Für wen? */
.s-fuer { margin-top: 1.6rem; font-size: .95rem; color: var(--muted); }
.s-fuer a { color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--linie-2); }
.s-fuer a:hover { text-decoration-color: var(--blau); }
.fragen-fuer { margin: .6rem 0 0; color: var(--muted); font-size: .98rem; }
.fragen-fuer a { font-weight: 600; }
