@font-face {
  font-family: 'Plex Sans';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Plex Sans';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ============ Farben ============ */

:root {
  --bg:        #FFFFFF;
  --bg-2:      #F5F6F4;
  --bg-3:      #ECEEEA;
  --ink:       #14181B;
  --ink-2:     #4A5257;
  --ink-3:     #6C767B;
  --line:      #DFE3DE;
  --line-2:    #EDEFEB;
  --accent:    #0A6B5A;
  --accent-2:  #08594B;
  --accent-bg: #E6F2EF;
  --shadow:    0 1px 2px rgba(20,24,27,.06), 0 8px 24px rgba(20,24,27,.05);

  --a-recht:     #4655C8;
  --a-werkzeuge: #0C7B85;
  --a-einsatz:   #2C7A4B;
  --a-daten:     #7346BE;
  --a-kosten:    #A05C15;
  --a-kompetenz: #AC3159;

  --sidebar: 272px;
  --text-w:  min(70ch, 100%);
  --pad:     clamp(1.1rem, 3vw, 2.6rem);
}

[data-theme="dark"] {
  --bg:        #101315;
  --bg-2:      #171B1E;
  --bg-3:      #1E2327;
  --ink:       #E6E9E7;
  --ink-2:     #A3ADB2;
  --ink-3:     #7A858B;
  --line:      #2A3034;
  --line-2:    #212629;
  --accent:    #4FD1B5;
  --accent-2:  #6FE0C7;
  --accent-bg: #14312B;
  --shadow:    0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3);

  --a-recht:     #8E9AF5;
  --a-werkzeuge: #45C3CE;
  --a-einsatz:   #63C588;
  --a-daten:     #B392F0;
  --a-kosten:    #E0A45E;
  --a-kompetenz: #F07AA0;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --bg:        #101315;
  --bg-2:      #171B1E;
  --bg-3:      #1E2327;
  --ink:       #E6E9E7;
  --ink-2:     #A3ADB2;
  --ink-3:     #7A858B;
  --line:      #2A3034;
  --line-2:    #212629;
  --accent:    #4FD1B5;
  --accent-2:  #6FE0C7;
  --accent-bg: #14312B;
  --shadow:    0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3);

  --a-recht:     #8E9AF5;
  --a-werkzeuge: #45C3CE;
  --a-einsatz:   #63C588;
  --a-daten:     #B392F0;
  --a-kosten:    #E0A45E;
  --a-kompetenz: #F07AA0;
}
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  transition: background .2s ease, color .2s ease;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-2); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.018em; line-height: 1.2; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: -0.028em; }
h2 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.mono {
  font-family: 'Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 500; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase;
}

/* ============ Grundgerüst ============ */

.shell { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); min-height: 100vh; }

.side {
  border-right: 1px solid var(--line);
  background: var(--bg-2);
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  padding: 1.1rem 1rem 2.5rem;
  display: flex; flex-direction: column; gap: 1.4rem;
}
.side-brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.side-brand:hover { color: var(--ink); }
.side-brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.side-brand-txt b { font-size: .97rem; font-weight: 600; letter-spacing: -.02em; }
.side-brand-txt span { font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); font-family: 'Plex Mono', monospace; }

.searchbox { position: relative; }
.searchbox input {
  width: 100%; font: inherit; font-size: .88rem; padding: .55rem .7rem .55rem 2rem;
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px; color: var(--ink);
}
.searchbox input::placeholder { color: var(--ink-3); }
.searchbox input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-bg); }
.searchbox svg { position: absolute; left: .6rem; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.searchbox kbd {
  position: absolute; right: .5rem; top: 50%; transform: translateY(-50%);
  font-family: 'Plex Mono', monospace; font-size: .62rem; color: var(--ink-3);
  border: 1px solid var(--line); border-radius: 3px; padding: .1rem .3rem; background: var(--bg-2);
}

.nav-group + .nav-group { margin-top: 1.3rem; }
.nav-title { font-family: 'Plex Mono', monospace; font-size: .64rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 .5rem .55rem; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: flex; align-items: center; gap: .55rem;
  padding: .38rem .55rem; border-radius: 5px; text-decoration: none;
  color: var(--ink-2); font-size: .89rem; line-height: 1.35;
}
.nav-list a:hover { background: var(--bg-3); color: var(--ink); }
.nav-list a[aria-current="page"] { background: var(--accent-bg); color: var(--ink); font-weight: 500; }
.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--ink-3); }
.nav-list a .soon { margin-left: auto; font-family: 'Plex Mono', monospace; font-size: .56rem; letter-spacing: .08em; color: var(--ink-3); border: 1px solid var(--line); border-radius: 3px; padding: 0 .25rem; }

