/* Layout: feste Navigationsleiste links, ruhige Arbeitsfläche rechts. Navy wie remotesalesarmy.io, Gold nur für Aktion und Status. */
:root {
  --bg: #070b16;
  --bg-2: #0a1122;
  --surface: #0e1830;
  --surface-2: #13203d;
  --line: rgba(130, 158, 214, 0.15);
  --line-strong: rgba(130, 158, 214, 0.28);
  --text: #eef2fb;
  --muted: #9aa6bf;
  --faint: #6c7893;
  --gold: #fbcb43;
  --gold-2: #e9b52f;
  --gold-ink: #fbcb43;
  --gold-soft: rgba(251, 203, 67, 0.12);
  --gold-line: rgba(251, 203, 67, 0.32);
  --on-gold: #17110a;
  --good: #46d39a;
  --good-soft: rgba(70, 211, 154, 0.12);
  --warn: #f5b04a;
  --warn-soft: rgba(245, 176, 74, 0.12);
  --bad: #f37b7b;
  --bad-soft: rgba(243, 123, 123, 0.12);
  --shadow: none;
  --display: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --side: 256px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; line-height: 1.15; }
h2 { font-size: 20px; font-weight: 700; line-height: 1.25; }
h3 { font-size: 16px; font-weight: 700; line-height: 1.3; }
p { margin: 0; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13px; }
.tabular { font-variant-numeric: tabular-nums; }
.eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink); }
.gold-text { color: var(--gold-ink); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 2px; border-radius: 6px; }

/* ---------- App-Gerüst ---------- */
#root { min-height: 100%; }
.app { min-height: 100vh; display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100%; }
.sidebar {
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  background: var(--bg-2); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px; padding: 22px 14px 18px;
}
.brand { display: flex; align-items: center; gap: 12px; padding: 0 8px 18px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.brand img { width: 46px; height: auto; flex-shrink: 0; }
.brand b { font-family: var(--display); font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.15; display: block; }
.brand span { font-size: 12px; color: var(--muted); }
.nav-label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); padding: 14px 10px 6px; }
.nav-item {
  display: flex; align-items: center; gap: 11px; width: 100%;
  padding: 9px 10px; border-radius: var(--r-sm); border: 0; background: none;
  color: var(--muted); font: 500 14.5px/1.2 var(--body); text-align: left; cursor: pointer;
}
.nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.nav-item:hover { background: var(--surface); color: var(--text); text-decoration: none; }
.nav-item.active { background: var(--gold-soft); color: var(--gold-ink); }
.nav-item .count { margin-left: auto; min-width: 20px; padding: 1px 7px; border-radius: 999px; background: var(--gold); color: var(--on-gold); font-size: 11.5px; font-weight: 700; text-align: center; }
.nav-item .lock { margin-left: auto; width: 14px; height: 14px; opacity: 0.7; }
.sidebar-foot { margin-top: auto; padding: 14px 8px 0; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line-strong); display: grid; place-items: center; font-weight: 700; font-size: 13px; color: var(--gold-ink); flex-shrink: 0; }
.sidebar-foot .who { min-width: 0; flex: 1; }
.sidebar-foot .who b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-foot .who span { font-size: 12px; color: var(--muted); }

