/* Aerolaunch – Designsystem 2 (ab 0.19)
   Leitidee bleibt der Windsack am Platz: Signalorange ist die eine Hauptaktion, Höhenblau sagt „wo bin ich“.
   Neu: die Navigation als nächtliches Cockpit (Höhenblau mit Kartenlinien), ruhige helle Arbeitsfläche,
   weichere Ebenen, größere Rundungen, Statuslampen, die wie Annunciatoren leuchten.
   Diese Datei liegt über app.css und ändert nur das Aussehen – Klassen und Abläufe bleiben gleich. */

:root {
  --apron: #EDF1F6;
  --surface: #FFFFFF;
  --surface-2: #F4F7FA;
  --ink: #0F1E33;
  --ink-2: #33455E;
  --muted: #5B6C83;
  --line: #CBD5E1;
  --line-2: #E1E7EE;
  --night: #0A2238;
  --night-2: #0E3A5C;
  --night-ink: #E3ECF5;
  --night-muted: #93A9C2;
  --taxi-hover: #F24F0B;
  --taxi-soft: #FFE9DE;
  --sky: #1F66B3;
  --focus: #2F78C4;
  --radius-s: 8px;
  --radius: 12px;
  --radius-l: 18px;
  --e1: 0 1px 2px rgba(15, 30, 51, .05), 0 1px 0 rgba(15, 30, 51, .03);
  --e2: 0 1px 2px rgba(15, 30, 51, .06), 0 10px 28px -10px rgba(15, 30, 51, .18);
  --e3: 0 28px 70px -18px rgba(10, 34, 56, .42), 0 2px 6px rgba(10, 34, 56, .08);
  --shadow: var(--e1);
  --ring: 0 0 0 4px color-mix(in srgb, var(--focus) 24%, transparent);
  --chart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='640' viewBox='0 0 640 640'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-opacity='.07' stroke-width='1.2'%3E%3Cpath d='M-40 520c90-40 150-10 220-60s120-140 230-130 170 80 270 40'/%3E%3Cpath d='M-40 560c100-40 170-6 250-58s130-150 250-138 180 90 210 60'/%3E%3Cpath d='M-40 600c110-36 190 0 280-52s140-160 270-146 160 96 170 70'/%3E%3Cpath d='M120 -20c-20 70 30 120 100 140s110 80 90 150'/%3E%3Cpath d='M170 -20c-16 64 34 108 98 126s104 78 82 160'/%3E%3Cpath d='M220 -20c-12 58 40 96 96 112s98 74 74 170'/%3E%3Ccircle cx='470' cy='190' r='38'/%3E%3Ccircle cx='470' cy='190' r='70'/%3E%3Ccircle cx='470' cy='190' r='104'/%3E%3C/g%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --apron: #0B1626; --surface: #122136; --surface-2: #172941; --ink: #E8EEF6; --ink-2: #C3CEDD; --muted: #93A3BA;
    --line: #2C3F5E; --line-2: #213450; --night: #060F1C; --night-2: #0B2742; --taxi-soft: #3A2116; --sky: #7DB4F0; --focus: #7DB4F0;
    --e1: 0 1px 0 rgba(0, 0, 0, .35); --e2: 0 1px 0 rgba(0, 0, 0, .35), 0 12px 30px -10px rgba(0, 0, 0, .55); --shadow: var(--e1);
  }
}
:root[data-theme="dark"] {
  --apron: #0B1626; --surface: #122136; --surface-2: #172941; --ink: #E8EEF6; --ink-2: #C3CEDD; --muted: #93A3BA;
  --line: #2C3F5E; --line-2: #213450; --night: #060F1C; --night-2: #0B2742; --taxi-soft: #3A2116; --sky: #7DB4F0; --focus: #7DB4F0;
  --e1: 0 1px 0 rgba(0, 0, 0, .35); --e2: 0 1px 0 rgba(0, 0, 0, .35), 0 12px 30px -10px rgba(0, 0, 0, .55); --shadow: var(--e1);
}

