:root {
  --bg: #000000; --fg: #82f0fb; --muted: #5fb4bd; --line: #2a5a61; --panel: #071316;
  --err: #ff9aa2; --ok: #8dffb0; --warn: #ffd27a;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.55 "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; }
a { color: var(--fg); }
.wrap { max-width: 780px; margin: 0 auto; padding: 0 16px 56px; }
.wrap.wide { max-width: 1040px; }
.bannerwrap { position: relative; margin: 16px 0 0; }
.banner { display: block; width: 100%; height: auto; border-radius: 10px; }
/* Logos liegen im unteren Bereich ueber dem Banner, knapp an der Unterkante; links Logo 1, rechts Logo 2 */
.logos { position: absolute; left: 2%; right: 2%; bottom: 3%; display: flex; justify-content: space-between; align-items: flex-end; pointer-events: none; }
.logo { display: block; width: 20%; height: auto; }
.logo-r { margin-left: auto; }
.logo.unterlage { background: rgba(255, 255, 255, .92); padding: 1.2%; border-radius: 6px; }
.bannerwrap.ohnebild .logos { position: static; padding: 4px 0; }
.mockrahmen { max-width: 640px; margin: 6px 0 16px; }
h1 { font-size: clamp(1.5rem, 4.2vw, 2.1rem); line-height: 1.2; margin: 28px 0 14px; }
h2 { font-size: 1.25rem; margin: 28px 0 10px; }
p { margin: 0 0 14px; }
form { margin-top: 26px; display: grid; gap: 18px; }
.row2 { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
label.lbl { display: block; font-weight: 600; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=number], input[type=password], input[type=datetime-local], select, textarea {
  width: 100%; background: var(--panel); color: var(--fg); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font: inherit;
}
textarea { min-height: 104px; resize: vertical; }
.pw { position: relative; }
.pw input { padding-right: 56px; }
.pw .eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: none; border: 0; border-radius: 8px; color: var(--fg); cursor: pointer; }
.pw .eye svg { width: 24px; height: 24px; }
.qr { display: inline-block; background: #fff; padding: 8px; border-radius: 8px; margin-top: 6px; }
.qr img { display: block; width: 220px; height: 220px; }
select option { background: #000; color: var(--fg); }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 3px solid var(--fg); outline-offset: 2px; }
[aria-invalid=true] { border-color: var(--err); }
.err { color: var(--err); font-size: 15px; margin-top: 5px; }
.hint { color: var(--muted); font-size: 14px; margin-top: 5px; }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 22px; height: 22px; flex: none; margin-top: 3px; accent-color: var(--fg); }
.check label { cursor: pointer; }
.box { border: 1px solid var(--line); border-radius: 10px; padding: 16px; background: var(--panel); }
.btn { background: var(--fg); color: #000; border: 0; border-radius: 8px; padding: 13px 26px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-block; }
.btn:hover { filter: brightness(1.1); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--fg); font-weight: 600; }
.btn.small { padding: 7px 12px; font-size: 14px; }
.btn.danger { background: transparent; color: var(--err); border: 1px solid var(--err); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.foot { margin-top: 40px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); padding-top: 16px; }
.code { font: 700 1.6rem/1.3 Consolas, "Courier New", monospace; letter-spacing: .06em; word-break: break-all; }
.tiles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin: 18px 0; }
.tile { border: 1px solid var(--line); border-radius: 10px; padding: 16px; background: var(--panel); }
.tile .num { font-size: 2.3rem; font-weight: 700; line-height: 1.1; }
.tile .cap { color: var(--muted); font-size: 14px; margin-top: 4px; }
.tile .sub { font-size: 14px; margin-top: 8px; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding-top: 20px; }
.bar { flex: 1; min-width: 28px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; font-size: 13px; }
.bar i { display: block; width: 100%; background: var(--fg); border-radius: 4px 4px 0 0; min-height: 2px; }
.bar span { margin-top: 4px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.bar b { font-weight: 600; margin-bottom: 3px; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.chip { display: inline-block; font-size: 13px; padding: 2px 9px; border-radius: 99px; border: 1px solid var(--line); white-space: nowrap; }
.chip.ok { color: var(--ok); border-color: var(--ok); }
.chip.wait { color: var(--warn); border-color: var(--warn); }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0; align-items: center; }
.topline { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.note { color: var(--muted); font-size: 14px; }
.alert { border: 1px solid var(--warn); color: var(--warn); border-radius: 10px; padding: 12px 16px; margin: 16px 0; }
.hilfe { border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px; margin: 8px 0; background: var(--panel); }
.hilfe summary { cursor: pointer; font-weight: 600; }
.hilfe p { margin: 8px 0 2px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 4px; }
.tabs button[aria-pressed=true] { background: var(--fg); color: #000; }
.testband { position: sticky; top: 0; z-index: 10; background: var(--warn); color: #000; font-weight: 700; text-align: center; padding: 10px 16px; }
[hidden] { display: none !important; }
.mt10 { margin-top: 10px; } .mt12 { margin-top: 12px; } .mt14 { margin-top: 14px; } .mb12 { margin-bottom: 12px; } .my14 { margin: 14px 0; }
h1.tight { margin: 22px 0 6px; }
