/* Schnittwerk (Arbeitsname) – Aussehen der Oberfläche.
   Aufbau dieser Datei:
     1 Schrift   2 Farben und Maße   3 Grundlagen   4 Kopf und Bereichs-Leiste
     5 Bausteine (Knöpfe, Felder, Karten, Blatt, Meldungen)   6 Taktleiste
     7 Neues Video   8 Ergebnis und Bühne   9 Meine Videos   10 Stil & Marke
     11 Anmelden, Einladung, Einrichten   11a Jemand spricht (Art des Videos, Untertitel, Sätze)
     12 Breite Bildschirme   13 Weniger Bewegung
   Gebaut wird vom Handy aus (390 px); Abschnitt 12 erweitert für den Rechner.
   Farben stehen nur in Abschnitt 2. Überall sonst var(--name). */

/* ---------- 1 Schrift (liegt in schrift/, Lizenz daneben) ---------- */
@font-face { font-family: "Barlow"; src: url("schrift/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("schrift/barlow-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("schrift/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("schrift/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* ---------- 2 Farben und Maße ---------- */
:root {
  --grund: #F5F5F3;         /* Seitenhintergrund */
  --karte: #FFFFFF;         /* Karten und Felder */
  --mulde: #EBEAE7;         /* vertiefte Flächen, ruhige Knöpfe */
  --tinte: #1B1A19;         /* Text */
  --leise: #5F5D59;         /* Nebentext */
  --rand: #DDDBD7;          /* feine Linien */
  --rand-stark: #8A8883;    /* Ränder von Feldern und Knöpfen */
  --akzent: #FF6A1F;        /* die eine Akzentfarbe: Hauptknopf und Fortschritt */
  --akzent-tinte: #1F1006;  /* Text auf der Akzentfarbe */
  --buehne: #131314;        /* dunkle Bühne fürs Video, in beiden Farbmodi dunkel */
  --buehne-stufe: #252527;
  --buehne-tinte: #F4F3F1;
  --buehne-leise: #B0AEAA;
  --gefahr: #B3261E;
  --gut: #1D7448;
  --ring: #1B1A19;          /* Fokusrahmen */
  --schatten: 0 1px 2px rgb(27 26 25 / .06), 0 6px 20px rgb(27 26 25 / .06);

  --radius: 16px;
  --radius-klein: 10px;
  --rand-seite: 16px;
  --leiste-hoehe: 64px;     /* Bereichs-Leiste am unteren Rand (Handy) */
  --schrift: "Barlow", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --schrift-eng: "Barlow Condensed", "Arial Narrow", "Barlow", system-ui, sans-serif;
}
/* Dunkel nach Geräte-Einstellung. Der zweite Block ist derselbe Satz für ?farbe=dunkel (zum Prüfen). */
@media (prefers-color-scheme: dark) {
  :root:not([data-farbe="hell"]) {
    --grund: #111112; --karte: #1C1C1E; --mulde: #29292B; --tinte: #F1F0EE; --leise: #AAA8A4;
    --rand: #323235; --rand-stark: #7C7A7F; --buehne: #050506; --buehne-stufe: #1E1E20;
    --gefahr: #FF9486; --gut: #62D4A0; --ring: #FFFFFF;
    --schatten: 0 1px 2px rgb(0 0 0 / .4), 0 6px 20px rgb(0 0 0 / .3);
  }
}
:root[data-farbe="dunkel"] {
  --grund: #111112; --karte: #1C1C1E; --mulde: #29292B; --tinte: #F1F0EE; --leise: #AAA8A4;
  --rand: #323235; --rand-stark: #7C7A7F; --buehne: #050506; --buehne-stufe: #1E1E20;
  --gefahr: #FF9486; --gut: #62D4A0; --ring: #FFFFFF;
  --schatten: 0 1px 2px rgb(0 0 0 / .4), 0 6px 20px rgb(0 0 0 / .3);
}

/* ---------- 3 Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--grund); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--tinte);
  font: 400 17px/1.45 var(--schrift);
  min-height: 100svh;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

h1, .titel { font: 600 34px/1.05 var(--schrift-eng); letter-spacing: -.005em; text-wrap: balance; }
h2 { font: 600 23px/1.15 var(--schrift-eng); letter-spacing: .002em; }
h3 { font: 600 17px/1.3 var(--schrift); }
.leise { color: var(--leise); }
.klein { font-size: 15px; }
.nur-vorlesen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

:focus { outline: none; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 6px; }

.sprung { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--tinte); color: var(--grund); padding: 10px 14px; border-radius: 10px; }
.sprung:focus { top: 8px; }

main { display: block; }
/* Ziele, die nur per Skript den Fokus bekommen (neue Seite, geöffnetes Blatt), zeigen keinen Rahmen */
[tabindex="-1"]:focus-visible { outline: none; }
.seite { padding: 8px var(--rand-seite) 32px; max-width: 1120px; margin: 0 auto; display: grid; gap: 24px; align-content: start; }
.seite > .titel { margin-top: 8px; }
/* Platz für die Bereichs-Leiste am unteren Rand */
body.mit-leiste { padding-bottom: calc(var(--leiste-hoehe) + env(safe-area-inset-bottom)); }
/* Was den Fokus bekommt oder angesprungen wird, soll nicht unter der festen Leiste landen */
html:has(body.mit-leiste) { scroll-padding-bottom: calc(var(--leiste-hoehe) + env(safe-area-inset-bottom) + 16px); }

/* ---------- 4 Kopf und Bereichs-Leiste ---------- */
.kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px var(--rand-seite); min-height: 56px; max-width: 1120px; margin: 0 auto; }
.kopf__rechts { display: flex; align-items: center; gap: 8px; }
.wortmarke { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font: 600 25px/1 var(--schrift-eng); letter-spacing: .01em; }
/* Der Schnitt in der Wortmarke: ein schmaler Strich in der Akzentfarbe */
.wortmarke i { width: 3px; height: 26px; margin: 0 4px; border-radius: 2px; background: var(--akzent); transform: rotate(8deg); }
.probe-zeichen { font: 500 13px/1 var(--schrift); padding: 6px 9px; border-radius: 99px; border: 1px dashed var(--rand-stark); color: var(--leise); }

.reiter {
  position: fixed; inset: auto 0 0 0; z-index: 20;
  display: grid; grid-template-columns: repeat(3, 1fr);
  height: calc(var(--leiste-hoehe) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: var(--karte); border-top: 1px solid var(--rand);
}
.reiter a { display: grid; justify-items: center; align-content: center; gap: 2px; text-decoration: none; color: var(--leise); font: 500 13px/1.1 var(--schrift); position: relative; }
.reiter a[aria-current="page"] { color: var(--tinte); font-weight: 600; }
.reiter a svg { box-sizing: content-box; padding: 3px 18px; border-radius: 99px; }
.reiter a[aria-current="page"] svg { background: var(--mulde); }
.reiter a:focus-visible { outline-offset: -4px; }

/* ---------- 5 Bausteine ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 20px; border-radius: 14px;
  border: 1.5px solid var(--rand-stark); background: var(--karte); color: var(--tinte);
  font: 600 17px/1.15 var(--schrift); text-decoration: none; text-align: center;
  transition: transform .12s ease, background-color .15s ease, opacity .15s ease;
}
.knopf:active { transform: scale(.98); }
.knopf--haupt { min-height: 58px; width: 100%; border-color: transparent; background: var(--akzent); color: var(--akzent-tinte); font-size: 20px; box-shadow: 0 6px 18px rgb(255 106 31 / .28); }
.knopf--still { border-color: transparent; background: var(--mulde); }
.knopf--breit { width: 100%; }
.knopf--gefahr { color: var(--gefahr); border-color: currentColor; }
.knopf[aria-disabled="true"], .knopf:disabled { opacity: .55; box-shadow: none; }
.knopf--haupt[aria-disabled="true"] { opacity: 1; background: var(--mulde); color: var(--leise); }
.knopf--klein { min-height: 44px; padding: 0 14px; border-radius: 12px; font-size: 16px; }
.textknopf--gefahr { color: var(--gefahr) !important; }
.textknopf { min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--leise); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 6px; }
.rundknopf { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 0; background: var(--mulde); color: var(--tinte); padding: 0; }

.kreisel { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: drehen .8s linear infinite; flex: none; }
@keyframes drehen { to { transform: rotate(360deg); } }

.karte { background: var(--karte); border-radius: var(--radius); box-shadow: var(--schatten); padding: 18px; }
.abschnitt { display: grid; gap: 12px; align-content: start; }
.abschnitt > div:empty { display: none; } /* leere Meldungsplätze nehmen keinen Abstand ein */

/* Felder */
.feld { display: grid; gap: 6px; }
.feld > label, .feld > .feld__name { font-weight: 600; font-size: 16px; }
.feld__hinweis { font-size: 15px; color: var(--leise); }
.feld__fehler { font-size: 15px; color: var(--gefahr); font-weight: 500; }
.eingabe, select.eingabe, textarea.eingabe {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--rand-stark); background: var(--karte); color: var(--tinte);
}
textarea.eingabe { min-height: 96px; resize: vertical; }
.eingabe::placeholder { color: var(--leise); opacity: .85; }
.eingabe:focus-visible { outline-offset: 0; border-radius: 12px; }
select.eingabe { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--leise) 50%), linear-gradient(135deg, var(--leise) 50%, transparent 50%); background-position: calc(100% - 21px) 23px, calc(100% - 15px) 23px; background-size: 6px 6px; background-repeat: no-repeat; }
.eingabe-mit-knopf { position: relative; }
.eingabe-mit-knopf .eingabe { padding-right: 104px; }
.eingabe-mit-knopf button { position: absolute; right: 4px; top: 4px; min-height: 44px; }