body { background: radial-gradient(1100px 380px at 78% -140px, color-mix(in srgb, var(--sky) 9%, transparent), transparent 70%), var(--apron); background-attachment: fixed;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
::selection { background: color-mix(in srgb, var(--taxi) 28%, transparent); }
h1, h2, h3 { font-family: var(--wide); font-stretch: 108%; letter-spacing: -.012em; }
h1 { font-weight: 800; }
h2, h3 { font-weight: 750; }
p, li { text-wrap: pretty; }
a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

/* ---------- Navigation: das Nacht-Cockpit ---------- */
@media (min-width: 960px) {
  .shell { grid-template-columns: 248px 1fr; }
  .rail { background: var(--chart) right -220px bottom -200px / 640px no-repeat, radial-gradient(420px 260px at 0 0, rgba(47, 120, 196, .28), transparent 70%), linear-gradient(180deg, var(--night-2) 0%, var(--night) 62%);
    border-right: 0; padding: 22px 14px 16px; gap: 2px; color: var(--night-ink); overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .18) transparent; }
  .main { padding: 32px 40px 56px; max-width: 1240px; }
}
.rail .brand { margin: 2px 8px 20px; color: #fff; }
.rail .brand b { color: #fff; }
.rail .brand svg rect:first-child { fill: rgba(255, 255, 255, .08); }
.rail a.nav { position: relative; padding: 9px 12px; border-radius: 10px; color: color-mix(in srgb, var(--night-ink) 82%, transparent); font-weight: 600; font-size: .95rem; transition: background .15s, color .15s; }
.rail a.nav svg { opacity: .8; }
.rail a.nav:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.rail a.nav[aria-current="page"] { background: linear-gradient(90deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05)); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.rail a.nav[aria-current="page"]::before { content: ""; position: absolute; left: -14px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0; background: var(--taxi); box-shadow: 0 0 12px rgba(255, 91, 20, .65); }
.rail a.nav[aria-current="page"] svg { opacity: 1; color: var(--taxi); }
.rail .badge { box-shadow: 0 0 0 2px var(--night); }
.rail .rail-sep { height: 1px; margin: 10px 12px; background: rgba(255, 255, 255, .09); border: 0; }
.rail .rail-label { margin: 12px 12px 4px; font: 600 .74rem/1 var(--body); color: var(--night-muted); letter-spacing: .02em; }
.rail .foot { color: var(--night-muted); padding: 14px 8px 0; margin-top: auto; border-top: 1px solid rgba(255, 255, 255, .08); }
.rail .me { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; padding: 0 4px 6px; }
.rail .me .avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #2F78C4, var(--night-2)); color: #fff; font: 800 .82rem/1 var(--wide); font-stretch: 112%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.rail .me b { display: block; color: #fff; font-size: .9rem; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail .me small { display: block; color: var(--night-muted); font-size: .76rem; }
.rail .me form { margin: 0; }
.rail .me .btn.quiet { color: var(--night-muted); min-height: 30px; padding: 0 4px; font-size: .76rem; }
.rail .me .btn.quiet:hover { color: #fff; }
.rail .legal-links { padding: 0 4px; }
.rail .legal-links a { color: color-mix(in srgb, var(--night-muted) 85%, transparent); text-decoration: none; }
.rail .legal-links a:hover { color: #fff; text-decoration: underline; }

/* Kopfzeile auf dem Telefon: Marke, Hinweise, Profil */
.topbar { position: sticky; top: 0; z-index: 900; display: flex; align-items: center; gap: 8px; padding: calc(8px + env(safe-area-inset-top)) 14px 8px;
  background: color-mix(in srgb, var(--night) 92%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); color: #fff; }
.topbar .brand { margin: 0; color: #fff; gap: 8px; }
.topbar .brand svg { width: 28px; height: 28px; }
.topbar .brand svg rect:first-child { fill: rgba(255, 255, 255, .1); }
.topbar .brand b { color: #fff; font-size: 1.12rem; }
.topbar-icon { margin-left: auto; position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--night-ink); }
.topbar-icon svg { width: 22px; height: 22px; }
.topbar-icon .badge { position: absolute; top: 2px; right: 0; margin: 0; min-width: 18px; padding: 0 4px; font-size: .7rem; line-height: 18px; box-shadow: 0 0 0 2px var(--night); }
.topbar-me .avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #2F78C4, var(--night-2)); color: #fff; font: 800 .78rem/1 var(--wide); font-stretch: 112%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.topbar-me { text-decoration: none; }
@media (min-width: 960px) { .topbar { display: none; } }
@media print { .topbar { display: none; } }
body.cockpit .topbar { display: none; }

/* Die Hauptaktion: beleuchtetes Rollhalteschild */
.taxi { border: 0; border-radius: 12px; padding: 13px 22px; background: linear-gradient(180deg, #FF7433, var(--taxi) 55%, #F25210); color: var(--taxi-ink);
  box-shadow: inset 0 0 0 2px rgba(11, 27, 43, .9), inset 0 3px 0 rgba(255, 255, 255, .32), 0 10px 24px -10px rgba(255, 91, 20, .75), 0 2px 4px rgba(11, 27, 43, .12);
  transition: transform .12s, box-shadow .15s, filter .15s; }
.taxi:hover { filter: saturate(1.08) brightness(1.03); box-shadow: inset 0 0 0 2px rgba(11, 27, 43, .9), inset 0 3px 0 rgba(255, 255, 255, .32), 0 14px 30px -10px rgba(255, 91, 20, .85), 0 2px 4px rgba(11, 27, 43, .12); }
.taxi:active { transform: translateY(1px) scale(.995); }
.rail .taxi.rail-cta { margin: 0 0 18px; padding: 12px 14px; font-size: 1.18rem; box-shadow: inset 0 0 0 2px rgba(11, 27, 43, .9), inset 0 3px 0 rgba(255, 255, 255, .32), 0 0 0 4px rgba(255, 91, 20, .14), 0 12px 28px -10px rgba(255, 91, 20, .9); }

/* Mobile Leiste: Glas statt Fläche */
.tabbar { background: color-mix(in srgb, var(--surface) 86%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
  border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); box-shadow: 0 -8px 24px -18px rgba(15, 30, 51, .35); }
.tabbar a[aria-current="page"] { color: var(--ink); }
.tabbar a[aria-current="page"] svg { color: var(--taxi); }
.tabbar a.go span.knob { width: 62px; height: 62px; border-radius: 20px; border: 0; background: linear-gradient(180deg, #FF7433, var(--taxi) 55%, #F25210);
  box-shadow: inset 0 0 0 2px rgba(11, 27, 43, .9), inset 0 3px 0 rgba(255, 255, 255, .32), 0 0 0 5px var(--apron), 0 12px 24px -8px rgba(255, 91, 20, .8); }

/* ---------- Schilder und Kopfzeilen ---------- */
.pagehead { margin: 0 0 24px; }
.plate { border-radius: 8px; padding: 10px 16px 9px; background: linear-gradient(180deg, #154A73, var(--plate)); font-stretch: 116%;
  box-shadow: inset 0 -4px 0 var(--taxi), inset 0 1px 0 rgba(255, 255, 255, .14), 0 6px 16px -8px rgba(14, 58, 92, .7); }
.pagehead .sub { font-size: .95rem; }

/* ---------- Flächen ---------- */
.panel { border-radius: var(--radius-l); padding: 22px; border-color: var(--line-2); box-shadow: var(--e1); }
.panel + .panel, .stack > * + * { margin-top: 18px; }
.grid { gap: 18px; }
.panel h2 { font: 750 1.1rem/1.25 var(--wide); font-stretch: 108%; letter-spacing: -.01em; margin-bottom: .7em; }
.panel h2 a { font-family: var(--body); font-weight: 600; font-size: .86rem; text-decoration: none; }
.panel h2 a:hover { text-decoration: underline; }
.panel h3 { font-size: 1rem; }
details.panel > summary { list-style: none; }
details.panel > summary::-webkit-details-marker { display: none; }

.flash { border-radius: var(--radius); border: 1px solid var(--line-2); border-left: 4px solid; box-shadow: var(--e1); padding: 13px 16px; }
.flash.good { border-left-color: var(--go); background: linear-gradient(90deg, color-mix(in srgb, var(--go-bg) 80%, var(--surface)), var(--surface) 70%); }
.flash.warn { border-left-color: var(--caution-lamp); background: linear-gradient(90deg, color-mix(in srgb, var(--caution-bg) 80%, var(--surface)), var(--surface) 70%); }
.flash.alert { border-left-color: var(--stop); background: linear-gradient(90deg, color-mix(in srgb, var(--stop-bg) 80%, var(--surface)), var(--surface) 70%); }
.flash.info { border-left: 4px solid var(--sky); background: linear-gradient(90deg, color-mix(in srgb, var(--sky) 10%, var(--surface)), var(--surface) 70%); }
p.flash { max-width: none; }

/* ---------- Knöpfe ---------- */
.btn { border-radius: 10px; min-height: 44px; padding: 0 16px; font-weight: 700; letter-spacing: .005em; border-color: var(--line); box-shadow: var(--e1); transition: background .15s, border-color .15s, box-shadow .15s, transform .12s; }
.btn:hover { border-color: color-mix(in srgb, var(--ink-2) 55%, var(--line)); background: var(--surface-2); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 0; box-shadow: var(--ring); }
.btn.primary { background: linear-gradient(180deg, #1B3352, var(--ink)); border-color: var(--ink); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 6px 16px -8px rgba(15, 30, 51, .6); }
.btn.primary:hover { background: linear-gradient(180deg, #223D61, #13253F); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn.primary { background: linear-gradient(180deg, #F2F6FB, #D9E3EF); color: #0F1E33; border-color: #D9E3EF; } }
:root[data-theme="dark"] .btn.primary { background: linear-gradient(180deg, #F2F6FB, #D9E3EF); color: #0F1E33; border-color: #D9E3EF; }
.btn.quiet { box-shadow: none; }
.btn.quiet:hover { background: color-mix(in srgb, var(--sky) 8%, transparent); }
.btn.small { min-height: 34px; border-radius: 8px; }
.btn.danger { box-shadow: 0 6px 16px -10px rgba(196, 48, 43, .8); }

/* ---------- Formulare ---------- */
label { font-weight: 700; font-size: .88rem; color: var(--ink-2); margin-bottom: 6px; }
input:not([type]), input[type=text], input[type=email], input[type=password], input[type=date], input[type=time], input[type=number], input[type=search], input[type=url], input[type=tel], select, textarea {
  min-height: 46px; padding: 10px 13px; border-radius: 10px; border-color: var(--line); background: var(--surface); box-shadow: inset 0 1px 2px rgba(15, 30, 51, .04); transition: border-color .15s, box-shadow .15s; }
input:hover, select:hover, textarea:hover { border-color: color-mix(in srgb, var(--ink-2) 40%, var(--line)); }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--focus); box-shadow: var(--ring); }
select { appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235B6C83' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
select[multiple] { background-image: none; padding-right: 13px; }
input[type=checkbox], input[type=radio] { accent-color: var(--ink); }
.seg label { border-radius: 10px; padding: 10px 14px; transition: background .15s, border-color .15s; }
.seg input:checked + label { background: linear-gradient(180deg, #1B3352, var(--ink)); box-shadow: 0 6px 14px -8px rgba(15, 30, 51, .7); }
.chips .check-row { border-radius: 999px; padding: 7px 12px; }
.dropzone { border-radius: var(--radius); background: color-mix(in srgb, var(--sky) 4%, var(--surface)); border-color: color-mix(in srgb, var(--sky) 35%, var(--line)); }

/* ---------- Status und Instrumente ---------- */
.lamp { border-radius: var(--radius-l); padding: 18px; box-shadow: var(--e1); }
.lamp .light { width: 48px; height: 48px; border-radius: 14px; position: relative; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), inset 0 -6px 12px rgba(0, 0, 0, .12); }
.lamp.green .light { background: radial-gradient(circle at 50% 35%, #3FBF76, var(--go)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 0 22px -4px rgba(31, 138, 76, .75); }
.lamp.amber .light { background: radial-gradient(circle at 50% 35%, #FFC23D, var(--caution-lamp)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), 0 0 22px -4px rgba(240, 162, 2, .8); }
.lamp.red .light { background: radial-gradient(circle at 50% 35%, #E5524C, var(--stop)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 0 22px -4px rgba(196, 48, 43, .8); }
.check { border-radius: var(--radius); box-shadow: var(--e1); }
.lampdot.green, .fleet-chips .lampdot { box-shadow: 0 0 8px rgba(31, 138, 76, .7); }
.lampdot.amber { box-shadow: 0 0 8px rgba(240, 162, 2, .8); }
.lampdot.red, .fleet-chips li.red .lampdot { box-shadow: 0 0 8px rgba(196, 48, 43, .7); }
.meter .track, .hbar .track, .bar, .progress.slim, .quota-bar, .onboarding .progress { background: color-mix(in srgb, var(--line-2) 85%, var(--surface-2)); }
.meter .fill, .hbar .fill { background: linear-gradient(90deg, var(--night-2), #2F78C4); }
.onboarding .progress i, .bar > span { background: linear-gradient(90deg, #1F8A4C, #3FBF76); }
.ring { background: conic-gradient(var(--taxi) calc(var(--p) * 1%), var(--line-2) 0); box-shadow: 0 6px 18px -10px rgba(255, 91, 20, .7); }

/* Kennzahlen */
.figures, .tracker .readouts { border-radius: var(--radius-l); box-shadow: var(--e1); }
.figures div { padding: 14px 16px; }
.figures dd { font-size: 2rem; letter-spacing: .005em; }
.fin-figures { gap: 12px; }
.fin-figures .fig { border-radius: var(--radius-l); padding: 15px 16px; box-shadow: var(--e1); transition: border-color .15s, box-shadow .15s, transform .15s; }
.fin-figures a.fig:hover { box-shadow: var(--e2); transform: translateY(-1px); }
.fin-figures .fig b { font-size: 1.65rem; }

/* Tabellen */
.ledger-wrap, .table-wrap:has(table.ledger) { border-radius: var(--radius); }
.ledger-wrap { box-shadow: var(--e1); }
table.ledger th { background: var(--surface-2); border-bottom: 1px solid var(--line); color: var(--muted); font-size: .82rem; letter-spacing: .02em; padding: 11px 12px; }
table.ledger td { padding: 11px 12px; }
table.ledger tbody tr { transition: background .12s; }
table.ledger tr:hover td { background: color-mix(in srgb, var(--sky) 4%, var(--surface)); }
.tag { border-radius: 6px; padding: 4px 7px; }
.tag.draft { background: var(--taxi); border-color: rgba(11, 27, 43, .85); }

/* Listen und Kacheln */
.tiles a, .club-list a, .flight-list li a, .kiosk-item, .tech-ac, .tank, .my-duty, .my-balance { border-radius: var(--radius-l); transition: border-color .15s, box-shadow .15s, transform .15s; }
.tiles a { padding: 16px 18px; }
.tiles a:hover, .club-list a:hover, .flight-list li a:hover, .kiosk-item:hover { border-color: color-mix(in srgb, var(--ink-2) 35%, var(--line)); box-shadow: var(--e2); transform: translateY(-1px); }
.tiles a svg { color: var(--sky); }
.flight-list li a { box-shadow: var(--e1); }
.week-strip li, .duty-slot, .res, .fleet-chips li, .event-date { border-radius: var(--radius); }
.week-strip li { background: var(--surface); box-shadow: var(--e1); }

/* Verein: Schild und Reiter */
.club-head .plate { font-size: 1.3rem; }
.subnav-wrap { box-shadow: inset 0 -1px 0 var(--line-2); }
.subnav a, .subnav-more > summary { font-weight: 650; color: var(--muted); border-bottom-width: 3px; padding: 11px 12px; transition: color .15s; }
.subnav a:hover, .subnav-more > summary:hover { color: var(--ink); }
.subnav a[aria-current], .subnav-more > summary[aria-current] { color: var(--ink); border-bottom-color: var(--taxi); }
.subnav-menu { border-radius: var(--radius); box-shadow: var(--e2); padding: 8px; }
.fin-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--taxi); }

/* Startliste: Flugstreifen */
.ops-card { border-radius: var(--radius); box-shadow: var(--e1); grid-template-columns: 6px 1fr auto; }
.ops-card.in_luft { box-shadow: 0 0 0 1px color-mix(in srgb, var(--caution-lamp) 55%, transparent), 0 10px 26px -14px rgba(240, 162, 2, .8); }
.ops-card.in_luft .ops-lamp { background: linear-gradient(180deg, #FFC23D, var(--caution-lamp)); box-shadow: 0 0 14px rgba(240, 162, 2, .7); }
.ops-card.gelandet .ops-lamp { background: linear-gradient(180deg, #3FBF76, var(--go)); }
.ops-reg { font-family: var(--wide); font-weight: 800; font-stretch: 112%; letter-spacing: -.01em; }
.ops-counters span { border-radius: 999px; padding: 7px 12px; box-shadow: var(--e1); }
.ops-counters span.air { box-shadow: 0 0 16px -2px rgba(240, 162, 2, .7); }
.ops-act .btn.big { border-radius: 12px; background: linear-gradient(180deg, #1B3352, var(--ink)); }
.ops-act .btn.land { border: 0; background: linear-gradient(180deg, #FF7433, var(--taxi) 55%, #F25210); color: var(--taxi-ink); box-shadow: inset 0 0 0 2px rgba(11, 27, 43, .9), 0 10px 22px -10px rgba(255, 91, 20, .8); }
.ops-today { border-radius: var(--radius-l); border-left-width: 1px; position: relative; overflow: hidden; padding-left: 24px; }
.ops-today::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--line); }
.ops-today.open::before { background: linear-gradient(180deg, #3FBF76, var(--go)); }
.ops-today.flying::before { background: linear-gradient(180deg, #FFC23D, var(--caution-lamp)); }
.balance-plate { border-radius: var(--radius-l); border-left-width: 1px; position: relative; overflow: hidden; padding-left: 28px; }
.balance-plate::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: linear-gradient(180deg, #3FBF76, var(--go)); }
.balance-plate.owe::before { background: linear-gradient(180deg, #FFC23D, var(--caution-lamp)); }

dialog.sheet { border-radius: 20px; box-shadow: var(--e3); padding: 22px; }
dialog.sheet::backdrop { background: rgba(6, 15, 28, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.toast { border-radius: 14px; box-shadow: var(--e3); }
.ac-list { border-radius: var(--radius); box-shadow: var(--e2); padding: 6px; }
.ac-list li { border-radius: 8px; }
.plan { border-radius: var(--radius-l); }
.plan-main { box-shadow: 6px 6px 0 var(--taxi), var(--e2); }
.empty { padding: 36px 16px; }
.empty svg { color: color-mix(in srgb, var(--sky) 55%, var(--muted)); }
.stamp { border-radius: 10px; }
.emergency-call { border-radius: var(--radius-l); box-shadow: 0 14px 30px -14px rgba(179, 38, 30, .9); }

/* ---------- Anmeldung: links das Versprechen, rechts das Formular ---------- */
.bare { background: radial-gradient(900px 420px at 50% -160px, color-mix(in srgb, var(--sky) 12%, transparent), transparent 70%); }
.bare .card { background: transparent; }
.auth-split { min-height: 100vh; display: grid; grid-template-columns: 1fr; }
.auth-aside { display: none; }
@media (min-width: 980px) {
  .auth-split { grid-template-columns: minmax(420px, 46%) 1fr; }
  .auth-split > .bare { min-height: 100vh; }
  .auth-aside { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 44px 52px; color: var(--night-ink);
    background: var(--chart) right -160px bottom -180px / 760px no-repeat, radial-gradient(520px 320px at 10% 0, rgba(47, 120, 196, .35), transparent 70%), linear-gradient(170deg, var(--night-2), var(--night) 70%); position: relative; overflow: hidden; }
}
.auth-aside .brand { margin: 0; color: #fff; }
.auth-aside .brand b { color: #fff; }
.auth-aside h2 { font: 800 clamp(2rem, 3.2vw, 2.9rem)/1.02 var(--wide); font-stretch: 118%; letter-spacing: -.025em; color: #fff; margin: 0 0 18px; max-width: 14ch; }
.auth-aside h2 span { display: block; color: var(--taxi); }
.auth-aside p { color: var(--night-ink); opacity: .86; font-size: 1.04rem; max-width: 40ch; }
.auth-aside ul { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.auth-aside li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; color: var(--night-ink); }
.auth-aside li svg { width: 22px; height: 22px; color: var(--taxi); margin-top: 1px; }
.auth-aside li b { color: #fff; }
.auth-aside .strip { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); max-width: 440px; }
.auth-aside .strip .reg { font: 800 1.3rem/1 var(--wide); font-stretch: 112%; color: #fff; }
.auth-aside .strip .t { font: 600 1.15rem/1 var(--cond); color: var(--night-ink); font-variant-numeric: tabular-nums; }
.auth-aside .strip .ok { font: 700 .78rem/1 var(--body); padding: 6px 9px; border-radius: 999px; background: rgba(63, 191, 118, .16); color: #7FE0A6; }
.auth-aside small { color: var(--night-muted); }
@media (min-width: 980px) { .auth-split .bare .card > .brand { display: none; } }
.bare .card:not(.wide) { max-width: 460px; }
.bare .card > .panel, .bare .card > section.panel { border-radius: 20px; box-shadow: var(--e2); padding: 26px; }
.hero-line { font-stretch: 116%; letter-spacing: -.02em; font-size: 2rem; }

@media (prefers-reduced-motion: reduce) { .taxi, .btn, .tiles a, .fin-figures .fig { transition: none !important; } }
@media print { body { background: #fff; } .rail { display: none !important; } }

/* Verwaltung › Texte (0.20) */
.row-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.row-form > div { min-width: 0; }
.row-form .grow { flex: 1 1 260px; }
.row-form .grow input, .row-form .grow textarea { width: 100%; }
.text-row { padding: 14px 0 4px; border-top: 1px solid var(--line, #dfe5ec); }
.text-row:first-of-type { border-top: 0; }