.side-foot { margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .78rem; color: var(--ink-3); display: flex; flex-direction: column; gap: .5rem; }
.side-foot a { color: var(--ink-3); text-decoration: none; }
.side-foot a:hover { color: var(--accent); }
.side-foot-links { display: flex; flex-wrap: wrap; gap: .1rem .7rem; }

.melogo-link { display: inline-block; opacity: .82; transition: opacity .2s ease; }
.melogo-link:hover { opacity: 1; }
.melogo { width: 112px; height: auto; }
.melogo.hell { display: none; }
[data-theme="dark"] .melogo.dunkel { display: none; }
[data-theme="dark"] .melogo.hell { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .melogo.dunkel { display: none; }
  :root:not([data-theme="light"]) .melogo.hell { display: block; }
}

.themetoggle {
  display: inline-flex; align-items: center; gap: .45rem; background: none; cursor: pointer;
  border: 1px solid var(--line); border-radius: 5px; padding: .3rem .55rem;
  color: var(--ink-2); font: inherit; font-size: .76rem;
}
.themetoggle:hover { border-color: var(--accent); color: var(--ink); }

/* Kopfleiste nur mobil */
.topbar { display: none; }

@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .topbar {
    display: flex; align-items: center; justify-content: space-between; gap: .8rem;
    position: sticky; top: 0; z-index: 60; background: var(--bg);
    border-bottom: 1px solid var(--line); padding: .6rem var(--pad);
  }
  .side {
    position: fixed; inset: 0 auto 0 0; width: min(310px, 86vw); z-index: 70;
    transform: translateX(-102%); transition: transform .22s ease; height: 100dvh;
  }
  .side.open { transform: none; box-shadow: var(--shadow); }
  .scrim { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 65; display: none; }
  .scrim.on { display: block; }
  .burger { background: none; border: 1px solid var(--line); border-radius: 5px; padding: .35rem .6rem; color: var(--ink); cursor: pointer; font: inherit; font-size: .8rem; }
}

/* ============ Inhaltsbereich ============ */

.main { padding: clamp(1.5rem, 3vw, 3rem) var(--pad) 5rem; min-width: 0; }
.page { max-width: 1180px; margin-inline: auto; }
.with-toc { display: grid; grid-template-columns: minmax(0,1fr) 218px; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (max-width: 1180px) { .with-toc { grid-template-columns: minmax(0,1fr); } .toc { display: none; } }

.crumbs { font-size: .8rem; color: var(--ink-3); margin-bottom: 1.1rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

.areatag {
  display: inline-flex; align-items: center; gap: .45rem; font-family: 'Plex Mono', monospace;
  font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--area, var(--accent));
}
.areatag .dot { background: var(--area, var(--accent)); }

.page-head { border-bottom: 1px solid var(--line); padding-bottom: 1.4rem; margin-bottom: 1.8rem; }
.page-head h1 { margin: .7rem 0 0; }
.page-head .sub { color: var(--ink-2); font-size: 1.08rem; margin-top: .8rem; max-width: 62ch; }
.meta-row { display: flex; flex-wrap: wrap; gap: .45rem 1.3rem; margin-top: 1.1rem; font-size: .8rem; color: var(--ink-3); align-items: center; }
.stand { display: inline-flex; align-items: center; gap: .4rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: .18rem .7rem; font-family: 'Plex Mono', monospace; font-size: .68rem; letter-spacing: .04em; color: var(--ink-2); }
.stand b { color: var(--ink); font-weight: 500; }

/* ---- Tiefenstufen ---- */

.depth { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 1.6rem; overflow: hidden; background: var(--bg); }
.depth-1 { border-color: var(--area, var(--accent)); border-width: 1px 1px 1px 3px; background: var(--bg-2); }
.depth-head { display: flex; align-items: baseline; gap: .8rem; padding: .9rem 1.2rem; border-bottom: 1px solid var(--line-2); }
.depth-1 .depth-head { border-bottom-color: var(--line); }
.depth-n { font-family: 'Plex Mono', monospace; font-size: .66rem; letter-spacing: .1em; color: var(--area, var(--accent)); }
.depth-head h2 { font-size: 1rem; font-weight: 600; }
.depth-head .len { margin-left: auto; font-family: 'Plex Mono', monospace; font-size: .64rem; color: var(--ink-3); }
.depth-body { padding: 1.2rem 1.2rem 1.4rem; }
.depth-1 .depth-body { font-size: 1.09rem; line-height: 1.6; }

details.depth > summary { list-style: none; cursor: pointer; }
details.depth > summary::-webkit-details-marker { display: none; }
details.depth > summary .chev { margin-left: .4rem; color: var(--ink-3); transition: transform .2s ease; font-size: 1.1rem; line-height: 1; }
details.depth[open] > summary .chev { transform: rotate(90deg); }
details.depth > summary:hover { background: var(--bg-2); }

/* ---- Fließtext ---- */

.prose { max-width: var(--text-w); }
.prose h2 { margin: 2.2rem 0 .8rem; }
.prose h3 { margin: 1.7rem 0 .5rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1rem; }
.prose li { margin-bottom: .4rem; }
.prose li::marker { color: var(--area, var(--accent)); }
.prose blockquote { margin: 1.5rem 0; padding: .2rem 0 .2rem 1.1rem; border-left: 3px solid var(--area, var(--accent)); color: var(--ink-2); font-size: 1.05rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.3rem 0; font-size: .93rem; }
.prose th, .prose td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; font-size: .76rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); border-bottom: 2px solid var(--line); }
.prose tr:last-child td { border-bottom: none; }

