/* ==========================================================================
   kreditlogik — Designsystem
   Farben, Schriften und Bausteine. Keine externen Requests, keine CDNs.
   ========================================================================== */

/* --- Schriften, selbst gehostet ----------------------------------------- */

/* Archivo ist eine Variable Font. Eine Datei deckt 400 und 700 ab. */
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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: "Archivo";
  src: url("/assets/fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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: "IBM Plex Mono";
  src: url("/assets/fonts/ibmplexmono-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- Farben und Maße ----------------------------------------------------- */

:root {
  --ink: #141b2d;   /* Grundton, Seitenhintergrund */
  --brass: #c8963e; /* Akzent: Grenzlinien, Schlüsselzahlen, Links */
  --paper: #e8e4da; /* Text auf Ink, gefüllte Flächen */
  --brick: #b4553c; /* ausschließlich Negatives */
  --grey: #7c879e;  /* Hilfslinien, Diagrammelemente */
  --ink-2: #1c2438; /* Kartenflächen */

  /* Aufgehellte Textvarianten. Reine Markenwerte erreichen als Fließtext
     auf Ink keine 4,5:1 nach WCAG AA:
     grey  #7C879E auf ink  = 4,75:1, auf ink-2 nur 4,28:1  -> grey-text
     brick #B4553C auf ink  = 3,52:1                        -> brick-text
     Die Markenwerte bleiben für Linien, Flächen und Diagramme unverändert. */
  --grey-text: #8c96ab;  /* 5,77:1 auf ink · 5,20:1 auf ink-2 */
  --brick-text: #d0704f; /* 4,99:1 auf ink · 4,50:1 auf ink-2 */

  --line: #2a3450;
  --radius: 10px;
  --radius-s: 6px;
  --wrap: 1100px;
  --prose: 68ch;

  --step: 1rem;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

/* --- Grundlagen ---------------------------------------------------------- */

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

img, svg { max-width: 100%; }
svg { display: block; }

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.6em;
  text-wrap: balance;
  /* Deutsche Komposita sind lang. Ohne Trennung schiebt eine Überschrift
     wie „Finanzierungsrechner" auf schmalen Geräten die ganze Seite auf. */
  overflow-wrap: break-word;
  hyphens: auto;
}
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2rem); margin-top: 2.2em; }
h3 { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem); margin-top: 1.9em; }
h4 { font-size: 1.0625rem; margin-top: 1.6em; }
h2:first-child, h3:first-child { margin-top: 0; }

p, ul, ol, dl, table, figure { margin: 0 0 1.1em; }
p, li, dd, dt, td, th { overflow-wrap: break-word; }
li { margin-bottom: 0.35em; }
ul, ol { padding-left: 1.25em; }

a { color: var(--brass); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--paper); }

strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --- Zahlen und Labels, IBM Plex Mono ------------------------------------ */

.num,
.wert,
.betrag,
td.num,
input[type="number"],
output,
code,
kbd,
samp {
  font-family: var(--mono);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-text);
  display: block;
  margin-bottom: 0.35em;
}

.kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 1rem;
}

/* --- Layout -------------------------------------------------------------- */

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 1.75rem); }
}

.prose { max-width: var(--prose); }
.prose h2, .prose h3 { max-width: 32ch; }

section { margin-block: clamp(2.5rem, 6vw, 4.5rem); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 0.7rem 1.1rem;
  z-index: 50;
  font-weight: 700;
}
.skip:focus { left: 0.75rem; top: 0.75rem; }

/* --- Kopf und Navigation ------------------------------------------------- */

.site-head {
  border-bottom: 1px solid var(--line);
  padding-block: 0.9rem;
}
.site-head .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

.marke {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--paper);
}
.marke svg { width: 30px; height: 30px; flex: none; }
.wortmarke {
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}
.wortmarke .w-kredit { color: var(--brass); }
.wortmarke .w-logik { color: var(--paper); }

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.35rem;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--paper);
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-block;
  padding: 0.45rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--line); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--brass); }

/* --- Fußbereich ---------------------------------------------------------- */

