/* ncf Vote - gemeinsames Aussehen der drei Seiten.
   Farben, Schriften und Kopfzeile wie die Pinnwand (ncf Cards) und die
   Terminbuchung: Die drei Apps sind ein Auftritt. Wer hier eine Grundfarbe
   ändert, prüft, ob die Schwester-Apps mitziehen sollen.

   KEINE style="..."-Angaben im HTML und kein eingebettetes <style>: Die
   Sicherheitsregel des Browsers (Content-Security-Policy, server.js) erlaubt
   Gestaltung nur aus Dateien dieser Seite. Breiten und Höhen, die sich live
   ändern (Balken), setzt das Skript über element.style - das ist erlaubt. */

@import url("/schriften/schriften.css");

:root{
  --bg:#f3f5f4; --surface:#eaf0ee; --surface-raised:#ffffff; --text:#15202b; --text-soft:#5b6b74;
  --line:rgba(21,32,43,.12); --accent:#ff5d73; --accent-ink:#ffffff; --accent-2:#13946f; --shadow:rgba(21,32,43,.16);
  --gefahr:#c8364a;
  /* Reihenfarben für Balken und Wortwolke - kräftig genug für hellen UND
     dunklen Grund, damit eine Einstellung für beide Beamer-Schemata reicht. */
  --r1:#ff6b80; --r2:#2fb489; --r3:#f0a030; --r4:#5b8def; --r5:#a774e8;
  --r6:#ef7d4a; --r7:#22a9b8; --r8:#d4b52c; --r9:#e46fb0; --r10:#7fb24a;
}
@media (prefers-color-scheme: dark){
  :root{ --bg:#11161c; --surface:#161d24; --surface-raised:#1e2730; --text:#e7edf0; --text-soft:#93a1ab;
    --line:rgba(231,237,240,.14); --accent:#ff6b80; --accent-ink:#1b0d10; --accent-2:#36c99a; --shadow:rgba(0,0,0,.55);
    --gefahr:#ff7a8a; }
}
/* Der Beamer folgt nicht dem Gerät, sondern der Einstellung der Präsentation. */
html[data-schema="dunkel"]{ --bg:#11161c; --surface:#161d24; --surface-raised:#1e2730; --text:#e7edf0; --text-soft:#93a1ab;
  --line:rgba(231,237,240,.14); --accent:#ff6b80; --accent-ink:#1b0d10; --accent-2:#36c99a; --shadow:rgba(0,0,0,.55); }
html[data-schema="hell"]{ --bg:#f7f8f8; --surface:#eaf0ee; --surface-raised:#ffffff; --text:#15202b; --text-soft:#5b6b74;
  --line:rgba(21,32,43,.12); --accent:#ff5d73; --accent-ink:#ffffff; --accent-2:#13946f; --shadow:rgba(21,32,43,.16); }

*{box-sizing:border-box;}
html,body{height:100%;}
body{margin:0;background:var(--bg);color:var(--text);font-family:'IBM Plex Sans',system-ui,sans-serif;font-size:15px;line-height:1.45;-webkit-text-size-adjust:100%;}
h1,h2,h3,.display{font-family:'Sora',system-ui,sans-serif;font-weight:700;text-wrap:balance;margin:0;}
.mono{font-family:'IBM Plex Mono',ui-monospace,monospace;}
a{color:var(--accent);}
button,input,select,textarea{font:inherit;color:inherit;}
[hidden]{display:none!important;}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px;}
@media (prefers-reduced-motion: reduce){ *{animation-duration:.001ms!important;transition-duration:.001ms!important;} }

/* ---------- Kopfzeile (fester Dunkelton, wie ncf Cards) ---------- */
.topbar{
  position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:12px;
  min-height:56px;padding:10px 16px;padding-top:max(10px, env(safe-area-inset-top));
  background:#11161C;border-bottom:1px solid rgba(255,255,255,.14);color:#f3f3f3;
}
.topbar .logo{display:block;max-height:40px;width:auto;max-width:min(62vw,300px);object-fit:contain;}
.topbar .rechts{display:flex;align-items:center;gap:8px;}
.topbar .produkt{font-family:'Sora';font-weight:700;font-size:15px;color:#aeaeae;white-space:nowrap;}
@media (max-width:600px){ .topbar .logo{max-height:32px;} }

/* ---------- Bausteine ---------- */
.knopf{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:8px 16px;
  border-radius:12px;border:1px solid var(--line);background:var(--surface-raised);color:var(--text);
  font-weight:600;cursor:pointer;text-decoration:none;white-space:nowrap;
}
.knopf:hover{border-color:var(--text-soft);}
.knopf:disabled{opacity:.5;cursor:default;}
.knopf.haupt{background:var(--accent);border-color:var(--accent);color:var(--accent-ink);}
.knopf.haupt:hover{filter:brightness(1.06);}
.knopf.gefahr{color:var(--gefahr);}
.knopf.klein{min-height:32px;padding:4px 10px;font-size:13px;border-radius:10px;}
.knopf.leise{background:transparent;border-color:transparent;color:var(--text-soft);}
.knopf.leise:hover{color:var(--text);background:var(--surface);}
.knopf.leise.gefahr{color:var(--gefahr);}
.topbar .knopf{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.16);color:#f3f3f3;}

.feld{width:100%;padding:10px 12px;border-radius:10px;border:1px solid var(--line);background:var(--surface-raised);}
.feld:focus{border-color:var(--accent);outline:none;}
label.beschriftung{display:block;font-size:13px;font-weight:600;color:var(--text-soft);margin:0 0 4px;}
/* Am Telefon mindestens 16px in jedem Eingabefeld - sonst vergrößert das
   iPhone die Seite beim Antippen von selbst (wie Pinnwand Schritt 232 und
   Terminbuchung Schritt 128, gleicher Wortlaut). */
@media (hover:none) and (pointer:coarse){ input,select,textarea{font-size:16px!important;} }

.karte{background:var(--surface-raised);border:1px solid var(--line);border-radius:18px;padding:20px;box-shadow:0 6px 20px var(--shadow);}
.pille{display:inline-block;font-family:'IBM Plex Mono';font-size:11px;padding:3px 9px;border-radius:999px;background:var(--surface);color:var(--text-soft);border:1px solid var(--line);white-space:nowrap;}
.pille.live{color:var(--accent-2);border-color:var(--accent-2);}
.hinweis{color:var(--text-soft);font-size:13px;}
.meldung{padding:10px 12px;border-radius:10px;background:var(--surface);border:1px solid var(--line);}
.meldung.fehler{border-color:var(--gefahr);color:var(--gefahr);}

.mitte{min-height:calc(100% - 56px);display:flex;align-items:center;justify-content:center;padding:24px 16px;}

/* Verbindungsanzeige unten (Publikum und Beamer) */
.verbindung{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);z-index:50;
  background:#11161C;color:#f3f3f3;border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:8px 14px;font-size:13px;}

/* =================== Publikum (Handy) =================== */
.publikum main{max-width:560px;margin:0 auto;padding:24px 16px 48px;}
.publikum .codekarte{text-align:center;}
.publikum .codekarte h1{font-size:24px;margin-bottom:6px;}
.publikum .codefeld{font-family:'IBM Plex Mono';font-size:34px!important;letter-spacing:.18em;text-align:center;padding:14px;margin:18px 0 14px;}
.publikum .titelzeile{color:var(--text-soft);font-size:13px;margin-bottom:6px;}
.publikum .frage{font-size:24px;line-height:1.25;margin-bottom:20px;}
.publikum .optionen{display:flex;flex-direction:column;gap:10px;}
.publikum .option{
  display:flex;align-items:center;gap:12px;width:100%;text-align:left;min-height:56px;padding:12px 16px;
  border-radius:14px;border:2px solid var(--line);background:var(--surface-raised);cursor:pointer;font-size:17px;
}
.publikum .option .marke{flex:0 0 22px;height:22px;border-radius:50%;border:2px solid var(--text-soft);}
.publikum .option.mehrfach .marke{border-radius:6px;}
.publikum .option[aria-pressed="true"]{border-color:var(--accent);}
.publikum .option[aria-pressed="true"] .marke{border-color:var(--accent);background:var(--accent);box-shadow:inset 0 0 0 3px var(--surface-raised);}
.publikum .aussage{margin-bottom:22px;}
.publikum .aussage .text{font-weight:600;margin-bottom:8px;}
.publikum .stufen{display:flex;gap:6px;}
.publikum .stufe{flex:1 1 0;min-width:0;height:48px;border-radius:12px;border:2px solid var(--line);background:var(--surface-raised);font-weight:600;font-size:17px;cursor:pointer;}
.publikum .stufe[aria-pressed="true"]{background:var(--accent);border-color:var(--accent);color:var(--accent-ink);}
.publikum .enden{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--text-soft);margin-top:6px;}
.publikum .enden span:last-child{text-align:right;}
.publikum .woerter{display:flex;flex-direction:column;gap:10px;}
.publikum .woerter .feld{font-size:18px;padding:14px;}
.publikum .absenden{width:100%;min-height:52px;font-size:17px;margin-top:20px;}
.publikum form .meldung{margin-top:16px;}
.publikum .zustand{text-align:center;padding:32px 8px;}
.publikum .zustand .zeichen{font-size:52px;line-height:1;margin-bottom:14px;}
.publikum .zustand h2{font-size:22px;margin-bottom:8px;}
.publikum .fuss{text-align:center;margin-top:28px;}

/* =================== Verwaltung =================== */
.verwaltung main{max-width:880px;margin:0 auto;padding:24px 16px 64px;}
.verwaltung .kopf{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px;}
.verwaltung .kopf h1{font-size:22px;}
.verwaltung .neu{display:flex;gap:8px;margin-bottom:20px;}
.verwaltung .neu .feld{flex:1 1 auto;}
.verwaltung .liste{display:flex;flex-direction:column;gap:12px;}
.verwaltung .eintrag{display:flex;align-items:center;gap:16px;flex-wrap:wrap;}
.verwaltung .eintrag .info{flex:1 1 260px;min-width:0;}
.verwaltung .eintrag h2{font-size:17px;margin-bottom:4px;overflow-wrap:anywhere;}
.verwaltung .eintrag .zahlen{display:flex;gap:8px;flex-wrap:wrap;align-items:center;}
.verwaltung .eintrag .aktionen{display:flex;gap:8px;flex-wrap:wrap;}
.verwaltung .leer{text-align:center;padding:40px 16px;color:var(--text-soft);}
.verwaltung .zurueck{margin-bottom:12px;}
.verwaltung .titelfeld{font-family:'Sora';font-weight:700;font-size:22px;padding:8px 10px;}
.verwaltung .einstellungen{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:14px 0 8px;}
.verwaltung .zugang{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:16px 0 24px;}
.verwaltung .zugang .code{font-family:'IBM Plex Mono';font-size:22px;letter-spacing:.08em;}
.verwaltung .fragen{display:flex;flex-direction:column;gap:14px;}
.verwaltung .frage-karte .oben{display:flex;align-items:center;gap:8px;margin-bottom:10px;flex-wrap:wrap;}
.verwaltung .frage-karte .nr{font-family:'Sora';font-weight:800;color:var(--text-soft);}
.verwaltung .frage-karte .platz{flex:1 1 auto;}
.verwaltung .zeile{display:flex;gap:8px;align-items:center;margin-top:8px;}
.verwaltung .zeile .feld{flex:1 1 auto;}
.verwaltung .zeile.umbruch{flex-wrap:wrap;margin-bottom:12px;}
.verwaltung .zeile .punkt{flex:0 0 12px;height:12px;border-radius:50%;}
.verwaltung .zugang .platz{flex:1 1 220px;min-width:0;overflow-wrap:anywhere;}
.verwaltung .unterteil{margin-top:12px;padding-top:12px;border-top:1px solid var(--line);}
.verwaltung .zweispaltig{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
@media (max-width:600px){ .verwaltung .zweispaltig{grid-template-columns:1fr;} }
.verwaltung .hinzufuegen{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px;}
.verwaltung .status{font-size:13px;color:var(--text-soft);min-height:20px;}
.verwaltung .version{text-align:center;margin-top:48px;}
.verwaltung .anmelden{width:min(92vw,380px);text-align:center;}
.verwaltung .anmelden .logo-gross{display:block;max-width:100%;max-height:56px;margin:0 auto 16px;}
.verwaltung .anmelden form{display:flex;flex-direction:column;gap:10px;text-align:left;margin-top:14px;}
.verwaltung .stapel{display:flex;flex-direction:column;gap:10px;}
.verwaltung .ankreuz{display:flex;align-items:center;gap:8px;margin-top:10px;cursor:pointer;}
.verwaltung .ankreuz input{width:18px;height:18px;}
.verwaltung .logos{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px;}
.verwaltung .logos h2{font-size:17px;}
.verwaltung .logovorschau{display:flex;align-items:center;justify-content:center;min-height:110px;padding:20px;border-radius:12px;border:1px solid var(--line);}
.verwaltung .logovorschau.dunkel{background:#11161c;}
.verwaltung .logovorschau.hell{background:#f7f8f8;}
.verwaltung .logovorschau img{max-height:64px;max-width:100%;object-fit:contain;}
.verwaltung .logovorschau img.umgefaerbt{filter:invert(1) hue-rotate(180deg);}
.verwaltung .kopf.abstand{margin-top:32px;}
.verwaltung input[type=file]{max-width:100%;}

/* =================== Moderation (Handy, Tablet, Laptop) ===================
   Schmal: alles untereinander, die Steuerung klebt unten. Breit (ab 900px):
   links die Live-Ergebnisse, rechts Steuerung, nächste Frage und Fragenliste. */
.moderation main{max-width:1200px;margin:0 auto;padding:16px 16px 120px;}
.moderation .raster{display:grid;grid-template-columns:1fr;gap:16px;}
@media (min-width:900px){
  .moderation main{padding-bottom:32px;}
  .moderation .raster{grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);align-items:start;}
  .moderation .seite{position:sticky;top:72px;}
}
.moderation .kopfzeile{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:6px;}
.moderation .stelle{font-family:'IBM Plex Mono';font-size:13px;color:var(--text-soft);}
.moderation h1{font-size:22px;line-height:1.25;margin:4px 0 10px;}
.moderation .zustaende{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px;}
.moderation .pille.warn{color:var(--r3);border-color:var(--r3);}
.moderation .pille.aus{color:var(--gefahr);border-color:var(--gefahr);}
.moderation .zahlenzeile{display:flex;gap:16px;flex-wrap:wrap;color:var(--text-soft);font-size:14px;margin-bottom:12px;}
.moderation .zahlenzeile strong{color:var(--text);font-size:18px;font-family:'Sora';}
/* Auswahl als waagerechte Balken */
.moderation .balkenzeile{margin-bottom:12px;}
.moderation .balkenzeile .oben{display:flex;justify-content:space-between;gap:12px;font-weight:600;margin-bottom:4px;}
.moderation .balkenzeile .oben span:last-child{white-space:nowrap;color:var(--text-soft);font-weight:500;}
.moderation .balkenzeile .spur{height:14px;border-radius:7px;background:var(--surface);overflow:hidden;}
.moderation .balkenzeile .spur div{height:100%;width:0;border-radius:7px;transition:width .4s ease;}
/* Skala */
.moderation .skalazeile{padding:10px 0;border-bottom:1px solid var(--line);}
.moderation .skalazeile .mittel{font-family:'Sora';font-weight:800;font-size:22px;}
.moderation .skalazeile .vert{display:flex;gap:4px;align-items:flex-end;height:36px;margin-top:6px;}
.moderation .skalazeile .vert span{flex:1 1 0;background:var(--r4);border-radius:3px 3px 0 0;min-height:2px;}
.moderation .skalazeile .stufen{display:flex;gap:4px;font-size:11px;color:var(--text-soft);}
.moderation .skalazeile .stufen span{flex:1 1 0;text-align:center;}
/* Wortliste */
.moderation .woerter{display:flex;flex-direction:column;}
.moderation .wortzeile{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--line);}
.moderation .wortzeile .wort{flex:1 1 auto;min-width:0;overflow-wrap:anywhere;font-weight:600;font-size:16px;}
.moderation .wortzeile .anzahl{font-family:'IBM Plex Mono';color:var(--text-soft);min-width:2.5em;text-align:right;}
.moderation .wortzeile.ausgeblendet .wort{text-decoration:line-through;color:var(--text-soft);font-weight:400;}
.moderation .leer{color:var(--text-soft);padding:20px 0;text-align:center;}
.moderation .filter{display:flex;gap:6px;flex-wrap:wrap;margin:4px 0 8px;}
/* Steuerung */
.moderation .steuerung{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
.moderation .steuerung .knopf{min-height:48px;white-space:normal;text-align:center;}
.moderation .steuerung .breit{grid-column:1 / -1;}
.moderation .knopf.an{background:var(--r3);border-color:var(--r3);color:#1b0d10;}
@media (max-width:899px){
  .moderation .steuerung.fest{position:fixed;left:0;right:0;bottom:0;z-index:15;padding:10px 16px calc(10px + env(safe-area-inset-bottom));
    background:var(--bg);border-top:1px solid var(--line);grid-template-columns:1fr 1fr 1fr 1fr;box-shadow:0 -6px 20px var(--shadow);}
  .moderation .steuerung.fest .knopf{min-height:52px;font-size:13px;padding:6px;}
}
.moderation .naechste{color:var(--text-soft);font-size:14px;}
.moderation .naechste strong{display:block;color:var(--text);font-size:16px;margin-top:2px;}
.moderation .fragenliste{display:flex;flex-direction:column;gap:4px;}
.moderation .fragenliste button{display:flex;gap:8px;align-items:flex-start;text-align:left;width:100%;padding:8px 10px;border-radius:10px;border:1px solid transparent;background:transparent;cursor:pointer;}
.moderation .fragenliste button:hover{background:var(--surface);}
.moderation .fragenliste button.aktiv{border-color:var(--accent);background:var(--surface);}
.moderation .fragenliste .nr{font-family:'IBM Plex Mono';color:var(--text-soft);min-width:1.6em;}
.moderation .qr-mini{width:120px;height:120px;background:#fff;border-radius:10px;padding:4px;}
.moderation .karte + .karte{margin-top:16px;}
.moderation h2{font-size:15px;margin-bottom:10px;color:var(--text-soft);font-family:'IBM Plex Sans';font-weight:600;}
@media (min-width:900px){ .moderation .nur-schmal{display:none!important;} }

/* =================== Beamer =================== */
.beamer{overflow:hidden;}
.beamer .buehne{position:fixed;inset:0;display:grid;grid-template-rows:auto 1fr auto;padding:2.2vh 3vw;gap:2vh;}
/* Oben: Logo links (wie die Schwester-Apps), rechts "Gehe zu … · Code …" mit
   kleinem QR-Code. Die Mindesthöhe = Höhe des QR-Codes, damit die Leiste auf
   der Beitrittsfolie (dort ohne QR rechts) gleich hoch bleibt. */
.beamer .leiste-oben{display:flex;align-items:center;justify-content:space-between;gap:2vw;font-size:clamp(14px,1.6vw,26px);color:var(--text-soft);min-height:clamp(56px,8vh,110px);}
.beamer .leiste-oben .logo{display:block;height:clamp(32px,5.5vh,64px);width:auto;max-width:40vw;object-fit:contain;}
.beamer .leiste-oben .rechts{display:flex;align-items:center;gap:1.5vw;min-width:0;}
/* Umfärben nur, solange KEIN eigenes Logo für hellen Hintergrund hochgeladen
   ist (Klasse "umgefaerbt" setzt beamer.js). Ein eigenes Logo bleibt, wie es ist. */
html[data-schema="hell"] .beamer .leiste-oben .logo.umgefaerbt{filter:invert(1) hue-rotate(180deg);}
.beamer .leiste-oben strong{color:var(--text);font-weight:600;}
.beamer .leiste-oben .code{font-family:'IBM Plex Mono';letter-spacing:.06em;}
.beamer .qr-klein{height:clamp(56px,8vh,110px);width:auto;border-radius:8px;background:#fff;padding:4px;}
.beamer .inhalt{min-height:0;display:flex;flex-direction:column;}
.beamer .frage-titel{font-size:clamp(24px,3.6vw,64px);line-height:1.15;margin-bottom:3vh;}
.beamer .ergebnis{flex:1 1 auto;min-height:0;position:relative;}
.beamer .leiste-unten{display:flex;align-items:center;justify-content:flex-end;gap:2vw;color:var(--text-soft);font-size:clamp(13px,1.3vw,22px);}
.beamer .zahlen{display:flex;gap:2.4vw;}

/* Beitrittsfolie */
.beamer .beitritt{flex:1 1 auto;display:flex;align-items:center;justify-content:center;gap:6vw;}
.beamer .beitritt .qr-gross{height:min(58vh,40vw);width:auto;background:#fff;border-radius:16px;padding:10px;}
.beamer .beitritt .schritte{font-size:clamp(20px,2.6vw,48px);line-height:1.3;}
.beamer .beitritt .schritte .gross{display:block;font-family:'Sora';font-weight:800;font-size:clamp(28px,4.4vw,84px);color:var(--text);}
.beamer .beitritt .schritte .code{font-family:'IBM Plex Mono';letter-spacing:.08em;color:var(--accent);}
.beamer .beitritt .schritte .klein{display:block;color:var(--text-soft);margin-top:3vh;font-size:clamp(16px,1.6vw,28px);}
.beamer .beitritt h1{font-size:clamp(28px,3.6vw,64px);margin-bottom:4vh;}

/* Säulen (Auswahl) */
.beamer .saeulen{position:absolute;inset:0;display:flex;align-items:stretch;justify-content:center;gap:3vw;}
.beamer .saeule{flex:1 1 0;max-width:22vw;display:flex;flex-direction:column;justify-content:flex-end;align-items:stretch;min-width:0;}
.beamer .saeule .raum{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;justify-content:flex-end;}
.beamer .saeule .wert{text-align:center;font-family:'Sora';font-weight:700;font-size:clamp(18px,2.4vw,44px);margin-bottom:1vh;}
.beamer .saeule .wert small{display:block;font-family:'IBM Plex Sans';font-weight:500;font-size:.5em;color:var(--text-soft);}
.beamer .saeule .balken{height:0;min-height:4px;border-radius:10px 10px 0 0;transition:height .45s ease;}
.beamer .saeule .text{text-align:center;margin-top:1.4vh;font-size:clamp(14px,1.6vw,28px);font-weight:600;line-height:1.2;overflow-wrap:anywhere;min-height:2.4em;}

/* Skala */
.beamer .skalen{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;gap:4vh;}
.beamer .skala-zeile{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);align-items:center;gap:3vw;}
.beamer .skala-zeile.allein{grid-template-columns:1fr;}
.beamer .skala-zeile .aussage{font-size:clamp(16px,2vw,34px);font-weight:600;line-height:1.2;overflow-wrap:anywhere;}
.beamer .spur{position:relative;height:clamp(60px,10vh,120px);}
.beamer .spur .verteilung{position:absolute;left:0;right:0;bottom:22px;top:0;display:flex;align-items:flex-end;gap:4px;}
.beamer .spur .verteilung span{flex:1 1 0;background:var(--line);border-radius:4px 4px 0 0;height:0;transition:height .45s ease;}
.beamer .spur .linie{position:absolute;left:0;right:0;bottom:10px;height:4px;border-radius:2px;background:var(--line);}
.beamer .spur .punkt{position:absolute;bottom:2px;width:20px;height:20px;margin-left:-10px;border-radius:50%;background:var(--accent);transition:left .45s ease;box-shadow:0 0 0 4px var(--bg);}
.beamer .spur .mittel{position:absolute;bottom:28px;transform:translateX(-50%);font-family:'Sora';font-weight:800;font-size:clamp(16px,2vw,34px);transition:left .45s ease;white-space:nowrap;}
.beamer .skala-enden{display:flex;justify-content:space-between;color:var(--text-soft);font-size:clamp(12px,1.2vw,20px);margin-top:4px;}

/* Wortwolke */
.beamer .wolke{position:absolute;inset:0;overflow:hidden;}
.beamer .wolke .wort{position:absolute;white-space:nowrap;font-family:'Sora';font-weight:700;line-height:1;cursor:pointer;
  transition:left .5s ease, top .5s ease, font-size .5s ease, opacity .3s ease;}
.beamer .wolke .wort.neu{opacity:0;}

.beamer .leer-hinweis{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:var(--text-soft);font-size:clamp(18px,2vw,36px);text-align:center;}
.beamer .verborgen{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2vh;color:var(--text-soft);font-size:clamp(18px,2.2vw,40px);}
.beamer .verborgen .gross{font-family:'Sora';font-weight:800;font-size:clamp(40px,7vw,140px);color:var(--text);}
.beamer .geschlossen-schild{display:inline-block;margin-left:1vw;vertical-align:middle;font-size:.4em;}

/* Bedienleiste: erscheint bei Mausbewegung, verschwindet nach 3 s */
.beamer .bedienung{
  position:fixed;left:50%;bottom:2vh;transform:translateX(-50%);z-index:30;display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:center;
  background:#11161C;color:#f3f3f3;border:1px solid rgba(255,255,255,.16);border-radius:16px;padding:8px;
  box-shadow:0 10px 30px rgba(0,0,0,.4);transition:opacity .3s ease;max-width:96vw;
}
.beamer .bedienung.weg{opacity:0;pointer-events:none;}
.beamer .bedienung .knopf{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.16);color:#f3f3f3;min-height:36px;padding:6px 12px;font-size:14px;}
.beamer .bedienung .knopf.an{background:var(--r1);border-color:var(--r1);color:#1b0d10;}
.beamer .bedienung .stelle{font-family:'IBM Plex Mono';font-size:13px;color:#aeaeae;padding:0 8px;}
.beamer .hilfe{position:fixed;inset:0;z-index:40;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;}
.beamer .hilfe .karte{max-width:520px;color:var(--text);}
.beamer .hilfe table{border-collapse:collapse;margin-top:10px;}
.beamer .hilfe td{padding:4px 12px 4px 0;}
.beamer .hilfe kbd{font-family:'IBM Plex Mono';background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:1px 6px;}

/* Reihenfarben */
.r0{background:var(--r1);} .r1{background:var(--r2);} .r2{background:var(--r3);} .r3{background:var(--r4);} .r4{background:var(--r5);}
.r5{background:var(--r6);} .r6{background:var(--r7);} .r7{background:var(--r8);} .r8{background:var(--r9);} .r9{background:var(--r10);}
.t0{color:var(--r1);} .t1{color:var(--r2);} .t2{color:var(--r3);} .t3{color:var(--r4);} .t4{color:var(--r5);}
.t5{color:var(--r6);} .t6{color:var(--r7);} .t7{color:var(--r8);} .t8{color:var(--r9);} .t9{color:var(--r10);}
