/* Seatfinder 2.0 – Gestaltung nach lufthansa.com (ausgelesen 24.10.2026):
   Dunkelblau #05164D (Kopf, Text), Gelb #FFAD00 mit dunkelblauer fetter Schrift (Hauptknopf), Flächen Weiß und #F4F4F4,
   Linien #CCCCCC/#E6E6E6, Zweittext #52627C, Fehler #CC0000, Ecken 4 px, Überschriften leicht (300), Felder mit Unterstrich.
   Hausschrift „Lufthansa Head/Text“ ist lizenzpflichtig -> Systemschrift in gleichen Stärken. Bewusst nur helles Design. */
:root {
  --navy: #05164d; --navy-2: #0a2366; --yellow: #ffad00; --yellow-h: #f29e00;
  --bg: #f4f4f4; --white: #ffffff; --line: #e1e3e8; --line-2: #cccccc; --text: #05164d; --text-2: #52627c; --text-3: #7a869c;
  --ok: #0a7f3f; --ok-bg: #e6f4ec; --warn: #8a5300; --warn-bg: #fff4dc; --err: #cc0000; --err-bg: #fbe9e9; --info-bg: #eef2fa;
  --r: 4px; --shadow: 0 1px 2px rgba(5,22,77,.06);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-head: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 14px/1.45 var(--font); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
a { color: var(--navy); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
[hidden] { display: none !important; }

/* Kopfleiste wie lufthansa.com */
.top { position: sticky; top: 0; z-index: 20; background: var(--white); color: var(--navy); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.top-in { max-width: 1200px; margin: 0 auto; height: 60px; display: flex; align-items: center; gap: 28px; padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; flex: none; }
.brand-logo { height: 23px; width: auto; display: block; }
.brand-sep { width: 1px; height: 22px; background: var(--line-2); }
.brand-name { font: 300 18px/1 var(--font-head); letter-spacing: .01em; }
.topnav { display: none; gap: 4px; flex: 1; }
.topnav a { color: var(--text-2); text-decoration: none; font-weight: 700; font-size: 15px; padding: 19px 12px; border-bottom: 3px solid transparent; }
.topnav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--yellow); }
.topnav a:hover { color: var(--navy); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--ok); background: var(--ok-bg); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.live.late { color: var(--warn); background: var(--warn-bg); } .live.late i { background: var(--yellow); } .live.off { color: var(--err); background: var(--err-bg); } .live.off i { background: var(--err); }
/* Aufklappmenüs oben rechts */
.dd { position: relative; }
button.live { border: 0; cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; }
.acct { display: flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--navy); cursor: pointer; padding: 4px 8px 4px 4px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.acct:hover, .acct[aria-expanded="true"] { background: var(--info-bg); }
.acct svg { width: 14px; height: 14px; transform: rotate(90deg); color: var(--text-3); transition: transform .15s; }
.acct[aria-expanded="true"] svg { transform: rotate(-90deg); }
.acct-name { display: none; }
.menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 50; min-width: 260px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 10px 30px rgba(5,22,77,.16); padding: 6px 0; }
.menu-h { padding: 10px 16px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; } .menu-h b { display: block; font-size: 15px; } .menu-h span { font-size: 12.5px; color: var(--text-2); }
.menu [role=menuitem] { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 16px; min-height: 44px; border: 0; background: none; color: var(--navy); text-decoration: none; font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.menu [role=menuitem]:hover, .menu [role=menuitem]:focus-visible { background: #f1f3f7; outline: none; }
.menu [role=menuitem] svg { width: 20px; height: 20px; color: var(--text-2); flex: none; }
.menu-sep { height: 1px; background: var(--line); margin: 6px 0; }
.menu-kv { display: flex; justify-content: space-between; gap: 16px; padding: 6px 16px; font-size: 13px; } .menu-kv span { color: var(--text-2); }
/* Platzhalter beim Laden */
.skel { display: grid; gap: 16px; padding-top: 26px; } .skel i { display: block; height: 18px; border-radius: var(--r); background: linear-gradient(90deg, #e9ecf1 0%, #f5f6f8 50%, #e9ecf1 100%); background-size: 200% 100%; animation: skel 1.2s ease-in-out infinite; }
.skel i.h { height: 34px; width: 40%; } .skel i.b { height: 120px; } .skel i.s { width: 60%; }
@keyframes skel { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); color: var(--navy); font-weight: 700; display: grid; place-items: center; text-decoration: none; font-size: 13px; flex: none; }

/* Seite */
.page { max-width: 1200px; margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-right, 0px)) calc(96px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); outline: none; }
.head { padding: 26px 0 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.head h1 { margin: 0; font: 300 28px/1.15 var(--font-head); letter-spacing: -.01em; }
.head p { margin: 4px 0 0; color: var(--text-2); font-size: 14px; }
.grid2 { display: grid; gap: 16px; }
.col { display: grid; gap: 16px; align-content: start; min-width: 0; grid-template-columns: minmax(0, 1fr); }
.col > * { min-width: 0; }
h2.sec { margin: 6px 0 -6px; font: 700 15px/1.3 var(--font); display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
h2.sec small { font-weight: 400; font-size: 12.5px; color: var(--text-3); }

/* Bausteine */
.box { background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid var(--line); }
.pad { padding: 16px 18px; }
.rows > * + * { border-top: 1px solid var(--line); }
.notice { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 18px; border-left: 4px solid var(--navy); }
.notice.ok { border-left-color: var(--ok); } .notice.go { border-left-color: var(--ok); background: var(--ok-bg); } .notice.warn { border-left-color: var(--yellow); } .notice.err { border-left-color: var(--err); }
.notice .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--info-bg); display: grid; place-items: center; color: var(--navy); }
.notice.ok .ic, .notice.go .ic { background: var(--ok); color: #fff; } .notice.warn .ic { background: var(--warn-bg); color: var(--warn); }
.notice h3 { margin: 0; font: 700 17px/1.3 var(--font); } .notice p { margin: 4px 0 0; color: var(--text-2); }
.meta { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 12.5px; color: var(--text-3); margin-top: 10px; } .meta b { color: var(--text-2); font-weight: 700; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: var(--r); border: 0; background: var(--yellow); color: var(--navy); font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--yellow-h); }
.btn.sec { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.btn.sec:hover { background: var(--info-bg); }
.btn.danger { background: var(--white); color: var(--err); box-shadow: inset 0 0 0 1px var(--err); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: default; }
.link-btn { border: 0; background: none; color: var(--navy); font-weight: 700; cursor: pointer; padding: 8px 0; min-height: 40px; }
.pill { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 2px; background: #eceef2; color: var(--text-2); white-space: nowrap; }
.pill.ok { background: var(--ok); color: #fff; } .pill.own { background: var(--navy); color: #fff; } .pill.warn { background: var(--warn-bg); color: var(--warn); } .pill.soft-ok { background: var(--ok-bg); color: var(--ok); }
.st-none { font-size: 12.5px; color: var(--text-3); white-space: nowrap; }
.muted { color: var(--text-3); } .small { font-size: 12.5px; }
.empty { padding: 26px 18px; text-align: center; color: var(--text-2); } .empty b { display: block; color: var(--text); font-size: 15px; margin-bottom: 4px; }

/* Tage und Flüge */
.day { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto 16px; gap: 12px; align-items: center; padding: 14px 18px; border: 0; background: none; text-align: left; cursor: pointer; }
.day:hover { background: #fafbfc; }
.day b { display: block; font-size: 15px; } .day i { font-style: normal; font-size: 12.5px; color: var(--text-3); }
.chev { color: var(--text-3); transition: transform .15s; } .day[aria-expanded="true"] .chev { transform: rotate(90deg); }
.flights { background: #fafbfc; }
.fl { width: 100%; display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 18px; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; cursor: pointer; }
.fl:hover { background: #f1f3f7; }
.fl .t b { display: block; font-size: 15px; } .fl .t i { font-style: normal; font-size: 12px; color: var(--text-3); white-space: nowrap; } .fl .t sup { font-size: 9.5px; font-weight: 700; margin-left: 1px; }
.fl .m b { display: block; font-size: 14px; } .fl .m i { display: block; font-style: normal; font-size: 12.5px; color: var(--text-2); } .fl .m em { display: block; font-style: normal; font-size: 12px; color: var(--ok); font-weight: 700; margin-top: 2px; }

/* Tage als eigene Karten; geöffneter Tag: Kopf bleibt beim Scrollen oben stehen */
.days { display: grid; gap: 12px; }
.daycard .day { border-radius: var(--r); }
.daycard.open .day { position: sticky; top: calc(61px + env(safe-area-inset-top, 0px)); z-index: 5; background: var(--white); border-radius: var(--r) var(--r) 0 0; box-shadow: 0 1px 0 var(--line); }
.daycard.open .day b { font-size: 16px; }
.daycard .flights { background: var(--white); border-radius: 0 0 var(--r) var(--r); }
.grp { display: flex; justify-content: space-between; padding: 14px 18px 6px; border-top: 1px solid var(--line); font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-2); }
.grp i { font-style: normal; font-weight: 400; color: var(--text-3); letter-spacing: 0; }
.flights .grp:first-child { border-top: 0; }
.grp + .fl { border-top: 0; }

/* Bordkarte */
.pass { background: var(--navy); color: #fff; border-radius: var(--r); overflow: hidden; }
.pass-h { display: flex; justify-content: space-between; padding: 14px 18px 0; font-size: 12px; color: rgba(255,255,255,.75); } .pass-h b { color: #fff; letter-spacing: .08em; font-size: 11.5px; }
.pass-r { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 8px; padding: 10px 18px 14px; }
.pass-r .ap { font: 300 34px/1 var(--font-head); } .pass-r .ap small { display: block; font: 400 12px/1.3 var(--font); color: rgba(255,255,255,.75); margin-top: 6px; } .pass-r .ap em { display: block; font: 700 15px/1.2 var(--font); font-style: normal; margin-top: 2px; }
.pass-r .to { text-align: right; } .pass-r .mid { color: var(--yellow); text-align: center; font-size: 11.5px; padding-bottom: 18px; }
.pass-f { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 12px 18px 16px; border-top: 1.5px dashed rgba(255,255,255,.25); }
.pass-f span { display: block; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.6); } .pass-f b { font-size: 13.5px; } .pass-f .ok { color: #7ee2a8; }
.pass-etix { background: var(--yellow); color: var(--navy); font-weight: 700; font-size: 13px; padding: 10px 18px; }
.kv > div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 18px; font-size: 13.5px; } .kv span { color: var(--text-2); text-align: right; }

/* Tabelle */
.tbl-wrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: 13px; }
table.t th, table.t td { padding: 9px 10px; text-align: right; border-top: 1px solid var(--line); white-space: nowrap; }
table.t thead th { white-space: normal; vertical-align: bottom; border-top: 0; font-size: 11px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .04em; }
table.t th:first-child, table.t td:first-child { text-align: left; }
table.t tr.hl td, table.t tr.hl th { font-weight: 700; } table.t td.ok { color: var(--ok); font-weight: 700; } table.t td.warn { color: var(--warn); }
table.t.left td, table.t.left th { text-align: left; }

/* Finder */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line-2); overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 11px 16px; font-weight: 700; color: var(--text-2); border-bottom: 3px solid transparent; cursor: pointer; white-space: nowrap; min-height: 44px; }
.tabs button[aria-pressed="true"] { color: var(--navy); border-bottom-color: var(--yellow); }
.mx { display: grid; grid-template-columns: 52px repeat(var(--n), minmax(0, 160px)); gap: 6px; padding: 14px 16px; align-items: center; }
.mx .hd { text-align: center; font-size: 11.5px; color: var(--text-3); font-weight: 700; } .mx .rl { font-weight: 700; font-size: 13px; }
.mx button { height: 40px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); font-weight: 700; color: var(--text-3); cursor: pointer; }
.mx button.g1 { background: var(--ok-bg); color: var(--ok); border-color: #bfe3cd; } .mx button.g2 { background: var(--ok); color: #fff; border-color: var(--ok); }
.mx button.own { background: var(--navy); color: #fff; border-color: var(--navy); } .mx button.sel { box-shadow: 0 0 0 2px var(--yellow); }

/* Formulare */
.form { display: grid; gap: 18px; padding: 18px; }
.field { display: grid; gap: 4px; } .field > span { font-size: 12px; font-weight: 700; color: var(--text-2); }
.field input, .field select { font: inherit; font-size: 16px; color: var(--text); border: 0; border-bottom: 1px solid var(--navy); border-radius: 0; background: transparent; padding: 8px 0; min-height: 40px; outline: none; }
.field input:focus, .field select:focus { border-bottom: 2px solid var(--navy); }
.field .hint { font-size: 12px; color: var(--text-3); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; border-bottom: 1px solid var(--navy); padding: 6px 0; min-height: 44px; }
.chips .chip { display: inline-flex; align-items: center; gap: 6px; background: var(--info-bg); padding: 4px 6px 4px 10px; border-radius: 2px; font-weight: 700; font-size: 13px; }
.chips .chip button { border: 0; background: none; cursor: pointer; color: var(--text-2); width: 22px; height: 22px; }
.chips input { border: 0 !important; flex: 1; min-width: 90px; padding: 4px 0 !important; min-height: 30px !important; }
.check { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; } .check input { width: 20px; height: 20px; accent-color: var(--navy); }
.daterow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.err-box { background: var(--err-bg); color: var(--err); padding: 10px 12px; border-radius: var(--r); font-size: 13.5px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.switch { position: relative; width: 48px; height: 28px; border-radius: 999px; border: 0; background: #c9ced8; cursor: pointer; flex: none; }
.switch i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.switch[aria-checked="true"] { background: var(--ok); } .switch[aria-checked="true"] i { transform: translateX(20px); }
.setrow { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; } .setrow b { display: block; font-size: 14px; } .setrow span { font-size: 12.5px; color: var(--text-2); }
.seg { display: inline-flex; border: 1px solid var(--navy); border-radius: var(--r); overflow: hidden; } .seg { flex: none; } .seg button { min-width: 44px; white-space: nowrap; border: 0; background: var(--white); color: var(--navy); font-weight: 700; padding: 8px 12px; min-height: 38px; cursor: pointer; } .seg button + button { border-left: 1px solid var(--navy); } .seg button[aria-pressed="true"] { background: var(--navy); color: #fff; }

/* Konto und Sicherheit */
.subtabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line-2); margin: 0 0 22px; overflow-x: auto; }
.subtabs a { padding: 10px 14px; font-weight: 700; color: var(--text-2); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.subtabs a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--yellow); }
.acct-body { display: grid; gap: 30px; max-width: 900px; }
.acct-body section { display: grid; gap: 12px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; font: 700 17px/1.3 var(--font); } .sec-head p { margin: 3px 0 0; font-size: 13px; color: var(--text-2); max-width: 560px; }
.sec-sum { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 20px; }
.sec-sum h3 { margin: 2px 0 10px; font: 700 17px/1.3 var(--font); }
.sec-shield { width: 48px; height: 48px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; } .sec-shield.warn { background: var(--warn-bg); color: var(--warn); }
.sec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13.5px; color: var(--text); }
.sec-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; align-items: start; }
.sec-ok, .sec-warn { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; margin-top: 1px; }
.sec-ok { background: var(--ok); color: #fff; } .sec-warn { background: var(--yellow); color: var(--navy); }
.setrow .grow { flex: 1; min-width: 0; }
.pk-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--info-bg); color: var(--navy); display: grid; place-items: center; flex: none; }
.row-acts { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.link-btn.danger-t { color: var(--err); }
.pk-rename { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .pk-rename input { font: inherit; font-size: 16px; border: 0; border-bottom: 1px solid var(--navy); padding: 6px 0; min-width: 200px; flex: 1; background: none; color: var(--text); outline: none; }

/* Detail-Blatt */
.sheet { position: fixed; inset: 0; z-index: 40; background: var(--bg); overflow-y: auto; padding-top: env(safe-area-inset-top, 0px); }
.sheet-bar { position: sticky; top: 0; z-index: 2; background: var(--white); color: var(--navy); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 54px; padding: 0 16px; }
.sheet-bar .link-btn { color: var(--navy); justify-self: start; } .sheet-bar b { font-size: 16px; }
.sheet-body > * { min-width: 0; }
.sheet-body { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin: 0 auto; padding: 16px max(16px, env(safe-area-inset-right, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); display: grid; gap: 14px; }
.verdict { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; } .verdict span { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); } .verdict b { font-size: 16px; }
.verdict.ok { background: var(--ok); border-color: var(--ok); color: #fff; } .verdict.ok span { color: rgba(255,255,255,.8); } .verdict.own { background: var(--navy); border-color: var(--navy); color: #fff; } .verdict.own span { color: rgba(255,255,255,.7); }
.chart { width: 100%; height: auto; display: block; } .chart .ln { fill: none; stroke: var(--navy); stroke-width: 2; } .chart .base { stroke: var(--line); } .chart text { font-size: 10.5px; fill: var(--text-3); }
.links { display: flex; gap: 8px; flex-wrap: wrap; } .links a { font-size: 13px; font-weight: 700; padding: 8px 12px; border: 1px solid var(--navy); border-radius: var(--r); text-decoration: none; }

/* Unten: Tab-Leiste (Telefon) */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--white); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); padding: 4px max(4px, env(safe-area-inset-right, 0px)) calc(4px + env(safe-area-inset-bottom, 0px)) max(4px, env(safe-area-inset-left, 0px)); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; min-height: 48px; justify-content: center; color: var(--text-3); text-decoration: none; font-size: 10.5px; font-weight: 700; position: relative; }
.tabbar a[aria-current="page"] { color: var(--navy); } .tabbar a[aria-current="page"]::before { content: ""; position: absolute; top: -4px; left: 30%; right: 30%; height: 3px; background: var(--yellow); }
.badge { position: absolute; top: 2px; left: calc(50% + 6px); min-width: 16px; height: 16px; border-radius: 8px; background: var(--err); color: #fff; font-size: 10px; line-height: 16px; text-align: center; padding: 0 4px; }

/* Anmeldung */
.auth { min-height: 100vh; display: grid; grid-template-rows: auto 1fr; }
.auth-hero { background: var(--white); color: var(--navy); border-bottom: 1px solid var(--line); padding: calc(env(safe-area-inset-top, 0px) + 36px) 20px 80px; }
.auth-hero .in { max-width: 440px; margin: 0 auto; } .auth-hero h1 { font: 300 32px/1.15 var(--font-head); margin: 30px 0 6px; } .auth-hero p { margin: 0; color: var(--text-2); }
.auth-card { max-width: 440px; width: calc(100% - 32px); margin: -50px auto 40px; padding: 24px 20px; display: grid; gap: 14px; align-content: start; height: max-content; }
.auth-card p { margin: 0; color: var(--text-2); font-size: 13.5px; }
.page.page-auth { max-width: none; padding: 0; }
.faceid svg { width: 34px; height: 34px; }
.faceid { width: 64px; height: 64px; border-radius: 12px; background: var(--navy); color: var(--yellow); display: grid; place-items: center; margin: 0 auto; }
.toast { position: fixed; left: 50%; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r); font-weight: 700; z-index: 60; max-width: calc(100% - 32px); }
.copy { display: flex; gap: 8px; align-items: center; } .copy input { flex: 1; font: inherit; font-size: 13px; padding: 10px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fafbfc; min-width: 0; }

/* Telefon: Flugzeile zweizeilig, Status unter dem Text */
.only-d { display: none; }
@media (max-width: 599px) {
  .fl { grid-template-columns: 66px minmax(0, 1fr); column-gap: 10px; row-gap: 6px; padding: 12px 16px; }
  .fl .t i { font-size: 11.5px; }
  table.t { font-size: 12.5px; } table.t th, table.t td { padding: 8px 6px; } table.t thead th { white-space: normal; vertical-align: bottom; font-size: 10px; }
  .fl > .pill { grid-column: 2; justify-self: start; }
  .day { padding: 14px 16px; }
  .setrow { flex-wrap: wrap; }
  .head h1 { font-size: 26px; }
  .top-in { gap: 12px; } .brand { gap: 9px; } .brand-logo { height: 20px; } .brand-name { font-size: 16px; }
  .top-right { gap: 8px; } .acct { padding: 0; } .acct svg { display: none; }
}
/* Desktop */
@media (min-width: 900px) {
  .topnav { display: flex; }
  .only-d { display: block; } .only-m { display: none; }
  .acct-name { display: inline; }
  .tabbar { display: none; }
  .page { padding-bottom: 48px; }
  .head h1 { font-size: 34px; }
  .grid2 { grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr); gap: 24px; align-items: start; }
  .sheet { left: auto; width: min(720px, calc(100vw - 80px), max(620px, 50vw)); box-shadow: -12px 0 40px rgba(5,22,77,.18); }
  .toast { bottom: 24px; }
}
@media (max-width: 380px) { .pass-f { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pass-r .ap { font-size: 28px; } .brand-name { font-size: 16px; } .brand-logo { height: 19px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