.site-foot {
  border-top: 1px solid var(--line);
  margin-top: clamp(3rem, 8vw, 5.5rem);
  padding-block: 2rem 2.75rem;
  color: var(--grey-text);
  font-size: 0.9rem;
}
.site-foot ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  margin: 0 0 1rem;
  padding: 0;
}
.site-foot a { color: var(--paper); text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.site-foot p { max-width: var(--prose); margin: 0; }

/* --- Karten und Raster --------------------------------------------------- */

.karte {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}
.karte h3 { margin-top: 0; }
.karte > :last-child { margin-bottom: 0; }

.raster {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.raster-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); }

a.karte { text-decoration: none; color: inherit; display: block; }
a.karte:hover { border-color: var(--brass); color: inherit; }
a.karte h3 { color: var(--paper); }
a.karte .mehr { color: var(--brass); font-size: 0.9rem; }

/* --- Zahlenblock --------------------------------------------------------- */

.zahl {
  font-family: var(--mono);
  font-size: clamp(2rem, 1.4rem + 2.4vw, 2.9rem);
  color: var(--brass);
  line-height: 1;
  display: block;
  margin-bottom: 0.6rem;
}
.zahl-karte p { margin-bottom: 0.7rem; }

/* --- Hinweise ------------------------------------------------------------ */

.hinweis,
.disclaimer,
.warnung,
.merke {
  border-left: 3px solid var(--grey);
  background: var(--ink-2);
  padding: 1rem 1.15rem;
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  margin: 1.5rem 0;
  max-width: var(--prose);
}
.hinweis > :last-child,
.disclaimer > :last-child,
.warnung > :last-child,
.merke > :last-child { margin-bottom: 0; }

.merke { border-left-color: var(--brass); }
.warnung { border-left-color: var(--brick); }
.warnung strong { color: var(--brick-text); }

.disclaimer {
  color: var(--grey-text);
  font-size: 0.94rem;
  border-left-color: var(--brass);
}

.fussnote { color: var(--grey-text); font-size: 0.9rem; }

/* --- Tabellen ------------------------------------------------------------ */

.tabelle-scroll { overflow-x: auto; margin-bottom: 1.4rem; }

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.96rem;
}
caption {
  text-align: left;
  color: var(--grey-text);
  font-size: 0.9rem;
  padding-bottom: 0.6rem;
}
th, td {
  text-align: left;
  padding: 0.6rem 0.9rem 0.6rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-text);
}
tbody tr:last-child td { border-bottom: 0; }
td .num, td.num { white-space: nowrap; }

/* --- Definitionslisten, Glossar ------------------------------------------ */

.glossar { max-width: var(--prose); }
.glossar h2 {
  font-family: var(--mono);
  font-size: 1rem;
  letter-spacing: 0.14em;
  color: var(--brass);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.4rem;
  margin-top: 2.6rem;
}
.glossar dt {
  font-weight: 700;
  margin-top: 1.4rem;
}
.glossar dd { margin: 0.25rem 0 0; }

.glossar-index {
  font-family: var(--mono);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
}
.glossar-index a {
  display: inline-block;
  min-width: 2.1rem;
  text-align: center;
  padding: 0.35rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  text-decoration: none;
}

/* --- Checklisten --------------------------------------------------------- */

.checkliste { list-style: none; padding: 0; }
.checkliste li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
}
.checkliste input[type="checkbox"] {
  margin-top: 0.28rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--brass);
  flex: none;
}

/* --- Formular ------------------------------------------------------------ */

.feld { margin-bottom: 1.35rem; max-width: 34rem; }
.feld > label,
fieldset > legend {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-text);
  display: block;
  margin-bottom: 0.4rem;
}
.feld .hilfe {
  color: var(--grey-text);
  font-size: 0.87rem;
  margin: 0.35rem 0 0;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  background: var(--ink-2);
  color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 0.65rem 0.75rem;
  font-family: var(--sans);
  font-size: 1rem;
  min-height: 44px;
}
input[type="number"], select { font-family: var(--mono); }
textarea { min-height: 9rem; resize: vertical; font-family: var(--sans); }
input:hover, select:hover, textarea:hover { border-color: var(--grey); }

.feld-fehler input,
.feld-fehler select,
.feld-fehler textarea { border-color: var(--brick); }

