/* GEECY App – neuer iOS-Look: Glas-Materialien, schwebende Tab-Leiste, federnde Animationen.
   Hell/dunkel automatisch. Weniger Bewegung, wenn im iPhone „Bewegung reduzieren“ an ist. */
:root {
  --bg: #EEF0F6;
  --glas: rgba(255, 255, 255, .58);
  --glas-stark: rgba(255, 255, 255, .72);
  --leiste: rgba(250, 250, 253, .94);
  --glas-rand: rgba(255, 255, 255, .75);
  --glas-schatten: 0 8px 32px rgba(31, 38, 75, .10), 0 1px 2px rgba(31, 38, 75, .06);
  --fuell: rgba(120, 120, 128, .14);
  --text: #0B0B0F;
  --text2: rgba(60, 60, 67, .62);
  --text3: rgba(60, 60, 67, .32);
  --linie: rgba(60, 60, 67, .16);
  --tint: #007AFF;
  --gruen: #34C759;
  --rot: #FF3B30;
  --orange: #FF9500;
  --blob1: #B9C8FF;
  --blob2: #FFD3E2;
  --blob3: #C8F1E4;
  --feder: cubic-bezier(.34, 1.4, .64, 1);
  --sanft: cubic-bezier(.2, .8, .2, 1);
  --schrift: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Inter, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07070B;
    --glas: rgba(44, 44, 52, .52);
    --glas-stark: rgba(52, 52, 60, .68);
    --leiste: rgba(40, 40, 46, .94);
    --glas-rand: rgba(255, 255, 255, .12);
    --glas-schatten: 0 10px 36px rgba(0, 0, 0, .45), 0 1px 2px rgba(0, 0, 0, .3);
    --fuell: rgba(120, 120, 128, .26);
    --text: #F5F5F7;
    --text2: rgba(235, 235, 245, .62);
    --text3: rgba(235, 235, 245, .3);
    --linie: rgba(255, 255, 255, .09);
    --tint: #0A84FF;
    --gruen: #30D158;
    --rot: #FF453A;
    --orange: #FF9F0A;
    --blob1: #26306B;
    --blob2: #4A1F3B;
    --blob3: #123D36;
  }
}

[hidden] { display: none !important; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--schrift); font-size: 17px; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; overscroll-behavior-y: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-user-select: none; user-select: none; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Weicher, farbiger Hintergrund – damit das Glas sichtbar wird */
.hintergrund { position: fixed; inset: -20%; z-index: 0; pointer-events: none; filter: blur(60px); opacity: .9; }
.hintergrund i { position: absolute; border-radius: 50%; }
.hintergrund i:nth-child(1) { width: 60vmax; height: 60vmax; left: -10%; top: -12%; background: var(--blob1); animation: schweben 26s ease-in-out infinite alternate; }
.hintergrund i:nth-child(2) { width: 50vmax; height: 50vmax; right: -12%; top: 22%; background: var(--blob2); animation: schweben 31s ease-in-out infinite alternate-reverse; }
.hintergrund i:nth-child(3) { width: 55vmax; height: 55vmax; left: 8%; bottom: -18%; background: var(--blob3); animation: schweben 36s ease-in-out infinite alternate; }
@keyframes schweben { to { transform: translate(6vmax, 4vmax) scale(1.08); } }

/* Glas-Material */
.glas, .kachel, .liste, .sync, .rund, .tabbar, .sheet-kopf, .loeschen {
  background: var(--glas);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: .5px solid var(--glas-rand);
  box-shadow: var(--glas-schatten), inset 0 1px 0 rgba(255, 255, 255, .35);
}