.main { min-width: 0; padding-inline: clamp(16px, 4vw, 44px); padding-block: 28px 110px; }
.page { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 26px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.page-head .lead { margin-top: 8px; color: var(--muted); max-width: 62ch; }
.topbar { display: none; }

/* ---------- Bausteine ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; min-width: 0; box-shadow: var(--shadow); }
.card.flat { background: transparent; }
.card.gold { border-color: var(--gold-line); background: linear-gradient(180deg, rgba(251, 203, 67, 0.07), rgba(251, 203, 67, 0.01)); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.between { justify-content: space-between; }
.divider { height: 1px; background: var(--line); border: 0; margin: 4px 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: var(--surface-2); color: var(--text); font: 600 14px/1.2 var(--body);
  cursor: pointer; white-space: nowrap; text-decoration: none;
}
.btn:hover { border-color: var(--gold-line); text-decoration: none; }
.btn svg { width: 16px; height: 16px; }
.btn.primary { background: var(--gold); border-color: var(--gold-ink); color: var(--on-gold); }
.btn.primary:hover { background: var(--gold-2); }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--bad); }
.btn.sm { padding: 6px 11px; font-size: 13px; border-radius: 8px; }
.btn.icon { padding: 7px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; border: 1px solid var(--line-strong); color: var(--muted); white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.nodot::before { display: none; }
.pill.good { color: var(--good); background: var(--good-soft); border-color: transparent; }
.pill.warn { color: var(--warn); background: var(--warn-soft); border-color: transparent; }
.pill.bad { color: var(--bad); background: var(--bad-soft); border-color: transparent; }
.pill.gold { color: var(--gold-ink); background: var(--gold-soft); border-color: transparent; }

.stat { display: flex; flex-direction: column; gap: 4px; }
.stat .label { font-size: 12.5px; color: var(--muted); }
.stat .value { font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat .value small { font-size: 15px; color: var(--muted); font-weight: 600; }
.meter { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.meter > i { display: block; height: 100%; background: var(--gold); border-radius: 999px; }

.empty { border: 1px dashed var(--line-strong); border-radius: var(--r-lg); padding: 28px; text-align: center; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 10px; }

.code-box { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; border-radius: var(--r-md); border: 1px dashed var(--gold-line); background: var(--gold-soft); min-width: 0; }
.code-box code { font: 700 17px/1.2 ui-monospace, "SF Mono", Menlo, monospace; color: var(--gold-ink); letter-spacing: 0.06em; flex: 1; overflow-wrap: anywhere; }
.code-box.link code { font-size: 13.5px; letter-spacing: 0; font-weight: 600; }

/* ---------- Formulare ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field .hint { font-size: 12.5px; color: var(--faint); }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], input[type=date], input[type=time], input[type=tel], select, textarea {
  width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: var(--bg-2); color: var(--text); font: 14.5px/1.4 var(--body);
}
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold-ink); box-shadow: 0 0 0 3px var(--gold-soft); }
input[type=file] { color: var(--muted); font-size: 13px; max-width: 100%; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.seg { display: inline-flex; padding: 3px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg-2); gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: none; color: var(--muted); font: 600 13px/1 var(--body); padding: 8px 12px; border-radius: 8px; cursor: pointer; }
.seg button.on { background: var(--surface-2); color: var(--text); }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); }

/* ---------- Tabellen ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); white-space: nowrap; }
td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Videothek ---------- */
.lib { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; align-items: start; }
.modules { display: flex; flex-direction: column; gap: 10px; position: sticky; top: 20px; }
.module { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); overflow: hidden; box-shadow: var(--shadow); }
.module-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; border: 0; background: none; color: inherit; width: 100%; text-align: left; font: inherit; }
.module-head .num { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-2); color: var(--gold-ink); font-weight: 700; font-size: 12.5px; flex-shrink: 0; }
.module-head b { font-size: 14px; line-height: 1.3; display: block; }
.module-head span { font-size: 12px; color: var(--muted); }
.module-head .chev { margin-left: auto; width: 16px; height: 16px; color: var(--faint); transition: transform .15s; flex-shrink: 0; }
.module.open .chev { transform: rotate(90deg); }
.lessons { display: none; border-top: 1px solid var(--line); padding: 6px; }
.module.open .lessons { display: block; }
.lesson { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 8px; border: 0; background: none; color: var(--muted); font: 500 13.5px/1.35 var(--body); text-align: left; cursor: pointer; }
.lesson:hover { background: var(--surface-2); color: var(--text); }
.lesson.active { background: var(--gold-soft); color: var(--gold-ink); }
.lesson svg { width: 15px; height: 15px; flex-shrink: 0; }
.lesson .dur { margin-left: auto; font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.player { aspect-ratio: 16 / 9; width: 100%; max-width: 100%; border-radius: var(--r-lg); overflow: hidden; background: #000; border: 1px solid var(--line); position: relative; }
.player iframe, .player video { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.player-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--muted);
  background: radial-gradient(600px 300px at 50% 30%, rgba(22, 41, 79, 0.9), rgba(7, 11, 22, 1)); }

.player-empty .play { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; margin: 0 auto 12px; }
.player-empty .play svg { width: 26px; height: 26px; color: var(--on-gold); margin-left: 4px; }
.note { white-space: pre-wrap; line-height: 1.65; }
.attach { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-2); min-width: 0; color: var(--text); }
.attach .ico { width: 34px; height: 34px; border-radius: 8px; background: var(--bad-soft); color: var(--bad); display: grid; place-items: center; font-size: 10.5px; font-weight: 800; flex-shrink: 0; }
.attach .ico.link { background: var(--gold-soft); color: var(--gold-ink); }
.attach .t { min-width: 0; flex: 1; overflow-wrap: anywhere; font-size: 14px; color: var(--text); }