.fehler {
  color: var(--brick-text);
  font-size: 0.9rem;
  margin: 0.4rem 0 0;
  font-family: var(--mono);
}
.fehler:empty { display: none; }

fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem 0.4rem;
  margin: 0 0 1.35rem;
  max-width: 34rem;
}
fieldset legend { padding-inline: 0.4rem; }

.check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  max-width: 40rem;
  margin-bottom: 1.35rem;
}
.check input[type="checkbox"] {
  margin-top: 0.3rem;
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--brass);
  flex: none;
}
.check label { font-size: 0.96rem; }

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

.knopf {
  display: inline-block;
  background: var(--brass);
  color: var(--ink);
  border: 0;
  border-radius: var(--radius-s);
  padding: 0.8rem 1.5rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  min-height: 48px;
  cursor: pointer;
  text-decoration: none;
}
.knopf:hover { background: var(--paper); color: var(--ink); }

.status {
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  background: var(--ink-2);
  padding: 1rem 1.15rem;
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  margin-bottom: 2rem;
  max-width: var(--prose);
}
.status-fehler { border-left-color: var(--brick); }
.status > :last-child { margin-bottom: 0; }

/* --- Kontaktbaustein ----------------------------------------------------- */

.kontaktbaustein {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  padding: 1.5rem 1.6rem;
  max-width: var(--prose);
  margin-top: 3rem;
}
.kontaktbaustein h2 { margin-top: 0; font-size: 1.25rem; }
.kontaktbaustein > :last-child { margin-bottom: 0; }

/* --- Rechner ------------------------------------------------------------- */

.modul {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.1rem, 3vw, 1.9rem);
  margin-bottom: 2rem;
  background: var(--ink-2);
}
.modul-signatur { border-color: var(--brass); }

.modul-kopf { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: baseline; }
.modul-kopf h2 { margin: 0 0 0.5rem; }
.modul-nr {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--brass);
}

.modul-grid {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2.2rem);
  grid-template-columns: 1fr;
}
@media (min-width: 62rem) {
  .modul-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

.eingabe { margin-bottom: 1.15rem; }
.eingabe > label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-text);
  display: block;
  margin-bottom: 0.4rem;
}
.eingabe-paar { display: flex; gap: 0.75rem; align-items: center; }
.eingabe-paar input[type="number"] { width: 8.5rem; flex: none; text-align: right; }
.eingabe-paar .einheit { font-family: var(--mono); color: var(--grey-text); font-size: 0.9rem; }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 auto;
  min-width: 6rem;
  height: 44px;
  background: transparent;
  margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
  background: var(--line);
  border-radius: 2px;
}
input[type="range"]::-moz-range-track {
  height: 3px;
  background: var(--line);
  border-radius: 2px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -9.5px;
  border-radius: 50%;
  background: var(--brass);
  border: 0;
  cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brass);
  border: 0;
  cursor: pointer;
}

/* Auf schmalen Geräten steht der Schieber unter dem Zahlenfeld, sonst passt
   das Paar nicht mehr in eine Zeile. */
@media (max-width: 32rem) {
  .eingabe-paar { flex-wrap: wrap; gap: 0.4rem 0.6rem; }
  .eingabe-paar input[type="number"] { order: 1; width: 7.5rem; }
  .eingabe-paar .einheit { order: 2; }
  .eingabe-paar input[type="range"] { order: 3; flex: 1 0 100%; min-width: 0; }
}

