/* Pocketplan Digital · Version 2.1.0 */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/fonts/nunito-latin.woff2') format('woff2');
}

:root {
  --blau: #1A3C8F;
  --dunkel: #12296A;
  --hell: #E8EDF8;
  --grund: #F4F6FB;
  --weiss: #FFFFFF;
  --gelb: #FFC845;
  --gelb-hell: #FFF4D1;
  --gelb-rand: #E0A800;
  --tinte: #2A2100;
  --orange: #A84F00;
  --orange-hell: #FFE9D6;
  --orange-text: #5A2A00;
  --grau: #3B4F86;
  --grau-hell: #EEF0F4;
  --linie: #D5DCEE;
  --feld: #9AA8CF;
  font-family: 'Nunito', 'Segoe UI', system-ui, sans-serif;
  color: var(--dunkel);
  background: var(--grund);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { min-height: 100vh; padding-bottom: env(safe-area-inset-bottom, 0px); }
a { color: var(--blau); }
a:hover { color: var(--dunkel); }
:focus-visible { outline: 3px solid var(--gelb-rand); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--weiss); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }
h1 { margin: 0; font-size: clamp(26px, 4vw, 36px); font-weight: 900; line-height: 1.15; }
h2 { margin: 0; font-size: 20px; font-weight: 900; }
p { line-height: 1.5; }

