/* Drehbuch · Bäder Bramsche (29.11.2026) — Handy zuerst */
@font-face { font-family: "Fira"; src: url(/marke/fonts/FiraSans-Regular.ttf); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fira"; src: url(/marke/fonts/FiraSans-Medium.ttf); font-weight: 500; font-display: swap; }
@font-face { font-family: "Fira"; src: url(/marke/fonts/FiraSans-SemiBold.ttf); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fira"; src: url(/marke/fonts/FiraSans-ExtraBold.ttf); font-weight: 800; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(/marke/fonts/Fraunces.ttf); font-display: swap; }

:root {
  --tief: #0b3d6e; --blau: #1068B0; --hell: #e8f1f9; --orange: #E85818; --gold: #c9973b;
  --grund: #f3f6f9; --karte: #fff; --text: #13263a; --leise: #5d7083; --linie: #dfe6ee;
  --gruen: #1e8a5a; --rot: #c2381f;
  --akzent: var(--blau);
  --r: 16px; --schatten: 0 1px 2px rgba(11, 61, 110, .06), 0 4px 16px rgba(11, 61, 110, .06);
  --unten: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.45 "Fira", system-ui, sans-serif; color: var(--text); background: var(--grund); min-height: 100dvh; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--akzent); }
img, video { max-width: 100%; display: block; }
[hidden] { display: none !important; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(env(safe-area-inset-top, 0px) + 10px) 16px 10px; background: var(--tief); color: #fff; }
.kopf-marke { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; min-width: 0; }
.kopf-marke svg { width: 34px; height: 34px; flex: none; }
.kopf-marke span { display: flex; flex-direction: column; line-height: 1.1; }
.kopf-marke b { font-weight: 800; font-size: 18px; letter-spacing: .01em; }
.kopf-marke small { font-size: 12px; opacity: .7; }
.kopf-rechts { font-size: 12px; opacity: .75; text-align: right; }

main { max-width: 720px; margin: 0 auto; padding: 16px 16px calc(110px + var(--unten)); }

h1 { font-weight: 800; font-size: 26px; line-height: 1.15; margin: 4px 0 14px; letter-spacing: -.01em; }
h2 { font-weight: 800; font-size: 19px; margin: 26px 0 10px; }
h3 { font-weight: 600; font-size: 16px; margin: 0 0 4px; }
p { margin: 0 0 10px; }
.leise { color: var(--leise); font-size: 14px; }
.schrift { font-family: "Fraunces", Georgia, serif; font-style: italic; color: var(--gold); }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px;
  background: var(--akzent); color: #fff; font-weight: 600; font-size: 16px; cursor: pointer; text-decoration: none; transition: transform .12s, filter .12s, opacity .12s;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.knopf:active { transform: scale(.97); }
.knopf:hover { filter: brightness(1.07); }
.knopf[disabled] { opacity: .45; pointer-events: none; }
.knopf.zweit { background: var(--hell); color: var(--tief); }
.knopf.rand { background: transparent; color: var(--akzent); box-shadow: inset 0 0 0 2px currentColor; }
.knopf.orange { background: var(--orange); }
.knopf.klein { min-height: 38px; padding: 0 14px; font-size: 14px; }
.knopf.breit { width: 100%; }
.knopf.gross { min-height: 58px; font-size: 18px; font-weight: 800; }
.knopf svg { width: 20px; height: 20px; flex: none; }
.textknopf { background: none; border: 0; color: var(--leise); font-size: 14px; padding: 8px 4px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Leiste unten (Hauptaktion immer mit dem Daumen erreichbar) */
.leiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: 12px 16px calc(12px + var(--unten));
  background: linear-gradient(to top, var(--grund) 70%, rgba(243, 246, 249, 0)); }
.leiste > div { max-width: 720px; margin: 0 auto; display: flex; gap: 10px; }
.leiste .knopf { flex: 1; }

/* Karten */
.karte { background: var(--karte); border-radius: var(--r); box-shadow: var(--schatten); padding: 16px; margin-bottom: 12px; }
.karte.knopfig { cursor: pointer; transition: transform .12s, box-shadow .12s; }
.karte.knopfig:active { transform: scale(.985); }
.karte.gewaehlt { box-shadow: 0 0 0 3px var(--akzent), var(--schatten); }

/* Start: Bereiche */
.bereiche { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bereich { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 132px; padding: 14px; border: 0; border-radius: var(--r);
  color: #fff; text-align: left; cursor: pointer; overflow: hidden; box-shadow: var(--schatten); transition: transform .12s; }
.bereich:active { transform: scale(.97); }
.bereich img { position: absolute; top: 14px; left: 14px; height: 40px; width: auto; max-width: 70%; object-fit: contain; object-position: left; }
.bereich b { font-weight: 800; font-size: 18px; line-height: 1.1; }
.bereich small { font-size: 13px; opacity: .85; }
.bereich::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.b-hasebad { background: linear-gradient(145deg, #1068B0, #0b3d6e); }
.b-varus { background: linear-gradient(145deg, #E85818, #a93a0c); }
.b-salz { background: linear-gradient(145deg, #d98a4e, #8a4a2a); }
.b-ueffeln { background: linear-gradient(145deg, #2a9bd6, #106a8e); }

/* Projektliste */
.liste { display: flex; flex-direction: column; gap: 10px; }
.zeile { display: flex; gap: 12px; align-items: center; padding: 10px; background: var(--karte); border-radius: var(--r); box-shadow: var(--schatten); text-decoration: none; color: inherit; }
.zeile .bild { width: 58px; height: 80px; flex: none; border-radius: 10px; background: var(--hell) center/cover; display: grid; place-items: center; color: var(--blau); }
.zeile .bild svg { width: 26px; height: 26px; opacity: .6; }
.zeile .mitte { flex: 1; min-width: 0; }
.zeile h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zeile .pfeil { color: var(--leise); flex: none; }

/* Chips */
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .02em; background: var(--hell); color: var(--tief); white-space: nowrap; }
.chip.orange { background: #fde6da; color: #9b3a0e; }
.chip.gruen { background: #dcf2e7; color: #145c3c; }
.chip.rot { background: #fbe1dc; color: #8c2614; }
.chip.dunkel { background: var(--tief); color: #fff; }
.chip .punkt { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip .punkt.puls { animation: puls 1.2s ease-in-out infinite; }
@keyframes puls { 50% { opacity: .25; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.wahl { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--linie); background: var(--karte); cursor: pointer; font-size: 14px; font-weight: 500; transition: all .12s; }
.wahl[aria-pressed="true"] { background: var(--akzent); border-color: var(--akzent); color: #fff; }

/* Projektkopf + Reiter */
.pkopf { margin: -16px -16px 0; padding: 18px 16px 0; color: #fff; background: var(--pfarbe, var(--blau)); }
.pkopf .oben { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.pkopf .oben img { height: 28px; width: auto; }
.pkopf h1 { margin: 0 0 14px; font-size: 24px; }
.pkopf h1 button { all: unset; cursor: text; }
.reiter { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0 -4px; }
.reiter::-webkit-scrollbar { display: none; }
.reiter a { flex: 1; min-width: 74px; padding: 12px 6px 13px; text-align: center; font-weight: 600; font-size: 15px; color: rgba(255, 255, 255, .78); text-decoration: none;
  border-radius: 12px 12px 0 0; position: relative; }
.reiter a[aria-current="page"] { background: var(--grund); color: var(--tief); }
.reiter a .zahl { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; border-radius: 99px; background: rgba(255, 255, 255, .25); font-size: 12px; line-height: 20px; }
.reiter a[aria-current="page"] .zahl { background: var(--hell); }
.reiter a .punkt { position: absolute; top: 9px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 2px var(--pfarbe, var(--blau)); }

/* Eingaben */
.feld { width: 100%; min-height: 120px; padding: 14px; border: 1.5px solid var(--linie); border-radius: 14px; background: var(--karte); resize: vertical; font-size: 17px; line-height: 1.4; }
.feld:focus { outline: none; border-color: var(--akzent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--akzent) 18%, transparent); }
.feld.klein { min-height: 80px; font-size: 16px; }
label.titel { display: block; font-weight: 600; margin: 0 0 6px; }

/* Denken */
.denkt { display: flex; align-items: center; gap: 14px; padding: 18px 16px; border-radius: var(--r); background: var(--karte); box-shadow: var(--schatten); margin-bottom: 12px; }
.welle { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--hell); position: relative; overflow: hidden; }
.welle::before, .welle::after { content: ""; position: absolute; left: -50%; width: 200%; height: 200%; top: 55%; border-radius: 42%; background: var(--akzent); opacity: .85; animation: dreh 3s linear infinite; }
.welle::after { opacity: .35; animation-duration: 5s; top: 48%; }
@keyframes dreh { to { transform: rotate(360deg); } }
.denkt b { display: block; }

/* Ideen */
.idee h3 { font-size: 18px; font-weight: 800; }
.idee .hook { font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 17px; color: var(--tief); margin: 4px 0 8px; }
.idee .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

/* Skript */
.skopf { padding: 18px; border-radius: var(--r); background: var(--tief); color: #fff; margin-bottom: 14px; }
.skopf .hook { font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 20px; line-height: 1.3; color: #ffd9a0; margin: 6px 0 10px; }
.skopf .chip { background: rgba(255, 255, 255, .15); color: #fff; }
.szene { display: grid; grid-template-columns: auto 1fr; gap: 0 12px; }
.haken { width: 34px; height: 34px; border-radius: 10px; border: 2px solid var(--linie); background: var(--karte); display: grid; place-items: center; cursor: pointer; margin-top: 2px; }
.haken svg { width: 20px; height: 20px; color: #fff; opacity: 0; }
.haken[aria-checked="true"] { background: var(--gruen); border-color: var(--gruen); }
.haken[aria-checked="true"] svg { opacity: 1; }
.szene.erledigt .inhalt { opacity: .55; }
.szene .kopfzeile { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.szene .ort { font-weight: 800; font-size: 17px; }
.szene .sprech { margin: 8px 0; padding: 10px 12px; border-left: 4px solid var(--orange); background: #fff6f1; border-radius: 0 10px 10px 0; font-size: 18px; font-weight: 500; }
.szene .bildtext { display: inline-block; margin: 2px 0 6px; padding: 4px 10px; background: var(--tief); color: #fff; border-radius: 8px; font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .02em; }
.szene dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; margin: 6px 0 0; font-size: 14px; }
.szene dt { color: var(--leise); }
.szene dd { margin: 0; }
.fortschritt-dreh { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 14px; color: var(--leise); }
.balken { flex: 1; height: 8px; border-radius: 99px; background: var(--linie); overflow: hidden; }
.balken > i { display: block; height: 100%; width: 0; background: var(--akzent); border-radius: 99px; transition: width .4s; }
.balken.gruen > i { background: var(--gruen); }
ul.punkte { margin: 0; padding-left: 20px; }
ul.punkte li { margin-bottom: 6px; }
.caption { white-space: pre-wrap; font-size: 15px; }

/* Hochladen */
.ablage { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 16px; border: 2px dashed color-mix(in srgb, var(--akzent) 45%, transparent);
  border-radius: 20px; background: color-mix(in srgb, var(--akzent) 6%, var(--karte)); text-align: center; cursor: pointer; transition: background .15s; }
.ablage.drueber { background: color-mix(in srgb, var(--akzent) 16%, var(--karte)); }
.ablage svg { width: 44px; height: 44px; color: var(--akzent); }
.ablage b { font-size: 18px; font-weight: 800; }
.ablage input { display: none; }
.hochlade { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--karte); border-radius: 12px; box-shadow: var(--schatten); margin-bottom: 8px; font-size: 14px; }
.hochlade .name { flex: 1; min-width: 0; }
.hochlade .name b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 560px) { .raster { grid-template-columns: repeat(4, 1fr); } }
.kachel { position: relative; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: var(--hell) center/cover; box-shadow: var(--schatten); }
.kachel .unten { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 7px 6px; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); color: #fff; font-size: 11px; line-height: 1.25; }
.kachel .unten b { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kachel .oben { position: absolute; top: 6px; left: 6px; right: 6px; display: flex; justify-content: space-between; align-items: start; }
.kachel .weg { width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .5); color: #fff; display: grid; place-items: center; cursor: pointer; }
.kachel .weg svg { width: 16px; height: 16px; }
.kachel .zustand { padding: 2px 7px; border-radius: 99px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 11px; font-weight: 600; }
.kachel.arbeitet::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); background-size: 250% 100%; animation: schimmer 1.6s linear infinite; }
@keyframes schimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.kachel.kaputt { outline: 3px solid var(--rot); }
.tipp { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff8e6; color: #6b4b06; font-size: 14px; margin: 12px 0; }
.tipp svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }

/* Schnitt */
.schritte { display: flex; flex-direction: column; gap: 2px; margin: 4px 0 8px; }
.schritt { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: var(--leise); }
.schritt .kreis { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--linie); color: #fff; font-weight: 800; font-size: 13px; }
.schritt .kreis svg { width: 16px; height: 16px; }
.schritt.fertig { color: var(--text); }
.schritt.fertig .kreis { background: var(--gruen); }
.schritt.jetzt { color: var(--text); font-weight: 600; }
.schritt.jetzt .kreis { background: var(--akzent); animation: puls 1.4s ease-in-out infinite; }
.schritt .rechts { margin-left: auto; font-size: 13px; font-variant-numeric: tabular-nums; }
.protokoll { max-height: 240px; overflow: auto; margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: #0f2235; color: #cfe0f0; font: 12.5px/1.5 ui-monospace, "SF Mono", Menlo, monospace; }
.protokoll div { margin-bottom: 4px; }
.protokoll time { color: #7f9ab3; margin-right: 6px; }
.fassung video { width: 100%; max-height: 72vh; aspect-ratio: 9 / 16; object-fit: contain; background: #000; border-radius: 14px; }
.fassung .zeilen { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.fassung .zeilen .knopf { flex: 1; }
.fassung details { margin-top: 10px; font-size: 14px; }
.fassung summary { cursor: pointer; color: var(--leise); }
.fassungen-alt { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.fassungen-alt button { flex: none; width: 74px; border: 0; padding: 0; background: none; cursor: pointer; text-align: center; font-size: 12px; color: var(--leise); }
.fassungen-alt img { width: 74px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; margin-bottom: 4px; }
.fassungen-alt button[aria-pressed="true"] img { outline: 3px solid var(--akzent); outline-offset: 1px; }
.fehlerbox { padding: 12px 14px; border-radius: 14px; background: #fbe1dc; color: #7a2010; font-size: 14px; margin-bottom: 12px; overflow-wrap: anywhere; }

/* Hinweis (Toast) */
.hinweis { position: fixed; left: 50%; bottom: calc(90px + var(--unten)); transform: translateX(-50%); z-index: 40; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 14px;
  background: #13263a; color: #fff; font-size: 15px; box-shadow: 0 8px 28px rgba(0, 0, 0, .25); animation: rein .2s ease-out; }
.hinweis.fehler { background: var(--rot); }
@keyframes rein { from { opacity: 0; transform: translate(-50%, 10px); } }

/* Auswahl-Blatt (Rückfragen zum Anklicken) */
.blatt-grund { position: fixed; inset: 0; z-index: 30; background: rgba(9, 25, 41, .45); display: flex; align-items: flex-end; justify-content: center; animation: grund .2s; }
@keyframes grund { from { background: transparent; } }
.blatt { width: 100%; max-width: 720px; max-height: 88dvh; overflow: auto; padding: 10px 18px calc(18px + var(--unten)); border-radius: 22px 22px 0 0; background: var(--grund); animation: hoch .25s cubic-bezier(.2, .8, .2, 1); }
@keyframes hoch { from { transform: translateY(40px); opacity: .5; } }
.blatt .griff { width: 40px; height: 5px; border-radius: 9px; background: var(--linie); margin: 0 auto 12px; }
.blatt h2 { margin-top: 4px; }

.leer { text-align: center; padding: 30px 10px; color: var(--leise); }
.leer svg { width: 56px; height: 56px; color: var(--linie); margin: 0 auto 8px; }

@media (min-width: 720px) {
  main { padding-top: 24px; }
  .pkopf { margin: -24px 0 0; border-radius: 0 0 22px 22px; padding-left: 20px; padding-right: 20px; }
  .bereiche { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Lange Chips (Format, Stimmung, Requisiten) dürfen umbrechen statt über den Rand zu laufen */
.chip { max-width: 100%; }
.skopf .chip, .karte .chip { white-space: normal; text-align: left; line-height: 1.35; }
.skopf-mehr { margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.85); }
.skopf-mehr summary { cursor: pointer; font-weight: 600; color: #fff; }
.skopf-mehr p { margin: 6px 0 0; line-height: 1.45; }

/* Bereichsordner, eigenes Video je Idee, Kais Stimme, Material (29.11.2026) */
a.bereich { text-decoration: none; }
.zurueck { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin: -6px 0 6px; color: var(--leise); font-weight: 600; font-size: 15px; text-decoration: none; }
.zurueck svg { transform: rotate(180deg); width: 18px; height: 18px; }
.idee-block { margin-bottom: 14px; }
.idee-block .karte { margin-bottom: 0; }
.idee-fuss { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 46px; margin-top: -6px; padding: 14px 12px 8px; border: 0; border-radius: 0 0 var(--r) var(--r);
  background: var(--hell); color: var(--tief); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; }
.idee-fuss svg { width: 18px; height: 18px; }
.idee-fuss.angelegt { background: #e3f4ec; color: var(--gruen); }
.idee-fuss[disabled] { opacity: .6; }
.sprech .off { display: flex; width: fit-content; align-items: center; gap: 4px; margin-bottom: 4px; padding: 1px 8px; border-radius: 99px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; vertical-align: middle; }
.sprech .off svg { width: 13px; height: 13px; }
.leise > .punkt { display: inline-block; width: 8px; height: 8px; margin-right: 4px; border-radius: 50%; background: var(--akzent); }
.leise > .punkt.puls { animation: puls 1.2s ease-in-out infinite; }
.schalter-karte, .matkarte { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 0; border-radius: var(--r); background: var(--karte); box-shadow: var(--schatten);
  color: inherit; font: inherit; text-align: left; text-decoration: none; cursor: pointer; margin-bottom: 12px; }
.schalter-karte .sym, .matkarte .sym { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--hell); color: var(--akzent); }
.schalter-karte .sym svg, .matkarte .sym svg { width: 22px; height: 22px; }
.schalter-karte .mitte, .matkarte .mitte { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.schalter-karte[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--orange), var(--schatten); }
.schalter-karte[aria-pressed="true"] .sym { background: var(--orange); color: #fff; }
.schalter { position: relative; width: 50px; height: 30px; flex: none; border-radius: 99px; background: var(--linie); transition: background .15s; }
.schalter i { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .15s; }
[aria-pressed="true"] .schalter { background: var(--orange); }
[aria-pressed="true"] .schalter i { transform: translateX(20px); }
.matkarte { margin-top: 14px; }
.matkarte.schmal { margin-top: 12px; }
.matkarte .pfeil { color: var(--leise); flex: none; }
.matkarte .vorschau { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 58px; height: 80px; flex: none; border-radius: 10px; overflow: hidden; background: var(--hell); color: var(--akzent); place-items: center; }
.matkarte .vorschau > svg { grid-column: 1 / -1; width: 26px; height: 26px; }
.matkarte .vorschau i { width: 100%; height: 100%; background: center/cover; }
svg.inline { width: 16px; height: 16px; vertical-align: -3px; }
.chips.filter { align-items: center; margin-bottom: 6px; }
.chips.filter .textknopf { margin-left: auto; }
.kachel.mat .wahlflaeche { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; cursor: pointer; padding: 0; }
.kachel.mat .oben { pointer-events: none; }
.kachel.mat .oben > * { pointer-events: auto; }
.kachel.mat .unten { pointer-events: none; }
.kachel.mat .haken { width: 28px; height: 28px; margin: 0; border-radius: 50%; border: 2px solid #fff; background: rgba(0, 0, 0, .25); pointer-events: none; }
.kachel.mat .haken svg { width: 16px; height: 16px; }
.kachel.mat.an { box-shadow: 0 0 0 3px var(--akzent), var(--schatten); }
.kachel.mat.an .haken { background: var(--akzent); border-color: var(--akzent); }
.kachel.mat.an .haken svg { opacity: 1; }
.kachel.mat.schon { opacity: .55; }
.kachel.mat.schon .haken { background: var(--gruen); border-color: var(--gruen); }
.kachel.mat.schon .haken svg { opacity: 1; }
.kachel .ansehen { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .5); color: #fff; display: grid; place-items: center; cursor: pointer; }
.kachel .ansehen svg { width: 18px; height: 18px; }
.kachel .unten .in { display: block; margin-top: 2px; color: #bfe6d2; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blatt-grund.ansicht { align-items: center; padding: 16px; }
.ansicht-box { width: 100%; max-width: 520px; max-height: 94dvh; display: flex; flex-direction: column; gap: 10px; padding: 10px; border-radius: 18px; background: var(--grund); }
.ansicht-box video, .ansicht-box img { width: 100%; max-height: 72dvh; object-fit: contain; border-radius: 12px; background: #000; min-height: 0; }
.ansicht-fuss { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; }
.ansicht-fuss > span { min-width: 0; overflow-wrap: anywhere; }
.ansicht-box .klein { margin: 0; font-size: 12px; }
/* Stimmen-Schalter kompakt (Kai 29.11.: „nicht so riesig“) */
.schalter-karte { padding: 8px 12px; gap: 10px; min-height: 52px; }
.schalter-karte .sym { width: 32px; height: 32px; border-radius: 9px; }
.schalter-karte .sym svg { width: 18px; height: 18px; }
.schalter-karte .mitte { flex-direction: column; align-items: flex-start; gap: 0; text-align: left; line-height: 1.25; }
.schalter-karte .mitte b { font-size: 15px; }
.schalter-karte .mitte .leise { font-size: 13px; }
.schalter { width: 42px; height: 26px; }
.schalter i { width: 20px; height: 20px; }
[aria-pressed="true"] .schalter i { transform: translateX(16px); }

/* Musikwahl im Änderungsblatt (29.11.) */
.musikwahl { margin-top: 14px; }
.mw-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mw-hoer { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--linie); background: var(--karte); font-size: 13px; font-weight: 600; color: var(--tief); cursor: pointer; }
.mw-hoer svg { width: 14px; height: 14px; }
.mw-hoer:disabled { opacity: .4; cursor: default; }
.mwahl { min-height: 36px; padding: 0 13px; border-radius: 999px; border: 1.5px solid var(--linie); background: var(--karte); cursor: pointer; font-size: 14px; font-weight: 500; }
.mwahl[aria-checked="true"] { background: var(--tief); border-color: var(--tief); color: #fff; }

/* Instagram-Text je Fassung */
.capblock { margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--hell); }
.capblock > b { display: block; margin-bottom: 8px; }
.cap-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.capblock .caption { margin: 0; }
.capblock details { margin-top: 8px; }

/* Zuordnung Clip ↔ Szene */
.zuordnung .zo-zeile { padding: 10px 0; border-bottom: 1px solid var(--linie); }
.zuordnung .zo-zeile:first-child { padding-top: 0; }
.zo-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.zo-bilder { display: flex; gap: 6px; margin-top: 8px; }
.zo-bild { width: 44px; height: 66px; border-radius: 6px; background: #dfe7ef center / cover no-repeat; }
.zuordnung .zo-zeile p.leise { margin: 6px 0 0; }
.zo-fehlt { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #fff8e6; }
.zo-fehlt b { display: block; margin-bottom: 6px; }
