/* Akademie Nächster Schritt, Designsystem Stand 25.11.2026 / Web-Paket 01.12.2026.
   Lokale WOFF2-Schriften (Barlow 600/700/800, Inter 400/500/600/700, SIL OFL). Keine externen Abrufe. */

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/barlow-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/barlow-latin-600-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;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/barlow-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/barlow-latin-700-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;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/barlow-latin-ext-800-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: "Barlow";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/barlow-latin-800-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;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-400-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;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/inter-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;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-600-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;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-700-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;
}

:root {
  --ink: #19191b;
  --paper: #f6f4f0;
  --white: #ffffff;
  --sand: #ece8df;
  --line: #e2ded4;
  --field: #8b9188;
  --muted: #55574f;
  --brand: #fa91cc;
  --brand-soft: #fbe3ef;
  --brand-deep: #b91c74;
  --lime: #edff68;
  --sage: #b8d9c3;
  --sage-soft: #e4ede1;
  --forest: #263b31;
  --alert: #a01d4f;
  --info: #dfe7f2;
  --display: "Barlow", Bahnschrift, "Arial Narrow", Arial, sans-serif;
  --text: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --r: 16px;
  --r-klein: 10px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

*, *::before, *::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 var(--text);
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 0 48px;
}

/* Skip-Link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 12px 16px;
  border-radius: var(--r-klein);
  font-weight: 600;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.skip-link:focus {
  left: 16px;
}

/* Typografie nach typografie.md */
h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  text-wrap: balance;
  hyphens: none;
}