#app { position: relative; z-index: 1; min-height: 100vh; transition: transform .45s var(--sanft), border-radius .45s var(--sanft), filter .45s var(--sanft); transform-origin: 50% 0; }
body.sheet-offen #app { transform: scale(.93) translateY(10px); border-radius: 22px; overflow: hidden; filter: brightness(.88); }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 5; padding: calc(env(safe-area-inset-top) + 8px) 18px 8px; transition: background .3s, -webkit-backdrop-filter .3s, backdrop-filter .3s, box-shadow .3s; }
.kopf.gescrollt { background: var(--glas); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); box-shadow: 0 .5px 0 var(--linie); }
.kopf-zeile { display: flex; align-items: flex-end; justify-content: space-between; min-height: 52px; }
h1 { margin: 0; font-size: 34px; font-weight: 700; letter-spacing: .3px; transition: font-size .3s var(--sanft); }
.kopf.gescrollt h1 { font-size: 24px; }
.rund { width: 40px; height: 40px; border-radius: 20px; color: var(--tint); display: grid; place-items: center; margin-bottom: 2px; }
.rund svg { width: 20px; height: 20px; stroke-width: 2.4; transition: transform .35s var(--feder); }
.rund:active svg { transform: rotate(90deg); }

/* Federnde Knöpfe */
.drueck, .rund, .zeile, .tabbar button, .text-knopf, .loeschen, .kachel, .segment button, .foto-knopf, .haken {
  transition: transform .35s var(--feder), background .2s, opacity .2s;
}
.rund:active, .loeschen:active, .kachel:active, .foto-knopf:active { transform: scale(.92); }
.zeile:active { transform: scale(.975); }
.text-knopf:active { opacity: .45; transform: scale(.94); }
.haken:active { transform: scale(.8); }

