/* Gebrauchtwagen-Check – Design ab 0.7: Apple-Stil (Vorbild Wallet, Health, Wetter)
   Systemschrift, großer Titel, gruppierte Listen mit Chevrons, genau eine Akzentfarbe (Orange) für Hauptaktion,
   aktiven Tab, Inseratskarte und aktive Position. Hell mit Dunkelmodus. Radien: Gruppen 14 px, Knöpfe 12 px,
   Kacheln 9 px. Bewegung: Bedienung unter 300 ms (Sheet 360 ms mit Schubladenkurve), nur transform und opacity,
   starkes Ease-out; Startseite als einzige inszenierte Sequenz. Hover nur bei echtem Zeiger, Druck-Feedback auf allem Tippbaren. */

:root {
  --schrift: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI Variable Text', 'Segoe UI', Roboto, system-ui, sans-serif;

  --grund: #F2F2F7;
  --flaeche: #FFFFFF;
  --flaeche-2: #F7F7F9;          /* gedrückte Zeile, Segmentschalter-Grund */
  --tinte: #1C1C1E;
  --tinte-2: #6E6E73;
  --tinte-3: #AEAEB2;            /* Chevrons, Platzhalter */
  --trenn: rgba(60, 60, 67, .14);
  --akzent: #E0621A;
  --auf-akzent: #FFFFFF;
  --akzent-hell: rgba(224, 98, 26, .12);
  --blau: #3478F6;
  --grau-kachel: #8E8E93;
  --fokus: #E0621A;
  --schatten: 0 8px 24px rgba(28, 28, 30, .06);
  --schatten-akzent: 0 8px 20px rgba(224, 98, 26, .28);
  --leiste: rgba(249, 249, 249, .86);

  --spalte: 560px;               /* Breite der App-Spalte am Computer */
  --buehne: #E6E6EC;             /* ruhige Fläche neben der Spalte */
  --radius: 14px;
  --radius-knopf: 12px;
  --radius-kachel: 9px;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --grund: #0B0B0D; --flaeche: #1C1C1E; --flaeche-2: #2C2C2E; --tinte: #F2F2F7; --tinte-2: #98989F; --tinte-3: #636366;
    --trenn: rgba(84, 84, 88, .55); --akzent: #F0773A; --auf-akzent: #1C1C1E; --akzent-hell: rgba(240, 119, 58, .16);
    --blau: #4C8DFF; --grau-kachel: #8E8E93; --fokus: #F0773A;
    --schatten: 0 8px 24px rgba(0, 0, 0, .35); --schatten-akzent: 0 8px 20px rgba(240, 119, 58, .25); --leiste: rgba(22, 22, 24, .82); --buehne: #000000;
  }
}
:root[data-theme="dark"] {
  --grund: #0B0B0D; --flaeche: #1C1C1E; --flaeche-2: #2C2C2E; --tinte: #F2F2F7; --tinte-2: #98989F; --tinte-3: #636366;
  --trenn: rgba(84, 84, 88, .55); --akzent: #F0773A; --auf-akzent: #1C1C1E; --akzent-hell: rgba(240, 119, 58, .16);
  --blau: #4C8DFF; --grau-kachel: #8E8E93; --fokus: #F0773A;
  --schatten: 0 8px 24px rgba(0, 0, 0, .35); --schatten-akzent: 0 8px 20px rgba(240, 119, 58, .25); --leiste: rgba(22, 22, 24, .82); --buehne: #000000;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; color-scheme: light dark; accent-color: var(--akzent); caret-color: var(--akzent);
  scrollbar-color: var(--tinte-3) transparent; scrollbar-width: thin; overscroll-behavior-y: none;
  -webkit-tap-highlight-color: transparent;
}
body {
  margin: 0; background: var(--grund); color: var(--tinte);
  font-family: var(--schrift); font-size: 16px; line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--akzent); text-decoration: none; }
a:hover { text-decoration: none; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--fokus); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--akzent-hell); color: var(--tinte); }
button { font: inherit; color: inherit; }
button, [role="button"], .zeile, .tab, .chip, .kachel, .pos-zeile, .register-zeile { touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
strong, dd, td, .kennzahl, .plan-preis, .zaehler, .pos-wert, .kachel b, .szene-zahl b { font-variant-numeric: tabular-nums; }
.etikett, .datenblatt dt, .kv span, .ergebnis-neben span, .feld-klein > span { font-size: 13px; font-weight: 600; color: var(--tinte-2); }

#app { max-width: var(--spalte); margin: 0 auto; overflow-x: clip; position: relative; min-height: 100vh; min-height: 100dvh; padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
/* Am Computer: die App als mittige Spalte auf ruhiger Fläche, kein nachgebauter Handyrahmen */
@media (min-width: 600px) {
  body { background: var(--buehne); }
  #app { background: var(--grund); min-height: 100vh; min-height: 100dvh; box-shadow: 0 0 0 1px var(--trenn), 0 24px 60px rgba(28, 28, 30, .08); }
  .tabbar, .appbar { max-width: var(--spalte); }
  .feedback-karte { left: 50%; right: auto; width: calc(var(--spalte) - 24px); max-width: none; margin: 0; transform: translate(-50%, 12px); }
  .feedback-karte.sichtbar { transform: translate(-50%, 0); }
}
.ic { width: 20px; height: 20px; flex: none; }
.view { padding: 12px 16px 32px; }
.view-start { padding-top: 0; }

/* Druck-Feedback: 120 ms, scale .97, nur transform */
.btn, .zeile, .kachel, .chip, .pos-zeile, .register-zeile, .tab, .marke-kachel, .bm-btn, .plan, .karte-upgrade, .sperre, .feed-zu, .zurueck-btn, .schalter-reihe > * { transition: transform 120ms var(--ease-out), background-color 120ms; }
.btn:active, .zeile:active, .kachel:active, .chip:active, .pos-zeile:active, .register-zeile:active, .marke-kachel:active, .bm-btn:active, .plan:active, .karte-upgrade:active, .sperre:active, .feed-zu:active, .zurueck-btn:active, .schalter-reihe > *:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .zeile:hover, .pos-zeile:hover, .register-zeile:hover, .marke-kachel:hover { background: var(--flaeche-2); }
  .btn-sekundaer:hover { background: var(--flaeche-2); }
  .btn-primaer:hover { filter: brightness(1.05); }
}

/* ---------- Kopfleiste & Tabbar ---------- */
.appbar {
  position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 52px; padding: 0 8px; background: var(--leiste); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--trenn);
}
.appbar-titel { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60vw; }
.appbar-platz { display: block; }
.zurueck-btn { display: inline-flex; align-items: center; gap: 0; height: 44px; padding: 0 8px 0 2px; border: 0; background: transparent; color: var(--akzent); font-size: 17px; font-weight: 500; cursor: pointer; border-radius: 10px; justify-self: start; }
.zurueck-btn .ic { width: 26px; height: 26px; stroke-width: 2.4; margin-right: -2px; }
.icon-btn { width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--akzent); display: grid; place-items: center; cursor: pointer; }

.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 30;
  width: 100%; max-width: var(--spalte); display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); background: var(--leiste); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid var(--trenn);
}
.tab { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 0 2px; color: var(--tinte-2); text-decoration: none; font-size: 10.5px; font-weight: 600; letter-spacing: .01em; border-radius: 10px; }
.tab-ic { display: grid; place-items: center; height: 26px; }
.tab-ic .ic { width: 24px; height: 24px; stroke-width: 1.9; }
.tab.aktiv { color: var(--akzent); }

/* ---------- Text & Abstände ---------- */
.stapel > * + * { margin-top: 12px; }
.stapel-klein > * + * { margin-top: 8px; }
.abschnitt { margin-top: 28px; }
.abschnitt-eng { margin-top: 16px; }
.abschnitt-titel { margin: 0 0 8px; padding: 0 4px; font-size: 20px; font-weight: 700; letter-spacing: -.015em; line-height: 1.15; }
.einleitung { margin: 4px 0 16px; padding: 0 4px; color: var(--tinte-2); font-size: 15.5px; max-width: 62ch; }
.gedaempft { color: var(--tinte-2); }
.klein { font-size: 14px; }
.abstand-oben { margin-top: 16px; }
.abstand-unten { margin: 0 0 12px; }
.abstand-klein { margin-top: 10px; }
.abstand-oben-klein { margin-top: 12px; }
.abstand-oben-gross { margin-top: 28px; }
.fussnote { margin: 14px 0 0; padding: 0 4px; font-size: 13.5px; color: var(--tinte-2); max-width: 62ch; }
.fliesstext { margin: 0; font-size: 16px; max-width: 62ch; }

