/* Roombeat · Regie, Anmeldung und Handbuch. Baut auf den Bausteinen aus live.css auf (Karten,
   Knöpfe, Chips, Eyebrows); hier steht nur das Layout. Werte aus tokens.css (LEIFKEN AI). */
body.r-body{overflow:auto;min-height:100%}
.r-brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none}
.r-main{position:relative;z-index:1;display:flex;flex-direction:column;gap:20px}
.btn.r-small{min-height:36px;padding:0 14px;font-size:12px;border-radius:10px}
a.btn{text-decoration:none}
.btn.is-armed{border-color:var(--status-yellow);color:var(--status-yellow)}
.r-card{animation:none}
.r-grid{display:grid;grid-template-columns:minmax(0,360px) minmax(0,1fr);gap:20px;align-items:start}
.r-col{display:flex;flex-direction:column;gap:20px}
.r-empty{color:var(--go-text-subtle)}
.r-meta{font-size:13px;line-height:1.55;color:var(--text-leise)}
.r-lives{display:flex;flex-direction:column;gap:10px}
.r-live{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 12px;align-items:center;padding:12px 14px;border-radius:12px;border:1px solid var(--lime-soft);background:var(--lime-05);text-decoration:none;color:var(--text)}
.r-live .r-meta{grid-column:2}
.r-list{display:flex;flex-direction:column}
.r-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title chip" "meta acts";gap:6px 14px;align-items:center;padding:12px 8px;border-bottom:1px solid var(--go-border);border-radius:8px}
.r-row:not(.is-archived):hover{background:var(--go-surface-hover)}
.r-row .r-title{grid-area:title;color:inherit;text-decoration:none}
.r-row a.r-title::after{content:"";position:absolute;inset:0;border-radius:8px}
.r-row .chip{grid-area:chip;justify-self:end}
.r-row-meta{grid-area:meta;display:flex;flex-wrap:wrap;gap:4px 14px;align-items:baseline;min-width:0}
.r-row-acts{grid-area:acts;position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;align-items:center}
.r-row.is-archived .r-title{color:var(--go-text-muted)}
.r-archive{display:flex;flex-direction:column;gap:6px;margin-top:12px}
.r-archive .linkbtn{align-self:flex-start;padding-left:0}
.r-date,.r-code{font-family:var(--go-font-mono);font-size:13px;color:var(--go-text-muted);font-variant-numeric:tabular-nums}
.r-code{text-align:right;letter-spacing:.08em}
.r-format{font-size:14px;color:var(--go-text-muted)}
.r-title{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
select.v-input{font-size:17px;font-weight:500;appearance:none;-webkit-appearance:none;background-image:none}
input[type=datetime-local].v-input{font-size:17px;font-weight:500}
.r-back{align-self:flex-start;text-decoration:none;padding-left:0}
.r-sh{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:28px;align-items:start}
.r-sh-main{display:flex;flex-direction:column;gap:14px}
.r-chips{display:flex;gap:8px;flex-wrap:wrap}
.r-actions,.r-q-actions{display:flex;gap:8px;flex-wrap:wrap}
.r-qr{margin:0;display:flex;flex-direction:column;gap:10px;align-items:stretch}
.r-qr .qr-tile{width:100%;height:auto;aspect-ratio:1;padding:12px;box-sizing:border-box;background:var(--go-white);color:var(--go-black);border-radius:var(--go-radius-md);display:grid;place-items:center}
.r-qr .qr-tile svg{width:100%;height:100%}
.r-qr figcaption{display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.r-code-big{font-family:var(--go-font-mono);font-weight:700;font-size:28px;letter-spacing:.12em;font-variant-numeric:tabular-nums}
.r-link{font-family:var(--go-font-mono);font-size:12px;color:var(--go-text-subtle);overflow-wrap:anywhere}
/* Overlay card: background and QR code as button pairs, the link to copy */
.r-ov{display:grid;grid-template-columns:auto 1fr;gap:10px 18px;align-items:center;margin:6px 0 14px}
.r-ov-url{display:block;margin-bottom:12px;font-family:var(--go-font-mono);font-size:13px;color:var(--go-text-muted);overflow-wrap:anywhere;user-select:all}
.r-qs{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.r-q{display:flex;flex-direction:column;gap:10px;padding:14px 16px;border-radius:12px;border:1px solid var(--karte-kante);background:var(--grund)}
.r-q.is-live{border-color:var(--lime-soft);background:var(--lime-05)}
.r-q-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.r-pos{font-family:var(--go-font-mono);color:var(--go-text-subtle)}
.r-qid{font-family:var(--go-font-mono);font-size:13px;padding:2px 8px;border-radius:6px;background:var(--go-surface-hover)}
.r-type{font-size:13px;color:var(--go-text-muted)}
.r-votes{margin-left:auto;font-family:var(--go-font-mono);font-size:13px;color:var(--signal-dunkel)}
.r-q-title{margin:0;font-size:18px;font-weight:700;line-height:1.35}
.r-note{margin:0;padding:10px 12px;border-left:3px solid var(--signal);background:var(--go-surface);border-radius:0 8px 8px 0;font-size:15px;color:var(--go-text-muted)}
.r-note b{color:var(--go-text)}
.r-queue{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.r-queue li{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:12px 14px;border-radius:12px;border:1px solid var(--linie);background:#FFFFFF}
.r-queue p{margin:0 0 4px;color:var(--go-text)}
.r-login{position:relative;z-index:1;min-height:100vh;display:grid;place-items:center;padding:24px 16px}
.r-login .v-card{width:min(420px,100%);box-sizing:border-box}
.r-mark{width:40px;height:40px}
@media (max-width:900px){
  .r-grid,.r-sh{grid-template-columns:minmax(0,1fr)}
  .r-qr{max-width:260px}
}
@media (max-width:600px){
  .r-row{grid-template-areas:"title chip" "meta meta" "acts acts"}
  .r-row-acts{justify-content:flex-start}
}

/* Editor, results and pool (Phase 2) */
.e-form{display:flex;flex-direction:column;gap:8px;margin-top:6px;padding-top:12px;border-top:1px solid var(--go-border)}
.e-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:4px 16px;align-items:end}
.e-grid > *{display:flex;flex-direction:column;gap:6px}
.e-in{height:48px;font-size:16px;font-weight:500}
.e-check{display:flex;align-items:center;gap:10px;font-size:15px;color:var(--go-text-muted);min-height:48px}
.e-check input{width:20px;height:20px;accent-color:var(--go-lime)}
.e-sub{margin-top:14px}
.e-add{margin-top:14px;align-items:center}
.e-pool{height:40px;font-size:14px;width:auto;min-width:260px}
.e-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}
.e-head h2{margin:6px 0 0}
.e-bars{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.e-bars li{display:grid;grid-template-columns:minmax(0,220px) minmax(0,1fr) 120px;gap:12px;align-items:center;font-size:14px;color:var(--go-text-muted)}
.e-bars li.is-ok span:first-child{color:var(--signal-dunkel)}
.e-bar{height:10px;border-radius:var(--r-pill);background:var(--go-surface-hover);overflow:hidden}
.e-bar i{display:block;height:100%;background:var(--marke);opacity:.45}
.e-bars li.is-ok .e-bar i{background:var(--go-lime);opacity:1}
.e-bars b{font-family:var(--go-font-mono);font-weight:400;text-align:right;color:var(--go-text)}
.e-words{margin:0;color:var(--go-text-muted);line-height:1.8}
.e-words b{font-family:var(--go-font-mono);color:var(--go-text);font-weight:400}
.e-list{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px;color:var(--go-text-muted)}
.e-spark{width:220px;height:48px;display:block;margin:6px 0}
.e-spark polyline{fill:none;stroke:var(--go-lime);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}
.e-table{width:100%;border-collapse:collapse;font-size:14px}
.e-table th,.e-table td{text-align:left;padding:6px 8px;border-bottom:1px solid var(--go-border)}
.e-table th{font-family:var(--go-font-mono);font-weight:400;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--go-text-subtle)}
@media (max-width:900px){.e-bars li{grid-template-columns:minmax(0,1fr) 110px}.e-bars .e-bar{display:none}}
.e-checks{display:flex;flex-wrap:wrap;gap:0 18px}
.e-presets{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:4px 0 8px}
.e-ki{display:flex;flex-direction:column;gap:8px;margin:6px 0 22px;padding-bottom:18px;border-bottom:1px solid var(--go-border)}
.e-ki-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.e-ki-row .e-in{flex:1 1 280px;min-width:0}
/* KI-Anpassung inside a question form: instruction, button, Claude's note with „Rückgängig“ */
.e-ki-box{display:flex;flex-direction:column;gap:8px;margin:2px 0 6px;padding:14px;border:1px solid var(--go-border);border-radius:var(--go-radius-sm)}
.e-ki-box .v-ta{resize:vertical}
.e-ki-note{margin:0;line-height:1.5}
.e-ki-note .linkbtn{padding:0 0 0 6px}
.e-field{display:flex;flex-direction:column;gap:6px;margin-bottom:8px}
.e-checks .e-check{min-height:36px}

/* Formen: Kacheln mit Live-Vorschau (Regie → Formen, Editor → + Neue Frage) */
.f-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:16px}
.f-tile{display:flex;flex-direction:column;border-radius:var(--go-radius-md);border:1px solid var(--karte-kante);background:var(--grund);box-shadow:0 1px 2px rgba(13,28,50,.04);overflow:hidden}
.f-prev{position:relative;aspect-ratio:16/9;background:var(--flaeche-2);overflow:hidden}
.f-prev iframe{position:absolute;inset:0;width:100%;height:100%;border:0;pointer-events:none}
.f-body{display:flex;flex-direction:column;gap:10px;padding:14px 16px 16px}
.f-facts{margin:0;display:grid;gap:2px}
.f-facts dt{font-family:var(--go-font-mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--go-text-subtle)}
.f-facts dd{margin:0 0 6px;font-size:14px;line-height:1.5;color:var(--go-text-muted)}
.e-pick{display:flex;flex-direction:column;gap:12px;margin-top:12px}

/* Editor: Formular neben der Live-Vorschau, Antworten und Stufen als Zeilen */
.e-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,40%);gap:20px;align-items:start}
.e-fields{display:flex;flex-direction:column;gap:8px;min-width:0}
.e-preview{position:sticky;top:84px;display:flex;flex-direction:column;gap:6px}
.e-preview .f-prev{border-radius:var(--go-radius-md);border:1px solid var(--go-border)}
.e-intro{margin:0;font-size:14px;line-height:1.5;color:var(--go-text-muted)}
.e-wide{grid-column:1/-1}
.e-rows{display:flex;flex-direction:column;gap:8px}
.e-row{display:flex;align-items:center;gap:8px}
.e-row .e-in{flex:1;min-width:0}
.e-row .e-num{flex:0 0 110px}
.e-letter{flex:0 0 22px;font-family:var(--go-font-mono);font-weight:700;color:var(--go-text-subtle);text-align:center}
.e-unit{font-family:var(--go-font-mono);font-size:12px;color:var(--go-text-subtle)}
.e-correct{display:flex;align-items:center;gap:6px;font-size:14px;color:var(--go-text-muted);white-space:nowrap}
.e-correct input{width:18px;height:18px;accent-color:var(--go-lime)}
.e-row-add{align-self:flex-start}
.e-row-add[hidden]{display:none}
@media (max-width:900px){.e-split{grid-template-columns:1fr}.e-preview{position:static}}

