/* OSCC – Hosting-Control-Panel-Stil: Navy-Grundfläche, Türkis-Akzente, klare Statusfarben (Konzept 4). */
:root {
  --navy-900: #0b1629; --navy-800: #11203a; --navy-700: #182b4b; --navy-600: #23395f;
  --line: #2a4068; --text: #e6edf7; --muted: #93a4c0; --teal: #19c3c9;
  --ok: #2ecc71; --warn: #f5b041; --err: #ef5350; --info: #4fa3f7; --locked: #b388ff;
  --radius: 8px; font-size: 16px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--navy-900); color: var(--text); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.5; }
a { color: var(--teal); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
code, pre, .mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--teal); color: #000; padding: 6px 10px; z-index: 10; }
.topbar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: var(--navy-800); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.brand { display: inline-flex; align-items: center; line-height: 0; }
.brand img { height: 44px; width: auto; display: block; }
.brand span, .brand-lg span { color: var(--teal); font-weight: 400; margin-left: 6px; font-size: .9em; }
.topbar-user { margin-left: auto; display: flex; gap: 10px; align-items: center; color: var(--muted); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: var(--radius); padding: 4px 10px; }
.shell { display: flex; min-height: calc(100vh - 52px); }
.sidenav { width: 260px; flex-shrink: 0; background: var(--navy-800); border-right: 1px solid var(--line); padding: 12px 0; }
.sidenav ul { list-style: none; margin: 0; padding: 0; }
.sidenav a { display: block; padding: 9px 18px; color: var(--text); text-decoration: none; border-left: 3px solid transparent; }
.sidenav a:hover { background: var(--navy-700); }
.sidenav a.active { background: var(--navy-700); border-left-color: var(--teal); }
.sidenav .tag { display: block; color: var(--muted); font-size: .72em; }
.main-col { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.main { flex: 1; padding: 20px 24px; min-width: 0; }
.page-footer { color: var(--muted); font-size: .8em; text-align: center; padding: 12px 16px; border-top: 1px solid var(--line); }
h1 { font-size: 1.5rem; margin: 0 0 16px; }
h2 { font-size: 1.15rem; margin: 20px 0 10px; }
.card { background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 16px; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.stat .label { color: var(--muted); font-size: .85em; }
.stat .value { font-size: 1.6rem; font-weight: 700; }
.meter { height: 8px; background: var(--navy-600); border-radius: 4px; overflow: hidden; margin-top: 6px; }
.meter > span { display: block; height: 100%; background: var(--teal); }
.meter.warn > span { background: var(--warn); }
.meter.err > span { background: var(--err); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: .85em; text-transform: uppercase; letter-spacing: .04em; }
th a { color: inherit; }
.table-wrap { overflow-x: auto; }
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .8em; font-weight: 600; border: 1px solid; white-space: nowrap; }
.badge-ok { color: var(--ok); border-color: var(--ok); }
.badge-warn { color: var(--warn); border-color: var(--warn); }
.badge-err { color: var(--err); border-color: var(--err); }
.badge-info { color: var(--info); border-color: var(--info); }
.badge-muted { color: var(--muted); border-color: var(--line); }
.badge-locked { color: var(--locked); border-color: var(--locked); }
.btn { display: inline-block; background: var(--teal); color: #04121a; border: 0; border-radius: var(--radius); padding: 8px 14px; font-weight: 600; text-decoration: none; cursor: pointer; font-size: .95rem; }
.btn:hover { background: #3fd6db; }
.btn-sm { padding: 4px 10px; font-size: .85rem; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--navy-700); }
.btn-danger { background: var(--err); color: #fff; }
.btn-danger:hover { background: #ff6f6c; }
.btn-warn { background: var(--warn); color: #1d1300; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
form.inline { display: inline; }
label { display: block; font-weight: 600; margin: 12px 0 4px; }
label.check { font-weight: 400; display: flex; gap: 8px; align-items: center; }
.hint { color: var(--muted); font-size: .85em; font-weight: 400; }
input[type=text], input[type=password], input[type=email], input[type=number], input[type=search], select, textarea {
  width: 100%; max-width: 520px; background: var(--navy-900); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 10px; font-size: 1rem; }
input[aria-invalid=true] { border-color: var(--err); }
.field-error { color: var(--err); margin: 4px 0 0; font-size: .9em; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 20px; }
.alert { border-radius: var(--radius); padding: 10px 14px; margin-bottom: 14px; border: 1px solid; }
.alert-success { border-color: var(--ok); background: rgba(46,204,113,.1); }
.alert-error { border-color: var(--err); background: rgba(239,83,80,.1); }
.alert-warning { border-color: var(--warn); background: rgba(245,176,65,.1); }
.alert-info { border-color: var(--info); background: rgba(79,163,247,.1); }
.muted { color: var(--muted); }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin-bottom: 12px; }
.toolbar input, .toolbar select { width: auto; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 14px; flex-wrap: wrap; }
.tabs a { padding: 8px 14px; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; }
.tabs a.active { color: var(--text); border-bottom-color: var(--teal); }
dl.kv { display: grid; grid-template-columns: 200px 1fr; gap: 6px 14px; margin: 0; }
dl.kv dt { color: var(--muted); }
dl.kv dd { margin: 0; word-break: break-word; }
.console { background: #050b16; border: 1px solid var(--line); border-radius: var(--radius); height: 460px; overflow-y: auto; padding: 10px; font-size: .85rem; white-space: pre-wrap; word-break: break-word; font-family: ui-monospace, Consolas, monospace; }
.console .l-warn { color: var(--warn); }
.console .l-error { color: var(--err); }
.console .l-cmd { color: var(--teal); }
.pagination { display: flex; gap: 4px; margin-top: 12px; flex-wrap: wrap; }
.pagination a { padding: 4px 10px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }
.pagination a.active { background: var(--teal); color: #04121a; }
.danger-zone { border-color: var(--err); }
.guest { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; }
.guest .guest-box { margin-top: auto; }
.page-footer-guest { margin-top: auto; border-top: 0; width: 100%; }
.guest-box { width: 100%; max-width: 420px; padding: 24px; }
.brand-lg { margin: 0 0 16px; line-height: 0; text-align: center; }
.brand-lg img { width: 100%; max-width: 372px; height: auto; }
pre { background: #050b16; padding: 10px; border-radius: var(--radius); overflow-x: auto; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .sidenav { position: fixed; top: 52px; bottom: 0; left: 0; transform: translateX(-100%); transition: transform .2s; z-index: 4; overflow-y: auto; }
  .sidenav.open { transform: none; }
  .main { padding: 16px; }
  dl.kv { grid-template-columns: 1fr; }
}
.page-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.stat .value-sm, .value.value-sm { font-size: 1rem; }
progress.meter { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border: 0; border-radius: 4px; background: var(--navy-600); overflow: hidden; display: block; margin-top: 6px; }
progress.meter::-webkit-progress-bar { background: var(--navy-600); }
progress.meter::-webkit-progress-value { background: var(--teal); }
progress.meter::-moz-progress-bar { background: var(--teal); }
progress.meter.warn::-webkit-progress-value { background: var(--warn); }
progress.meter.warn::-moz-progress-bar { background: var(--warn); }
progress.meter.err::-webkit-progress-value { background: var(--err); }
progress.meter.err::-moz-progress-bar { background: var(--err); }
fieldset.plain { border: 0; padding: 0; margin: 0; min-width: 0; }
details summary { cursor: pointer; color: var(--teal); }

/* ---------- Dashboard (1.2) ---------- */
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.btn { display: inline-flex; align-items: center; gap: 7px; }
.btn .ico { width: 16px; height: 16px; }
.btn.copied { border-color: var(--ok); color: var(--ok); }
.dash { max-width: 1440px; }
.dash-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; }
.dash-head h1 { margin: 0; font-size: 1.75rem; letter-spacing: -.01em; }
.eyebrow { margin: 0 0 2px; color: var(--teal); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.hero { display: grid; grid-template-columns: minmax(240px, 1.2fr) minmax(260px, 1.4fr) auto; gap: 18px 32px; align-items: center;
  padding: 20px 24px; margin-bottom: 18px; border-radius: 14px; border: 1px solid var(--line);
  background: radial-gradient(120% 160% at 0% 0%, rgba(25,195,201,.16), transparent 55%), linear-gradient(135deg, #12274a, #0e1c35); }
.hero-err { background: radial-gradient(120% 160% at 0% 0%, rgba(239,83,80,.18), transparent 55%), linear-gradient(135deg, #12274a, #0e1c35); }
.hero-warn { background: radial-gradient(120% 160% at 0% 0%, rgba(245,176,65,.16), transparent 55%), linear-gradient(135deg, #12274a, #0e1c35); }
.hero-status { display: flex; gap: 16px; align-items: center; }
.hero-title { font-size: 1.35rem; font-weight: 700; }
.hero-sub { color: var(--muted); font-size: .9rem; }
.hero-label { display: block; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.hero-meta strong { font-size: 1.05rem; white-space: nowrap; }
.pulse { position: relative; width: 16px; height: 16px; border-radius: 50%; background: var(--ok); flex-shrink: 0; box-shadow: 0 0 0 4px rgba(46,204,113,.18); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 2.2s ease-out infinite; }
.hero-warn .pulse { background: var(--warn); box-shadow: 0 0 0 4px rgba(245,176,65,.18); }
.hero-err .pulse { background: var(--err); box-shadow: 0 0 0 4px rgba(239,83,80,.18); }
.hero-muted .pulse { background: var(--muted); box-shadow: none; }
@keyframes pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pulse::after { animation: none; } }
.copy-field { display: flex; align-items: center; gap: 8px; background: rgba(5,11,22,.55); border: 1px solid var(--line); border-radius: 10px; padding: 6px 6px 6px 12px; }
.copy-field code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); font-size: .95rem; }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; margin-bottom: 18px; border-radius: 12px;
  border: 1px solid rgba(245,176,65,.45); background: rgba(245,176,65,.08); color: var(--text); }
.notice > .ico { color: var(--warn); margin-top: 2px; }
.notice ul { margin: 4px 0 0; padding-left: 18px; color: var(--muted); }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-bottom: 18px; }
.kpi { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 12px; background: var(--navy-800); border: 1px solid var(--line);
  color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s, background .15s; }
.kpi:hover { border-color: rgba(25,195,201,.6); background: #13254a; transform: translateY(-1px); }
.kpi-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; }
.kpi-ico .ico { width: 22px; height: 22px; }
.tone-ok { color: var(--ok); background: rgba(46,204,113,.12); }
.tone-warn { color: var(--warn); background: rgba(245,176,65,.12); }
.tone-err { color: var(--err); background: rgba(239,83,80,.12); }
.tone-muted { color: var(--muted); background: rgba(147,164,192,.12); }
.kpi-body { display: flex; flex-direction: column; min-width: 0; }
.kpi-label { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.kpi-value { font-size: 1.85rem; font-weight: 700; line-height: 1.15; }
.kpi-value small { font-size: .55em; color: var(--muted); font-weight: 600; margin-left: 2px; }
.kpi-value-text { font-size: 1.25rem; padding: 4px 0 3px; }
.kpi-sub { color: var(--muted); font-size: .82rem; }
.t-err { color: var(--err); }

.dash-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 18px; margin-bottom: 18px; }
.panel { background: var(--navy-800); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; min-width: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.panel-head h2 { margin: 0; font-size: 1.05rem; }
.panel-link { font-size: .85rem; text-decoration: none; }
.panel-link:hover { text-decoration: underline; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 6px var(--ok); }

.res { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.res-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 7px; }
.res-name { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; }
.res-name .ico { color: var(--teal); }
.res-val { font-weight: 700; font-variant-numeric: tabular-nums; }
.res-sub { color: var(--muted); font-size: .8rem; margin-top: 6px; }
.bar { height: 8px; border-radius: 999px; background: var(--navy-600); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #128f94, var(--teal)); }
.bar-warn > span { background: linear-gradient(90deg, #c98a2a, var(--warn)); }
.bar-err > span { background: linear-gradient(90deg, #b83b39, var(--err)); }
.net-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.net-row span { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 10px; background: rgba(5,11,22,.45); border: 1px solid var(--line); }
.net-row small { color: var(--muted); font-size: .75rem; }
.net-row strong { font-variant-numeric: tabular-nums; }

.list { list-style: none; margin: 0; padding: 0; }
.list li + li { border-top: 1px solid var(--line); }
.list a { display: flex; align-items: center; gap: 12px; padding: 11px 6px; color: var(--text); text-decoration: none; border-radius: 8px; }
.list a:hover { background: var(--navy-700); }
.list-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.list-main small { color: var(--muted); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; background: var(--muted); }
.dot-ok { background: var(--ok); box-shadow: 0 0 6px rgba(46,204,113,.7); }
.dot-warn { background: var(--warn); }
.dot-err { background: var(--err); }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 0 8px 22px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.timeline li:first-child::before { top: 50%; }
.timeline li:last-child::before { bottom: 50%; }
.tl-dot { position: absolute; left: 0; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--muted); border: 2px solid var(--navy-800); }
.tl-ok .tl-dot { background: var(--ok); }
.tl-err .tl-dot { background: var(--err); }
.tl-warn .tl-dot { background: var(--warn); }
.tl-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tl-body code { font-size: .88rem; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-body small { color: var(--muted); font-size: .78rem; }

.empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px 10px; text-align: center; color: var(--muted); }
.empty .ico { width: 34px; height: 34px; opacity: .7; }
.empty p { margin: 0; }
.empty-ok .ico { color: var(--ok); opacity: 1; }

/* Navigation & Kopfzeile verfeinert */
.topbar { background: rgba(17,32,58,.92); backdrop-filter: blur(8px); }
.sidenav a { margin: 1px 10px; padding: 9px 12px; border-left: 0; border-radius: 8px; color: #c9d5e8; }
.sidenav a:hover { color: var(--text); }
.sidenav a.active { background: linear-gradient(90deg, rgba(25,195,201,.18), rgba(25,195,201,.04)); color: var(--text); box-shadow: inset 3px 0 0 var(--teal); }

@media (max-width: 1100px) { .hero { grid-template-columns: 1fr 1fr; } .hero-meta { grid-column: 1 / -1; } }
@media (max-width: 700px) { .hero { grid-template-columns: 1fr; } .dash-cols { grid-template-columns: 1fr; } .kpis { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .kpis { grid-template-columns: 1fr; } }
.sub-head { margin: 18px 0 10px; font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quick-tile { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(5,11,22,.35); color: var(--text); text-decoration: none; transition: border-color .15s, background .15s; }
.quick-tile:hover { border-color: rgba(25,195,201,.6); background: var(--navy-700); }
.quick-tile > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.quick-tile small { color: var(--muted); font-size: .78rem; }
.quick-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; color: var(--teal); background: rgba(25,195,201,.12); }
@media (max-width: 460px) { .quick { grid-template-columns: 1fr; } }
.hero > * { min-width: 0; }
@media (max-width: 700px) { .hero { grid-template-columns: minmax(0, 1fr); padding: 18px; } .dash-head .actions { width: 100%; } }
@media (max-width: 460px) {
  .kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .kpi-ico { width: 38px; height: 38px; }
  .kpi-value { font-size: 1.6rem; }
  .kpi-value-text { font-size: 1.05rem; }
  .panel { padding: 16px; }
  .dash-cols { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Registrierung (1.3) ---------- */
.t-ok { color: var(--ok); }
.small { font-size: .8rem; }
.btn-block { width: 100%; justify-content: center; padding-top: 11px; padding-bottom: 11px; font-size: 1rem; }
.guest-box-wide { max-width: 560px; }
.guest-foot { text-align: center; font-size: .88rem; margin-top: 4px; }
.guest-foot a { color: var(--muted); }
.reg-card { padding: 24px 26px; border-radius: 14px; background: radial-gradient(120% 90% at 0% 0%, rgba(25,195,201,.10), transparent 55%), var(--navy-800); }
.reg-title { margin: 0 0 4px; font-size: 1.45rem; }
.reg-lead { margin: 0 0 16px; }
.reg-form input[type=text], .reg-form input[type=email], .reg-form input[type=password] { max-width: none; }
.reg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.reg-avatar { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(5,11,22,.5); }
.reg-avatar-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--teal); background: rgba(25,195,201,.14); flex-shrink: 0; }
.reg-avatar-ico .ico { width: 24px; height: 24px; }
.reg-avatar-body { display: flex; flex-direction: column; min-width: 0; }
.reg-avatar-body small { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.reg-avatar-body strong { font-size: 1.25rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reg-check { margin: 6px 0 0; font-size: .85rem; color: var(--muted); min-height: 1.3em; }
.reg-check.is-ok { color: var(--ok); }
.reg-check.is-err { color: var(--err); }
.pw-meter { height: 5px; border-radius: 999px; background: var(--navy-600); overflow: hidden; margin-top: 8px; max-width: none; }
.pw-meter span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--err); transition: width .2s, background .2s; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.reg-wait { text-align: center; }
.reg-success { text-align: center; padding: 6px 0 10px; }
.reg-success-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; color: var(--ok); background: rgba(46,204,113,.14); box-shadow: 0 0 0 8px rgba(46,204,113,.06); margin-bottom: 10px; }
.reg-success-ico .ico { width: 32px; height: 32px; stroke-width: 2.4; }
.steps { list-style: none; counter-reset: st; margin: 0 0 14px; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: st; position: relative; padding-left: 42px; display: flex; flex-direction: column; gap: 4px; }
.steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .85rem; color: var(--teal); background: rgba(25,195,201,.14); }
.steps li > span { color: var(--muted); font-size: .9rem; }
.steps .copy-field { margin-top: 6px; }
.login-register { margin-top: 14px; padding: 14px 16px; border-radius: 12px; border: 1px dashed var(--line); text-align: center; font-size: .92rem; }
@media (max-width: 520px) { .reg-row { grid-template-columns: 1fr; } .reg-card { padding: 18px; } }
.guest-box, .reg-card, .steps li, .reg-row > div { min-width: 0; }
.brand-lg img { max-width: 100%; height: auto; }
.steps code { word-break: break-all; }

/* ---------- Viewer-Seiten (1.4) ---------- */
body.viewer { min-height: 100vh; background: radial-gradient(90% 70% at 50% 0%, rgba(25,195,201,.16), transparent 60%), radial-gradient(70% 60% at 100% 100%, rgba(79,163,247,.10), transparent 60%), var(--navy-900); }
.vw-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 12px 24px; border-bottom: 1px solid var(--line); background: rgba(17,32,58,.85); }
.vw-head strong { font-size: 1.05rem; }
.vw-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-left: auto; }
.vw-tabs a { padding: 7px 12px; border-radius: 8px; color: #c9d5e8; text-decoration: none; font-size: .92rem; }
.vw-tabs a:hover { background: var(--navy-700); color: var(--text); }
.vw-tabs a.active { background: rgba(25,195,201,.16); color: var(--text); box-shadow: inset 0 -2px 0 var(--teal); }
.vw-main { max-width: 920px; margin: 0 auto; padding: 24px 20px 40px; }
.vw-card { background: rgba(17,32,58,.88); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; margin-bottom: 18px; }
.vw-card h1 { margin: 0 0 12px; font-size: 1.5rem; }
.vw-card h2 { margin: 18px 0 10px; font-size: 1.1rem; }
.vw-card h2:first-child { margin-top: 0; }
.vw-muted { color: var(--muted); }
.vw-kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 14px 0 0; }
.vw-kv dt { color: var(--muted); }
.vw-kv dd { margin: 0; }
.vw-list { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.vw-faq dt { font-weight: 700; margin-top: 14px; }
.vw-faq dd { margin: 4px 0 0; color: #c9d5e8; }
.vw-search { display: flex; gap: 10px; margin-bottom: 16px; }
.vw-search input { max-width: none; flex: 1; }
.vw-regions { list-style: none; margin: 0; padding: 0; }
.vw-regions li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 11px 4px; border-top: 1px solid var(--line); }
.vw-regions li:first-child { border-top: 0; }
.vw-regions small { color: var(--muted); }
.vw-regions code, .vw-regions .badge { margin-left: auto; }
.vw-regions code { font-size: .82rem; color: var(--muted); }
/* Startbildschirm */
.viewer-welcome .vw-main { max-width: none; min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.vw-splash { width: 100%; max-width: 760px; text-align: center; }
.vw-logo { width: 300px; max-width: 70%; height: auto; filter: drop-shadow(0 10px 40px rgba(25,195,201,.25)); }
.vw-grid { margin: 4px 0 10px; font-size: 2.4rem; letter-spacing: -.01em; }
.vw-pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 26px; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .9rem; border: 1px solid; }
.vw-pill span { width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.vw-pill.is-ok { color: var(--ok); border-color: rgba(46,204,113,.5); background: rgba(46,204,113,.08); }
.vw-pill.is-warn { color: var(--warn); border-color: rgba(245,176,65,.5); background: rgba(245,176,65,.08); }
.vw-pill.is-err { color: var(--err); border-color: rgba(239,83,80,.5); background: rgba(239,83,80,.08); }
.vw-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.vw-stats div { display: flex; flex-direction: column; gap: 2px; padding: 16px 10px; border-radius: 12px; border: 1px solid var(--line); background: rgba(17,32,58,.75); }
.vw-stats strong { font-size: 1.9rem; line-height: 1.1; color: var(--teal); font-variant-numeric: tabular-nums; }
.vw-stats .vw-of { font-size: .55em; color: var(--muted); font-weight: 600; }
.vw-stats small { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.vw-news { margin-top: 18px; padding: 16px 20px; border-radius: 12px; border: 1px solid rgba(25,195,201,.35); background: rgba(25,195,201,.07); text-align: left; }
.vw-news h2 { margin: 0 0 6px; font-size: .8rem; color: var(--teal); text-transform: uppercase; letter-spacing: .1em; }
.vw-news p { margin: 0; }
.vw-foot { margin: 22px 0 0; color: var(--muted); font-size: .92rem; }
.vw-foot strong { color: var(--text); }
@media (max-width: 640px) { .vw-stats { grid-template-columns: 1fr 1fr; } .vw-grid { font-size: 1.8rem; } .vw-kv { grid-template-columns: 1fr; } .vw-tabs { margin-left: 0; } }

/* Aktionen in Tabellenzeilen (1.6) */
.actions-inline { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.actions-inline:empty::after { content: '–'; color: var(--muted, #8a93a6); }

/* Formularraster: Eingabefelder einer Zeile bündig, auch wenn ein Label-Hinweis umbricht (1.6) */
.form-grid > div { display: flex; flex-direction: column; min-width: 0; }
.form-grid > div:has(> input, > select, > textarea) > label { flex: 1 0 auto; }