/* ---------- Gruppen (gruppierte Listen wie in den Einstellungen) ---------- */
.gruppe { margin-top: 22px; }
/* Gruppentitel in gemischter Schreibung (wie Health und Wetter), keine Versalien-Etiketten */
.gruppe-titel { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 6px; padding: 0 16px; font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--tinte-2); }
.gruppe-titel span { font-weight: 500; font-size: 14px; }
.box { background: var(--flaeche); border-radius: var(--radius); overflow: hidden; }
.text-box { padding: 12px 16px; font-size: 16px; }
.text-box p { margin: 0; }
.text-box p + p { margin-top: 8px; }
.text-box .kv { padding: 9px 0; }
.text-box .kv:first-child { padding-top: 0; }

/* ---------- Listen ---------- */
.liste { background: var(--flaeche); border-radius: var(--radius); overflow: hidden; }
.zeile {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 14px 11px 14px; min-height: 58px;
  color: var(--tinte); text-decoration: none; background: transparent;
}
.zeile + .zeile::before, .zeile + .info-punkt::before, .info-punkt + .info-punkt::before, .pos-zeile + .pos-zeile::before, .register-zeile + .register-zeile::before, .panel + .register-zeile::before, .check + .check::before, .bm-item + .bm-item::before, .quellen li + li::before, .videos li + li::before {
  content: ''; position: absolute; left: 62px; right: 0; top: 0; height: 1px; background: var(--trenn);
}
.info-punkt + .info-punkt::before, .quellen li + li::before, .videos li + li::before, .check + .check::before, .bm-item + .bm-item::before { left: 16px; }
.zeile-icon { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: var(--radius-kachel); background: var(--grau-kachel); color: #fff; }
.zeile-icon .ic { width: 20px; height: 20px; stroke-width: 2.2; }
.zeile-icon-akzent { background: var(--akzent); color: var(--auf-akzent); }
.zeile-icon-blau { background: var(--blau); }
.zeile-icon-text { font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.zeile-icon-grau { background: var(--flaeche-2); color: var(--tinte-2); }
.zeile-text { flex: 1; min-width: 0; }
.zeile-text strong { display: block; font-weight: 600; font-size: 16px; line-height: 1.25; }
.zeile-text strong.normal { font-weight: 500; }
.zeile-text small { display: block; margin-top: 2px; color: var(--tinte-2); font-size: 13.5px; line-height: 1.3; }
.chev { color: var(--tinte-3); width: 18px; height: 18px; stroke-width: 2.6; }
.liste-gedaempft .zeile-text strong { color: var(--tinte-2); font-weight: 500; }
.zeile-bald .zeile-text strong { color: var(--tinte-2); }
.badge { display: inline-block; padding: 2px 8px; border-radius: 6px; background: var(--flaeche-2); color: var(--tinte-2); font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge-entwurf { background: var(--akzent-hell); color: var(--akzent); }
.badge-ausfuehrlich, .badge-belegt { background: var(--flaeche-2); color: var(--tinte); }
.badge-zeile { display: inline-block; margin-top: 6px; }
.badge-bald { color: var(--tinte-2); }
/* Erkennbarkeit vor dem Kauf (Regel 1.11): ein Akzent, sonst Grautöne */
.badge-erk { font-size: 13px; padding: 3px 10px; border-radius: 8px; }
.badge-erk-selbst { background: var(--akzent-hell); color: var(--akzent); }
.badge-erk-werkstatt, .badge-erk-unterlagen { background: var(--flaeche-2); color: var(--tinte); }
.badge-erk-offen { background: var(--flaeche-2); color: var(--tinte-2); }
.punkte-erk li span { line-height: 1.35; }
.punkte-erk li strong { font-weight: 600; }
.punkte-erk li small { display: block; margin-top: 2px; font-size: 13px; }

.info-punkt { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; background: var(--flaeche); }
.liste > .info-punkt:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.info-marke { width: 8px; height: 8px; margin-top: 8px; flex: none; border-radius: 50%; background: var(--akzent); }
.info-text strong { display: block; font-weight: 600; font-size: 16px; }
.info-text strong.normal { font-weight: 500; }
.info-text small { display: block; margin-top: 2px; color: var(--tinte-2); font-size: 14px; max-width: 60ch; }

/* ---------- Startseite ---------- */
.start-kopf { display: flex; justify-content: space-between; align-items: flex-end; padding: 18px 4px 10px; }
.start-kopf h1 { margin: 0; font-size: 34px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.hero-karte { background: var(--flaeche); border-radius: 18px; padding: 22px 20px 20px; }
.hero-karte h2 { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1.12; }
.hero-karte h2 em { font-style: normal; color: var(--akzent); }
.hero-karte p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.4; color: var(--tinte-2); font-weight: 500; }
.hero-karte .btn { margin-top: 16px; }

.szene { margin-top: 12px; background: var(--flaeche); border-radius: 18px; overflow: hidden; }
.szene-buehne { position: relative; height: 150px; overflow: hidden; }
.szene-auto { position: absolute; left: 20px; top: 24px; width: 270px; height: 96px; transform: translateX(120%); will-change: transform; }
.szene-auto svg { width: 100%; height: 100%; display: block; overflow: visible; }
/* Dieselbe Konturzeichnung wie im Profil: Linien aus Tinte, Fläche wie die Karte, Rückleuchte im Akzent */
.szene-auto .linie { fill: none; stroke: var(--tinte); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.szene-auto .karosserie { fill: var(--flaeche); }
.szene-auto .rad .linie { fill: var(--flaeche); }
.szene-auto .duenn { fill: none; stroke: var(--tinte); stroke-width: 1.5; opacity: .8; }
.szene-auto .speiche { stroke: var(--tinte); stroke-width: 2.2; stroke-linecap: round; opacity: .8; }
.szene-auto .ruecklicht { fill: var(--akzent); }
.szene-auto .rad { transform-box: fill-box; transform-origin: center; }
.rauch { position: absolute; left: 50px; top: 10px; width: 40px; height: 40px; pointer-events: none; }
.rauch i { position: absolute; left: 10px; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--tinte-3); opacity: 0; }
.rauch i:nth-child(2) { left: 2px; width: 16px; height: 16px; }
.rauch i:nth-child(3) { left: 16px; width: 10px; height: 10px; }
.szene-zahl { position: absolute; right: 20px; top: 26px; text-align: right; }
.szene-zahl b { display: block; font-size: 34px; font-weight: 700; letter-spacing: -.02em; line-height: 1; color: var(--akzent); }
.szene-zahl small { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--tinte-2); line-height: 1.3; }
.strasse { position: absolute; left: 0; right: 0; bottom: 0; height: 32px; background: var(--flaeche-2); }
.strasse i { position: absolute; left: 0; right: 0; top: 14px; height: 3px; background: repeating-linear-gradient(90deg, var(--tinte-3) 0 22px, transparent 22px 40px); opacity: .7; }
.statistik { margin: 0; padding: 14px 20px 16px; border-top: 1px solid var(--trenn); opacity: 0; transform: translateY(8px); }
.statistik blockquote { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.4; }
.statistik figcaption { margin-top: 6px; font-size: 12.5px; color: var(--tinte-2); }
.statistik figcaption a { color: var(--tinte-2); text-decoration: underline; text-underline-offset: .15em; }
/* Sequenz: Auto fährt ein (1,6 s), Rauch (ab 1,5 s), Satz (ab 2,4 s). Einmal pro Öffnen. */
.szene.faehrt .szene-auto { transform: none; transition: transform 1.6s var(--ease-out); }
.szene.faehrt .rad { animation: rollen 1.6s var(--ease-out) 1; }
.szene.faehrt .rauch i { animation: rauch 1.9s ease-out 1.5s 1 forwards; }
.szene.faehrt .rauch i:nth-child(2) { animation-delay: 1.75s; }
.szene.faehrt .rauch i:nth-child(3) { animation-delay: 2s; }
.szene.faehrt .statistik { opacity: 1; transform: none; transition: opacity .5s var(--ease-out) 2.4s, transform .5s var(--ease-out) 2.4s; }
.szene.fertig .szene-auto { transform: none; }
.szene.fertig .rauch { display: none; }
.szene.fertig .statistik { opacity: 1; transform: none; }
@keyframes rollen { from { transform: rotate(-900deg); } to { transform: rotate(0); } }
@keyframes rauch { 0% { opacity: 0; transform: translateY(0) scale(.6); } 20% { opacity: .55; } 100% { opacity: 0; transform: translateY(-30px) translateX(8px) scale(1.8); } }

/* ---------- Suche ---------- */
.suche { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px; margin-bottom: 12px; background: var(--flaeche); border-radius: var(--radius-knopf); color: var(--tinte-2); }
.suche .ic { width: 18px; height: 18px; }
.suche input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: var(--tinte); }
.suche input::placeholder { color: var(--tinte-3); }
.suche:focus-within { box-shadow: 0 0 0 2px var(--akzent); }

/* ---------- Profilkopf ---------- */
.profil-kopf { padding: 8px 4px 0; }
.profil-kopf-klein { padding-bottom: 4px; }
.profil-titel { margin: 2px 0 0; font-size: 32px; font-weight: 700; letter-spacing: -.02em; line-height: 1.08; }
.profil-unter { margin: 6px 0 0; font-size: 15.5px; font-weight: 500; color: var(--tinte-2); }
.profil-unter-2 { margin-top: 2px; font-size: 14px; font-weight: 400; }
.status-pille { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 4px 10px; border-radius: 999px; background: var(--flaeche); font-size: 13px; font-weight: 600; color: var(--tinte-2); }
.status-pille .ic { width: 14px; height: 14px; }
.status-pille-rot { background: var(--akzent-hell); color: var(--akzent); }
.datenblatt { margin: 14px 0 0; background: var(--flaeche); border-radius: var(--radius); padding: 2px 16px; }
.datenblatt div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--trenn); min-width: 0; }
.datenblatt div:first-child { border-top: 0; }
.datenblatt dt { font-size: 15.5px; font-weight: 400; color: var(--tinte); }
.datenblatt dd { margin: 0; font-size: 15.5px; font-weight: 500; color: var(--tinte-2); text-align: right; overflow-wrap: anywhere; }