.anchor { color: var(--ink-3); text-decoration: none; opacity: 0; margin-left: .4rem; font-weight: 400; }
h2:hover .anchor, h3:hover .anchor { opacity: 1; }

/* ---- Kästen ---- */

.facts { border: 1px solid var(--line); border-left: 3px solid var(--area, var(--accent)); border-radius: 8px; background: var(--bg-2); padding: 1.1rem 1.3rem; margin: 1.6rem 0; }
.facts h4 { font-family: 'Plex Mono', monospace; font-size: .66rem; letter-spacing: .11em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .7rem; font-weight: 500; }
.facts ul { margin: 0; padding-left: 1.1rem; font-size: .96rem; }
.facts li { margin-bottom: .4rem; }

.callout { border: 1px solid var(--line); border-radius: 8px; padding: .9rem 1.1rem; margin: 1.4rem 0; font-size: .95rem; color: var(--ink-2); background: var(--bg-2); }
.callout strong { color: var(--ink); }

/* ---- Glossarbegriffe im Text ---- */

.term {
  border-bottom: 1px dotted var(--ink-3); text-decoration: none; color: inherit; cursor: help;
}
.term:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ---- Quellen ---- */

.sources { margin-top: 2.5rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.sources h2 { font-size: 1rem; margin-bottom: .8rem; }
.sources ol { padding-left: 1.4rem; font-size: .89rem; color: var(--ink-2); }
.sources li { margin-bottom: .55rem; }
.sources .ret { color: var(--ink-3); font-family: 'Plex Mono', monospace; font-size: .68rem; }

/* ---- Änderungsverlauf ---- */

.changelog { margin-top: 1.8rem; }
.changelog h2 { font-size: 1rem; margin-bottom: .7rem; }
.changelog ul { list-style: none; margin: 0; padding: 0; font-size: .88rem; }
.changelog li { display: grid; grid-template-columns: 6.5rem 1fr; gap: .8rem; padding: .45rem 0; border-bottom: 1px solid var(--line-2); color: var(--ink-2); }
.changelog time { font-family: 'Plex Mono', monospace; font-size: .7rem; color: var(--ink-3); padding-top: .12rem; }

/* ---- Inhaltsverzeichnis rechts ---- */

.toc { position: sticky; top: 2rem; font-size: .84rem; }
.toc h4 { font-family: 'Plex Mono', monospace; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .6rem; font-weight: 500; }
.toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc li a { display: block; padding: .3rem 0 .3rem .8rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink-3); text-decoration: none; line-height: 1.35; }
.toc li a:hover { color: var(--ink); }
.toc li a.active { color: var(--ink); border-left-color: var(--area, var(--accent)); }
.toc li.lvl3 a { padding-left: 1.5rem; font-size: .8rem; }