/* Anmeldung: Lockup, SSO-Knopf und Trenner zum Passwort */
.r-login .rb-lockup{margin-bottom:4px}
.r-login .v-card{gap:18px}
.r-sso{display:flex;flex-direction:column;gap:10px}
.r-sso .btn{box-sizing:border-box;width:100%}
.r-or{display:flex;align-items:center;gap:12px;font-family:var(--mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--text-3)}
.r-or::before,.r-or::after{content:"";flex:1;height:1px;background:var(--linie)}

/* ============================================================
   Roombeat · App-Shell nach _standards/DESIGN-SYSTEM.md §7/§7a:
   Seitenleiste links als weißes Frosted Glass, Lockup oben in der Leiste,
   Kopfleiste mit Seitentitel, Inhalt in voller Breite. Mobil: Schublade.
   ============================================================ */
.r-body{background:var(--flaeche);color:var(--text)}
:root{--sl-breite:272px}  /* ROOMBEAT-Lockup rund 235 px plus Luft, nie beschneiden (§5b) */

.seitenleiste{position:fixed;left:0;top:0;bottom:0;width:var(--sl-breite);z-index:50;display:flex;flex-direction:column;
  background-color:var(--glas-leiste);-webkit-backdrop-filter:blur(22px) saturate(180%);backdrop-filter:blur(22px) saturate(180%);
  border-right:1px solid var(--glas-kante);box-shadow:8px 0 32px -14px rgba(27,57,102,.12);color:var(--text)}
