@font-face { font-family: "DM Sans"; src: url("/fonts/dm-sans-400.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/fonts/dm-sans-500.ttf") format("truetype"); font-weight: 450; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/fonts/dm-sans-500.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/fonts/dm-sans-600.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/fonts/dm-sans-700.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --seite: #f7f5f0;
  --sidebar: #f8f7f5;
  --pill: #ebe8e3;
  --karte: #f5f3f0;
  --text: #1f1c19;
  --sekundaer: #5f5a54;
  --petrol: #3d6b7a;
  --flaeche: #e3ebed;
  --feld: #fff;
  --steigt: #2f8f6a;
  --faellt: #c2504a;
  --link: #3d6b7a;
  --aktion: #3d6b7a;
  --aktion-text: #fff;
  --haken: #3d6b7a;
  --hinweis-kasten: #e7e5e1;
  --hinweis-text: #1f1c19;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --seite: #1a1816;
    --sidebar: #221f1c;
    --pill: #2e2a26;
    --karte: #24211e;
    --text: #ece8e3;
    --sekundaer: #a8a199;
    --petrol: #8fc1d0;
    --flaeche: #24343a;
    --feld: #2e2a26;
    --link: #8fc1d0;
    --aktion: #437b8c;
    --aktion-text: #ece8e3;
    --haken: #6da4ae;
    --hinweis-kasten: #24211e;
    --hinweis-text: #a8a199;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--seite); color: var(--text); font-family: "DM Sans", sans-serif; font-size: 16px; line-height: 1.5; }
body { min-height: 100vh; }
a { color: var(--link); text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; color: inherit; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--haken); }
.icon { stroke: currentColor; fill: none; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; flex: none; }
.sprung { position: absolute; left: -999px; top: 12px; }
.sprung:focus { left: 12px; background: var(--karte); color: var(--text); padding: 8px 12px; border-radius: 999px; z-index: 2; }

.rahmen { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; align-items: stretch; }
.rahmen > aside { background: var(--sidebar); padding: 32px 20px 24px; align-self: stretch; }
.marke { display: block; color: var(--text); text-decoration: none; font-weight: 600; font-size: 22px; letter-spacing: -0.03em; line-height: 1.15; }
.unterzeile { margin: 6px 0 32px; color: var(--sekundaer); font-size: 13px; line-height: 1.35; }
.kapitel-label { margin: 0 0 10px; color: var(--sekundaer); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; }
.rahmen > aside nav { display: flex; flex-direction: column; gap: 4px; }
nav a { display: flex; align-items: center; color: var(--text); text-decoration: none; font-weight: 450; font-size: 14.5px; line-height: 1.3; padding: 10px 12px; border-radius: 999px; }
.nav-label { display: inline; }
.nav-label .icon { margin-right: 8px; }
sup.copy { font-size: 0.65em; line-height: 0; margin: 0; padding: 0; letter-spacing: 0; }
nav a.aktiv, .breite a.aktiv { background: var(--pill); }
.spalte { padding: 28px 5vw 56px; min-width: 0; }
.banner, .staging-band { background: var(--flaeche); color: var(--petrol); padding: 10px 16px; border-radius: 0; margin: 0; }
main { max-width: 760px; }
.rahmen.breit main { max-width: 1120px; }

.kopf { margin: 12px 0 8px; }
.kicker { margin: 0 0 8px; color: var(--sekundaer); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
h1 { font-size: clamp(32px, 4vw, 46px); margin: 0 0 10px; }
h2 { font-size: 20px; margin: 0 0 14px; }
.sekundaer { color: var(--sekundaer); }
.karte { background: var(--karte); border-radius: 20px; padding: 22px 24px; margin: 14px 0; }
.karte.eng { max-width: 440px; margin-top: 4vh; padding: 28px; }
.karte.link { display: block; color: inherit; text-decoration: none; margin: 0; min-height: 100%; }
.karte.link p { color: var(--sekundaer); margin: 0; }
.raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 8px; }
.hinweis, .geheimnis, .zahlung { background: var(--flaeche); color: var(--text); padding: 12px 14px; border-radius: 14px; }
.zahlung { margin: 18px 0 0; color: var(--sekundaer); background: transparent; padding: 0; max-width: 62ch; }
.geheimnis { overflow-wrap: anywhere; }

.zeilen { display: grid; }
.zeile { display: grid; grid-template-columns: minmax(8.5rem, 11rem) minmax(0, 1fr); gap: 12px 20px; align-items: baseline; padding: 11px 0; }
.zeile-label { color: var(--sekundaer); font-size: 14px; }
.zeile-wert { font-weight: 600; }