/* Datei auswählen: ein Knopf, daneben der Name der gewählten Datei */
.dateifeld { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dateifeld input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dateifeld input[type="file"]:focus-visible + .knopf { outline: 3px solid var(--ring); outline-offset: 2px; }
.dateifeld__name { font-size: 15px; color: var(--leise); min-width: 0; overflow-wrap: anywhere; flex: 1 1 100%; }
.dateifeld__name:empty { display: none; }

/* Auswahl als große Zeilen (Qualität, Musik im Blatt) */
.wahl { display: grid; gap: 10px; }
.wahl__zeile { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 10px 14px; border-radius: 14px; border: 1.5px solid var(--rand); background: var(--karte); text-align: left; width: 100%; position: relative; }
.wahl__zeile input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.wahl__punkt { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--rand-stark); flex: none; display: grid; place-items: center; }
.wahl__zeile:has(input:checked), .wahl__zeile[aria-pressed="true"] { border-color: var(--tinte); box-shadow: inset 0 0 0 1px var(--tinte); }
.wahl__zeile:has(input:checked) .wahl__punkt, .wahl__zeile[aria-pressed="true"] .wahl__punkt { border-color: var(--tinte); }
.wahl__zeile:has(input:checked) .wahl__punkt::after, .wahl__zeile[aria-pressed="true"] .wahl__punkt::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--tinte); }
.wahl__zeile:has(input:focus-visible) { outline: 3px solid var(--ring); outline-offset: 2px; }
.wahl__zeile:has(input:disabled) { opacity: .55; }
.wahl__text { display: grid; gap: 1px; min-width: 0; overflow-wrap: anywhere; }
.wahl__reihe { display: flex; align-items: center; gap: 8px; } /* Zeile zum Wählen, daneben der Knopf zum Anhören */
.wahl__reihe .wahl__zeile { flex: 1; min-width: 0; }
.rundknopf[aria-pressed="true"] { background: var(--tinte); color: var(--grund); }
.wahl__text strong { font-weight: 600; }
.wahl__text span { font-size: 15px; color: var(--leise); }

