/* Fundus – Design (Neubau 28.11.2026). Dunkel, ruhig, viel Abstand. Eigene Farbe: Bernstein. */
:root {
  --bg: #0E1013; --bg-2: #111317; --flaeche: #16191E; --flaeche-2: #1B1F25; --hover: #20252C;
  --linie: #262A31; --linie-2: #313740;
  --text: #ECEEF1; --leise: #8B93A1; --leiser: #626A76;
  --akzent: #F2A93B; --akzent-text: #17120A; --akzent-weich: rgba(242, 169, 59, .12); --akzent-rand: rgba(242, 169, 59, .35);
  --gruen: #3DD68C; --gruen-weich: rgba(61, 214, 140, .12);
  --orange: #F5A04A; --orange-weich: rgba(245, 160, 74, .13);
  --rot: #F2645A; --rot-weich: rgba(242, 100, 90, .13);
  --grau: #7D8594; --grau-weich: rgba(125, 133, 148, .14);
  --blau: #6EA8FE;
  --vinted: #2BB3BC; --ka: #8DBB2C;
  --r: 12px; --r-gross: 16px; --r-klein: 8px;
  --schatten: 0 12px 40px rgba(0, 0, 0, .45);
  --schrift: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, system-ui, sans-serif;
  --zahlen: ui-monospace, "SF Mono", Menlo, monospace;
  --leiste: 248px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--text); font: 14px/1.45 var(--schrift); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
svg.i { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.zahl { font-variant-numeric: tabular-nums; }
.leise { color: var(--leise); }
.klein { font-size: 12.5px; }
.privat { transition: filter .2s; }
body.auge .privat { filter: blur(6px); }

/* ---------- Gerüst ---------- */
.app { display: grid; grid-template-columns: var(--leiste) minmax(0, 1fr); min-height: 100vh; }
.seitenleiste { position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--bg-2); border-right: 1px solid var(--linie); padding: 18px 12px 24px; display: flex; flex-direction: column; gap: 4px; }
.marke { display: flex; align-items: center; gap: 10px; padding: 4px 10px 18px; text-decoration: none; }
.marke img { width: 32px; height: 32px; }
.marke b { font-size: 17px; letter-spacing: -.01em; }
.marke span { display: block; font-size: 11.5px; color: var(--leise); }
.nav-gruppe { margin-top: 14px; }
.nav-gruppe > div { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--leiser); padding: 0 10px 6px; }
.nav-link { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-klein); color: var(--leise); text-decoration: none; position: relative; }
.nav-link > span:first-of-type { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-link:hover { background: var(--hover); color: var(--text); }
.nav-link[aria-current="page"] { background: var(--akzent-weich); color: var(--text); }
.nav-link[aria-current="page"]::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--akzent); }
.nav-link[aria-current="page"] svg { color: var(--akzent); }
.nav-link .marker { margin-left: auto; font-size: 10.5px; padding: 1px 7px; border-radius: 99px; background: var(--flaeche-2); color: var(--leiser); border: 1px solid var(--linie); }
.nav-link .marker.neu { color: var(--akzent); border-color: var(--akzent-rand); background: transparent; }
.nav-link .zaehler { margin-left: auto; font-size: 11.5px; color: var(--leise); }
.leiste-fuss { margin-top: auto; padding: 16px 10px 0; font-size: 11.5px; color: var(--leiser); }