.feld { display: block; margin: 0 0 14px; font-size: 14px; font-weight: 600; }
.feld input, .feld textarea, .feld select { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; background: var(--feld); color: var(--text); border: 0; border-radius: 12px; font-weight: 400; }
.feld textarea { min-height: 120px; resize: vertical; }
.check { display: flex; gap: 8px; align-items: center; margin: 8px 0; font-weight: 450; }
.checks { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 4px 0 12px; }
.aktion, .still { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 10px 16px; cursor: pointer; text-decoration: none; }
.aktion { background: var(--aktion); color: var(--aktion-text); font-weight: 600; }
.still { background: var(--pill); color: var(--text); }
.aktionen { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.aktionen form, .reihe form { margin: 0; }
.reihe { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.reihe .feld { flex: 1 1 180px; margin: 0; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 4px 14px; }
.filter { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; align-items: end; }
.filter .aktion { margin-bottom: 14px; }

.ausgabe-liste { list-style: none; padding: 0; margin: 0; }
.ausgabe { display: flex; align-items: baseline; gap: 16px; padding: 13px 12px; border-radius: 14px; text-decoration: none; color: var(--text); }
.ausgabe:hover { background: var(--pill); }
.ausgabe-datum { color: var(--sekundaer); font-variant-numeric: tabular-nums; flex: none; min-width: 6.2rem; }
.ausgabe-titel { flex: 1; font-weight: 600; min-width: 0; }
.pill-status { margin-left: auto; flex: none; background: var(--pill); color: var(--text); border-radius: 999px; padding: 4px 10px; font-size: 13px; font-weight: 600; line-height: 1.3; }
.pill-status.freigegeben, .pill-status.versendet { background: var(--flaeche); color: var(--petrol); }
.sekundaer .pill-status { letter-spacing: 0; text-transform: none; }

.pruefung { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; margin-top: 8px; }
.mail-buehne { background: var(--karte); border-radius: 20px; padding: 14px; min-width: 0; }
.breite { display: flex; gap: 6px; margin: 0 0 12px; }
.breite a { color: var(--text); text-decoration: none; font-weight: 450; font-size: 14.5px; padding: 8px 14px; border-radius: 999px; }
.mail-frame { display: block; width: 100%; height: 760px; border: 0; border-radius: 12px; background: #fff; }
.mail-frame.mobil { width: 390px; max-width: 100%; margin: 0 auto; }
.pruef-seite { display: grid; gap: 0; min-width: 0; }
.pruef-seite .karte { margin: 0 0 12px; }
.mail-ersatz { padding: 8px 8px 16px; }

.leser { max-width: 68ch; padding: 12px 0 24px; }
.leser h1 { font-size: clamp(36px, 5vw, 52px); margin: 0 0 22px; }
.prosa { font-size: 18.5px; line-height: 1.65; }
.prosa p { margin: 0 0 1.05em; }
.karte.leser { max-width: 72ch; }

.unter { display: flex; flex-direction: row; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.unter a { background: transparent; }
.unter a.aktiv { background: var(--pill); }
.liste { list-style: none; padding: 0; margin: 0; }
.liste li { padding: 12px 0; }
.liste a { color: var(--text); }
.schluessel { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.fragen { list-style: none; padding: 0; margin: 0; }
.frage { padding: 8px 0 16px; }
.tabelle-wrap { overflow-x: auto; margin-top: 8px; }
.tabelle { width: 100%; border-collapse: collapse; }
.tabelle th { text-align: left; font-weight: 600; font-size: 13px; color: var(--sekundaer); padding: 8px 10px; }
.tabelle td { padding: 12px 10px; vertical-align: top; }
.tabelle a { color: var(--text); font-weight: 600; text-decoration: none; }
.tabelle tr:hover td { background: var(--pill); }
.richtung { font-weight: 600; margin: 0 0 12px; }
.richtung-faellt { color: var(--faellt); }
.richtung-steigt { color: var(--steigt); }
.status-kritisch { color: var(--petrol); }
.mono, code { font-family: "DM Sans", sans-serif; overflow-wrap: anywhere; }
.fuss { display: block; padding-top: 36px; color: var(--sekundaer); font-size: 13px; }
.fuss-zeile { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0; }
.fuss-links { display: flex; gap: 16px; margin: 12px 0 14px; }
.fuss-links a { color: var(--link); }
.rechtshinweis { background: var(--hinweis-kasten); color: var(--hinweis-text); border: 0; border-radius: 14px; padding: 14px 16px; margin: 0; max-width: 78ch; font-size: 14.5px; line-height: 1.5; }
.rechtshinweis b { font-weight: 700; color: inherit; }
.copy { font-size: 0.65em; }
.leer { color: var(--sekundaer); }
.neben { margin: 22px 0; }
.neben summary { cursor: pointer; color: var(--sekundaer); font-weight: 600; }
.fassungen li { display: flex; flex-direction: column; gap: 2px; }
fieldset { border: 0; padding: 0; margin: 0 0 14px; }
legend { font-weight: 600; font-size: 14px; }
:focus-visible { outline: 2px solid var(--petrol); outline-offset: 3px; }

@media (max-width: 980px) {
  .pruefung { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .rahmen { grid-template-columns: 1fr; }
  .rahmen > aside { padding: 18px 16px 8px; }
  .rahmen > aside nav { flex-direction: row; flex-wrap: wrap; }
  .unterzeile { margin-bottom: 16px; }
  .spalte { padding: 8px 16px 32px; }
  .zeile { grid-template-columns: 1fr; gap: 2px; padding: 10px 0; }
  .karte.eng { margin-top: 12px; }
  .mail-frame { height: 640px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
