/* istmeinemietefair.de – Grundgerüst. Farben, Schriften und Formen kommen aus look-*.css (Variablen).
   Dunkel: app.js setzt data-dunkel am <html>, Farbwahl: data-farbe. */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[hidden] { display: none !important; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.55;
  font-variant-numeric: tabular-nums;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.wrap { max-width: 1120px; margin: 0 auto; }
h1, h2, h3 { font-family: var(--head); line-height: 1.2; margin: 0; text-wrap: balance; letter-spacing: var(--head-ls, -0.01em); }
p { margin: 0; }
a { color: var(--a-text); text-underline-offset: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--a); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.klein { font-size: 14px; }

/* ---------- Kopf ---------- */
.top { display: flex; align-items: center; gap: 12px 22px; padding: 14px 0; flex-wrap: wrap; position: relative; }
.marke { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: var(--head); font-weight: 800; font-size: 18px; letter-spacing: -0.01em; margin-right: auto; }
.marke svg { width: 34px; height: 34px; flex: none; }
.marke small { display: block; font-family: var(--font); font-weight: 500; font-size: 12.5px; color: var(--muted); letter-spacing: 0; }
.nav { display: flex; gap: 4px 18px; flex-wrap: wrap; font-size: 15px; }
.nav a { color: var(--text); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: var(--a); }
.zahnrad { background: none; border: 1px solid var(--line); border-radius: var(--r-s); width: 38px; height: 38px; display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.zahnrad svg { width: 20px; height: 20px; }
.design { position: absolute; right: 0; top: 60px; z-index: 30; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-h); padding: 14px; width: 260px; }
.design h3 { font-size: 14px; margin-bottom: 8px; font-family: var(--font); }
.design .seg { margin-bottom: 14px; }
.farben { display: flex; gap: 8px; }
.farben button { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--card); outline: 1px solid var(--line); cursor: pointer; }
.farben button[aria-pressed="true"] { outline: 3px solid var(--text); }
@media (max-width: 760px) {
  .nav { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .nav a { white-space: nowrap; }
}

/* ---------- Bausteine ---------- */
.karte { background: var(--card); border: var(--card-border); border-radius: var(--r); box-shadow: var(--shadow); padding: clamp(16px, 2.4vw, 26px); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: var(--r-btn); border: 1px solid var(--btn-line); background: var(--card); color: var(--text); cursor: pointer; font-weight: 600; font-size: 15px; text-decoration: none; line-height: 1.3; }
.btn:hover { border-color: var(--a); }
.btn.haupt { background: var(--a); border-color: var(--a); color: var(--a-ink); }
.btn.haupt:hover { filter: brightness(1.06); }
.btn.klein { padding: 6px 12px; font-size: 14px; }
.btn:disabled { opacity: .55; cursor: wait; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--a-text); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; font-size: inherit; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-btn); padding: 3px; background: var(--feld); flex-wrap: wrap; }
.seg button { border: 0; background: none; padding: 7px 14px; border-radius: calc(var(--r-btn) - 2px); cursor: pointer; font-size: 15px; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--text); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.pille { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--a-bg); color: var(--a-text); font-size: 13px; font-weight: 600; }
.box-hinweis { border-left: 3px solid var(--a); background: var(--a-bg); padding: 12px 14px; border-radius: 0 var(--r-s) var(--r-s) 0; font-size: 15px; }
.box-hinweis p + p { margin-top: 6px; }
.warn { border-left-color: var(--warn); background: var(--warn-bg); }

/* ---------- Formular ---------- */
.felder { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px 16px; }
.f { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.f.breit { grid-column: 1 / -1; }
.f > label, .f .lab { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 6px; }
.f .opt { font-weight: 400; color: var(--muted); font-size: 13px; }
.eingabe { position: relative; display: flex; align-items: center; }
.eingabe input, .f select, .f textarea, .f > input {
  width: 100%; padding: 10px 12px; border: 1px solid var(--feld-line); border-radius: var(--r-s); background: var(--feld); min-height: 44px;
}
.eingabe input { padding-right: 52px; }
.eingabe .einheit { position: absolute; right: 12px; color: var(--muted); font-size: 14px; pointer-events: none; }
.f textarea { min-height: 110px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--a); outline: 2px solid var(--a-bg); outline-offset: 0; }
.f .hilfe { font-size: 13.5px; color: var(--muted); }
.f.bad input { border-color: var(--bad); }
.f .fehler { color: var(--bad); font-size: 13.5px; }
.info { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--muted); background: none; color: var(--muted); font-size: 12px; font-weight: 700; cursor: pointer; padding: 0; line-height: 1; flex: none; font-family: Georgia, serif; font-style: italic; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14.5px; cursor: pointer; background: var(--feld); font-weight: 400; }
.chips input { accent-color: var(--a); margin: 0; }
.chips label:has(input:checked) { border-color: var(--a); background: var(--a-bg); }
details.mehr > summary { cursor: pointer; font-weight: 600; color: var(--a-text); list-style: none; padding: 6px 0; }
details.mehr > summary::-webkit-details-marker { display: none; }
details.mehr > summary::before { content: "+ "; }
details.mehr[open] > summary::before { content: "− "; }
.ortvorschlag { font-size: 14px; color: var(--muted); min-height: 1.3em; }