.haupt { min-width: 0; display: flex; flex-direction: column; }
.kopf { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; padding: 14px 32px; background: rgba(14, 16, 19, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--linie); min-height: 64px; }
.kopf h1 { font-size: 19px; margin: 0; letter-spacing: -.01em; white-space: nowrap; }
.kopf .pillen { display: flex; gap: 6px; flex-wrap: wrap; }
.kopf .rechts { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.kopf .mini-marke { display: none; }
.inhalt { padding: 28px 32px 110px; width: 100%; max-width: 1320px; }
.unterzeile { color: var(--leise); margin: -4px 0 22px; }

/* ---------- Bausteine ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--linie-2); background: var(--flaeche); color: var(--text); cursor: pointer; white-space: nowrap; text-decoration: none; }
.knopf:hover { background: var(--hover); }
.knopf.primaer { background: var(--akzent); border-color: var(--akzent); color: var(--akzent-text); font-weight: 600; }
.knopf.primaer:hover { filter: brightness(1.06); }
.knopf.leer { background: transparent; border-color: transparent; color: var(--leise); }
.knopf.leer:hover { background: var(--hover); color: var(--text); }
.knopf.rund { width: 36px; padding: 0; }
.knopf[disabled] { opacity: .45; cursor: not-allowed; }
.knopf kbd { font: 11px var(--schrift); color: var(--leiser); border: 1px solid var(--linie-2); border-radius: 5px; padding: 0 5px; }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; }

.pille { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 99px; font-size: 12px; background: var(--grau-weich); color: var(--leise); white-space: nowrap; }
.pille::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grau); }
.pille.ohne::before { display: none; }
.pille.ok { background: var(--gruen-weich); color: #8BE9BA; } .pille.ok::before { background: var(--gruen); }
.pille.warn { background: var(--orange-weich); color: #F8C48C; } .pille.warn::before { background: var(--orange); }
.pille.bad { background: var(--rot-weich); color: #F7A19A; } .pille.bad::before { background: var(--rot); }
.pille.akzent { background: var(--akzent-weich); color: var(--akzent); } .pille.akzent::before { background: var(--akzent); }
.pille.live::before { animation: puls 1.6s infinite; }
@keyframes puls { 50% { opacity: .35; } }

.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-gross); padding: 20px; }
.karte.hervor { border-color: var(--akzent-rand); }
.karte h2 { font-size: 15px; margin: 0 0 4px; }
.karte h2 + p { margin: 0 0 16px; color: var(--leise); font-size: 13px; }
.raster-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.raster-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stapel { display: grid; gap: 16px; }
.raster-2.breit-links { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }

.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-gross); padding: 16px 18px; }
.kpi .name { color: var(--leise); font-size: 12.5px; }
.kpi .wert { font-size: 24px; font-weight: 650; letter-spacing: -.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.kpi .delta { font-size: 12px; margin-top: 4px; color: var(--leise); }
.kpi .delta.hoch { color: var(--gruen); } .kpi .delta.runter { color: var(--rot); }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tab { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--linie); background: transparent; color: var(--leise); cursor: pointer; }
.tab:hover { color: var(--text); background: var(--hover); }
.tab[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.tab b { font-weight: 600; font-size: 12px; opacity: .75; }

.werkzeug { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.suchfeld { position: relative; flex: 1 1 260px; max-width: 420px; }
.suchfeld svg { position: absolute; left: 11px; top: 9px; color: var(--leiser); }
.eingabe { width: 100%; height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--linie-2); background: var(--bg-2); outline: none; }
.suchfeld .eingabe { padding-left: 36px; }
.eingabe:focus { border-color: var(--akzent-rand); }
.umschalter { display: inline-flex; border: 1px solid var(--linie-2); border-radius: 10px; overflow: hidden; }
.umschalter button { height: 34px; width: 38px; border: 0; background: transparent; color: var(--leise); cursor: pointer; display: grid; place-items: center; }
.umschalter button[aria-pressed="true"] { background: var(--hover); color: var(--text); }

.tabelle { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-gross); overflow: hidden; }
.tabelle th { text-align: left; font-weight: 500; font-size: 12px; color: var(--leiser); padding: 11px 14px; border-bottom: 1px solid var(--linie); background: var(--flaeche-2); white-space: nowrap; }
.tabelle td { padding: 10px 14px; border-bottom: 1px solid var(--linie); vertical-align: middle; }
.tabelle tr:last-child td { border-bottom: 0; }
.tabelle tbody tr { cursor: pointer; }
.tabelle tbody tr:hover td { background: var(--hover); }
.tabelle .r { text-align: right; }
.foto { width: 44px; height: 56px; border-radius: 8px; object-fit: cover; background: var(--flaeche-2); display: block; }
.foto.leer { display: grid; place-items: center; color: var(--leiser); font-size: 18px; }
.titel-zelle b { display: block; font-weight: 550; max-width: 380px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.titel-zelle span { font-size: 12px; color: var(--leise); }
.platt { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; padding: 2px 8px 2px 6px; border-radius: 6px; background: var(--flaeche-2); border: 1px solid var(--linie); margin: 2px 4px 2px 0; white-space: nowrap; }
.platt i { width: 7px; height: 7px; border-radius: 50%; background: var(--grau); }
.platt.online i { background: var(--gruen); } .platt.entwurf i { background: var(--orange); } .platt.verkauft i { background: var(--blau); } .platt.beendet i { background: var(--leiser); }
.preis { font-weight: 600; font-variant-numeric: tabular-nums; }

.kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.kachel { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-gross); overflow: hidden; cursor: pointer; text-align: left; padding: 0; }
.kachel:hover { border-color: var(--linie-2); background: var(--flaeche-2); }
.kachel img, .kachel .foto { width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 0; }
.kachel .unten-text { padding: 10px 12px 12px; }
.kachel .unten-text b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 550; }
.kachel .zeile { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font-size: 12px; color: var(--leise); }

.leerzustand { text-align: center; padding: 56px 20px; color: var(--leise); }
.leerzustand .gross { font-size: 30px; margin-bottom: 8px; }

/* Übersicht */
.balken { display: flex; align-items: flex-end; gap: 10px; height: 170px; padding-top: 8px; }
.balken .b { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.balken .b i { display: block; width: 100%; max-width: 44px; border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, var(--akzent), rgba(242, 169, 59, .45)); min-height: 3px; }
.balken .b.vor i { background: var(--linie-2); }
.balken .b span { font-size: 11px; color: var(--leiser); white-space: nowrap; }
.schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.schritte a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r); background: var(--flaeche-2); border: 1px solid var(--linie); text-decoration: none; }
.schritte a:hover { border-color: var(--linie-2); background: var(--hover); }
.schritte .nr { min-width: 34px; height: 28px; padding: 0 8px; border-radius: 8px; display: grid; place-items: center; font-weight: 650; background: var(--akzent-weich); color: var(--akzent); font-variant-numeric: tabular-nums; }
.schritte .nr.null { background: var(--grau-weich); color: var(--leiser); }
.schritte .t { flex: 1; } .schritte .t span { display: block; font-size: 12px; color: var(--leise); }
.fahrplan { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.fahrplan li { display: flex; gap: 10px; align-items: center; padding: 7px 0; color: var(--leise); }
.fahrplan li .kreis { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--linie-2); display: grid; place-items: center; font-size: 11px; flex: none; }
.fahrplan li.fertig { color: var(--text); } .fahrplan li.fertig .kreis { background: var(--gruen); border-color: var(--gruen); color: #07150E; }
.fahrplan li.jetzt { color: var(--text); } .fahrplan li.jetzt .kreis { border-color: var(--akzent); color: var(--akzent); }

/* Konten */
.konto { display: flex; gap: 14px; align-items: flex-start; }
.konto .bild { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.konto .bild.vinted { background: rgba(43, 179, 188, .15); color: var(--vinted); }
.konto .bild.kleinanzeigen { background: rgba(141, 187, 44, .15); color: var(--ka); }
.konto .bild.aus { background: var(--grau-weich); color: var(--leiser); }
.konto h3 { margin: 0 0 2px; font-size: 15px; }
.daten { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 14px 0 0; font-size: 13px; }
.daten dt { color: var(--leise); } .daten dd { margin: 0; }

/* Platzhalter-Seiten */
.bald { max-width: 760px; }
.bald .karte { padding: 28px; }
.bald ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.bald li { display: flex; gap: 10px; } .bald li::before { content: "→"; color: var(--akzent); }

/* Detail-Leiste rechts */
.schleier { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 50; }
.schleier[data-erst] { animation: ein .15s; }
.detail { position: fixed; top: 0; right: 0; bottom: 0; width: min(480px, 100%); background: var(--bg-2); border-left: 1px solid var(--linie); z-index: 51; overflow-y: auto; padding: 22px; }
.detail[data-erst] { animation: rein .2s ease-out; }
.detail .zu { position: absolute; top: 14px; right: 14px; }
.detail .bilder { display: flex; gap: 8px; overflow-x: auto; margin: 8px 0 16px; scroll-snap-type: x mandatory; }
.detail .bilder img, .detail .bilder .foto { width: 150px; height: 190px; border-radius: 12px; object-fit: cover; flex: none; scroll-snap-align: start; }
.detail h2 { font-size: 18px; margin: 0 40px 6px 0; line-height: 1.3; }
.detail .zeile { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--linie); font-size: 13px; }
.detail .zeile span:first-child { color: var(--leise); }
.hinweis { margin-top: 16px; padding: 12px 14px; border-radius: var(--r); background: var(--akzent-weich); border: 1px solid var(--akzent-rand); color: #F6CD8C; font-size: 13px; }
@keyframes ein { from { opacity: 0; } }
@keyframes rein { from { transform: translateX(30px); opacity: 0; } }

/* Menü (Konto-Wahl) */
.menue-wrap { position: relative; }
.menue { position: absolute; right: 0; top: 42px; min-width: 250px; background: var(--flaeche-2); border: 1px solid var(--linie-2); border-radius: var(--r); box-shadow: var(--schatten); padding: 6px; z-index: 40; }
.menue button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; background: transparent; border-radius: 8px; cursor: pointer; text-align: left; }
.menue button:hover { background: var(--hover); }
.menue button[aria-checked="true"] { color: var(--akzent); }
.menue .klein { margin-left: auto; }
.konto-punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--grau); flex: none; }
.konto-punkt.vinted { background: var(--vinted); } .konto-punkt.kleinanzeigen { background: var(--ka); } .konto-punkt.alle { background: var(--akzent); }

