/* Websler Beleg. Navy und Orange wie websler.com, Archivo lokal, mobil zuerst.
   Keine Inline-Styles, keine Fremdquellen (CSP: style-src 'self'); das Skript setzt Werte per CSSOM. */
@font-face { font-family: "Archivo"; src: url("archivo.woff") format("woff"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  --nacht: #0d1a2e; --tief: #091322; --karte: #14243f; --karte-2: #1a2e4d; --karte-3: #24406f;
  --linie: rgba(236, 238, 234, .12); --linie-stark: rgba(236, 238, 234, .26);
  --text: #eceeea; --text-2: #c9d1dd; --leise: #93a1b8;
  --orange: #ff6b1a; --orange-2: #ff8a47; --orange-text: #140b04; --orange-weich: rgba(255, 107, 26, .14);
  --gut: #3ddc84; --gut-weich: rgba(61, 220, 132, .13); --schlecht: #ff7a85; --schlecht-weich: rgba(255, 122, 133, .13);
  --stahl: #7fb0e6; --stahl-weich: rgba(127, 176, 230, .13);
  --gelb: #ffd24d; --flieder: #bdb0ff; --rosa: #ff7fa6;
  --glanz: inset 0 1px 0 rgba(255, 255, 255, .08); --schatten: 0 22px 44px -26px rgba(0, 0, 0, .8);
  --radius: 20px; --radius-klein: 12px;
  --seite: 248px; --kopf: 64px; --tab: 68px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--nacht); }