/* ---------- KI-Kasten ---------- */
.ki { border: 1px dashed var(--a); border-radius: var(--r); padding: 14px 16px; background: var(--a-bg2); }
.ki-kopf { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.ki-kopf h3 { font-size: 16.5px; display: flex; gap: 8px; align-items: center; }
.ki-kopf h3 svg { width: 20px; height: 20px; color: var(--a); }
.ki-inhalt { margin-top: 12px; display: grid; gap: 10px; }
.ki textarea { width: 100%; min-height: 90px; padding: 10px 12px; border: 1px solid var(--feld-line); border-radius: var(--r-s); background: var(--feld); resize: vertical; }
.ki-zeile { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.datei { position: relative; overflow: hidden; }
.datei input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ki-dateien { font-size: 14px; color: var(--muted); }
.ki-status { font-size: 14.5px; }
.ki-status.err { color: var(--bad); }
.ki-erg { display: grid; gap: 8px; font-size: 15px; }
.ki-erg ul { margin: 0; padding-left: 20px; }
.ki-erg h4 { margin: 6px 0 0; font-size: 15px; }
.laden { display: inline-block; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: dreh .8s linear infinite; vertical-align: -3px; }
@keyframes dreh { to { transform: rotate(360deg); } }

/* ---------- Werkzeug-Raster ---------- */
.werkzeug { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.werkzeug > .erg-spalte { position: sticky; top: 14px; }
@media (max-width: 900px) { .werkzeug { grid-template-columns: 1fr; } .werkzeug > .erg-spalte { position: static; } }
.schritt { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.schritt .nr { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--a); color: var(--a-ink); font-weight: 700; font-size: 14px; flex: none; }
.schritt h2 { font-size: 20px; }
.form-teil + .form-teil { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- Ergebnis ---------- */
.erg-leer { color: var(--muted); text-align: center; padding: 26px 8px; }
.erg-leer svg { width: 120px; height: auto; margin: 0 auto 10px; display: block; }
.urteil { font-family: var(--head); font-size: clamp(21px, 2.4vw, 26px); line-height: 1.25; font-weight: 700; }
.urteil b { color: var(--a-text); }
.unterzeile { color: var(--muted); margin-top: 6px; font-size: 15px; }
.skala { margin: 38px 0 6px; }
.skala-band { position: relative; height: 14px; border-radius: 999px; background: linear-gradient(90deg, var(--s1) 0 25%, var(--s2) 25% 37.5%, var(--s3) 37.5% 62.5%, var(--s4) 62.5% 75%, var(--s5) 75% 100%); }
.skala-mitte { position: absolute; left: 50%; top: -6px; bottom: -6px; width: 2px; background: var(--text); opacity: .55; }
.skala-pin { position: absolute; top: 50%; width: 22px; height: 22px; margin-left: -11px; margin-top: -11px; border-radius: 50%; background: var(--card); border: 4px solid var(--text); box-shadow: 0 2px 6px rgba(0,0,0,.25); transition: left .35s ease; }
.skala-pin span { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 13px; font-weight: 700; background: var(--text); color: var(--bg); padding: 2px 7px; border-radius: 4px; }
.skala-achse { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.skala-text { display: grid; grid-template-columns: 1fr 1fr 1fr; font-size: 12.5px; color: var(--muted); margin-top: 2px; text-align: center; }
.skala-text span:first-child { text-align: left; } .skala-text span:last-child { text-align: right; }
.zahlen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.zahl { background: var(--feld); border-radius: var(--r-s); padding: 10px 12px; border: 1px solid var(--line); }
.zahl .l { font-size: 13px; color: var(--muted); }
.zahl .w { font-size: 21px; font-weight: 700; font-family: var(--head); }
.zahl .w small { font-size: 13px; font-weight: 500; color: var(--muted); font-family: var(--font); }
.vgl { margin-top: 18px; display: grid; gap: 8px; }
.vgl-zeile { display: grid; grid-template-columns: minmax(90px, 34%) 1fr auto; gap: 10px; align-items: center; font-size: 14px; }
.vgl-zeile .bal { height: 10px; border-radius: 999px; background: var(--line); position: relative; overflow: hidden; }
.vgl-zeile .bal i { position: absolute; inset: 0 auto 0 0; background: var(--muted); border-radius: 999px; }
.vgl-zeile.du .bal i { background: var(--a); }
.vgl-zeile.du { font-weight: 700; }
.erg-block { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.erg-block h3 { font-size: 16.5px; margin-bottom: 8px; }
.erg-block p + p, .erg-block p + ul { margin-top: 8px; }
.erg-block ul { margin: 6px 0 0; padding-left: 20px; }
.erg-knoepfe { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; font-size: 15px; }
.kv .s { font-weight: 700; border-top: 1px solid var(--line); padding-top: 4px; }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: var(--r-s); font-size: 14.5px; z-index: 50; box-shadow: var(--shadow-h); max-width: calc(100% - 32px); }

/* ---------- Abschnitte ---------- */
section.abschnitt { margin-top: clamp(40px, 6vw, 68px); }
.abschnitt > h2 { font-size: clamp(23px, 2.8vw, 30px); margin-bottom: 8px; }
.abschnitt > p.lead { color: var(--muted); max-width: 64ch; margin-bottom: 18px; }
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.kachel { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--text); }
.kachel:hover { border-color: var(--a); }
.kachel h3 { font-size: 18px; }
.kachel p { color: var(--muted); font-size: 15px; }
.kachel .weiter { margin-top: auto; padding-top: 6px; color: var(--a-text); font-weight: 600; font-size: 15px; }
.kachel svg.ico { width: 40px; height: 40px; color: var(--a); }
.fq { border-bottom: 1px solid var(--line); }
.fq > summary { cursor: pointer; padding: 14px 30px 14px 0; font-weight: 600; list-style: none; position: relative; }
.fq > summary::-webkit-details-marker { display: none; }
.fq > summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 20px; color: var(--a-text); }
.fq[open] > summary::after { content: "−"; }
.fq > div { padding: 0 0 16px; color: var(--text); max-width: 72ch; }
.fq > div p + p { margin-top: 8px; }

/* ---------- Textseiten ---------- */
.kruemel { font-size: 14px; color: var(--muted); margin: 6px 0 14px; }
.kruemel a { color: var(--muted); }
.seitenkopf { padding: clamp(22px, 4vw, 40px) 0 clamp(16px, 3vw, 26px); }
.seitenkopf h1 { font-size: clamp(28px, 4.2vw, 44px); max-width: 22ch; }
.seitenkopf p { color: var(--muted); margin-top: 10px; max-width: 62ch; font-size: 17px; }
.text { max-width: 72ch; }
.text h2 { font-size: 23px; margin: 34px 0 10px; }
.text h3 { font-size: 18px; margin: 22px 0 6px; }
.text p, .text ul, .text ol { margin: 10px 0; }
.text ul, .text ol { padding-left: 22px; }
.text li + li { margin-top: 4px; }
.text .box-hinweis { margin: 18px 0; }
.stand { font-size: 13.5px; color: var(--muted); margin-top: 18px; }
.tbl-wrap { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: var(--r-s); }
table.tbl { border-collapse: collapse; width: 100%; font-size: 15px; background: var(--card); }
.tbl th, .tbl td { padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { background: var(--feld); font-weight: 600; font-size: 14px; white-space: nowrap; }
.tbl td.z, .tbl th.z { text-align: right; white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl button.sort { background: none; border: 0; padding: 0; font-weight: 600; cursor: pointer; }
.zwei { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
@media (max-width: 760px) { .zwei { grid-template-columns: 1fr; } }
.blliste { columns: 4 180px; padding: 0; list-style: none; margin: 10px 0; }
.blliste li { margin: 0 0 6px; break-inside: avoid; }
.suche-staedte { max-width: 340px; margin: 10px 0; }

/* ---------- Fuß ---------- */
.fuss { margin-top: clamp(50px, 8vw, 90px); border-top: 1px solid var(--line); padding: 26px 0 40px; font-size: 14.5px; color: var(--muted); }
.fuss-spalten { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 20px; }
.fuss h4 { margin: 0 0 8px; font-size: 14px; color: var(--text); }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li { margin-bottom: 5px; }
.fuss a { color: var(--muted); }
.fuss .klein { margin-top: 20px; }
@media (max-width: 760px) { .fuss-spalten { grid-template-columns: 1fr 1fr; } .fuss-spalten > :first-child { grid-column: 1 / -1; } }

/* ---------- Drucken ---------- */
@media print {
  .top .nav, .zahnrad, .ki, .erg-knoepfe, .fuss-spalten, .nicht-drucken { display: none !important; }
  body { background: #fff; color: #000; }
  .werkzeug { grid-template-columns: 1fr; }
  .karte { box-shadow: none; border: 1px solid #999; }
}

/* ---------- Entwurfs-Umschalter (nur in der Entwurfsansicht) ---------- */
.entwurf-leiste { position: fixed; left: 12px; bottom: 12px; z-index: 60; background: #111; color: #fff; border-radius: 10px; padding: 8px 10px; font: 13px system-ui, sans-serif; display: flex; gap: 6px; align-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.entwurf-leiste button { font: inherit; border: 1px solid #555; background: #222; color: #fff; border-radius: 6px; padding: 5px 9px; cursor: pointer; }
.entwurf-leiste button[aria-pressed="true"] { background: #fff; color: #111; }

/* ---------- Zeichnungen (eigene SVG) ---------- */
.zg .k1 { fill: var(--ill1); stroke: var(--text); stroke-width: 2.5; stroke-linejoin: round; }
.zg .k2 { fill: var(--ill2); }
.zg .k3 { fill: var(--ill3); }
.zg .k4 { fill: var(--ill4); stroke: var(--text); stroke-width: 2.5; stroke-linejoin: round; }
.zg .ln { fill: none; stroke: var(--text); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.zg .l2 { fill: none; stroke: var(--ill2); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.zg .tx { fill: var(--text); font: 700 22px var(--head); }
.held .zg .ln, .held .zg .k1, .held .zg .k4 { stroke: var(--zg-strich, var(--text)); }

/* ---------- Posten der Nebenkostenabrechnung ---------- */
.posten { display: grid; gap: 8px; }
.pz { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr) 120px 36px; gap: 8px; align-items: center; }
.pz input, .pz select { width: 100%; padding: 8px 10px; border: 1px solid var(--feld-line); border-radius: var(--r-s); background: var(--feld); min-height: 40px; font-size: 15px; }
.pz .eingabe input { padding-right: 28px; text-align: right; }
.pz .einheit { right: 10px; }
.pz-x { width: 36px; height: 36px; border: 1px solid var(--line); background: none; border-radius: var(--r-s); cursor: pointer; font-size: 18px; color: var(--muted); }
@media (max-width: 560px) { .pz { grid-template-columns: 1fr 110px 36px; } .pz-k { grid-column: 1 / -1; grid-row: 2; } .pz { padding-bottom: 8px; border-bottom: 1px solid var(--line); } }
.ergebnis-liste { display: grid; gap: 8px; }
.pruef { display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: start; font-size: 15px; }
.pruef .sym { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: var(--a-bg); color: var(--a-text); }
.pruef.achtung .sym { background: var(--warn-bg); color: var(--warn); }

/* ---------- Ergebnis-Leiste am Handy ---------- */
.mbar { display: none; }
@media (max-width: 900px) {
  .mbar:not([hidden]) { display: flex; position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom, 0px)); z-index: 40; align-items: center; justify-content: space-between; gap: 10px;
    background: var(--text); color: var(--bg); border-radius: var(--r); padding: 10px 12px 10px 16px; box-shadow: var(--shadow-h); text-decoration: none; font-size: 15px; }
  .mbar b { font-size: 17px; }
  .mbar span.los { background: var(--a); color: var(--a-ink); border-radius: var(--r-btn); padding: 6px 12px; font-weight: 600; font-size: 14px; white-space: nowrap; }
}

/* Entwurf A „Papier“: warmes Papier, Überschriften mit Serifen, ruhige Linien – wie eine gut gemachte Verbraucherzeitschrift */
:root {
  --bg: #f6f2ea; --card: #fffdf8; --card-border: 1px solid #e4dccd; --text: #221f1a; --muted: #6a6257; --line: #e4dccd;
  --feld: #fbf8f2; --feld-line: #cfc5b4; --btn-line: #b9ae9b;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --head: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif; --head-ls: -0.005em;
  --r: 6px; --r-s: 4px; --r-btn: 4px;
  --shadow: none; --shadow-h: 0 12px 30px -12px rgba(60,40,10,.35);
  --a: #1f6b4f; --a-bg: #e3efe8; --a-bg2: #f1f6f2; --a-text: #17573f; --a-ink: #fff;
  --warn: #a5620c; --warn-bg: #fbf0de; --bad: #a3271c;
  --s1: #7fa6c9; --s2: #b7cde0; --s3: #cfdcc9; --s4: #ecd2a2; --s5: #d9a35a;
  --ill1: #e8dfcf; --ill2: #1f6b4f; --ill3: #c9853d; --ill4: #fffdf8;
}
:root[data-dunkel] {
  --bg: #1a1815; --card: #22201c; --card-border: 1px solid #3a352d; --text: #ece6db; --muted: #a99f90; --line: #3a352d;
  --feld: #1d1b18; --feld-line: #4a443a; --btn-line: #5a5246;
  --shadow-h: 0 12px 30px -12px rgba(0,0,0,.7);
  --a: #6cc39b; --a-bg: #1f3329; --a-bg2: #1e2621; --a-text: #8fd6b4; --a-ink: #10201a;
  --warn: #e3a55a; --warn-bg: #33281a; --bad: #f08a7e;
  --s1: #3e6a90; --s2: #3b5163; --s3: #46553f; --s4: #6b5634; --s5: #9a6c2e;
  --ill1: #2e2a24; --ill2: #6cc39b; --ill3: #d79b55; --ill4: #22201c;
  color-scheme: dark;
}
.top { border-bottom: 1px solid var(--line); }
.top::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--text); }
.top { padding-top: 22px; }
.marke { font-size: 20px; }
.held { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: clamp(26px, 5vw, 56px) 0 clamp(20px, 3vw, 34px); }
.held h1 { font-size: clamp(34px, 5.6vw, 62px); font-weight: 700; line-height: 1.05; }
.held h1 em { font-style: italic; color: var(--a-text); }
.held .kicker { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.held p.lead { font-size: 18.5px; margin-top: 16px; max-width: 46ch; color: var(--text); }
.held .vertrauen { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; padding: 0; list-style: none; font-size: 14.5px; color: var(--muted); }
.held .vertrauen li::before { content: "✓ "; color: var(--a-text); font-weight: 700; }
.held-bild { width: 100%; max-width: 420px; justify-self: end; }
@media (max-width: 760px) { .held { grid-template-columns: 1fr; } .held-bild { max-width: 260px; justify-self: start; order: -1; } }
.urteil { font-weight: 700; }
.schritt .nr { border-radius: 2px; font-family: var(--head); }
.abschnitt > h2 { border-bottom: 2px solid var(--text); padding-bottom: 8px; }
.seitenkopf { border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.kachel h3 { font-size: 20px; }

/* Farbwahl der Besucher (Zahnrad). Ohne Wahl gilt die Farbe des Entwurfs. */
:root:not([data-dunkel])[data-farbe="gruen"]   { --a: #1f6b4f; --a-bg: #e3efe8; --a-bg2: #f1f6f2; --a-text: #17573f; --a-ink: #fff; }
:root:not([data-dunkel])[data-farbe="blau"]    { --a: #1d5a8f; --a-bg: #e6eef7; --a-bg2: #f3f7fb; --a-text: #194e7c; --a-ink: #fff; }
:root:not([data-dunkel])[data-farbe="violett"] { --a: #4a3fd6; --a-bg: #ebe9ff; --a-bg2: #f6f5ff; --a-text: #3b30c4; --a-ink: #fff; }
:root:not([data-dunkel])[data-farbe="rot"]     { --a: #b23a2a; --a-bg: #f9e7e3; --a-bg2: #fcf4f2; --a-text: #9c2f21; --a-ink: #fff; }
:root[data-dunkel][data-farbe="gruen"]   { --a: #6cc39b; --a-bg: #1f3329; --a-bg2: #1c2520; --a-text: #8fd6b4; --a-ink: #0f1f18; }
:root[data-dunkel][data-farbe="blau"]    { --a: #8db8e0; --a-bg: #1d2a36; --a-bg2: #1b2229; --a-text: #a5c8ea; --a-ink: #0f1820; }
:root[data-dunkel][data-farbe="violett"] { --a: #9b93ff; --a-bg: #262457; --a-bg2: #1d1c3b; --a-text: #b2acff; --a-ink: #12112a; }
:root[data-dunkel][data-farbe="rot"]     { --a: #f08a7a; --a-bg: #3a221d; --a-bg2: #2a1d1a; --a-text: #f6a598; --a-ink: #26100c; }