.sl-kopf{display:flex;align-items:center;min-height:72px;padding:12px 16px}
.sl-gruppen{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;gap:22px;padding:8px 12px}
.sl-gruppe{display:flex;flex-direction:column;gap:2px}
.sl-gruppe-titel{padding:0 12px 6px;font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.12em;color:var(--text-3)}
.sl-punkt{display:flex;align-items:center;gap:12px;width:100%;padding:8px 12px;border:0;border-left:2px solid transparent;border-radius:6px;
  background:transparent;color:var(--text-leise);text-decoration:none;font:inherit;font-size:.875rem;text-align:left;cursor:pointer;
  transition:background-color .15s ease-out,color .15s ease-out}
.sl-punkt:hover{background-color:rgba(27,57,102,.05);color:var(--text)}
.sl-punkt.aktiv{background-color:rgba(233,78,27,.09);color:var(--text);font-weight:600;border-left-color:var(--signal)}
.sl-icon{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.sl-fuss{padding:12px;border-top:1px solid var(--linie);display:flex;flex-direction:column;gap:8px}
.sl-links{margin:0;padding:0 12px;font-size:11px;color:var(--text-3)}
.sl-links a{color:var(--text-leise);text-decoration:none}
.sl-links a:hover{color:var(--marke);text-decoration:underline}

.kopf{position:sticky;top:0;z-index:40;margin-left:var(--sl-breite);min-height:56px;display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:10px clamp(16px,3vw,32px);background-color:var(--kopf-flaeche);-webkit-backdrop-filter:blur(22px) saturate(180%);backdrop-filter:blur(22px) saturate(180%);
  box-shadow:0 8px 32px -14px rgba(27,57,102,.12)}
.kopf-titel{margin:0;font-size:1.125rem;font-weight:600;letter-spacing:-.01em;color:var(--text);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.inhalt{margin-left:var(--sl-breite);padding:24px clamp(16px,3vw,32px) 64px;min-width:0}

/* Rechts in der Kopfleiste: Status, Trenner, Profil (DESIGN-SYSTEM §7 TopBar, UserMenu mit Avatar) */
.kopf-rechts{display:flex;align-items:center;gap:12px;flex:none}
.kopf-trenner{width:1px;height:24px;background:var(--linie)}
.profil{position:relative}
.profil-knopf{display:flex;align-items:center;gap:10px;min-height:40px;padding:4px 8px 4px 4px;border:1px solid transparent;border-radius:10px;
  background:transparent;color:var(--text);font:inherit;cursor:pointer;transition:background-color .15s ease-out,border-color .15s ease-out}
.profil-knopf:hover,.profil-knopf[aria-expanded="true"]{background:rgba(27,57,102,.05);border-color:rgba(27,57,102,.12)}
.profil-bild{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:50%;overflow:hidden;background:var(--marke);color:#FFFFFF;
  font-size:.75rem;font-weight:600;letter-spacing:.02em;box-shadow:0 0 0 2px var(--grund),0 0 0 3px var(--linie)}
.profil-bild img{width:100%;height:100%;object-fit:cover;display:block}
.profil-bild.gross{width:40px;height:40px;font-size:.875rem}
.profil-text{display:flex;flex-direction:column;align-items:flex-start;min-width:0;line-height:1.25;text-align:left}
.profil-name{font-size:.875rem;font-weight:600;color:var(--text);max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profil-rolle,.profil-mail{font-size:.75rem;color:var(--text-leise);max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profil-pfeil{width:16px;height:16px;fill:none;stroke:var(--text-leise);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s ease-out}
.profil-knopf[aria-expanded="true"] .profil-pfeil{transform:rotate(180deg)}
.profil-menue{position:absolute;right:0;top:calc(100% + 8px);z-index:60;width:280px;padding:8px;border-radius:12px;
  background:var(--grund);-webkit-backdrop-filter:blur(24px) saturate(180%);backdrop-filter:blur(24px) saturate(180%);
  border:1px solid var(--linie);box-shadow:var(--shadow-lg)}
.profil-kopf{display:flex;align-items:center;gap:12px;padding:8px 8px 12px;margin-bottom:6px;border-bottom:1px solid var(--linie)}
.profil-punkt{display:flex;align-items:center;gap:12px;width:100%;padding:9px 10px;border:0;border-radius:8px;background:transparent;
  color:var(--text-leise);font:inherit;font-size:.875rem;text-decoration:none;text-align:left;cursor:pointer;transition:background-color .15s ease-out,color .15s ease-out}
.profil-punkt:hover,.profil-punkt:focus-visible{background:rgba(27,57,102,.05);color:var(--text)}
.profil-punkt[hidden]{display:none}

/* Menüknopf und Schublade (leifken-ai-shell.js erzeugt Knopf und Schatten) */
.menue-knopf{display:none;width:44px;height:44px;flex:none;align-items:center;justify-content:center;background:transparent;border:1px solid transparent;
  border-radius:10px;color:var(--text);padding:0;cursor:pointer;transition:background-color .15s ease-out}
.menue-knopf:hover{background:rgba(27,57,102,.06)}
.menue-knopf .balken{display:block;width:19px;height:1.5px;background:currentColor;border-radius:2px}
.menue-knopf .balken+.balken{margin-top:4.5px}
.menue-schatten{position:fixed;inset:0;z-index:45;background:rgba(13,28,50,.4);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);
  opacity:0;pointer-events:none;transition:opacity .22s ease}
body.menue-offen .menue-schatten{opacity:1;pointer-events:auto}

@media (max-width:768px){
  .menue-knopf{display:flex}
  .seitenleiste{width:280px;max-width:84vw;visibility:hidden;transform:translateX(-100%);transition:transform .26s cubic-bezier(.4,0,.2,1);
    background-color:var(--grund);box-shadow:none}
  body.menue-offen .seitenleiste{transform:translateX(0);visibility:visible;box-shadow:12px 0 40px -12px rgba(27,57,102,.3)}
  body.menue-offen{overflow:hidden}
  .kopf,.inhalt{margin-left:0}
  .kopf{padding:6px 12px;gap:8px}
  .kopf-titel{flex:1}
  .profil-text,.profil-pfeil,#r-status,.kopf-trenner{display:none}
  .profil-knopf{padding:4px}
  .profil-menue{position:fixed;left:12px;right:12px;top:60px;width:auto}
  .sl-punkt{padding:12px 14px;font-size:.95rem;border-radius:8px}
}
@media (prefers-reduced-motion:reduce){.seitenleiste,.menue-schatten{transition:none}}

/* ============================================================
   Roombeat · Handbuch im LEIFKEN-Design: Inhaltsverzeichnis als Glas-Karte,
   Kapitel mit Kopf, Screenshots, nummerierten Schritten und Hinweisboxen.
   ============================================================ */
.hbk{display:grid;grid-template-columns:300px minmax(0,1fr);gap:24px;align-items:start}
.hbk-seite{position:sticky;top:80px;max-height:calc(100vh - 100px);display:flex}
.hbk-inhalt{display:flex;flex-direction:column;width:100%;min-height:0;padding:16px 12px;border-radius:16px;background:var(--glas);
  border:1px solid var(--glas-kante);box-shadow:var(--schatten-glas);-webkit-backdrop-filter:blur(24px) saturate(180%);backdrop-filter:blur(24px) saturate(180%)}
.hbk-inhalt summary{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 8px 12px;list-style:none;cursor:default}
.hbk-inhalt summary::-webkit-details-marker{display:none}
.hbk-zahl{font-family:var(--mono);font-size:11px;letter-spacing:.08em;color:var(--text-3)}
.hbk-suche{position:relative;display:block;margin:0 4px 14px}
.hbk-suche .hbk-ic{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--text-3)}
.hbk-suche .v-input{height:40px;padding-left:36px;font-size:14px;font-weight:400}
.hbk-nav{display:flex;flex-direction:column;gap:18px;overflow-y:auto;min-height:0;padding-right:2px}
.hbk-gruppe{display:flex;flex-direction:column;gap:2px}
.hbk-link{font-size:.84rem;line-height:1.35;padding:7px 10px}
.hbk-ic{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}

.hbk-artikel{gap:28px;padding:32px clamp(20px,3vw,40px)}
.hbk-kopf{display:flex;flex-direction:column;gap:10px;padding-bottom:22px;border-bottom:1px solid var(--linie)}
.hbk-kopf h2{margin:0;font-size:1.75rem;font-weight:600;letter-spacing:-.02em;line-height:1.2;color:var(--text)}
.hbk-lead{margin:0;max-width:68ch;font-size:1rem;line-height:1.6;color:var(--text-leise)}
.hbk-wann{display:inline-flex;align-items:flex-start;gap:10px;align-self:flex-start;margin:4px 0 0;padding:8px 14px;border-radius:10px;
  background:var(--flaeche-2);color:var(--text);font-size:.875rem;line-height:1.45}
.hbk-wann .hbk-ic{margin-top:2px;color:var(--marke)}
.hbk-wann b{font-weight:600}

.hbk-bilder{display:grid;gap:18px}
.hbk-bilder.zwei{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.hbk-bilder.zwei:has(.hoch){grid-template-columns:minmax(0,1fr) minmax(0,260px)}
.hbk-bild{margin:0;display:flex;flex-direction:column;gap:10px}
.hbk-bild a{display:block;border-radius:12px;overflow:hidden;border:1px solid var(--linie);background:var(--flaeche);
  box-shadow:0 1px 2px rgba(13,28,50,.04),0 16px 34px -24px rgba(27,57,102,.35);transition:border-color .15s ease-out}
.hbk-bild a:hover{border-color:rgba(27,57,102,.3)}
.hbk-bild img{display:block;width:100%;height:auto}
.hbk-bild.hoch a{max-width:260px}
.hbk-bild figcaption{font-size:.8rem;line-height:1.5;color:var(--text-leise);max-width:68ch}

.hbk-artikel h3{display:flex;align-items:center;gap:8px;margin:0 0 12px;font-size:.95rem;font-weight:600;letter-spacing:0;text-transform:none;color:var(--text)}
.hbk-vorher ul,.hbk-box ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.hbk-vorher li{display:flex;gap:10px;align-items:flex-start;font-size:.9rem;line-height:1.5;color:var(--text)}
.hbk-vorher li .hbk-ic{margin-top:3px;color:var(--ok)}
.hbk-vorher h3 .hbk-ic{color:var(--marke)}

.hbk-schritte ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;counter-reset:none}
.hbk-schritte li{display:grid;grid-template-columns:32px minmax(0,1fr);gap:14px;padding:12px 0;border-bottom:1px solid rgba(13,28,50,.06)}
.hbk-schritte li:last-child{border-bottom:0}
.hbk-nr{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:rgba(27,57,102,.08);color:var(--marke);
  font-family:var(--mono);font-size:.8rem;font-weight:600}
.hbk-schritte p{margin:0;font-size:.92rem;line-height:1.6;color:var(--text);max-width:72ch}
.hbk-schritte b,.hbk-box b{font-weight:600;color:var(--text)}
.hbk-notiz{margin-top:8px!important;padding:10px 12px;border-radius:8px;background:var(--flaeche);color:var(--text-leise)!important;font-size:.84rem!important}

.hbk-box{padding:16px 18px;border-radius:12px;border:1px solid var(--linie);background:var(--flaeche)}
.hbk-box li{position:relative;padding-left:16px;font-size:.9rem;line-height:1.55;color:var(--text)}
.hbk-box li::before{content:"";position:absolute;left:0;top:.62em;width:6px;height:6px;border-radius:50%;background:var(--marke);opacity:.5}
.hbk-box.info h3 .hbk-ic{color:var(--marke)}
.hbk-box.warn{background:var(--warn-flaeche);border-color:rgba(180,83,9,.22)}
.hbk-box.warn h3{color:var(--warn)}
.hbk-box.warn li::before{background:var(--warn);opacity:.7}

.hbk-fuss{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:20px;border-top:1px solid var(--linie)}
.hbk-fuss .btn{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hbk-stand{margin:-14px 0 0}

@media (max-width:999px){
  .hbk{grid-template-columns:minmax(0,1fr);gap:16px}
  .hbk-seite{position:static;max-height:none}
  .hbk-inhalt summary{cursor:pointer;padding-bottom:0}
  .hbk-inhalt[open] summary{padding-bottom:12px}
  .hbk-inhalt summary::after{content:"";width:8px;height:8px;margin-left:auto;border-right:1.5px solid var(--text-leise);border-bottom:1.5px solid var(--text-leise);transform:rotate(45deg);transition:transform .15s ease-out}
  .hbk-inhalt[open] summary::after{transform:rotate(-135deg)}
  .hbk-zahl{margin-left:auto;margin-right:10px}
  .hbk-nav{max-height:none}
}
@media (max-width:640px){
  .hbk-bilder.zwei,.hbk-bilder.zwei:has(.hoch){grid-template-columns:minmax(0,1fr)}
  .hbk-artikel{padding:22px 16px}
  .hbk-kopf h2{font-size:1.4rem}
  .hbk-fuss .btn{flex:1 1 100%}
}

/* ============================================================
   Roombeat · Feinschliff nach der Design-Prüfung (26.10.2026)
   ============================================================ */
/* Feldbeschriftungen in der Regie: normale Schrift statt Versalien-Monospace (LEIFKEN-AI-DESIGN §4) */
.r-body .v-hint{font-family:var(--schrift);font-size:.82rem;font-weight:500;letter-spacing:0;text-transform:none;color:var(--text-leise)}
/* Antwortzähler sind Struktur, nicht Aktion */
.r-votes{color:var(--marke)}

/* Dark Mode: Zweitknöpfe und Kanten mit hellem Rand statt Navy-Rand */
html.dark .btn-ghost{color:var(--text);border-color:rgba(255,255,255,.18)}
html.dark .btn-ghost:hover:not([disabled]){background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.28)}
html.dark .btn[disabled]{background:rgba(255,255,255,.06);border-color:transparent;color:var(--text-3)}
html.dark .sl-punkt:hover,html.dark .profil-punkt:hover,html.dark .profil-knopf:hover,html.dark .profil-knopf[aria-expanded="true"]{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.08)}
html.dark .hbk-nr{background:rgba(143,166,204,.16)}
html.dark .hbk-bild a{border-color:var(--linie)}
html.dark .r-qid{background:rgba(255,255,255,.06)}
