/* BAZI Tools · Seiten-Stylesheet. Tokens aus bazi.css v4 (D:\Claudeazi-design). */
:root {
  --bz-ground: #ececf0;
  --bz-ground-2: #e2e2e8;
  --bz-white: #ffffff;
  --bz-edge: #d9d9e0;
  --bz-cable-shadow: #c9c9d1;
  --bz-ink: #16151b;
  --bz-ink-2: #55535f;
  --bz-ink-3: #8e8c99;
  --bz-night: #16245e;
  --bz-night-deep: #0b1436;
  --bz-laser: #19c3e3;
  --bz-ok: #12994c;
  --bz-warn: #b86e00;
  --bz-font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1180px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
::selection { background: var(--bz-night); color: #fff; }
:focus-visible { outline: 3px solid var(--bz-night); outline-offset: 3px; border-radius: 6px; }
html { background: var(--bz-ground); scroll-behavior: smooth; }
body {
  margin: 0; color: var(--bz-ink); font: 17px/1.55 var(--bz-font);
  background: linear-gradient(180deg, #f3f3f6 0%, var(--bz-ground) 40%, var(--bz-ground-2) 100%);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--bz-night); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; line-height: 1.05; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }


/* Kopf: Logo ist die Signatur, kein Schriftzug daneben */
.site-head { display: flex; align-items: center; justify-content: space-between; padding-block: 22px; }
.site-head .logo { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 6px 14px -6px rgba(11, 20, 54, .5); }
.site-head nav { display: flex; gap: 26px; font-size: 15px; font-weight: 600; }
.site-head nav a { color: var(--bz-ink-2); text-decoration: none; }
.site-head nav a:hover, .site-head nav a[aria-current] { color: var(--bz-night); }

/* Hauptknopf: Mitternachtsblau wie die Mitte-Taste der Fernbedienung */
.btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px 16px 22px; border-radius: 999px; white-space: nowrap;
  font: 700 17px/1 var(--bz-font); color: #fff; text-decoration: none; letter-spacing: -.01em;
  background: linear-gradient(180deg, #23357d, var(--bz-night) 55%, var(--bz-night-deep));
  box-shadow: 0 10px 20px -8px rgba(11, 20, 54, .55), inset 0 -2px 0 var(--bz-night-deep), inset 0 1px 0 rgba(255,255,255,.3);
  transition: transform .15s cubic-bezier(.16, 1, .3, 1), box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 24px -8px rgba(11, 20, 54, .6), inset 0 -2px 0 var(--bz-night-deep), inset 0 1px 0 rgba(255,255,255,.3); }
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.btn-meta { display: block; margin-top: 10px; font-size: 13.5px; color: var(--bz-ink-2); }
.tag { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 650; color: var(--bz-ink-2); }
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bz-ok); }
.tag.wip::before { background: var(--bz-ink-3); }
.ico { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.placeholder { font-size: 12px; color: #7a4800; font-weight: 600; }

/* Fuß */
.site-foot { padding-block: 40px 56px; font-size: 14px; color: var(--bz-ink-2); display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; }
.site-foot a { color: var(--bz-ink-2); }
.site-foot .bz-sig { display: inline-flex; align-items: center; gap: 7px; font: 700 11.5px/1 var(--bz-font); letter-spacing: .16em; color: var(--bz-ink-2); margin-right: auto; }
.site-foot .bz-sig::before { content: "B"; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 6px; letter-spacing: 0; font-size: 11.5px; font-weight: 800; color: #fff; background: var(--bz-night); }

/* FAQ */
details { border-top: 1px solid var(--bz-edge); padding-block: 18px; }
details:last-child { border-bottom: 1px solid var(--bz-edge); }
summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; width: 10px; height: 10px; margin-top: 7px; flex: none; border-right: 2px solid var(--bz-ink-3); border-bottom: 2px solid var(--bz-ink-3); transform: rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: rotate(-135deg); margin-top: 11px; }
details[open] { padding-bottom: 24px; }
details p { margin-top: 10px; color: var(--bz-ink-2); max-width: 65ch; }

@media (max-width: 640px) { .site-head nav { gap: 18px; font-size: 14px; } body { font-size: 16px; } .btn { font-size: 16px; padding: 15px 20px 15px 18px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Bausteine für die Mix-Entwürfe D und E: Schachtel (aus B), Kabel + Fernbedienung (aus C).
   Pro Werkzeug ändern sich nur --band (Farbe des Bandes) und das Piktogramm. */
:root { --gold: #c9a24c; --gold-band: linear-gradient(180deg, #edd08a 0%, #d4ad55 45%, #b8913c 100%); }

/* ---------- Schachtel ---------- */
.box { --w: 260px; --band: var(--gold-band); width: var(--w); display: block; position: relative; color: inherit; text-decoration: none; }
.box .body { display: block; width: 100%; aspect-ratio: 1 / .9; border-radius: 12px 12px 6px 6px; position: relative; overflow: hidden;
  background: linear-gradient(100deg, #fff 0%, #fff 68%, #eeeef3 100%);
  box-shadow: 0 30px 40px -26px rgba(30, 28, 50, .55), inset 0 0 0 1px var(--bz-edge); }
.box .body::before { content: ""; position: absolute; left: 0; right: 0; top: 23%; height: 1px; background: var(--bz-edge); box-shadow: 0 1px 0 #fff; }
.box .band { display: block; position: absolute; top: 0; bottom: 0; right: 20%; width: 8px; background: var(--band); }
.box .emboss { position: absolute; left: 44%; top: 56%; transform: translate(-50%, -50%); width: 36%; color: #d8d8e1;
  filter: drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 rgba(0,0,0,.08)); }
.box .emboss svg { width: 100%; height: auto; stroke: currentColor; stroke-width: 1.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.box .print { position: absolute; left: 20px; right: 20px; bottom: 16px; display: flex; justify-content: space-between; align-items: end; gap: 10px; }
.box .print b { font-size: 18px; line-height: 1.12; letter-spacing: -.015em; }
.box .print img { width: 28px; height: 28px; border-radius: 8px; }
.box.wip .body { background: rgba(255,255,255,.35); box-shadow: inset 0 0 0 1.5px var(--bz-edge); }
.box.wip .print b { color: var(--bz-ink-2); }
.box.wip .emboss { color: #cfcfd8; filter: none; }

/* ---------- Clip: die kleine Fernbedienung, an der eine Schachtel hängt ---------- */
.clip { position: absolute; left: 50%; top: -38px; width: 30px; height: 54px; margin-left: -15px; border-radius: 999px; z-index: 2;
  background: linear-gradient(90deg, #e8e8ed 0%, #fff 30%, #fff 62%, #e0e0e6 100%);
  box-shadow: 0 8px 14px -6px rgba(30, 28, 50, .45), inset 0 0 0 1px var(--bz-edge); display: grid; place-items: center; }
.clip::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--bz-night); box-shadow: inset 0 -1px 0 var(--bz-night-deep); }
.wip .clip::after { background: var(--bz-edge); box-shadow: none; }

/* Schwingen beim Drüberfahren */
.hang { transform-origin: 50% -38px; }
a.hang:hover, a.hang:focus-visible { animation: swing 1.6s cubic-bezier(.36, .07, .19, .97); }
@keyframes swing { 0% { transform: rotate(0); } 18% { transform: rotate(5deg); } 40% { transform: rotate(-3.5deg); } 62% { transform: rotate(2deg); } 82% { transform: rotate(-.8deg); } 100% { transform: rotate(0); } }

/* ---------- Fernbedienung: Mitte = Hauptaktion, + / − = mehr / weniger Anleitung ---------- */
.remote { position: relative; width: 120px; height: 300px; border-radius: 999px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 22px 0;
  background: linear-gradient(90deg, #e8e8ed 0%, #fff 30%, #fff 62%, #e0e0e6 100%);
  box-shadow: 0 34px 50px -24px rgba(30, 28, 50, .5), 0 2px 4px rgba(30, 28, 50, .12), inset 0 0 0 1px var(--bz-edge); }
.remote .key { width: 56px; height: 56px; border-radius: 50%; border: 0; background: none; cursor: pointer; color: var(--bz-ink-3); display: grid; place-items: center; transition: color .15s, transform .1s; }
.remote .key svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; fill: none; }
.remote .key:hover { color: var(--bz-night); }
.remote .key:active { transform: scale(.9); }
.remote .key[aria-pressed="true"] { color: var(--bz-night); }
.remote .mid { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(180deg, #23357d, var(--bz-night) 55%, var(--bz-night-deep));
  box-shadow: 0 8px 16px -6px rgba(11, 20, 54, .55), inset 0 -2px 0 var(--bz-night-deep), inset 0 0 0 3px var(--bz-laser), inset 0 1px 0 rgba(255,255,255,.3);
  transition: transform .15s cubic-bezier(.16, 1, .3, 1); }
.remote .mid:active { transform: scale(.94); }
.remote .mid svg { width: 32px; height: 32px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.remote-legend { font-size: 13.5px; color: var(--bz-ink-2); line-height: 1.5; }
.remote-legend b { color: var(--bz-ink); }

/* Detailstufe der Anleitung, gesteuert über + / − */
.more-only { display: none; }
body.detail .more-only { display: block; }
body.detail details { }

/* ---------- Schachtel-Einsatz (geöffnete Schachtel) ---------- */
.tray { position: relative; padding: clamp(14px, 1.6vw, 22px); border-radius: 26px; display: grid; gap: clamp(14px, 1.6vw, 22px);
  background: linear-gradient(160deg, #fff, #f1f1f5); box-shadow: 0 50px 70px -50px rgba(30, 28, 50, .6), inset 0 0 0 1px var(--bz-edge); }
.cell { border-radius: 16px; padding: clamp(22px, 2.2vw, 30px); background: #f4f4f7; box-shadow: inset 0 3px 8px rgba(30, 28, 50, .12), inset 0 -1px 0 #fff; position: relative; }
.cell .cell-title { font-size: 15px; color: var(--bz-ink-2); font-weight: 650; margin-bottom: 14px; letter-spacing: .005em; }
.cell p { color: var(--bz-ink-2); font-size: 15.5px; }
.qrcard { width: 112px; aspect-ratio: 1; background: #fff; border-radius: 12px; padding: 10px; box-shadow: 0 10px 16px -10px rgba(30, 28, 50, .4); transform: rotate(-3deg); flex: none; }
.qrcard svg { width: 100%; height: 100%; }
.steps-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 18px; counter-reset: s; }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
.steps-list li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-weight: 800; font-size: 15px; color: #fff; background: var(--bz-night); }
.steps-list b { display: block; font-size: 17px; color: var(--bz-ink); }
.steps-list p { margin-top: 2px; }
.steps-list .more-only { margin-top: 8px; font-size: 14px; padding: 10px 12px; border-radius: 12px; background: #fff; color: var(--bz-ink-2); }

/* ---------- Kabel als SVG (gezeichnet von cable.js) ---------- */
[data-cable] { position: relative; }
.cable-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.cable-svg path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cable-svg .shade { stroke: var(--bz-cable-shadow); stroke-width: 9; transform: translate(2px, 3px); }
.cable-svg .wire { stroke: var(--bz-white); stroke-width: 7; }
:where([data-cable] > :not(.cable-svg)) { position: relative; z-index: 1; }

/* ---------- Produkt-Logo auf der Schachtel ---------- */
.box .prodlogo { position: absolute; left: 20px; top: calc(23% + 18px); width: 30%; aspect-ratio: 1; border-radius: 24%; overflow: hidden;
  box-shadow: 0 16px 22px -14px rgba(11, 20, 54, .65), 0 0 0 4px #fff, 0 0 0 5px var(--bz-edge); }
.box .prodlogo img { width: 100%; height: 100%; object-fit: cover; }
.box .prodlogo.empty { overflow: visible; display: grid; place-items: center; color: var(--bz-ink-3); box-shadow: inset 0 0 0 1.5px var(--bz-edge); border: 0; }
.box .prodlogo.empty svg { width: 46%; height: 46%; stroke: currentColor; stroke-width: 1.4; fill: none; stroke-linecap: round; }

/* ---------- Erklär-Blasen neben den Tasten der Fernbedienung ---------- */
.remote .slot { position: relative; width: 100%; display: grid; place-items: center; }
.bubble { position: absolute; left: calc(100% + 16px); top: 50%; transform: translateY(-50%); white-space: nowrap; pointer-events: none;
  padding: 7px 12px; border-radius: 12px; font: 600 13px/1.2 var(--bz-font); color: var(--bz-ink-2); background: #fff;
  box-shadow: 0 8px 16px -10px rgba(30, 28, 50, .45), 0 0 0 1px var(--bz-edge); transition: background .2s, color .2s; }
.bubble::before { content: ""; position: absolute; left: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; background: inherit; transform: rotate(45deg);
  box-shadow: -1px 1px 0 0 var(--bz-edge); }
.bubble.main { color: var(--bz-night); font-weight: 750; }
.bubble.on { color: #fff; background: var(--bz-night); }
.bubble.on::before { box-shadow: none; }
.bubble.pop { animation: pop .35s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes pop { from { transform: translateY(-50%) scale(.85); } to { transform: translateY(-50%) scale(1); } }

/* ===== Seiten (Leine) ===== */
  /* D · Leine: das Kabel kommt aus dem Logo und hängt quer durch die Seite, die Werkzeug-Schachteln baumeln daran */
  .inset { padding-left: clamp(52px, 6vw, 84px); }
  .hero { padding-block: clamp(26px, 5vh, 70px) 0; }
  .hero h1 { font-size: clamp(40px, 5vw, 70px); font-weight: 800; max-width: 18ch; }
  .hero .lede { margin-top: 20px; font-size: clamp(18px, 1.6vw, 21px); color: var(--bz-ink-2); max-width: 48ch; }
  .bend { position: absolute; left: 22px; top: 0; width: 1px; height: 1px; }
  .line { position: relative; padding-top: 112px; padding-bottom: 30px; display: flex; gap: clamp(36px, 6vw, 90px); flex-wrap: wrap; align-items: flex-start; }
  .tool { display: grid; gap: 22px; }
  .tool .box { --w: clamp(230px, 22vw, 280px); }
  .tool .meta p { color: var(--bz-ink-2); font-size: 15.5px; max-width: 28ch; }
  .tool .meta .tag { margin-top: 8px; }
  .line .tool:nth-child(2) { margin-top: 46px; }
  .line .tool:nth-child(3) { margin-top: 14px; }
  .about { padding-block: 70px 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; color: var(--bz-ink-2); max-width: 980px; }
  .about .h-s { color: var(--bz-ink); font-size: 19px; margin-bottom: 8px; letter-spacing: -.01em; }

  /* Tool-Seite */
  .t-hero { padding-block: clamp(40px, 7vh, 90px) 40px; display: grid; grid-template-columns: 1fr auto; gap: clamp(30px, 5vw, 80px); align-items: center; }
  .t-hero h1 { font-size: clamp(44px, 6.4vw, 88px); font-weight: 800; }
  .t-hero .lede { margin-top: 18px; font-size: clamp(19px, 1.7vw, 23px); color: var(--bz-ink-2); max-width: 32ch; }
  .t-hero .cta { margin-top: 30px; }
  .control { display: flex; align-items: center; margin-right: 170px; }
  .top-anchor { position: absolute; left: 50%; top: -1px; width: 1px; height: 1px; }
  .remote-wrap { position: relative; }
  .open { position: relative; margin-top: 60px; }
  .socket { position: absolute; top: 0; right: 230px; width: 1px; height: 1px; }
  .lid { position: absolute; z-index: 0 !important; left: -1.5%; top: -58px; width: 40%; height: 140px; border-radius: 22px; transform: rotate(-3deg);
    background: linear-gradient(160deg, #fff, #f3f3f7); box-shadow: 0 30px 40px -30px rgba(30, 28, 50, .5), inset 0 0 0 1px var(--bz-edge);
    display: flex; align-items: center; gap: 14px; padding: 0 24px; }
  .lid img { width: 48px; border-radius: 13px; }
  .lid b { font-size: 19px; letter-spacing: -.015em; }
  .lid .band { position: absolute; top: 0; bottom: 0; right: 20%; width: 8px; background: var(--gold-band); }
  .tray { grid-template-columns: 1.15fr 1fr 1fr; }
  .cell.prog { grid-row: span 2; display: flex; flex-direction: column; gap: 22px; background: #eef0f7; }
  .cell.prog .disk { width: min(170px, 60%); aspect-ratio: 1; border-radius: 24%; align-self: center; background: url(/assets/tools/pc-audio-bridge.png) center / cover; box-shadow: 0 26px 36px -22px rgba(11, 20, 54, .7); }
  .cell.qr { display: flex; gap: 20px; align-items: center; }
  .cell.qr small { display: block; margin-top: 6px; font-size: 12px; color: var(--bz-ink-2); }
  .cell.guide { grid-column: span 2; }
  .cell.guide .steps-list { grid-template-columns: repeat(3, 1fr); }
  .cell.guide .steps-list li { grid-template-columns: 1fr; gap: 10px; align-content: start; }
  .fine { padding-block: 60px 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .fine .h-s { font-size: 19px; margin-bottom: 8px; letter-spacing: -.01em; }
  .fine p, .fine li { color: var(--bz-ink-2); font-size: 15.5px; }
  .fine ul { margin: 0; padding-left: 18px; }
  .faq { padding-block: 40px 50px; }
  .faq > * { max-width: 820px; }
  .faq h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 760; margin-bottom: 18px; }

  @media (max-width: 900px) {
    .t-hero { grid-template-columns: 1fr; }
    .control { margin: 10px 0 0; justify-content: center; padding-right: 150px; }
    .socket { right: auto; left: calc(50% - 75px); }
    .tray { grid-template-columns: 1fr 1fr; }
    .cell.prog { grid-row: auto; grid-column: 1 / -1; }
    .fine, .about { grid-template-columns: 1fr; gap: 26px; }
  }
  @media (max-width: 700px) {
    .line { flex-direction: column; align-items: center; padding-top: 120px; gap: 90px; }
    .line .tool:nth-child(n) { margin-top: 0; }
    .tool .meta { text-align: center; }
    .tool .meta p { margin-inline: auto; }
    .lid { display: none; }
    .open { margin-top: 30px; }
    .tray, .cell.guide .steps-list { grid-template-columns: 1fr; }
    .cell.guide { grid-column: auto; }
    .remote { height: 250px; width: 100px; }
    .remote .mid { width: 64px; height: 64px; }
  }

/* ===== Textseiten (Impressum, Datenschutz, 404) ===== */
.legal { padding-block: clamp(30px, 6vh, 70px) 40px; }
.legal > * { max-width: 70ch; }
.legal h1 { font-size: clamp(36px, 4.6vw, 60px); font-weight: 800; margin-bottom: 26px; }
.legal h2 { font-size: 21px; letter-spacing: -.015em; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--bz-ink-2); }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 20px; }
.legal .fill { background: #fff3d6; color: #7a4800; border-radius: 6px; padding: 1px 6px; font-weight: 600; }
.legal .note { margin-top: 30px; padding: 16px 18px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--bz-edge); font-size: 15px; }
.lost { padding-block: 12vh 10vh; text-align: center; }
.lost h1 { font-size: clamp(40px, 6vw, 80px); font-weight: 800; }
.lost p { color: var(--bz-ink-2); margin: 14px auto 30px; max-width: 40ch; }

/* Mitte-Taste als Button (Schritt für Schritt) */
button.mid { border: 0; cursor: pointer; padding: 0; }
button.mid svg path:last-child { fill: none; }
/* Hervorgehobener Anleitungsschritt */
.steps-list li { border-radius: 14px; padding: 10px; margin: -10px; transition: background .25s, box-shadow .25s, opacity .25s, transform .3s cubic-bezier(.16, 1, .3, 1); }
.steps-list.walking li { opacity: .45; }
.steps-list li.active { opacity: 1; background: #fff; box-shadow: 0 0 0 2px var(--bz-night), 0 14px 24px -16px rgba(11, 20, 54, .5); transform: translateY(-2px); }

/* ===== Zugang und Freigabe (/zugang/, /admin/) ===== */
body { min-height: 100vh; }
button.btn { border: 0; cursor: pointer; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; cursor: progress; transform: none; }
.btn.ghost { color: var(--bz-night); background: #fff; box-shadow: 0 8px 16px -12px rgba(11, 20, 54, .45), inset 0 0 0 1.5px var(--bz-edge); }
.btn.ghost:hover { box-shadow: 0 10px 18px -12px rgba(11, 20, 54, .5), inset 0 0 0 1.5px var(--bz-night); }
.btn.small { font-size: 15px; padding: 11px 18px 11px 15px; gap: 9px; }
.btn.small svg { width: 17px; height: 17px; }
.textbtn { border: 0; background: none; padding: 4px 0; font: 600 15px/1.3 var(--bz-font); color: var(--bz-night); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.textbtn:hover { text-decoration-thickness: 2px; }
.textbtn.danger { color: #a3261b; }
.tag.warten::before { background: var(--bz-warn); }
.tag.nein::before { background: #a3261b; }

.access { padding-block: clamp(30px, 6vh, 70px) 40px; }
.access h1 { font-size: clamp(38px, 5vw, 66px); font-weight: 800; max-width: 16ch; }
.access .lede { margin-top: 18px; font-size: clamp(18px, 1.6vw, 21px); color: var(--bz-ink-2); max-width: 46ch; }
.gate { position: relative; margin-top: 64px; max-width: 680px; padding: clamp(14px, 1.6vw, 22px); border-radius: 26px;
  background: linear-gradient(160deg, #fff, #f1f1f5); box-shadow: 0 50px 70px -50px rgba(30, 28, 50, .6), inset 0 0 0 1px var(--bz-edge); }
.gate .socket { position: absolute; top: 0; left: 30px; right: auto; width: 1px; height: 1px; }
.gate .cell { display: grid; gap: 16px; }
.gate .cell > p, .gate .hint { color: var(--bz-ink-2); font-size: 15.5px; }
.gate h2 { font-size: 24px; letter-spacing: -.02em; }
.gate[aria-busy="true"] .cell { opacity: .55; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 650; font-size: 15px; }
.input { width: 100%; min-width: 0; font: 500 17px/1.3 var(--bz-font); color: var(--bz-ink); padding: 14px 16px; border-radius: 14px; border: 0; background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--bz-edge), inset 0 2px 4px rgba(30, 28, 50, .06); }
.input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--bz-night); }
.form-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.form-row .input { flex: 1 1 260px; }
.msg, .gate .cell > .msg { font-size: 15px; font-weight: 600; color: #a3261b; }
.msg:empty { display: none; }
.msg.ok { color: var(--bz-ok); }
.linkbox { display: grid; gap: 10px; padding: 16px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--bz-edge); }
.linkbox b { font-size: 15px; }
.linkbox p { font-size: 14px; color: var(--bz-ink-2); }
.linkbox code { display: block; font: 13px/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--bz-ink); word-break: break-all;
  padding: 10px 12px; border-radius: 10px; background: #f4f4f7; }
.check-line { font-size: 13.5px; color: var(--bz-ink-3); display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.dl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.dl-list li { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px 16px; align-items: center; padding: 14px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--bz-edge); }
.dl-list img { width: 52px; height: 52px; border-radius: 14px; box-shadow: 0 10px 16px -10px rgba(11, 20, 54, .6); }
.dl-list b { display: block; font-size: 17px; }
.dl-list small { display: block; font-size: 13.5px; color: var(--bz-ink-2); line-height: 1.4; margin-top: 2px; }
.dl-list a.more { font-size: 13.5px; }
@media (max-width: 560px) {
  .dl-list li { grid-template-columns: 44px 1fr; }
  .dl-list img { width: 44px; height: 44px; }
  .dl-list .btn { grid-column: 1 / -1; justify-content: center; }
  .form-row .btn { width: 100%; justify-content: center; }
}

/* Freigabe-Seite */
[hidden] { display: none !important; }
.adm { padding-block: clamp(24px, 5vh, 50px) 40px; }
.adm-list { display: grid; gap: 34px; }
.adm-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.adm-head h1 { font-size: clamp(34px, 4vw, 52px); font-weight: 800; }
.adm-head .check-line { margin-top: 8px; }
.head-acts { display: flex; gap: 16px; align-items: center; }
.adm h2 { font-size: 21px; letter-spacing: -.015em; margin-bottom: 12px; display: flex; gap: 10px; align-items: baseline; }
.adm h2 .count { font-size: 15px; color: var(--bz-ink-3); font-weight: 650; }
.adm .empty { color: var(--bz-ink-3); font-size: 15px; }
.adm .note { padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--bz-edge); font-size: 14.5px; color: var(--bz-ink-2); margin-bottom: 12px; max-width: 70ch; }
.req-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.req { display: grid; grid-template-columns: 1fr auto; gap: 10px 20px; align-items: center; padding: 16px 18px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--bz-edge); }
.req .who b { font-size: 17px; word-break: break-all; }
.req .who small { display: block; font-size: 13.5px; color: var(--bz-ink-2); margin-top: 3px; }
.req .acts { display: flex; gap: 10px 16px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.req.offen { box-shadow: 0 0 0 1.5px var(--bz-night), 0 14px 24px -18px rgba(11, 20, 54, .5); }
@media (max-width: 640px) {
  .req { grid-template-columns: 1fr; }
  .req .acts { justify-content: flex-start; }
}
