/* Musterbuch – „Studio“-Design im Stil von Hanadi's Livestream / Chakroun Media:
   dunkles Sendestudio, Rosé-Akzente, Live-Rot, kantige Display-Schrift, Mono-Labels. */
@font-face { font-family: "MB Display"; src: url("/fonts/BigShoulders-Bold.woff") format("woff"); font-weight: 700 900; font-display: swap; }
@font-face { font-family: "MB Mono"; src: url("/fonts/JetBrainsMono-Regular.woff") format("woff"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "MB Sans"; src: url("/fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "MB Sans"; src: url("/fonts/Inter-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "MB Sans"; src: url("/fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "MB Sans"; src: url("/fonts/Inter-Bold.woff") format("woff"); font-weight: 700 800; font-display: swap; }

:root {
  --studio: #0b0809;
  --bg: #110c0e;
  --card: #1b1416;
  --card-2: #231a1d;
  --field: #150f11;
  --line: #33282b;
  --line-2: #45363a;
  --ink: #f6efed;
  --ink-2: #d9cbcc;
  --ink-3: #a8979a;
  --brand: #c48f84;          /* Rosé */
  --brand-2: #dcab9f;
  --brand-light: #ecd0c8;
  --brand-soft: rgba(196, 143, 132, .14);
  --on-brand: #160e10;
  --accent: #ff4d55;         /* Live-Rot */
  --accent-soft: rgba(255, 77, 85, .13);
  --warn: #f2b866;
  --warn-soft: rgba(242, 184, 102, .12);
  --ok: #6fd6a4;
  --ok-soft: rgba(111, 214, 164, .12);
  --danger: #ff6b70;
  --radius: 16px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 18px 40px -24px rgba(0, 0, 0, .7);
  --f-display: "MB Display", "Big Shoulders Display", "Arial Narrow", sans-serif;
  --f-body: "MB Sans", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --f-mono: "MB Mono", "JetBrains Mono", ui-monospace, Menlo, monospace;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: hidden; }
body {
  font: 15.5px/1.55 var(--f-body); background: var(--bg); color: var(--ink);
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: var(--safe-t); z-index: 60; background: var(--studio); }
a { color: var(--brand-2); text-decoration: none; }
a:hover { color: var(--brand-light); }
h1, h2, h3 { line-height: 1.02; margin: 0 0 .5rem; text-wrap: balance; }
h1 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 4.2vw, 3rem); letter-spacing: .01em; }
h2 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.45rem; letter-spacing: .02em; }
h3 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 .75rem; }
small, .muted { color: var(--ink-3); }
.hidden { display: none !important; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand); color: var(--on-brand); }

/* Mono-Label mit Live-Punkt (wie „Eyebrow“ der Website) */
.eyebrow, .page-head > div > p {
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brand);
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 8px;
}
.eyebrow::before, .page-head > div > p::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); flex-shrink: 0;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .35; box-shadow: 0 0 4px var(--accent); } }

