:root, :root[data-theme="light"] {
  --bg: #f5f6f8;
  --flaeche: #ffffff;
  --flaeche-2: #f1f2f4;
  --linie: #e4e6ea;
  --text: #111318;
  --leise: #687080;
  --leiste: #111318;
  --leiste-text: #c9cdd6;
  --leiste-aktiv: #ffffff;
  --leiste-aktiv-bg: #23262e;
  --primaer: #111318;
  --primaer-text: #ffffff;
  --rot: #e5322b;  --rot-hell: #fdeceb;
  --gruen: #12a150; --gruen-hell: #e4f6ec;
  --gelb: #e39b00;  --gelb-hell: #fff4d6;
  --blau: #2457f5;  --blau-hell: #e8eeff;
  --radius: 12px;
  --seitenleiste: 232px;
  --kopf: 60px;
  font-family: -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
:root[data-theme="dark"] {
  --bg: #0f1013;
  --flaeche: #16181d;
  --flaeche-2: #1f2229;
  --linie: #2a2e37;
  --text: #eceef2;
  --leise: #9aa2b1;
  --leiste: #0a0b0e;
  --leiste-text: #9aa2b1;
  --leiste-aktiv: #ffffff;
  --leiste-aktiv-bg: #1c1f26;
  --primaer: #ffffff;
  --primaer-text: #0f1013;
  --rot-hell: #3a1614; --gruen-hell: #123320; --gelb-hell: #3a2c0c; --blau-hell: #16224a;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); }
body { font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: var(--blau); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -0.01em; }
h1 { font-size: 22px; }
h2 { font-size: 16px; }
h3 { font-size: 15px; }
p { margin: 0; }
.leise { color: var(--leise); }
.klein { font-size: 13px; }
.versteckt { display: none !important; }
.rechts { text-align: right; }

/* ---------- Rahmen ---------- */
.rahmen { display: grid; grid-template-columns: var(--seitenleiste) 1fr; min-height: 100vh; }
.seitenleiste { background: var(--leiste); color: var(--leiste-text); position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; padding: 18px 12px 16px; }
.seitenleiste .marke { display: flex; align-items: center; gap: 10px; padding: 4px 10px 18px; color: #fff; }
.seitenleiste .marke .logo { width: 30px; height: 30px; border-radius: 8px; background: #fff; color: #111; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.seitenleiste .marke strong { font-size: 15px; display: block; line-height: 1.2; }
.seitenleiste .marke span { font-size: 11.5px; opacity: .6; }
.seitenleiste .gruppe { font-size: 11px; text-transform: none; letter-spacing: .02em; opacity: .55; padding: 14px 10px 4px; }
.seitenleiste a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; border-radius: 8px; color: inherit; text-decoration: none; font-size: 14px; }
.seitenleiste a:hover { background: var(--leiste-aktiv-bg); color: #fff; }
.seitenleiste a.aktiv { background: var(--leiste-aktiv-bg); color: var(--leiste-aktiv); font-weight: 600; }
.seitenleiste .zahl { background: var(--rot); color: #fff; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 10px; }
.seitenleiste .fuss { margin-top: auto; padding: 12px 10px 0; font-size: 12px; opacity: .55; }
.hauptbereich { min-width: 0; display: flex; flex-direction: column; }

.kopfzeile { height: var(--kopf); background: var(--flaeche); border-bottom: 1px solid var(--linie); display: flex; align-items: center; gap: 12px; padding: 0 20px; position: sticky; top: 0; z-index: 20; }
.kopfzeile .menue-knopf { display: none; border: 0; background: none; font-size: 22px; padding: 6px; }
.kopfzeile h1 { font-size: 17px; white-space: nowrap; }
.suche-global { flex: 1; max-width: 520px; margin: 0 auto; position: relative; }
.suche-global input { width: 100%; border: 1px solid var(--linie); border-radius: 10px; padding: 9px 14px 9px 38px; background: var(--flaeche-2); font-size: 14px; }
.suche-global input:focus { outline: 2px solid var(--blau); outline-offset: 1px; background: var(--flaeche); }
.suche-global .lupe { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--leise); font-size: 15px; pointer-events: none; }
.suche-treffer { position: absolute; left: 0; right: 0; top: 44px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.14); overflow: hidden; z-index: 30; max-height: 70vh; overflow-y: auto; }
.suche-treffer .kopf { font-size: 12px; color: var(--leise); padding: 8px 14px 2px; }
.suche-treffer a { display: flex; justify-content: space-between; gap: 8px; padding: 9px 14px; text-decoration: none; color: inherit; font-size: 14px; }
.suche-treffer a:hover, .suche-treffer a.markiert { background: var(--flaeche-2); }
.suche-treffer .leer { padding: 16px; text-align: center; color: var(--leise); font-size: 14px; }
.kopfzeile .rechts-bereich { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.symbol-knopf { border: 1px solid var(--linie); background: var(--flaeche); border-radius: 10px; width: 38px; height: 38px; display: grid; place-items: center; font-size: 16px; }
.symbol-knopf:hover { background: var(--flaeche-2); }
.konto-knopf { border: 1px solid var(--linie); background: var(--flaeche); border-radius: 10px; height: 38px; padding: 0 10px 0 4px; display: flex; align-items: center; gap: 8px; font-size: 14px; }
.konto-knopf .avatar { width: 30px; height: 30px; border-radius: 8px; background: var(--primaer); color: var(--primaer-text); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.konto-menue { position: absolute; right: 20px; top: 54px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.14); min-width: 220px; z-index: 30; overflow: hidden; }
.konto-menue .kopf { padding: 12px 14px; border-bottom: 1px solid var(--linie); }
.konto-menue .kopf strong { display: block; }
.konto-menue a, .konto-menue button { display: block; width: 100%; text-align: left; padding: 10px 14px; border: 0; background: none; text-decoration: none; color: inherit; font-size: 14px; }
.konto-menue a:hover, .konto-menue button:hover { background: var(--flaeche-2); }
.notaus-banner { background: var(--rot); color: #fff; font-weight: 600; text-align: center; padding: 8px 16px; font-size: 14px; }
.notaus-banner button { margin-left: 10px; background: #fff; color: var(--rot); border: 0; border-radius: 8px; padding: 4px 10px; font-weight: 600; }

.inhalt { padding: 22px 24px 60px; max-width: 1100px; width: 100%; }
.seitenkopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.seitenkopf p { margin-top: 2px; }
.seitenkopf .aktionen-kopf { display: flex; gap: 8px; flex-wrap: wrap; }
.abschnitt { margin-top: 22px; }
.abschnitt-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.abschnitt-kopf h2 { font-size: 14px; color: var(--leise); font-weight: 600; }
.stapel { display: flex; flex-direction: column; gap: 10px; }
.hilfe { font-size: 13px; color: var(--leise); margin-top: 6px; }
.leer { padding: 28px 18px; text-align: center; color: var(--leise); background: var(--flaeche); border: 1px dashed var(--linie); border-radius: var(--radius); }
.zwei-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Karten, Aufklapper ---------- */
.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 16px 18px; }
.klapp { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; }
.klapp.offen { border-color: var(--text); }
.klapp > .kopf { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 16px; cursor: pointer; min-height: 58px; user-select: none; }
.klapp > .kopf:hover { background: var(--flaeche-2); }
.klapp > .kopf .pfeil { color: var(--leise); font-size: 18px; transition: transform .15s; }
.klapp.offen > .kopf .pfeil { transform: rotate(90deg); }
.klapp > .kopf .titel { font-weight: 600; }
.klapp > .kopf .unter { font-size: 13px; color: var(--leise); margin-top: 2px; }
.klapp > .kopf .wert { font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.klapp > .kopf .rechts-teil { display: flex; align-items: center; gap: 10px; }
.klapp > .koerper { display: none; padding: 6px 16px 16px; border-top: 1px solid var(--linie); }
.klapp.offen > .koerper { display: block; }
.klapp .bild { width: 46px; height: 46px; border-radius: 9px; object-fit: cover; background: var(--flaeche-2); }
.punkt { width: 11px; height: 11px; border-radius: 50%; background: var(--linie); display: inline-block; }
.punkt.rot { background: var(--rot); } .punkt.gelb { background: var(--gelb); } .punkt.gruen { background: var(--gruen); } .punkt.blau { background: var(--blau); }
.aktionen { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.details { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; margin-top: 12px; }
.details .block h4 { margin: 0 0 4px; font-size: 12px; color: var(--leise); font-weight: 600; }
.details .block .text { font-size: 14px; line-height: 1.5; }
.details .voll { grid-column: 1 / -1; }
.tabelle { width: 100%; border-collapse: collapse; font-size: 14px; }
.tabelle td, .tabelle th { padding: 7px 0; border-bottom: 1px solid var(--linie); vertical-align: top; text-align: left; }
.tabelle th { font-size: 12px; color: var(--leise); font-weight: 600; }
.tabelle tr:last-child td { border-bottom: 0; }
.tabelle td.nr { color: var(--leise); font-size: 12.5px; white-space: nowrap; padding-right: 10px; }
.tabelle td.betrag { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.chip { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 7px; background: var(--flaeche-2); color: var(--leise); white-space: nowrap; }
.chip.rot { background: var(--rot-hell); color: var(--rot); font-weight: 600; }
.chip.gruen { background: var(--gruen-hell); color: var(--gruen); }
.chip.gelb { background: var(--gelb-hell); color: var(--gelb); }
.chip.blau { background: var(--blau-hell); color: var(--blau); }

/* ---------- Segmente, Suche, Knöpfe ---------- */
.werkzeuge { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.segmente { display: inline-flex; background: var(--flaeche-2); border: 1px solid var(--linie); border-radius: 10px; padding: 3px; gap: 2px; }
.segmente button { border: 0; background: none; border-radius: 8px; padding: 6px 12px; font-size: 13.5px; color: var(--leise); white-space: nowrap; }
.segmente button.aktiv { background: var(--flaeche); color: var(--text); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.segmente button .n { font-size: 12px; margin-left: 4px; opacity: .8; }
.werkzeuge input[type=search] { flex: 1; min-width: 180px; border: 1px solid var(--linie); border-radius: 10px; padding: 8px 12px; background: var(--flaeche); font-size: 14px; }
.knopf { background: var(--primaer); color: var(--primaer-text); border: 1px solid transparent; border-radius: 10px; padding: 9px 14px; font-weight: 600; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-height: 38px; }
.knopf.zweit { background: var(--flaeche); color: var(--text); border-color: var(--linie); font-weight: 500; }
.knopf.zweit:hover { background: var(--flaeche-2); }
.knopf.gruen { background: var(--gruen); color: #fff; }
.knopf.rot { background: var(--rot); color: #fff; }
.knopf.blau { background: var(--blau); color: #fff; }
.knopf.klein { padding: 6px 11px; min-height: 32px; font-size: 13px; }
.knopf:disabled { opacity: .5; cursor: default; }
.knopf:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--blau); outline-offset: 2px; }
.haken { width: 22px; height: 22px; accent-color: var(--gruen); flex: 0 0 auto; }

/* ---------- Formulare ---------- */
.formular { display: grid; gap: 12px; grid-template-columns: 1fr 1fr 1fr; }
.formular .voll { grid-column: 1 / -1; }
.feld { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--leise); }
.feld input, .feld select, .feld textarea { border: 1px solid var(--linie); border-radius: 9px; padding: 8px 11px; background: var(--flaeche); font-size: 14px; color: var(--text); min-height: 38px; }
.feld textarea { min-height: 80px; resize: vertical; }
.schalter { display: flex; align-items: center; gap: 10px; font-size: 14px; min-height: 38px; }
.schalter input { width: 20px; height: 20px; accent-color: var(--blau); }
.mehr { grid-column: 1 / -1; }
.mehr summary { cursor: pointer; color: var(--blau); font-weight: 600; font-size: 13px; padding: 4px 0; list-style: none; }
.mehr summary::-webkit-details-marker { display: none; }
.mehr summary::before { content: '+ '; }
.mehr[open] summary::before { content: '– '; }
.mehr .formular { margin-top: 10px; }
.hinweis { padding: 10px 14px; border-radius: 10px; background: var(--gelb-hell); color: var(--gelb); font-size: 14px; }
.hinweis.fehler { background: var(--rot-hell); color: var(--rot); }
.hinweis.ok { background: var(--gruen-hell); color: var(--gruen); }

/* ---------- Übersicht ---------- */
.kennzahlen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kennzahl { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; color: inherit; display: block; }
.kennzahl .w { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.kennzahl .n { font-size: 13px; color: var(--leise); margin-top: 4px; }
.kennzahl.warn .w { color: var(--rot); }
.kennzahl.gut .w { color: var(--gruen); }
.zeile { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--linie); text-decoration: none; color: inherit; font-size: 14px; }
.zeile:last-child { border-bottom: 0; }

/* ---------- Fotos, Upload ---------- */
.fotoreihe { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0 4px; }
.fotoreihe img { width: 92px; height: 92px; object-fit: cover; border-radius: 9px; background: var(--flaeche-2); flex: 0 0 auto; cursor: zoom-in; }
.ablage { border: 2px dashed var(--linie); border-radius: 10px; padding: 14px; text-align: center; background: var(--flaeche-2); }
.ablage.aktiv { border-color: var(--blau); background: var(--blau-hell); }
.balken { height: 8px; background: var(--flaeche-2); border-radius: 4px; overflow: hidden; }
.balken span { display: block; height: 100%; background: var(--blau); transition: width .3s; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); z-index: 100; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; }
.lightbox img { max-width: 96vw; max-height: 78vh; border-radius: 8px; }
.lightbox .leiste { display: flex; gap: 8px; align-items: center; color: #fff; }
.lightbox button { background: #fff; color: #111; border: 0; border-radius: 10px; padding: 9px 14px; font-weight: 600; }
.produktwahl { display: flex; flex-direction: column; gap: 4px; max-height: 260px; overflow: auto; border: 1px solid var(--linie); border-radius: 10px; padding: 6px; }
.produktwahl label { display: flex; gap: 10px; align-items: center; font-size: 14px; padding: 6px 8px; border-radius: 8px; }
.produktwahl label:has(input:checked) { background: var(--blau-hell); }
.produktwahl input[type=number] { width: 84px; border: 1px solid var(--linie); border-radius: 8px; padding: 5px 8px; background: var(--flaeche); }

/* ---------- Anmeldung, Meldung ---------- */
.anmeldung { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.anmeldung .karte { width: 100%; max-width: 380px; }
.anmeldung form { display: grid; gap: 12px; margin-top: 14px; }
#meldung { position: fixed; left: 50%; transform: translateX(-50%); bottom: 24px; z-index: 50; max-width: 92%; box-shadow: 0 8px 24px rgba(0,0,0,.2); }

/* ---------- Tablet / Handy ---------- */
.abdunkeln { display: none; }
@media (max-width: 1024px) {
  .rahmen { grid-template-columns: 1fr; }
  .seitenleiste { position: fixed; left: 0; top: 0; bottom: 0; width: var(--seitenleiste); z-index: 40; transform: translateX(-100%); transition: transform .2s; }
  .seitenleiste.offen { transform: none; }
  .abdunkeln.offen { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 39; }
  .kopfzeile .menue-knopf { display: block; }
  .kopfzeile h1 { display: none; }
  .inhalt { padding: 18px 16px 60px; }
  .kennzahlen { grid-template-columns: repeat(2, 1fr); }
  .formular { grid-template-columns: 1fr 1fr; }
  .zwei-spalten { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .kennzahlen, .formular, .details { grid-template-columns: 1fr; }
  .konto-knopf span.name { display: none; }
  .suche-global { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- Cockpit 0.5 ---------- */
.heute-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.heute-kopf .datum { font-size: 13px; color: var(--leise); }
.heute-kopf h1 { font-size: 22px; }
.ziele { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ziel { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 12px 14px; text-decoration: none; color: inherit; display: block; }
.ziel .name { font-size: 12px; color: var(--leise); }
.ziel .werte { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.ziel .ist { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ziel .soll { font-size: 12px; color: var(--leise); }
.ziel .prozent { margin-left: auto; font-size: 12px; font-weight: 600; }
.ziel .balken { margin-top: 8px; height: 6px; }
.ziel.gut .balken span { background: var(--gruen); }
.ziel.knapp .balken span { background: var(--gelb); }
.ziel.weit .balken span { background: var(--rot); }
.ziel.gut .prozent { color: var(--gruen); } .ziel.knapp .prozent { color: var(--gelb); } .ziel.weit .prozent { color: var(--rot); }
.plan { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.plan::-webkit-scrollbar { height: 6px; } .plan::-webkit-scrollbar-thumb { background: var(--linie); border-radius: 3px; }
.plankarte { flex: 0 0 210px; scroll-snap-align: start; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 12px 13px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; min-height: 120px; position: relative; }
.plankarte .zeit { font-size: 12px; color: var(--leise); display: flex; justify-content: space-between; align-items: center; }
.plankarte .titel { font-weight: 600; font-size: 14px; line-height: 1.3; }
.plankarte .rolle { font-size: 12px; color: var(--leise); }
.plankarte .ergebnis { font-size: 12.5px; color: var(--text); margin-top: auto; }
.plankarte.erledigt { border-color: var(--gruen); }
.plankarte.erledigt .zeit::after { content: '✓ erledigt'; color: var(--gruen); font-weight: 600; }
.plankarte.laeuft { border-color: var(--blau); box-shadow: 0 0 0 3px var(--blau-hell); }
.plankarte.laeuft .zeit::after { content: 'läuft'; color: var(--blau); font-weight: 600; }
.plankarte.geplant .zeit::after { content: 'geplant'; }
.plankarte.fehler { border-color: var(--rot); } .plankarte.fehler .zeit::after { content: 'Fehler'; color: var(--rot); font-weight: 600; }
.plankarte.uebersprungen { opacity: .55; } .plankarte.uebersprungen .zeit::after { content: 'übersprungen'; }
.plan-fortschritt { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--leise); }
.plan-fortschritt .balken { flex: 1; height: 6px; }
.puls { width: 9px; height: 9px; border-radius: 50%; background: var(--blau); display: inline-block; box-shadow: 0 0 0 0 var(--blau); animation: puls 1.6s infinite; }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(36,87,245,.5); } 70% { box-shadow: 0 0 0 7px rgba(36,87,245,0); } 100% { box-shadow: 0 0 0 0 rgba(36,87,245,0); } }
.arbeit { display: grid; gap: 8px; }
.arbeit a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: var(--blau-hell); border-radius: 10px; text-decoration: none; color: inherit; font-size: 14px; }
.arbeit a .was { color: var(--leise); font-size: 13px; margin-left: auto; white-space: nowrap; }
.chip.arbeit-chip { background: var(--blau-hell); color: var(--blau); display: inline-flex; align-items: center; gap: 6px; }
.chip.arbeit-chip.du { background: var(--gelb-hell); color: var(--gelb); }
.klapp.in-arbeit { border-color: var(--blau); }
.duheute { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.duheute .karte { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; }
.duheute .karte .haken { margin-top: 2px; }
.duheute .karte .t { font-weight: 600; font-size: 14px; line-height: 1.3; }
.duheute .karte .m { font-size: 12px; color: var(--leise); margin-top: 3px; }
.mini-kennzahlen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mini { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 10px; padding: 10px 12px; text-decoration: none; color: inherit; }
.mini .w { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mini .n { font-size: 12px; color: var(--leise); }
.mini.warn .w { color: var(--rot); }
@media (max-width: 1024px) { .ziele { grid-template-columns: repeat(2, 1fr); } .duheute { grid-template-columns: 1fr 1fr; } .mini-kennzahlen { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .kennzahlen { grid-template-columns: repeat(2, 1fr); } .duheute { grid-template-columns: 1fr; } .plankarte { flex-basis: 190px; } .heute-kopf h1 { font-size: 19px; } }
@media (prefers-reduced-motion: reduce) { .puls { animation: none; } }

/* ---------- KI-Haushalt ---------- */
.haushalt { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 12px 14px; margin-top: 10px; }
.haushalt .kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.haushalt .rest { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.haushalt .rest.warn { color: var(--rot); }
.haushalt .balken.gesamt { margin-top: 8px; height: 6px; }
.haushalt .balken.gesamt span { background: var(--text); }
.haushalt .toepfe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.haushalt .topf { text-decoration: none; color: inherit; }
.haushalt .topf .n { font-size: 12px; color: var(--leise); }
.haushalt .topf .w { font-size: 14px; font-weight: 600; margin-top: 2px; font-variant-numeric: tabular-nums; }
.haushalt .topf .balken { height: 5px; margin-top: 5px; }
@media (max-width: 600px) { .haushalt .toepfe { grid-template-columns: 1fr; } }