/* Suche ⌘K */
.suche { position: fixed; left: 50%; top: 12vh; transform: translateX(-50%); width: min(620px, calc(100% - 32px)); background: var(--flaeche-2); border: 1px solid var(--linie-2); border-radius: var(--r-gross); box-shadow: var(--schatten); z-index: 61; overflow: hidden; }
.suche[data-erst] { animation: ein .12s; }
.suche input { width: 100%; height: 54px; border: 0; border-bottom: 1px solid var(--linie); background: transparent; padding: 0 18px; font-size: 16px; outline: none; }
.suche ul { list-style: none; margin: 0; padding: 6px; max-height: 50vh; overflow-y: auto; }
.suche li button { display: flex; width: 100%; align-items: center; gap: 12px; padding: 9px 12px; border: 0; background: transparent; border-radius: 9px; cursor: pointer; text-align: left; }
.suche li button[aria-selected="true"] { background: var(--hover); }
.suche li .art { margin-left: auto; font-size: 11.5px; color: var(--leiser); }
.suche .kopfzeile { padding: 8px 12px 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--leiser); }
.suche img, .suche .foto { width: 28px; height: 34px; border-radius: 6px; }
.schleier.suche-schleier { z-index: 60; }

/* Erklären + Tour */
.erklaeren { position: fixed; right: 22px; bottom: 22px; z-index: 30; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 99px; border: 1px solid var(--linie-2); background: var(--flaeche-2); box-shadow: var(--schatten); cursor: pointer; }
.erklaeren:hover { background: var(--hover); }
.erklaer-box { position: fixed; right: 22px; bottom: 74px; width: min(360px, calc(100% - 32px)); z-index: 31; background: var(--flaeche-2); border: 1px solid var(--linie-2); border-radius: var(--r-gross); box-shadow: var(--schatten); padding: 18px; }
.erklaer-box[data-erst] { animation: ein .12s; }
.erklaer-box h3 { margin: 0 0 8px; font-size: 15px; }
.erklaer-box p { margin: 0 0 14px; color: var(--leise); }
.tour-loch { position: fixed; z-index: 70; border-radius: 12px; box-shadow: 0 0 0 9999px rgba(0, 0, 0, .62), 0 0 0 2px var(--akzent); pointer-events: none; transition: all .25s ease; }
.tour-blase { position: fixed; z-index: 71; width: min(340px, calc(100% - 32px)); background: var(--flaeche-2); border: 1px solid var(--akzent-rand); border-radius: var(--r-gross); box-shadow: var(--schatten); padding: 16px 18px; transition: top .25s ease, left .25s ease; }
.tour-blase .stufe { font-size: 11.5px; color: var(--akzent); font-weight: 600; margin-bottom: 4px; }
.tour-blase h3 { margin: 0 0 6px; font-size: 15px; }
.tour-blase p { margin: 0 0 14px; color: var(--leise); }
.tour-blase .knoepfe { display: flex; gap: 8px; justify-content: flex-end; }
.tour-fang { position: fixed; inset: 0; z-index: 69; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; z-index: 80; font-weight: 500; box-shadow: var(--schatten); animation: ein .15s; }