/* ---------- Layout ---------- */
.shell { display: flex; min-height: 100vh; }
.sidebar {
  width: 248px; flex-shrink: 0; padding: 22px 14px; border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(196, 143, 132, .06), transparent 240px), var(--studio);
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px;
}
.logo { display: flex; align-items: center; gap: 11px; padding: 4px 8px 22px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); }
.logo > div, .logo { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 1.35rem; letter-spacing: .03em; line-height: 1; }
.logo small { display: block; font-family: var(--f-mono); font-weight: 400; text-transform: uppercase; font-size: .6rem; letter-spacing: .14em; color: var(--ink-3); margin-top: 5px; }
.nav a { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink-3); font-weight: 600; font-size: .93rem; }
.nav a:hover { background: rgba(255, 255, 255, .04); color: var(--ink); }
.nav a.active { background: var(--brand-soft); color: var(--brand-light); }
.nav a.active::before { content: ""; position: absolute; left: -14px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.nav .ico { width: 19px; height: 19px; flex-shrink: 0; }
.sidebar .spacer { flex: 1; }
.main { flex: 1; min-width: 0; padding: 32px 36px 64px; max-width: 1140px; }
.topbar { display: none; }
.tabbar { display: none; }

@media (max-width: 860px) {
  .sidebar { display: none; }
  .main { padding: calc(12px + var(--safe-t)) 16px calc(100px + var(--safe-b)); }
  .topbar {
    display: flex; align-items: center; justify-content: space-between; margin: 0 -16px 18px; padding: 8px 16px 10px;
    position: sticky; top: var(--safe-t); z-index: 20; background: rgba(11, 8, 9, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
  }
  .topbar .logo { padding: 0; font-size: 1.2rem; }
  .topbar .logo img { width: 30px; height: 30px; }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: rgba(11, 8, 9, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line);
    padding: 6px 4px calc(6px + var(--safe-b));
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-family: var(--f-mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 4px 0; }
  .tabbar a.active { color: var(--brand-light); }
  .tabbar .ico { width: 23px; height: 23px; }
  .tabbar .plus { transform: translateY(-16px); }
  .tabbar .plus span.circle { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 5px var(--bg), 0 8px 26px rgba(255, 77, 85, .55); }
  h1 { font-size: 2.1rem; }
}

/* ---------- Komponenten ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-bottom: 16px; }
.card.flat { box-shadow: none; background: rgba(255, 255, 255, .02); }
.card h2 { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.grid { display: grid; gap: 14px; }
.grid > * { min-width: 0; }
.grid.k4 { grid-template-columns: repeat(4, 1fr); }
.grid.k3 { grid-template-columns: repeat(3, 1fr); }
.grid.k2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid.k4, .grid.k3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid.k2 { grid-template-columns: 1fr; } }

.kpi {
  position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px 18px;
  transition: transform .3s cubic-bezier(.2, .9, .2, 1), border-color .3s;
}
.kpi::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--brand), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2, .9, .2, 1); }
.kpi:hover { transform: translateY(-3px); border-color: var(--brand); }
.kpi:hover::after { transform: scaleX(1); }
.kpi .label { font-family: var(--f-mono); font-size: .64rem; color: var(--brand); letter-spacing: .16em; text-transform: uppercase; }
.kpi .value { font-family: var(--f-display); font-weight: 900; font-size: 2.1rem; line-height: 1.05; margin-top: 8px; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.kpi .sub { font-size: .78rem; color: var(--ink-3); margin-top: 2px; }
.grid.k4 > .kpi:first-child { background: linear-gradient(150deg, rgba(196, 143, 132, .22), rgba(196, 143, 132, .05) 60%), var(--card); border-color: rgba(196, 143, 132, .45); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head > div { display: flex; flex-direction: column; align-items: flex-start; }
.page-head > div > a.btn { order: -2; margin-bottom: 6px; }
.page-head > div > p { order: -1; }
.page-head > div > h1 { margin: 0; }
.page-head > div > .row { margin-top: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid var(--line-2); background: transparent;
  color: var(--ink); font: inherit; font-weight: 700; font-size: .93rem; padding: 10px 18px; border-radius: 8px; cursor: pointer; min-height: 44px; white-space: nowrap;
  transition: transform .2s, background .2s, border-color .2s, color .2s;
}
.btn:hover { border-color: var(--brand); color: var(--ink); transform: translateY(-2px); }
.btn:active { transform: none; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.btn.primary:hover { background: var(--brand-light); border-color: var(--brand-light); color: var(--on-brand); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 10px 28px -10px rgba(255, 77, 85, .7); }
.btn.accent:hover { background: #ff656c; color: #fff; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--brand-2); padding-left: 8px; padding-right: 8px; }
.btn.ghost:hover { color: var(--brand-light); transform: none; }
.btn.danger { color: var(--danger); }
.btn.danger:hover { border-color: var(--danger); }
.btn.small { min-height: 34px; padding: 6px 12px; font-size: .84rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn .ico { width: 18px; height: 18px; }

label.field { display: block; margin-bottom: 14px; }
label.field > span { display: block; font-weight: 600; font-size: .86rem; margin-bottom: 7px; color: var(--ink-2); }
label.field > span em { font-style: normal; font-weight: 500; color: var(--ink-3); }
.help { font-size: .78rem; color: var(--ink-3); margin-top: 6px; line-height: 1.45; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--field); border: 1px solid var(--line-2); border-radius: 10px;
  padding: 11px 13px; min-height: 46px; outline: none; transition: border-color .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder { color: #75666a; }
select option { background: var(--card); color: var(--ink); }
textarea { min-height: 88px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(196, 143, 132, .22); }
input[readonly] { opacity: .65; }
input[type="checkbox"] { width: 22px; height: 22px; min-height: 0; accent-color: var(--brand); flex-shrink: 0; margin-top: 1px; }
.check { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 14px; cursor: pointer; }
.check span { font-size: .92rem; }
.input-suffix { position: relative; }
.input-suffix input { padding-right: 38px; }
.input-suffix b { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-weight: 600; }

.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(195px, 1fr)); gap: 10px; margin-bottom: 14px; }
.choice {
  position: relative; border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 14px; cursor: pointer; background: var(--card-2);
  text-align: left; font: inherit; color: inherit; transition: border-color .2s, transform .2s;
}
.choice:hover { border-color: var(--line-2); transform: translateY(-2px); }
.choice b { display: block; font-size: .95rem; }
.choice small { display: block; line-height: 1.35; margin-top: 3px; }
.choice.on { border-color: var(--brand); background: linear-gradient(150deg, rgba(196, 143, 132, .2), rgba(196, 143, 132, .05)), var(--card-2); }
.choice.on::after { content: "✓"; position: absolute; top: 10px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-size: .75rem; font-weight: 800; display: grid; place-items: center; }
.choice .emoji { font-size: 1.3rem; display: block; margin-bottom: 4px; }
.choices.picked .choice:not(.on) { display: none; }
.choices.picked { grid-template-columns: 1fr; }
.choices .change { display: none; }
.choices.picked .change { display: inline-flex; justify-self: start; }

.badge { display: inline-flex; align-items: center; gap: 5px; font-family: var(--f-mono); font-size: .64rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 4px; background: rgba(255, 255, 255, .06); color: var(--ink-2); white-space: nowrap; }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.brand { background: var(--brand-soft); color: var(--brand-light); }
.badge.accent { background: var(--accent); color: #fff; }
.badge.muted { background: rgba(255, 255, 255, .05); color: var(--ink-3); }
.badge .ico { width: 12px; height: 12px; }

.notice { border-radius: 12px; padding: 13px 15px; font-size: .9rem; margin-bottom: 14px; display: flex; gap: 12px; align-items: flex-start; border: 1px solid transparent; }
.notice.info { background: var(--brand-soft); color: var(--brand-light); border-color: rgba(196, 143, 132, .25); }
.notice.warn { background: var(--warn-soft); color: #f7d6a6; border-color: rgba(242, 184, 102, .25); }
.notice.accent { background: var(--accent-soft); color: #ffc1c4; border-color: rgba(255, 77, 85, .3); }
.notice b { color: var(--ink); }
.notice ul { margin: 4px 0 0; padding-left: 18px; }
.notice .ico { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }

.list { list-style: none; margin: 0; padding: 0; }
.item { display: flex; gap: 13px; align-items: center; padding: 12px 6px; border-bottom: 1px solid var(--line); color: inherit; border-radius: 10px; transition: background .15s; }
a.item:hover { background: rgba(255, 255, 255, .03); color: inherit; }
.item:last-child { border-bottom: 0; }
.item .thumb { width: 52px; height: 52px; border-radius: 12px; background: var(--card-2) center/cover no-repeat; flex-shrink: 0; display: grid; place-items: center; color: var(--ink-3); font-size: 1.3rem; border: 1px solid var(--line); }
.item .body { flex: 1; min-width: 0; }
.item .title { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .meta { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .03em; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.item .right { text-align: right; flex-shrink: 0; display: grid; gap: 4px; justify-items: end; }
.item .amount { font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; font-variant-numeric: tabular-nums; letter-spacing: .02em; }

table { width: 100%; border-collapse: collapse; font-size: .87rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--f-mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .14em; color: var(--brand); font-weight: 500; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tbody tr:hover td { background: rgba(255, 255, 255, .02); }
tfoot td { font-weight: 750; border-top: 2px solid var(--brand); border-bottom: 0; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
code { font-family: var(--f-mono); font-size: .82rem; color: var(--brand-light); }

.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 12px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { border: 1px solid var(--line-2); background: transparent; border-radius: 999px; padding: 7px 15px; font: inherit; font-size: .84rem; font-weight: 600; color: var(--ink-3); cursor: pointer; white-space: nowrap; transition: .15s; }
.chip:hover { color: var(--ink); border-color: var(--brand); }
.chip.on { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }

/* Upload im „Kamerasucher“-Look */
.dropzone {
  position: relative; border: 1px solid var(--line); border-radius: 16px; padding: 30px 22px; text-align: center; cursor: pointer; transition: .2s;
  display: flex; flex-direction: column; align-items: center; gap: 8px; overflow: hidden;
  background: radial-gradient(420px 200px at 50% 0%, rgba(196, 143, 132, .16), transparent 70%), repeating-linear-gradient(0deg, rgba(255, 255, 255, .022) 0 1px, transparent 1px 4px), var(--studio);
}
.dropzone::before, .dropzone::after { content: ""; position: absolute; width: 34px; height: 34px; border: 0 solid var(--brand); transition: .3s; }
.dropzone::before { top: 12px; left: 12px; border-top-width: 3px; border-left-width: 3px; }
.dropzone::after { bottom: 12px; right: 12px; border-bottom-width: 3px; border-right-width: 3px; }
.dropzone:hover::before, .dropzone.drag::before { top: 6px; left: 6px; border-color: var(--accent); }
.dropzone:hover::after, .dropzone.drag::after { bottom: 6px; right: 6px; border-color: var(--accent); }
.dropzone:hover, .dropzone.drag { border-color: var(--brand); }
.dropzone .big { font-size: 2.1rem; }
.dropzone b { font-family: var(--f-display); font-weight: 800; font-size: 1.45rem; text-transform: uppercase; letter-spacing: .02em; }
.dropzone small { max-width: 44ch; }
.gallery { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.gallery a, .gallery .file { width: 86px; height: 86px; border-radius: 12px; border: 1px solid var(--line); background: var(--card-2) center/cover no-repeat; display: grid; place-items: center; font-size: .7rem; color: var(--ink-2); text-align: center; padding: 4px; overflow: hidden; }

.timeline { list-style: none; padding: 0; margin: 0 0 12px; position: relative; }
.timeline li { position: relative; padding: 0 0 18px 28px; }
.timeline li::before { content: ""; position: absolute; left: 5px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.timeline li::after { content: ""; position: absolute; left: 10px; top: 20px; bottom: 2px; width: 1.5px; background: var(--line-2); }
.timeline li:last-child::after { display: none; }
.timeline li.cancelled { opacity: .45; text-decoration: line-through; }
.timeline li.cancelled::before { background: var(--ink-3); box-shadow: none; }

.progress { height: 8px; background: rgba(255, 255, 255, .06); border-radius: 99px; overflow: hidden; }
.progress > div { height: 100%; background: linear-gradient(90deg, var(--brand), var(--accent)); border-radius: 99px; }

dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; font-size: .92rem; }
dl.facts dt { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
dl.facts dd { margin: 0; font-weight: 550; word-break: break-word; }
@media (max-width: 520px) { dl.facts { grid-template-columns: 1fr; gap: 0; } dl.facts dd { margin-bottom: 10px; } }

details.more { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
details.more:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
details.more summary { cursor: pointer; font-weight: 650; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 10px; }
details.more summary::after { content: "+"; color: var(--brand); font-weight: 700; }
details.more[open] summary::after { content: "–"; }
details.more summary::-webkit-details-marker { display: none; }
details.helpbox summary { cursor: pointer; color: var(--brand-2); font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; list-style: none; display: inline-block; margin-top: 4px; }
details.helpbox summary::-webkit-details-marker { display: none; }
details.helpbox div { font-size: .84rem; color: var(--ink-2); background: var(--card-2); border-left: 3px solid var(--brand); border-radius: 0 10px 10px 0; padding: 11px 13px; margin-top: 8px; }

/* ---------- Modal ---------- */
.modal-back { position: fixed; inset: 0; background: rgba(5, 3, 4, .7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px; animation: fade .15s; }
.modal { background: var(--card); border: 1px solid var(--line); border-radius: 20px; width: 100%; max-width: 580px; max-height: 92dvh; overflow: auto; padding: 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.modal.wide { max-width: 740px; }
.modal .close { float: right; }
@media (max-width: 600px) {
  .modal-back { align-items: flex-end; padding: 0; }
  .modal { border-radius: 22px 22px 0 0; border-bottom: 0; max-height: 94dvh; padding: 20px 18px calc(22px + var(--safe-b)); animation: up .22s ease-out; }
  .choices { grid-template-columns: 1fr 1fr; gap: 8px; }
  .choice { padding: 11px 11px; }
  .choice b { font-size: .86rem; }
  .choice small { font-size: .74rem; }
  .choice .emoji { font-size: 1.15rem; margin-bottom: 2px; }
  .choice.on::after { top: 8px; right: 8px; }
}
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(40px); opacity: .5; } }

/* Onboarding */
.steps { display: flex; gap: 6px; margin-bottom: 20px; }
.steps i { flex: 1; height: 4px; border-radius: 9px; background: var(--line); }
.steps i.on { background: linear-gradient(90deg, var(--brand), var(--accent)); }
.howto { display: grid; gap: 10px; margin: 12px 0 18px; }
.howto > div { display: flex; gap: 13px; align-items: flex-start; background: var(--card-2); border: 1px solid var(--line); border-radius: 14px; padding: 13px; }
.howto > div > div { flex: 1; }
.howto b.n { width: 32px; height: 32px; border-radius: 8px; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; flex-shrink: 0; font-family: var(--f-display); font-weight: 900; font-size: 1.15rem; }
.howto p { margin: 2px 0 0; font-size: .88rem; color: var(--ink-3); }

/* ---------- Anmeldung: Sendestudio-Hero ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.15fr 1fr; }
.auth .hero {
  position: relative; overflow: hidden; padding: 56px clamp(28px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; gap: 22px; color: var(--ink);
  background: radial-gradient(700px 420px at 80% 30%, rgba(196, 143, 132, .2), transparent 70%), repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 4px), var(--studio);
  border-right: 1px solid var(--line);
}
.onair { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .16em; color: var(--ink-3); text-transform: uppercase; }
.onair .pill { background: var(--accent); color: #fff; padding: 3px 10px; border-radius: 3px; display: inline-flex; gap: 7px; align-items: center; }
.onair .dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.vf { position: relative; align-self: flex-start; padding: 26px 30px; }
.vf i { position: absolute; width: 38px; height: 38px; border: 0 solid var(--brand); animation: bracketIn 1.1s cubic-bezier(.2, .9, .2, 1) both; }
.vf i:nth-child(1) { top: 0; left: 0; border-top-width: 3px; border-left-width: 3px; --dx: -30px; --dy: -30px; }
.vf i:nth-child(2) { top: 0; right: 0; border-top-width: 3px; border-right-width: 3px; --dx: 30px; --dy: -30px; }
.vf i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 3px; border-left-width: 3px; --dx: -30px; --dy: 30px; }
.vf i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 3px; border-right-width: 3px; --dx: 30px; --dy: 30px; }
@keyframes bracketIn { from { transform: translate(var(--dx), var(--dy)) scale(1.3); opacity: 0; } }
.vf .wordmark { display: block; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(3rem, 7vw, 5.6rem); line-height: .9; letter-spacing: .01em; animation: logoIn 1.2s cubic-bezier(.2, .9, .2, 1) .2s both; }
.vf .wordmark span { color: var(--brand); }
@keyframes logoIn { from { clip-path: inset(0 100% 0 0); filter: blur(6px); } to { clip-path: inset(0 0 0 0); filter: none; } }
.auth .hero h1 { font-family: var(--f-body); text-transform: none; font-weight: 600; font-size: clamp(1.25rem, 2.2vw, 1.65rem); line-height: 1.35; max-width: 30ch; margin: 0; }
.auth .hero h1 em { font-style: normal; color: var(--brand-light); background: linear-gradient(transparent 62%, rgba(196, 143, 132, .35) 62%); }
.lowerthird { display: flex; align-items: stretch; max-width: 520px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; overflow: hidden; border-radius: 4px; }
.lowerthird b { background: var(--brand); color: var(--on-brand); padding: 8px 12px; font-weight: 500; white-space: nowrap; animation: slideIn .7s .9s cubic-bezier(.2, .9, .2, 1) both; }
.lowerthird span { background: var(--card); padding: 8px 12px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-3); animation: slideIn .7s 1.1s cubic-bezier(.2, .9, .2, 1) both; }
@keyframes slideIn { from { transform: translateX(-30px); opacity: 0; } }
.auth .hero ul { padding: 0; list-style: none; margin: 0; display: grid; gap: 4px; }
.auth .hero li { padding: 6px 0 6px 30px; position: relative; color: var(--ink-2); }
.auth .hero li::before { content: "✓"; position: absolute; left: 0; top: 7px; width: 20px; height: 20px; border-radius: 5px; background: var(--brand-soft); color: var(--brand-light); display: grid; place-items: center; font-size: .72rem; }
.auth .panel { display: flex; align-items: center; justify-content: center; padding: 32px 20px; background: var(--bg); }
.auth form { width: 100%; max-width: 390px; }
.auth form h1 { margin-bottom: 4px; }
@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; }
  .auth .hero { padding: calc(26px + var(--safe-t)) 22px 28px; gap: 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .vf { padding: 18px 22px; }
  .vf i { width: 26px; height: 26px; }
  .auth .hero ul { display: none; }
}

.toast { position: fixed; left: 50%; bottom: calc(104px + var(--safe-b)); transform: translateX(-50%); background: var(--ink); color: var(--studio); padding: 12px 18px; border-radius: 10px; z-index: 80; font-weight: 700; box-shadow: 0 12px 34px rgba(0, 0, 0, .5); max-width: 92vw; animation: up .2s; pointer-events: none; }
.toast.err { background: var(--danger); color: #fff; }
@media (min-width: 861px) { .toast { bottom: 28px; } }

.plan { position: relative; border: 1.5px solid var(--line); border-radius: 18px; padding: 22px; background: var(--card); display: flex; flex-direction: column; transition: transform .3s, border-color .3s; }
.plan:hover { transform: translateY(-4px); border-color: var(--brand); }
.plan > b { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 1.7rem; letter-spacing: .02em; }
.plan.current { border-color: var(--brand); background: linear-gradient(160deg, rgba(196, 143, 132, .18), transparent 60%), var(--card); }
.plan .price { font-family: var(--f-display); font-size: 2.8rem; font-weight: 900; margin: 10px 0 2px; line-height: 1; }
.plan ul { padding-left: 0; list-style: none; margin: 14px 0 20px; flex: 1; font-size: .9rem; display: grid; gap: 6px; }
.plan li { padding-left: 22px; position: relative; color: var(--ink-2); }
.plan li::before { content: "●"; position: absolute; left: 2px; color: var(--accent); font-size: .6rem; top: 5px; }

.spinner { width: 22px; height: 22px; border: 3px solid rgba(196, 143, 132, .2); border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty { text-align: center; padding: 36px 16px; color: var(--ink-3); }
.empty .big { font-size: 2.4rem; margin-bottom: 6px; }

/* Steuerliche Einordnung – wie ein eingeblendetes „Lower Third“ */
.taxbox { background: linear-gradient(160deg, rgba(196, 143, 132, .12), transparent 55%), var(--card); border-color: rgba(196, 143, 132, .35); }
.taxbox h2::after { content: "LIVE-BERECHNUNG"; font-family: var(--f-mono); font-size: .6rem; letter-spacing: .14em; font-weight: 400; color: #fff; background: var(--accent); padding: 3px 8px; border-radius: 3px; }
.taxline { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: .92rem; border-bottom: 1px dashed var(--line-2); }
.taxline:last-child { border-bottom: 0; }
.taxline b { font-variant-numeric: tabular-nums; text-align: right; }

/* Druck (Monatsbericht als PDF) – immer hell & sachlich */
.print-only { display: none; }
@media print {
  :root { color-scheme: light; --ink: #111; --ink-2: #222; --ink-3: #555; --line: #ccc; --brand: #7a4b42; --card: #fff; --bg: #fff; }
  body { background: #fff; color: #111; font-size: 11px; }
  .sidebar, .tabbar, .topbar, .no-print, .btn, .chips { display: none !important; }
  .main { padding: 0; max-width: none; }
  .card, .kpi { box-shadow: none; background: #fff !important; border: 1px solid #ccc; }
  .card { border: 0; padding: 0; margin-bottom: 14px; }
  .kpi .value { color: #111; }
  .print-only { display: block; }
  a { color: inherit; }
  .notice { background: #f4f4f4 !important; color: #111 !important; }
  .taxbox h2::after, .page-head > div > p::before { display: none; }
  h1, h2 { color: #111; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