/* Kopfzeile */
.top { background: var(--blau); color: var(--weiss); padding-top: env(safe-area-inset-top, 0px); }
.top.admin { background: var(--dunkel); }
.top-in { max-width: 1280px; margin: 0 auto; padding: 12px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--weiss); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--weiss); }
.brand img { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--weiss); background: var(--weiss); }
.brand-t { display: flex; flex-direction: column; line-height: 1.1; }
.brand-t strong { font-size: 20px; font-weight: 900; }
.brand-t span { font-size: 14px; font-weight: 700; opacity: .9; }
.rolle { padding: 4px 12px; border-radius: 999px; background: var(--gelb); color: var(--tinte); font-size: 13px; font-weight: 900; }
.nav { display: flex; flex-wrap: wrap; gap: 4px; }
.nav a, .nav button { min-height: 44px; padding: 0 14px; border-radius: 999px; color: var(--weiss); font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; background: transparent; border: 0; cursor: pointer; }
.nav a:hover, .nav button:hover { background: rgba(255,255,255,.14); color: var(--weiss); }
.nav a[aria-current="page"] { background: var(--weiss); color: var(--dunkel); font-weight: 800; }
.nav .aus { border: 2px solid #8FA3D9; }
.nav .an { background: var(--weiss); color: var(--blau); font-weight: 900; }
.nav .an:hover { background: var(--hell); color: var(--blau); }

/* Eilmeldung */
.eil { background: var(--orange); color: var(--weiss); display: flex; align-items: stretch; overflow: hidden; }
.eil-schild { flex: none; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: var(--orange-text); font-weight: 900; font-size: 15px; }
.eil-band { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; padding: 12px 0; }
.eil-band span { display: inline-block; padding-left: 100%; font-size: 19px; font-weight: 900; animation: band 18s linear infinite; }
@keyframes band { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .eil-band span { animation: none; padding-left: 16px; white-space: normal; } }

main { max-width: 1280px; margin: 0 auto; padding: 28px 20px 64px; }
.seite { display: flex; flex-direction: column; gap: 20px; }
main:focus { outline: none; }
.laden { padding: 40px 20px; text-align: center; color: var(--grau); font-weight: 700; }
.kopf { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; }
.unter { color: var(--grau); font-weight: 600; font-size: 15px; margin: 4px 0 0; }
.zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.spalten { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px; }
.spalten > .breit { flex: 999 1 600px; min-width: 0; }
.spalten > .schmal { flex: 1 1 340px; min-width: 0; }

.karte { background: var(--weiss); border-radius: 18px; padding: 20px; box-shadow: 0 2px 0 var(--linie); display: flex; flex-direction: column; gap: 14px; }
.karte.flach { padding: 0; overflow: hidden; }
.hinweis { background: var(--hell); border-radius: 12px; padding: 12px 14px; font-weight: 600; line-height: 1.45; }
.hinweis.warn { background: var(--orange-hell); color: var(--orange-text); }
.hinweis.gelb { background: var(--gelb-hell); color: var(--tinte); border: 2px solid var(--gelb-rand); }
.leer { color: var(--grau); font-weight: 700; padding: 8px 0; }
.klein { font-size: 13px; font-weight: 600; color: var(--grau); }

/* Buttons */
.btn { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--blau); background: var(--weiss); color: var(--blau); font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn:hover { background: var(--hell); }
.btn.voll { background: var(--blau); color: var(--weiss); font-weight: 900; }
.btn.voll:hover { background: var(--dunkel); border-color: var(--dunkel); color: var(--weiss); }
.btn.warn { border-color: #C25E00; color: #8A3D00; }
.btn.warn.voll { background: #8A3D00; border-color: #8A3D00; color: var(--weiss); }
.btn.klein { min-height: 38px; padding: 0 12px; font-size: 13px; }
.btn.rund { width: 44px; padding: 0; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.chip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 2px solid #C3CDE6; background: var(--weiss); color: var(--blau); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--blau); border-color: var(--blau); color: var(--weiss); }
.chip.nein[aria-pressed="true"] { background: #8A3D00; border-color: #8A3D00; }
.chip.wunsch[aria-pressed="true"] { background: var(--gelb); border-color: var(--tinte); color: var(--tinte); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* Formulare */
.feld { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 800; }
.feld input, .feld select, .feld textarea, input.ein { min-height: 44px; padding: 0 12px; border: 2px solid var(--feld); border-radius: 10px; font: inherit; font-size: 16px; font-weight: 600; color: var(--dunkel); background: var(--weiss); width: 100%; }
.feld textarea { padding: 10px 12px; min-height: 70px; resize: vertical; }
.gitter { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.haken { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; }
.haken input { width: 20px; height: 20px; accent-color: var(--blau); }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Tabellen */
.scroll { overflow-x: auto; }
table.liste { width: 100%; border-collapse: collapse; }
table.liste th { text-align: left; font-size: 13px; color: var(--grau); font-weight: 900; padding: 12px 14px; }
table.liste td { padding: 8px 14px; border-top: 1px solid #E1E7F4; font-weight: 600; font-size: 15px; vertical-align: middle; }
table.liste tr.an td { background: var(--hell); }
.marke { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 900; background: var(--hell); color: var(--blau); }
.marke.gelb { background: var(--gelb); color: var(--tinte); }
.marke.dunkel { background: var(--dunkel); color: var(--weiss); }
.marke.orange { background: var(--orange-hell); color: var(--orange-text); }
.marke.grau { background: var(--grau-hell); color: #4A5470; }

/* Matrix */
.matrix { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 760px; }
.matrix th, .matrix td { border-top: 1px solid #E1E7F4; }
.matrix thead th { background: var(--blau); color: var(--weiss); padding: 10px 6px; font-weight: 900; text-align: center; border-top: 0; position: sticky; top: 0; z-index: 2; }
.matrix thead th.heute { background: var(--dunkel); }
.matrix thead th small { display: block; font-size: 12px; font-weight: 800; }
.matrix thead th .notiz { color: var(--gelb); font-size: 11px; }
.matrix th.dienst { position: sticky; left: 0; z-index: 1; background: var(--weiss); text-align: left; padding: 10px 14px; font-size: 15px; font-weight: 800; min-width: 180px; }
.matrix thead th.dienst { z-index: 3; background: var(--blau); color: var(--weiss); }
.matrix th.dienst small { display: block; font-size: 12px; color: var(--grau); font-weight: 700; }
.matrix td { padding: 8px 6px; text-align: center; border-left: 1px solid #E1E7F4; min-width: 92px; }
.matrix td.heute { background: var(--hell); }
.k { display: inline-block; min-width: 34px; margin: 2px; padding: 4px 8px; border-radius: 8px; background: var(--hell); font-weight: 800; letter-spacing: .5px; border: 2px solid transparent; }
.gefiltert .k { background: transparent; color: #5F6E9C; font-weight: 600; }
.gefiltert .k.mein { background: var(--gelb); color: var(--tinte); font-weight: 900; border-color: var(--dunkel); }
.zelle { width: 100%; min-height: 50px; padding: 4px; border-radius: 10px; border: 2px solid transparent; background: var(--grund); color: var(--dunkel); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
.zelle small { font-size: 11px; color: var(--grau); }
.zelle.unter { background: var(--orange-hell); color: var(--orange-text); border: 2px dashed #C25E00; }
.zelle.unter small { color: #8A3D00; }
.zelle.ausw { border: 3px solid var(--blau); box-shadow: 0 0 0 3px #C9D5F2; }

/* Suche mit Dropdown */
.suche { position: relative; flex: 1 1 320px; max-width: 460px; }
.treffer { position: absolute; z-index: 20; top: 100%; left: 0; right: 0; margin-top: 6px; background: var(--weiss); border: 2px solid var(--blau); border-radius: 12px; box-shadow: 0 16px 40px rgba(18,41,106,.22); padding: 6px; display: flex; flex-direction: column; gap: 2px; }
.treffer button { min-height: 46px; border: 0; border-radius: 8px; background: var(--grund); color: var(--dunkel); font: inherit; font-size: 16px; font-weight: 700; text-align: left; display: flex; align-items: center; gap: 12px; padding: 0 10px; cursor: pointer; }
.treffer button:hover, .treffer button:focus-visible { background: var(--hell); }
.treffer b { min-width: 42px; padding: 3px 8px; border-radius: 8px; background: var(--blau); color: var(--weiss); text-align: center; }

/* Planung: Personenliste */
.person { min-height: 52px; width: 100%; padding: 6px 10px; border-radius: 12px; border: 2px solid var(--linie); background: var(--weiss); color: var(--dunkel); font: inherit; text-align: left; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.person .pk { width: 44px; height: 34px; flex: none; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 900; background: var(--hell); }
.person .pt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.person .pt b { font-size: 13px; }
.person .pt span { font-size: 12px; font-weight: 700; color: #4A5470; }
.person .pa { font-size: 13px; font-weight: 800; color: var(--blau); }
.person.drin { background: var(--blau); border-color: var(--blau); color: var(--weiss); }
.person.drin .pk { background: var(--gelb); color: var(--tinte); }
.person.drin .pt span, .person.drin .pa { color: #DCE4F7; }
.person.aus { background: var(--grau-hell); border-color: var(--grau-hell); color: #4A5470; }
.person.wunsch { background: var(--gelb-hell); border-color: var(--gelb-rand); }
.person.warn .pt span { color: #8A3D00; }
.stern { color: var(--tinte); background: var(--gelb); border-radius: 6px; padding: 0 5px; font-size: 13px; font-weight: 900; }

/* Startseite */
.ablauf { list-style: none; margin: 0; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.ablauf li { display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; }
.ablauf li:nth-child(even) { background: var(--grund); }
.ablauf li.jetzt { background: var(--blau); color: var(--weiss); }
.ablauf time { font-size: 20px; font-weight: 900; font-variant-numeric: tabular-nums; }
.ablauf .t { font-size: 18px; font-weight: 800; }
.ablauf .o { display: block; font-size: 15px; font-weight: 600; color: var(--grau); }
.ablauf li.jetzt .o { color: #DCE4F7; }
.ablauf .jetzt-m { padding: 4px 12px; border-radius: 999px; background: var(--gelb); color: var(--tinte); font-size: 13px; font-weight: 900; }
.uhr { font-size: clamp(40px, 7vw, 64px); font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1; }
.pinsel { display: block; margin-top: 4px; }

/* Toast & Dialog */
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 60; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast div { background: var(--dunkel); color: var(--weiss); padding: 12px 18px; border-radius: 12px; font-weight: 800; box-shadow: 0 10px 30px rgba(10,25,70,.3); }
.toast div.fehler { background: #8A3D00; }
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(18,41,106,.6); display: flex; align-items: flex-start; justify-content: center; padding: 10vh 16px 16px; overflow-y: auto; }
.dialog { width: 100%; max-width: 420px; background: var(--weiss); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 24px 60px rgba(10,25,70,.35); }
.dialog .zu { align-self: flex-end; margin: -12px -12px 0 0; }

@media (max-width: 700px) {
  main { padding: 20px 14px 56px; }
  .top-in { padding: 10px 14px; }
  .brand img { width: 40px; height: 40px; }
  .ablauf li { grid-template-columns: 64px 1fr; }
  .ablauf .jetzt-m { grid-column: 2; justify-self: start; }
  .nav { width: 100%; }
}

/* Druck: nur der Plan, Querformat */
@media print {
  @page { size: A4 landscape; margin: 10mm; }
  body, :root { background: #fff; }
  .top, .eil, .nicht-drucken, .toast, .modal, .skip { display: none !important; }
  main { padding: 0; max-width: none; }
  .seite { gap: 8px; }
  .druck-kopf { display: flex !important; align-items: center; gap: 12px; }
  .druck-kopf img { width: 48px; height: 48px; }
  .karte { box-shadow: none; padding: 0; border-radius: 0; }
  .scroll { overflow: visible; }
  .matrix { min-width: 0; font-size: 11pt; }
  .matrix thead th { background: #1A3C8F !important; color: #fff !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; position: static; }
  .matrix th.dienst { position: static; }
  .k.mein, .matrix td.heute { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.druck-kopf { display: none; }
.matrix td.heute .k { background: var(--weiss); }
.gefiltert td.heute .k { background: transparent; }
.gefiltert td.heute .k.mein { background: var(--gelb); }
table.liste tr.an .marke { background: var(--weiss); }

.fuss { max-width: 1280px; margin: -40px auto 0; padding: 0 20px 24px; font-size: 12px; font-weight: 700; color: var(--grau); }

/* ============================================================ Version 2.0.0: Bühne, Baukasten, Effekte */
@keyframes eff-band { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@keyframes eff-puls { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes eff-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes eff-wackel { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-5px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }
.eff-Laufband { display: inline-block; padding-left: 100%; animation: eff-band 14s linear infinite; }
.eff-Pulsieren { display: inline-block; transform-origin: left center; animation: eff-puls 1.2s ease-in-out infinite; }
.eff-Blinken { display: inline-block; animation: eff-blink 1.4s ease-in-out infinite; }
.eff-Wackeln { display: inline-block; animation: eff-wackel .7s ease-in-out infinite; }
.eff-Ohne { display: inline-block; }
.eil-band span.eff-Pulsieren, .eil-band span.eff-Blinken, .eil-band span.eff-Wackeln, .eil-band span.eff-Ohne { padding-left: 16px; }
@media (prefers-reduced-motion: reduce) {
  .eff-Laufband, .eff-Pulsieren, .eff-Blinken, .eff-Wackeln { animation: none !important; padding-left: 0 !important; white-space: normal; }
}

/* Bühne (Startseite und Editor) */
.buehne-rahmen { position: relative; width: 100%; overflow: hidden; border-radius: 12px; box-shadow: 0 2px 0 var(--linie); }
.buehne { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; }
.el { position: absolute; box-sizing: border-box; display: flex; align-items: center; user-select: none; }
.el .t { white-space: pre-line; width: 100%; }
.el .uhr-box { display: flex; flex-direction: column; align-items: center; line-height: 1; width: 100%; }
.el .uhr-z { font-variant-numeric: tabular-nums; }
.el .uhr-d { font-size: .32em; font-weight: 700; margin-top: 6px; }
.el .liste { display: flex; flex-direction: column; gap: 3px; width: 100%; }
.el .liste div { display: grid; grid-template-columns: 4.2em 1fr; padding: 3px 10px; border-radius: 8px; }
.el .liste div.jetzt { background: var(--blau); color: var(--weiss); }
.el .eil-in { display: flex; align-items: center; gap: 10px; width: 100%; height: 100%; overflow: hidden; }
.el .eil-in > div { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; }
.el img.medium, .el video.medium { width: 100%; height: 100%; object-fit: contain; pointer-events: none; border-radius: inherit; }
.el video.medium { object-fit: cover; }
.el img.qr { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; pointer-events: none; }
.el .platzhalter { width: 100%; height: 100%; border: 2px dashed var(--feld); border-radius: inherit; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--grau); font-size: 12px; font-weight: 800; padding: 6px; box-sizing: border-box; }
.vollbild { position: absolute; right: 10px; bottom: 10px; z-index: 5; opacity: .85; }

/* Baukasten-Editor */
.bk { display: grid; grid-template-columns: 210px minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
@media (max-width: 1200px) { .bk { grid-template-columns: 1fr; } }
.bk-leiste { display: flex; flex-direction: column; gap: 16px; }
.baustein { min-height: 42px; padding: 0 12px; border-radius: 10px; border: 2px solid var(--linie); background: var(--grund); color: var(--dunkel); font: inherit; font-size: 14px; font-weight: 800; text-align: left; cursor: grab; width: 100%; }
.baustein.besonders { background: var(--gelb-hell); border-color: var(--gelb-rand); color: var(--tinte); }
.baustein.warnung { background: #FFF1E6; border-color: #E5B48A; color: var(--orange-text); }
.medium-eintrag { display: flex; flex-direction: column; gap: 6px; padding: 6px; border-radius: 10px; background: var(--grund); }
.medium-kopf { display: flex; align-items: center; gap: 8px; min-width: 0; cursor: grab; }
.medium-kopf img, .medium-kopf .vid { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; flex: none; background: var(--dunkel); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; }
.medium-kopf span { display: flex; flex-direction: column; min-width: 0; font-size: 12px; font-weight: 800; }
.medium-kopf span small { font-size: 11px; color: var(--grau); }
.medium-kopf b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hochladen { position: relative; min-height: 44px; border-radius: 10px; border: 2px dashed var(--blau); background: var(--hell); color: var(--blau); font-size: 14px; font-weight: 900; display: flex; align-items: center; justify-content: center; cursor: pointer; text-align: center; padding: 4px 8px; }
.hochladen input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.bk-mitte { display: flex; flex-direction: column; gap: 10px; min-width: 0; overflow-x: auto; }
.bk-buehne { position: relative; flex: none; overflow: hidden; touch-action: none; box-shadow: 0 0 0 2px #C3CDE6, 0 10px 30px rgba(18,41,106,.12); border-radius: 6px; }
.bk-buehne.mob { border-radius: 34px; margin: 10px; box-shadow: 0 0 0 10px var(--dunkel), 0 16px 40px rgba(18,41,106,.25); }
.bk-buehne.raster { background-image: linear-gradient(#DCE3F2 1px, transparent 1px), linear-gradient(90deg, #DCE3F2 1px, transparent 1px); background-size: 22px 22px; }
.bk-buehne.drueber { outline: 3px dashed var(--orange); outline-offset: 4px; }
.bk-buehne .el { cursor: move; touch-action: none; }
.bk-buehne .el.gesperrt { cursor: default; }
.bk-buehne .el.aus { opacity: .3; filter: grayscale(1); }
.bk-buehne .el.gewaehlt { outline: 2px solid #C25E00; outline-offset: 2px; }
.griff { position: absolute; right: -8px; bottom: -8px; width: 14px; height: 14px; border-radius: 3px; background: #fff; border: 2px solid #C25E00; cursor: nwse-resize; z-index: 2; }
.hilfslinie { position: absolute; z-index: 999; pointer-events: none; }
.hilfslinie.v { top: 0; bottom: 0; width: 0; border-left: 2px dashed #C25E00; }
.hilfslinie.h { left: 0; right: 0; height: 0; border-top: 2px dashed #C25E00; }
.farben { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.farbe { width: 30px; height: 30px; border-radius: 8px; border: 2px solid var(--feld); cursor: pointer; padding: 0; }
.farbe[aria-pressed="true"] { border: 3px solid #C25E00; }
.farbe.transparent { background: repeating-conic-gradient(#D5DCEE 0 25%, #FFFFFF 0 50%) 0 0 / 10px 10px; }
input[type="color"].farbwahl { width: 40px; height: 32px; padding: 0; border: 2px solid var(--feld); border-radius: 8px; background: #fff; cursor: pointer; }
.zahlen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.zahlen .feld input { min-height: 38px; font-size: 14px; }
.bk-panel .feld input[type="range"] { min-height: 0; padding: 0; border: 0; accent-color: var(--blau); }
.status-punkt { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 900; }
.status-punkt.entwurf { background: var(--orange-hell); color: var(--orange-text); }
.status-punkt.online { background: var(--hell); color: var(--blau); }
.upload-status { font-size: 12px; font-weight: 800; color: var(--blau); background: var(--hell); border-radius: 8px; padding: 6px 8px; }
.team-zelle { display: inline-block; padding: 4px 10px; border-radius: 8px; background: var(--gelb); color: var(--tinte); font-weight: 900; }
.gefiltert .team-zelle { background: transparent; color: #5F6E9C; font-weight: 600; }
.gefiltert .team-zelle.mein { background: var(--gelb); color: var(--tinte); font-weight: 900; border: 2px solid var(--dunkel); }
.zelle.team { background: var(--gelb-hell); }
.bk-huelle { position: relative; flex: none; }
.bk-huelle .bk-buehne { position: absolute; left: 0; top: 0; }
.bk-huelle .bk-buehne.mob { left: 0; top: 0; }
table.liste tr.an .marke.dunkel { background: var(--dunkel); color: var(--weiss); }
table.liste tr.an .marke.gelb { background: var(--gelb); }
table.liste tr.an .marke.orange { background: var(--orange-hell); }
body:has(.bk) main { max-width: 1680px; }

/* Version 2.1.0: Laufband innerhalb der Fläche (auch im Vollbild sichtbar) */
.buehne-band { position: absolute; left: 0; right: 0; top: 0; z-index: 4; display: flex; align-items: stretch; background: var(--orange); color: #fff; overflow: hidden; font-weight: 900; }
.buehne-band > strong { flex: none; display: flex; align-items: center; padding: 0 .8em; background: var(--orange-text); font-size: .8em; }
.buehne-band-lauf { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; padding: .45em 0; }
.buehne-band-lauf span.eff-Pulsieren, .buehne-band-lauf span.eff-Blinken, .buehne-band-lauf span.eff-Wackeln, .buehne-band-lauf span.eff-Ohne { padding-left: .8em; }
.buehne-rahmen:fullscreen { border-radius: 0; }
textarea.ein { font: inherit; font-size: 16px; font-weight: 600; color: var(--dunkel); width: 100%; border: 2px solid var(--feld); border-radius: 10px; }
.bk-mitte { overflow-x: hidden; }