/* Sync-Leiste */
.sync { margin-top: 10px; border-radius: 18px; padding: 11px 15px; animation: rein .45s var(--feder); }
.sync-text { display: flex; justify-content: space-between; font-size: 13px; color: var(--text2); margin-bottom: 7px; font-weight: 500; }
.sync.fertig .sync-text { color: var(--gruen); font-weight: 600; }
.sync.fehler .sync-text { color: var(--orange); }
.balken { height: 5px; border-radius: 3px; background: var(--fuell); overflow: hidden; }
.balken > div, .mini-balken > div { height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--tint), #5AC8FA); transition: width .4s var(--sanft); position: relative; overflow: hidden; }
.balken > div::after, .mini-balken > div::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); animation: glanz 1.3s linear infinite; }
@keyframes glanz { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.sync.fertig .balken > div { background: var(--gruen); }
.sync.fertig .balken > div::after { display: none; }

/* Inhalt */
main { padding: 4px 16px calc(env(safe-area-inset-bottom) + 118px); }
main.wechsel { animation: tabWechsel .42s var(--sanft); }
@keyframes tabWechsel { from { opacity: 0; transform: translateY(10px) scale(.985); filter: blur(4px); } }
@keyframes rein { from { opacity: 0; transform: translateY(8px) scale(.98); } }
main.wechsel .liste, main.wechsel .kachel, main.wechsel .gruppe-titel { animation: rein .5s var(--feder) both; }
main.wechsel > :nth-child(2) { animation-delay: .04s; }
main.wechsel > :nth-child(3) { animation-delay: .08s; }
main.wechsel > :nth-child(4) { animation-delay: .12s; }
main.wechsel > :nth-child(5) { animation-delay: .16s; }

.zusammenfassung { display: flex; gap: 12px; margin: 8px 0 20px; }
.kachel { flex: 1; border-radius: 22px; padding: 14px 16px; }
.kachel small { display: block; color: var(--text2); font-size: 13px; font-weight: 500; }
.kachel b { font-size: 24px; font-weight: 700; letter-spacing: -.3px; font-variant-numeric: tabular-nums; }
.gruppe-titel { font-size: 13px; text-transform: uppercase; color: var(--text2); margin: 24px 18px 8px; letter-spacing: .2px; display: flex; justify-content: space-between; font-weight: 500; }
.gruppe-titel span:last-child { text-transform: none; }
.liste { border-radius: 22px; overflow: hidden; }
.zeile { display: flex; align-items: center; gap: 13px; padding: 12px 18px; min-height: 58px; position: relative; width: 100%; text-align: left; }
.zeile + .zeile::before { content: ""; position: absolute; top: 0; left: 18px; right: 0; height: .5px; background: var(--linie); }
.zeile.mit-icon + .zeile.mit-icon::before { left: 62px; }
.zeile:active { background: var(--fuell); }
.zeile.neu { animation: neu .6s var(--feder); }
@keyframes neu { from { opacity: 0; transform: scale(.9); } }
.zeile .haupt { flex: 1; min-width: 0; }
.zeile .t { font-size: 17px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zeile .u { font-size: 14px; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.zeile .rechts { color: var(--text2); font-variant-numeric: tabular-nums; flex: none; font-weight: 500; }
.zeile .mini-balken { height: 4px; border-radius: 2px; background: var(--fuell); margin-top: 8px; overflow: hidden; }
.status { font-size: 12.5px; margin-top: 4px; font-weight: 500; }
.status.ok { color: var(--gruen); animation: rein .4s var(--feder); }
.status.warte { color: var(--tint); }
.status.fehler { color: var(--orange); }
.icon-kreis { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #fff; flex: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 4px 10px rgba(0, 0, 0, .12); }
.icon-kreis svg { width: 19px; height: 19px; stroke-width: 2; }
.haken { width: 26px; height: 26px; border-radius: 13px; border: 1.8px solid var(--text3); flex: none; display: grid; place-items: center; }
.haken.an { background: var(--tint); border-color: var(--tint); animation: plopp .45s var(--feder); }
@keyframes plopp { 0% { transform: scale(.6); } 60% { transform: scale(1.15); } }
.haken.an svg { width: 15px; height: 15px; stroke: #fff; stroke-width: 3; }
.erledigt .t { color: var(--text2); text-decoration: line-through; }
.chip { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 12px; background: var(--fuell); color: var(--text2); }
.chip.arbeit { background: rgba(52, 199, 89, .18); color: var(--gruen); }
.chip.halb { background: rgba(255, 149, 0, .18); color: var(--orange); }
.leer { text-align: center; color: var(--text2); padding: 64px 30px; font-size: 15px; line-height: 1.45; animation: rein .5s var(--feder); }
.leer b { display: block; color: var(--text); font-size: 21px; margin-bottom: 6px; }

/* Schwebende Tab-Leiste (Pille) mit gleitendem Indikator */
.tabbar { position: fixed; left: 14px; right: 14px; bottom: calc(env(safe-area-inset-bottom) + 10px); z-index: 10; display: flex; border-radius: 32px; padding: 6px; }
.tab-indikator { position: absolute; top: 6px; bottom: 6px; left: 6px; border-radius: 26px; background: var(--glas-stark); box-shadow: 0 2px 10px rgba(0, 0, 0, .08), inset 0 1px 0 rgba(255, 255, 255, .5); transition: transform .5s var(--feder), width .5s var(--feder); pointer-events: none; }
.tabbar button { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; color: var(--text2); font-size: 10.5px; font-weight: 600; padding: 7px 0 6px; border-radius: 26px; }
.tabbar button.aktiv { color: var(--tint); }
.tabbar button:active { transform: scale(.9); }
.tabbar svg { width: 25px; height: 25px; transition: transform .45s var(--feder); }
.tabbar button.aktiv svg { transform: translateY(-1px) scale(1.06); }

/* Sheet (Formular) */
.sheet-hintergrund { position: fixed; inset: 0; background: rgba(0, 0, 0, .28); z-index: 20; animation: ein .35s var(--sanft); }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; top: calc(env(safe-area-inset-top) + 18px); z-index: 21; display: flex; flex-direction: column; border-radius: 28px 28px 0 0; overflow: hidden;
  background: var(--glas-stark); -webkit-backdrop-filter: blur(40px) saturate(180%); backdrop-filter: blur(40px) saturate(180%);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .4); animation: hoch .55s var(--feder); }
.sheet::before { content: ""; position: absolute; top: 6px; left: 50%; width: 38px; height: 5px; margin-left: -19px; border-radius: 3px; background: var(--text3); }
.sheet.zu { animation: runter .32s var(--sanft) forwards; }
.sheet-hintergrund.zu { animation: aus .32s var(--sanft) forwards; }
@keyframes hoch { from { transform: translateY(100%); } }
@keyframes runter { to { transform: translateY(100%); } }
@keyframes ein { from { opacity: 0; } }
@keyframes aus { to { opacity: 0; } }
.sheet-kopf { display: flex; align-items: center; justify-content: space-between; margin: 18px 14px 0; padding: 10px 16px; border-radius: 22px; }
.sheet-kopf strong { font-size: 17px; font-weight: 600; }
.text-knopf { color: var(--tint); font-size: 17px; padding: 4px 2px; }
.text-knopf.fett { font-weight: 600; }
.text-knopf:disabled { color: var(--text3); }
.sheet-inhalt { flex: 1; overflow-y: auto; padding: 0 14px calc(env(safe-area-inset-bottom) + 40px); -webkit-overflow-scrolling: touch; }
.sheet-inhalt > * { animation: rein .5s var(--feder) both; }
.sheet-inhalt > :nth-child(2) { animation-delay: .05s; }
.sheet-inhalt > :nth-child(3) { animation-delay: .1s; }
.sheet-inhalt > :nth-child(4) { animation-delay: .15s; }

/* Formularfelder */
.feld { display: flex; align-items: center; min-height: 52px; padding: 0 18px; gap: 12px; position: relative; transition: background .25s; }
.feld + .feld::before { content: ""; position: absolute; top: 0; left: 18px; right: 0; height: .5px; background: var(--linie); }
.feld:has(input:focus, textarea:focus, select:focus) { background: var(--fuell); }
.feld label { flex: none; width: 118px; font-weight: 500; }
.feld input, .feld select, .feld textarea { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; text-align: right; padding: 13px 0; -webkit-appearance: none; appearance: none; }
.feld input::placeholder, .feld textarea::placeholder { color: var(--text3); }
.feld textarea { text-align: left; min-height: 84px; resize: none; }
.feld.block { flex-direction: column; align-items: stretch; padding-top: 12px; }
.feld.block label { width: auto; color: var(--text2); font-size: 13px; }
.feld select { color: var(--tint); direction: rtl; font-weight: 500; }
.segment { flex: 1; position: relative; display: flex; background: var(--fuell); border-radius: 12px; padding: 3px; margin: 9px 0; }
.seg-thumb { position: absolute; top: 3px; bottom: 3px; left: 3px; border-radius: 9px; background: var(--glas-stark); box-shadow: 0 3px 10px rgba(0, 0, 0, .14), inset 0 1px 0 rgba(255, 255, 255, .5); transition: transform .45s var(--feder); }
.segment button { flex: 1; position: relative; padding: 7px 4px; font-size: 13.5px; font-weight: 600; border-radius: 9px; color: var(--text2); }
.segment button.an { color: var(--text); }
.foto-feld { padding: 14px 18px; }
.foto-knopf { display: flex; align-items: center; gap: 10px; color: var(--tint); font-weight: 500; }
.foto-vorschau { margin-top: 12px; max-width: 100%; max-height: 260px; border-radius: 16px; display: block; animation: rein .45s var(--feder); }
.hinweis { font-size: 13px; color: var(--text2); margin: 9px 18px 0; line-height: 1.4; }
.liste + .liste, div[style*="margin-top"] { margin-top: 18px; }
.loeschen { width: 100%; text-align: center; color: var(--rot); padding: 15px; border-radius: 22px; margin-top: 26px; font-weight: 600; }
.detail-link { color: var(--tint); text-decoration: none; }

/* Reisen: Umschalter Reisetage / Kilometer */
.segment.oben { margin: 4px 0 16px; padding: 4px; border-radius: 14px; background: var(--glas); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); border: .5px solid var(--glas-rand); }
.segment.oben .seg-thumb { top: 4px; bottom: 4px; border-radius: 10px; }
.segment.oben button { padding: 8px 4px; font-size: 14.5px; }
.kachel small + b + small { margin-top: 2px; }

/* Übersicht */
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 18px; }
.kpis .kachel b { font-size: 21px; }
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px 12px; padding: 2px 16px 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip-knopf { flex: none; padding: 8px 15px; border-radius: 18px; font-size: 14.5px; font-weight: 600; color: var(--text2); background: var(--glas); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: .5px solid var(--glas-rand); transition: transform .35s var(--feder), background .25s, color .25s; }
.chip-knopf:active { transform: scale(.92); }
.chip-knopf.an { background: var(--tint); color: #fff; border-color: transparent; box-shadow: 0 4px 14px rgba(0, 122, 255, .35); }
.sortier-zeile { display: flex; align-items: center; gap: 10px; }
.segment.klein { margin: 0; }
.richtung { width: 40px; height: 40px; flex: none; border-radius: 20px; display: grid; place-items: center; color: var(--tint); background: var(--glas); border: .5px solid var(--glas-rand); transition: transform .45s var(--feder); }
.richtung svg { width: 20px; height: 20px; transition: transform .45s var(--feder); }
.richtung.auf svg { transform: rotate(180deg); }
.richtung:active { transform: scale(.9); }
.auswahl-zeile { display: flex; justify-content: space-between; align-items: center; margin: 14px 4px 0; font-size: 14px; color: var(--text2); }
.auswahl-zeile .text-knopf { font-size: 15px; }
.zeile.gewaehlt { background: rgba(0, 122, 255, .08); }
.haken.aus { opacity: .3; }
.pdf-leiste { position: sticky; bottom: calc(env(safe-area-inset-bottom) + 92px); display: flex; justify-content: center; margin-top: 22px; pointer-events: none; }
.pdf-knopf { pointer-events: auto; display: flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 26px; font-weight: 600; color: #fff; background: linear-gradient(180deg, rgba(10, 132, 255, .95), rgba(0, 110, 230, .95)); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 10px 28px rgba(0, 122, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .35s var(--feder); animation: rein .5s var(--feder); }
.pdf-knopf:active { transform: scale(.94); }
.pdf-knopf svg { width: 21px; height: 21px; }
.pdf-status { padding: 18px; margin-top: 20px; }
.pdf-status .t { font-weight: 600; margin-bottom: 2px; }
.pdf-status .u { color: var(--text2); font-size: 14px; margin: 6px 0; }
.aktionen .zeile svg { color: var(--tint); }

/* Neu von den anderen */
.badge { position: absolute; top: 2px; left: 50%; margin-left: 6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--rot); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; box-shadow: 0 2px 6px rgba(255, 59, 48, .4); animation: plopp .45s var(--feder); }
.punkt { display: inline-block; width: 8px; height: 8px; border-radius: 4px; background: var(--tint); margin: 0 7px 1px 0; vertical-align: middle; box-shadow: 0 0 0 3px rgba(0, 122, 255, .18); }
.zeile.ungelesen .t { font-weight: 650; }

/* Dateien in der App */
.datei-karte { margin-top: 12px; animation: rein .45s var(--feder); }
.datei-bild { display: block; width: 100%; max-height: 380px; object-fit: contain; background: rgba(0, 0, 0, .04); }
.datei-kopf { display: flex; align-items: center; gap: 12px; padding: 16px 18px; }
.datei-kopf svg { width: 34px; height: 34px; color: var(--rot); flex: none; }
.datei-kopf .t { font-weight: 600; font-size: 15px; word-break: break-word; }
.datei-kopf .u { color: var(--text2); font-size: 13px; margin-top: 2px; }
.datei-karte .aktionen .zeile { border-top: .5px solid var(--linie); }

/* Login */
.login { padding: 40px 4px; }
.login p { color: var(--text2); line-height: 1.45; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hintergrund { display: none; }
}

/* Kein Doppeltippen-Zoom, Tipps reagieren sofort */
html, body, button, a, input, select, textarea, label { touch-action: manipulation; }
.sheet::before { width: 42px; height: 5px; margin-left: -21px; }

/* Fenster offen: Hintergrund gesperrt, nicht mitscrollen */
body.sheet-offen { overflow: hidden; }
#app[inert] { pointer-events: none; }
.sheet-inhalt { overscroll-behavior: contain; }
.sheet.federn { animation: federn .42s var(--feder); }
@keyframes federn { 35% { transform: translateY(16px); } }
.feld.fehlt { background: rgba(255, 59, 48, .1); }
.leer.klein { padding: 40px 24px; }
.leer .text-knopf { display: block; margin: 14px auto 0; font-weight: 600; }

/* ---------- Reisetagebuch ---------- */
/* Kopf: Zeitraum, Privatanteil, Tagesband */
.r-held { margin-top: 16px; padding: 16px 18px 12px; border-radius: 22px; background: var(--glas); border: .5px solid var(--glas-rand); box-shadow: var(--glas-schatten), inset 0 1px 0 rgba(255, 255, 255, .35); }
.held-zeile { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.held-text { min-width: 0; }
.held-text b { display: block; font-size: 19px; font-weight: 650; letter-spacing: -.2px; }
.held-text span { display: block; font-size: 13.5px; color: var(--text2); margin-top: 3px; }
.held-prozent { text-align: right; flex: none; }
.held-prozent b { display: block; font-size: 34px; line-height: 1; font-weight: 700; color: var(--orange); letter-spacing: -.6px; font-variant-numeric: tabular-nums; }
.held-prozent span { font-size: 12.5px; color: var(--text2); font-weight: 500; }

/* Tagesband: ein Feld pro Tag */
.band { display: flex; gap: 3px; margin-top: 10px; }
.band > * { flex: 1; min-width: 0; height: 7px; position: relative; padding: 0; }
.band.klickbar { margin-top: 12px; gap: 4px; }
.band.klickbar > * { height: 30px; border-radius: 6px; }
.band.klickbar > :active { transform: scale(.9); }
.band i { position: absolute; left: 0; right: 0; top: 50%; height: 7px; margin-top: -3.5px; border-radius: 3px; transition: background .3s; }
.band.klickbar i { height: 14px; margin-top: -7px; border-radius: 5px; }
.band.leer i, .band.leer span { display: block; height: 7px; border-radius: 3px; background: var(--fuell); }
.band .b-beruflich i, .legende i.b-beruflich, .m-beruflich .tag-modus i { background: var(--tint); }
.band .b-privat i, .legende i.b-privat, .m-privat .tag-modus i { background: var(--orange); }
.band .b-gemischt i, .legende i.b-gemischt { background: linear-gradient(90deg, var(--tint) var(--p, 50%), var(--orange) var(--p, 50%)); }
.m-gemischt .tag-modus i { background: linear-gradient(90deg, var(--tint) 50%, var(--orange) 50%); }
.band .b-offen i, .legende i.b-offen, .m-offen .tag-modus i { background: var(--fuell); box-shadow: inset 0 0 0 1px var(--linie); }
.band .heute i { box-shadow: 0 0 0 1.5px var(--bg), 0 0 0 3px var(--text3); }
.band.klickbar .heute i { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--tint); }

/* Bereiche */
.r-nav { position: sticky; top: 8px; z-index: 3; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 12px 0 14px; padding: 5px; border-radius: 20px;
  background: var(--leiste); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%); border: .5px solid var(--glas-rand); box-shadow: var(--glas-schatten); }
.r-nav::-webkit-scrollbar { display: none; }
.r-tab { flex: none; display: flex; align-items: center; gap: 5px; padding: 8px 13px; border-radius: 15px; font-size: 14.5px; font-weight: 600; color: var(--text2); transition: background .25s, color .25s, transform .3s var(--feder); }
.r-tab:active { transform: scale(.93); }
.r-tab small { font-size: 12px; font-weight: 600; opacity: .7; font-variant-numeric: tabular-nums; }
.r-tab svg { width: 14px; height: 14px; stroke-width: 3; color: var(--gruen); }
.r-tab.an { background: var(--tint); color: #fff; box-shadow: 0 3px 12px rgba(0, 122, 255, .3); }
.r-tab.an svg { color: #fff; }
#r-seite.wechsel { animation: rein .38s var(--feder); }
.segment.r-art { margin: 0; background: var(--glas); border: .5px solid var(--glas-rand); padding: 4px; border-radius: 14px; }
.segment.r-art .seg-thumb { top: 4px; bottom: 4px; border-radius: 10px; }
.segment.r-art button { padding: 9px 4px; font-size: 14.5px; }
.hinweis.oben { margin: 0 18px 10px; }
.karte { margin-top: 12px; }
#r-seite > .karte:first-child { margin-top: 0; }
.neu-karte { animation: rein .5s var(--feder); }

/* Tage: Liste zum Aufklappen */
.tag { position: relative; transition: background .3s; }
.tag + .tag::before { content: ""; position: absolute; top: 0; left: 70px; right: 0; height: .5px; background: var(--linie); z-index: 1; }
.tag.auf { background: rgba(0, 122, 255, .05); }
.tag.auf + .tag::before, .tag + .tag.auf::before { left: 0; }
.tag-zeile { display: flex; align-items: center; gap: 14px; width: 100%; padding: 11px 16px; min-height: 62px; text-align: left; transition: background .2s; }
.tag-zeile:active { background: var(--fuell); }
.tag-datum { width: 40px; flex: none; display: flex; flex-direction: column; align-items: center; }
.tag-datum b { font-size: 16px; font-weight: 650; }
.tag-datum small { font-size: 12.5px; color: var(--text2); font-variant-numeric: tabular-nums; }
.tag-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tag-modus { display: flex; align-items: center; gap: 7px; font-size: 15.5px; font-weight: 600; }
.tag-modus i { width: 11px; height: 11px; border-radius: 3.5px; flex: none; }
.tag-modus em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--tint); background: rgba(0, 122, 255, .12); padding: 2px 7px; border-radius: 8px; }
.m-offen .tag-modus { color: var(--text2); font-weight: 500; }
.tag-info { font-size: 13.5px; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag-pfeil { width: 18px; height: 18px; flex: none; color: var(--text3); stroke-width: 2.4; transition: transform .4s var(--feder); }
.tag.auf .tag-pfeil { transform: rotate(90deg); color: var(--tint); }
.tag-detail { animation: rein .35s var(--feder); padding-bottom: 4px; }
.tag-inhalt { padding: 0 16px 4px; }
.tag-inhalt .segment { margin: 2px 0 12px; }
.tag-tipp { font-size: 13px; color: var(--text2); line-height: 1.4; margin: 0 0 8px; }
.weiter { display: block; width: calc(100% - 32px); margin: 8px 16px 12px; padding: 12px; border-radius: 14px; background: var(--fuell); color: var(--tint); font-weight: 600; font-size: 15px; transition: transform .3s var(--feder); }
.weiter:active { transform: scale(.96); }
.legende { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin: 12px 0 0; font-size: 12.5px; color: var(--text2); }
.legende i { display: inline-block; width: 11px; height: 11px; border-radius: 3.5px; margin-right: 5px; vertical-align: -1px; }

/* Liste im Reisen-Tab */
.r-jetzt { display: block; width: 100%; text-align: left; padding: 16px 18px; margin: 0 0 16px; transition: transform .35s var(--feder); }
.r-jetzt:active { transform: scale(.98); }
.r-jetzt-kopf span { display: block; font-size: 13px; font-weight: 600; color: var(--tint); }
.r-jetzt-kopf b { font-size: 21px; font-weight: 700; }
.r-jetzt .band { margin: 12px 0; }
.r-jetzt-fuss { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; color: var(--text2); }
.r-jetzt-knopf { flex: none; background: var(--tint); color: #fff; padding: 8px 14px; border-radius: 16px; font-weight: 600; box-shadow: 0 4px 12px rgba(0, 122, 255, .3); }
.reise-zeile { align-items: flex-start; padding-top: 14px; padding-bottom: 14px; }
.reise-zeile .band { margin-top: 10px; }
.r-prozent { display: flex; flex-direction: column; align-items: flex-end; }
.r-prozent b { font-size: 18px; font-weight: 650; color: var(--text); font-variant-numeric: tabular-nums; }
.r-prozent small { font-size: 12px; color: var(--text2); }

/* Bausteine */
.mini-titel { font-size: 13px; color: var(--text2); margin: 2px 0 8px; font-weight: 500; }
.wahl { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 8px; }
.wahl-chip { padding: 7px 12px; border-radius: 16px; font-size: 14px; font-weight: 500; background: var(--fuell); color: var(--text); transition: transform .3s var(--feder), background .2s, color .2s, box-shadow .2s; }
.wahl-chip.an { background: var(--tint); color: #fff; box-shadow: 0 3px 10px rgba(0, 122, 255, .3); }
.wahl-chip:active { transform: scale(.92); }
.regler { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.regler input { flex: 1; accent-color: var(--tint); height: 28px; }
.regler output { font-size: 14px; font-weight: 600; min-width: 104px; text-align: right; font-variant-numeric: tabular-nums; }
.vorschlag { display: block; margin: 4px 18px 8px; color: var(--tint); font-size: 14.5px; font-weight: 600; transition: transform .3s var(--feder), opacity .2s; }
.vorschlag:active { transform: scale(.95); opacity: .6; }
.r-warn { font-size: 13px; color: var(--orange); margin: 0 0 10px; line-height: 1.35; }
.hinweis.r-warn { margin: 10px 18px 0; }
.block-feld { padding: 12px 18px 4px; position: relative; }
.block-feld::before { content: ""; position: absolute; top: 0; left: 18px; right: 0; height: .5px; background: var(--linie); }
.zaehler + .block-feld::before { display: none; }
.zaehler { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: .5px solid var(--linie); }
.zaehler label { display: flex; flex-direction: column; align-items: center; padding: 10px 2px 9px; gap: 1px; font-size: 11.5px; color: var(--text2); font-weight: 500; position: relative; }
.zaehler label + label::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: .5px; background: var(--linie); }
.zaehler input { width: 100%; border: 0; background: transparent; text-align: center; font: inherit; font-size: 22px; font-weight: 650; color: var(--text); outline: 0; padding: 2px 0; font-variant-numeric: tabular-nums; }
.zaehler input::placeholder { color: var(--text3); }
.schalter-zeile { cursor: pointer; }
.schalter-zeile .sl { flex: 1; font-weight: 500; }
.feld input.schalter, .schalter { -webkit-appearance: none; appearance: none; flex: none; width: 51px; height: 31px; padding: 0; margin: 0; border-radius: 16px; background: var(--fuell); position: relative; transition: background .25s; cursor: pointer; }
.schalter::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .15), 0 1px 1px rgba(0, 0, 0, .16); transition: transform .4s var(--feder); }
.feld input.schalter:checked, .schalter:checked { background: var(--gruen); }
.schalter:checked::after { transform: translateX(20px); }
.plus-knopf { justify-content: center; color: var(--tint); font-weight: 600; min-height: 50px; }
.karte-fuss { display: flex; justify-content: flex-end; padding: 6px 18px 12px; position: relative; }
.karte-fuss::before { content: ""; position: absolute; top: 0; left: 18px; right: 0; height: .5px; background: var(--linie); }
.weg { color: var(--rot); font-size: 15px; font-weight: 500; padding: 4px 0; transition: transform .3s var(--feder), opacity .2s; }
.weg:active { transform: scale(.94); opacity: .6; }
.kv-zeile { display: flex; justify-content: space-between; gap: 12px; padding: 13px 18px; position: relative; font-size: 15.5px; }
.kv-zeile + .kv-zeile::before, .pruef + .pruef::before { content: ""; position: absolute; top: 0; left: 18px; right: 0; height: .5px; background: var(--linie); }
.kv-zeile span { color: var(--text2); }
.kv-zeile b { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.pruef { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 16px 12px 18px; position: relative; font-size: 15px; color: var(--text); }
.pruef.ok { color: var(--text2); }
.pruef:active { background: var(--fuell); }
.pruef .haupt { flex: 1; }
.pruef .haken { width: 22px; height: 22px; }
.pruef .haken.an { background: var(--gruen); border-color: var(--gruen); }
.pruef .haken svg { width: 13px; height: 13px; }
.text-knopf.klein { font-size: 13px; font-weight: 600; padding: 0 0 0 4px; }