/* Anmeldung */
.anmeldung { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(800px 400px at 50% -10%, rgba(242, 169, 59, .10), transparent), var(--bg); }
.anmeldung .karte { width: min(400px, 100%); padding: 28px; }
.anmeldung img { width: 48px; height: 48px; }
.anmeldung h1 { font-size: 22px; margin: 14px 0 4px; }
.anmeldung label { display: block; font-size: 12.5px; color: var(--leise); margin: 14px 0 6px; }
.anmeldung .knopf { width: 100%; margin-top: 18px; height: 42px; }
.anmeldung .fehler { color: var(--rot); font-size: 13px; min-height: 18px; margin-top: 10px; }
.anmeldung .unten-links { display: flex; justify-content: space-between; margin-top: 14px; font-size: 13px; }
.anmeldung .link-box { margin-top: 16px; border-top: 1px solid var(--linie); padding-top: 12px; }
.anmeldung .link-box summary { cursor: pointer; color: var(--akzent); font-size: 13px; }
.anmeldung .link-box p { margin: 8px 0; }
.anmeldung .link-box .knopf { width: 100%; margin-top: 8px; height: 38px; }
.anmeldung .unten-links button { background: none; border: 0; color: var(--leise); cursor: pointer; padding: 0; text-decoration: underline; }