.ergebnis { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.ergebnis li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}
.ergebnis .e-name {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-text);
}
.ergebnis .e-wert {
  font-family: var(--mono);
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ergebnis .e-haupt .e-wert { font-size: 1.5rem; color: var(--brass); }
.e-brick { color: var(--brick-text); }
.e-grey { color: var(--grey-text); }

.ampel {
  font-family: var(--mono);
  font-size: 0.92rem;
  padding: 0.7rem 0.9rem;
  border-left: 3px solid var(--grey);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  margin-bottom: 1.1rem;
}
.ampel-gut { border-left-color: var(--brass); color: var(--brass); }
.ampel-mittel { border-left-color: var(--grey); color: var(--grey-text); }
.ampel-schlecht { border-left-color: var(--brick); color: var(--brick-text); }

.rechner-hinweise { margin: 0; padding: 0; list-style: none; }
.rechner-hinweise li {
  border-left: 3px solid var(--grey);
  padding: 0.6rem 0.9rem;
  margin-bottom: 0.6rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  font-size: 0.94rem;
}
.rechner-hinweise li.h-warn { border-left-color: var(--brick); }
.rechner-hinweise li.h-info { border-left-color: var(--brass); }
.rechner-hinweise:empty { display: none; }

.viz { background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.viz svg { width: 100%; height: auto; }
.viz-legende {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  list-style: none;
  padding: 0;
  margin: 0.9rem 0 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--grey-text);
}
.viz-legende span {
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  margin-right: 0.4rem;
  vertical-align: -1px;
}
.lg-besichert { background: var(--paper); }
.lg-blanko { border: 2px solid var(--brick); }
.lg-grenze { background: var(--brass); height: 0.25rem !important; vertical-align: 3px !important; }

.kompetenz td:first-child { font-family: var(--mono); white-space: nowrap; }
.kompetenz tr.aktiv td { color: var(--brass); }
.kompetenz tr.aktiv td:first-child { border-left: 3px solid var(--brass); padding-left: 0.7rem; }

.zweispalt {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}
.variante {
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 1rem;
  background: var(--ink);
}
.variante .label { margin-bottom: 0.6rem; }
.variante .v-wert {
  font-family: var(--mono);
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.3rem;
}
.variante p { font-size: 0.88rem; color: var(--grey-text); margin: 0; }

/* --- Hilfsklassen statt Inline-Styles ------------------------------------
   Die Content-Security-Policy erlaubt keine style-Attribute. Alles, was
   sonst inline stünde, steht deshalb hier.
   ------------------------------------------------------------------------ */

.knopf-sekundaer {
  background: transparent;
  color: var(--brass);
  border: 1px solid var(--line);
}
.knopf-sekundaer:hover { background: var(--brass); color: var(--ink); }
.knopf-betont { border-color: var(--brass); }
.knopf-klein {
  padding: 0.4rem 0.8rem;
  min-height: auto;
  font-size: 0.85rem;
  font-weight: 400;
}

.seite-oben { padding-top: 3rem; }
.modulnav { margin: 2rem 0; }
.fussnote-eng { margin: 0.8rem 0 0; }
.check-eng { margin: 0.6rem 0 0; }
.abstand-oben { margin-top: 1.2rem; }
.abstand-oben-klein { margin-top: 1rem; }
.viz-unten { margin-top: 1.5rem; }
.eng-oben { margin-top: -0.6rem; }
.karte-anschluss { margin-bottom: 1rem; }
.ergebnis-flach { margin-bottom: 0; }
.lg-zins { background: var(--grey); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Hero ---------------------------------------------------------------- */

.hero {
  display: grid;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: center;
  padding-top: clamp(2rem, 6vw, 4rem);
}
@media (min-width: 55rem) {
  .hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
}
.hero p { max-width: 46ch; }
.hero-marke svg { width: min(100%, 20rem); height: auto; margin-inline: auto; }
.hero-legende {
  list-style: none;
  padding: 0;
  margin: 1.2rem auto 0;
  max-width: 20rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--grey-text);
}
.hero-legende li { display: flex; gap: 0.6rem; align-items: baseline; }
.hero-legende b { color: var(--paper); font-weight: 400; }

.seiten-liste { list-style: none; padding: 0; max-width: var(--prose); }
.seiten-liste li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.seiten-liste a { font-weight: 700; text-decoration: none; }
.seiten-liste a:hover { text-decoration: underline; }
.seiten-liste p { margin: 0.2rem 0 0; color: var(--grey-text); font-size: 0.94rem; }

.brotkrume {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-text);
  margin: 1.75rem 0 0.75rem;
}
.brotkrume a { text-decoration: none; }
.brotkrume a:hover { text-decoration: underline; }

/* Kartentitel ohne Überschriftenrang, damit die Hierarchie sauber bleibt */
.karten-titel {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  color: var(--paper);
}
