/* TerminPilot Premium 1.3.0 - Admin-Bereich */

/* Grundlagen */
:root {
  --brand: #0B9B8B;
  --brand-soft: #E7F5F3;
  --brand-deep: color-mix(in srgb, var(--brand) 74%, #04202a);
  --ink: #0d2236;
  --ink-2: #33475b;
  --muted: #5d6d7e;
  --line: #e3e9ee;
  --bg: #f4f6f8;
  --navy: #0b1f33;
  --navy-2: #12304a;
  --ok: #137a58; --ok-bg: #e9f9f1;
  --warn: #8a5a00; --warn-bg: #fff6e0;
  --err: #b42318; --err-bg: #fff0ee;
  --info: #1d4f91; --info-bg: #edf4ff;
  --shadow-sm: 0 3px 12px rgba(13,34,54,.05);
  --shadow: 0 18px 50px rgba(13,34,54,.09);
  --radius: 18px;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 14px; line-height: 1.5; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 50%, transparent); outline-offset: 2px; }
.skip-link { position: fixed; left: 12px; top: 12px; z-index: 99; padding: 9px 14px; border-radius: 10px; background: var(--navy); color: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.note { font-size: 12px; color: var(--muted); font-weight: 400; }
h1, h2, h3 { letter-spacing: -.3px; }
/* Ende: Grundlagen */

/* Rahmen und Navigation */
.admin-shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100vh; }
.admin-nav { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 22px 14px; background: linear-gradient(180deg, var(--navy) 0, #0a1a2b 100%); color: #fff; overflow-y: auto; }
.admin-logo { display: inline-flex; align-items: center; gap: 10px; margin: 0 8px 26px; font-size: 17px; font-weight: 600; text-decoration: none; letter-spacing: -.2px; }
.admin-logo b { color: color-mix(in srgb, var(--brand) 55%, #fff); font-weight: 700; }
.admin-logo-dark b { color: var(--brand-deep); }
.admin-logo-mark { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand-deep); color: #fff; }
.admin-logo-mark svg { width: 20px; height: 20px; }
.admin-logo-mark i { position: absolute; inset: -5px; border: 1px dashed color-mix(in srgb, var(--brand) 60%, transparent); border-radius: 50%; animation: tp-orbit 14s linear infinite; }
.admin-logo-mark i::after { content: ''; position: absolute; top: -3px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 60%, #fff); }
.menu { display: grid; gap: 2px; }
.menu-link { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 10px; color: #c3cdd8; font-size: 13px; text-decoration: none; transition: background .15s, color .15s; }
.menu-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.menu-link.active { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 3px 0 0 color-mix(in srgb, var(--brand) 70%, #fff); }
.menu-icon { display: grid; place-items: center; width: 18px; height: 18px; }
.menu-icon svg { width: 17px; height: 17px; }
.menu-separator { height: 1px; margin: 12px 8px; background: rgba(255,255,255,.08); }
.admin-sidebar-foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 14px 10px 0; border-top: 1px solid rgba(255,255,255,.08); }
.admin-sidebar-foot strong { display: block; font-size: 13px; }
.admin-sidebar-foot div span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #9fb0c1; }
.admin-sidebar-foot i { width: 7px; height: 7px; border-radius: 50%; background: #2ec58d; animation: tp-pulse 2.4s infinite; }
.admin-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.1); font-family: var(--serif); font-size: 16px; }
.admin-main { min-width: 0; padding: 28px 32px 48px; }
/* Ende: Rahmen und Navigation */

/* Kopfbereich */
.admin-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-top h1 { margin: 0; font-size: 24px; font-weight: 600; }
.admin-top p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.admin-top-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-eyebrow { margin: 0 0 6px; font-size: 11px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; color: var(--brand-deep); }
.demo-bar { display: flex; gap: 10px; align-items: center; margin: -8px 0 18px; padding: 10px 14px; border-radius: 12px; background: linear-gradient(90deg, var(--brand-soft), #fff); border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line)); font-size: 13px; color: var(--ink-2); }
.demo-bar strong { padding: 3px 9px; border-radius: 99px; background: var(--brand-deep); color: #fff; font-size: 11px; letter-spacing: .4px; text-transform: uppercase; }
/* Ende: Kopfbereich */

/* Begrüßung mit Animation */
.welcome { position: relative; display: grid; grid-template-columns: 1fr 280px; gap: 20px; align-items: center; margin-bottom: 20px; padding: 26px 28px; overflow: hidden; border-radius: 22px; background: radial-gradient(500px 220px at 85% 50%, color-mix(in srgb, var(--brand-soft) 95%, #fff), transparent 70%), #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.welcome h1 { margin: 0; font-size: 26px; font-weight: 600; line-height: 1.15; }
.welcome h1 em { font-family: var(--serif); font-weight: 400; color: var(--brand-deep); }
.welcome p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.welcome .admin-eyebrow { margin-top: 0; }
.welcome-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.welcome-scene { position: relative; height: 210px; margin: -20px 0; }
.ws-orbit { position: absolute; left: 50%; top: 50%; border-radius: 50%; translate: -50% -50%; border: 1px dashed color-mix(in srgb, var(--brand) 32%, transparent); animation: tp-orbit linear infinite; }
.ws-orbit-1 { width: 130px; height: 130px; animation-duration: 22s; }
.ws-orbit-2 { width: 196px; height: 196px; animation-duration: 34s; animation-direction: reverse; border-style: solid; border-color: color-mix(in srgb, var(--brand) 14%, transparent); }
.ws-orbit span, .login-orbit span { position: absolute; left: 50%; top: 0; display: grid; place-items: center; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; background: #fff; color: var(--brand-deep); font-size: 11px; font-weight: 800; box-shadow: 0 5px 14px rgba(13,34,54,.12); animation: tp-orbit linear infinite reverse; animation-duration: inherit; }
.ws-orbit-2 span { top: auto; bottom: 0; margin: 0 0 -14px -14px; background: var(--brand-deep); color: #fff; animation-direction: normal; }
.ws-card { position: absolute; left: 50%; top: 50%; translate: -50% -50%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); white-space: nowrap; animation: tp-bob 5s ease-in-out infinite; }
.ws-card small { display: block; font-size: 11px; color: var(--muted); }
.ws-card b { font-size: 13px; }
/* Ende: Begrüßung */

/* Kennzahlen */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat { display: flex; justify-content: space-between; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.stat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.stat small { font-size: 12px; color: var(--muted); }
.stat strong { display: block; margin: 2px 0; font-size: 24px; font-weight: 600; letter-spacing: -.5px; }
.stat .sub { font-size: 12px; color: var(--muted); }
.stat-icon { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; background: var(--brand-soft); color: var(--brand-deep); }
.stat-icon svg { width: 19px; height: 19px; }
.stat-icon-text { font-size: 16px; font-weight: 700; }
/* Ende: Kennzahlen */

/* Panels und Raster */
.panel { margin-bottom: 18px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.panel h2 { margin: 0 0 14px; font-size: 16px; font-weight: 600; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.panel-head h2 { margin: 0; }
.panel-head small { font-size: 12px; color: var(--muted); }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 16px; }
.admin-grid:has(> .panel) { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; }
.dashboard-bottom { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.booking-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.filters { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.filters .field { margin: 0; }
.table-actions { display: flex; gap: 8px; align-items: center; margin-top: 4px; }
.table-actions form { margin: 0; }
.inline-form { display: inline-flex; gap: 6px; align-items: center; }
.inline-form select { min-height: 34px; border: 1px solid var(--line); border-radius: 9px; padding: 0 8px; background: #fff; }
/* Ende: Panels */

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 0 16px; border: 1px solid transparent; border-radius: 11px; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: transform .15s, box-shadow .15s, background .15s; }
.btn-primary { background: var(--brand-deep); color: #fff; box-shadow: 0 8px 18px color-mix(in srgb, var(--brand) 24%, transparent); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-secondary, .btn-ghost { background: #fff; border-color: var(--line); color: var(--ink-2); }
.btn-secondary:hover, .btn-ghost:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); color: var(--brand-deep); }
.btn-danger { background: var(--err-bg); color: var(--err); border-color: #f6cdc7; }
.btn-danger:hover { background: var(--err); color: #fff; }
.btn-small { min-height: 32px; padding: 0 12px; font-size: 12px; }
.btn-block { width: 100%; }
/* Ende: Buttons */

/* Formulare */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field > label, .field-label { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.field input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]), .field select, .field textarea { width: 100%; min-height: 40px; padding: 9px 12px; border: 1px solid #d5dee4; border-radius: 10px; background: #fff; font-size: 13px; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 15%, transparent); }
.field input[type=file] { font-size: 12px; }
input[type=checkbox], input[type=radio] { accent-color: var(--brand-deep); }
.day-row { display: grid; grid-template-columns: 100px 80px repeat(4, minmax(0, 1fr)); gap: 12px; align-items: end; padding: 10px 0; border-bottom: 1px solid var(--line); }
.day-row:last-of-type { border-bottom: 0; }
.day-row strong { padding-bottom: 10px; font-size: 13px; }
.day-row .field { margin: 0; }
.day-open { display: flex; gap: 6px; align-items: center; padding-bottom: 10px; font-size: 12px; color: var(--muted); }
.logo-preview { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; padding: 12px; border: 1px dashed var(--line); border-radius: 12px; font-size: 12px; }
.logo-preview img { max-height: 48px; max-width: 180px; object-fit: contain; }
textarea { font: inherit; line-height: 1.55; resize: vertical; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.switch-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--brand-soft) 35%, #fff); cursor: pointer; }
.switch-row input { width: 18px; height: 18px; margin-top: 2px; }
.switch-row strong { display: block; font-size: 13px; }
.switch-row small { font-size: 12px; color: var(--muted); }
.license-status { display: flex; gap: 18px; align-items: flex-start; }
.license-status h2 { margin-bottom: 8px; }
.license-icon { display: grid; place-items: center; flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; font-size: 20px; font-weight: 800; }
.is-valid .license-icon { background: var(--ok-bg); color: var(--ok); box-shadow: 0 0 0 6px color-mix(in srgb, var(--ok-bg) 60%, transparent); }
.is-open .license-icon { background: var(--warn-bg); color: var(--warn); }
.license-status .meta-list { min-width: min(420px, 100%); }
/* Ende: Formulare */

/* Farbwahl */
.color-picker { display: grid; grid-template-columns: 1fr 260px; gap: 8px 24px; align-items: start; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; grid-column: 1; margin: 0 0 6px; padding: 0; border: 0; }
.swatches legend { margin-bottom: 8px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.swatch { display: grid; justify-items: center; gap: 4px; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch span { width: 38px; height: 38px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--line); transition: transform .15s, box-shadow .15s; }
.swatch:hover span { transform: scale(1.08); }
.swatch input:checked + span { box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px var(--c); transform: scale(1.08); }
.swatch input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--c) 50%, transparent); outline-offset: 3px; }
.swatch small { font-size: 12px; color: var(--muted); }
.color-own { grid-column: 1; }
.color-input { display: flex; align-items: center; gap: 10px; }
.color-input input[type=color] { width: 46px; height: 38px; padding: 2px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.color-input output { font-family: ui-monospace, Consolas, monospace; font-size: 13px; color: var(--ink-2); }
.color-preview { --brand-deep: color-mix(in srgb, var(--brand) 74%, #04202a); grid-column: 2; grid-row: 1 / span 2; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: radial-gradient(240px 140px at 80% 0, var(--brand-soft), #fff 80%); transition: background .3s; }
.color-preview small { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.color-preview strong { display: block; margin: 6px 0 12px; font-size: 16px; font-weight: 600; }
.color-preview em { font-family: var(--serif); font-weight: 400; color: var(--brand-deep); }
.cp-days, .cp-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 8px; }
.cp-days span { display: grid; justify-items: center; padding: 5px 0; border-radius: 9px; background: #f2f5f7; font-size: 11px; color: var(--muted); }
.cp-days b { font-size: 13px; color: var(--ink); }
.cp-days .on { background: var(--brand-deep); color: rgba(255,255,255,.85); }
.cp-days .on b { color: #fff; }
.cp-slots span { padding: 6px 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-align: center; font-size: 12px; font-weight: 600; }
.cp-slots .on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-deep); }
.cp-btn { display: block; margin-top: 4px; padding: 9px; border-radius: 9px; background: var(--brand-deep); color: #fff; text-align: center; font-size: 12px; font-weight: 700; }
/* Ende: Farbwahl */

/* Tabellen und Listen */
.table-wrap { overflow-x: auto; margin: 0 -4px; }
table { width: 100%; border-collapse: collapse; }
th { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
td { padding: 12px 10px; border-bottom: 1px solid var(--line); font-size: 13px; vertical-align: top; }
tbody tr { transition: background .15s; }
tbody tr:hover { background: color-mix(in srgb, var(--brand-soft) 40%, #fff); }
tbody tr:last-child td { border-bottom: 0; }
.badge { display: inline-block; padding: 3px 9px; border-radius: 99px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-neutral { background: #eef2f5; color: var(--ink-2); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-off { background: var(--err-bg); color: var(--err); }
.empty-state { padding: 22px; border: 1px dashed var(--line); border-radius: 14px; text-align: center; color: var(--muted); font-size: 13px; }
.empty-state strong { display: block; color: var(--ink); }
.empty-state p { margin: 4px 0 0; }
.mini-list, .meta-list, .service-mini { display: grid; }
.mini-row, .meta-row, .service-mini-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.mini-row:last-child, .meta-row:last-child, .service-mini-row:last-child { border-bottom: 0; }
.mini-row span, .meta-row span { color: var(--muted); }
.service-mini-row small { display: block; font-size: 12px; color: var(--muted); }
.quick-list { display: grid; gap: 8px; }
.quick-link { display: flex; justify-content: space-between; padding: 11px 14px; border: 1px solid var(--line); border-radius: 11px; font-size: 13px; text-decoration: none; transition: border-color .15s, background .15s; }
.quick-link:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-deep); }
/* Ende: Tabellen */

/* Diagramm */
.chart-svg { width: 100%; height: 150px; display: block; }
.chart-gridline { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 4; }
.chart-area { fill: color-mix(in srgb, var(--brand) 12%, transparent); stroke: none; }
.chart-line { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-dasharray: 900; stroke-dashoffset: 900; animation: tp-draw 1.4s ease forwards; }
.chart-point { fill: #fff; stroke: var(--brand-deep); stroke-width: 2; }
.chart-labels { display: grid; grid-template-columns: repeat(7, 1fr); margin-top: 6px; text-align: center; font-size: 11px; color: var(--muted); }
.chart-labels strong { font-size: 13px; color: var(--ink); }
/* Ende: Diagramm */

/* Uhrzeiten */
.time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 7px; }
.time-btn { min-height: 36px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: 13px; font-weight: 600; transition: all .15s; }
.time-btn:hover { border-color: var(--brand); color: var(--brand-deep); }
.time-btn.selected { border-color: var(--brand-deep); background: var(--brand-deep); color: #fff; }
/* Ende: Uhrzeiten */

/* Meldungen */
.alert { margin-bottom: 16px; padding: 11px 14px; border-radius: 12px; font-size: 13px; animation: tp-in .3s ease both; }
.alert a { font-weight: 600; }
.alert-success { background: var(--ok-bg); color: var(--ok); }
.alert-error { background: var(--err-bg); color: var(--err); }
.alert-info { background: var(--info-bg); color: var(--info); }
.alert-warn { background: var(--warn-bg); color: var(--warn); }
/* Ende: Meldungen */

/* Anmeldung */
.login-body { background: var(--bg); }
.login-wrap { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 100vh; }
.login-visual { position: relative; overflow: hidden; display: grid; place-items: center; background: radial-gradient(420px 320px at 50% 45%, color-mix(in srgb, var(--brand) 30%, var(--navy)), var(--navy) 75%); color: #fff; }
.login-orbit { position: absolute; left: 50%; top: 45%; border-radius: 50%; translate: -50% -50%; border: 1px dashed rgba(255,255,255,.22); animation: tp-orbit linear infinite; }
.login-orbit-1 { width: 280px; height: 280px; animation-duration: 26s; }
.login-orbit-2 { width: 420px; height: 420px; animation-duration: 40s; animation-direction: reverse; border-style: solid; border-color: rgba(255,255,255,.1); }
.login-orbit-2 span { top: auto; bottom: 0; margin: 0 0 -14px -14px; background: color-mix(in srgb, var(--brand) 70%, #fff); color: var(--navy); animation-direction: normal; }
.login-card-float { position: absolute; left: 50%; top: 45%; translate: -50% -50%; width: 190px; padding: 16px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 30px 70px rgba(0,0,0,.3); animation: tp-float 7s ease-in-out infinite; }
.login-card-float small { display: block; font-size: 11px; color: var(--muted); }
.login-card-float b { font-size: 18px; }
.login-bars { display: flex; align-items: flex-end; gap: 6px; height: 54px; margin-top: 10px; }
.login-bars i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: color-mix(in srgb, var(--brand) 25%, #fff); animation: tp-bar 4s ease-in-out infinite; transform-origin: bottom; }
.login-bars i:nth-child(4) { background: var(--brand-deep); }
.login-bars i:nth-child(2) { animation-delay: .4s; } .login-bars i:nth-child(3) { animation-delay: .8s; } .login-bars i:nth-child(4) { animation-delay: 1.2s; } .login-bars i:nth-child(5) { animation-delay: 1.6s; }
.login-visual p { position: absolute; bottom: 40px; margin: 0; font-size: 15px; color: rgba(255,255,255,.8); }
.login-visual em { font-family: var(--serif); color: #fff; }
.login-card { align-self: center; width: min(380px, calc(100% - 40px)); margin: 40px auto; }
.login-card h1 { margin: 22px 0 2px; font-size: 24px; font-weight: 600; }
.login-card .note { margin: 0 0 20px; }
.demo-login { display: grid; gap: 2px; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--brand-soft); font-size: 13px; color: var(--ink-2); }
.demo-login strong { color: var(--brand-deep); }
/* Ende: Anmeldung */

/* Animationen */
@keyframes tp-orbit { to { transform: rotate(360deg); } }
@keyframes tp-bob { 0%, 100% { translate: -50% -50%; } 50% { translate: -50% calc(-50% - 7px); } }
@keyframes tp-float { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-8px); } }
@keyframes tp-bar { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.75); } }
@keyframes tp-draw { to { stroke-dashoffset: 0; } }
@keyframes tp-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes tp-pulse { 0% { box-shadow: 0 0 0 0 rgba(46,197,141,.5); } 70% { box-shadow: 0 0 0 7px rgba(46,197,141,0); } 100% { box-shadow: 0 0 0 0 rgba(46,197,141,0); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .chart-line { stroke-dashoffset: 0; } }
/* Ende: Animationen */

/* Mobil */
@media (max-width: 1100px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-grid:has(> .panel), .dashboard-bottom, .booking-detail-grid { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-nav { position: static; height: auto; padding: 14px; }
  .admin-logo { margin-bottom: 12px; }
  .menu { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 4px; }
  .menu-link { flex: 0 0 auto; }
  .menu-link.active { box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--brand) 70%, #fff); }
  .menu-separator, .admin-sidebar-foot { display: none; }
  .admin-main { padding: 20px 16px 40px; }
  .welcome { grid-template-columns: 1fr; padding: 20px; }
  .welcome-scene { display: none; }
  .color-picker { grid-template-columns: 1fr; }
  .color-preview { grid-column: 1; grid-row: auto; }
  .day-row { grid-template-columns: 1fr 1fr; }
  .login-wrap { grid-template-columns: 1fr; }
  .login-visual { min-height: 260px; }
  .login-orbit-2 { display: none; }
}
@media (max-width: 560px) {
  .two-col, .filters { grid-template-columns: 1fr; }
  .stats { gap: 10px; }
  .stat { padding: 14px; }
  .stat strong { font-size: 20px; }
  .stat-icon { width: 32px; height: 32px; }
  .admin-top-actions .btn { flex: 1; }
}
/* Ende: Mobil */