/* Regler (Stil-Editor): Name links, der Wert in Worten rechts, darunter der Schieber und seine beiden Enden */
.regler > label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.regler__wert { font-weight: 500; font-size: 15px; color: var(--leise); text-align: right; font-variant-numeric: tabular-nums; }
.regler input[type="range"] { width: 100%; height: 44px; margin: 0; padding: 0; background: none; accent-color: var(--tinte); cursor: pointer; }
.regler input[type="range"]:focus-visible { outline-offset: 0; }
.regler__enden { display: flex; justify-content: space-between; margin-top: -10px; font-size: 13px; color: var(--leise); }
/* Zwei Möglichkeiten nebeneinander */
.segment { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--mulde); }
.segment__teil { min-height: 44px; padding: 0 8px; border: 0; border-radius: 10px; background: none; font-weight: 600; font-size: 16px; }
.segment__teil[aria-pressed="true"] { background: var(--karte); box-shadow: var(--schatten); }
.segment__teil:disabled { opacity: .45; cursor: default; }
/* Mehrere zum An- und Abwählen */
.wahlmarken { display: flex; flex-wrap: wrap; gap: 8px; }
.wahlmarke { min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--rand-stark); background: var(--karte); font-weight: 500; font-size: 16px; }
.wahlmarke[aria-pressed="true"] { background: var(--tinte); border-color: var(--tinte); color: var(--grund); }
.knopfreihe { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.knopfreihe .knopf { flex: 1 1 130px; }

/* Hinweiskasten */
.hinweis { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--mulde); font-size: 16px; }
.hinweis svg { margin-top: 1px; }
.hinweis--fehler { background: none; border: 1.5px solid var(--gefahr); color: var(--gefahr); font-weight: 500; }
.hinweis--gut { background: none; border: 1.5px solid var(--gut); color: var(--gut); font-weight: 500; }

/* Balken (Fortschritt) */
.balken { height: 8px; border-radius: 99px; background: var(--mulde); overflow: hidden; }
.balken i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--akzent); transition: width .4s ease; }

/* Blatt: Dialog, am Handy von unten */
dialog.blatt { border: 0; padding: 0; color: var(--tinte); background: var(--karte); width: 100%; max-width: 100vw; max-height: 88svh; margin: auto 0 0; border-radius: 22px 22px 0 0; overflow: auto; }
dialog.blatt::backdrop { background: rgb(0 0 0 / .55); }
dialog.blatt[open] { animation: blatt-auf .22s ease-out; }
@keyframes blatt-auf { from { transform: translateY(24px); opacity: 0; } }
.blatt__flaeche { padding: 14px var(--rand-seite) calc(20px + env(safe-area-inset-bottom)); display: grid; gap: 14px; }
.blatt__kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* Meldungen am unteren Rand */
.meldungen { position: fixed; left: 0; right: 0; bottom: calc(var(--leiste-hoehe) + env(safe-area-inset-bottom) + 12px); z-index: 60; display: grid; gap: 8px; justify-items: center; padding: 0 var(--rand-seite); pointer-events: none; }
/* Auf der Startseite steht dort „Schneiden": Meldungen rücken darüber, statt den Hauptknopf zu verdecken */
body:has(.los) .meldungen { bottom: calc(var(--leiste-hoehe) + env(safe-area-inset-bottom) + 96px); }
.meldung { max-width: 480px; padding: 12px 16px; border-radius: 14px; background: var(--tinte); color: var(--grund); font-weight: 500; font-size: 16px; box-shadow: var(--schatten); }

/* Leerer Zustand und Ladehinweis */
.leer { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 40px 12px; }
.leer svg { width: 44px; height: 44px; color: var(--leise); stroke-width: 1.4; }
.wartet { display: flex; gap: 10px; align-items: center; color: var(--leise); padding: 24px 0; }

/* ---------- 6 Taktleiste: ein Streifen aus Schnitten. Zeigt den Rhythmus eines Stils,
              den Fortschritt und die Szenenfolge des fertigen Videos. ---------- */
.takt { display: flex; gap: 3px; height: 10px; }
.takt span { flex: 1 1 0; min-width: 2px; border-radius: 3px; background: rgb(255 255 255 / .26); transition: background-color .12s linear; }
.takt span.ist-dran { background: var(--akzent); }
.takt span.ist-durch { background: rgb(255 255 255 / .62); }
/* als Fortschritt: zwölf gleiche Stücke, gefüllt von links */
.takt--fortschritt { position: relative; height: 12px; }
.takt--fortschritt span { background: rgb(255 255 255 / .16); overflow: hidden; }
.takt--fortschritt span i { display: block; height: 100%; width: 0; background: var(--akzent); transition: width .5s ease; }

/* ---------- 7 Neues Video ---------- */
.neu { display: grid; gap: 28px; }
.neu__rest { display: grid; gap: 24px; }