/* ---------- Kalender ---------- */
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.cal .dow { padding: 8px; font-size: 11.5px; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: 0.08em; background: var(--bg-2); border-bottom: 1px solid var(--line); text-align: center; }
.cal .day { min-height: 96px; padding: 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cal .day:nth-child(7n) { border-right: 0; }
.cal .day.other { background: rgba(0, 0, 0, 0.18); }
.cal .day.other .d { color: var(--faint); opacity: 0.6; }
.cal .d { font-size: 12.5px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.cal .day.today .d { color: var(--on-gold); background: var(--gold); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; }
.ev { display: block; width: 100%; text-align: left; border: 0; cursor: pointer; padding: 4px 6px; border-radius: 6px; background: var(--gold-soft); color: var(--gold-ink); font: 600 11.5px/1.25 var(--body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev.past { background: var(--surface-2); color: var(--muted); }
.ev:hover { filter: brightness(1.15); }
.upcoming { display: flex; flex-direction: column; gap: 10px; }
.call-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-2); }
.datechip { text-align: center; border-radius: 10px; border: 1px solid var(--gold-line); padding: 6px 4px; }
.datechip b { display: block; font-family: var(--display); font-size: 20px; line-height: 1.1; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.datechip span { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.call-row .t { min-width: 0; }
.call-row .t b { display: block; font-size: 14.5px; }

.cal-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr); gap: 16px; align-items: start; }
.upcoming.compact .call-row { grid-template-columns: 56px minmax(0, 1fr); }
.upcoming.compact .call-row > :last-child { grid-column: 1 / -1; }

/* ---------- Gesperrt-Hinweis ---------- */
.locked { display: flex; gap: 18px; align-items: flex-start; padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--gold-line); background: var(--gold-soft); }
.locked .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--gold); color: var(--on-gold); display: grid; place-items: center; flex-shrink: 0; }
.locked .ico svg { width: 22px; height: 22px; }

/* ---------- Deluxe ---------- */
.hero-deluxe { position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--gold-line); padding: clamp(22px, 4vw, 40px);
  background: radial-gradient(700px 360px at 85% 0%, rgba(251, 203, 67, 0.16), transparent 60%), linear-gradient(180deg, #101c38, #0a1224); }
.hero-deluxe::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(120, 150, 210, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 150, 210, 0.06) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.hero-deluxe > * { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.hero-deluxe h1 { font-size: clamp(28px, 4vw, 42px); }
.price { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 5vw, 48px); letter-spacing: -0.03em; color: var(--gold-ink); font-variant-numeric: tabular-nums; line-height: 1; }
.lutz { width: 100%; max-width: 320px; justify-self: end; border-radius: 50% 50% 18px 18px; }
.benefit { display: flex; gap: 14px; align-items: flex-start; }
.benefit .ico { width: 40px; height: 40px; border-radius: 11px; background: var(--gold-soft); border: 1px solid var(--gold-line); color: var(--gold-ink); display: grid; place-items: center; flex-shrink: 0; }
.benefit .ico svg { width: 20px; height: 20px; }
.benefit b { display: block; font-size: 15px; margin-bottom: 2px; }
.bank { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 8px 14px; font-size: 14px; }
.bank dt { color: var(--muted); }
.bank dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }

