:root {
  --bg: #F5F5F7;
  --card: #FFFFFF;
  --ink: #1D1D1F;
  --ink-2: #424245;
  --ink-3: #636366;
  --muted: #8E8E93;
  --line: #E8E8ED;
  --green: #0A63CE;
  --green-dark: #084C9E;
  --sage: #D9E6F7;
  --sage-2: #A9C4EA;
  --orange: #C2410C;
  --orange-dark: #A2400A;
  --orange-soft: #FDEBDD;
  --orange-on-dark: #F7B58A;
  --red: #8F2A1A;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --side: 248px;
  --display: "Figtree", system-ui, sans-serif;
  --text: "Figtree", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--text); font-size: 16px; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid rgba(10,99,206,.45); outline-offset: 2px; }
h1, h2, .display { font-optical-sizing: auto; }
.num { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Navigation: Seitenleiste am Desktop, Tab-Leiste unten am Handy */
.glass { background: rgba(236,236,240,.8); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
header.top { position: fixed; z-index: 20; top: 0; left: 0; bottom: 0; width: var(--side); border-right: 1px solid #E5E5EA; display: flex; flex-direction: column; padding: 28px 16px 20px; overflow-y: auto; }
body.has-nav { padding-left: var(--side); }
.brand { display: flex; flex-direction: column; gap: 2px; padding: 0 12px 24px; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.brand small { font-family: var(--text); font-weight: 400; font-size: 13px; letter-spacing: 0; color: var(--ink-3); }
.brand:hover { color: var(--ink); }
nav.main { display: flex; flex-direction: column; gap: 4px; }
nav.main a { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 0 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; transition: background-color 150ms ease; }
nav.main a svg { flex: none; width: 18px; height: 18px; color: var(--muted); }
nav.main a:hover { background: rgba(0,0,0,.05); color: var(--ink); }
nav.main a[aria-current="page"] { background: var(--card); box-shadow: 0 1px 2px rgba(0,0,0,.08); font-weight: 700; }
nav.main a[aria-current="page"] svg { color: var(--green); }
nav.sub { display: flex; flex-direction: column; gap: 2px; padding: 6px 0 6px 42px; }
nav.sub a { display: flex; align-items: center; min-height: 32px; font-size: 14px; color: var(--ink-2); text-decoration: none; border-radius: 8px; padding: 0 8px; margin-left: -8px; }
nav.sub a:hover { background: rgba(0,0,0,.05); color: var(--ink); }
.side-foot { margin-top: auto; padding: 16px 12px 0; border-top: 1px solid #E5E5EA; display: flex; flex-direction: column; gap: 2px; }
.side-foot a, .logout { display: flex; align-items: center; min-height: 36px; padding: 0; color: var(--ink-2); text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; text-align: left; }
.side-foot a:hover, .logout:hover { color: var(--ink); }
.side-foot a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.guestbar { margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--ink-2); background: var(--card); border-radius: 12px; padding: 10px 12px; }
.mtop { display: none; }

main.wrap { max-width: 1240px; margin: 0 auto; padding: 40px 48px 64px; display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.card { background: var(--card); border-radius: 20px; padding: 22px 24px; min-width: 0; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.card.dark { background: var(--ink); color: #F5F5F7; box-shadow: none; }
.card h2 { margin: 0; font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.card h2.label { font-family: var(--text); font-size: 16px; color: var(--ink-2); }
.card.dark h2.label { color: var(--orange-on-dark); }
.big { font-family: var(--display); font-size: 40px; line-height: 1; font-weight: 700; letter-spacing: -0.02em; margin-top: 6px; }
.lead-h { margin: 0; font-family: var(--display); font-size: 40px; line-height: 1.06; font-weight: 800; letter-spacing: -0.025em; max-width: 22ch; text-wrap: balance; }
.lead-p { margin: 10px 0 0; font-size: 18px; line-height: 1.5; color: var(--ink-2); max-width: 60ch; }
.sub { margin: 6px 0 0; font-size: 15px; line-height: 1.45; color: var(--ink-3); }
.col-feed { flex: 1 1 250px; max-width: 340px; }
.col-main { flex: 2 1 560px; }
.col-side { flex: 1 1 240px; max-width: 320px; display: flex; flex-direction: column; gap: 16px; }
.col-detail { flex: 1 1 340px; max-width: 460px; display: flex; flex-direction: column; gap: 16px; }

.press { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--green); color: #FFFFFF; text-decoration: none; font: inherit; font-weight: 700; cursor: pointer; transition: transform 140ms var(--ease-out), background-color 150ms ease; }
.press:hover { background: var(--green-dark); color: #FFFFFF; }
.press:active { transform: scale(.97); }
.press[disabled] { opacity: .55; cursor: progress; }
.press.ghost { background: rgba(10,99,206,.1); color: var(--green); box-shadow: none; }
.press.ghost:hover { background: rgba(10,99,206,.16); color: var(--green-dark); }

/* Aufklappen und Scrollrahmen */
.scrollbox { max-height: 520px; overflow-y: auto; overscroll-behavior: contain; }
details.more { margin-top: 6px; }
details.more > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-weight: 700; color: var(--green); cursor: pointer; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 200ms var(--ease-out); }
details.more[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
details.more[open] > summary .when-closed, details.more:not([open]) > summary .when-open { display: none; }
.chev { flex: none; transition: transform 200ms var(--ease-out); }
[aria-expanded="true"] > .chev { transform: rotate(90deg); }

.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); flex: none; animation: pulse 2s ease-out 3; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(194,65,12,.55) } 70% { box-shadow: 0 0 0 10px rgba(194,65,12,0) } 100% { box-shadow: 0 0 0 0 rgba(194,65,12,0) } }

ol.feed { list-style: none; margin: 14px 0 0; padding: 0; }
ol.feed li { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
ol.feed .t { flex: none; width: 44px; font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; padding-top: 2px; }
ol.feed .w { min-width: 0; font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
ol.feed strong { font-weight: 700; }
.c-hot { color: var(--orange-dark); }
.c-firm { color: var(--green); }
.c-anon { color: var(--ink-3); }

.bars { display: flex; align-items: flex-end; gap: 3px; height: 44px; margin-top: 8px; }
.bars div { flex: 1; min-height: 2px; border-radius: 3px; background: var(--sage-2); }
.bars div.peak { background: var(--orange); }

svg.radar { width: 100%; height: auto; margin-top: 12px; }
svg.radar .dot { cursor: pointer; transition: transform 140ms cubic-bezier(.2,.9,.3,1); transform-box: fill-box; transform-origin: center; }
svg.radar .dot:hover { transform: scale(1.25); }

.empty { border: 2px dashed var(--sage); border-radius: 16px; padding: 18px 20px; margin-top: 16px; color: var(--ink-2); line-height: 1.5; }
pre.code { background: var(--ink); color: var(--bg); padding: 14px 16px; border-radius: 12px; overflow-x: auto; font-size: 14px; line-height: 1.5; white-space: pre-wrap; word-break: break-all; }

/* Firmen */
ul.list { list-style: none; margin: 14px 0 0; padding: 0; }
ul.list button { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; background: none; border: 0; border-top: 1px solid var(--line); padding: 14px 6px; font: inherit; color: inherit; cursor: pointer; border-radius: 10px; }
ul.list button:hover { background: rgba(0,0,0,.04); }
ul.list button[aria-pressed="true"] { background: rgba(10,99,206,.1); }
.score { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 18px; background: var(--sage); color: var(--ink); }
.score.hot { background: var(--orange); color: #FFFFFF; }
.li-main { min-width: 0; flex: 1; }
.li-name { font-weight: 700; font-size: 17px; overflow-wrap: anywhere; }
.li-meta { font-size: 14px; color: var(--ink-3); margin-top: 2px; }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; margin-top: 16px; }
.kv div { background: rgba(255,255,255,.08); border-radius: 12px; padding: 10px 12px; }
.kv b { display: block; font-family: var(--display); font-size: 26px; }
.kv span { font-size: 14px; color: #D2D2D7; }
ol.timeline { list-style: none; margin: 10px 0 0; padding: 0; }
ol.timeline li { display: flex; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; }
ol.timeline .t { flex: none; width: 92px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
ol.timeline .p { min-width: 0; overflow-wrap: anywhere; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--orange-soft); color: var(--ink); margin-left: 6px; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }
label.search { flex: 1 1 220px; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border-radius: 12px; background: var(--bg); }
label.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; }
.filters .range { max-width: 100%; overflow-x: auto; }
label.search:focus-within { outline: 3px solid rgba(10,99,206,.45); outline-offset: 1px; }

/* Quellen, Orte, Branchen */
.col-mid { flex: 2 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.mix2 { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.mix2 > .card { flex: 1 1 260px; display: flex; flex-direction: column; }
.mix2 .foot { margin-top: auto; padding-top: 14px; }
ul.barlist { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bl-head { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; }
.bl-name { min-width: 0; overflow-wrap: anywhere; font-weight: 700; }
.bl-note { font-weight: 400; color: var(--ink-3); font-size: 14px; }
.bl-val { flex: none; color: var(--ink-2); }
.bl-pct { color: var(--muted); font-size: 14px; }
.bl-track { height: 8px; border-radius: 4px; background: var(--line); margin-top: 6px; overflow: hidden; }
.bl-track div { height: 100%; border-radius: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip { font-size: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(10,99,206,.1); color: var(--ink-2); }
.guess { font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--line); color: var(--ink-3); margin-left: 6px; vertical-align: 2px; }

/* Firmen: Muster und Verlauf */
.stage { display: inline-block; font-size: 14px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--sage); color: var(--ink); }
.stage.Kaufbereit { background: var(--orange); color: #FFFFFF; }
.stage.Evaluierung { background: var(--green); color: #FFFFFF; }
.scorebar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: rgba(255,255,255,.14); margin-top: 10px; }
.legend.small { margin-top: 10px; font-size: 14px; gap: 6px 14px; color: #D2D2D7; }
.legend.small i { width: 10px; height: 10px; border-radius: 2px; }
.advice { margin: 14px 0 0; font-size: 17px; line-height: 1.5; color: var(--orange-soft); }
.days14 { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 0; margin-top: 16px; }
.days14 > div { border-left: 1px solid var(--line); padding: 0 2px 8px; min-height: 100px; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.days14 > div.today { background: rgba(194,65,12,.08); }
.days14 .dl { font-size: 12px; color: var(--ink-3); padding: 6px 0 4px; text-align: center; line-height: 1.25; font-variant-numeric: tabular-nums; }
.days14 .dl b { display: block; font-size: 14px; color: var(--ink-2); }
.days14 .vd { border-radius: 50%; background: var(--green); flex: none; }
.days14 .vd.buy { background: var(--orange); }
.scrollx { overflow-x: auto; }
ol.sessions { list-style: none; margin: 12px 0 0; padding: 0; }
ol.sessions > li { padding: 14px 0; border-top: 1px solid var(--line); }
.s-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: 15px; color: var(--ink-3); }
.s-head b { color: var(--ink); }
.path { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.path span { font-size: 14px; padding: 4px 10px; border-radius: 8px; background: rgba(10,99,206,.1); }
.path span.buy { background: var(--orange-soft); }
.path i { font-style: normal; color: var(--muted); }
select.ind { font: inherit; font-size: 15px; min-height: 36px; border-radius: 10px; border: 1px solid #48484A; background: rgba(255,255,255,.08); color: #F5F5F7; padding: 0 8px; max-width: 100%; }
select.ind option { color: var(--ink); }

/* Briefing */
.brief-head { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 24px 56px; align-items: flex-end; padding: 8px 4px 4px; }
.brief-head .lead-h { font-size: 46px; max-width: 18ch; }
.kpis { flex: 1 1 100%; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); background: var(--card); border-radius: 18px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.kpis > div { padding: 20px 24px; }
.kpis > div + div { border-left: 1px solid var(--line); }
.kpis dt { font-size: 14px; color: var(--ink-3); }
.kpis dd { margin: 6px 0 0; font-family: var(--display); font-size: 36px; font-weight: 700; letter-spacing: -0.02em; }
.kpis dd small { display: block; font-family: var(--text); font-size: 14px; font-weight: 400; color: var(--ink-3); letter-spacing: 0; }
.range { display: inline-flex; gap: 2px; background: #E8E8ED; padding: 3px; border-radius: 10px; }
.range button { border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; min-height: 34px; padding: 0 14px; border-radius: 8px; color: var(--ink-2); cursor: pointer; transition: transform 120ms var(--ease-out); }
.range button:active { transform: scale(.97); }
.range button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.board { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.board > .card { flex: 1 1 300px; border-top: 0; }
.board > .card.Evaluierung { border-top-color: var(--green); }
.board > .card.Kaufbereit { border-top-color: var(--orange); box-shadow: inset 0 0 0 2px #F3C7A8; }
.board .head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.board a.firm { display: flex; justify-content: space-between; gap: 14px; padding: 13px 8px; margin: 0 -8px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; border-radius: 10px; }
.board a.firm:hover { background: rgba(0,0,0,.05); }
.board .fn { display: block; font-weight: 700; font-size: 17px; overflow-wrap: anywhere; }
.board .fs { display: block; font-size: 14px; color: var(--ink-3); margin-top: 3px; }
.board .fv { flex: none; font-family: var(--display); font-weight: 800; font-size: 18px; }
.daybars { display: flex; align-items: flex-end; gap: 8px; height: 150px; margin-top: 18px; }
.daybars .d { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; gap: 6px; min-width: 0; }
.daybars .b { background: var(--sage); border-radius: 6px 6px 0 0; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.daybars .b div { background: var(--green); }
.daybars span { font-size: 13px; color: var(--ink-3); text-align: center; white-space: nowrap; }
.patterns { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 14px; }
.patterns > div { background: var(--bg); border-radius: 16px; padding: 14px 16px; }
.patterns b { display: block; font-size: 16px; }
.patterns .pv { font-family: var(--display); font-size: 30px; font-weight: 800; margin: 4px 0; }
.patterns p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink-3); }

/* Aufklappbare Zeilen (Briefing) */
.xlist { border-top: 1px solid var(--line); }
details.xrow + details.xrow { border-top: 1px solid var(--line); }
details.xrow > summary { list-style: none; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 16px; gap: 14px; align-items: center; min-height: 64px; padding: 10px 20px; cursor: pointer; transition: background-color 150ms ease; }
details.xrow > summary::-webkit-details-marker { display: none; }
details.xrow > summary:hover, details.xrow[open] { background: #FAFAFC; }
details.xrow[open] > summary .chev { transform: rotate(90deg); }
details.xrow .av { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; background: #E3EEFB; color: #0A4F9E; }
details.xrow .av.hot { background: var(--orange-soft); color: var(--orange-dark); }
details.xrow .xt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
details.xrow .xt b { font-size: 16px; }
details.xrow .xt span { font-size: 15px; color: var(--ink-2); }
details.xrow .xs { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #E3EEFB; color: #0A4F9E; }
details.xrow .xs.hot { background: var(--orange-soft); color: var(--orange-dark); }
details.xrow .xd { padding: 0 20px 18px 74px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
details.xrow .xd p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); flex: 1 1 320px; }
@media (max-width: 720px) {
  .kpis > div + div { border-left: 0; border-top: 1px solid var(--line); }
  details.xrow > summary { grid-template-columns: 36px minmax(0, 1fr) 14px; padding: 10px 16px; }
  details.xrow .xs { display: none; }
  details.xrow .xd { padding-left: 16px; }
}

/* Website */
.legend { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; color: var(--ink-2); }
.legend .lg { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--bg); font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: transform 120ms var(--ease-out); }
.legend .lg:active { transform: scale(.97); }
.legend .lg[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; }
.legend .lg .num { color: inherit; opacity: .7; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.groups { display: flex; flex-direction: column; gap: 22px; margin-top: 24px; }
.groups h2 { margin: 0 0 10px; font-family: var(--text); font-size: 17px; font-weight: 700; }
.groups h2 span { font-weight: 400; color: var(--ink-3); }
.tiles { display: flex; flex-wrap: wrap; gap: 8px; }
.tile { width: 44px; height: 44px; border-radius: 10px; border: 0; padding: 0; cursor: pointer; background: var(--sage); transition: transform 140ms cubic-bezier(.2,.9,.3,1); }
.tile:hover, .tile[aria-pressed="true"] { transform: scale(1.06); }
.tile:active { transform: scale(.92); transition-duration: 50ms; }
.tile[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--ink); }
.tile.slow { background: var(--orange); }
.tile.err { background: var(--red); }
.tile.ok { background: var(--sage); }
.tile.neu { background: #fff; border: 2px dashed var(--green); }
.tile.warn { background: var(--sage-2); }
.rowline { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 16px; }
.rowline span:first-child { min-width: 0; overflow-wrap: anywhere; }
.uptime { display: flex; gap: 3px; height: 30px; }
.uptime div { flex: 1; border-radius: 3px; background: var(--green); }
.uptime div.bad { background: var(--orange); }
.uptime div.none { background: var(--line); }
.detail-url { font-family: var(--display); font-size: 24px; font-weight: 700; margin-top: 4px; word-break: break-word; }
.fix { color: var(--orange-soft); }

/* Gastzugang */
.guestbar { font-size: 15px; color: var(--ink-2); }
.guestbar .bar { justify-content: flex-start !important; }
body[data-role="guest"] .owner-only { display: none !important; }
body:not([data-role="guest"]) .guest-only { display: none !important; }
.sharelink { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.sharelink input { flex: 1 1 260px; min-width: 0; min-height: 44px; border-radius: 12px; border: 2px solid var(--line); padding: 0 12px; font: inherit; font-size: 15px; background: #fff; }
.form-row { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: flex-end; margin-top: 16px; }
.form-row label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 15px; }
.form-row input[type="text"], .form-row select { min-height: 44px; border-radius: 12px; border: 2px solid var(--line); padding: 0 12px; font: inherit; font-weight: 400; background: #fff; min-width: 200px; }
.form-row .check { flex-direction: row; align-items: center; font-weight: 400; min-height: 44px; }
.form-row .check input { width: 20px; height: 20px; accent-color: var(--green); }
.status { font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--sage); }
.status.aktiv { background: var(--green); color: var(--card); }
.status.widerrufen { background: var(--orange-soft); }

/* Login */
.login { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login form { width: 100%; max-width: 400px; }
.login input { width: 100%; min-height: 48px; border-radius: 12px; border: 2px solid var(--line); padding: 0 14px; font: inherit; font-size: 17px; margin: 14px 0; background: #fff; }
.err-msg { color: var(--red); font-weight: 700; min-height: 1.4em; }

@media (max-width: 720px) {
  body.has-nav { padding-left: 0; padding-bottom: 96px; }
  header.top { top: auto; right: 10px; left: 10px; bottom: 14px; width: auto; height: auto; padding: 6px; border: 0; border-radius: 26px; flex-direction: row; overflow: visible; background: rgba(255,255,255,.72); box-shadow: 0 10px 30px -10px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.8); }
  header.top .brand, header.top .side-foot, header.top nav.sub, header.top .guestbar { display: none; }
  nav.main { flex-direction: row; flex: 1; gap: 2px; }
  nav.main a { flex: 1; flex-direction: column; justify-content: center; gap: 3px; min-height: 52px; padding: 0 2px; font-size: 11px; font-weight: 600; color: var(--ink-3); border-radius: 14px; transition: transform 120ms var(--ease-out); }
  nav.main a:active { transform: scale(.94); }
  nav.main a svg { width: 22px; height: 22px; color: currentColor; }
  nav.main a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10.5px; }
  nav.main a[aria-current="page"] { background: transparent; box-shadow: none; color: var(--green); }
  .mtop { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px 0; }
  .mtop .brand { padding: 0; font-size: 20px; }
  .mtop .acts { display: flex; gap: 8px; align-items: center; }
  .mtop .acts a, .mtop .acts button { min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--card); box-shadow: 0 1px 2px rgba(0,0,0,.06); color: var(--ink-2); font: inherit; font-size: 14px; font-weight: 600; border: 0; display: inline-flex; align-items: center; text-decoration: none; cursor: pointer; }
  .mtop-guest { margin: 10px 16px 0; font-size: 13px; color: var(--ink-2); }
  .brief-head .lead-h { font-size: 32px; }
  main.wrap { padding: 20px 16px 32px; }
  .lead-h { font-size: 30px; }
  .col-feed, .col-side, .col-detail { max-width: none; }
  ul.list.scrollbox, ol.feed.scrollbox { max-height: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
  .press, .tile, svg.radar .dot, nav.main a, .chev, details.more > summary::after, .range button { transition: none; }
  .press:active, .tile:hover, .tile:active, .tile[aria-pressed="true"], svg.radar .dot:hover { transform: none; }
}
@media (prefers-reduced-transparency: reduce) { .glass, header.top { background: #ECECF0 !important; -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (prefers-contrast: more) { .glass, header.top { background: #ECECF0 !important; backdrop-filter: none; border-right: 1px solid var(--ink); } .tile { outline: 1px solid var(--ink); outline-offset: -1px; } }
@media (max-width: 720px) {
  .board > .card.Kaufbereit { order: -2; }
  .board > .card.Evaluierung { order: -1; }
}