.held-titel {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(38px, 5.8vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.held-titel em {
  font-style: normal;
  color: var(--brand-deep);
}

h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h3 {
  font-family: var(--text);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

p, ul, ol {
  margin: 0;
}

p.lesetext, .lesetext p, .lesetext li {
  max-width: 68ch;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

button, input, select, textarea, summary {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.dunkel :focus-visible,
.medien :focus-visible {
  outline-color: var(--lime);
}

/* Rahmenbreite */
.schale {
  max-width: 1200px;
  margin: 0 auto;
}

.schale.schmal {
  max-width: 920px;
}

/* Kopf und Navigation */
.kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.marke {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.wortmarke {
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  line-height: 0.86;
  letter-spacing: -1.3px;
  display: inline-block;
  text-decoration: none;
  padding-block: 4px;
  min-height: 44px;
}
.wortmarke span {
  display: block;
}
.wortmarke i {
  font-style: normal;
  color: var(--brand-deep);
}

.kopf-ort {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}
@media (min-width: 640px) {
  .kopf-ort {
    display: flex;
  }
}

.hauptnav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navlink {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--r-klein);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s var(--ease);
}
.navlink:hover {
  background: var(--sand);
}
.navlink[aria-current="page"] {
  background: var(--white);
  box-shadow: inset 4px 0 0 var(--brand-deep), 0 1px 2px rgba(25, 25, 27, 0.06);
  padding-left: 16px;
}

@media (min-width: 961px) {
  .menu-knopf {
    display: none !important;
  }
  .hauptnav .knopf {
    white-space: nowrap;
  }
}

@media (max-width: 960px) {
  .menu-knopf {
    display: inline-flex;
  }
  .hauptnav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 30;
    background: var(--white);
    border-radius: var(--r);
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    box-shadow: 0 1px 2px rgba(25, 25, 27, 0.06);
    border: 1.5px solid var(--ink);
  }
  .hauptnav.offen {
    display: flex;
  }
  .hauptnav .knopf {
    width: 100%;
  }
}

/* Textbausteine */
.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.untertitel {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.leitsatz {
  font-size: 19px;
  line-height: 1.4;
  font-weight: 700;
  max-width: 60ch;
}

.klein {
  font-size: 15px;
  line-height: 1.5;
}

.hinweistext {
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

.gedaempft {
  color: var(--muted);
}

/* Knöpfe nach komponenten.md */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 22px;
  background: var(--ink);
  color: var(--white);
  border: 0;
  border-radius: var(--r-klein);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.knopf:hover {
  background: #3a3a3e;
}

/* Nebenaktion auf Weiß: Feldrand 3,23:1 */
.knopf.hell {
  background: var(--white);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--field);
}
.knopf.hell:hover {
  background: var(--sand);
}

/* Nebenaktion direkt auf Paper: Ink-Kontur nach tokens.md B4 */
.knopf.kontur {
  background: var(--white);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.knopf.kontur:hover {
  background: var(--sand);
}

/* Marken-Aufruf: höchstens einmal je Seite */
.knopf.pille {
  border-radius: 999px;
  background: var(--brand);
  color: var(--ink);
}
.knopf.pille:hover {
  background: #f77bbd;
}

.knopf.kompakt {
  min-height: 44px;
  padding: 8px 16px;
  font-size: 15px;
}

.knopf[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.aktion {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
}

/* Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--ink);
}
.chip.erledigt {
  background: var(--sage);
}
.chip.offen {
  background: var(--lime);
}
.chip.faellig {
  background: var(--brand-soft);
  color: var(--alert);
}
.chip.wartet {
  background: var(--info);
}
.chip.leise {
  background: var(--white);
  color: var(--muted);
  box-shadow: inset 0 0 0 1.5px var(--field);
}

/* Karten und Raster */
.karte {
  background: var(--white);
  border-radius: var(--r);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  box-shadow: 0 1px 2px rgba(25, 25, 27, 0.06);
}

.karte.fuehrt {
  box-shadow: inset 6px 0 0 var(--brand-deep), 0 1px 2px rgba(25, 25, 27, 0.06);
  padding-left: 32px;
}

.karte-unten {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.hinweis {
  background: var(--brand-soft);
  border-radius: var(--r-klein);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.erfolg-kasten {
  background: var(--sage-soft);
  border-radius: var(--r-klein);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sand-kasten {
  background: var(--sand);
  border-radius: var(--r-klein);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.abschnitt {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-margin-top: 16px;
}

.sekt-kopf {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 68ch;
}

.raster-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.raster-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.raster-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

@media (max-width: 1020px) {
  .raster-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .raster-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .raster-2,
  .raster-3,
  .raster-4 {
    grid-template-columns: 1fr;
  }
}

/* Held-Bereiche */
.held-zweispaltig {
  margin-top: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: start;
}

@media (max-width: 920px) {
  .held-zweispaltig {
    grid-template-columns: 1fr;
    margin-top: 32px;
    gap: 22px;
  }
}

.held-spalte {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

/* Verteiler-Türen auf der Startseite */
.tuer-liste {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tuer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 12px 16px;
  background: var(--paper);
  border-radius: var(--r-klein);
  text-decoration: none;
  transition: background 0.15s var(--ease);
}
.tuer:hover {
  background: var(--sand);
}
.tuer-inhalt {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.tuer-inhalt strong {
  font-size: 16px;
  line-height: 1.25;
}
.tuer-pfeil {
  font-weight: 700;
  font-size: 18px;
  color: var(--brand-deep);
  flex: none;
}

/* Kennzahlen (höchstens drei nebeneinander nach typografie.md) */
.kennzahl {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

/* Dozenten-Kürzel ohne Stock-/KI-Fotos */
.person-zeile {
  display: flex;
  align-items: center;
  gap: 12px;
}
.kuerzel {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

/* Listen */
.punktliste {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.punktliste li {
  padding-left: 22px;
  position: relative;
  max-width: 68ch;
}
.punktliste li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ink);
}

/* Fakten-Definitionen */
dl.fakten {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
}
dl.fakten > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
dl.fakten > div:first-child {
  border-top: 0;
  padding-top: 0;
}
dl.fakten > div:last-child {
  padding-bottom: 0;
}
dl.fakten dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
dl.fakten dd {
  margin: 0;
  max-width: 68ch;
}
@media (min-width: 640px) {
  dl.fakten > div {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 16px;
  }
}

/* Aufklapper (Module und FAQ) */
.aufklapper-liste {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

details.aufklapper {
  background: var(--white);
  border-radius: var(--r);
  box-shadow: 0 1px 2px rgba(25, 25, 27, 0.06);
}

details.aufklapper > summary {
  list-style: none;
  cursor: pointer;
  min-height: 52px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  border-radius: var(--r);
}
details.aufklapper > summary::-webkit-details-marker {
  display: none;
}
details.aufklapper > summary::after {
  content: "+";
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  flex: none;
}
details.aufklapper[open] > summary::after {
  content: "\2212";
}

.aufklapper-inhalt {
  padding: 0 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.modul-kopf {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.modul-nr {
  font-family: var(--display);
  font-weight: 800;
  font-size: 16px;
  color: var(--brand-deep);
  min-width: 28px;
}

/* Lernweg-Schritte */
.schritt-liste {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1080px) {
  .schritt-liste {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .schritt-liste {
    grid-template-columns: 1fr;
  }
}
.schritt-nr {
  font-family: var(--display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  color: var(--brand-deep);
  font-variant-numeric: tabular-nums;
}

/* Tabellen */
.tabellen-rahmen {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-klein);
  box-shadow: inset 0 0 0 1px var(--line);
  background: var(--white);
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
th, td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
thead th {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  vertical-align: bottom;
}
td.num-rechts, th.num-rechts {
  text-align: right;
  white-space: nowrap;
}
tr.summe td {
  font-weight: 700;
  border-bottom: 0;
}
td.spalten-trenner, th.spalten-trenner {
  box-shadow: inset 1px 0 0 var(--line);
}
td.markiert {
  background: var(--brand-soft);
  color: var(--alert);
  font-weight: 700;
}
.negativ {
  color: var(--alert);
}

/* Formulare nach komponenten.md */
form.formular {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feld {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.feld label,
.feld legend {
  font-size: 15px;
  font-weight: 600;
  padding: 0;
}

.feld .pflicht-hinweis {
  font-weight: 400;
  color: var(--muted);
}

input[type="text"],
input[type="email"],
input[type="number"],
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  background: var(--white);
  border: 1.5px solid var(--field);
  border-radius: var(--r-klein);
}

textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.5;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--alert);
}

.feld-fehler {
  font-size: 14px;
  line-height: 1.4;
  color: var(--alert);
  font-weight: 600;
}
.feld-fehler:empty {
  display: none;
}

.auswahl-reihe {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.auswahl-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 400;
}
.auswahl-option input {
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--ink);
  flex: none;
}

details.mehr-angaben {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
details.mehr-angaben > summary {
  list-style: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
}
details.mehr-angaben > summary::-webkit-details-marker {
  display: none;
}
details.mehr-angaben > summary::after {
  content: "+";
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
}
details.mehr-angaben[open] > summary::after {
  content: "\2212";
}
details.mehr-angaben[open] > summary {
  margin-bottom: 16px;
}

.honigtopf {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Probelektion */
nav.schritt-leiste {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--paper);
  padding-block: 8px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
}
nav.schritt-leiste button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--ink);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
nav.schritt-leiste button:hover {
  background: var(--sand);
}
nav.schritt-leiste button[aria-current="step"] {
  background: var(--ink);
  color: var(--white);
  box-shadow: none;
}
nav.schritt-leiste button span {
  font-variant-numeric: tabular-nums;
  margin-right: 6px;
}

.zuordnung-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 12px 16px;
  align-items: center;
}
@media (max-width: 560px) {
  .zuordnung-grid {
    grid-template-columns: 1fr;
  }
}

.kriterien-liste {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.kriterien-liste label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border-radius: var(--r-klein);
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--field);
  cursor: pointer;
  min-height: 44px;
}
.kriterien-liste input {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--ink);
}
.kriterien-punkte {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.balken-grafik {
  width: 100%;
  height: auto;
  display: block;
}
.balken-grafik text {
  fill: var(--muted);
  font: 12px var(--text);
}

.schritt-fuss {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
}

/* Rechtstexte */
.recht-inhalt {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.recht-inhalt section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.recht-inhalt ul {
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Fußbereich nach regeln-und-schuld.md Regel 3 */
.fuss {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

.fuss-oben {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  align-items: flex-start;
}

.fuss-anbieter {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fuss-anbieter strong {
  color: var(--ink);
  font-size: 15px;
}

.fuss-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.fuss-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  body {
    background: #ffffff;
    padding: 0;
  }
  .skip-link,
  .hauptnav,
  .menu-knopf,
  nav.schritt-leiste,
  .knopf {
    display: none !important;
  }
  .karte,
  details.aufklapper {
    box-shadow: none;
    border: 1px solid var(--line);
  }
}
