@font-face { font-family: "Source Sans"; src: url("/assets/fonts/source-sans-latin-2611.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url("/assets/fonts/source-serif-600-2611.woff2") format("woff2"); font-weight: 600; font-display: swap; }
:root {
  --tinte: #18163a; --tinte-2: #2d2a63; --akzent: #e8613c; --akzent-hell: #fdebe5; --papier: #ffffff; --grund: #f6f5f1;
  --linie: #e3e1da; --linie-2: #cfccc2; --text: #1d1c24; --text-2: #5b5966; --ok: #166534; --fehler: #b42318; --hinweis: #8a5a00;
  --serif: "Source Serif", Georgia, "Times New Roman", serif; --sans: "Source Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mass: 44rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.7 var(--sans); color: var(--text); background: var(--papier); }
a { color: var(--tinte-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--akzent); }
img, svg { max-width: 100%; }
h1, h2, h3 { color: var(--tinte); line-height: 1.2; }
h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4.6vw, 2.9rem); letter-spacing: -.015em; margin: .25em 0 .35em; }
h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.4rem, 3vw, 1.75rem); margin: 2em 0 .55em; letter-spacing: -.005em; }
h3 { font-family: var(--sans); font-weight: 700; font-size: 1.12rem; margin: 1.6em 0 .4em; }
p, ul, ol { margin: 0 0 1.05em; }
strong { font-weight: 650; }
code { font: .92em ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; background: #f1efe8; padding: .1em .35em; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--tinte); color: #fff; padding: 8px 14px; z-index: 2000; }
.skip:focus { left: 8px; }
.nur-vorlesen { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kopf { background: var(--papier); border-bottom: 1px solid var(--linie); }
.kopf-innen { max-width: 1120px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--tinte); text-decoration: none; }
.logo:hover { color: var(--tinte); }
.logo-zeichen { flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-weight: 750; font-size: 1.28rem; letter-spacing: -.01em; }
.logo-name span { color: var(--akzent); }
.logo-claim { font-size: .8rem; color: var(--text-2); }
.hauptnav .nav-innen { display: flex; gap: 2px 18px; flex-wrap: wrap; }
.hauptnav a { color: var(--text); text-decoration: none; padding: 10px 2px; font-weight: 600; font-size: .98rem; border-bottom: 2px solid transparent; }
.hauptnav a:hover { color: var(--tinte); border-bottom-color: var(--linie-2); }
.hauptnav a[aria-current="page"] { color: var(--tinte); border-bottom-color: var(--akzent); }
.rahmen { max-width: 1120px; margin: 0 auto; padding: 22px 16px 48px; }
.rahmen.ohne-seite main { max-width: var(--mass); margin: 0 auto; }
.ist-start .rahmen.ohne-seite main { max-width: 900px; }
.krumen { font-size: .88rem; color: var(--text-2); margin: 0 0 14px; }
.krumen a { color: var(--text-2); text-decoration: none; }
.krumen a:hover { text-decoration: underline; }
.lead, .seitenkopf .lead { font-size: 1.2rem; line-height: 1.6; color: var(--text-2); margin: 0 0 1.2em; }
.start-kopf { text-align: center; padding: 18px 0 6px; }
.start-kopf h1 { margin-bottom: .25em; }
.ohne-konto { display: inline-block; margin: 0 0 14px; padding: 5px 14px; border: 1px solid var(--linie-2); border-radius: 999px; font-size: .92rem; font-weight: 650; color: var(--tinte); letter-spacing: .01em; }
.start-kopf .lead { max-width: 40rem; margin: 0 auto 1.4em; }
.textseite { font-size: 1.09rem; }
.textseite > h1:first-child { margin-top: .1em; }
.stand { font-size: .86rem; color: var(--text-2); margin: -.2em 0 1.4em; padding-bottom: .9em; border-bottom: 1px solid var(--linie); letter-spacing: .01em; }
.textseite ul, .textseite ol { padding-left: 1.25em; }
.textseite li { margin: .35em 0; }
.textseite li::marker { color: var(--text-2); }
.start-text { margin-top: 34px; }
.schritte { counter-reset: s; list-style: none; padding: 0 !important; }
.schritte li { counter-increment: s; position: relative; padding-left: 2.6em; margin: .9em 0; }
.schritte li::before { content: counter(s); position: absolute; left: 0; top: .1em; width: 1.75em; height: 1.75em; border-radius: 50%; border: 1.5px solid var(--tinte); color: var(--tinte); font-weight: 700; font-size: .95rem; display: grid; place-items: center; }
.kasten { background: var(--grund); border-left: 3px solid var(--tinte); padding: 14px 18px; margin: 1.5em 0; }
.kasten p:first-child { margin-top: 0; } .kasten p:last-child { margin-bottom: 0; }
.probieren { border: 1px solid var(--linie); border-left: 3px solid var(--akzent); padding: 14px 18px; margin: 1.5em 0; background: var(--papier); }
.probieren-text { margin: 0 0 10px; font-family: var(--serif); font-size: 1.05rem; color: var(--tinte); }
.cta { margin: 2em 0; }
.verwandt { margin-top: 2.6em; padding-top: .4em; border-top: 1px solid var(--linie); }
.verwandt h2 { font-size: 1.25rem; }
.verwandt ul { list-style: none; padding: 0 !important; display: grid; gap: 0; }
.verwandt li { padding: 12px 0; border-bottom: 1px solid var(--linie); margin: 0 !important; }
.verwandt li a { font-weight: 650; display: block; text-decoration: none; }
.verwandt li a:hover { text-decoration: underline; }
.verwandt li span { font-size: .94rem; color: var(--text-2); }
.ratgeber-kurz { padding-left: 1.2em; }
.ratgeber-raster { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 28px; }
.ratgeber-raster li { padding: 16px 0; border-bottom: 1px solid var(--linie); margin: 0 !important; }
.ratgeber-raster a { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; display: block; margin-bottom: 4px; text-decoration: none; color: var(--tinte); }
.ratgeber-raster a:hover { color: var(--akzent); }
.ratgeber-raster span { color: var(--text-2); font-size: .95rem; }
.tabelle-scroll { overflow-x: auto; margin: 1.4em 0; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
thead th { border-bottom: 2px solid var(--tinte); color: var(--tinte); font-weight: 700; font-size: .88rem; letter-spacing: .02em; }
tbody tr:hover { background: #faf9f6; }
table.breit { min-width: 640px; }
.stimmen-tabelle tbody th { font-weight: 650; white-space: nowrap; border-bottom: 1px solid var(--linie); }
.probe-knopf { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 12px; border-radius: 6px; border: 1px solid var(--linie-2); background: var(--papier); color: var(--tinte); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap; }
.probe-knopf:hover, .probe-knopf[aria-pressed="true"] { border-color: var(--tinte); color: var(--tinte); background: var(--grund); }
.typ { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 1px 7px; border-radius: 4px; border: 1px solid var(--linie-2); color: var(--tinte-2); background: var(--papier); }
.typ-ki { border-color: #f1b6a5; color: #9a3412; background: var(--akzent-hell); }
.typ-standard { color: var(--text-2); }
.werkzeug { background: var(--papier); border: 1px solid var(--linie-2); border-radius: 12px; box-shadow: 0 1px 2px rgba(24,22,58,.04), 0 12px 32px rgba(24,22,58,.07); padding: 20px; }
.feld-text textarea { width: 100%; min-height: 200px; resize: vertical; font: inherit; font-size: 1.1rem; line-height: 1.6; padding: 14px 16px; border: 1px solid var(--linie-2); border-radius: 8px; background: #fdfdfb; color: var(--text); }
.feld-text textarea:focus, select:focus, button:focus-visible, a:focus-visible { outline: 3px solid rgba(232,97,60,.45); outline-offset: 2px; border-color: var(--tinte-2); }
.leiste { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.leiste-knoepfe { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.leiste-label { font-size: .9rem; color: var(--text-2); font-weight: 600; margin-right: 2px; }
.chip { min-height: 44px; padding: 6px 14px; border-radius: 6px; border: 1px solid var(--linie-2); background: var(--papier); color: var(--tinte); font: inherit; font-weight: 600; font-size: .93rem; cursor: pointer; }
.chip:hover { border-color: var(--tinte); background: var(--grund); }
.chip-still { color: var(--text-2); }
.zaehler { font-size: .9rem; color: var(--text-2); font-variant-numeric: tabular-nums; }
.zaehler.zu-viel { color: var(--fehler); font-weight: 700; }
.feld-reihe { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-top: 16px; }
.feld label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 5px; color: var(--tinte); }
.feld select { width: 100%; min-height: 46px; font: inherit; padding: 8px 10px; border: 1px solid var(--linie-2); border-radius: 8px; background: #fff; color: var(--text); }
.feld-stimme { grid-column: span 2; }
.mit-knopf { display: flex; gap: 8px; }
.knopf-rund { flex: none; width: 46px; height: 46px; border-radius: 8px; border: 1px solid var(--tinte); background: var(--papier); color: var(--tinte); cursor: pointer; display: grid; place-items: center; }
.knopf-rund:hover { background: var(--tinte); color: #fff; }
.ts { margin-top: 12px; }
.ts:empty { margin: 0; }
.los-reihe { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.knopf, .knopf-zweit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 8px; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; border: 1px solid var(--tinte); }
.knopf { background: var(--tinte); color: #fff; }
.knopf:hover { background: var(--tinte-2); color: #fff; }
.knopf-zweit { background: var(--papier); color: var(--tinte); }
.knopf-zweit:hover { background: var(--grund); color: var(--tinte); }
.knopf-gross { font-size: 1.1rem; padding: 12px 30px; background: #c2410c; border-color: #c2410c; color: #fff; }
.knopf-gross:hover { background: #9a3412; border-color: #9a3412; color: #fff; }
.knopf-gross:disabled { opacity: .7; cursor: progress; }
.knopf-gross.arbeitet svg { animation: puls 1s ease-in-out infinite; }
@keyframes puls { 50% { transform: scale(1.2); } }
@media (prefers-reduced-motion: reduce) { .knopf-gross.arbeitet svg { animation: none; } }
.knopf-klein { min-height: 40px; padding: 6px 14px; font-size: .93rem; }
.rest { margin: 0; color: var(--text-2); font-size: .92rem; }
.meldung { margin: 12px 0 0; min-height: 1.4em; font-weight: 600; }
.meldung:empty { margin: 0; min-height: 0; }
.meldung-fehler { color: var(--fehler); }
.meldung-ok { color: var(--ok); }
.meldung-hinweis { color: var(--hinweis); }
.ergebnis { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--linie); }
.ergebnis audio { width: 100%; }
.laden { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.laden-label { font-weight: 700; color: var(--tinte); margin-right: 4px; font-size: .95rem; }
.klein { font-size: .88rem; color: var(--text-2); }
.kacheln { display: grid; grid-template-columns: repeat(4, 1fr); margin: 30px 0 0; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.kachel { padding: 16px 8px; text-align: center; }
.kachel + .kachel { border-left: 1px solid var(--linie); }
.kachel strong { display: block; font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: var(--tinte); line-height: 1.1; font-variant-numeric: lining-nums; }
.kachel span { font-size: .86rem; color: var(--text-2); }
.fuss { background: var(--tinte); color: #cfcde3; margin-top: 40px; }
.fuss-innen { max-width: 1120px; margin: 0 auto; padding: 34px 16px 40px; }
.fuss a { color: #fff; }
.fuss nav { display: flex; gap: 4px 20px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); font-size: .92rem; }
.fuss nav a { text-decoration: none; padding: 6px 0; color: #e7e6f2; }
.fuss nav a:hover { text-decoration: underline; color: #fff; }
.fuss-info { font-size: .93rem; max-width: 760px; margin: 0; line-height: 1.6; }
.fuss-spalten { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.fuss-spalten h2 { font-family: var(--sans); color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 8px; }
.fuss-spalten ul { list-style: none; padding: 0; margin: 0; font-size: .93rem; }
.fuss-spalten li { margin: 4px 0; }
.fuss-spalten a { color: #e7e6f2; text-decoration: none; }
.fuss-spalten a:hover { text-decoration: underline; color: #fff; }
#consent-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; padding: 12px; }
#consent-banner[hidden] { display: none; }
.consent-box { max-width: 720px; margin: 0 auto; background: var(--tinte); color: #fff; border-radius: 10px; box-shadow: 0 16px 40px rgba(24,22,58,.35); padding: 14px 16px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.consent-box a { color: #ffd2c4; }
.consent-box p { margin: 0; flex: 1 1 240px; font-size: .95rem; }
.consent-actions { display: flex; gap: 8px; }
.consent-actions button { min-height: 44px; padding: 8px 18px; border-radius: 8px; font: inherit; font-weight: 700; cursor: pointer; border: 1px solid var(--akzent); background: var(--akzent); color: #fff; }
#consent-refuse { background: transparent; border-color: rgba(255,255,255,.5); }
@media (max-width: 760px) {
  .kopf-innen { padding: 10px 14px; }
  .hauptnav { width: 100%; }
  .hauptnav .nav-innen { gap: 0 16px; }
  .werkzeug { padding: 14px 12px; border-radius: 10px; }
  .feld-stimme { grid-column: auto; }
  .kacheln { grid-template-columns: repeat(2, 1fr); }
  .kachel:nth-child(3) { border-left: 0; }
  .kachel:nth-child(n+3) { border-top: 1px solid var(--linie); }
  .knopf-gross { width: 100%; }
  .fuss-spalten { grid-template-columns: 1fr; }
  .textseite { font-size: 1.05rem; }
}
@media print { .hauptnav, .fuss nav, #consent-banner, .werkzeug { display: none !important; } }