.ablage { position: relative; }
.ablage__feld { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ablage__flaeche {
  display: grid; justify-items: center; align-content: center; gap: 8px; text-align: center; cursor: pointer;
  min-height: min(46svh, 340px); padding: 28px 20px; border-radius: 24px;
  background: var(--karte); border: 2px dashed var(--rand-stark);
  transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
}
.ablage__plus { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--tinte); color: var(--grund); margin-bottom: 6px; }
.ablage__plus svg { width: 34px; height: 34px; stroke-width: 2; }
.ablage__flaeche strong { font: 600 30px/1.05 var(--schrift-eng); }
.ablage__text { color: var(--leise); max-width: 26ch; }
.ablage__ziehen { display: none; }
/* Das Dateifeld selbst ist unsichtbar; der Fokusrahmen erscheint an der Fläche bzw. am Knopf „Mehr dazu" */
.ablage__feld:focus-visible ~ .ablage .ablage__flaeche, .ablage__feld:focus-visible ~ .clips label.knopf { outline: 3px solid var(--ring); outline-offset: 3px; }
.ablage.ist-ziel .ablage__flaeche, .clips.ist-ziel { border-color: var(--tinte); background: var(--mulde); }
.ablage.wackelt .ablage__flaeche { animation: wackeln .4s ease; border-color: var(--tinte); }
@keyframes wackeln { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

.clips { display: grid; gap: 12px; padding: 16px; border-radius: 24px; background: var(--karte); box-shadow: var(--schatten); border: 2px solid transparent; }
.clips__kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.clips__zahl { display: grid; }
.clips__zahl strong { font: 600 26px/1.05 var(--schrift-eng); }
.clips__zahl span { font-size: 15px; color: var(--leise); }
.clips__raster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.clip { position: relative; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: var(--mulde); display: grid; place-items: center; color: var(--leise); }
.clip img { width: 100%; height: 100%; object-fit: cover; }
.clip__stand { position: absolute; left: 5px; right: 5px; bottom: 5px; height: 5px; border-radius: 99px; background: rgb(0 0 0 / .45); overflow: hidden; }
.clip__stand i { display: block; height: 100%; width: 0; background: var(--akzent); transition: width .3s ease; }
.clip__haken { position: absolute; right: 5px; bottom: 5px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--tinte); color: var(--grund); }
.clip__haken svg { width: 14px; height: 14px; stroke-width: 2.6; }
.clip.ist-fertig .clip__stand, .clip:not(.ist-fertig) .clip__haken { display: none; }
.clip.fehlt { border: 2px dashed var(--rand-stark); background: none; font-size: 13px; text-align: center; padding: 4px; }
.clip.fehlt .clip__stand, .clip.fehlt > svg, .clip:not(.fehlt) .clip__name { display: none; }
.clip__name { overflow-wrap: anywhere; line-height: 1.2; max-height: 100%; overflow: hidden; }
.clip__knopf { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; border-radius: inherit; } /* die ganze Kachel ist die Tippfläche */
.clip__knopf:focus-visible { outline-offset: -3px; }
.clipblatt { display: flex; align-items: center; gap: 12px; min-width: 0; overflow-wrap: anywhere; }
.clipblatt img { width: 60px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; flex: none; }
.clips__fuss { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }

/* Schnittstile als Karten mit laufender Vorschau */
.stile { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stil { position: relative; display: grid; gap: 3px; padding: 8px 8px 12px; border-radius: 20px; background: var(--karte); border: 2px solid transparent; box-shadow: var(--schatten); cursor: pointer; }
.stil input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.stil:has(input:checked) { border-color: var(--tinte); }
.stil:has(input:focus-visible) { outline: 3px solid var(--ring); outline-offset: 3px; }
.stil__bild { position: relative; display: block; border-radius: 14px; overflow: hidden; background: var(--buehne); aspect-ratio: 4 / 5; margin-bottom: 6px; }
.stil__bild canvas { width: 100%; height: 100%; }
.stil__bild .takt { position: absolute; left: 8px; right: 8px; bottom: 8px; height: 6px; gap: 2px; }
.stil__name { font: 600 22px/1.1 var(--schrift-eng); padding: 0 6px; }
.stil__kurz { font-size: 15px; line-height: 1.3; color: var(--leise); padding: 0 6px; }
.stil__haken { position: absolute; top: 16px; right: 16px; width: 28px; height: 28px; border-radius: 50%; display: none; place-items: center; background: var(--buehne-tinte); color: var(--buehne); }
.stil__haken svg { width: 17px; height: 17px; stroke-width: 2.6; }
.stil:has(input:checked) .stil__haken { display: grid; }

.felder { display: grid; gap: 18px; }
.beilage { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.beilage__teil { display: grid; gap: 1px; align-content: center; min-height: 56px; padding: 8px 14px; border-radius: 14px; background: var(--mulde); border: 0; text-align: left; text-decoration: none; min-width: 0; }
.beilage__teil span { font-size: 14px; color: var(--leise); }
.beilage__teil strong { font-weight: 600; font-size: 16px; line-height: 1.2; overflow-wrap: anywhere; }
.beilage__teil:only-child, .beilage__teil:has(+ [hidden]) { grid-column: 1 / -1; }
.feld > div:empty { display: none; }

/* „Schneiden" bleibt am Handy über der Bereichs-Leiste stehen */
.los { position: sticky; bottom: calc(var(--leiste-hoehe) + env(safe-area-inset-bottom)); z-index: 10; margin: 0 calc(var(--rand-seite) * -1); padding: 14px var(--rand-seite) 12px; display: grid; gap: 8px; background: linear-gradient(to bottom, transparent, var(--grund) 30%); }
.los__hinweis { text-align: center; font-size: 15px; font-weight: 500; }

/* ---------- 8 Ergebnis und Bühne ---------- */
.seite--video { padding: 0 0 32px; gap: 0; }
.buehne { background: var(--buehne); color: var(--buehne-tinte); --ring: #FFFFFF; padding: 16px var(--rand-seite) 6px; display: grid; gap: 4px; justify-items: center; }
.rahmen { position: relative; aspect-ratio: 9 / 16; height: min(54svh, 540px); border-radius: 18px; overflow: hidden; background: #000; }
.rahmen video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.buehne--allein { padding-bottom: 16px; }
.rahmen--leer { background: var(--buehne-stufe); display: grid; align-content: center; gap: 18px; padding: 22px; text-align: center; }
.rahmen__text { font: 600 27px/1.12 var(--schrift-eng); text-wrap: balance; }
.rahmen__zahl { font-size: 15px; color: var(--buehne-leise); font-variant-numeric: tabular-nums; }
.rahmen__symbol { justify-self: center; width: 40px; height: 40px; }
/* Fehler: kein leeres Hochformat, sondern ein kompakter Kasten mit dem Grund */
.rahmen--fehler { aspect-ratio: auto; height: auto; width: 100%; max-width: 440px; padding: 30px 22px; gap: 12px; }
.rahmen--fehler .rahmen__grund { font-size: 17px; line-height: 1.4; text-wrap: pretty; }
.arbeit--fehler .taten { order: 0; }
.rahmen__beschaeftigt p { text-wrap: balance; }
.rahmen__beschaeftigt { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 20px; text-align: center; background: rgb(0 0 0 / .72); font-weight: 500; }
.buehne .takt--film { width: min(100%, 420px); height: 44px; align-items: center; cursor: pointer; gap: 3px; }
.buehne .takt--film span { height: 10px; }

.ergebnis__seite { padding: 20px var(--rand-seite) 0; display: grid; gap: 26px; align-content: start; }
.ergebnis__kopf { display: grid; gap: 4px; }
.ergebnis__seite > div:empty, .clips > div:empty, form > div:empty, .tor__karte > div:empty { display: none; } /* leere Meldungsplätze nehmen keinen Abstand ein */
.taten { display: flex; flex-wrap: wrap; gap: 10px; }
.taten .knopf { flex: 1 1 200px; }
.taten { order: -1; } /* am Handy steht „Herunterladen" direkt unter dem Video, ohne Scrollen */
.taten .knopf--haupt { flex-basis: 100%; }
.taten__hinweis { flex-basis: 100%; font-size: 15px; color: var(--leise); }

.kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; }
.kachel { display: grid; gap: 6px; width: 100%; padding: 0; border: 0; background: none; text-align: left; align-content: start; }
.kachel__bild { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: var(--mulde); outline: 3px solid transparent; outline-offset: 2px; transition: outline-color .15s ease; }
.kachel__bild img { width: 100%; height: 100%; object-fit: cover; }
.kachel__nr { position: absolute; left: 6px; top: 6px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 99px; display: grid; place-items: center; background: rgb(0 0 0 / .68); color: #fff; font: 600 15px/1 var(--schrift-eng); }
.kachel__dauer { position: absolute; right: 6px; bottom: 6px; padding: 3px 6px; border-radius: 6px; background: rgb(0 0 0 / .68); color: #fff; font-size: 12px; font-weight: 500; }
.kachel__text { font-size: 14px; line-height: 1.25; color: var(--leise); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kachel.laeuft .kachel__bild { outline-color: var(--akzent); }
.kachel.laeuft .kachel__text { color: var(--tinte); }
.kacheln.gesperrt { opacity: .5; pointer-events: none; }

.alternativen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.alternative { display: grid; gap: 6px; padding: 0; border: 0; background: none; text-align: left; align-content: start; }
.alternative img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; background: var(--mulde); }
.alternative span { font-size: 14px; line-height: 1.25; }

.rueckmeldung { display: grid; gap: 12px; padding: 18px; border-radius: var(--radius); background: var(--karte); box-shadow: var(--schatten); }
.daumen { display: flex; gap: 10px; }
.daumen button { width: 56px; height: 56px; }

/* ---------- 9 Meine Videos ---------- */
.videoliste { display: grid; gap: 10px; }
.videozeile { position: relative; }
.videokarte { display: grid; grid-template-columns: 78px 1fr; gap: 14px; align-items: center; padding: 10px 62px 10px 10px; border-radius: 18px; background: var(--karte); box-shadow: var(--schatten); text-decoration: none; height: 100%; }
.videozeile__weg { position: absolute; right: 10px; top: 50%; margin-top: -22px; background: none; color: var(--leise); } /* Löschen steht neben der Karte, nicht in ihr */
.videokarte__bild { aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: var(--buehne); color: var(--buehne-leise); display: grid; place-items: center; }
.videokarte__bild img { width: 100%; height: 100%; object-fit: cover; }
.videokarte__text { display: grid; gap: 2px; min-width: 0; }
.videokarte__text strong { font: 600 22px/1.1 var(--schrift-eng); overflow-wrap: anywhere; }
.videokarte__text span { font-size: 15px; color: var(--leise); }
.zustand { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; color: var(--tinte) !important; margin-top: 4px; }
.zustand::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--leise); }
.zustand--fertig::before { background: var(--gut); }
.zustand--laeuft::before { background: var(--akzent); animation: pulsen 1.2s ease-in-out infinite; }
.zustand--fehler { color: var(--gefahr) !important; }
.zustand--fehler::before { background: var(--gefahr); border-radius: 2px; }
@keyframes pulsen { 50% { opacity: .35; } }

/* ---------- 10 Stil & Marke ---------- */
.stilseite { display: grid; gap: 22px; }
.stilseite .karte { display: grid; gap: 20px; }
.karte__kopf { display: grid; gap: 4px; }
.logo-vorschau { display: grid; grid-template-columns: 1fr 1fr; height: 96px; border-radius: 12px; overflow: hidden; border: 1px solid var(--rand); position: relative; }
.logo-vorschau div:first-child { background: #fff; } .logo-vorschau div:last-child { background: #131314; }
.logo-vorschau div { display: grid; place-items: center; padding: 12px; min-width: 0; }
.logo-vorschau img { max-height: 72px; max-width: 100%; object-fit: contain; }
.logo-vorschau__leer { position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; color: var(--leise); background: repeating-linear-gradient(135deg, var(--karte) 0 10px, var(--mulde) 10px 20px) !important; }
.farben { display: grid; gap: 10px; }
.farbe { display: flex; align-items: center; gap: 12px; }
.farbe input[type="color"] { width: 52px; height: 52px; padding: 0; border: 1.5px solid var(--rand-stark); border-radius: 14px; background: none; cursor: pointer; overflow: hidden; }
.farbe input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; } .farbe input[type="color"]::-webkit-color-swatch { border: 0; }
.farbe__name { flex: 1; display: grid; }
.farbe__name span { font-size: 15px; color: var(--leise); font-variant-numeric: tabular-nums; text-transform: uppercase; }
.schrift-probe { padding: 14px; border-radius: 12px; background: var(--mulde); font-size: 26px; line-height: 1.15; overflow-wrap: anywhere; }
.stuecke { display: grid; gap: 8px; }
.stueck { display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 14px; border-radius: 14px; background: var(--mulde); min-height: 56px; }
.stueck__text { flex: 1; min-width: 0; display: grid; }
.stueck__text strong { font-weight: 600; overflow-wrap: anywhere; }
.stueck__text span { font-size: 15px; color: var(--leise); }
.stueck .rundknopf { background: none; }
.stueck .rundknopf[aria-pressed="true"] { background: var(--tinte); }
.neues-stueck { display: grid; gap: 14px; padding-top: 16px; border-top: 1px solid var(--rand); }

/* Schnittstile: eine Zeile je Stil mit laufender Vorschau; der Editor als Blatt */
.stilliste { display: grid; gap: 10px; }
.stilzeile { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 10px 8px 8px; border-radius: 16px; background: var(--mulde); }
.stilzeile__bild { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--buehne); }
.stilzeile__bild canvas { width: 100%; height: 100%; }
.stilzeile__bild .takt { position: absolute; left: 5px; right: 5px; bottom: 5px; height: 4px; gap: 1px; }
.stilzeile__bild .takt span { min-width: 1px; }
.stilzeile__text { display: grid; gap: 1px; min-width: 0; }
.stilzeile__text strong { font: 600 21px/1.1 var(--schrift-eng); overflow-wrap: anywhere; }
.stilzeile__text span { font-size: 15px; line-height: 1.3; color: var(--leise); }
.stilzeile__text .stilzeile__herkunft { font-size: 13px; }
.stilzeile .knopf--still { background: var(--karte); }
.editor__vorschau { position: sticky; top: 0; z-index: 2; display: grid; gap: 6px; margin: 0 calc(var(--rand-seite) * -1); padding: 4px var(--rand-seite) 10px; background: var(--karte); border-bottom: 1px solid var(--rand); }
.editor__bild { position: relative; height: 128px; border-radius: 14px; overflow: hidden; background: var(--buehne); }
.editor__bild canvas { width: 100%; height: 100%; }
.editor__bild .takt { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 6px; gap: 2px; }
.editor__zahlen { font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.editor__fuss { display: grid; gap: 4px; }
.editor__neben { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; }
.editor__stand { margin-left: auto; font-size: 14px; color: var(--leise); }
/* Eigener Anbieter */
.hinterlegt { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--mulde); overflow-wrap: anywhere; }
.hinterlegt svg { color: var(--gut); stroke-width: 2.4; }
.hinterlegt__taten { display: flex; flex-wrap: wrap; gap: 0 16px; }

/* ---------- 11 Anmelden, Einladung, Einrichten ---------- */
.tor { min-height: 100svh; display: grid; align-content: center; justify-items: center; padding: 24px var(--rand-seite); }
.tor__karte { width: 100%; max-width: 440px; display: grid; gap: 22px; }
.tor--oben { align-content: start; padding-top: max(24px, 8svh); } /* mehrere Schritte: der Kopf soll nicht springen */
.tor__karte form { display: grid; gap: 18px; }
.tor .wortmarke { justify-self: start; }
.regeln { display: grid; gap: 6px; font-size: 16px; }
.regeln li { display: flex; gap: 8px; align-items: center; color: var(--leise); }
.regeln li svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; border: 1.5px solid var(--rand-stark); stroke-width: 3; color: transparent; }
.regeln li.erfuellt { color: var(--tinte); }
.regeln li.erfuellt svg { background: var(--gut); border-color: var(--gut); color: var(--karte); }

.einrichten__schritt { font: 600 17px/1 var(--schrift-eng); letter-spacing: .04em; color: var(--leise); display: flex; justify-content: space-between; align-items: center; }
.einrichten__probe { background: var(--buehne); color: var(--buehne-tinte); border-radius: 18px; padding: 18px; display: grid; gap: 14px; justify-items: center; min-height: 150px; align-content: center; text-align: center; }
.einrichten__probe img { max-height: 64px; max-width: 70%; object-fit: contain; }
.einrichten__probe .takt { width: 100%; max-width: 240px; height: 12px; }
.einrichten__probe .takt span { background: var(--f, rgb(255 255 255 / .26)); }
.einrichten__probe p { font-size: 24px; line-height: 1.1; }
.einrichten__knoepfe { display: grid; gap: 6px; justify-items: center; }

/* ---------- 11a Jemand spricht: Art des Videos, Aussehen der Untertitel, Liste der Sätze ---------- */
/* Die zwei Karten ganz oben auf der Startseite: welche Art von Video es wird */
.typen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.typ { position: relative; display: grid; gap: 8px; align-content: start; padding: 8px 8px 14px; border-radius: 20px; background: var(--karte); border: 2px solid transparent; box-shadow: var(--schatten); cursor: pointer; }
.typ input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.typ:has(input:checked) { border-color: var(--tinte); }
.typ:has(input:focus-visible) { outline: 3px solid var(--ring); outline-offset: 3px; }
.typ:has(input:checked) .stil__haken { display: grid; }
.typ__bild { display: block; border-radius: 14px; overflow: hidden; background: var(--buehne); aspect-ratio: 4 / 3; }
.typ__text { display: grid; gap: 3px; padding: 0 6px; }
.typ__name { font: 600 23px/1.08 var(--schrift-eng); text-wrap: balance; }
.typ__kurz { font-size: 15px; line-height: 1.3; color: var(--leise); }
/* die gezeichneten Bilder: Flächen statt Linien (sonst gilt die Strichzeichnung der Symbole) */
svg.typbild { width: 100%; height: 100%; stroke: none; display: block; }
.typbild__dran { fill: var(--akzent); }
.typbild__marke { fill: var(--marke, #6C4BD8); }
.typbild__auf { fill: var(--marke-auf, #ffffff); }
.neu__art { display: grid; gap: 24px; }

/* Aussehen der Untertitel: zwei Karten mit kleiner Vorschau */
.utwahl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.utkarte { position: relative; display: grid; gap: 3px; align-content: start; padding: 8px 8px 12px; border-radius: 20px; background: var(--karte); border: 2px solid transparent; box-shadow: var(--schatten); cursor: pointer; }
.utkarte input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.utkarte:has(input:checked) { border-color: var(--tinte); }
.utkarte:has(input:focus-visible) { outline: 3px solid var(--ring); outline-offset: 3px; }
.utkarte:has(input:checked) .stil__haken { display: grid; }
.utkarte__name { font: 600 22px/1.1 var(--schrift-eng); padding: 0 6px; }
.utkarte__kurz { font-size: 15px; line-height: 1.3; color: var(--leise); padding: 0 6px; }
dialog .utkarte { background: var(--mulde); box-shadow: none; }
/* Vorschau: eine angedeutete Person auf dunklem Grund, darunter die Zeile, wie sie im Video steht */
.utprobe { position: relative; display: block; height: 104px; border-radius: 14px; overflow: hidden; background: linear-gradient(#4a4f5c, #2c2f38); margin-bottom: 6px; }
.utprobe__kopf { position: absolute; left: 50%; top: 14px; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; background: rgb(255 255 255 / .28); }
.utprobe__schulter { position: absolute; left: 50%; top: 50px; width: 74px; height: 80px; margin-left: -37px; border-radius: 34px 34px 0 0; background: rgb(255 255 255 / .2); }
.utprobe__zeile { position: absolute; left: 4px; right: 4px; bottom: 10px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1px 4px; color: #fff; font: 600 13px/1.25 var(--schrift); text-shadow: 0 1px 3px rgb(0 0 0 / .7); text-align: center; }
.utprobe__zeile span { padding: 1px 3px; border-radius: 4px; white-space: nowrap; }
.utprobe--gross .utprobe__zeile { text-transform: uppercase; font: 600 15px/1.2 var(--schrift-eng); letter-spacing: .02em; }
/* Das gerade gesprochene Wort ist in der Hauptfarbe der Marke hinterlegt und wandert mit */
.utprobe--hervor .utprobe__zeile span { animation: ut-wort 2.7s steps(1) infinite; }
.utprobe--hervor .utprobe__zeile span:nth-child(2) { animation-delay: .9s; }
.utprobe--hervor .utprobe__zeile span:nth-child(3) { animation-delay: 1.8s; }
@keyframes ut-wort { 0% { background: var(--marke, #6C4BD8); color: var(--marke-auf, #fff); text-shadow: none; } 33.4%, 100% { background: none; color: #fff; } }

/* Die Liste der Sätze: links der Satz (Tipp springt im Video dorthin), rechts der Schalter */
.saetze { display: grid; gap: 8px; }
.satz { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; border-radius: 14px; background: var(--karte); box-shadow: var(--schatten); border: 2px solid transparent; }
.satz__text { display: grid; gap: 3px; align-content: center; min-height: 56px; padding: 10px 4px 10px 14px; border: 0; background: none; text-align: left; border-radius: 12px 0 0 12px; }
.satz__wort { font-size: 17px; line-height: 1.35; overflow-wrap: anywhere; }
.satz__zusatz { font-size: 14px; line-height: 1.3; color: var(--leise); }
.satz.laeuft { border-color: var(--akzent); }
/* herausgenommen: bleibt sichtbar, ausgegraut, mit dem Grund darunter */
.satz.ist-raus { background: none; box-shadow: none; border: 1.5px dashed var(--rand-stark); }
.satz.ist-raus .satz__wort { color: var(--leise); }
.schalter { display: grid; place-items: center; min-width: 68px; min-height: 56px; padding: 0 12px 0 8px; border: 0; background: none; border-radius: 0 12px 12px 0; }
.schalter i { position: relative; display: block; width: 46px; height: 28px; border-radius: 99px; background: var(--rand-stark); transition: background-color .15s ease; }
.schalter i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--karte); transition: transform .15s ease; }
.schalter[aria-checked="true"] i { background: var(--tinte); }
.schalter[aria-checked="true"] i::after { transform: translateX(18px); }
.satz.ist-raus .schalter i::after { background: var(--grund); }
/* Am Handy bleibt das Video beim Blättern durch die Sätze oben stehen, etwas kleiner: Sonst sähe sie nicht,
   wohin ein Tipp auf einen Satz springt. */
@media (max-width: 899px) {
  .ergebnis--sprache .buehne { position: sticky; top: 0; z-index: 12; padding-top: 10px; padding-bottom: 0; }
  .ergebnis--sprache .rahmen { height: min(38svh, 380px); border-radius: 14px; }
  .ergebnis--sprache .takt--film { height: 36px; }
  /* die beiden Nebenknöpfe teilen sich eine Zeile: So steht die Liste der Sätze näher am Video */
  .ergebnis--sprache .taten .knopf:not(.knopf--haupt) { flex: 1 1 140px; padding: 0 8px; font-size: 16px; gap: 6px; }
}

/* ---------- 12 Breite Bildschirme ---------- */
@media (hover: hover) and (pointer: fine) {
  .ablage__ziehen { display: inline; }
  .knopf:hover { background: var(--mulde); }
  .knopf--haupt:hover { background: var(--akzent); filter: brightness(1.06); }
  .knopf--still:hover { filter: brightness(.96); }
  .kachel:hover .kachel__bild, .alternative:hover img { outline: 3px solid var(--rand-stark); outline-offset: 2px; }
  .videokarte:hover, .stil:hover, .typ:hover, .utkarte:hover { transform: translateY(-1px); }
  .videokarte, .stil, .typ, .utkarte { transition: transform .15s ease; }
  .satz__text:hover .satz__wort { text-decoration: underline; text-underline-offset: 3px; }
}

@media (min-width: 700px) {
  dialog.blatt { margin: auto; max-width: 560px; border-radius: 22px; }
  .blatt__flaeche { padding: 20px 22px 24px; }
  .clips__raster { grid-template-columns: repeat(6, 1fr); }
  .videoliste { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  :root { --rand-seite: 28px; }
  body.mit-leiste { padding-bottom: 0; }
  html:has(body.mit-leiste) { scroll-padding-bottom: 0; scroll-padding-top: 84px; } /* hier steht der Kopf fest oben */
  h1, .titel { font-size: 46px; }
  h2 { font-size: 26px; }
  .seite { padding-top: 20px; padding-bottom: 56px; gap: 30px; }
  .kopf { min-height: 68px; position: sticky; top: 0; z-index: 20; background: var(--grund); max-width: none; padding-inline: max(var(--rand-seite), calc((100vw - 1120px) / 2 + var(--rand-seite))); border-bottom: 1px solid var(--rand); }
  .wortmarke { font-size: 28px; }
  .reiter { position: static; display: flex; gap: 6px; height: auto; padding: 0; background: none; border: 0; }
  .reiter a { grid-auto-flow: column; gap: 8px; padding: 0 16px; min-height: 44px; border-radius: 12px; font-size: 16px; }
  .reiter a svg { width: 21px; height: 21px; padding: 0; }
  .reiter a[aria-current="page"] { background: var(--mulde); }
  .reiter a:focus-visible { outline-offset: 2px; }
  .meldungen { bottom: 24px; }
  body:has(.los) .meldungen { bottom: 108px; }

  /* Art des Videos: zwei breite Karten, Bild links, Text rechts */
  .typen { gap: 20px; }
  .typ { grid-template-columns: 200px minmax(0, 1fr); align-items: center; gap: 18px; padding: 10px 52px 10px 10px; }
  .typ__name { font-size: 30px; }
  .typ__kurz { font-size: 16px; }
  .utprobe { height: 120px; }
  .neu { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .neu__clips { position: sticky; top: 92px; }
  .ablage__flaeche { min-height: 460px; }
  .ablage__flaeche strong { font-size: 38px; }
  .clips__raster { grid-template-columns: repeat(5, 1fr); }
  .stil__bild { aspect-ratio: 5 / 4; }
  .los { bottom: 0; margin: 0; padding: 16px 0 18px; }

  .seite--video { padding: 28px var(--rand-seite) 56px; }
  .ergebnis { display: grid; grid-template-columns: minmax(340px, 420px) minmax(0, 1fr); gap: 40px; align-items: start; }
  .buehne { border-radius: 26px; padding: 22px 22px 12px; position: sticky; top: 92px; }
  .rahmen { height: min(calc(100svh - 240px), 620px); }
  .ergebnis__seite { padding: 6px 0 0; }
  .kacheln { grid-template-columns: repeat(4, 1fr); gap: 18px 14px; }
  .taten { order: 0; }
  .taten .knopf, .taten .knopf--haupt { flex: 1 1 180px; min-height: 58px; }
  /* Fortschritt, Pause und Fehler: Bühne links, Text und Knöpfe daneben. Untereinander stünden „Abbrechen" und
     „Clips noch einmal auswählen" am Rechner unter dem Bildrand. */
  .buehne--allein { position: static; padding-bottom: 22px; }
  .arbeit { display: grid; grid-template-columns: minmax(340px, 420px) minmax(0, 1fr); gap: 40px; align-items: center; max-width: 940px; margin: 0 auto; }
  .arbeit .ergebnis__seite { padding: 0; max-width: 460px; }
  .arbeit .taten .knopf--haupt { flex-basis: 100%; } /* in der schmalen Spalte bekommt der Hauptknopf seine eigene Zeile */
  .rahmen--fehler { height: auto; } /* sonst gilt hier die Höhe des Videorahmens, und der Kasten wird ein leeres Hochformat */

  .videoliste { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .stilseite { grid-template-columns: 1.15fr 1fr; align-items: start; gap: 24px; }
  .stilseite__stile { grid-column: 1 / -1; }
  .stilliste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stilseite__marke { grid-row: span 3; }
  .editor__vorschau { margin: 0 -22px; padding-inline: 22px; }
  .editor__bild { height: 150px; }
  .stilseite .karte { padding: 26px; }
}

/* ---------- 13 Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .kreisel { animation: none !important; border-right-color: currentColor; opacity: .5; }
  /* Untertitel-Vorschau: das hervorgehobene Wort steht still auf dem zweiten Wort */
  .utprobe--hervor .utprobe__zeile span { animation: none !important; }
  .utprobe--hervor .utprobe__zeile span:nth-child(2) { background: var(--marke, #6C4BD8); color: var(--marke-auf, #fff); text-shadow: none; }
}