/* ============ Startseite / Kacheln ============ */

.hero-k { padding: clamp(1rem,2vw,2rem) 0 clamp(2rem,4vw,3rem); border-bottom: 1px solid var(--line); margin-bottom: 2.5rem; }
.hero-k h1 { max-width: 20ch; }
.hero-k p { color: var(--ink-2); font-size: 1.12rem; max-width: 62ch; margin-top: 1rem; }

.grid-areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 1rem; }
.acard {
  display: flex; flex-direction: column; gap: .55rem; text-decoration: none; color: inherit;
  border: 1px solid var(--line); border-top: 3px solid var(--area, var(--accent)); border-radius: 9px;
  padding: 1.1rem 1.2rem 1.2rem; background: var(--bg); transition: border-color .18s, transform .18s, box-shadow .18s;
  overflow: hidden;
}
.acard:hover { color: inherit; transform: translateY(-2px); box-shadow: var(--shadow); }
.acard h3 { font-size: 1.05rem; }
.acard p { font-size: .91rem; color: var(--ink-2); margin: 0; }
.acard .foot { margin-top: auto; padding-top: .8rem; font-family: 'Plex Mono', monospace; font-size: .64rem; letter-spacing: .08em; color: var(--ink-3); display: flex; justify-content: space-between; }
.acard.pending { opacity: .72; }

/* Karten mit Bild: das Bild sitzt bündig in der Karte, der Text darunter */
.acard:has(.acard-bild) { padding: 0; gap: 0; }
.acard-bild { display: block; margin: -1px -1px 0; }
.acard-bild img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  filter: saturate(.95) contrast(1.02);
}
.acard-txt { display: flex; flex-direction: column; gap: .55rem; padding: 1rem 1.2rem 1.2rem; flex: 1; }
.acard .bildtext {
  font-size: .8rem; line-height: 1.5; font-style: italic; color: var(--ink-3);
  border-left: 2px solid var(--area, var(--accent)); padding-left: .7rem; margin-top: .15rem;
}

/* Kopfbild eines Dossiers */
.kopfbild { margin: 0 0 1.6rem; }
.kopfbild img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover;
  border-radius: 9px; filter: saturate(.95) contrast(1.02);
}
.kopfbild figcaption {
  margin-top: .6rem; font-size: .82rem; font-style: italic; color: var(--ink-3);
  border-left: 2px solid var(--area, var(--accent)); padding-left: .7rem; line-height: 1.5;
}

.sec-k { margin-top: clamp(2.5rem, 5vw, 4rem); }
.sec-k > h2 { display: flex; align-items: baseline; gap: 1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); margin-bottom: 1.3rem; }
.sec-k > h2 a { margin-left: auto; font-size: .82rem; font-weight: 400; text-decoration: none; }

/* ---- Chronik ---- */

.chron { list-style: none; margin: 0; padding: 0; }
.chron li { display: grid; grid-template-columns: 7rem 1fr; gap: 1.2rem; padding: 1rem 0; border-bottom: 1px solid var(--line-2); }
@media (max-width: 640px) { .chron li { grid-template-columns: 1fr; gap: .3rem; } }
.chron time { font-family: 'Plex Mono', monospace; font-size: .72rem; color: var(--ink-3); padding-top: .2rem; }
.chron h3 { font-size: 1rem; margin-bottom: .25rem; }
.chron h3 a { text-decoration: none; color: var(--ink); }
.chron h3 a:hover { color: var(--accent); }
.chron p { font-size: .92rem; color: var(--ink-2); margin: 0; }
.chron .rel { margin-top: .45rem; font-size: .8rem; }

/* ---- Glossar ---- */