/* Ladeprofil (E-Auto) */
.ladeprofil { margin-top: 12px; background: var(--flaeche); border-radius: var(--radius); overflow: hidden; }
.ladeprofil-kopf { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 16px; border-bottom: 1px solid var(--trenn); font-weight: 600; }
.ladeprofil-zellen { display: grid; grid-template-columns: repeat(3, 1fr); }
.ladeprofil-zellen div { padding: 10px 12px 12px; min-width: 0; border-right: 1px solid var(--trenn); }
.ladeprofil-zellen div:last-child { border-right: 0; }
.ladeprofil-zellen b { display: block; margin-top: 2px; font-size: 18px; font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
.ladeprofil-zellen b small { font-size: 12.5px; font-weight: 500; color: var(--tinte-2); }
.ladeprofil-zellen .warn b { color: var(--akzent); }
.ladeprofil p { margin: 0; padding: 10px 16px; border-top: 1px solid var(--trenn); font-size: 14.5px; }

/* ---------- Inseratskarte (Orange) ---------- */
.inserat-karte { margin-top: 14px; padding: 14px 16px 14px; border-radius: 16px; background: var(--akzent); color: var(--auf-akzent); box-shadow: var(--schatten-akzent); }
.inserat-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.inserat-etikett { flex: none; font-size: 17px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.inserat-fazit { max-width: 62%; font-size: 13.5px; font-weight: 600; text-align: right; line-height: 1.3; }
.inserat-felder { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; margin-top: 10px; }
.inserat-felder label { display: grid; gap: 4px; }
.inserat-felder label > span:first-child { font-size: 12.5px; font-weight: 600; opacity: .9; }
.inserat-karte .eingabe { background: rgba(255, 255, 255, .92); color: #1C1C1E; border: 0; font-size: 20px; font-weight: 700; letter-spacing: -.01em; padding: 9px 12px; }
.inserat-karte .eingabe::placeholder { color: #8E8E93; font-weight: 500; font-size: 16px; }
.inserat-karte .eingabe:focus { outline: 2px solid #fff; outline-offset: 1px; }
.inserat-karte .eingabe-einheit em { color: #6E6E73; }
.inserat-balken { height: 6px; margin-top: 12px; border-radius: 3px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.inserat-balken i { display: block; height: 100%; width: 100%; background: #fff; border-radius: 3px; transform-origin: left; transform: scaleX(0); transition: transform .4s var(--ease-out); }
.inserat-hinweis { margin: 10px 0 0; font-size: 13.5px; font-weight: 500; opacity: .95; }

/* ---------- Kacheln (die vier Arten als wählbare Kacheln) ---------- */
.kacheln { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.kachel { position: relative; display: block; width: 100%; padding: 12px 14px 12px; border: 0; border-radius: var(--radius); background: var(--flaeche); color: var(--tinte); text-align: left; cursor: pointer; box-shadow: inset 0 0 0 0 var(--akzent); transition: box-shadow 160ms var(--ease-out), transform 120ms var(--ease-out); }
.kachel small { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--tinte-2); }
.kachel small i { width: 10px; height: 10px; border-radius: 3px; background: var(--grau-kachel); }
.kachel.z-risiko small i { background: var(--akzent); }
.kachel.z-rueckruf small i { background: var(--blau); }
.kachel b { display: block; margin-top: 4px; font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
.kachel[aria-selected="true"] { box-shadow: inset 0 0 0 2px var(--akzent); }
.kachel[aria-selected="true"] small { color: var(--tinte); }
.kachel-schloss { position: absolute; right: 12px; top: 12px; color: var(--tinte-3); }
.kachel-schloss .ic { width: 14px; height: 14px; }

/* ---------- Symbolkacheln der Arten ---------- */
.zeichen { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: var(--radius-kachel); background: var(--grau-kachel); color: #fff; font-size: 15px; font-weight: 800; }
.zeichen.z-risiko { background: var(--akzent); color: var(--auf-akzent); }
.zeichen.z-rueckruf { background: var(--blau); }
.zeichen.z-pruef { background: var(--grau-kachel); }
.zeichen .ic { width: 19px; height: 19px; stroke-width: 2.4; }
.zeichen.aktiv { box-shadow: 0 0 0 2px var(--flaeche), 0 0 0 4px var(--akzent); }

/* ---------- Zeichnung mit Positionsnummern ---------- */
.zeichnung { position: relative; margin: 12px 0 0; padding: 8px 8px 4px; background: var(--flaeche); border-radius: var(--radius); }
.zeichnung svg { display: block; width: 100%; height: auto; }
.zeichnung .linie { fill: none; stroke: var(--tinte); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.zeichnung .duenn { fill: none; stroke: var(--tinte); stroke-width: 1.2; opacity: .75; }
.zeichnung .hilfslinie { fill: none; stroke: var(--tinte); stroke-width: 1.1; stroke-dasharray: 3 4; opacity: .5; }
.zeichnung .hinweislinie { fill: none; stroke: var(--tinte-2); stroke-width: 1.4; }
.zeichnung .anker { fill: var(--tinte-2); }
.zeichnung .pos { cursor: pointer; }
.zeichnung .pos circle { fill: var(--flaeche); stroke: var(--tinte); stroke-width: 2; }
.zeichnung .pos text { font-family: var(--schrift); font-weight: 700; font-size: 14px; fill: var(--tinte); text-anchor: middle; dominant-baseline: central; }
.zeichnung .pos.aktiv circle { fill: var(--akzent); stroke: var(--akzent); }
.zeichnung .pos.aktiv text { fill: var(--auf-akzent); }
.zeichnung .hinweislinie.aktiv { stroke: var(--akzent); stroke-width: 2; }
.zeichnung .anker.aktiv { fill: var(--akzent); }
.zeichnung-legende { display: flex; justify-content: space-between; gap: 8px; margin: 2px 6px 4px; font-size: 12.5px; color: var(--tinte-2); }

/* ---------- Betrifft mein Auto ---------- */
.betrifft { margin-top: 16px; padding: 12px 16px 14px; background: var(--flaeche); border-radius: var(--radius); }
.betrifft-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.betrifft-kopf strong { font-size: 16px; font-weight: 600; }
.betrifft .etikett { text-align: right; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--flaeche-2); font-size: 14px; font-weight: 600; color: var(--tinte); cursor: pointer; }
.chip .ic { width: 14px; height: 14px; stroke-width: 3; }
.chip[aria-pressed="true"] { background: var(--akzent); color: var(--auf-akzent); }
.chip-leise { color: var(--tinte-2); }
.chip-leise[aria-pressed="true"] { background: var(--akzent-hell); color: var(--akzent); }
.chips-auswahl { margin-bottom: 16px; }

/* ---------- Positionen (gruppierte Liste je Art) ---------- */
.positionen { background: var(--flaeche); border-radius: var(--radius); overflow: hidden; }
.pos-zeile { position: relative; display: grid; grid-template-columns: 34px 1fr auto 18px; gap: 12px; align-items: center; padding: 10px 14px; min-height: 60px; cursor: pointer; }
.pos-zeile .zeile-text strong { display: block; font-size: 16px; }
.pos-zeile .zeile-text small { font-size: 13px; }
.pos-wert { text-align: right; font-size: 15px; font-weight: 600; color: var(--tinte-2); white-space: nowrap; line-height: 1.1; max-width: 34%; }
.pos-wert small { display: block; font-size: 12px; font-weight: 600; color: var(--tinte-2); }
.pos-wert.erreicht { color: var(--akzent); }
.pos-zeile.aktiv { background: var(--akzent-hell); }
/* Gesperrte Position: nur Nummer, zwei Platzhalterbalken und Schloss; der Text steht nicht im Dokument */
.pos-zeile.gesperrt { text-decoration: none; color: inherit; }
.zeile-text.skelett { display: flex; flex-direction: column; gap: 7px; padding: 3px 0; }
.zeile-text.skelett i { display: block; height: 11px; border-radius: 6px; background: var(--trenn); }
.zeile-text.skelett i:first-child { height: 13px; background: var(--tinte-3); opacity: .38; }
.gesperrt-marke { display: inline-grid; place-items: center; color: var(--tinte-3); }
.gesperrt-marke .ic { width: 16px; height: 16px; }
.info-knopf { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 6px; vertical-align: -5px; border-radius: 50%; color: var(--akzent); text-decoration: none; }
.info-knopf .ic { width: 20px; height: 20px; stroke-width: 2.2; }
.info-knopf:active { transform: scale(.9); }
.erklaerung { margin: 14px 0 0; padding: 12px 14px; background: var(--flaeche-2); border-radius: var(--radius-knopf); font-size: 15px; }
.erklaerung p { margin: 0; }
.erklaerung .btn-link { padding: 6px 0 0; }

/* Register: Abschnitte des Profils, eine Zeile öffnet ihren Inhalt darunter */
.register { display: grid; background: var(--flaeche); border-radius: var(--radius); overflow: hidden; }
.register-zeile { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 14px 13px 16px; min-height: 58px; border: 0; background: transparent; text-align: left; color: inherit; text-decoration: none; cursor: pointer; }
.register-zeile + .register-zeile::before, .panel + .register-zeile::before { left: 16px; }
.register-zeile > span { flex: 1; min-width: 0; }
.register-zeile strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.2; }
.register-zeile small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--tinte-2); }
.register-zeile .chev { transition: transform .2s var(--ease-out); }
.register-zeile[aria-selected="true"] .chev { transform: rotate(90deg); color: var(--akzent); }
.panel { display: none; padding: 4px 16px 18px; background: var(--flaeche-2); }
.panel.aktiv { display: block; }
.panel .karte { background: var(--flaeche); }

/* ---------- Karten ---------- */
.karte { display: block; padding: 14px 16px 16px; border-radius: var(--radius); background: var(--flaeche); color: inherit; text-decoration: none; }
.karte-titel { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 16px; font-weight: 600; line-height: 1.15; }
.karte-titel .ic { width: 18px; height: 18px; color: var(--tinte-2); }
.richtwert { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--tinte-2); }
.kennzahl { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
.kennzahl-zusatz { margin: 4px 0 0; font-size: 14px; color: var(--tinte-2); }
.karte-zeile { display: flex; align-items: center; gap: 12px; }
.karte-oben { align-items: flex-start; }
.karte-oben .fliesstext { display: block; margin-top: 4px; color: var(--tinte-2); font-size: 15px; }
.karte-aktiv { display: flex; align-items: center; gap: 12px; }
.karte-aktiv-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--radius-kachel); background: var(--akzent); color: var(--auf-akzent); flex: none; }
.karte-aktiv strong, .karte-upgrade strong { display: block; font-weight: 600; font-size: 16px; }
.karte-aktiv small, .karte-upgrade small { display: block; color: var(--tinte-2); font-size: 14px; margin-top: 3px; }
.karte-upgrade { display: flex; align-items: center; gap: 12px; box-shadow: inset 0 0 0 2px var(--akzent); }
.karte-upgrade .chev { color: var(--akzent); }
.karte-warn { box-shadow: inset 0 0 0 2px var(--akzent); }
.karte-warn .karte-titel { color: var(--akzent); }
.karte-warn .karte-titel .ic { color: var(--akzent); }
.karte-ok { box-shadow: inset 0 0 0 1px var(--trenn); }
.rep { padding: 10px 0; border-top: 1px solid var(--trenn); }
.rep:first-of-type { border-top: 0; padding-top: 2px; }
.rep p, .risiken p { margin: 4px 0 0; font-size: 15px; color: var(--tinte-2); }
.risiko-kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.risiko-kopf strong { font-size: 15.5px; font-weight: 600; }
.kv { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--trenn); font-size: 15.5px; }
.karte-titel + .kv { border-top: 0; padding-top: 2px; }
.kv strong { text-align: right; font-weight: 500; }
.kv em { font-style: normal; color: var(--tinte-2); text-align: right; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 18px; border: 0; border-radius: var(--radius-knopf);
  font-weight: 600; font-size: 17px; text-decoration: none; cursor: pointer; background: var(--flaeche); color: var(--akzent); white-space: nowrap;
}
.btn-primaer { background: var(--akzent); color: var(--auf-akzent); box-shadow: var(--schatten-akzent); }
.btn-primaer:disabled { background: var(--flaeche-2); color: var(--tinte-3); box-shadow: none; cursor: not-allowed; }
.btn-sekundaer { background: var(--flaeche); color: var(--akzent); }
.btn-voll { width: 100%; }
.btn .ic { width: 18px; height: 18px; }
.btn-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 0; background: none; border: 0; font-weight: 600; font-size: 15px; color: var(--akzent); cursor: pointer; }
.btn-link .ic { width: 16px; height: 16px; }
.cta-sub { margin: 10px 0 0; text-align: center; font-size: 13.5px; color: var(--tinte-2); }
.knopfreihe { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.schalter-reihe { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.schalter-reihe > * { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 56px; padding: 6px 4px; border-radius: var(--radius-knopf); background: var(--flaeche-2); color: var(--akzent); text-decoration: none; border: 0; font-size: 12.5px; font-weight: 600; cursor: pointer; position: relative; }
.schalter-reihe .ic { width: 20px; height: 20px; }
.schalter-reihe input { position: absolute; opacity: 0; pointer-events: none; }
.schalter-reihe label:has(input:checked) { background: var(--akzent); color: var(--auf-akzent); }
.schalter-reihe label:has(input:focus-visible) { outline: 2px solid var(--fokus); outline-offset: 2px; }

/* ---------- Hinweise ---------- */
.hinweis { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; padding: 12px 14px; border-radius: var(--radius-knopf); background: var(--flaeche); }
.hinweis p { margin: 0; font-size: 14.5px; }
.hinweis .ic { width: 18px; height: 18px; margin-top: 2px; flex: none; color: var(--tinte-2); }
.hinweis-warn { background: var(--akzent-hell); }
.hinweis-warn .ic { color: var(--akzent); }
.hinweis-ok .ic { color: var(--akzent); }
.hinweis-haftung { background: transparent; box-shadow: inset 0 0 0 1px var(--trenn); }
.hinweis-haftung p { font-size: 13px; color: var(--tinte-2); line-height: 1.5; }
.hinweis-haftung strong { color: var(--tinte); }
.stapel > .hinweis { margin: 0; }
.testbanner { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; padding: 10px 12px; border-radius: var(--radius-knopf); background: var(--akzent-hell); color: var(--akzent); font-size: 13.5px; font-weight: 600; }
.leerzustand { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 36px 16px; color: var(--tinte-2); background: var(--flaeche); border-radius: var(--radius); }
.leerzustand .ic { width: 32px; height: 32px; margin-bottom: 6px; color: var(--tinte-3); }
.leerzustand strong { color: var(--tinte); font-size: 17px; font-weight: 600; }

/* ---------- Fortschritt & Checklisten ---------- */
.fortschritt { flex: 1; height: 6px; border-radius: 3px; background: var(--flaeche-2); overflow: hidden; }
.fortschritt > span { display: block; height: 100%; width: 100%; background: var(--akzent); border-radius: 3px; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.zaehler { font-size: 14px; font-weight: 600; }
.check { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; background: var(--flaeche); cursor: pointer; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check-box { width: 24px; height: 24px; margin-top: 1px; flex: none; border-radius: 50%; border: 2px solid var(--tinte-3); background: transparent; display: grid; place-items: center; transition: background .15s, border-color .15s; }
.check-box .ic { width: 14px; height: 14px; stroke-width: 3.2; color: var(--auf-akzent); opacity: 0; }
.check input:checked + .check-box { background: var(--akzent); border-color: var(--akzent); }
.check input:checked + .check-box .ic { opacity: 1; }
.check input:focus-visible + .check-box { outline: 2px solid var(--fokus); outline-offset: 2px; }
.check-text strong { display: block; font-weight: 600; font-size: 15px; }
.check-text small { display: block; margin-top: 2px; color: var(--tinte-2); font-size: 14px; }
.check-einzeln { border-radius: var(--radius); padding: 12px 16px; }
.check-einzeln.karte { padding: 14px 16px; margin-top: 16px; }

/* ---------- Formulare & Rechner ---------- */
.eingabe { width: 100%; padding: 11px 12px; border: 0; border-radius: 10px; background: var(--flaeche-2); color: var(--tinte); font: inherit; font-size: 16px; }
.eingabe::placeholder { color: var(--tinte-3); }
.eingabe:focus { outline: 2px solid var(--akzent); outline-offset: 0; }
select.eingabe { appearance: none; -webkit-appearance: none; }
textarea.eingabe { resize: vertical; min-height: 100px; }
.feld { display: grid; gap: 6px; margin-bottom: 14px; }
.feld label { font-size: 14.5px; font-weight: 600; }
.formfehler { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: var(--akzent-hell); color: var(--akzent); font-size: 14.5px; font-weight: 600; }
.rechner { margin: 12px 0 8px; }
.rechner-kopf { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.rechner-kopf strong { display: block; font-size: 16px; font-weight: 600; }
.rechner-kopf small { display: block; color: var(--tinte-2); font-size: 14px; }
.rechner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feld-klein { display: grid; gap: 4px; }
.eingabe-einheit { position: relative; display: block; }
.eingabe-einheit .eingabe { padding-right: 60px; }
.eingabe-einheit em { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 13px; font-weight: 600; color: var(--tinte-2); pointer-events: none; }
.rechner-ergebnis { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--trenn); }
.rechner-leer { margin: 0; color: var(--tinte-2); font-size: 15px; }
.ergebnis-haupt { display: flex; align-items: baseline; justify-content: space-between; }
.ergebnis-haupt span { font-weight: 600; color: var(--tinte-2); }
.ergebnis-haupt strong { font-size: 34px; font-weight: 700; letter-spacing: -.02em; }
.ergebnis-neben { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 14px; }
.ergebnis-neben div { background: var(--flaeche-2); border-radius: 10px; padding: 8px 10px; }
.ergebnis-neben span { display: block; }
.ergebnis-neben strong { font-size: 16px; }
.balken-stapel { display: flex; gap: 3px; height: 10px; border-radius: 5px; overflow: hidden; }
.balken-stapel span { background: var(--akzent); }
.bs-1 { opacity: .6; } .bs-2 { opacity: .35; }
.legende { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14.5px; }
.legende li { display: flex; align-items: center; gap: 8px; }
.legende i { width: 10px; height: 10px; flex: none; border-radius: 3px; background: var(--akzent); }
.legende .bs-1 { opacity: .6; } .legende .bs-2 { opacity: .35; }
.legende b { margin-left: auto; }
.schalter { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.schalter > span { flex: 1; }
.schalter strong { display: block; font-size: 16px; font-weight: 600; }
.schalter small { display: block; color: var(--tinte-2); font-size: 14px; }
.schalter input { position: absolute; opacity: 0; pointer-events: none; }
.schalter i { width: 51px; height: 31px; border-radius: 16px; background: var(--tinte-3); position: relative; flex: none; transition: background .2s; }
.schalter i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .25); transition: transform .2s var(--ease-out); }
.schalter input:checked + i { background: var(--akzent); }
.schalter input:checked + i::after { transform: translateX(20px); }
.schalter input:focus-visible + i { outline: 2px solid var(--fokus); outline-offset: 2px; }

/* ---------- Positionsblatt: ein Befund pro Bildschirm ---------- */
.feed-view { padding: 0; }
.feed { position: fixed; inset: 0; z-index: 50; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; background: var(--grund); scrollbar-width: none; }
.feed::-webkit-scrollbar { display: none; }
@media (min-width: 600px) { .feed { left: 50%; width: var(--spalte); transform: translateX(-50%); } }
.befund {
  position: relative; height: 100vh; height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden;
  display: flex; flex-direction: column; background: var(--grund); color: var(--tinte);
  padding: calc(74px + env(safe-area-inset-top)) 16px 0;
}
.befund-pos { display: flex; align-items: center; gap: 10px; }
.befund-pos .zeichen { width: 40px; height: 40px; font-size: 18px; }
.befund-pos .etikett { color: var(--tinte); font-weight: 600; }
.befund h2 { margin: 12px 0 0; font-size: 30px; line-height: 1.08; font-weight: 700; letter-spacing: -.02em; hyphens: manual; overflow-wrap: anywhere; }
.befund-lang h2 { font-size: 24px; line-height: 1.15; }
.befund-zusatz { display: block; font-size: 18px; font-weight: 500; color: var(--tinte-2); letter-spacing: 0; margin-top: 4px; }
.befund-betrifft { margin: 8px 0 0; font-size: 14px; color: var(--tinte-2); }
.befund-mitte { margin-top: 14px; background: var(--flaeche); border-radius: var(--radius); padding: 2px 14px; }
.befund-mitte > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-top: 1px solid var(--trenn); }
.befund-mitte > div:first-child { border-top: 0; }
.befund-mitte b { font-size: 20px; font-weight: 700; letter-spacing: -.01em; text-align: right; }
.befund-mitte b small { display: block; font-size: 13px; font-weight: 500; color: var(--tinte-2); letter-spacing: 0; }
.befund-text { margin: 14px 4px 0; font-size: 16px; line-height: 1.4; max-width: 60ch; }
/* Karte nach Regel 1.14: „Vor dem Kauf“ mit beschrifteten Handlungen (Selbst prüfen, Prüfen lassen, Nachweis verlangen, Vorab nicht prüfbar) */
.befund-vordemkauf p { margin: 6px 0 0; }
.befund-vordemkauf em, .punkte-erk li em { font-style: normal; font-weight: 600; color: var(--tinte-2); }
.befund-belege { margin: 12px 4px 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 13.5px; color: var(--tinte-2); }
.befund-belege a { color: var(--akzent); }
.befund-unten { margin-top: auto; padding: 12px 0 calc(14px + env(safe-area-inset-bottom)); }
.befund-weiter { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 10px; font-size: 13.5px; color: var(--tinte-2); }
.befund-weiter b { min-width: 0; color: var(--tinte); text-align: right; font-weight: 600; }
.befund-bild { margin-top: 16px; padding: 12px 14px 8px; background: var(--flaeche); border-radius: var(--radius); }
.km-strecke { position: relative; height: 66px; margin: 0 6px; }
.km-linie { position: absolute; left: 0; right: 0; top: 30px; height: 4px; border-radius: 2px; background: var(--flaeche-2); }
.km-bereich { position: absolute; top: 28px; height: 8px; border-radius: 4px; background: var(--akzent); opacity: .35; }
.km-null { position: absolute; left: 0; top: 40px; font-size: 12px; font-weight: 600; color: var(--tinte-2); }
.km-marke { position: absolute; top: 20px; width: 2px; height: 24px; margin-left: -1px; background: var(--tinte-2); border-radius: 1px; }
.km-marke em { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--tinte-2); white-space: nowrap; }
.km-inserat { position: absolute; top: 24px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--akzent); box-shadow: 0 0 0 3px var(--flaeche); }
.km-inserat em { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 12px; font-weight: 700; color: var(--akzent); white-space: nowrap; }
.befund-urteil { margin: 8px 0 0; font-size: 18px; font-weight: 700; letter-spacing: -.01em; line-height: 1.1; }
.befund-urteil.rot { color: var(--akzent); }
.feed-kopf { position: fixed; z-index: 51; top: 0; left: 0; right: 0; padding: calc(10px + env(safe-area-inset-top)) 16px 8px; pointer-events: none; background: var(--leiste); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid var(--trenn); }
@media (min-width: 600px) { .feed-kopf { left: 50%; width: var(--spalte); transform: translateX(-50%); } }
.segmente { display: flex; gap: 3px; }
.segmente i { flex: 1; height: 3px; border-radius: 2px; background: var(--trenn); transition: background .2s; }
.segmente i.an { background: var(--akzent); }
.feed-zeile { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.feed-zu { pointer-events: auto; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--flaeche); color: var(--akzent); display: grid; place-items: center; cursor: pointer; }
.feed-zu .ic { width: 20px; height: 20px; stroke-width: 2.4; }
.feed-name { flex: 1; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-zahl { font-size: 12.5px; font-weight: 600; color: var(--tinte-2); white-space: nowrap; }
.befund-schluss h2 { margin-top: 20px; }
.befund-schluss .btn { margin-top: 18px; }
.befund-schluss ul { margin: 12px 0 0; padding-left: 18px; font-size: 15.5px; }

/* ---------- Marken, Auswahlstufen ---------- */
.marken-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.marke-kachel { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; min-height: 100px; padding: 12px 14px; border-radius: var(--radius); background: var(--flaeche); color: var(--tinte); text-decoration: none; }
.marke-text { min-width: 0; }
.marke-kachel strong { display: block; font-weight: 700; font-size: 18px; letter-spacing: -.01em; line-height: 1.05; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.marke-kachel small { display: block; margin-top: 3px; font-size: 13px; font-weight: 500; color: var(--tinte-2); }
.marke-initial { width: 34px; height: 34px; border-radius: var(--radius-kachel); background: var(--akzent); color: var(--auf-akzent); display: grid; place-items: center; font-weight: 800; font-size: 16px; }
.marke-bald strong { color: var(--tinte-2); }
.marke-bald .marke-initial { background: var(--flaeche-2); color: var(--tinte-2); }
.schritt-titel { display: flex; align-items: center; gap: 10px; margin: 6px 0 12px; padding: 0 4px; font-size: 22px; font-weight: 700; letter-spacing: -.015em; line-height: 1; }
.schritt-titel span { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--akzent); color: var(--auf-akzent); display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.brotkrumen { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; margin: 0 0 8px; padding: 0 4px; font-size: 13px; color: var(--tinte-2); }
.brotkrumen a { color: var(--akzent); }
.brotkrumen .ic { width: 12px; height: 12px; }
.motor-kopf { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 18px 0 6px; padding: 0 16px; font-size: 15px; font-weight: 600; color: var(--tinte-2); }
.motor-kopf small { font-size: 13.5px; font-weight: 500; }
.auswahl-hinweise { margin: 12px 0 4px; border-radius: var(--radius); background: var(--flaeche); }
.auswahl-hinweise summary { display: flex; gap: 10px; align-items: center; padding: 12px 16px; cursor: pointer; font-size: 15px; font-weight: 600; list-style: none; color: var(--akzent); }
.auswahl-hinweise summary::-webkit-details-marker { display: none; }
.auswahl-hinweise summary .ic { color: var(--akzent); }
.auswahl-hinweise summary::after { content: '+'; margin-left: auto; font-size: 22px; line-height: 1; font-weight: 400; }
.auswahl-hinweise[open] summary::after { content: '−'; }
.auswahl-hinweise ul { margin: 0; padding: 0 16px 12px 32px; font-size: 15px; }
.auswahl-hinweise li + li { margin-top: 8px; }

/* Gratis: Freischalt-Block */
.sperre { display: block; margin-top: 20px; padding: 16px 16px 16px; border-radius: 16px; background: var(--flaeche); color: inherit; text-decoration: none; box-shadow: inset 0 0 0 2px var(--akzent); }
.sperre .etikett { color: var(--akzent); }
.sperre strong { display: block; margin-top: 6px; font-size: 22px; font-weight: 700; line-height: 1.1; letter-spacing: -.015em; }
.sperre ul { margin: 12px 0 14px; padding-left: 18px; font-size: 15px; }
.sperre li + li { margin-top: 4px; }
.sperre > small { display: block; margin-top: 10px; text-align: center; font-size: 13px; color: var(--tinte-2); }
.gesperrt { position: relative; }
.gesperrt-kopf { display: flex; gap: 12px; align-items: flex-start; }
.gesperrt-kopf h3 { margin: 0; font-size: 16px; font-weight: 600; }
.gesperrt-kopf p { margin: 4px 0 0; font-size: 14.5px; color: var(--tinte-2); }
.schloss { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: var(--radius-kachel); background: var(--flaeche-2); color: var(--tinte-2); }
.schloss .ic { width: 16px; height: 16px; }

/* ---------- Inserats-Check ---------- */
.rechner-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rechner-grid-3 .eingabe-einheit .eingabe { padding-right: 34px; }
@media (max-width: 400px) {
  .rechner-grid-3 { grid-template-columns: 1fr 1fr; }
  .rechner-grid-3 .feld-klein:first-child { grid-column: 1 / -1; }
}
.ic-zusammenfassung { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ic-zusammenfassung div { background: var(--flaeche); border-radius: var(--radius-knopf); padding: 10px 10px 11px; }
.ic-zusammenfassung strong { display: block; font-size: 28px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.ic-zusammenfassung .rot strong { color: var(--akzent); }
.ic-zusammenfassung span { display: block; margin-top: 5px; font-size: 12px; font-weight: 600; color: var(--tinte-2); line-height: 1.25; }
.ic-gruppe { margin-top: 20px; }
.ic-titel { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; padding: 0 4px; font-size: 17px; font-weight: 600; }
.ic-gruppe > .gedaempft { margin: 0 0 10px; padding: 0 4px; max-width: 62ch; }
.sw-kompakt { padding: 10px 14px; background: var(--flaeche); border-radius: var(--radius-knopf); }
.sw-kompakt .risiko-kopf strong { display: flex; align-items: center; gap: 8px; }
.sw-kompakt p { display: flex; gap: 6px; align-items: flex-start; margin: 5px 0 0; font-size: 14.5px; color: var(--tinte-2); }
.sw-kompakt p .ic { width: 14px; height: 14px; margin-top: 3px; }
.sw-faellig .risiko-kopf strong { color: var(--akzent); }
.sw-belegt .risiko-kopf strong { text-decoration: line-through; text-decoration-thickness: 1.5px; color: var(--tinte-2); }
.nachweis { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.nachweis input { position: absolute; opacity: 0; pointer-events: none; }
.nachweis .check-box { width: 22px; height: 22px; }
.nachweis input:checked + .check-box { background: var(--akzent); border-color: var(--akzent); }
.nachweis input:checked + .check-box .ic { opacity: 1; }
.nachweis input:focus-visible + .check-box { outline: 2px solid var(--fokus); outline-offset: 2px; }

/* ---------- Besichtigungsmodus ---------- */
.bm-status { position: sticky; top: 52px; z-index: 10; margin: -12px -16px 0; padding: 10px 16px 12px; background: var(--leiste); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid var(--trenn); }
.bm-status-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; font-size: 15px; }
.bm-status-kopf span { font-weight: 600; white-space: nowrap; }
.bm-item { position: relative; display: grid; gap: 10px; padding: 12px 16px; background: var(--flaeche); }
.bm-text strong { display: block; font-size: 16px; font-weight: 600; }
.bm-text small { display: block; margin-top: 2px; color: var(--tinte-2); font-size: 14px; }
.bm-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bm-btn { display: flex; align-items: center; justify-content: center; gap: 6px; height: 42px; border: 0; border-radius: 10px; background: var(--flaeche-2); font-size: 15px; font-weight: 600; color: var(--akzent); cursor: pointer; }
.bm-btn .ic { width: 16px; height: 16px; }
.bm-item[data-status="ok"] .bm-btn[data-wert="ok"] { background: var(--tinte); color: var(--grund); }
.bm-item[data-status="auffaellig"] .bm-btn[data-wert="auffaellig"] { background: var(--akzent); color: var(--auf-akzent); }
.bm-item[data-status="ok"] .bm-text strong { color: var(--tinte-2); text-decoration: line-through; text-decoration-thickness: 1.5px; }
#bm-fazit:empty { display: none; }
.punkte { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.punkte li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.punkte .ic { width: 18px; height: 18px; margin-top: 2px; flex: none; color: var(--akzent); }
.punkte-warn .ic { color: var(--akzent); }

/* ---------- Vergleich & Tabellen ---------- */
.tabelle-rahmen { overflow-x: auto; border-radius: var(--radius); background: var(--flaeche); margin: 8px 0 12px; }
.tabelle { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tabelle th, .tabelle td { padding: 9px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--trenn); }
.tabelle tr:last-child th, .tabelle tr:last-child td { border-bottom: 0; }
.tabelle thead th { font-size: 12.5px; font-weight: 600; color: var(--tinte-2); }
.vgl { min-width: 460px; }
.vgl tbody th { color: var(--tinte-2); font-weight: 600; font-size: 13.5px; white-space: nowrap; width: 1%; }
.vgl thead a { text-decoration: none; font-weight: 600; color: var(--akzent); }
.arg strong { display: block; font-size: 16px; font-weight: 600; }
.arg small { display: block; margin-top: 4px; color: var(--tinte-2); font-size: 14.5px; }
.arg ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.arg li { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; font-weight: 600; }
.arg li .ic { width: 14px; height: 14px; margin-top: 3px; color: var(--akzent); }
.arg-stark { box-shadow: inset 0 0 0 2px var(--akzent); }

/* ---------- Kaufseite ---------- */
.pw-kopf { padding: 8px 4px 16px; }
.pw-kopf h2 { margin: 12px 0 6px; font-size: 28px; font-weight: 700; line-height: 1.08; letter-spacing: -.02em; }
.pw-kopf p { margin: 0; font-size: 16px; color: var(--tinte-2); max-width: 40ch; }
.pw-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--akzent); color: var(--auf-akzent); }
.pw-icon .ic { width: 22px; height: 22px; }
.pw-vorteile { list-style: none; margin: 0 0 16px; padding: 12px 16px; background: var(--flaeche); border-radius: var(--radius); display: grid; gap: 8px; }
.pw-vorteile li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.pw-vorteile .ic { width: 18px; height: 18px; margin-top: 2px; stroke-width: 2.6; color: var(--akzent); }
.plaene { display: grid; gap: 8px; }
.plan { position: relative; display: grid; gap: 4px; width: 100%; padding: 16px 14px 14px; text-align: left; cursor: pointer; background: var(--flaeche); border: 0; border-radius: var(--radius); color: inherit; }
.plan[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--akzent); }
.plan-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.plan-kopf strong { font-size: 17px; font-weight: 600; }
.plan-preis { font-size: 22px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.plan-preis small { font-size: 13px; font-weight: 500; color: var(--tinte-2); }
.plan > small { color: var(--tinte-2); font-size: 14px; }
.plan-tag { position: absolute; top: -10px; left: 12px; padding: 2px 8px; border-radius: 6px; background: var(--akzent); color: var(--auf-akzent); font-size: 12px; font-weight: 600; }
.pw-links { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; margin-top: 12px; font-size: 14px; }
.pw-links a { color: var(--tinte-2); }
#kaufknopf { margin-top: 14px; }
.leistung { margin-top: 12px; padding: 12px 16px; border-radius: var(--radius); background: var(--flaeche); font-size: 14.5px; }
.leistung strong { display: block; margin-bottom: 4px; }
.leistung ul { margin: 6px 0 0; padding-left: 18px; }

/* ---------- Rechtstexte, Methodik, Sonstiges ---------- */
.rechtstext { font-size: 15.5px; max-width: 64ch; padding: 4px 16px 12px; background: var(--flaeche); border-radius: var(--radius); }
.rechtstext h3 { margin: 24px 0 6px; font-size: 18px; font-weight: 700; }
.rechtstext h3:first-child { margin-top: 8px; }
.rechtstext p, .rechtstext li { margin: 0 0 10px; }
.rechtstext ul { padding-left: 20px; }
.rechtstext .tabelle { font-size: 13.5px; min-width: 480px; }
.rechtstext a { text-decoration: underline; text-underline-offset: .15em; }
.ph { background: var(--akzent-hell); color: var(--akzent); font-weight: 600; border-radius: 4px; padding: 0 3px; }
.datenpruefung ul { margin: 6px 0; padding-left: 18px; font-size: 13.5px; color: var(--tinte-2); }
.version { margin: 28px 0 0; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--tinte-2); }
.quellen, .videos { list-style: none; margin: 0; padding: 0; display: grid; }
.quellen li, .videos li { position: relative; padding: 9px 0; font-size: 15px; }
.quellen a, .video { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.quellen a .ic, .video > .ic { width: 14px; height: 14px; }
.quellen small { display: block; margin-top: 2px; color: var(--tinte-2); font-size: 13px; }
.quellen .badge { margin-right: 6px; }
.video { display: flex; gap: 10px; color: var(--tinte); font-size: 15px; text-decoration: none; }
.video-icon { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--akzent); color: var(--auf-akzent); }
.video-icon .ic { width: 13px; height: 13px; }
.video > span:nth-child(2) { flex: 1; }
.melden { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 24px; padding: 12px; border-radius: var(--radius-knopf); background: var(--flaeche); color: var(--akzent); font-size: 15px; font-weight: 600; text-decoration: none; }
.melden .ic { width: 16px; height: 16px; }
.hu-liste { margin: 0; padding-left: 18px; font-size: 15px; }
.hu-liste li + li { margin-top: 6px; }

/* E-Auto: Batterie-Check und Garantie */
.soh-raster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0; }
.soh-raster div { background: var(--flaeche-2); border-radius: 10px; padding: 8px 8px; }
.soh-raster b { display: block; font-size: 18px; font-weight: 700; }
.soh-raster span { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--tinte-2); }
.soh-ergebnis { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--flaeche-2); font-size: 15px; }
.soh-ergebnis strong { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.soh-ergebnis.rot { background: var(--akzent-hell); }
.soh-ergebnis.rot strong { color: var(--akzent); }

/* ---------- Hinweisfenster (Sheet) & Toast ---------- */
.modal-hg { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; padding: 0; background: rgba(0, 0, 0, .4); animation: einblenden .25s ease; }
.modal { width: 100%; max-width: var(--spalte); padding: 22px 20px calc(18px + env(safe-area-inset-bottom)); background: var(--flaeche); color: var(--tinte); border-radius: 18px 18px 0 0; animation: hochgleiten .36s var(--ease-drawer); }
.modal::before { content: ''; display: block; width: 36px; height: 5px; margin: -10px auto 14px; border-radius: 3px; background: var(--tinte-3); }
.modal h2 { margin: 14px 0 8px; font-size: 24px; font-weight: 700; line-height: 1.08; letter-spacing: -.015em; }
.modal p { margin: 0 0 18px; font-size: 15px; color: var(--tinte-2); }
@media (min-width: 600px) { .modal-hg { align-items: center; padding: 16px; } .modal { border-radius: 18px; padding-bottom: 18px; } .modal::before { display: none; } }
.toast { position: fixed; left: 50%; bottom: calc(100px + env(safe-area-inset-bottom)); z-index: 120; display: flex; align-items: center; gap: 8px; max-width: calc(100% - 32px); padding: 11px 16px; border-radius: 999px; background: var(--tinte); color: var(--grund); font-size: 15px; font-weight: 600; opacity: 0; transform: translate(-50%, 8px); pointer-events: none; transition: opacity .2s, transform .25s var(--ease-out); }
.toast .ic { width: 16px; height: 16px; stroke-width: 3; }
.toast.sichtbar { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Testversion (Facebook-Test): Hinweisleiste, Werkzeuge, Feedback ---------- */
.testleiste { margin: -4px 0 12px; padding: 6px 10px; border-radius: 8px; background: var(--flaeche-2); box-shadow: inset 0 0 0 1px var(--trenn); color: var(--tinte-2); font-size: 12.5px; font-weight: 600; text-align: center; }
.view-start .testleiste { margin-top: 12px; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wunsch { display: grid; gap: 10px; }
/* Schritt 8 (06.10.2026): Wunschfeld mit Marke, Modell, Baujahr; „Interessiert mich“ bei Baureihen in Vorbereitung */
.wunsch .karte-titel { margin: 0; }
.wunsch .fliesstext { margin: 0; }
.wunsch-felder { display: grid; gap: 10px; }
.wunsch-felder .feld { margin: 0; }
.wunsch .formfehler { margin: 0; }
.btn-klein { min-height: 34px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
.btn-klein.interesse { background: var(--flaeche-2); box-shadow: inset 0 0 0 1px var(--trenn); }
.zeile-geplant { align-items: flex-start; }
.zeile-geplant .zeile-icon { margin-top: 2px; }
.zeile-geplant .interesse { margin-top: 8px; }
.interesse-ok { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--tinte-2); }
.interesse-ok .ic { width: 16px; height: 16px; }
.vorbereitung .badge { margin-bottom: 10px; }
.vorbereitung .karte-titel { margin: 0 0 6px; }
.vorbereitung .fliesstext { margin: 0 0 12px; }
.vormerken-angebot { display: grid; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--trenn); }
.vormerken-angebot .feld { margin: 0; }
/* Testversion: Hinweis auf Vorschläge per E-Mail (nach dem Feedback und auf „Mehr“) */
.kontakt-hinweis { margin: 12px 0 0; font-size: 15px; color: var(--tinte-2); }
.pw-kopf .kontakt-hinweis { margin-top: 10px; }
.zeile-knopf { width: 100%; border: 0; font: inherit; text-align: left; cursor: pointer; }

.werkzeuge { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.werkzeug { display: grid; justify-items: center; align-content: start; gap: 8px; min-height: 92px; padding: 12px 6px 10px; border: 0; border-radius: var(--radius); background: var(--flaeche); color: var(--tinte); font: inherit; font-size: 13px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: transform 120ms var(--ease-out); }
.werkzeug:active { transform: scale(.97); }
.werkzeug .zeile-icon { background: var(--akzent-hell); color: var(--akzent); }
@media (max-width: 340px) { .werkzeuge { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.mini-feedback { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }
.mini-feedback strong { font-size: 16px; font-weight: 600; }
.mini-knoepfe { display: flex; gap: 8px; }
.mini-knopf { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 72px; min-height: 48px; padding: 0 14px; border: 0; border-radius: var(--radius-knopf); background: var(--flaeche-2); color: var(--tinte); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: transform 120ms var(--ease-out), background-color 120ms; }
.mini-knopf:active { transform: scale(.97); }
.mini-knopf .ic { width: 18px; height: 18px; }
.mini-knopf[aria-pressed="true"] { background: var(--akzent); color: var(--auf-akzent); }

.umfrage-kopf { display: flex; align-items: center; gap: 12px; margin: 4px 0 20px; font-size: 14px; font-weight: 600; color: var(--tinte-2); font-variant-numeric: tabular-nums; }
.umfrage-frage { margin: 0 0 18px; padding: 0 2px; font-size: 26px; font-weight: 700; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.umfrage-frage-klein { font-size: 19px; line-height: 1.2; margin-bottom: 12px; }
.antworten { display: grid; gap: 8px; }
.antwort { display: flex; align-items: center; width: 100%; min-height: 52px; padding: 10px 16px; border: 0; border-radius: var(--radius); background: var(--flaeche); color: var(--tinte); font: inherit; font-size: 16px; font-weight: 500; line-height: 1.25; text-align: left; cursor: pointer; transition: transform 120ms var(--ease-out), background-color 120ms; }
.antwort:active { transform: scale(.98); }
.antwort[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--akzent); color: var(--akzent); font-weight: 600; }
.skala { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.antwort-zahl { justify-content: center; min-height: 60px; padding: 0; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.skala-enden { display: flex; justify-content: space-between; margin-top: 8px; padding: 0 4px; font-size: 13.5px; color: var(--tinte-2); }
.umfrage-fuss { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
.umfrage-fuss .btn-link { min-height: 48px; padding: 0 4px; }

.feedback-karte { position: fixed; left: 12px; right: 12px; bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: var(--spalte); margin: 0 auto; padding: 14px; border-radius: 16px; background: var(--flaeche); color: var(--tinte); box-shadow: 0 10px 30px rgba(28, 28, 30, .18), inset 0 0 0 1px var(--trenn); opacity: 0; transform: translateY(12px); transition: opacity .2s ease, transform .25s var(--ease-out); }
.feedback-karte.sichtbar { opacity: 1; transform: none; }
.feedback-karte strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.2; }
.feedback-karte small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--tinte-2); }
.feedback-karte-knoepfe { display: flex; gap: 8px; flex: none; }
.feedback-karte .btn { min-height: 48px; padding: 0 16px; box-shadow: none; }
.feedback-karte .btn-sekundaer { background: var(--flaeche-2); color: var(--tinte); }

.teilen-reihe { display: grid; gap: 8px; }
.quelle-zeile { margin: 8px 4px 0; font-size: 13.5px; color: var(--tinte-2); }
.quelle-zeile a { color: var(--akzent); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.rep .quelle-zeile { margin-left: 0; }

/* Vorab erzeugte Seiten: sichtbar, bis das Programm geladen ist, und für Facebook und Suchmaschinen */
.statisch-liste { margin: 0; padding: 4px 16px; list-style: none; background: var(--flaeche); border-radius: var(--radius); }
.statisch-liste li + li { border-top: 1px solid var(--trenn); }
.statisch-liste a { display: block; padding: 12px 0; min-height: 44px; color: var(--tinte); font-weight: 500; }
.statisch .btn { margin-top: 20px; }

/* ---------- Am Computer: Maus, Tastatur, Spalte ---------- */
.befund-weiter { width: 100%; padding: 8px 4px; border: 0; border-radius: 10px; background: transparent; color: inherit; font: inherit; font-size: 13.5px; text-align: left; text-decoration: none; cursor: pointer; }
.feed-pfeil { display: none; }
.pos-zeile, .register-zeile, .kachel, .chip, .plan, .bm-btn, .zeichnung .pos { cursor: pointer; }
.pos-zeile:focus-visible, .zeile:focus-visible, .register-zeile:focus-visible { outline-offset: -2px; border-radius: var(--radius); }
.zeichnung .pos:focus-visible { outline: none; }
.zeichnung .pos:focus-visible circle { stroke: var(--fokus); stroke-width: 3; }
.rechtstext a, .fussnote a, .check-text a, .quellen a, .befund-belege a { text-decoration: underline; text-underline-offset: 2px; }

@media (hover: hover) and (pointer: fine) {
  .feed-pfeil { display: grid; }
  .tab:hover { color: var(--tinte); }
  .tab.aktiv:hover { color: var(--akzent); }
  .zurueck-btn:hover, .btn-link:hover, .feed-zu:hover, .befund-weiter:hover { background: var(--akzent-hell); }
  .chip:hover, .bm-btn:hover, .mini-knopf:hover { filter: brightness(.96); }
  .kachel:hover, .werkzeug:hover, .antwort:hover, .plan:hover, .melden:hover, .karte-zeile:hover, .karte-upgrade:hover, .sperre:hover, a.karte.gesperrt:hover { background: var(--flaeche-2); }
  .antwort[aria-pressed="true"]:hover, .plan[aria-checked="true"]:hover { background: var(--flaeche); }
  .zeichnung .pos:hover circle { stroke: var(--akzent); }
  .info-knopf:hover { color: var(--tinte); }
}

@media (min-width: 600px) {
  .feedback-karte { left: 50%; right: auto; width: calc(var(--spalte) - 24px); max-width: none; margin: 0; transform: translate(-50%, 12px); }
  .feedback-karte.sichtbar { transform: translate(-50%, 0); }
  .toast { max-width: calc(var(--spalte) - 32px); }
  .appbar-titel { max-width: 340px; }
}

@keyframes einblenden { from { opacity: 0; } to { opacity: 1; } }
@keyframes hochgleiten { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .szene .szene-auto { transform: none; }
  .szene .rauch { display: none; }
  .szene .statistik { opacity: 1; transform: none; }
}