body {
  margin: 0; color: var(--text); min-height: 100vh; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background: radial-gradient(1000px 560px at 90% -160px, rgba(52, 96, 170, .6), transparent 70%), radial-gradient(760px 520px at -8% 18%, rgba(255, 107, 26, .16), transparent 70%), radial-gradient(700px 500px at 60% 110%, rgba(255, 150, 40, .07), transparent 70%), var(--nacht);
  background-repeat: no-repeat; background-attachment: fixed;
  font: 400 1rem/1.55 "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
[hidden] { display: none !important; }
.nur-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--karte); color: var(--text); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
a { color: var(--orange-2); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
main:focus, h1:focus { outline: none; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.015em; }
h1 { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1.3rem; font-weight: 850; font-stretch: 120%; letter-spacing: -.02em; }
h2 { font-size: 1.15rem; font-weight: 800; font-stretch: 112%; margin-bottom: .35em; }
h3 { font-size: 1rem; font-weight: 750; }
p { margin: 0 0 .9em; max-width: 64ch; }
.leise { color: var(--leise); } .klein { font-size: .875rem; }
.zahl { font-variant-numeric: tabular-nums; }
.gut { color: var(--gut); } .schlecht { color: var(--schlecht); } .orange { color: var(--orange-2); }
.ik { width: 1.3em; height: 1.3em; flex: none; display: block; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
[data-ik] { display: inline-flex; }

/* ---------- Gerüst ---------- */
.app { min-height: 100vh; }
.haupt { min-width: 0; }
.seite { display: none; }
.kopf { position: sticky; top: 0; z-index: 30; height: var(--kopf); display: flex; align-items: center; gap: 12px; padding: 0 16px; background: rgba(13, 26, 46, .96); border-bottom: 1px solid var(--linie); }
.kopfmarke { width: 30px; height: 20px; fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.kopfrechts { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.knopf.kopf-erfassen { display: none; }
main { width: 100%; max-width: 1120px; margin: 0 auto; padding: 20px 16px calc(var(--tab) + 32px + env(safe-area-inset-bottom)); }
.ansicht.neu { animation: ein .38s var(--ease); }
@keyframes ein { from { opacity: 0; transform: translateY(8px); } }

.jahrwahl select { width: auto; appearance: none; background: var(--karte) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' fill='none' stroke='%2393a1b8' stroke-width='1.8' stroke-linecap='round'/></svg>") no-repeat right 12px center / 11px; color: var(--text); border: 1px solid var(--linie-stark); border-radius: 999px; padding: 9px 32px 9px 16px; font: inherit; font-weight: 700; font-stretch: 110%; cursor: pointer; min-height: 40px; }

.etikett { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 650; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--linie); color: var(--leise); white-space: nowrap; }
.leise-etikett { background: var(--karte); }

/* Tab-Leiste unten (Handy) */
.apptabs { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; padding: 0 4px env(safe-area-inset-bottom); background: rgba(9, 19, 34, .98); border-top: 1px solid var(--linie); }
.apptabs button { flex: 1; min-width: 0; min-height: var(--tab); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: none; border: 0; color: var(--leise); font: inherit; font-size: .74rem; font-weight: 650; cursor: pointer; position: relative; -webkit-tap-highlight-color: transparent; transition: color .2s; }
.apptabs button:last-child .ik { stroke-width: 3.4; }
.apptabs button .ik { width: 25px; height: 25px; transition: transform .35s var(--ease); }
.apptabs button:active .ik { transform: scale(.88); }
.apptabs button[aria-current="page"] { color: var(--orange-2); }
.apptabs button[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--orange); animation: tab-ein .35s var(--ease); }
@keyframes tab-ein { from { transform: scaleX(0); } }
.apptabs .mitte .rund-mitte { width: 52px; height: 52px; margin-top: -22px; border-radius: 50%; background: var(--orange); color: var(--orange-text); display: grid; place-items: center; box-shadow: 0 10px 22px -8px rgba(255, 107, 26, .7), 0 0 0 5px rgba(9, 19, 34, .98); transition: transform .2s var(--ease); }
.apptabs .mitte:active .rund-mitte { transform: scale(.92); }
.apptabs .mitte .ik { width: 26px; height: 26px; stroke-width: 2.4; }
.apptabs .mitte[aria-current="page"]::before { display: none; }
.apptabs .mitte { font-size: .74rem; }
.apptabs .mitte .tabtext { margin-top: -2px; }

/* ---------- Bausteine ---------- */
.karte { background: linear-gradient(165deg, #1b3157 0%, var(--karte) 58%); border: 1px solid rgba(236, 238, 234, .16); border-radius: var(--radius); padding: 20px; min-width: 0; box-shadow: var(--glanz), var(--schatten); }
.karte > h2:first-child, .kartenkopf h2 { margin-bottom: 0; }
.kartenkopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.beschriftung { margin: 0 0 6px; font-size: .9rem; font-weight: 600; color: var(--leise); }
.reihe { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.knopf { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: linear-gradient(135deg, #ff7a2e, #ff5f0a); color: var(--orange-text); box-shadow: 0 12px 26px -12px rgba(255, 107, 26, .85); font: inherit; font-weight: 750; font-size: .98rem; cursor: pointer; text-decoration: none; transition: background-color .2s, transform .15s, opacity .2s; -webkit-tap-highlight-color: transparent; }
.knopf:hover:not(:disabled) { background: linear-gradient(135deg, #ff9456, #ff7a2e); }
.knopf:active:not(:disabled) { transform: scale(.97); }
.knopf:disabled { opacity: .4; cursor: default; }
.knopf .ik { width: 1.2em; height: 1.2em; }
.knopf.zweit { background: var(--karte-2); color: var(--text); border: 1px solid var(--linie-stark); box-shadow: none; }
.knopf.zweit:hover:not(:disabled) { background: var(--karte-3); }
.knopf.leise { background: none; color: var(--text-2); border: 1px solid var(--linie); box-shadow: none; }
.knopf.leise:hover:not(:disabled) { background: var(--karte-2); }
.knopf.gefahr { box-shadow: none; background: var(--schlecht-weich); color: var(--schlecht); border: 1px solid rgba(255, 122, 133, .45); }
.knopf.gefahr:hover:not(:disabled) { background: rgba(255, 122, 133, .24); }
.knopf.klein-knopf { min-height: 38px; padding: 0 16px; font-size: .9rem; }
.knopf.winzig { min-height: 34px; padding: 0 14px; font-size: .85rem; }
.rund { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; flex: none; transition: background-color .2s, transform .15s; -webkit-tap-highlight-color: transparent; }
.rund:active { transform: scale(.92); }
.leise-rund { background: none; color: var(--leise); } .leise-rund:hover { background: var(--karte-2); color: var(--text); }
.haupt-rund { background: linear-gradient(135deg, #ff8a47, #ff5f0a); color: var(--orange-text); box-shadow: 0 8px 18px -8px rgba(255, 107, 26, .9); } .haupt-rund:hover:not(:disabled) { background: var(--orange-2); } .haupt-rund:disabled { opacity: .4; cursor: default; }
.haupt-rund .ik { stroke-width: 2.4; }

.pille { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 650; padding: 2px 10px; border-radius: 999px; background: var(--karte-2); color: var(--text-2); white-space: nowrap; line-height: 1.6; }
.pille .ik { width: 13px; height: 13px; stroke-width: 2.4; }
.pille.orange { background: var(--orange-weich); color: var(--orange-2); }
.pille.gut { background: var(--gut-weich); color: var(--gut); }
.pille.schlecht { background: var(--schlecht-weich); color: var(--schlecht); }
.pille.stahl { background: var(--stahl-weich); color: var(--stahl); }

input, select, textarea { font: inherit; color: var(--text); background: var(--tief); border: 1px solid var(--linie-stark); border-radius: var(--radius-klein); padding: 11px 14px; min-height: 46px; width: 100%; transition: border-color .2s, box-shadow .2s; }
input::placeholder, textarea::placeholder { color: var(--leise); opacity: .8; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-weich); }
select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' fill='none' stroke='%2393a1b8' stroke-width='1.8' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; background-size: 11px; padding-right: 38px; cursor: pointer; }
input[type="date"] { color-scheme: dark; }
label.feld { display: block; min-width: 0; }
label.feld > span { display: block; font-size: .82rem; font-weight: 600; color: var(--leise); margin-bottom: 5px; }
.formraster { display: grid; grid-template-columns: 1fr; gap: 14px; }

.meldung { display: flex; gap: 10px; align-items: flex-start; border-radius: var(--radius-klein); padding: 12px 14px; font-size: .94rem; margin: 12px 0 0; border: 1px solid var(--linie); background: var(--karte-2); }
.meldung .ik { margin-top: 2px; width: 1.2em; height: 1.2em; }
.meldung.fehler { border-color: rgba(255, 122, 133, .5); background: var(--schlecht-weich); color: #ffc9ce; }
.meldung.warnung { border-color: rgba(255, 107, 26, .5); background: var(--orange-weich); color: #ffd0b3; }
.meldung.info { border-color: rgba(127, 176, 230, .4); background: var(--stahl-weich); color: #cfe3f8; }
.meldung.gut { border-color: rgba(61, 220, 132, .4); background: var(--gut-weich); color: #c3f5d9; }

.leer { text-align: center; padding: 34px 16px; color: var(--leise); }
.leer .leer-ik { width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: var(--karte-2); color: var(--orange-2); }
.leer .leer-ik .ik { width: 26px; height: 26px; }
.leer h3 { color: var(--text); margin-bottom: 4px; }
.leer p { margin: 0 auto 14px; }
.leer.gut-leer .leer-ik { background: var(--gut-weich); color: var(--gut); }

.skel { border-radius: var(--radius-klein); background: linear-gradient(100deg, var(--karte) 30%, var(--karte-2) 50%, var(--karte) 70%); background-size: 220% 100%; animation: schimmer 1.4s linear infinite; }
@keyframes schimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.skel-zeile { height: 58px; margin-bottom: 8px; } .skel-gross { height: 190px; border-radius: var(--radius); }

.details { margin-top: 16px; border-top: 1px solid var(--linie); padding-top: 12px; }
.details summary { cursor: pointer; font-weight: 650; color: var(--text-2); min-height: 32px; }
.details[open] summary { margin-bottom: 8px; }

/* ---------- Start ---------- */
.start-raster { display: grid; gap: 16px; grid-template-columns: 1fr; }
.hero { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px 20px 26px; border: 1px solid rgba(255, 138, 71, .45);
  background: radial-gradient(520px 260px at 100% 0, rgba(255, 140, 50, .34), transparent 70%), linear-gradient(150deg, #243f6e 0%, #162a4b 55%, #101f3a 100%); box-shadow: var(--glanz), 0 30px 60px -30px rgba(255, 107, 26, .5); }
.hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 100%; background: url("welle-band.svg") no-repeat center bottom / cover; opacity: .36; pointer-events: none; }
.hero > * { position: relative; }
.hero.geschafft { border-color: rgba(61, 220, 132, .55); background: radial-gradient(520px 260px at 100% 0, rgba(61, 220, 132, .26), transparent 70%), linear-gradient(150deg, #1f4466 0%, #15304b 55%, #10233a 100%); }
.hero-titel { margin: 0; font-size: clamp(2.1rem, 9vw, 3.4rem); font-weight: 850; font-stretch: 125%; letter-spacing: -.03em; line-height: 1.02; }
.hero-sub { margin: 12px 0 0; color: var(--text-2); font-size: 1.02rem; max-width: 52ch; }
.hero-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-text { min-width: 0; width: 100%; }
.knopf.gross { min-height: 60px; padding: 0 30px; font-size: 1.08rem; font-weight: 800; box-shadow: 0 18px 40px -14px rgba(255, 107, 26, .95), 0 0 0 1px rgba(255, 190, 120, .5) inset; width: 100%; }
.knopf.gross .ik { width: 1.4em; height: 1.4em; stroke-width: 2.6; }
.knopf.gross::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; left: -120px; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent); transform: skewX(-18deg); animation: glanz 6s 2s ease-in-out infinite; }
@keyframes glanz { 0%, 70% { left: -120px; } 100% { left: 120%; } }
.hero .knopf.zweit { min-height: 60px; width: 100%; background: rgba(9, 19, 34, .45); }
.ring2 { position: relative; width: 150px; height: 150px; flex: none; }
.ring2 svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; filter: drop-shadow(0 0 14px rgba(255, 140, 40, .55)); }
.ring2 circle { fill: none; stroke-width: 11; }
.ring2 .r-bahn { stroke: rgba(9, 19, 34, .7); }
.ring2 .r-wert { stroke-linecap: round; transition: stroke-dashoffset 1.3s var(--ease); }
.ring2.voll svg { filter: drop-shadow(0 0 16px rgba(61, 220, 132, .7)); }
.ring-mitte { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.ring-mitte b { font-size: 2.7rem; font-weight: 850; font-stretch: 122%; letter-spacing: -.04em; }
.ring-mitte span { margin-top: 5px; font-size: .82rem; font-weight: 700; color: var(--text-2); }
.ring2.klein { width: 84px; height: 84px; } .ring2.klein circle { stroke-width: 13; } .ring2.klein .ring-mitte b { font-size: 1.5rem; } .ring2.klein .ring-mitte span { font-size: .62rem; margin-top: 2px; }

.aufgaben { border: 2px solid transparent; background: linear-gradient(165deg, #1d3560, var(--karte) 60%) padding-box, linear-gradient(135deg, #ff6b1a, #ffb27a 50%, #ff6b1a) border-box; box-shadow: var(--glanz), 0 26px 50px -28px rgba(255, 107, 26, .55); }
.aufg-kopf { margin-bottom: 14px; }
.aufg-kopf h2 { font-size: 1.5rem; margin: 0 0 3px; }
.aufg-zaehler { margin: 0; font-weight: 700; color: var(--orange-2); }
.aufg-balken { height: 8px; margin-top: 12px; border-radius: 999px; background: rgba(9, 19, 34, .7); overflow: hidden; }
.aufg-balken i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--gelb), var(--orange)); box-shadow: 0 0 12px rgba(255, 140, 40, .8); transition: width .7s var(--ease); }
.aufgaben-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.aufgabe { position: relative; display: grid; grid-template-columns: auto auto minmax(0, 1fr); grid-template-areas: "haken kat text" "aktion aktion aktion"; align-items: center; gap: 8px 12px; padding: 14px; border-radius: 16px; background: rgba(9, 19, 34, .5); border: 1px solid var(--linie); transition: background-color .4s, border-color .4s, opacity .4s; }
.aufgabe .haken { grid-area: haken; width: 30px; height: 30px; border-radius: 50%; border: 2.5px solid var(--orange-2); display: grid; place-items: center; color: #052313; transition: background-color .3s, border-color .3s, transform .3s var(--ease); }
.aufgabe:not(.erledigt) .haken { animation: puls 2.4s ease-in-out infinite; }
.aufgabe:not(.erledigt) ~ .aufgabe .haken { animation: none; }
@keyframes puls { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 138, 71, .55); } 60% { box-shadow: 0 0 0 9px rgba(255, 138, 71, 0); } }
.aufgabe .kat { grid-area: kat; }
.aufg-text { grid-area: text; min-width: 0; padding-right: 30px; }
.aufg-text b { display: block; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.aufg-text span { display: block; font-size: .85rem; color: var(--leise); margin-top: 2px; overflow-wrap: anywhere; }
.aufg-aktion { grid-area: aktion; display: flex; flex-wrap: wrap; gap: 8px; padding-left: 42px; }
.aufg-fertig { font-weight: 700; color: var(--gut); }
.aufgabe.erledigt { background: var(--gut-weich); border-color: rgba(61, 220, 132, .5); }
.aufgabe.erledigt .haken { background: var(--gut); border-color: var(--gut); transform: scale(1.08); }
.aufgabe.erledigt .haken .ik { width: 17px; height: 17px; stroke-width: 3.2; }
.aufgabe.erledigt .aufg-text b { color: var(--text-2); }
.aufg-feier { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 12px; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, rgba(255, 210, 77, .22), rgba(255, 107, 26, .18)); border: 1px solid rgba(255, 190, 80, .55); animation: ein .4s var(--ease); }
.aufg-feier .fertig-haken { background: linear-gradient(135deg, var(--gelb), var(--orange)); color: #3a1a00; }
.aufg-feier .text { flex: 1 1 160px; } .aufg-feier b { display: block; } .aufg-feier span { color: var(--text-2); font-size: .9rem; }

.drei { display: grid; grid-template-columns: 1fr; gap: 14px; }
.kachel3 { position: relative; overflow: hidden; padding: 18px 20px 20px; }
.kachel3::after { content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; background: var(--ton); opacity: .22; filter: blur(8px); pointer-events: none; }
.kachel3.ein { --ton: #3ddc84; background: linear-gradient(160deg, rgba(61, 220, 132, .24), var(--karte) 62%); border-color: rgba(61, 220, 132, .4); }
.kachel3.aus { --ton: #ff8a47; background: linear-gradient(160deg, rgba(255, 138, 71, .26), var(--karte) 62%); border-color: rgba(255, 138, 71, .45); }
.kachel3.erg { --ton: #7fb0e6; background: linear-gradient(160deg, rgba(127, 176, 230, .26), var(--karte) 62%); border-color: rgba(127, 176, 230, .45); }
.kachel3 .kachel-ik { position: relative; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 12px; background: var(--ton); color: #0b1424; box-shadow: 0 10px 22px -8px var(--ton); }
.kachel3 .kachel-ik .ik { width: 22px; height: 22px; stroke-width: 2.4; }
.kachel3 .beschriftung { position: relative; margin: 0 0 4px; font-size: 1rem; font-weight: 700; color: var(--text); }
.kachel-zahl { position: relative; font-size: clamp(1.9rem, 8vw, 2.5rem); font-weight: 850; font-stretch: 120%; letter-spacing: -.03em; line-height: 1.05; margin: 0; }
.kachel-satz { position: relative; margin: 8px 0 0; font-size: .9rem; color: var(--text-2); max-width: 30ch; }

.status { padding-top: 22px; }
.status-kopf { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.status-ik { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--gut); color: #052313; box-shadow: 0 0 26px -2px rgba(61, 220, 132, .75); }
.status-ik .ik { width: 26px; height: 26px; stroke-width: 3; }
.status.warn { border-color: rgba(255, 138, 71, .6); } .status.warn .status-ik { background: var(--orange); color: var(--orange-text); box-shadow: 0 0 26px -2px rgba(255, 107, 26, .8); }
.status.rot { border-color: rgba(255, 122, 133, .65); } .status.rot .status-ik { background: var(--schlecht); color: #3a0a10; box-shadow: 0 0 26px -2px rgba(255, 122, 133, .8); }
.status-kopf h2 { font-size: 1.3rem; margin: 0 0 2px; }
.status-zahl { margin: 0; font-weight: 750; color: var(--text-2); }
.meter-hinweis { margin: -14px 0 18px; }
.kat { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; flex: none; background: var(--k-bg, rgba(255, 138, 71, .18)); color: var(--k-fg, var(--orange-2)); }
.kat .ik { width: 20px; height: 20px; stroke-width: 2.1; }
.kat.t-gruen { --k-bg: rgba(61, 220, 132, .18); --k-fg: var(--gut); } .kat.t-blau { --k-bg: rgba(127, 176, 230, .2); --k-fg: var(--stahl); }
.kat.t-violett { --k-bg: rgba(189, 176, 255, .2); --k-fg: var(--flieder); } .kat.t-rosa { --k-bg: rgba(255, 127, 166, .18); --k-fg: var(--rosa); }
.kat.t-gelb { --k-bg: rgba(255, 210, 77, .2); --k-fg: var(--gelb); } .kat.t-grau { --k-bg: rgba(147, 161, 184, .18); --k-fg: var(--leise); }
.meter { margin: 0 0 22px; }
.meter:last-of-type { margin-bottom: 8px; }
.meter-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 9px; }
.meter-kopf b { font-weight: 700; font-size: .95rem; }
.meter-kopf .prozent { white-space: nowrap; font-weight: 800; font-stretch: 115%; font-size: 1.1rem; }
.spur { position: relative; height: 14px; border-radius: 999px; background: var(--tief); border: 1px solid var(--linie); overflow: hidden; }
.spur i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px; background: var(--gut); transition: width 1s var(--ease); }
.meter.warn .spur i { background: var(--orange); } .meter.rot .spur i { background: var(--schlecht); }
.meter.warn .prozent { color: var(--orange-2); } .meter.rot .prozent { color: var(--schlecht); }
.marke80 { position: absolute; left: 80%; top: 0; bottom: 0; width: 2px; background: var(--linie-stark); }
.meter-fuss { display: flex; justify-content: space-between; gap: 12px; margin-top: 7px; font-size: .85rem; color: var(--leise); }

.liste { list-style: none; margin: 0; padding: 0; }
.liste li + li { border-top: 1px solid var(--linie); }
.liste-knopf { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 4px; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; border-radius: 10px; transition: background-color .15s; }
.liste-knopf:hover { background: rgba(236, 238, 234, .04); }
.liste-text { flex: 1; min-width: 0; }
.liste-text b { display: block; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.liste-text span { display: block; font-size: .85rem; color: var(--leise); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.liste-betrag { font-weight: 700; white-space: nowrap; }
.zahlzaehler { min-width: 28px; height: 28px; padding: 0 9px; border-radius: 999px; display: inline-grid; place-items: center; font-size: .85rem; font-weight: 800; background: var(--orange-weich); color: var(--orange-2); }
.zahlzaehler.gut { background: var(--gut-weich); color: var(--gut); }
.mehr-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; padding: 6px 2px; background: none; border: 0; color: var(--orange-2); font: inherit; font-weight: 650; cursor: pointer; }
.mehr-link .ik { width: 1em; height: 1em; }

/* ---------- Erfassen (Chat) ---------- */
.chat { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; min-height: calc(100vh - var(--kopf) - var(--tab) - 56px); }
.faden > * { scroll-margin-bottom: 150px; }
.faden { flex: 1; display: flex; flex-direction: column; gap: 12px; padding-bottom: 18px; }
.schritte { list-style: none; display: flex; gap: 8px; margin: 0 0 18px; padding: 0; }
.schritte li { flex: 1; display: flex; align-items: center; gap: 9px; padding: 8px 12px 8px 8px; border-radius: 999px; background: rgba(9, 19, 34, .5); border: 1px solid var(--linie); color: var(--leise); font-weight: 650; font-size: .9rem; transition: all .35s var(--ease); min-width: 0; }
.schritte b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--karte-3); color: var(--text); font-size: .85rem; }
.schritte li.aktiv { color: var(--text); border-color: rgba(255, 138, 71, .7); background: linear-gradient(135deg, rgba(255, 107, 26, .26), rgba(255, 107, 26, .08)); box-shadow: 0 10px 24px -14px rgba(255, 107, 26, .9); }
.schritte li.aktiv b { background: linear-gradient(135deg, #ff8a47, #ff5f0a); color: var(--orange-text); }
.schritte li.fertig b { background: var(--gut); color: #052313; }
.schritte li.fertig { color: var(--text-2); }
.wege { display: grid; gap: 12px; margin-top: 20px; }
.weg { display: flex; align-items: center; gap: 16px; width: 100%; padding: 16px 18px; text-align: left; font: inherit; color: var(--text); cursor: pointer; border-radius: 20px; border: 1px solid var(--linie-stark); background: linear-gradient(165deg, #1d3560, var(--karte)); box-shadow: var(--glanz); transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; -webkit-tap-highlight-color: transparent; }
.weg:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: var(--glanz), 0 18px 34px -18px rgba(255, 107, 26, .7); }
.weg:active { transform: scale(.98); }
.weg-ik { width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; flex: none; background: rgba(255, 138, 71, .2); color: var(--orange-2); }
.weg-ik .ik { width: 27px; height: 27px; stroke-width: 2.1; }
.weg-text { flex: 1; min-width: 0; } .weg-text b { display: block; font-size: 1.12rem; font-weight: 800; font-stretch: 108%; } .weg-text span { display: block; color: var(--text-2); font-size: .9rem; margin-top: 2px; }
.weg-pfeil { color: var(--leise); } .weg-pfeil .ik { width: 22px; height: 22px; }
.weg.gross-weg { border: 2px solid transparent; background: linear-gradient(165deg, #2a4474, #1a2f55) padding-box, linear-gradient(135deg, #ff6b1a, #ffb27a 50%, #ff6b1a) border-box; box-shadow: var(--glanz), 0 22px 44px -22px rgba(255, 107, 26, .7); }
.weg.gross-weg .weg-ik { background: linear-gradient(135deg, #ff8a47, #ff5f0a); color: var(--orange-text); box-shadow: 0 10px 22px -8px rgba(255, 107, 26, .9); }
.beispiel-kopf { margin: 22px 0 0; }
.start-hinweis { text-align: left; padding: 8px 2px 8px; }
.start-hinweis h2 { font-size: clamp(1.5rem, 6vw, 2.1rem); font-weight: 850; font-stretch: 120%; letter-spacing: -.025em; margin-bottom: .4em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { font: inherit; font-size: .9rem; font-weight: 600; min-height: 38px; padding: 0 15px; border-radius: 999px; background: var(--karte); border: 1px solid var(--linie-stark); color: var(--text-2); cursor: pointer; text-align: left; transition: background-color .2s, border-color .2s, color .2s; }
.chip:hover { background: var(--karte-2); border-color: var(--orange); color: var(--text); }
.blase { max-width: 88%; padding: 11px 16px; border-radius: 20px; white-space: pre-wrap; overflow-wrap: anywhere; animation: ein .3s var(--ease); }
.blase.marvin { align-self: flex-end; background: var(--orange); color: var(--orange-text); font-weight: 560; border-bottom-right-radius: 6px; }
.blase.assistent { align-self: flex-start; background: var(--karte-2); border: 1px solid var(--linie); border-bottom-left-radius: 6px; }
.anhang-pille { align-self: flex-end; display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; color: var(--leise); margin-top: -6px; }
.anhang-pille .ik { width: 1.1em; height: 1.1em; }
.tippt { align-self: flex-start; display: inline-flex; gap: 5px; padding: 14px 18px; border-radius: 20px; border-bottom-left-radius: 6px; background: var(--karte-2); border: 1px solid var(--linie); }
.tippt i { width: 7px; height: 7px; border-radius: 50%; background: var(--leise); animation: tippt 1.1s infinite ease-in-out; }
.tippt i:nth-child(2) { animation-delay: .15s; } .tippt i:nth-child(3) { animation-delay: .3s; }
@keyframes tippt { 0%, 70%, 100% { opacity: .35; transform: translateY(0); } 35% { opacity: 1; transform: translateY(-4px); } }

.vorschlag { align-self: stretch; border: 2px solid transparent; background: linear-gradient(165deg, #1d3560, var(--karte) 60%) padding-box, linear-gradient(135deg, #ff6b1a, #ffb27a 50%, #ff6b1a) border-box; border-radius: var(--radius); padding: 20px; animation: ein .35s var(--ease); box-shadow: var(--glanz), 0 26px 50px -28px rgba(255, 107, 26, .6); }
.vorschlag-frage { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-weight: 700; color: var(--orange-2); } .vorschlag-frage .ik { width: 1.2em; height: 1.2em; }
.vorschlag-kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.vorschlag-partner { font-size: 1.2rem; font-weight: 800; font-stretch: 112%; line-height: 1.2; overflow-wrap: anywhere; }
.vorschlag-betrag { font-size: clamp(1.7rem, 7vw, 2.3rem); font-weight: 850; font-stretch: 122%; letter-spacing: -.03em; line-height: 1.05; margin: 8px 0 0; }
.felder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--linie); }
.felder > div { min-width: 0; }
.felder dt { font-size: .8rem; color: var(--leise); font-weight: 600; margin: 0 0 2px; }
.felder dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.felder .voll { grid-column: 1 / -1; }
.fragen-block { margin-top: 16px; padding: 14px; border-radius: var(--radius-klein); background: var(--stahl-weich); border: 1px solid rgba(127, 176, 230, .35); }
.fragen-block h3 { font-size: .95rem; margin-bottom: 8px; color: #cfe3f8; }
.fragen-block .chip { cursor: default; background: var(--karte); border-color: rgba(127, 176, 230, .4); color: var(--text); }
.fragen-block .chip:hover { background: var(--karte); border-color: rgba(127, 176, 230, .4); }
.fragen-block .antworten { margin-top: 10px; }
.fragen-block .antworten .chip:hover { border-color: var(--orange); cursor: pointer; background: var(--karte-2); }
.aktionen { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.aktionen .knopf.haupt { flex: 1 1 180px; min-height: 54px; font-size: 1.05rem; }
.schalterzeile { display: flex; gap: 12px; align-items: center; margin-top: 12px; cursor: pointer; }
.fertig-karte { align-self: stretch; display: flex; gap: 14px; align-items: center; background: linear-gradient(135deg, rgba(61, 220, 132, .26), rgba(61, 220, 132, .08)); border: 1px solid rgba(61, 220, 132, .55); box-shadow: 0 0 40px -14px rgba(61, 220, 132, .6); border-radius: var(--radius); padding: 16px 18px; animation: ein .35s var(--ease); }
.fertig-haken { width: 52px; height: 52px; border-radius: 50%; background: var(--gut); box-shadow: 0 0 26px -2px rgba(61, 220, 132, .8); color: #052313; display: grid; place-items: center; flex: none; animation: pop .5s var(--ease); }
.fertig-haken .ik { width: 24px; height: 24px; stroke-width: 3; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.12); } }
.fertig-karte .text { flex: 1; min-width: 0; }
.fertig-karte b { display: block; }

.eingabe { position: sticky; bottom: calc(var(--tab) + env(safe-area-inset-bottom) + 6px); background: var(--nacht); padding: 8px 0 4px; z-index: 5; }
.eingabereihe { display: flex; align-items: flex-end; gap: 6px; background: var(--karte); border: 1px solid var(--linie-stark); border-radius: 28px; padding: 5px 5px 5px 8px; transition: border-color .2s, box-shadow .2s; }
.eingabereihe:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-weich); }
.eingabereihe textarea { height: 44px; overflow-y: auto; border: 0; background: none; box-shadow: none; min-height: 44px; max-height: 160px; padding: 11px 6px; resize: none; line-height: 1.4; }
.eingabereihe textarea:focus-visible { box-shadow: none; }
.anhangzeile { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 6px 8px; }
.anhang-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 14px; border-radius: 999px; background: var(--karte-2); border: 1px solid var(--linie-stark); font-size: .88rem; max-width: 100%; }
.anhang-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 52vw; }
.anhang-chip button { width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--karte-3); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.anhang-chip button .ik { width: 14px; height: 14px; stroke-width: 2.6; }

/* ---------- Buchungen ---------- */
.schnell { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 12px; scrollbar-width: none; }
.schnell::-webkit-scrollbar { display: none; }
.schnellknopf { flex: none; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--linie-stark); background: var(--karte); color: var(--text-2); font: inherit; font-weight: 700; cursor: pointer; transition: all .2s; }
.schnellknopf:hover { border-color: var(--orange); color: var(--text); }
.schnellknopf.aktiv { background: linear-gradient(135deg, #ff7a2e, #ff5f0a); border-color: transparent; color: var(--orange-text); box-shadow: 0 10px 22px -10px rgba(255, 107, 26, .9); }
.filter { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 8px; }
.suche { position: relative; display: block; }
.suche input { padding-left: 44px; border-radius: 999px; }
.suchik { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--leise); pointer-events: none; }
.filterwahl { position: relative; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; align-items: center; scrollbar-width: none; }
.filterwahl::-webkit-scrollbar { display: none; }
.filterwahl label:not(.schalter) { flex: none; }
.filterwahl select { width: auto; min-height: 40px; border-radius: 999px; padding: 6px 36px 6px 16px; font-size: .9rem; font-weight: 600; }
.schalter { position: relative; display: inline-flex; align-items: center; gap: 9px; flex: none; font-size: .9rem; font-weight: 600; color: var(--text-2); cursor: pointer; padding: 0 6px; min-height: 40px; }
.schalter input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.schieber { width: 40px; height: 24px; border-radius: 999px; background: var(--karte-3); position: relative; transition: background-color .2s; flex: none; }
.schieber::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--text); transition: transform .25s var(--ease); }
.schalter input:checked + .schieber { background: var(--orange); }
.schalter input:checked + .schieber::after { transform: translateX(16px); background: var(--orange-text); }
.schalter input:focus-visible + .schieber { outline: 3px solid var(--orange); outline-offset: 3px; }
.zusammen { margin: 6px 2px 10px; font-size: .9rem; }
.monat { margin: 18px 4px 6px; font-size: .9rem; font-weight: 700; font-stretch: 112%; color: var(--text-2); display: flex; justify-content: space-between; }
.monat span { font-weight: 500; color: var(--leise); font-stretch: 100%; }
.buchblock { background: linear-gradient(165deg, #1b3157, var(--karte) 60%); border: 1px solid rgba(236, 238, 234, .16); border-radius: var(--radius); overflow: hidden; box-shadow: var(--glanz), var(--schatten); }
.buchzeile { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "kat haupt betrag" "kat marken marken"; gap: 2px 14px; align-items: center; padding: 13px 16px; background: none; border: 0; border-top: 1px solid var(--linie); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background-color .15s; }
.buchzeile:first-child { border-top: 0; }
.buchzeile:hover { background: rgba(236, 238, 234, .04); }
.buchzeile .kat { grid-area: kat; align-self: start; }
.bz-haupt { grid-area: haupt; min-width: 0; }
.bz-haupt b { display: block; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bz-haupt span { display: block; font-size: .85rem; color: var(--leise); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bz-betrag { grid-area: betrag; text-align: right; font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bz-betrag.einnahme { color: var(--gut); }
.bz-marken { grid-area: marken; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 5px; }
.bz-datum { display: none; }
.buchzeile.storno .bz-haupt b, .buchzeile.storno .bz-betrag { text-decoration: line-through; color: var(--leise); }
.buchzeile.storno .bz-haupt span { text-decoration: line-through; }
.buchkopf { display: none; }

/* ---------- Blatt (Seitenpanel / Bottom-Sheet) ---------- */
.blatt-huelle { position: fixed; inset: 0; z-index: 60; }
.blatt-grund { position: absolute; inset: 0; background: rgba(5, 11, 21, .72); animation: aus-ein .25s ease; }
@keyframes aus-ein { from { opacity: 0; } }
.blatt { position: absolute; left: 0; right: 0; bottom: 0; max-height: 92vh; display: flex; flex-direction: column; background: var(--karte); border: 1px solid var(--linie-stark); border-bottom: 0; border-radius: 26px 26px 0 0; animation: hoch .38s var(--ease); outline: none; }
@keyframes hoch { from { transform: translateY(40px); opacity: 0; } }
.blatt-griff { width: 44px; height: 5px; border-radius: 3px; background: var(--linie-stark); margin: 10px auto 2px; flex: none; }
.blatt-inhalt { overflow-x: hidden; overflow-y: auto; padding: 14px 20px calc(24px + env(safe-area-inset-bottom)); overscroll-behavior: contain; }
.blatt-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.blatt-kopf > div:first-child { min-width: 0; }
.blatt-kopf p { overflow-wrap: anywhere; margin: .3em 0 0; }
.blatt-kopf h2 { font-size: 1.3rem; overflow-wrap: anywhere; }
.schliessen { width: 40px; height: 40px; border-radius: 50%; background: var(--karte-2); border: 0; color: var(--text); display: grid; place-items: center; cursor: pointer; flex: none; }
.schliessen:hover { background: var(--karte-3); }
.blatt-betrag { font-size: clamp(2rem, 8vw, 2.7rem); font-weight: 850; font-stretch: 122%; letter-spacing: -.03em; line-height: 1.05; margin: 14px 0 6px; }
.blatt-betrag.einnahme { color: var(--gut); } .blatt-betrag.storno { text-decoration: line-through; color: var(--leise); }
.pillenreihe { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.abschnitt { margin-top: 22px; }
.abschnitt > h3 { margin-bottom: 10px; font-size: .95rem; color: var(--text-2); }
.beleg-vorschau { display: block; width: 100%; max-height: 300px; object-fit: contain; border-radius: var(--radius-klein); background: var(--tief); border: 1px solid var(--linie); }
.zeitlinie { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--linie); }
.zeitlinie li { position: relative; padding: 0 0 14px 18px; font-size: .9rem; }
.zeitlinie li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--karte-3); border: 2px solid var(--karte); }
.zeitlinie time { display: block; color: var(--leise); font-size: .8rem; }
.zeitlinie .alt { color: var(--leise); text-decoration: line-through; }

/* ---------- Belege ---------- */
.fortschritt-karte { display: flex; gap: 18px; align-items: center; margin-bottom: 14px; border-color: rgba(255, 138, 71, .45); background: radial-gradient(420px 200px at 100% 0, rgba(255, 140, 50, .26), transparent 70%), linear-gradient(150deg, #243f6e, #162a4b 70%); }
.fortschritt-karte h2 { font-size: 1.5rem; } .fortschritt-karte p:last-child { margin-bottom: 0; }
.ring { width: 72px; height: 72px; flex: none; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; } .ring .bahn { stroke: var(--tief); } .ring .wert { stroke: var(--orange); stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease); }
.beleg-karte { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 16px; margin-bottom: 10px; background: linear-gradient(165deg, #1b3157, var(--karte) 60%); box-shadow: var(--glanz); border: 1px solid var(--linie); border-radius: var(--radius); transition: opacity .4s, transform .4s var(--ease); }
.beleg-karte.erledigt { opacity: .55; border-color: rgba(61, 220, 132, .45); }
.beleg-karte .liste-text { flex: 1 1 120px; min-width: 0; }
.beleg-aktionen { display: flex; gap: 8px; flex-wrap: wrap; flex: 1 1 100%; padding-left: 54px; }
.beleg-betrag { font-weight: 750; white-space: nowrap; }

/* ---------- Abschluss ---------- */
.hero-ab { margin-bottom: 16px; }
.uebertrag { margin-bottom: 16px; border: 2px solid transparent; background: linear-gradient(165deg, #1d3560, var(--karte) 60%) padding-box, linear-gradient(135deg, #ff6b1a, #ffb27a 50%, #ff6b1a) border-box; box-shadow: var(--glanz), 0 26px 50px -28px rgba(255, 107, 26, .55); }
.uebertrag-kopf { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 8px; }
.uebertrag-kopf h2 { font-size: 1.4rem; }
.uebertrag-ik { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, #ff8a47, #ff5f0a); color: var(--orange-text); box-shadow: 0 10px 22px -8px rgba(255, 107, 26, .9); }
.uz-gruppe { margin-top: 18px; } .uz-gruppe > h3 { font-size: 1rem; color: var(--orange-2); margin-bottom: 4px; }
.uz { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "text betrag" "text knopf"; align-items: center; gap: 6px 14px; padding: 13px 0; border-top: 1px solid var(--linie); }
.uz-gruppe > h3 + .uz { border-top: 0; }
.uz-text { grid-area: text; min-width: 0; } .uz-text b { display: block; font-weight: 700; line-height: 1.3; } .uz-text span { display: block; font-size: .85rem; color: var(--leise); margin-top: 2px; }
.uz-betrag { grid-area: betrag; text-align: right; font-weight: 800; font-size: 1.15rem; white-space: nowrap; }
.uz .knopf { grid-area: knopf; justify-self: end; }
.uz.stark .uz-betrag { font-size: 1.7rem; font-stretch: 118%; } .uz.stark .uz-text b { font-size: 1.15rem; }
.uz-gruppe.ergebnis { margin-top: 20px; padding: 4px 16px 6px; border-radius: 16px; background: rgba(9, 19, 34, .5); border: 1px solid var(--linie-stark); }
.uz-gruppe.ergebnis .uz { border-top: 0; }
.fach { margin-top: 16px; } .fach > summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; font-weight: 750; font-size: 1.05rem; min-height: 40px; list-style: none; }
.fach > summary::-webkit-details-marker { display: none; } .fach[open] > summary .ik { transform: rotate(180deg); } .fach[open] > summary { margin-bottom: 16px; }
.privat-note { margin-top: 16px; }
.abschluss-raster { display: grid; gap: 22px; grid-template-columns: 1fr; }
.kopfzahl { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; }
.kopfzahl .gross { font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 850; font-stretch: 122%; letter-spacing: -.03em; line-height: 1.05; }
.buch-tab { width: 100%; border-collapse: collapse; }
.buch-tab td { padding: 10px 0; border-top: 1px solid var(--linie); vertical-align: top; }
.buch-tab tr:first-child td { border-top: 0; }
.buch-tab td.z { text-align: right; white-space: nowrap; font-weight: 650; font-variant-numeric: tabular-nums; padding-left: 14px; }
.buch-tab tr.summe td { border-top: 1px solid var(--linie-stark); font-weight: 800; padding-top: 12px; }
.buch-tab .anteil { display: block; height: 4px; border-radius: 2px; background: var(--karte-3); margin-top: 7px; }
.buch-tab .anteil i { display: block; height: 100%; width: 0; border-radius: 2px; background: var(--orange); transition: width .8s var(--ease); }
.afa { padding: 16px 0; border-top: 1px solid var(--linie); }
.afa:first-of-type { border-top: 0; padding-top: 4px; }
.afa-kopf { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.afa .spur { height: 10px; margin: 12px 0 6px; } .afa .spur i { background: var(--orange); }
.plan { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.plan span { font-size: .8rem; padding: 3px 10px; border-radius: 999px; background: var(--karte-2); color: var(--text-2); }
.plan span.jetzt { background: var(--orange-weich); color: var(--orange-2); font-weight: 700; }
.export-reihe { display: grid; gap: 10px; grid-template-columns: 1fr; margin-top: 14px; }
.hinweisleiste { margin-top: 18px; padding: 12px 16px; border-radius: var(--radius-klein); border: 1px dashed var(--linie-stark); color: var(--leise); font-size: .9rem; }

/* ---------- Import / Einstellungen ---------- */
.ablage { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 34px 18px; margin-top: 14px; border-radius: var(--radius); border: 2px dashed var(--linie-stark); cursor: pointer; color: var(--text-2); transition: border-color .2s, background-color .2s; }
.ablage:hover, .ablage.zieht { border-color: var(--orange); background: var(--orange-weich); }
.ablage.hat { border-style: solid; border-color: rgba(61, 220, 132, .55); background: var(--gut-weich); }
.ablage-ik { width: 52px; height: 52px; border-radius: 50%; background: var(--karte-2); color: var(--orange-2); display: grid; place-items: center; }
.ablage-ik .ik { width: 26px; height: 26px; }
.zahlen3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.zahlen3 > div { padding: 14px 12px; border-radius: var(--radius-klein); background: var(--karte-2); text-align: center; }
.zahlen3 b { display: block; font-size: 1.8rem; font-weight: 850; font-stretch: 120%; line-height: 1.1; }
.zahlen3 span { font-size: .82rem; color: var(--leise); }
.einst-reihe { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--linie); }
.einst-reihe:first-of-type { border-top: 0; }
.einst-reihe span:first-child { color: var(--leise); } .einst-reihe span:last-child { font-weight: 650; text-align: right; }
.einst-gitter { display: grid; gap: 14px; grid-template-columns: 1fr; }

/* ---------- Mehr-Menü, Toasts ---------- */
.menueliste { display: grid; gap: 8px; margin-top: 14px; }
.menueknopf { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 0 16px; border-radius: var(--radius-klein); background: var(--karte-2); border: 1px solid var(--linie); color: var(--text); font: inherit; font-weight: 650; cursor: pointer; text-align: left; }
.menueknopf .ik { color: var(--orange-2); }
.toasts { position: fixed; z-index: 90; left: 12px; right: 12px; top: calc(var(--kopf) + 10px); display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--text); color: var(--nacht); font-weight: 650; box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .7); animation: hoch .35s var(--ease); }
.toast .ik { color: #1a8a4b; stroke-width: 2.6; }
.toast.fehler .ik { color: #c0303d; }

@media (max-width: 430px) { #modusKlein { display: none; } .kopf { padding: 0 14px; gap: 10px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .knopf.gross::after { display: none; }
}
@media (hover: none) { .nur-handy { display: grid; } }
@media (hover: hover) { .nur-handy { display: none; } }

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .beleg-aktionen { flex: none; justify-content: flex-end; }
  .formraster { grid-template-columns: 1fr 1fr; }
  .formraster .voll { grid-column: 1 / -1; }
  .felder { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .export-reihe { grid-template-columns: 1fr 1fr; }
  .einst-gitter { grid-template-columns: 1fr 1fr; }
}

/* ---------- PC: Seitenleiste links ---------- */
@media (min-width: 900px) {
  .app { display: grid; grid-template-columns: var(--seite) minmax(0, 1fr); }
  .seite { display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; padding: 22px 16px 20px; background: var(--tief); border-right: 1px solid var(--linie); }
  .marke { display: flex; align-items: center; gap: 11px; padding: 4px 10px 22px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.2rem; font-stretch: 122%; letter-spacing: -.02em; }
  .marke svg { width: 36px; height: 22px; fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
  .marke span { white-space: nowrap; }
  .marke small { font-weight: 300; font-stretch: 80%; color: var(--leise); font-size: 1.1rem; letter-spacing: 0; }
  .seitennav { display: flex; flex-direction: column; gap: 3px; }
  .seitennav button { display: flex; align-items: center; gap: 13px; width: 100%; min-height: 46px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--leise); font: inherit; font-weight: 650; text-align: left; cursor: pointer; transition: color .2s, background-color .2s; }
  .seitennav button:hover { color: var(--text); background: var(--karte); }
  .seitennav button[aria-current="page"] { color: var(--orange-2); background: var(--orange-weich); }
  .seitennav .trenner { height: 1px; background: var(--linie); margin: 10px 14px; }
  .seitenfuss { margin-top: auto; padding: 0 10px; }
  .seitenfuss .etikett { margin-bottom: 10px; }
  .seitenfuss p { margin: 0; }
  .apptabs, .kopfmarke { display: none; }
  .kopf { height: 76px; padding: 0 36px; }
  h1 { font-size: 1.7rem; overflow: visible; }
  .knopf.kopf-erfassen { display: inline-flex; }
  #modusKlein { display: none; }
  main { padding: 28px 36px 64px; }
  .start-raster { grid-template-columns: repeat(12, 1fr); gap: 20px; }
  .hero { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 36px; padding: 36px 44px; min-height: 270px; }
  .hero-text { width: auto; flex: 1; }
  .hero-sub { font-size: 1.1rem; }
  .hero-titel { font-size: clamp(2.6rem, 4.4vw, 3.9rem); }
  .ring2 { width: 190px; height: 190px; } .ring-mitte b { font-size: 3.5rem; } .ring-mitte span { font-size: .95rem; }
  .knopf.gross, .hero .knopf.zweit { width: auto; }
  .hero { grid-row: 1; } #kAufgaben { grid-column: 1 / span 7; grid-row: 2; } #kKlein { grid-column: 8 / -1; grid-row: 2; align-self: start; }
  .drei { grid-column: 1 / -1; grid-row: 3; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .kachel3 { padding: 24px 26px 26px; } .kachel-zahl { font-size: clamp(2rem, 3.2vw, 2.8rem); }
  #kLetzte { grid-column: 1 / -1; grid-row: 4; }
  .hero-ab { grid-column: auto; grid-row: auto; }
  .beleg-aktionen { padding-left: 0; }
  .uz { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "text betrag knopf"; gap: 6px 20px; }
  .karte { padding: 26px; }
  .chat { min-height: calc(100vh - 76px - 120px); }
  .eingabe { bottom: 14px; }
  .toasts { top: 88px; left: var(--seite); }
  .blatt-huelle { display: flex; justify-content: flex-end; }
  .blatt { position: relative; width: min(560px, 100vw); height: 100vh; max-height: none; border-radius: 28px 0 0 28px; border-bottom: 1px solid var(--linie-stark); animation: seite-ein .4s var(--ease); }
  @keyframes seite-ein { from { transform: translateX(40px); opacity: 0; } }
  .blatt-griff { display: none; }
  .blatt-inhalt { padding: 28px 30px 32px; }
  .buchkopf { grid-template-columns: 84px 40px minmax(0, 1fr) minmax(150px, 220px) 120px; }
  .buchzeile { grid-template-columns: 84px 40px minmax(0, 1fr) minmax(150px, 220px) 120px; }
  .buchkopf { display: grid; gap: 14px; padding: 0 16px 8px; font-size: .8rem; font-weight: 600; color: var(--leise); }
  .buchkopf span:last-child { text-align: right; }
  .buchzeile { grid-template-areas: "datum kat haupt marken betrag"; gap: 14px; padding: 14px 16px; }
  .buchkopf span:nth-child(2) { grid-column: 3; } .buchkopf span:nth-child(3) { grid-column: 4; } .buchkopf span:nth-child(4) { grid-column: 5; }
  .bz-datum { display: block; grid-area: datum; color: var(--leise); font-size: .9rem; font-variant-numeric: tabular-nums; }
  .bz-marken { margin-top: 0; justify-content: flex-start; }
  .abschluss-raster { grid-template-columns: 1fr 1fr; gap: 30px; }
  .abschluss-raster .voll { grid-column: 1 / -1; }
  .filter { grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); align-items: center; gap: 14px; }
  .filterwahl { flex-wrap: wrap; overflow: visible; }
}
@media (min-width: 1400px) { main { max-width: 1180px; } }

/* ---------- Konfetti ---------- */
.konfetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 95; pointer-events: none; }

/* ---------------------------------------------------------------- Fragen an die KI (mit Kontext) */
.frage-knopf .ik { width: 1.15em; height: 1.15em; }
.knopf.frage-knopf.nur-ik { width: 42px; min-height: 42px; padding: 0; gap: 0; }
.knopf.frage-knopf.nur-ik .ik { width: 1.3em; height: 1.3em; }
.uz-knoepfe { grid-area: knopf; justify-self: end; display: flex; align-items: center; gap: 8px; }
.status > .reihe { margin-top: 2px; }
.kontext-karte { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; padding: 8px 8px 8px 12px; border-radius: 18px; background: linear-gradient(165deg, #1d3560, var(--karte) 70%); border: 1px solid rgba(255, 138, 71, .6); box-shadow: var(--glanz); animation: ein .3s var(--ease); }
.kontext-ik { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--orange-weich); color: var(--orange-2); }
.kontext-ik .ik { width: 20px; height: 20px; }
.kontext-text { flex: 1; min-width: 0; line-height: 1.3; }
.kontext-text span { display: block; font-size: .76rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; color: var(--orange-2); }
.kontext-text b { display: block; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kontext-karte button { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--karte-3); color: var(--text); display: grid; place-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .2s, transform .15s; }
.kontext-karte button:hover { background: var(--karte-2); }
.kontext-karte button:active { transform: scale(.92); }
.kontext-karte button .ik { width: 17px; height: 17px; stroke-width: 2.6; }
.antwort-aktionen { align-self: flex-start; display: flex; flex-wrap: wrap; gap: 8px; max-width: 94%; margin-top: -2px; animation: ein .3s var(--ease); }
.antwort-hinweis { align-self: flex-start; max-width: 88%; margin: -4px 0 0 6px; font-size: .85rem; color: var(--leise); }
.start-hinweis .mehr-link { margin-top: 16px; }
.start-hinweis .mehr-link .ik { width: 1.15em; height: 1.15em; }
@media (hover: none) { .knopf.frage-knopf.winzig, .knopf.frage-knopf.klein-knopf { min-height: 42px; } }
.faden.frage-faden > * { scroll-margin-bottom: 235px; }

/* ---------------------------------------------------------------- Sparen, Abo-Check, Tarife */
:root { --g0: #bdb0ff; --g1: #7fb0e6; --g2: #4fd1c5; --g3: #3ddc84; --g4: #ffd24d; --g5: #ff8a47; --g6: #ff7fa6; --g7: #93a1b8; --tuerkis: #4fd1c5; }
.kat.t-tuerkis { --k-bg: rgba(79, 209, 197, .18); --k-fg: var(--tuerkis); }
.kat.t-orange { --k-bg: rgba(255, 138, 71, .18); --k-fg: var(--orange-2); }
.kat.klein { width: 32px; height: 32px; border-radius: 10px; } .kat.klein .ik { width: 16px; height: 16px; }
.pille.gelb { background: rgba(255, 210, 77, .16); color: var(--gelb); }
.tarif-etikett.plus { color: var(--gelb); border-color: rgba(255, 210, 77, .4); background: rgba(255, 210, 77, .1); }
.tarif-etikett.vorschau { color: var(--orange-2); border-color: rgba(255, 138, 71, .6); background: var(--orange-weich); }
.seitenfuss .tarif-etikett { margin-bottom: 8px; }
.mehr-link.inline { margin: 0 0 0 2px; padding: 0; vertical-align: baseline; }

/* Start: Spar-Karte */
.spar-karte { position: relative; overflow: hidden; border: 1px solid rgba(255, 210, 77, .5); background: radial-gradient(360px 220px at 100% 0, rgba(255, 190, 60, .3), transparent 70%), linear-gradient(160deg, #26436f 0%, #162a4b 62%, #101f3a 100%); box-shadow: var(--glanz), 0 26px 50px -28px rgba(255, 190, 60, .5); }
.spar-karte > * { position: relative; }
.spar-kopf { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.spar-kopf .beschriftung { margin: 0; color: var(--text-2); font-weight: 700; }
.spar-ik { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, var(--gelb), var(--orange)); color: #3a1a00; box-shadow: 0 10px 24px -8px rgba(255, 150, 40, .9); }
.spar-ik .ik { width: 24px; height: 24px; stroke-width: 2.3; }
.spar-vor, .spar-nach { margin: 0; color: var(--text-2); font-weight: 650; font-size: 1.02rem; }
.spar-zahl { margin: 2px 0 0; font-size: clamp(2.6rem, 11vw, 3.4rem); font-weight: 850; font-stretch: 125%; letter-spacing: -.035em; line-height: 1.02; background: linear-gradient(135deg, #ffe596, #ff9a4d 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spar-titel { font-size: 1.4rem; margin-bottom: 6px; }
.spar-teile { margin: 10px 0 0; }
.gespart-leiste { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 10px 14px; border-radius: 16px; background: rgba(9, 19, 34, .5); border: 1px solid var(--linie); }
.gespart-leiste .gespart-ik { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--karte-3); color: var(--text-2); }
.gespart-leiste .gespart-ik .ik { width: 18px; height: 18px; stroke-width: 2.4; }
.gespart-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.gespart-text b { font-weight: 750; } .gespart-text span, .gespart-text small { font-size: .85rem; color: var(--leise); }
.gespart-text small { font-weight: 650; letter-spacing: .02em; }
.gespart-leiste.an { background: linear-gradient(135deg, rgba(61, 220, 132, .24), rgba(61, 220, 132, .08)); border-color: rgba(61, 220, 132, .55); box-shadow: 0 0 34px -14px rgba(61, 220, 132, .7); }
.gespart-leiste.an .gespart-ik { background: var(--gut); color: #052313; box-shadow: 0 0 20px -2px rgba(61, 220, 132, .8); }
.gespart-leiste.an .gespart-text b { color: #c3f5d9; }
.spar-karte .reihe { margin-top: 16px; }

/* Sparen: Kopfkarte */
.spar-hero { gap: 22px; }
.spar-hero .hero-titel { font-size: clamp(2.8rem, 12vw, 4.4rem); background: linear-gradient(135deg, #ffe596, #ff9a4d 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spar-hero.geschafft .hero-titel { background: none; color: var(--text); }
.spar-hero .hero-titel.hero-satz { font-size: clamp(1.9rem, 7vw, 2.7rem); line-height: 1.08; max-width: 18ch; }
.spar-hero .spar-vor { margin-bottom: 2px; font-size: 1.1rem; } .spar-hero .spar-nach { font-size: 1.1rem; margin-top: 2px; }
.spar-hero .hero-sub { margin-top: 10px; }
.spar-hero .hero-knoepfe { margin-top: 18px; }
.spar-hero .hero-knoepfe .knopf { min-height: 52px; }
.spar-seite { display: grid; gap: 12px; width: 100%; }
.spar-seite .gespart-leiste { margin: 0; padding: 14px 18px; background: rgba(9, 19, 34, .55); }
.spar-seite .gespart-leiste.an { background: linear-gradient(135deg, rgba(61, 220, 132, .26), rgba(9, 19, 34, .5)); }
.gespart-leiste.gross .gespart-text b { font-size: 1.45rem; font-weight: 850; font-stretch: 115%; letter-spacing: -.02em; }
.spar-schloss { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; background: rgba(9, 19, 34, .55); border: 2px dashed var(--linie-stark); color: var(--orange-2); }
.spar-schloss .ik { width: 48px; height: 48px; stroke-width: 1.8; }
#sparenInhalt > .schnell { margin-top: 18px; }
#sparTabInhalt { display: grid; gap: 16px; }
#sparTabInhalt > .hinweisleiste { margin-top: 2px; }
#sparTabInhalt > .fach { margin-top: 0; }

/* Gesperrt (Gratis) */
.sperre { border: 2px solid transparent; background: linear-gradient(165deg, #1d3560, var(--karte) 60%) padding-box, linear-gradient(135deg, rgba(255, 210, 77, .8), rgba(255, 107, 26, .8)) border-box; }
.sperre-kopf { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.sperre-kopf h2 { margin: 6px 0 0; font-size: 1.4rem; }
.sperre-ik { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex: none; background: var(--orange-weich); color: var(--orange-2); }
.sperre-ik .ik { width: 26px; height: 26px; }
.sperre-liste { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.sperre-liste li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); }
.sperre-liste .ik { color: var(--gut); margin-top: 3px; width: 1.1em; height: 1.1em; stroke-width: 2.8; }
.platzhalter { margin-top: 18px; display: grid; gap: 8px; filter: blur(1.5px); opacity: .55; user-select: none; }
.platz-zeile { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(9, 19, 34, .5); border: 1px solid var(--linie); }
.platz-kreis { width: 36px; height: 36px; border-radius: 12px; background: var(--karte-3); flex: none; }
.platz-balken { flex: 1; height: 12px; border-radius: 6px; background: var(--karte-3); }
.platz-zahl { width: 70px; height: 14px; border-radius: 6px; background: var(--karte-3); }

/* Auffälligkeiten */
.auff-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.auff-zeile { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ik text" "aktion aktion"; gap: 10px 14px; align-items: start; padding: 14px; border-radius: 16px; background: rgba(9, 19, 34, .5); border: 1px solid var(--linie); }
.auff-zeile.still { opacity: .65; }
.auff-ik { grid-area: ik; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; }
.auff-ik .ik { width: 20px; height: 20px; stroke-width: 2.3; }
.auff-ik.rot { background: var(--schlecht-weich); color: var(--schlecht); } .auff-ik.gelb { background: rgba(255, 210, 77, .16); color: var(--gelb); }
.auff-text { grid-area: text; min-width: 0; } .auff-text b { display: block; line-height: 1.3; overflow-wrap: anywhere; } .auff-text > span { display: block; font-size: .88rem; color: var(--text-2); margin-top: 3px; }
.auff-aktion { grid-area: aktion; display: flex; flex-wrap: wrap; gap: 8px; padding-left: 54px; }
.klein-chips { margin-top: 10px; } .klein-chips .chip { min-height: 34px; font-size: .84rem; padding: 0 12px; }

/* Abo-Liste */
.abo-block { background: rgba(9, 19, 34, .38); border: 1px solid var(--linie); border-radius: 18px; overflow: hidden; }
.abo-zeile { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "kat haupt betrag" "kat pillen pillen"; gap: 3px 14px; align-items: center; padding: 13px 16px; background: none; border: 0; border-top: 1px solid var(--linie); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background-color .15s; }
.abo-zeile:first-child { border-top: 0; } .abo-zeile:hover { background: rgba(236, 238, 234, .05); }
.abo-zeile .kat { grid-area: kat; align-self: start; }
.abo-haupt { grid-area: haupt; min-width: 0; } .abo-haupt b { display: block; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.abo-haupt span { display: block; font-size: .85rem; color: var(--leise); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.abo-betrag { grid-area: betrag; text-align: right; display: flex; flex-direction: column; line-height: 1.25; white-space: nowrap; } .abo-betrag b { font-weight: 800; font-size: 1.05rem; } .abo-betrag span { font-size: .78rem; color: var(--leise); }
.abo-pillen { grid-area: pillen; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 3px; } .abo-pillen:empty { display: none; }
.abo-zeile.still .abo-haupt b, .abo-zeile.still .abo-betrag b { color: var(--text-2); font-weight: 650; }

/* Abo-Blatt */
.blatt-betrag .pro { font-size: 1rem; font-weight: 600; color: var(--leise); font-stretch: 100%; letter-spacing: 0; }
.meldung.anstieg { align-items: flex-start; } .anstieg-text b { display: block; margin-bottom: 2px; } .anstieg-text > span { display: block; color: #ffd9dc; }
.anstieg-text .reihe { margin-top: 10px; }
.mini-balken { width: 100%; max-width: 420px; height: auto; display: block; }
.mini-balken .mb { fill: var(--karte-3); } .mini-balken .mb.hoch { fill: var(--orange); } .mini-balken .mb-text { fill: var(--leise); font-size: 8px; }
.status-wahl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.status-knopf { display: flex; align-items: center; gap: 9px; min-height: 52px; padding: 0 14px; border-radius: 16px; font: inherit; font-weight: 700; color: var(--text-2); text-align: left; cursor: pointer; background: var(--karte-2); border: 1.5px solid var(--linie-stark); transition: background-color .2s, border-color .2s, color .2s, transform .15s; }
.status-knopf:hover { border-color: var(--orange); color: var(--text); } .status-knopf:active { transform: scale(.97); }
.status-knopf .ik { width: 1.25em; height: 1.25em; }
.status-knopf.aktiv { color: var(--text); }
.status-knopf.s-behalten.aktiv { background: var(--stahl-weich); border-color: var(--stahl); } .status-knopf.s-pruefen.aktiv { background: rgba(255, 210, 77, .14); border-color: var(--gelb); }
.status-knopf.s-kuendigen_geplant.aktiv { background: var(--orange-weich); border-color: var(--orange); } .status-knopf.s-gekuendigt.aktiv { background: var(--gut-weich); border-color: var(--gut); }
.status-hinweis { margin: 10px 2px 0; font-size: .9rem; color: var(--text-2); min-height: 1.4em; }
.wachform { margin-top: 6px; } .waechter .chips { margin-top: 10px; }
.alt-zone { margin-top: 12px; display: grid; gap: 10px; } .alt-zusammen { color: var(--text-2); margin: 0; }
.tipp { display: flex; gap: 14px; padding: 14px; border-radius: 16px; background: linear-gradient(165deg, #1d3560, var(--karte-2) 70%); border: 1px solid var(--linie-stark); }
.tipp-ik { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; flex: none; background: rgba(189, 176, 255, .2); color: var(--flieder); } .tipp-ik .ik { width: 20px; height: 20px; }
.tipp-text { min-width: 0; } .tipp-text b { display: block; margin-bottom: 3px; } .tipp-text p { margin: 0 0 8px; color: var(--text-2); font-size: .94rem; }
.abo-verwalten { margin-top: 22px; } .abo-verwalten .formraster, .abo-verwalten .reihe { margin-top: 12px; }
.regel-liste { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.regel { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 12px; padding: 12px; border-radius: 14px; background: rgba(9, 19, 34, .5); border: 1px solid var(--linie); align-items: start; } .regel.aus { opacity: .5; }
.regel-text { min-width: 0; } .regel-text b { display: block; } .regel-text code { display: block; margin: 2px 0; font-size: .8rem; color: var(--orange-2); overflow-wrap: anywhere; font-family: ui-monospace, Consolas, monospace; } .regel-text span { display: block; font-size: .82rem; color: var(--leise); }
.regel-aktion { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }

/* Ausgaben-Überblick */
.diagramm { margin: 4px -4px 0; }
.balken-svg { width: 100%; height: auto; display: block; overflow: visible; }
.balken-svg .gitter { stroke: var(--linie); stroke-width: 1; stroke-dasharray: 3 5; }
.balken-svg .achse { fill: var(--leise); font-size: 10.5px; font-weight: 600; } .balken-svg .achse.mon { font-size: 11px; }
.balken-svg .wert { fill: var(--text-2); font-size: 10.5px; font-weight: 750; }
.balken-svg .treffer { fill: transparent; cursor: pointer; }
.balken-svg .seg { transition: opacity .2s, filter .2s; }
.balken-svg .mbalken { cursor: pointer; outline: none; }
.balken-svg:has(.gewaehlt) .mbalken:not(.gewaehlt) .seg { opacity: .5; } .balken-svg .mbalken:hover .seg, .balken-svg .mbalken:focus-visible .seg { opacity: 1; filter: brightness(1.15); }
.balken-svg .mbalken:focus-visible .treffer { stroke: var(--orange); stroke-width: 2; rx: 8; }
.balken-svg .gewaehlt .achse.mon { fill: var(--orange-2); font-weight: 850; } .balken-svg .gewaehlt .wert { fill: var(--text); }
.seg.g0, .sw.g0, .gz-spur i.g0 { fill: var(--g0); background: var(--g0); } .seg.g1, .sw.g1, .gz-spur i.g1 { fill: var(--g1); background: var(--g1); } .seg.g2, .sw.g2, .gz-spur i.g2 { fill: var(--g2); background: var(--g2); }
.seg.g3, .sw.g3, .gz-spur i.g3 { fill: var(--g3); background: var(--g3); } .seg.g4, .sw.g4, .gz-spur i.g4 { fill: var(--g4); background: var(--g4); } .seg.g5, .sw.g5, .gz-spur i.g5 { fill: var(--g5); background: var(--g5); }
.seg.g6, .sw.g6, .gz-spur i.g6 { fill: var(--g6); background: var(--g6); } .seg.g7, .sw.g7, .gz-spur i.g7 { fill: var(--g7); background: var(--g7); }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 8px; vertical-align: -1px; flex: none; }
.legende { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .85rem; color: var(--text-2); }
.legende .sw { margin-right: 6px; }
.monat-detail { margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: rgba(9, 19, 34, .5); border: 1px solid var(--linie); }
.md-kopf { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; margin-bottom: 8px; } .md-kopf b:last-child { font-size: 1.3rem; font-stretch: 112%; }
.md-zeile { display: flex; align-items: center; padding: 7px 0; border-top: 1px solid var(--linie); } .md-zeile span { flex: 1; color: var(--text-2); } .md-zeile b { font-weight: 700; }
.anschaffung { margin: 12px 2px 0; }
.ausg-raster { display: grid; gap: 16px; grid-template-columns: 1fr; }
.vergleich { border-color: rgba(127, 176, 230, .45); background: linear-gradient(160deg, rgba(127, 176, 230, .24), var(--karte) 64%); }
.vergleich.mehr { border-color: rgba(255, 138, 71, .55); background: linear-gradient(160deg, rgba(255, 138, 71, .24), var(--karte) 64%); } .vergleich.weniger { border-color: rgba(61, 220, 132, .5); background: linear-gradient(160deg, rgba(61, 220, 132, .22), var(--karte) 64%); }
.vg-zahl { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; } .vg-zahl b { font-size: clamp(2.2rem, 9vw, 3rem); font-weight: 850; font-stretch: 122%; letter-spacing: -.03em; line-height: 1; }
.vg-ik { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--stahl); color: #0b1424; } .vergleich.mehr .vg-ik { background: var(--orange); } .vergleich.weniger .vg-ik { background: var(--gut); }
.vg-ik .ik { width: 24px; height: 24px; stroke-width: 2.6; }
.vg-text { margin: 0; font-size: 1.02rem; color: var(--text); }
.gz { padding: 10px 0; border-top: 1px solid var(--linie); } .kartenkopf + .gz { border-top: 0; padding-top: 0; }
.gz-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 650; margin-bottom: 7px; }
.gz-spur { height: 8px; border-radius: 999px; background: var(--tief); overflow: hidden; margin-bottom: 5px; }
.gz-spur i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--orange); transition: width .9s var(--ease); }
.tz { display: grid; grid-template-columns: 22px auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--linie); } .kartenkopf + .tz { border-top: 0; padding-top: 0; }
.tz-nr { font-weight: 850; font-stretch: 120%; color: var(--orange-2); font-size: 1.1rem; text-align: center; }
.tz-text { min-width: 0; } .tz-kopf { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; } .tz-kopf b:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tz .gz-spur { margin-bottom: 4px; }

/* Steuer-Rücklage */
.steuer { border: 2px solid transparent; background: linear-gradient(165deg, #1d3560, var(--karte) 60%) padding-box, linear-gradient(135deg, #7fb0e6, #4fd1c5 55%, #7fb0e6) border-box; }
.steuer.nichts { background: linear-gradient(165deg, #1b4a5c, var(--karte) 62%) padding-box, linear-gradient(135deg, #3ddc84, #4fd1c5 55%, #3ddc84) border-box; box-shadow: var(--glanz), 0 26px 50px -28px rgba(61, 220, 132, .45); }
.steuer-titel { font-size: clamp(1.7rem, 7vw, 2.4rem); font-weight: 850; font-stretch: 120%; letter-spacing: -.025em; line-height: 1.08; margin-top: 2px; }
.steuer-ik { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; flex: none; background: var(--stahl); color: #0b1424; box-shadow: 0 10px 24px -8px rgba(127, 176, 230, .8); }
.steuer.nichts .steuer-ik { background: var(--gut); box-shadow: 0 0 26px -2px rgba(61, 220, 132, .7); } .steuer-ik .ik { width: 28px; height: 28px; stroke-width: 2.6; }
.steuer-text { color: var(--text-2); font-size: 1.04rem; max-width: 56ch; }
.steuer-balken { margin: 16px 0 6px; } .steuer .zahlen3 { margin-top: 20px; }
.prozent-wahl { margin-top: 22px; padding: 16px; border-radius: 16px; background: rgba(9, 19, 34, .5); border: 1px solid var(--linie); } .prozent-wahl .meter-kopf { margin-bottom: 4px; }
.prozent-wahl input[type="range"] { appearance: none; -webkit-appearance: none; width: 100%; min-height: 34px; padding: 0; background: none; border: 0; cursor: pointer; }
.prozent-wahl input[type="range"]::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--stahl), var(--orange)); }
.prozent-wahl input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -9px; border-radius: 50%; background: var(--text); border: 4px solid var(--orange); box-shadow: 0 6px 14px -4px rgba(0, 0, 0, .7); }
.prozent-wahl input[type="range"]::-moz-range-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--stahl), var(--orange)); }
.prozent-wahl input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--text); border: 4px solid var(--orange); }
.steuer-hinweis { margin-top: 16px; }

/* Tarife */
.tarife { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 4px; }
.tarif { position: relative; padding: 20px; border-radius: 20px; background: rgba(9, 19, 34, .5); border: 1.5px solid var(--linie-stark); }
.tarif.plus { background: radial-gradient(300px 160px at 100% 0, rgba(255, 190, 60, .22), transparent 70%), linear-gradient(165deg, #22406e, #162a4b 70%); border-color: rgba(255, 210, 77, .5); }
.tarif.aktuell { border-color: var(--gut); box-shadow: 0 0 36px -14px rgba(61, 220, 132, .6); }
.tarif-kopf { display: flex; justify-content: space-between; align-items: center; gap: 10px; } .tarif-kopf h3 { font-size: 1.4rem; font-weight: 850; font-stretch: 118%; }
.tarif-preis { margin: 8px 0 14px; } .tarif-preis b { font-size: 2.3rem; font-weight: 850; font-stretch: 122%; letter-spacing: -.03em; } .tarif-preis span { color: var(--leise); }
.tarif-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.tarif-liste li { display: flex; gap: 10px; align-items: flex-start; } .tarif-liste li .ik { margin-top: 3px; width: 1.05em; height: 1.05em; stroke-width: 2.8; color: var(--gut); }
.tarif-liste li.nein { color: var(--leise); } .tarif-liste li.nein .ik { color: var(--leise); stroke-width: 2.2; }
.websler-hinweis { display: flex; gap: 14px; align-items: center; margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(135deg, rgba(255, 210, 77, .18), rgba(255, 107, 26, .12)); border: 1px solid rgba(255, 190, 80, .5); }
.websler-ik { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, var(--gelb), var(--orange)); color: #3a1a00; } .websler-ik .ik { width: 20px; height: 20px; }
.websler-hinweis b { display: block; } .websler-hinweis span:not(.websler-ik) { color: var(--text-2); font-size: .92rem; }
.chat-limit { margin-top: 14px; } .chat-limit .spur i { background: var(--orange); }
.vorschau-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--linie-stark); } .vorschau-zeile p { flex: 1 1 100%; margin: 0; }
.limit-pille { margin: 8px 0 0; }

@media (min-width: 640px) {
  .tarife { grid-template-columns: 1fr 1fr; }
  .status-wahl { grid-template-columns: repeat(4, 1fr); }
  .status-knopf { flex-direction: column; justify-content: center; text-align: center; min-height: 76px; gap: 5px; font-size: .88rem; padding: 8px 6px; }
  .auff-zeile { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ik text aktion"; } .auff-aktion { padding-left: 0; align-self: center; }
  .abo-zeile { grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "kat haupt pillen betrag"; gap: 3px 16px; } .abo-pillen { margin-top: 0; justify-content: flex-end; }
}
@media (min-width: 900px) {
  .start-raster #kAufgaben { grid-row: 2 / span 2; }
  .start-raster #kSparen { grid-column: 8 / -1; grid-row: 2; align-self: start; }
  .start-raster #kKlein { grid-row: 3; align-self: start; }
  .start-raster .drei { grid-row: 4; } .start-raster #kLetzte { grid-row: 5; }
  .spar-hero { gap: 36px; }
  .spar-hero .hero-text { flex: 1 1 0; }
  .spar-seite { width: 300px; flex: none; }
  .spar-hero .spar-zahl { font-size: clamp(3rem, 5vw, 4.8rem); }
  .ausg-raster { grid-template-columns: 1fr 1fr; align-items: start; }
  .ausg-raster .vergleich { grid-column: 1 / -1; }
  .ausg-raster .vergleich { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 4px 28px; align-items: center; } .ausg-raster .vergleich .kartenkopf { grid-column: 1 / -1; margin-bottom: 4px; } .vg-zahl { margin: 0; }
  .tarife { gap: 18px; }
}

.vg-zahl b { white-space: nowrap; }
.mini-balken + p { margin-top: 8px; }

/* =====================================================================
   Websler Finanzen: Navigation, Übersicht "Dein Geld", Verträge, Budgets, Erfolge
   ===================================================================== */
.slogan { margin: 0 0 8px; color: var(--text-2); font-weight: 600; line-height: 1.3; }
.nav-kopf { margin: 0; padding: 14px 14px 6px; font-size: .78rem; font-weight: 600; color: var(--leise); }
.seitenmehr { display: flex; flex-direction: column; gap: 3px; margin-top: auto; padding-bottom: 14px; }
.seitenmehr button { display: flex; align-items: center; gap: 13px; width: 100%; min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--leise); font: inherit; font-size: .92rem; font-weight: 600; text-align: left; cursor: pointer; }
.seitenmehr button:hover { color: var(--text); background: var(--karte); }
.seitenmehr button[aria-current="page"] { color: var(--orange-2); background: var(--orange-weich); }
.seitenmehr button .ik { width: 20px; height: 20px; }
.seitenfuss { margin-top: 0; }
.seitennav .nav-spar { color: var(--gelb); font-weight: 750; }
.seitennav .nav-spar[aria-current="page"] { color: #2a1a02; background: linear-gradient(135deg, #ffe596, #ffa24f); }
.seitennav .nav-plus { color: var(--orange-text); background: var(--orange); margin: 4px 0; font-weight: 800; }
.seitennav .nav-plus:hover { background: var(--orange-2); color: var(--orange-text); }
.seitennav .nav-plus[aria-current="page"] { background: var(--orange-2); color: var(--orange-text); box-shadow: 0 0 0 3px rgba(255, 107, 26, .35); }
.seitennav .ik { width: 22px; height: 22px; }

/* Übersicht */
.geld-raster { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.geld-hero { border-color: rgba(255, 190, 120, .5); }
.geld-hero.negativ { border-color: rgba(255, 122, 133, .5); background: radial-gradient(560px 280px at 85% -10%, rgba(255, 122, 133, .22), transparent 70%), linear-gradient(165deg, #2a2447, #14243f 62%); }
.geld-lab { margin: 0; font-weight: 700; color: var(--text-2); font-size: 1rem; }
.geld-zahl { margin: 4px 0 0; font-size: clamp(3rem, 14vw, 4.8rem); font-weight: 850; font-stretch: 125%; letter-spacing: -.035em; line-height: 1; background: linear-gradient(135deg, #ffe596, #ff9a4d 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.geld-hero.negativ .geld-zahl { background: linear-gradient(135deg, #ffc2c8, #ff7a85 85%); -webkit-background-clip: text; background-clip: text; }
.geld-unter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 6px 0 0; color: var(--text-2); font-size: 1.05rem; }
.stat-reihe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.stat-chip { display: flex; align-items: center; gap: 11px; padding: 10px 16px 10px 10px; border-radius: 16px; background: rgba(9, 19, 34, .5); border: 1px solid var(--linie); flex: 1 1 170px; }
.stat-ik { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--karte-3); color: var(--text-2); }
.stat-chip.gut .stat-ik { background: var(--gut-weich); color: var(--gut); }
.stat-ik .ik { width: 18px; height: 18px; stroke-width: 2.4; }
.stat-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.stat-text small { color: var(--leise); font-size: .78rem; }
.stat-text b { font-size: 1.25rem; font-weight: 800; font-stretch: 112%; }
.geld-rechnung { margin-top: 14px; font-size: .92rem; color: var(--leise); }
.gespart-leiste.potenzial { width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.gespart-leiste.potenzial:hover { border-color: var(--orange-2); }
.geld-spalten { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.geld-haupt, .geld-seite { display: grid; gap: 16px; min-width: 0; align-content: start; }
.geld-raster .karte { margin: 0; }
.geld-raster #kAufgaben { grid-column: auto; grid-row: auto; }

.abb-karte .kartenkopf, .woche-karte .kartenkopf, .steuer-status .kartenkopf { align-items: flex-start; }
.abb-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.abb-zeile { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--linie); }
.abb-liste .abb-zeile:last-child { border-bottom: 0; }
.abb-datum { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 13px; background: var(--karte-2); border: 1px solid var(--linie); line-height: 1; }
.abb-datum b { font-size: 1.15rem; font-weight: 800; } .abb-datum small { font-size: .68rem; color: var(--leise); margin-top: 3px; }
.abb-datum.schaetzung { background: none; border-style: dashed; color: var(--leise); }
.abb-name { display: flex; flex-direction: column; min-width: 0; } .abb-name b { font-weight: 700; overflow-wrap: anywhere; } .abb-name small { color: var(--leise); font-size: .82rem; }
.abb-betrag { font-weight: 800; white-space: nowrap; }
.abb-zwischen { margin: 14px 0 4px; font-size: .85rem; font-weight: 600; color: var(--leise); }
.abb-summe { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--linie-stark); }
.abb-summe b { font-size: 1.3rem; font-weight: 850; font-stretch: 115%; }
.sperre-klein { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 14px; border-radius: 16px; background: var(--karte-2); border: 1px dashed var(--linie-stark); }
.sperre-klein > .ik { width: 26px; height: 26px; color: var(--orange-2); flex: none; }
.sperre-klein > div { flex: 1 1 200px; display: flex; flex-direction: column; } .sperre-klein span { color: var(--leise); font-size: .88rem; }

.woche-zahlen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.woche-zahlen > div { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 14px; background: var(--karte-2); border: 1px solid var(--linie); }
.woche-zahlen small { color: var(--leise); font-size: .75rem; } .woche-zahlen b { font-size: 1.2rem; font-weight: 800; font-stretch: 112%; } .woche-zahlen b.gut { color: var(--gut); }
.woche-zahlen.gross b { font-size: 1.4rem; }
.woche-zeile { margin: 0 0 6px; color: var(--text-2); font-size: .95rem; }
.woche-verlauf { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.woche-verlauf li { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--linie); font-size: .92rem; }
.woche-verlauf .gut, .zahl.gut { color: var(--gut); }
.punktliste { margin: 0; padding-left: 20px; color: var(--text-2); display: grid; gap: 4px; }

.rang-karte { padding: 18px; }
.rang-knopf { display: flex; align-items: center; gap: 14px; width: 100%; padding: 0; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.rang-text { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.25; } .rang-text small { color: var(--leise); font-size: .78rem; } .rang-text b { font-size: 1.25rem; font-weight: 850; font-stretch: 115%; }
.rang-punkte { display: flex; flex-direction: column; align-items: flex-end; line-height: 1; } .rang-punkte b { font-size: 1.7rem; font-weight: 850; } .rang-punkte small { color: var(--leise); font-size: .72rem; margin-top: 3px; }
.rang-karte .spur { margin-top: 14px; height: 10px; }
.rang-karte .spur i, .spur.gross i { background: linear-gradient(90deg, var(--gelb), var(--orange)); box-shadow: 0 0 12px rgba(255, 140, 40, .7); }
.rang-medaille { width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #2a1a02; background: linear-gradient(145deg, #d9c9b4, #9a8b78); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5), 0 8px 20px -8px rgba(0, 0, 0, .7); }
.rang-medaille .ik { width: 26px; height: 26px; stroke-width: 2.2; }
.rang-medaille.r1 { background: linear-gradient(145deg, #bfe0ff, #5f9fe0); }
.rang-medaille.r2 { background: linear-gradient(145deg, #ffe596, #ff9a4d); }
.rang-medaille.r3 { background: linear-gradient(145deg, #fff3b8, #ffc94a 45%, #ff8a47); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), 0 0 30px -4px rgba(255, 190, 70, .8); }
.rang-medaille.gross { width: 84px; height: 84px; } .rang-medaille.gross .ik { width: 42px; height: 42px; }

.steuer-status.warn { border-color: rgba(255, 210, 77, .5); } .steuer-status.rot { border-color: rgba(255, 122, 133, .6); }
.ss-zeile { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; } .ss-zeile .ring2 { width: 76px; height: 76px; flex: none; }
.ss-zeile .ring-mitte b { font-size: 1.2rem; } .ss-zeile .ring-mitte span { display: none; }
.ss-text { display: flex; flex-direction: column; } .ss-text span { color: var(--leise); font-size: .85rem; }
.ss-fakt { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--linie); }
.ss-fakt > div { display: flex; flex-direction: column; min-width: 0; } .ss-fakt span:not(.status-ik) { color: var(--leise); font-size: .85rem; }
.status-ik { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--gut-weich); color: var(--gut); }
.steuer-status.warn .status-ik { background: rgba(255, 210, 77, .15); color: var(--gelb); } .steuer-status.rot .status-ik { background: var(--schlecht-weich); color: var(--schlecht); }
.status-ik.blau { background: var(--stahl-weich) !important; color: var(--stahl) !important; } .status-ik .ik { width: 18px; height: 18px; }
.steuer-box { margin-bottom: 16px; } .steuer-box:empty { display: none; }
.steuer-box .fach { margin-top: 0; }
.steuer-box .meter-hinweis { margin: 6px 0 0; }

/* Verträge */
.vertrag-kopf { margin-bottom: 16px; }
.nur-zeile { margin: 0; } .nur-zeile .knopf { min-height: 40px; }
.frist-hinweis { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--stahl-weich); border: 1px solid rgba(127, 176, 230, .4); margin-top: 12px; }
.frist-hinweis > .ik { width: 26px; height: 26px; color: var(--stahl); flex: none; } .frist-hinweis > div { display: flex; flex-direction: column; } .frist-hinweis span { color: var(--text-2); font-size: .9rem; }
.frist-hinweis.bald { background: rgba(255, 210, 77, .12); border-color: rgba(255, 210, 77, .5); } .frist-hinweis.bald > .ik { color: var(--gelb); }
.frist-hinweis.dringend { background: var(--schlecht-weich); border-color: rgba(255, 122, 133, .6); } .frist-hinweis.dringend > .ik { color: var(--schlecht); }
.frist-gross { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; padding: 18px; border-radius: 18px; background: var(--stahl-weich); border: 1px solid rgba(127, 176, 230, .4); }
.frist-gross small { color: var(--text-2); font-size: .85rem; } .frist-gross b { font-size: 1.8rem; font-weight: 850; font-stretch: 118%; letter-spacing: -.02em; } .frist-gross span { color: var(--text-2); font-size: .92rem; }
.frist-gross.bald { background: rgba(255, 210, 77, .12); border-color: rgba(255, 210, 77, .5); } .frist-gross.dringend { background: var(--schlecht-weich); border-color: rgba(255, 122, 133, .6); }
.frist-gross .verpasst { color: var(--gelb); margin-top: 6px; }
.vertrag-zeile.still { opacity: .65; }
.vertrag-vorschau { margin-top: 16px; min-height: 20px; }
.form-chips-kopf { margin: 14px 0 6px; } .klein-chips { margin-top: 6px; }
.schalterzeile { display: flex; align-items: center; gap: 12px; padding: 4px 0 14px; cursor: pointer; font-weight: 650; }
.kuend-text { width: 100%; min-height: 280px; padding: 16px; border-radius: 14px; background: #f6f3ec; color: #1b1b1b; border: 0; font: 400 .95rem/1.55 Georgia, "Times New Roman", serif; resize: vertical; margin-top: 14px; }
.hinweisliste { margin: 14px 0 0; padding-left: 18px; color: var(--leise); font-size: .86rem; display: grid; gap: 6px; }
.druck-frame { position: fixed; width: 0; height: 0; border: 0; right: 0; bottom: 0; }
.frage-box .reihe { margin-top: 10px; } .auff-ik.blau { background: var(--stahl-weich); color: var(--stahl); } .auff-ik.gelb { background: rgba(255, 210, 77, .15); color: var(--gelb); }
.meldung .block { display: block; margin: 4px 0 0; font-weight: 400; color: var(--text-2); font-size: .9rem; }

/* Budgets und Vorschau */
.vorschau-karte { margin-bottom: 16px; }
.vorschau-gross { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px; margin-bottom: 14px; border-radius: 18px; background: linear-gradient(150deg, rgba(255, 107, 26, .16), rgba(9, 19, 34, .4)); border: 1px solid rgba(255, 138, 71, .4); }
.vorschau-gross small { color: var(--text-2); } .vorschau-gross b { font-size: clamp(2.2rem, 9vw, 3.2rem); font-weight: 850; font-stretch: 122%; letter-spacing: -.03em; line-height: 1; }
.vorschau-gross.neg b { color: var(--schlecht); }
.unter-h { margin: 18px 0 6px; font-size: .95rem; color: var(--text-2); }
.budget-liste { display: grid; gap: 4px; }
.budget-zeile { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--linie); } .budget-liste .budget-zeile:last-child { border-bottom: 0; }
.budget-kopf { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; } .budget-kopf b { flex: 1; min-width: 0; } .budget-zahl { color: var(--text-2); font-weight: 650; font-size: .92rem; white-space: nowrap; }
.budget-spur { height: 12px; overflow: visible; } .budget-spur i { max-width: 100%; }
.marke80 { position: absolute; left: 80%; top: -4px; bottom: -4px; width: 2px; background: var(--text-2); opacity: .55; border-radius: 2px; }
.budget-info { margin: 8px 0 0; font-size: .86rem; color: var(--leise); } .budget-info.warn { color: var(--gelb); font-weight: 650; } .budget-info.rot { color: var(--schlecht); font-weight: 700; }
.budget-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; align-items: center; } .budget-form input { flex: 1 1 110px; min-width: 0; min-height: 38px; }
.meter.warn .budget-spur i { background: linear-gradient(90deg, var(--gelb), var(--orange)); } .meter.rot .budget-spur i { background: var(--schlecht); }

/* Erfolge */
.rang-gross { padding: 24px; margin-bottom: 16px; background: radial-gradient(520px 260px at 90% -20%, rgba(255, 190, 70, .28), transparent 70%), linear-gradient(165deg, #1d3560, var(--karte) 65%); border: 1px solid rgba(255, 190, 120, .45); }
.rang-gross-kopf { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; } .rang-gross-kopf > div:nth-child(2) { flex: 1; min-width: 180px; } .rang-gross-kopf small { color: var(--text-2); }
.rang-name { font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 850; font-stretch: 125%; letter-spacing: -.03em; margin: 2px 0 6px; }
.rang-gross .spur.gross { height: 16px; margin: 18px 0 10px; }
.rang-leiter { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.rang-leiter li { display: flex; flex-direction: column; padding: 10px; border-radius: 12px; background: rgba(9, 19, 34, .5); border: 1px solid var(--linie); font-size: .85rem; color: var(--leise); }
.rang-leiter li.fertig { color: var(--gut); border-color: rgba(61, 220, 132, .4); } .rang-leiter li.jetzt { color: var(--text); border-color: var(--orange-2); background: var(--orange-weich); }
.punkte-liste { list-style: none; margin: 0; padding: 0; display: grid; }
.punkte-liste li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--linie); opacity: .7; } .punkte-liste li:last-child { border-bottom: 0; } .punkte-liste li.an { opacity: 1; }
.pl-text { display: flex; flex-direction: column; } .pl-text small { color: var(--leise); font-size: .82rem; } .pl-punkte { font-size: 1.2rem; font-weight: 800; color: var(--orange-2); }
.abzeichen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.abzeichen-karte { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 18px; background: var(--karte-2); border: 1px dashed var(--linie-stark); opacity: .6; }
.abzeichen-karte small { color: var(--leise); font-size: .82rem; line-height: 1.35; }
.abz-ik { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--karte-3); color: var(--leise); margin-bottom: 6px; } .abz-ik .ik { width: 22px; height: 22px; stroke-width: 2.3; }
.abz-schloss { position: absolute; top: 12px; right: 12px; color: var(--leise); } .abz-schloss .ik { width: 16px; height: 16px; }
.abzeichen-karte.erreicht { opacity: 1; border-style: solid; border-color: rgba(255, 190, 120, .55); background: linear-gradient(160deg, rgba(255, 190, 70, .16), var(--karte-2)); animation: abz-glanz 3.2s ease-in-out 1; }
.abzeichen-karte.erreicht .abz-ik { background: linear-gradient(145deg, #ffe596, #ff9a4d); color: #2a1a02; }
@keyframes abz-glanz { 0%, 100% { box-shadow: none; } 40% { box-shadow: 0 0 34px -4px rgba(255, 190, 70, .7); } }
.rang-medaille.r3 { animation: medaille-puls 2.6s ease-in-out infinite; }
@keyframes medaille-puls { 50% { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .abzeichen-karte.erreicht, .rang-medaille.r3 { animation: none; } .spur i { transition: none; } }

.apptabs .mehr-aktiv { color: var(--orange-2); }

@media (min-width: 640px) {
  .abzeichen { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .geld-hero { grid-column: auto; min-height: 280px; }
  .geld-spalten { grid-template-columns: minmax(0, 7fr) minmax(300px, 5fr); gap: 20px; }
  .geld-raster { gap: 20px; }
  .geld-hero .hero-text { flex: 1 1 0; } .geld-hero .spar-seite { width: 320px; flex: none; }
  .geld-zahl { font-size: clamp(3.6rem, 6vw, 5.4rem); }
  .abzeichen { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .budget-form input { flex: 0 1 140px; }
  .vorschau-karte .felder { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 899px) {
  .seitenmehr { display: none; }
}

/* ---------------------------------------------------------------- Ausblenden (Das fällt auf, Heute zu tun) */
.toast .toast-aktion { pointer-events: auto; margin-left: 6px; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(13, 26, 46, .35); background: transparent; color: inherit; font: inherit; font-weight: 750; cursor: pointer; }
.toast .toast-aktion:hover { background: rgba(13, 26, 46, .1); }
.ausg-box { margin-top: 14px; border-top: 1px solid var(--linie); padding-top: 10px; }
.ausg-box summary { cursor: pointer; color: var(--leise); font-weight: 650; font-size: .92rem; padding: 4px 0; }
.ausg-box summary:hover { color: var(--text-2); }
.ausg-box > p { margin: 6px 0 0; }
.ausg-liste { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.ausg-liste li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 10px 12px; border-radius: 12px; background: rgba(9, 19, 34, .4); border: 1px solid var(--linie); }
.ausg-text { flex: 1 1 220px; min-width: 0; color: var(--text-2); font-size: .92rem; overflow-wrap: anywhere; }

/* Ausblenden: kleiner Schließen-Knopf oben rechts in der Aufgabenkarte */
.aufg-weg { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid transparent; background: transparent; color: var(--leise); cursor: pointer; opacity: .55; transition: opacity .2s, background-color .2s, color .2s, border-color .2s; }
.aufg-weg .ik { width: 15px; height: 15px; }
.aufgabe:hover .aufg-weg, .aufg-weg:hover, .aufg-weg:focus-visible { opacity: 1; color: var(--text); background: rgba(255, 255, 255, .08); border-color: var(--linie); }
.aufg-weg:disabled { opacity: .3; cursor: default; }
.aufgabe.erledigt .aufg-weg { display: none; }
@media (hover: none) { .aufg-weg { opacity: .8; width: 32px; height: 32px; top: 6px; right: 6px; } }
@keyframes aufgabe-rein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.aufgabe.neu { animation: aufgabe-rein .45s var(--ease) both; }
.aufgabe.weg { opacity: .45; }
@media (prefers-reduced-motion: reduce) { .aufgabe.neu { animation: none; } .aufg-weg { transition: none; } }
@media (max-width: 520px) { .aufgabe .aufg-aktion { padding-left: 0; gap: 6px; } .aufgabe .aufg-aktion .knopf.winzig { padding-left: 10px; padding-right: 10px; } }

/* Sparen: Zähler am Reiter Abos und Hinweis-Streifen */
.schnellknopf .tab-zahl { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 8px; border-radius: 999px; background: var(--orange); color: var(--orange-text); font-size: .76rem; font-weight: 850; line-height: 1; vertical-align: 1px; }
.schnellknopf.aktiv .tab-zahl { background: var(--orange-text); color: var(--orange-2); }
.spar-streifen { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; padding: 8px 10px 8px 14px; border-radius: 16px; border: 1px solid rgba(255, 138, 71, .45); background: var(--orange-weich); }
.spar-streifen-ik { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; flex: none; background: var(--orange); color: var(--orange-text); }
.spar-streifen-ik .ik { width: 16px; height: 16px; stroke-width: 2.5; }
.spar-streifen-text { flex: 1 1 200px; min-width: 0; font-weight: 700; color: var(--text); }
.spar-streifen .knopf { margin-left: auto; }
.spar-streifen .knopf .ik { width: 1em; height: 1em; }

/* KI-Fix 24.11.: Antwort-Chips je Frage, Aus-Abo-Liste, Platzhalter im Kündigungsentwurf, Sperrhinweis */
.fragen-block .frage-zeile { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin-bottom: 12px; }
.fragen-block .frage-zeile .antworten { margin-top: 6px; }
.sperr-hinweis { margin-top: 12px; color: var(--gelb); }
.menue-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.menue-text b { font-weight: 700; }
.menue-text small { display: block; color: var(--text-2); font-weight: 500; font-size: .84rem; line-height: 1.35; }
.platzhalter-box { margin-top: 12px; }
.platzhalter-box .chip.platzhalter, .platzhalter-box .chip.platzhalter:hover { cursor: pointer; min-height: 32px; font-size: .88rem; font-weight: 700; letter-spacing: .01em; background: #46370f; border: 1px solid #ffd27a; color: #ffd27a; filter: none; opacity: 1; animation: none; text-shadow: none; }
.platzhalter-box .chip.platzhalter:hover { background: #5a4713; color: #ffe2a3; border-color: #ffe2a3; }
.platzhalter-box .chip.platzhalter:focus-visible { outline: 2px solid #ffe2a3; outline-offset: 2px; }
.fragen-block .antworten .chip:disabled { opacity: .55; cursor: not-allowed; }
.fragen-block .antworten .chip.laedt { opacity: 1; border-color: var(--orange); background: var(--karte-2); cursor: progress; animation: chip-lade 1s ease-in-out infinite; }
@keyframes chip-lade { 50% { border-color: rgba(255, 140, 40, .35); } }
@media (prefers-reduced-motion: reduce) { .fragen-block .antworten .chip.laedt { animation: none; } }
.bewirt-info { margin-top: 10px; }

/* ---------- Online: Upgrade-Zeile, Umzug ---------- */
.upgrade-zeile { display: flex; justify-content: center; margin-top: 16px; }
.upgrade-zeile .knopf { text-decoration: none; }
.umzug-ergebnis { margin-top: 12px; }
.feld { display: block; margin: 10px 0; }
.feld > span { display: block; font-size: .85rem; color: var(--leise); margin-bottom: 4px; }
.feld input { width: 100%; }