.glosslist { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.glossitem { background: var(--bg); padding: 1.1rem 1.2rem; }
.glossitem h3 { font-size: 1rem; display: flex; align-items: baseline; gap: .7rem; }
.glossitem h3 .en { font-weight: 400; font-size: .82rem; color: var(--ink-3); font-style: italic; }
.glossitem p { font-size: .94rem; color: var(--ink-2); margin: .45rem 0 0; }
.glossitem .why { margin-top: .6rem; font-size: .9rem; padding-left: .8rem; border-left: 2px solid var(--accent); color: var(--ink-2); }
.alpha-nav { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: 1.4rem; }
.alpha-nav a, .alpha-nav span { font-family: 'Plex Mono', monospace; font-size: .72rem; padding: .2rem .45rem; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; }
.alpha-nav span { color: var(--ink-3); opacity: .4; }

/* ---- Suche ---- */

.results { margin-top: 1.5rem; }
.result { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line-2); text-decoration: none; color: inherit; }
.result:hover { color: inherit; }
.result h3 { font-size: 1rem; }
.result:hover h3 { color: var(--accent); }
.result .path { font-family: 'Plex Mono', monospace; font-size: .66rem; color: var(--ink-3); letter-spacing: .05em; }
.result p { font-size: .9rem; color: var(--ink-2); margin: .3rem 0 0; }
.result mark { background: var(--accent-bg); color: inherit; padding: 0 .1em; border-radius: 2px; }
.searchhint { color: var(--ink-3); font-size: .92rem; }

/* ---- Entscheidungshilfe ---- */

.quiz { border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); padding: clamp(1.2rem, 3vw, 2rem); margin-top: 1.5rem; }
.quiz-step { display: none; }
.quiz-step.on { display: block; }
.quiz-q { font-size: 1.2rem; font-weight: 600; margin-bottom: .5rem; }
.quiz-help { color: var(--ink-2); font-size: .93rem; margin-bottom: 1.2rem; }
.quiz-opts { display: flex; flex-wrap: wrap; gap: .6rem; }
.quiz-opts button {
  font: inherit; font-size: .95rem; padding: .6rem 1.1rem; cursor: pointer;
  background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 7px;
}
.quiz-opts button:hover { border-color: var(--accent); color: var(--accent); }
.quiz-prog { font-family: 'Plex Mono', monospace; font-size: .66rem; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 1rem; }
.quiz-result { border-left: 3px solid var(--accent); padding-left: 1.1rem; }
.quiz-result h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.quiz-trail { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-3); }
.quiz-trail li { margin-bottom: .25rem; }
.btn-restart { margin-top: 1.2rem; font: inherit; font-size: .85rem; background: none; border: 1px solid var(--line); border-radius: 6px; padding: .45rem .9rem; color: var(--ink-2); cursor: pointer; }
.btn-restart:hover { border-color: var(--accent); color: var(--accent); }

/* ---- Sonstiges ---- */

.pill { display: inline-block; font-family: 'Plex Mono', monospace; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 20px; padding: .12rem .55rem; color: var(--ink-3); }
.skip { position: absolute; left: -9999px; background: var(--accent); color: #fff; padding: .6rem 1rem; z-index: 100; border-radius: 0 0 6px 0; }
.skip:focus { left: 0; top: 0; }
.empty { border: 1px dashed var(--line); border-radius: 9px; padding: 2rem; text-align: center; color: var(--ink-3); font-size: .95rem; }


/* ---------------------------------------------------------------------------
   Sicherheitsnetz für schmale Bildschirme.
   Lange Komposita brechen um statt über den Rand zu laufen, Medien und Tabellen
   bleiben in ihrem Kasten, und Rasterspalten dürfen unter ihre Mindestbreite.
   --------------------------------------------------------------------------- */
img, video, svg, canvas, iframe { max-width: 100%; }
h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 52rem) {
  table { display: block; max-width: 100%; overflow-x: auto; }
}

/* --- Hinweis auf das Angebot am Ende eines Dossiers ------------------------
   Diese Domain erklärt und verkauft nicht. Der Hinweis steht deshalb am Fuß,
   ist als solcher gekennzeichnet und nicht als Werbefläche gestaltet. */
.weiterfuehrend {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--bg-2, transparent);
  padding: 1.1rem 1.3rem;
  margin: 2.2rem 0 0;
}
.weiterfuehrend-kopf {
  font-size: .72rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 .5rem;
}
.weiterfuehrend p { margin: 0 0 .5rem; }
.weiterfuehrend-klein { font-size: .85rem; color: var(--ink-3); margin: 0; }