/* Handy: untere Leiste */
.unten { display: none; }
.mehr-blatt { position: fixed; left: 0; right: 0; bottom: 0; max-height: 82vh; overflow-y: auto; background: var(--bg-2); border-top: 1px solid var(--linie-2); border-radius: 20px 20px 0 0; z-index: 51; padding: 10px 14px calc(18px + env(safe-area-inset-bottom)); }
.mehr-blatt[data-erst] { animation: hoch .2s ease-out; }
.mehr-blatt .griff { width: 40px; height: 4px; border-radius: 4px; background: var(--linie-2); margin: 4px auto 10px; }
@keyframes hoch { from { transform: translateY(40px); opacity: 0; } }

@media (max-width: 1180px) { .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } .raster-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .seitenleiste { display: none; }
  .kopf { padding: 10px 16px; gap: 10px; min-height: 56px; padding-top: calc(10px + env(safe-area-inset-top)); }
  .kopf .mini-marke { display: block; width: 28px; height: 28px; }
  .kopf h1 { font-size: 17px; }
  .kopf .pillen { display: none; }
  .kopf .such-text, .kopf .konto-text { display: none; }
  .inhalt { padding: 18px 16px calc(150px + env(safe-area-inset-bottom)); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi .wert { font-size: 20px; }
  .raster-2, .raster-3, .raster-2.breit-links { grid-template-columns: minmax(0, 1fr); }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 14px; padding: 0 16px; scrollbar-width: none; }
  .tab { flex: none; }
  .tabelle .nur-gross { display: none; }
  .titel-zelle b { max-width: 52vw; }
  .tabelle td, .tabelle th { padding: 10px; }
  .unten { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(17, 19, 23, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--linie); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .unten a, .unten button { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10.5px; color: var(--leise); text-decoration: none; background: none; border: 0; padding: 4px 0; cursor: pointer; }
  .unten [aria-current="page"] { color: var(--akzent); }
  .unten svg.i { width: 22px; height: 22px; }
  .erklaeren { bottom: calc(78px + env(safe-area-inset-bottom)); right: 14px; height: 42px; width: 42px; padding: 0; justify-content: center; }
  .erklaeren .erkl-text { display: none; }
  .erklaer-box { bottom: calc(126px + env(safe-area-inset-bottom)); right: 16px; }
  .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .detail { width: 100%; border-left: 0; padding-top: calc(22px + env(safe-area-inset-top)); }
}
/* ---------- Sniper (Phase 2) ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--linie-2); background: var(--flaeche); color: var(--leise); cursor: pointer; font-size: 13px; white-space: nowrap; }
.chip:hover { color: var(--text); background: var(--hover); }
.chip[aria-pressed="true"] { background: var(--akzent-weich); border-color: var(--akzent-rand); color: var(--akzent); }
.chip svg.i { width: 15px; height: 15px; }
.chip.still { cursor: default; height: 26px; padding: 0 10px; font-size: 12.5px; background: var(--bg-2); color: var(--text); }
.chip.still:hover { background: var(--bg-2); }
.chip.minus { color: #F7A19A; border-color: rgba(242, 100, 90, .3); }
.neu-punkt { width: 7px; height: 7px; border-radius: 50%; background: var(--akzent); animation: puls 1.6s infinite; }
.schalter { position: relative; width: 38px; height: 22px; flex: none; border-radius: 99px; border: 1px solid var(--linie-2); background: var(--bg-2); cursor: pointer; padding: 0; transition: background .15s, border-color .15s; }
.schalter i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--leise); transition: transform .15s, background .15s; }
.schalter[aria-checked="true"] { background: var(--gruen-weich); border-color: rgba(61, 214, 140, .45); }
.schalter[aria-checked="true"] i { transform: translateX(16px); background: var(--gruen); }
.schalter[disabled] { opacity: .45; cursor: not-allowed; }
.knopf.klein { height: 30px; padding: 0 11px; font-size: 13px; border-radius: 8px; }
.knopf.rund.klein { width: 30px; padding: 0; }
.knopf.klein svg.i { width: 16px; height: 16px; }
.knopf.gemerkt { color: var(--rot); } .knopf.gemerkt svg.i { fill: currentColor; }
.flagge { font-size: 14px; }
code { font: 12px var(--zahlen); background: var(--bg-2); border: 1px solid var(--linie); padding: 1px 5px; border-radius: 5px; color: var(--text); }
.tabelle .nur-klein, .nur-klein { display: none; }
.titel-zelle .chip { display: inline-flex; font-size: 12px; color: var(--text); }
.umschalter.text button { width: auto; padding: 0 12px; font-size: 13px; }

.sn-werkzeug { gap: 8px; }
.sn-ordner { display: flex; gap: 6px; flex-wrap: wrap; }
.sn-board { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; align-items: flex-start; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--linie-2) transparent; }
.sn-spalte { flex: 0 0 316px; background: var(--bg-2); border: 1px solid var(--linie); border-radius: var(--r-gross); scroll-snap-align: start; display: flex; flex-direction: column; max-height: calc(100vh - 230px); min-height: 280px; }
.sn-spalte.aus { opacity: .62; }
.sn-spalte header { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; border-bottom: 1px solid var(--linie); }
.sn-kopf { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sn-kopf b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sn-kopf span { font-size: 12px; color: var(--leise); }
.sn-punkt { width: 9px; height: 9px; border-radius: 50%; background: var(--grau); flex: none; }
.sn-punkt.an { background: var(--gruen); box-shadow: 0 0 0 4px var(--gruen-weich); animation: puls 1.6s infinite; }
.sn-punkt.warte { background: var(--orange); }
.sn-liste { overflow-y: auto; padding: 10px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; scrollbar-color: var(--linie-2) transparent; }
.sn-leer { padding: 28px 12px; text-align: center; color: var(--leise); font-size: 13px; }
.sn-karte { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 10px; border-radius: var(--r); background: var(--flaeche); border: 1px solid var(--linie); position: relative; }
.sn-karte.frisch { border-color: var(--akzent-rand); }
.sn-karte.neu { animation: snNeu 2.4s ease-out; }
.sn-karte.fokus { outline: 2px solid var(--akzent); outline-offset: 2px; }
@keyframes snNeu { 0% { transform: translateY(-10px); opacity: 0; box-shadow: 0 0 0 0 rgba(242, 169, 59, .0); } 12% { transform: none; opacity: 1; box-shadow: 0 0 0 4px rgba(242, 169, 59, .35); } 100% { box-shadow: 0 0 0 0 rgba(242, 169, 59, 0); } }
.sn-foto { display: block; width: 92px; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; background: var(--flaeche-2); }
.sn-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sn-foto span { display: grid; place-items: center; height: 100%; font-size: 22px; }
.sn-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sn-info { font-size: 12px; color: var(--leise); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sn-titel { font-size: 13.5px; font-weight: 550; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sn-preis { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.sn-preis b { font-size: 15px; font-variant-numeric: tabular-nums; }
.sn-preis span { font-size: 12px; color: var(--akzent); font-variant-numeric: tabular-nums; }
.sn-meta { display: flex; gap: 10px; font-size: 12px; color: var(--leise); align-items: center; }
.sn-alter { display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.sn-alter svg.i { width: 13px; height: 13px; }
.sn-karte.frisch .sn-alter { color: var(--akzent); }
.sn-knoepfe { display: flex; gap: 6px; margin-top: auto; padding-top: 4px; }
.sn-knoepfe .primaer { flex: 1; }

.sn-form { max-width: 860px; }
.sn-form label { display: block; font-size: 13px; color: var(--leise); margin: 14px 0 6px; }
.sn-form .eingabe { height: 40px; }
.sn-felder { display: grid; grid-template-columns: 1.3fr 1fr .9fr; gap: 12px; }
.sn-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.sn-chips.klein-chips { margin-top: 6px; }
.sn-laender { display: flex; gap: 6px; flex-wrap: wrap; }
.sn-form label.sn-haken { display: flex; align-items: center; gap: 10px; color: var(--text); margin-top: 16px; cursor: pointer; }
.sn-haken input { width: 18px; height: 18px; accent-color: var(--akzent); }
.sn-aktionen { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.sn-fehler { margin-top: 8px; color: #F7A19A; font-size: 13px; }
.sn-tabelle tbody tr { cursor: default; }
.sn-tabelle td { vertical-align: middle; }
.sn-einrichtung ol code { font-size: 12px; }

@media (max-width: 900px) {
  .tabelle .nur-klein, .nur-klein { display: flex; }
  .sn-werkzeug .pille { order: -1; }
  .sn-board { margin: 0 -16px; padding: 0 16px 8px; scroll-snap-type: x mandatory; scroll-padding: 0 16px; }
  .sn-spalte { flex-basis: calc(100vw - 48px); max-height: calc(100vh - 290px); max-height: calc(100dvh - 290px); }
  .sn-felder { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sn-karte { grid-template-columns: 84px minmax(0, 1fr); }
  .sn-foto { width: 84px; }
  .knopf.klein { height: 34px; } .knopf.rund.klein { width: 34px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