.usp { display: flex; gap: 22px; align-items: center; padding: clamp(20px, 3vw, 30px); border-radius: var(--r-lg); background: linear-gradient(90deg, rgba(251, 203, 67, 0.16), rgba(251, 203, 67, 0.04)); border: 2px solid var(--gold); }
.usp-ico { width: 64px; height: 64px; border-radius: 18px; background: var(--gold); color: var(--on-gold); display: grid; place-items: center; flex-shrink: 0; }
.usp-ico svg { width: 34px; height: 34px; }
.usp-t { font-family: var(--display); font-size: clamp(22px, 3vw, 30px); line-height: 1.15; letter-spacing: -0.02em; margin: 6px 0 6px; }
.usp-t b { font-weight: 800; color: var(--text); }

/* ---------- Übersicht ---------- */
.overview { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; }
.overview > .card:first-child { display: flex; flex-direction: column; }
.overview > .card:first-child > div { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.next { display: flex; gap: 20px; align-items: flex-start; }
.next-date { width: 86px; flex-shrink: 0; text-align: center; border-radius: 16px; border: 1px solid var(--gold-line); background: var(--gold-soft); padding: 12px 6px; }
.next-date b { display: block; font-family: var(--display); font-size: 38px; line-height: 1; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.next-date span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.next-t { min-width: 0; }
.next-t h2 { font-size: 22px; }
.acc { display: flex; flex-direction: column; margin-top: 10px; }
.acc-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.acc-row:last-child { border-bottom: 0; }
.acc-ico { width: 32px; height: 32px; border-radius: 9px; background: var(--surface-2); color: var(--muted); display: grid; place-items: center; flex-shrink: 0; }
.acc-ico svg { width: 16px; height: 16px; }
.acc-l { flex: 1; font-weight: 500; }
.vtiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.vtile { display: flex; flex-direction: column; gap: 6px; text-align: left; background: none; border: 0; padding: 0; color: var(--text); cursor: pointer; font: inherit; min-width: 0; }
.vthumb { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center;
  background: radial-gradient(240px 140px at 70% 20%, rgba(251, 203, 67, 0.12), transparent 60%), linear-gradient(180deg, #13203d, #0a1122); }
.vplay { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--on-gold); display: grid; place-items: center; transition: transform .15s; }
.vplay svg { width: 16px; height: 16px; margin-left: 2px; }
.vtile:hover .vplay { transform: scale(1.08); }
.vdur { position: absolute; right: 8px; bottom: 8px; font-size: 11.5px; padding: 2px 6px; border-radius: 6px; background: rgba(7, 11, 22, 0.8); color: var(--text); font-variant-numeric: tabular-nums; }
.vmod { font-size: 11.5px; color: var(--faint); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vtile b { font-size: 14.5px; line-height: 1.35; }
.strip { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--r-lg); border: 1px solid var(--gold-line); background: linear-gradient(90deg, rgba(251, 203, 67, 0.10), rgba(251, 203, 67, 0.02)); color: var(--text); }
.strip:hover { text-decoration: none; border-color: var(--gold); }
.strip > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.strip b { font-size: 15.5px; }
.strip-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--gold); color: var(--on-gold); display: grid; place-items: center; flex-shrink: 0; }
.strip-ico svg { width: 20px; height: 20px; }
.strip-go { color: var(--gold-ink); }
.strip-go svg { width: 20px; height: 20px; }

/* ---------- Premium ---------- */
.hero-premium { position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line-strong); padding: clamp(22px, 4vw, 40px);
  background: radial-gradient(600px 340px at 100% 0%, rgba(251, 203, 67, 0.12), transparent 60%), linear-gradient(180deg, #101c38, #0a1224); }
.hero-premium::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(120, 150, 210, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 150, 210, 0.06) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: linear-gradient(90deg, transparent, #000 70%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); }
.hero-premium > * { position: relative; z-index: 1; }
.hero-premium h1 { font-size: clamp(28px, 4vw, 42px); }
.ptiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ptile { border-radius: 16px; border: 1px solid var(--line-strong); background: rgba(7, 11, 22, 0.45); padding: 18px; display: flex; flex-direction: column; }
.ptile b { font-family: var(--display); font-size: 42px; font-weight: 800; line-height: 1; color: var(--gold-ink); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ptile .u { font-weight: 700; font-size: 14px; margin-top: 6px; }
.ptile .l { font-size: 12.5px; color: var(--muted); }
.path { display: flex; align-items: flex-start; gap: 0; margin-top: 18px; }
.path-step { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; min-width: 0; }
.path-step b { font-family: var(--display); font-size: 16px; }
.path-step > span:not(.pill):not(.path-dot) { font-size: 12.5px; color: var(--muted); max-width: 24ch; }
.path-dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--muted); }
.path-dot svg { width: 20px; height: 20px; }
.path-step.done .path-dot { color: var(--good); border-color: rgba(70, 211, 154, 0.4); background: var(--good-soft); }
.path-step.next .path-dot { color: var(--on-gold); background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 6px rgba(251, 203, 67, 0.15); }
.path-line { flex: 0 0 8%; height: 2px; margin-top: 22px; background: linear-gradient(90deg, var(--line-strong), var(--gold-line)); }

/* ---------- Closerportal-Vorschau ---------- */
.browser { border-radius: var(--r-lg); border: 1px solid var(--line-strong); overflow: hidden; background: #F7F8F5; }
.browser-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); display: block; }
.url { flex: 1; display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); background: var(--bg-2); border-radius: 8px; padding: 5px 10px; max-width: 360px; }
.url svg { width: 12px; height: 12px; }
.cp-frame { width: 100%; height: 640px; border: 0; display: block; background: #F7F8F5; }
.cp { display: grid; grid-template-columns: 190px minmax(0, 1fr); color: #101418; font-family: var(--body); min-height: 420px; }
.cp-side { background: #ffffff; border-right: 1px solid #e3e8e2; padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; }
.cp-logo { display: flex; align-items: center; gap: 8px; padding: 0 6px 16px; }
.cp-logo b { font-family: var(--display); font-size: 17px; letter-spacing: -0.02em; color: #101418; }
.cp-mark { width: 30px; height: 30px; border-radius: 9px; background: #0B7A55; color: #ffffff; display: grid; place-items: center; }
.cp-mark svg { width: 18px; height: 18px; }
.cp-nav { padding: 8px 10px; border-radius: 8px; font-size: 13.5px; color: #4b5560; }
.cp-nav.on { background: #DDF3E8; color: #0B7A55; font-weight: 600; }
.cp-main { padding: 20px; min-width: 0; }
.cp-tabs { display: flex; gap: 6px; }
.cp-tabs span { padding: 7px 12px; border-radius: 999px; font-size: 13px; color: #4b5560; border: 1px solid #e3e8e2; background: #ffffff; }
.cp-tabs span.on { background: #101418; color: #ffffff; border-color: #101418; }
.cp-count { margin: 14px 0; font-size: 14px; color: #4b5560; }
.cp-count b { color: #0B7A55; }
.cp-jobs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cp-job { background: #ffffff; border: 1px solid #e3e8e2; border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cp-job-h { display: flex; gap: 10px; align-items: flex-start; }
.cp-job-h b { display: block; font-size: 14px; }
.cp-job-h div span { font-size: 12px; color: #6b7480; }
.cp-logo-sm { width: 34px; height: 34px; border-radius: 9px; background: #DDF3E8; color: #0B7A55; font-weight: 800; display: grid; place-items: center; flex-shrink: 0; }
.cp-new { margin-left: auto; font-size: 11px; font-weight: 700; color: #0B7A55; background: #DDF3E8; border-radius: 999px; padding: 2px 8px; }
.cp-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; background: #F7F8F5; border-radius: 10px; padding: 8px; }
.cp-facts div { display: flex; flex-direction: column; min-width: 0; }
.cp-facts span { font-size: 10.5px; color: #6b7480; }
.cp-facts b { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-role { display: flex; gap: 6px; font-size: 12px; color: #4b5560; }
.cp-role span { border: 1px solid #e3e8e2; border-radius: 6px; padding: 2px 7px; }
.cp-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.cp-chips span { font-size: 11px; padding: 3px 8px; border-radius: 999px; background: #DDF3E8; color: #0b5e43; }
.cp-actions { display: flex; gap: 6px; margin-top: auto; }
.cp-btn { flex: 1; text-align: center; padding: 8px; border-radius: 9px; background: #0B7A55; color: #ffffff; font-size: 12.5px; font-weight: 600; }
.cp-btn.ghost { background: #ffffff; color: #101418; border: 1px solid #e3e8e2; flex: 0 0 auto; padding: 8px 12px; }
.cp-note { font-size: 12px; color: #6b7480; padding: 8px 20px 14px; background: #F7F8F5; margin: 0; }

/* ---------- Fortschritt ---------- */
.pbar { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.pbar > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #e9b52f, #fbcb43 60%, #ffe08a); transition: width .5s ease; }
.pbar.lg { height: 12px; }
.pbar.sm { height: 5px; margin-top: 7px; }
.progress-card { display: flex; flex-direction: column; gap: 14px; }
.pc-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pc-num { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.pc-num b { font-family: var(--display); font-size: 34px; font-weight: 800; letter-spacing: -0.03em; color: var(--gold-ink); font-variant-numeric: tabular-nums; line-height: 1; }
.pc-num span { color: var(--muted); font-size: 14px; }
.module-head .num.full { background: var(--good-soft); color: var(--good); }
.module-head .num svg { width: 14px; height: 14px; }
.lesson.done { color: var(--text); }
.lesson.done > svg { color: var(--good); }
.nextbar { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.nextbar .btn.primary { max-width: 100%; }
.nb-t { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; min-width: 0; text-align: left; white-space: normal; }
.nb-t small { font-size: 11px; font-weight: 600; opacity: .7; text-transform: uppercase; letter-spacing: .08em; }
.done-btn { color: var(--good); border-color: rgba(70, 211, 154, 0.4); background: var(--good-soft); }
.learn { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; }
.learn-l, .learn-r { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.learn-r { padding-left: 28px; border-left: 1px solid var(--line); justify-content: center; }
.continue { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 18px; align-items: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px; cursor: pointer; color: var(--text); font: inherit; text-align: left; }
.continue:hover { border-color: var(--gold-line); }
.continue:hover .vplay { transform: scale(1.08); }
.continue-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.continue-t b { font-family: var(--display); font-size: 18px; line-height: 1.3; }
.upnext { display: flex; flex-direction: column; gap: 2px; }
.upnext .small { padding: 0 10px 4px; text-transform: uppercase; letter-spacing: .1em; font-size: 11px; }
.up-n { width: 20px; height: 20px; border-radius: 6px; background: var(--surface-2); color: var(--muted); font-size: 11px; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; }
.mrows { display: flex; flex-direction: column; gap: 10px; }
.mrow { display: grid; grid-template-columns: minmax(0, 1fr) 90px 34px; gap: 10px; align-items: center; font-size: 13px; }
.mrow .pbar.sm { margin-top: 0; }
.mrow-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.mrow-n { text-align: right; color: var(--faint); font-variant-numeric: tabular-nums; }

/* ---------- Simulation ---------- */
.cases { display: flex; gap: 10px; flex-wrap: wrap; }
.case { flex: 1; min-width: 120px; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--bg-2); display: flex; flex-direction: column; gap: 2px; }
.case b { font-family: var(--display); font-size: 17px; }
.case span { font-size: 13px; color: var(--muted); }
.sim .benefit .ico { margin: 0; }
.sim-grid { align-items: stretch; }
.sim { height: 100%; }
.sim .sim-actions { margin-top: auto; }
.sim .case { min-height: 64px; }

/* ---------- Vereinbarung ---------- */
.auth-form .box.wide { max-width: 560px; }
.agree { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); padding: 16px; }
.agree-sec { display: flex; gap: 12px; }
.agree-n { width: 24px; height: 24px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); font-weight: 700; font-size: 12px; display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.agree-sec b { display: block; font-size: 14px; margin-bottom: 2px; }
.agree-sec p { font-size: 13px; color: var(--muted); line-height: 1.55; }
.consent { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer; font-size: 13.5px; line-height: 1.5; }
.consent:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.consent input { accent-color: #fbcb43; width: 18px; height: 18px; margin: 1px 0 0; flex-shrink: 0; }
.agree-pre { white-space: pre-wrap; font: 13px/1.6 var(--body); color: var(--muted); background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin: 0; max-height: 50vh; overflow: auto; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 18px; font-weight: 600; font-size: 15.5px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span:first-child { flex: 1; }
.faq-chev { color: var(--faint); transition: transform .2s; display: grid; }
.faq-chev svg { width: 18px; height: 18px; }
.faq-item[open] .faq-chev { transform: rotate(180deg); color: var(--gold-ink); }
.faq-item[open] { border-color: var(--gold-line); }
.faq-item p { padding: 0 18px 18px; color: var(--muted); max-width: 75ch; line-height: 1.65; }

/* ---------- Rundgang ---------- */
.tour { position: fixed; inset: 0; z-index: 90; }
.tour-shade { position: absolute; inset: 0; background: rgba(3, 6, 14, 0.72); }
.tour-hole { position: fixed; border-radius: 14px; box-shadow: 0 0 0 9999px rgba(3, 6, 14, 0.72), 0 0 0 2px var(--gold), 0 0 30px 4px rgba(251, 203, 67, 0.25); transition: left .45s ease, top .45s ease, width .45s ease, height .45s ease; pointer-events: none; }
.tour-cursor { position: fixed; left: 0; top: 0; z-index: 3; pointer-events: none; margin: -3px 0 0 -5px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5)); }
.tour-cursor svg { display: block; transition: transform .15s; }
.tour-cursor.press svg { transform: scale(0.82); }
.tour-ripple { position: fixed; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; pointer-events: none; z-index: 2; }
.tour-ripple.go { animation: tour-ripple .6s ease-out; }
@keyframes tour-ripple { 0% { transform: scale(0.4); opacity: 1; } 100% { transform: scale(4); opacity: 0; } }
.tour-card { position: fixed; z-index: 4; background: var(--surface); border: 1px solid var(--gold-line); border-radius: 16px; padding: 18px 18px 14px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.8); display: flex; flex-direction: column; gap: 8px; animation: tour-in .25s ease; }
@keyframes tour-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tour-step { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); }
.tour-card h3 { font-size: 18px; }
.tour-card p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.tour-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.tour-dots { display: flex; gap: 5px; justify-content: center; margin-top: 2px; }
.tour-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.tour-dots i.done { background: var(--gold-line); }
.tour-dots i.on { background: var(--gold); width: 16px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .tour-hole, .tour-cursor svg { transition: none; } .tour-ripple.go { animation: none; } }

/* ---------- Produktauswahl ---------- */
.plan-pick { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.plan-pick legend { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; padding: 0; }
.field label.plan-opt { color: var(--text); font-size: 14px; font-weight: 400; }
.plan-opt { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer; background: var(--surface); }
.plan-opt:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); box-shadow: 0 0 0 2px rgba(251, 203, 67, 0.25); }
.plan-opt input { accent-color: #fbcb43; width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
.plan-opt b { display: block; font-size: 14.5px; }
.plan-opt small { color: var(--muted); font-size: 12.5px; }

/* ---------- Login ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth-art { position: relative; overflow: hidden; padding: 48px; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(900px 600px at 30% 20%, rgba(22, 41, 79, 0.95), rgba(7, 11, 22, 1) 70%); border-right: 1px solid var(--line); }
.auth-art::before { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(120, 150, 210, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 150, 210, 0.07) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 40% 40%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 40% 40%, #000 30%, transparent 80%); }
.auth-art > * { position: relative; }
.auth-art img { width: 150px; }
.auth-art h1 { font-size: clamp(30px, 3.6vw, 46px); max-width: 15ch; }
.auth-form { display: grid; place-items: center; padding: 40px 20px; }
.auth-form .box { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 16px; }
.msg { padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.msg.err { background: var(--bad-soft); color: var(--bad); }
.msg.ok { background: var(--good-soft); color: var(--good); }
.msg.info { background: var(--gold-soft); color: var(--gold-ink); }

/* ---------- Dialog ---------- */
.overlay { position: fixed; inset: 0; background: rgba(3, 6, 14, 0.72); display: grid; place-items: center; padding: 16px; z-index: 50; backdrop-filter: blur(3px); }
.dialog { box-shadow: 0 30px 80px -20px rgba(11, 19, 38, 0.35); width: 100%; max-width: 640px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.dialog.wide { max-width: 820px; }
.dialog-foot { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.toast { position: fixed; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); background: var(--surface-2); border: 1px solid var(--gold-line); color: var(--text); padding: 11px 18px; border-radius: 12px; font-size: 14px; z-index: 60; box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.6); max-width: calc(100% - 32px); }

/* ---------- Demo-Leiste ---------- */
.demo-bar { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; background: var(--surface-2); border: 1px solid var(--gold-line); border-radius: 14px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8); max-width: calc(100% - 32px); flex-wrap: wrap; }
.demo-bar span { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-ink); }
.demo-bar select { width: auto; padding: 7px 10px; font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .vtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-jobs { grid-template-columns: minmax(0, 1fr); }
  .cal-layout { grid-template-columns: minmax(0, 1fr); }
  .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lib { grid-template-columns: minmax(0, 1fr); }
  .modules { position: static; }
}
@media (max-width: 860px) {
  .learn { grid-template-columns: minmax(0, 1fr); }
  .learn-r { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 18px; }
  .continue { grid-template-columns: minmax(0, 1fr); }
  .overview { grid-template-columns: minmax(0, 1fr); }
  .cp { grid-template-columns: minmax(0, 1fr); }
  .cp-side { display: none; }
  .ptiles b { font-size: 34px; }
  .app { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: fixed; z-index: 45; left: 0; top: 0; bottom: 0; width: 280px; transform: translateX(-100%); transition: transform .2s; padding-top: calc(22px + env(safe-area-inset-top, 0px)); }
  .app.nav-open .sidebar { transform: none; box-shadow: 0 0 0 100vmax rgba(3, 6, 14, 0.6); }
  .topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
    background: rgba(10, 17, 34, 0.94); border-bottom: 1px solid var(--line); padding: 10px 16px; backdrop-filter: blur(6px); }
  .topbar img { height: 34px; width: auto; }
  .grid.two, .grid.three { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .lutz { justify-self: center; max-width: 220px; }
  .auth { grid-template-columns: minmax(0, 1fr); }
  .auth-art { padding: 28px 20px; border-right: 0; border-bottom: 1px solid var(--line); gap: 20px; }
  .auth-art img { width: 100px; }
  .cal .day { min-height: 64px; padding: 4px; }
  .ev { font-size: 0; padding: 0; height: 7px; border-radius: 4px; background: var(--gold); }
  .ev.past { background: var(--faint); }
}
@media (max-width: 560px) {
  .path { flex-direction: column; align-items: stretch; gap: 14px; }
  .path-line { display: none; }
  .next { flex-direction: column; }
  .usp { flex-direction: column; align-items: flex-start; }
  .demo-bar span { display: none; }
  .demo-bar { left: 16px; right: 16px; padding: 8px; }
  .demo-bar select { width: 100%; }
  .grid.four { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .call-row { grid-template-columns: 56px minmax(0, 1fr); }
  .call-row > :last-child { grid-column: 1 / -1; }
  .bank { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .bank dd { margin-bottom: 8px; }
  .card { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
