/* SkipEdit – dunkel, ruhig, ein Akzent. Farben: --akzent und --bg kommen aus app/config.py. */
:root {
  --flaeche: #131316;
  --flaeche-2: #1A1A1F;
  --linie: #26262C;
  --text: #F4F4F5;
  --leise: #8B8B94;
  --leiser: #5C5C66;
  --rot: #FF5C5C;
  --radius: 18px;
  --radius-klein: 12px;
  --schrift: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  --zahlen: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--schrift);
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
body { min-height: 100dvh; }   /* Safe-Area unten nur noch in .ansicht (20.10.2026: stand doppelt im Seitenfluss) */
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  padding: calc(env(safe-area-inset-top) + 14px) 20px 14px; background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid #ffffff0a; }
.admin-knopf { margin-left: auto; padding: 7px 14px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--akzent) 55%, transparent);
  color: var(--akzent); font-weight: 700; font-size: 14px; text-decoration: none; }
.admin-knopf:active { background: color-mix(in srgb, var(--akzent) 14%, transparent); }
.marke { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; font-size: 18px; }
.marke-zeichen { width: 22px; height: 22px; border-radius: 7px; background: var(--akzent); position: relative; }
.marke-zeichen::after { content: ""; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 2.5px;
  background: var(--bg); transform: translateX(-50%) rotate(18deg); border-radius: 2px; }
.nav { display: flex; gap: 4px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 999px; padding: 3px; }
.nav a { padding: 7px 14px; border-radius: 999px; font-size: 14px; color: var(--leise); font-weight: 500; }
.nav a.aktiv { background: var(--flaeche-2); color: var(--text); }

.ansicht { max-width: 560px; margin: 0 auto; padding: 22px 20px 120px; }
h1 { font-size: 30px; line-height: 1.12; letter-spacing: -0.035em; margin: 6px 0 8px; font-weight: 700; }
h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--leise); font-weight: 600; margin: 34px 0 12px; }
.unter { color: var(--leise); margin: 0 0 22px; font-size: 16px; line-height: 1.45; }
.akzent { color: var(--akzent); }

/* Kontingent */
.kontingent { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--leise);
  margin: 0 0 18px; }
.kontingent .balken { flex: 1; height: 4px; border-radius: 4px; background: var(--linie); overflow: hidden; }
.kontingent .balken i { display: block; height: 100%; background: var(--leise); }

/* Upload-Feld */
.ablage { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px;
  min-height: 300px; border-radius: 24px; border: 1.5px dashed #3A3A42; background:
  radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--akzent) 9%, transparent), transparent 60%), var(--flaeche);
  padding: 32px 24px; transition: border-color .2s, transform .2s; cursor: pointer; }
.ablage:active { transform: scale(.99); }
.ablage.ueber { border-color: var(--akzent); }
.ablage .symbol { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--akzent); color: #000; }
.ablage strong { font-size: 19px; letter-spacing: -0.02em; }
.ablage span { color: var(--leise); font-size: 14px; }

/* Karten & Steuerelemente */
.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 16px; }
.datei { display: flex; align-items: center; gap: 14px; }
.datei .symbol { width: 44px; height: 44px; border-radius: 12px; background: var(--flaeche-2); display: grid; place-items: center; color: var(--akzent); flex: none; }
.datei .name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.datei .meta { color: var(--leise); font-size: 13px; margin-top: 2px; }
.datei .weg { margin-left: auto; background: none; border: 0; color: var(--leise); padding: 8px; }

.tempo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tempo button { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 14px; padding: 13px 8px; text-align: center; }
.tempo button b { display: block; font-size: 15px; }
.tempo button small { display: block; color: var(--leise); font-size: 11.5px; margin-top: 3px; line-height: 1.3; }
.tempo button[aria-pressed="true"] { border-color: var(--akzent); background: color-mix(in srgb, var(--akzent) 8%, var(--flaeche)); }
.tempo button[aria-pressed="true"] b { color: var(--akzent); }

.knopf { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; border: 0; border-radius: 16px;
  padding: 17px 20px; font-size: 16.5px; font-weight: 650; letter-spacing: -0.01em; background: var(--akzent); color: #0A0A0C; }
.knopf:disabled { opacity: .45; }
.knopf.zweit { background: var(--flaeche-2); color: var(--text); border: 1px solid var(--linie); }
.knopf-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Fortschritt */
.schritte { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.schritte li { display: flex; align-items: center; gap: 14px; padding: 14px 4px; color: var(--leiser); font-weight: 500; }
.schritte li .punkt { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--linie); display: grid; place-items: center; flex: none; font-size: 13px; }
.schritte li.aktiv { color: var(--text); }
.schritte li.aktiv .punkt { border-color: var(--akzent); }
.schritte li.aktiv .punkt::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--akzent); animation: puls 1.2s ease-in-out infinite; }
.schritte li.fertig { color: var(--leise); }
.schritte li.fertig .punkt { background: var(--akzent); border-color: var(--akzent); color: #000; }
.schritte li .prozent { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--leise); font-size: 14px; }
@keyframes puls { 50% { transform: scale(.55); opacity: .6; } }
.leiste { height: 6px; border-radius: 6px; background: var(--linie); overflow: hidden; margin: 18px 0 8px; }
.leiste i { display: block; height: 100%; width: 0; background: var(--akzent); border-radius: 6px; transition: width .4s ease; }
.hinweis { color: var(--leise); font-size: 13.5px; line-height: 1.5; }

/* Ergebnis */
.ersparnis { text-align: center; padding: 8px 0 22px; }
.ersparnis .zeiten { font-family: var(--zahlen); font-size: 44px; font-weight: 700; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.ersparnis .zeiten .pfeil { color: var(--leiser); font-weight: 400; margin: 0 8px; }
.ersparnis .zeiten .vorher { color: var(--leise); }
.pille { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; font-size: 14px; font-weight: 650;
  background: color-mix(in srgb, var(--akzent) 14%, transparent); color: var(--akzent); margin-top: 10px; }
.spieler { position: relative; width: 100%; max-width: 360px; margin: 0 auto 18px; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden;
  background: #000; border: 1px solid var(--linie); }
.spieler video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
/* Eigener Player mit breiter Zeitleiste (Wisam 24.11.2026): Die iOS-Leiste im kleinen Player war zu schmal zum genauen Ziehen */
.spieler .sp-knopf { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; border: 0;
  background: rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: grid; place-items: center; padding: 0;
  opacity: 0; pointer-events: none; transition: opacity .2s; }
.spieler .sp-knopf svg { width: 28px; height: 28px; }
.spieler.steht .sp-knopf { opacity: 1; pointer-events: auto; }
.spieler.zieht .sp-knopf { opacity: 0; pointer-events: none; }
.spieler .sp-voll { position: absolute; right: 6px; top: 6px; width: 44px; height: 44px; border: 0; background: none; padding: 0;
  display: grid; place-items: center; }
.spieler .sp-voll svg { width: 24px; height: 24px; padding: 5px; box-sizing: content-box; border-radius: 10px; background: rgba(0, 0, 0, .4); }
.zeitleiste { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 420px; margin: -6px auto 12px; min-height: 44px;
  touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; cursor: pointer; outline: none; }
.zeitleiste .zl-zeit { font-size: 13px; font-variant-numeric: tabular-nums; color: var(--leise); min-width: 34px; }
.zeitleiste .zl-ende { text-align: right; }
.zeitleiste .zl-spur { position: relative; flex: 1; height: 4px; border-radius: 2px; background: var(--linie); }
.zeitleiste .zl-voll { position: absolute; inset: 0; border-radius: 2px; background: var(--text); transform-origin: left center; transform: scaleX(0); }
.zeitleiste .zl-griff { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--text);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .35); transition: transform .12s; }
.zeitleiste.zieht .zl-griff { transform: scale(1.5); }
.zeitleiste.zieht .zl-jetzt { color: var(--text); }
.zeitleiste:focus-visible .zl-spur { outline: 2px solid var(--akzent); outline-offset: 6px; }

.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.chip { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 14px; padding: 12px 14px; }
.chip b { font-family: var(--zahlen); font-size: 22px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.chip span { display: block; color: var(--leise); font-size: 13px; margin-top: 2px; }

/* Prüfen-Liste */
.pruefen { display: grid; gap: 10px; }
.stelle { display: grid; grid-template-columns: 92px 1fr; gap: 14px; background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: var(--radius); padding: 12px; }
.stelle.raus { opacity: .62; }
.stelle .clip { position: relative; width: 92px; aspect-ratio: 9/16; border-radius: 12px; overflow: hidden; background: #000; }
.stelle .clip video { width: 100%; height: 100%; object-fit: cover; }
.stelle .clip button { position: absolute; inset: 0; border: 0; background: linear-gradient(180deg, transparent 50%, #0009); display: grid; place-items: center; }
.stelle .clip button svg { width: 34px; height: 34px; filter: drop-shadow(0 2px 6px #0008); }
.stelle .kopfzeile { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.marke-typ { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 4px 8px; border-radius: 6px;
  background: var(--flaeche-2); color: var(--leise); }
.stelle .zeit { color: var(--leiser); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.stelle .zitat { margin: 8px 0 4px; font-size: 14.5px; line-height: 1.4; }
.stelle .grund { color: var(--leise); font-size: 13px; line-height: 1.45; margin: 0 0 10px; }
.wahl { display: inline-grid; grid-template-columns: 1fr 1fr; background: var(--bg); border: 1px solid var(--linie); border-radius: 11px; padding: 3px; }
.wahl button { border: 0; background: none; padding: 7px 14px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--leise); }
.wahl button[aria-pressed="true"] { background: var(--flaeche-2); color: var(--text); }
.wahl button.raus[aria-pressed="true"] { background: color-mix(in srgb, var(--rot) 18%, transparent); color: #FF8A8A; }

.leiste-unten { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 12px 20px calc(env(safe-area-inset-bottom) + 12px);
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--linie); transform: translateY(110%); transition: transform .25s ease; }
.leiste-unten.sichtbar { transform: none; }
/* Weggeschoben lag die Leiste genau hinter der halbdurchsichtigen Tab-Leiste und schien durch („Neu rendern · 0 Änderungen“,
   Test „dummer Nutzer“ 26.10.2026): versteckt = unsichtbar, erst nach dem Wegschieben */
.leiste-unten:not(.sichtbar) { visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
.leiste-unten .innen { max-width: 560px; margin: 0 auto; }

.kontrollen { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--leiser); font-size: 12.5px; margin-top: 26px; }
.kontrollen span::before { content: "✓ "; color: var(--akzent); }
.kontrollen span.warn::before { content: "! "; color: var(--rot); }

/* Verlauf */
.liste { display: grid; gap: 10px; }
.eintrag { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 14px; background: var(--flaeche);
  border: 1px solid var(--linie); border-radius: 16px; padding: 10px 14px 10px 10px; }
.eintrag .bild { width: 54px; aspect-ratio: 9/16; border-radius: 9px; background: var(--flaeche-2) center/cover; }
img.bild { display: block; object-fit: cover; }
.v-gruppe { display: contents; }
.eintrag .titel { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eintrag .meta { color: var(--leise); font-size: 13px; margin-top: 3px; font-variant-numeric: tabular-nums; }
.status { font-size: 12px; font-weight: 650; padding: 5px 9px; border-radius: 999px; white-space: nowrap; }
.status.fertig { background: color-mix(in srgb, var(--akzent) 14%, transparent); color: var(--akzent); }
.status.laeuft, .status.wartet { background: var(--flaeche-2); color: var(--text); }
.status.fehler { background: color-mix(in srgb, var(--rot) 16%, transparent); color: #FF8A8A; }
.status.abgelaufen { background: var(--flaeche-2); color: var(--leiser); }
.leer { text-align: center; color: var(--leise); padding: 60px 20px; }

.fehlerbox { border-color: color-mix(in srgb, var(--rot) 40%, var(--linie)); }
.meldung { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 90px); transform: translate(-50%, 20px); opacity: 0;
  background: var(--flaeche-2); border: 1px solid var(--linie); padding: 11px 16px; border-radius: 12px; font-size: 14px; transition: all .25s; pointer-events: none; z-index: 30; }
.meldung.sichtbar { opacity: 1; transform: translate(-50%, 0); }
.abstand { height: 14px; }
@media (min-width: 700px) { .ansicht { padding-top: 40px; } h1 { font-size: 36px; } }

/* Tempo: Empfehlung vorne, Alternativen hinter "Tempo anpassen" */
.tempo-liste { display: grid; gap: 8px; }
.tempo-wahl { text-align: left; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 16px; padding: 14px 16px; }
.tempo-wahl[aria-pressed="true"] { border-color: var(--akzent); background: color-mix(in srgb, var(--akzent) 7%, var(--flaeche)); }
.tempo-kopf { display: flex; align-items: center; gap: 8px; }
.tempo-wahl b { font-size: 16px; }
.tempo-wahl[aria-pressed="true"] b { color: var(--akzent); }
.tempo-wahl small { display: block; color: var(--leise); font-size: 13.5px; margin-top: 4px; line-height: 1.4; }
.empfohlen { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px;
  background: var(--akzent); color: #0A0A0C; }
.link { background: none; border: 0; padding: 10px 2px; color: var(--leise); font-size: 14px; text-decoration: underline;
  text-underline-offset: 3px; text-decoration-color: var(--leiser); }

/* Speichern */
.knopf.gross { padding: 19px 20px; font-size: 17.5px; }
.knopf.gross svg { flex: none; }
.nebenlinks { text-align: center; margin-top: 12px; }
.nebenlinks a { color: var(--leise); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--leiser); }
.hinweis.klein { text-align: center; font-size: 12.5px; margin-top: 10px; }

/* Vorbereitung (iCloud) */
.vorbereitung { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 36px 20px; }
.dreher { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--linie); border-top-color: var(--akzent); animation: drehen .9s linear infinite; }
@keyframes drehen { to { transform: rotate(360deg); } }

/* Ladeanzeige: Filmstreifen läuft durch die Schnitt-Klinge. Rechts roh und gedimmt, links geschnitten. */
.arbeit { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 8px; }
.film { position: relative; width: 100%; max-width: 420px; height: 120px; overflow: hidden; margin: 6px 0 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.film .band { position: absolute; top: 18px; left: 0; display: flex; gap: 10px; animation: film 3.2s linear infinite; }
.film .band i { flex: none; width: 46px; height: 82px; border-radius: 10px; background: var(--flaeche-2);
  border: 1px solid var(--linie); position: relative; }
.film .band i::before, .film .band i::after { content: ""; position: absolute; left: 7px; right: 7px; height: 4px; border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--linie) 0 5px, transparent 5px 9px); }
.film .band i::before { top: 5px; } .film .band i::after { bottom: 5px; }
.film .band i:nth-child(3n) { height: 70px; margin-top: 6px; opacity: .55; }          /* verworfene Takes: kleiner, blasser */
@keyframes film { to { transform: translateX(-224px); } }
.film::after { content: ""; position: absolute; inset: 0; left: 50%;                       /* rechts der Klinge: roh, gedimmt */
  background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 20%, transparent), color-mix(in srgb, var(--bg) 70%, transparent)); }
.film::before { content: ""; position: absolute; inset: 0; right: 50%; z-index: 1; mix-blend-mode: screen;  /* links: geschnitten, klar */
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--akzent) 9%, transparent)); }
.klinge { position: absolute; left: 50%; top: 4px; bottom: 4px; width: 3px; margin-left: -1.5px; border-radius: 3px; z-index: 2;
  background: var(--akzent); box-shadow: 0 0 14px 2px color-mix(in srgb, var(--akzent) 70%, transparent);
  animation: klinge 1.6s ease-in-out infinite; transform: rotate(10deg); }
@keyframes klinge { 50% { box-shadow: 0 0 26px 6px color-mix(in srgb, var(--akzent) 45%, transparent); opacity: .85; } }
.arbeit-prozent { font-family: var(--zahlen); font-size: 64px; font-weight: 700; letter-spacing: -0.05em; line-height: 1.05;
  font-variant-numeric: tabular-nums; margin-top: 6px; }
.arbeit-prozent small { font-size: 26px; color: var(--leise); font-weight: 600; margin-left: 2px; }
.leiste.gross { width: 100%; height: 8px; margin: 14px 0 8px; }
.leiste.gross i { background: linear-gradient(90deg, color-mix(in srgb, var(--akzent) 70%, #fff 0%), var(--akzent));
  box-shadow: 0 0 12px color-mix(in srgb, var(--akzent) 45%, transparent); position: relative; overflow: hidden; }
.leiste.gross i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, #ffffff55, transparent);
  animation: glanz 1.8s ease-in-out infinite; }
@keyframes glanz { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.restzeit { color: var(--leise); font-size: 14px; font-variant-numeric: tabular-nums; }
.pfad { list-style: none; padding: 0; margin: 26px 0 14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; }
.pfad li { display: flex; flex-direction: column; align-items: center; gap: 7px; color: var(--leiser); font-size: 12.5px; font-weight: 600; }
.pfad li .punkt { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--linie); display: grid; place-items: center; font-size: 12px; }
.pfad li.aktiv { color: var(--text); }
.pfad li.aktiv .punkt { border-color: var(--akzent); }
.pfad li.aktiv .punkt::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--akzent); animation: puls 1.2s ease-in-out infinite; }
.pfad li.fertig { color: var(--leise); }
.pfad li.fertig .punkt { background: var(--akzent); border-color: var(--akzent); color: #000; }
.pfad-wert { color: var(--leise); font-weight: 500; font-variant-numeric: tabular-nums; margin-top: -3px; }
.hinweis.mitte { text-align: center; max-width: 380px; min-height: 42px; }

/* Ergebnis: Feinschliff, Details */
.kontrollen .laeuft::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--akzent);
  margin-right: 7px; vertical-align: 1px; animation: puls 1.2s ease-in-out infinite; }
.details { margin-top: 18px; color: var(--leise); font-size: 13.5px; }
.details summary { cursor: pointer; color: var(--leiser); font-size: 13px; }
.details table { width: 100%; border-collapse: collapse; margin-top: 10px; font-variant-numeric: tabular-nums; }
.details td { padding: 7px 0; border-bottom: 1px solid var(--linie); }
.details td:last-child { text-align: right; color: var(--text); }
.details a, .leise-link { color: var(--leise); text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .film .band, .klinge, .leiste.gross i::after { animation: none; } }

/* Flüssiger Fortschritt: Breite über transform (GPU), Schrittwechsel mit kleiner Animation */
.leiste.gross i { width: 100%; transform-origin: left center; transform: scaleX(0); transition: none; will-change: transform; }
.arbeit-prozent { transition: color .3s; }
.pfad li .punkt { transition: background-color .35s ease, border-color .35s ease, transform .35s ease; }
.pfad li, .pfad-name { transition: color .35s ease; }
.pfad li.wechsel .punkt { animation: wechsel .55s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes wechsel { 0% { transform: scale(.6); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
.pfad li.fertig.wechsel .punkt { box-shadow: 0 0 0 0 color-mix(in srgb, var(--akzent) 60%, transparent); animation: wechsel .55s cubic-bezier(.2, 1.4, .4, 1), ring .7s ease-out; }
@keyframes ring { to { box-shadow: 0 0 0 10px transparent; } }
.hinweis.mitte { transition: opacity .38s ease, transform .38s ease; }
.hinweis.mitte.blende { opacity: 0; transform: translateY(3px); }

/* SkipEdit: Logo im Kopf, Skip-Symbol in der Ladeanimation */
.marke .logo { height: 26px; width: auto; display: block; }
.marke-zeichen { display: none; }
.klinge { display: none; }
.skip { position: absolute; left: 50%; top: 50%; z-index: 2; height: 72px; width: auto; transform: translate(-50%, -50%);
  overflow: visible; filter: drop-shadow(0 2px 8px #0009); }
.skip .skip-pfeil { stroke: #fff; stroke-linecap: round; animation: skippen 1.4s cubic-bezier(.5, 0, .2, 1) infinite; }
.skip .schenkel { transform-box: view-box; transform-origin: var(--spitze); }
.skip .schenkel.oben { animation: schere-oben 1.4s ease-in-out infinite; }
.skip .schenkel.unten { animation: schere-unten 1.4s ease-in-out infinite; }
.skip .skip-balken { fill: var(--akzent); }
/* Leuchten: weicher Schein, der dauerhaft atmet, und ein kurzer Blitz beim Schnitt */
.skip .skip-schein { fill: var(--akzent); opacity: .7; animation: schein 2.8s ease-in-out infinite; }
/* Puls: nur dezentes Aufglühen über dem Grundleuchten (Nutzer 10.10.2026: vorher zu stark, "Aufblitzen").
   Ein Drittel von Radius (Filter in app.js) und Deckkraft, 2,8 s weich; Spitze liegt auf einem Scherenschnitt. */
.skip .skip-blitz { fill: var(--akzent); opacity: 0; transform-box: fill-box; transform-origin: center;
  animation: blitz 2.8s ease-in-out -0.62s infinite; }
/* Anlauf zum Balken, beim Auftreffen klappt die Schere zu (Schnitt), dann zurück und wieder auf */
@keyframes skippen { 0%, 100% { transform: translateX(-16px); opacity: .45; } 50%, 60% { transform: translateX(0); opacity: 1; } }
@keyframes schere-oben { 0%, 32%, 82%, 100% { transform: rotate(0); } 52%, 60% { transform: rotate(-27deg); } }
@keyframes schere-unten { 0%, 32%, 82%, 100% { transform: rotate(0); } 52%, 60% { transform: rotate(27deg); } }
@keyframes schein { 0%, 100% { opacity: .55; } 50% { opacity: .95; } }
@keyframes blitz { 0%, 100% { opacity: 0; transform: scale(1); } 50% { opacity: .33; transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .skip .skip-pfeil, .skip .schenkel, .skip .skip-schein, .skip .skip-blitz { animation: none; } }

.film::before { display: none; }      /* SkipEdit: kein Schimmer-Kasten links vom Balken */

/* ------------------------------------------------------------------ Batch */
/* Kacheln bei Mehrfachauswahl (2.11.2026): Raster wie in Fotos, Antippen spielt ab, ✕ oben rechts mit 44-pt-Trefferfläche */
.kachel-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0 6px; }
.kachel { position: relative; }
.kachel-bild { display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 1px solid var(--linie); border-radius: 14px; overflow: hidden;
  background: var(--flaeche-2) center/cover; position: relative; color: #fff; }
.kachel-bild::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, #000a); pointer-events: none; }
.kachel-bild:active { opacity: .8; }
.kachel-play { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  background: #0008; display: grid; place-items: center; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.kachel-play svg { width: 18px; height: 18px; margin-left: 2px; }
.kachel-meta { position: absolute; left: 8px; right: 8px; bottom: 7px; z-index: 1; font-size: 13px; font-weight: 600; text-align: left;
  font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 2px #000; }
.kachel-weg { position: absolute; top: 0; right: 0; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: #fff;
  display: grid; place-items: center; }
.kachel-weg svg { width: 26px; height: 26px; padding: 6px; box-sizing: border-box; border-radius: 50%; background: #000a; }
.abspiel-fenster { position: fixed; inset: 0; z-index: 1100; background: #000; display: flex; flex-direction: column;
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); }
.abspiel-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 8px 0 20px; min-height: 52px; }
.abspiel-kopf b { font-size: 17px; }
.abspiel-zu { min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--akzent); font: inherit; font-size: 17px; font-weight: 600; }
.abspiel-fenster video { flex: 1; min-height: 0; width: 100%; object-fit: contain; background: #000; }
body.abspiel-offen { overflow: hidden; }
.batch-auswahl { display: grid; gap: 8px; }
.batch-auswahl .datei { padding: 10px 12px; }
.mini { width: 40px; aspect-ratio: 9/16; border-radius: 8px; flex: none; background: var(--flaeche-2) center/cover; }
.batch-hinweis { font-size: 14px; line-height: 1.45; color: var(--leise); padding: 12px 14px; border-radius: 14px;
  border: 1px solid var(--linie); background: var(--flaeche); margin: -8px 0 14px; }
.batch-hinweis b { color: var(--text); font-weight: 600; }
.batch-hinweis.offen { border-color: color-mix(in srgb, var(--akzent) 35%, var(--linie)); }
.batch-liste { display: grid; gap: 10px; }
.bkarte { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 14px; background: var(--flaeche);
  border: 1px solid var(--linie); border-radius: 16px; padding: 10px 12px; }
.bkarte .bild { width: 54px; aspect-ratio: 9/16; border-radius: 9px; background: var(--flaeche-2) center/cover; }
.bkarte .titel { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bkarte .meta { color: var(--leise); font-size: 13px; margin-top: 3px; font-variant-numeric: tabular-nums; min-height: 1em; }
.bkarte .mitte { min-width: 0; }
.bleiste { height: 4px; border-radius: 4px; background: var(--linie); overflow: hidden; margin-top: 9px; }
.bleiste[hidden] { display: none; }
.bleiste i { display: block; height: 100%; width: 0; background: var(--akzent); border-radius: 4px; transition: width .5s ease; }
.status.upload { background: color-mix(in srgb, var(--akzent) 10%, var(--flaeche-2)); color: var(--text); font-variant-numeric: tabular-nums; }
.status.vorbereiten { background: var(--flaeche-2); color: var(--leise); }
.status.laeuft { color: var(--akzent); }
.status[data-nochmal] { cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.batch-marke { display: inline-block; margin-top: 5px; font-size: 11.5px; color: var(--leiser); border: 1px solid var(--linie);
  border-radius: 6px; padding: 2px 6px; }

/* ------------------------------------------------------------------ Benachrichtigungen */
.push-frage { margin: 18px 0 4px; display: grid; gap: 8px; }
.push-frage .hinweis { margin: 0 0 6px; }
.push-hinweis { margin: 14px 0 4px; padding: 10px 14px; }
.push-zeile { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--leise); line-height: 1.4; }
.push-zeile span { flex: 1; }
.push-zeile .link { padding: 6px 2px; font-size: 13.5px; white-space: nowrap; }
.push-bilder { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.push-bilder[hidden] { display: none; }
.push-bilder figure { margin: 0; }
.push-bilder svg { width: 100%; height: auto; display: block; }
.push-bilder figcaption { font-size: 12px; color: var(--leise); margin-top: 6px; line-height: 1.35; }
.status.ausgelastet { background: var(--flaeche-2); color: var(--text); }
.status.ausgelastet[data-nochmal] { text-decoration: none; }

/* ------------------------------------------------------------------ Editor und Fassungen */
.knopf.bearbeiten { margin-top: 10px; background: var(--flaeche-2); color: var(--text); border: 1px solid var(--linie); }
.knopf.bearbeiten svg { color: var(--akzent); }
.eintrag-knopf { margin: -4px 0 4px 68px; }
.knopf.klein-knopf { display: inline-flex; width: auto; padding: 9px 14px; font-size: 14px; border-radius: 12px; }
.knopf.klein-knopf svg { width: 17px; height: 17px; color: var(--akzent); }
.eintrag.fassung { margin-left: 22px; border-style: dashed; }
.fassung-bild { display: grid; place-items: center; color: var(--akzent); }
.fassung-marke { font-size: 11px; font-weight: 600; color: var(--leiser); border: 1px solid var(--linie); border-radius: 5px;
  padding: 1px 5px; margin-left: 4px; vertical-align: 2px; }

/* Bearbeiten nach Ablauf des Originals: sichtbar, aber gedämpft; Hinweis erscheint beim Antippen */
.knopf.gesperrt { opacity: .5; }
.knopf.gesperrt svg { color: var(--leise); }
.eintrag-knopf .weg-hinweis { margin: 8px 0 0; font-size: 12.5px; }
.eintrag-knopf .frist { display: block; margin-top: 6px; font-size: 12.5px; color: var(--leise); }

/* Batch erweitern, 4K-Hinweis, Upload-Restzeit (10.10.2026) */
.hinweis.tipp { margin-top: 12px; }
.karte.hinweis-4k { margin-top: 14px; padding: 14px 16px; font-size: 14px; line-height: 1.5; color: var(--text);
  border-color: color-mix(in srgb, var(--akzent) 45%, var(--linie)); }
.karte.hinweis-quer { margin-top: 14px; padding: 14px 16px; font-size: 14px; line-height: 1.5; color: var(--text); }   /* K6 */
.vierk-knoepfe { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.mehr { margin-top: 18px; width: 100%; }
.mehr .knopf.mehr-knopf { cursor: pointer; border-style: dashed; border-color: color-mix(in srgb, var(--akzent) 55%, var(--linie)); color: var(--akzent); }
.mehr-hinweis:empty { display: none; }

/* Ergebnis, solange der Rest des Videos hochlädt (iPhone-Test 10.10.2026) */
.rest-balken { margin: 0 0 16px; padding: 13px 15px; border-radius: 14px; font-size: 14px; line-height: 1.5;
  background: color-mix(in srgb, var(--akzent) 12%, var(--flaeche)); border: 1px solid color-mix(in srgb, var(--akzent) 45%, transparent); }
.rest-balken b { color: var(--akzent); }
.rest-balken .balken-link { color: var(--akzent); text-decoration: underline; }
#schon-speichern { margin-top: 8px; }
.knopf.bearbeiten.wartend { position: relative; overflow: hidden; opacity: 1; color: var(--leise);
  background: linear-gradient(90deg, color-mix(in srgb, var(--akzent) 16%, var(--flaeche-2)) var(--anteil, 0%), var(--flaeche-2) var(--anteil, 0%)); }
.knopf.bearbeiten.wartend svg { color: var(--leise); }
.jetzt-moeglich { color: var(--akzent); }
.ersparnis { position: relative; }
.mehr-menue { position: absolute; right: 0; top: 0; z-index: 5; text-align: left; }
.mehr-menue summary { list-style: none; cursor: pointer; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  font-size: 22px; line-height: 1; color: var(--leise); background: var(--flaeche); border: 1px solid var(--linie); }
.mehr-menue summary::-webkit-details-marker { display: none; }
.mehr-menue .menue { position: absolute; right: 0; top: 44px; min-width: 210px; padding: 6px; border-radius: 14px;
  background: var(--flaeche-2); border: 1px solid var(--linie); box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.mehr-menue .menue a { display: block; padding: 11px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: 15px; }
.mehr-menue .menue a:active { background: var(--flaeche); }

/* Auto-Zoom-Schalter beim Upload (11.10.2026) */
.schalter-zeile { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0 0; padding: 12px 14px;
  background: var(--flaeche); border-radius: 14px; cursor: pointer; }
.schalter-zeile b { display: block; font-size: 15px; } .schalter-zeile small { display: block; color: var(--leise); font-size: 12.5px; margin-top: 2px; }
.schalter-zeile input { position: absolute; opacity: 0; pointer-events: none; }
.schalter-zeile .kipp { flex: none; width: 46px; height: 28px; border-radius: 14px; background: #ffffff26; position: relative; transition: background .2s; }
.schalter-zeile .kipp::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; }
.schalter-zeile input:checked + .kipp { background: var(--akzent); }
.schalter-zeile input:checked + .kipp::after { transform: translateX(18px); }

/* Abbrechen / Löschen (14.10.2026) */
.x-knopf { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--flaeche-2);
  color: var(--leise); border: 1px solid var(--linie); font-size: 13px; line-height: 1; padding: 0; }
.x-knopf[hidden] { display: none; }
.bkarte, .eintrag { grid-template-columns: 54px 1fr auto auto; }
.eintrag.fassung { grid-template-columns: 54px 1fr auto auto; }
.abbrechen-knopf, .loeschen-knopf { display: block; width: 100%; margin-top: 12px; color: #FF8A8A; }
.knopf.gefahr { background: var(--rot); color: #fff; border: none; }
.frage-decke { position: fixed; inset: 0; z-index: 200; background: #0009; display: flex; align-items: flex-end; justify-content: center;
  padding: 16px; opacity: 0; transition: opacity .2s; }
.frage-decke.auf { opacity: 1; }
.frage { width: 100%; max-width: 420px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 20px;
  padding: 20px 18px 16px; margin-bottom: max(8px, env(safe-area-inset-bottom)); transform: translateY(20px); transition: transform .2s; }
.frage-decke.auf .frage { transform: none; }
.frage h3 { margin: 0 0 6px; font-size: 19px; }
.frage p { margin: 0 0 16px; color: var(--leise); }
.frage-knoepfe { display: grid; gap: 10px; }
.frage.blatt { max-height: calc(100dvh - 48px); overflow-y: auto; }
.frage.blatt p.klein { font-size: 13px; margin-bottom: 14px; }
.schritte { list-style: none; counter-reset: schritt; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.schritte .schritt { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: center; font-size: 15px; line-height: 1.3; color: var(--text, #F4F4F2); }
.schritte svg { width: 112px; height: auto; display: block; }
.ohne-abbrechen [data-abbrechen], .ohne-abbrechen [data-fassung-abbrechen], .ohne-abbrechen .x-knopf { display: none !important; }

/* Navigation unten (14.10.2026) – feste Leiste, Abstand zum Home-Balken (Safe Area), Lime-Akzent */
:root { --tabhoehe: 64px; }
.nav { display: none; }
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(3, 1fr);
  max-width: 560px; margin: 0 auto; padding: 6px 12px calc(env(safe-area-inset-bottom) + 6px);
  background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--linie); }
@media (min-width: 561px) { .tabs { border: 1px solid var(--linie); border-bottom: none; border-radius: 18px 18px 0 0; } }
.tabs a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0 4px; color: var(--leiser);
  font-size: 11.5px; font-weight: 600; letter-spacing: .01em; -webkit-tap-highlight-color: transparent; }
.tabs a.aktiv { color: var(--text); }
.tab-symbol { position: relative; width: 44px; height: 30px; display: grid; place-items: center; border-radius: 999px;
  transition: background .2s; }
.tabs a.aktiv .tab-symbol { background: color-mix(in srgb, var(--akzent) 16%, transparent); color: var(--akzent); }
.tab-symbol svg { width: 23px; height: 23px; }
.tab-zahl { position: absolute; top: -3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--akzent); color: #0B0B0C; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center;
  font-style: normal; box-shadow: 0 0 0 2px var(--bg); }
.tab-zahl[hidden] { display: none; }
.ansicht { padding-bottom: calc(var(--tabhoehe) + env(safe-area-inset-bottom) + 40px); }
.leiste-unten { bottom: calc(var(--tabhoehe) + env(safe-area-inset-bottom)); padding-bottom: 12px; }
.meldung { bottom: calc(var(--tabhoehe) + env(safe-area-inset-bottom) + 18px); }
body.vollbild .tabs, body.ohne-tabs .tabs { display: none; }
/* Videos: laufend oben (mit Fortschritt), fertig darunter */
.eintrag .bleiste { margin-top: 7px; }
.batch-marke a { color: inherit; }
/* Profil */
.profil-kopf { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.profil-bild { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 22px;
  background: color-mix(in srgb, var(--akzent) 18%, var(--flaeche)); color: var(--akzent); border: 1px solid var(--linie); }
.profil-zeilen { display: grid; gap: 1px; background: var(--linie); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; }
.profil-zeile { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px;
  background: var(--flaeche); color: var(--text); font-size: 15px; }
.profil-zeile small { display: block; color: var(--leise); font-size: 13px; margin-top: 2px; }
.profil-zeile .rechts { color: var(--leise); font-size: 14px; white-space: nowrap; }
a.profil-zeile::after { content: "›"; color: var(--leiser); font-size: 20px; margin-left: 6px; }
.profil-zeile > span:first-child { flex: 1; min-width: 0; }

/* Neu: drei Wege (14.10.2026) */
/* Großes 4K-Video: Weg über Dateien (22.10.2026) – eine leise Zeile unter „Ein Video“ */
.dateien-link { display: block; font-size: 13.5px; color: var(--leise, #A1A1AA); padding: 10px 4px 2px; cursor: pointer; }
.dateien-link.mitte { text-align: center; }
.dateien-link u { color: var(--text); text-underline-offset: 3px; }
label.knopf { display: flex; align-items: center; justify-content: center; cursor: pointer; }
.wege { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.weg-karte { display: flex; flex-direction: column; gap: 4px; padding: 14px; background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: var(--radius); cursor: pointer; }
.weg-karte b { font-size: 14.5px; line-height: 1.25; }
.weg-karte small { color: var(--leise); font-size: 12.5px; line-height: 1.35; }
.weg-symbol { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 4px;
  background: color-mix(in srgb, var(--akzent) 14%, transparent); color: var(--akzent); }
.weg-symbol svg { width: 20px; height: 20px; }
/* Mehrere Clips */
.clips-kopf { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.clip-liste { display: grid; gap: 8px; margin: 12px 0; }
.clip-zeile { display: grid; grid-template-columns: 28px 40px 1fr auto; align-items: center; gap: 10px; padding: 8px 10px;
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: 14px; transition: transform .15s; touch-action: none; }
.clip-zeile.zieht { transition: none; z-index: 2; position: relative; box-shadow: 0 10px 30px #0008; border-color: var(--akzent); }
.clip-zeile .griff { color: var(--leiser); font-size: 18px; text-align: center; cursor: grab; touch-action: none; user-select: none; }
.clip-zeile .mini { width: 40px; aspect-ratio: 9/16; border-radius: 7px; background: var(--flaeche-2) center/cover; }
.clip-text { min-width: 0; }
.clip-text .name { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clip-text .meta { color: var(--leise); font-size: 12.5px; margin-top: 2px; }
.clips-mehr { display: block; text-align: center; }
.clips-summe { margin-top: 14px; text-align: center; font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }
.clips-summe.zu-lang { color: #FF8A8A; }
.weg-karte[hidden] { display: none; }
.wege:has(.weg-karte[hidden]) { grid-template-columns: 1fr; }
/* Neu: drei Wege auf einen Blick (14.10.2026) – Ablage kompakter, damit die beiden anderen Wege über der Leiste stehen */
.ablage { min-height: 0; padding-top: 26px; padding-bottom: 26px; }
.ablage .symbol { width: 64px; height: 64px; border-radius: 20px; }
.ablage { padding-top: 20px; padding-bottom: 20px; gap: 8px; }
.ablage .symbol { width: 56px; height: 56px; border-radius: 18px; }
.wege { margin-top: 10px; }
.weg-karte { padding: 12px 14px; }
.profil-zeile .schalter-zeile { margin: 0; padding: 0; background: none; border: 0; }

/* Editor als Ebene in der App (14.10.2026): Rahmen über allem, randlos */
#editor-rahmen { position: fixed; inset: 0; z-index: 1000; background: #000; }
/* Den Abstand zu Notch/Home-Leiste setzt der Editor selbst (die App gibt ihre Werte mit) – vorher doppelt (14.10.2026) */
#sa-messer { position: fixed; top: 0; left: 0; width: 0; height: 0; visibility: hidden; pointer-events: none;
  padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); }
#editor-rahmen iframe { display: block; width: 100%; height: 100%; border: 0; background: #000; }
body.editor-offen { overflow: hidden; }
body.editor-offen nav.tabs { display: none; }

/* Tarife (16.10.2026): Limit-Fenster, Admin-Zeilen */
.limit-optionen { display: grid; gap: 10px; margin-bottom: 12px; }
.limit-option { display: grid; gap: 3px; text-align: left; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--linie);
  background: var(--flaeche-2); color: var(--text); font: inherit; }
.limit-option b { font-size: 16px; }
.limit-option span { font-size: 13px; color: var(--leise); }
.limit-option.empfohlen { border-color: var(--akzent); }
.limit-option .limit-spar { color: var(--akzent); }
.admin-zeile select, .admin-zeile input { background: var(--flaeche-2); color: var(--text); border: 1px solid var(--linie);
  border-radius: 8px; padding: 4px 6px; font: inherit; font-size: 13px; }

/* Konten & Tarife (16.10.2026): Formulare, Tarif-Seite, Banner */
.feld { display: grid; gap: 6px; margin: 0 0 14px; }
.feld > span { font-size: 13.5px; color: var(--leise); font-weight: 550; }
.feld input, .feld select, .feld textarea { width: 100%; font: inherit; font-size: 16.5px; color: var(--text); background: var(--flaeche);
  border: 1px solid var(--linie); border-radius: 14px; padding: 14px 15px; outline: none; -webkit-appearance: none; appearance: none; }
.feld textarea { min-height: 96px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { border-color: var(--akzent); }
.passwort-feld { position: relative; }
.passwort-feld input { padding-right: 76px; }
.passwort-feld button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--leise);
  font-size: 13.5px; padding: 8px; }
.haken { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px; font-size: 14px; line-height: 1.45; color: var(--leise); cursor: pointer; }
.haken input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--akzent); }
.haken a { color: var(--text); text-decoration: underline; }
.fehler-text { color: var(--rot); font-size: 14px; margin: 0 0 12px; min-height: 0; }
.fehler-text:empty { display: none; }
.ok-text { color: var(--akzent); font-size: 14.5px; margin: 0 0 12px; line-height: 1.5; }
.link-zeile { display: flex; justify-content: space-between; gap: 12px; margin: 16px 0 0; font-size: 14px; color: var(--leise); }
.link-zeile a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.plan-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; margin: 0 0 20px;
  border: 1px solid color-mix(in srgb, var(--akzent) 45%, var(--linie)); border-radius: var(--radius);
  background: color-mix(in srgb, var(--akzent) 7%, var(--flaeche)); }
.plan-kopf b { font-size: 16px; } .plan-kopf small { display: block; color: var(--leise); font-size: 13px; margin-top: 2px; }
.plan-kopf .preis { font-weight: 700; white-space: nowrap; }
.intervall { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--flaeche);
  border: 1px solid var(--linie); margin: 0 0 16px; }
.intervall button { border: 0; border-radius: 11px; padding: 10px; background: none; color: var(--leise); font-weight: 600; font-size: 14.5px; }
.intervall button.aktiv { background: var(--flaeche-2); color: var(--text); }
.intervall small { color: var(--akzent); font-weight: 600; }
.tarif-karten { display: grid; gap: 12px; margin: 0 0 16px; }
.tarif-karte { display: grid; gap: 4px; text-align: left; padding: 16px; border-radius: var(--radius); border: 1px solid var(--linie);
  background: var(--flaeche); color: var(--text); }
.tarif-karte.gewaehlt { border-color: var(--akzent); box-shadow: 0 0 0 1px var(--akzent) inset; }
.tarif-karte .zeile1 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.tarif-karte b { font-size: 18px; } .tarif-karte .preis { font-size: 18px; font-weight: 700; }
.tarif-karte small { color: var(--leise); font-size: 13.5px; line-height: 1.45; }
.tarif-karte .marke-test { color: var(--akzent); font-weight: 600; }
.abo-banner { display: block; max-width: 560px; margin: 12px max(16px, calc((100% - 560px) / 2)) 0; padding: 12px 16px; border-radius: 14px; font-size: 14px; line-height: 1.45;
  background: color-mix(in srgb, var(--rot) 14%, var(--flaeche)); border: 1px solid color-mix(in srgb, var(--rot) 45%, var(--linie)); }
.profil-zeile.abo-abschliessen > span:first-child { color: var(--akzent); font-weight: 700; }
.abo-banner.leise { background: var(--flaeche); border-color: var(--linie); color: var(--leise); }
.abo-banner a { color: var(--text); text-decoration: underline; font-weight: 600; }
body.ohne-tabs .tabs { display: none; }
.fuss-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 26px 0 0; font-size: 13px; color: var(--leise); }
.fuss-links a, .fuss-links button { color: var(--leise); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; font-size: 13px; }
.bestaetigung { display: grid; gap: 1px; background: var(--linie); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; margin: 0 0 16px; }
.bestaetigung div { display: grid; gap: 2px; padding: 12px 16px; background: var(--flaeche); }
.bestaetigung span { color: var(--leise); font-size: 12.5px; } .bestaetigung b { font-size: 15px; font-weight: 600; }
@media print {
  .kopf, .konto-fuss, .tabs, .knopf, .fuss-links, .nicht-drucken { display: none !important; }
  html, body { background: #fff !important; color: #000 !important; }
  .bestaetigung, .bestaetigung div { background: #fff !important; border-color: #ccc !important; color: #000 !important; }
  .bestaetigung span { color: #444 !important; }
}

/* Startseite minimal (Nutzer 20.10.2026): Upload-Karte ist das größte Element, alles andere ordnet sich unter */
.kontingent.dezent { display: block; text-align: center; font-size: 12px; color: var(--leiser, var(--leise)); font-weight: 400; margin: 0 0 14px; }
.ablage { min-height: 248px; padding: 32px 24px; gap: 10px; }
.ablage .symbol { width: 64px; height: 64px; border-radius: 20px; }
.ablage strong { font-size: 21px; }
.wege { margin-top: 10px; }
.weg-karte { flex-direction: row; align-items: center; gap: 10px; padding: 12px; }
.weg-karte .weg-symbol { margin-bottom: 0; flex: none; width: 30px; height: 30px; border-radius: 9px; }
.weg-karte .weg-symbol svg { width: 18px; height: 18px; }
.weg-karte b { font-size: 13.5px; font-weight: 600; }

/* Tab-Leiste in der Homescreen-App (Bug 20.10.2026): Auf der neuen, kurzen Startseite scrollt das Dokument nicht mehr –
   in iOS-Standalone saß die feste Leiste dann um den Home-Balken zu hoch. Videos/Profil scrollen und waren richtig.
   Deshalb ist das Dokument in der installierten App immer mindestens so hoch wie der ganze Bildschirm (+1 px), wie dort. */
@media (display-mode: standalone) { body { min-height: calc(100lvh + 1px); } }

/* Abläufe (Nutzer 20.10.2026): Clips / Mehrere Videos / Vorbereiten ohne Headline, Untertitel, Kontozeile; Start-Knopf fest */
.ansicht.im-ablauf > h1, .ansicht.im-ablauf > .unter, .ansicht.im-ablauf > #n-konto { display: none; }
.ansicht.im-ablauf { padding-bottom: calc(var(--tabhoehe) + env(safe-area-inset-bottom) + 120px); }
.ablauf-kopf { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; min-height: 36px; }
.ablauf-kopf b { font-size: 17px; letter-spacing: -0.01em; }
.ablauf-kopf .link { padding: 6px 0; white-space: nowrap; }
.ablauf-unten { z-index: 25; }
/* Zeile „Aus Dateien wählen“ (22.10.2026): Ablage etwas niedriger, damit beide Wege-Karten weiter über der Leiste stehen */
.ablage { min-height: 216px; }
.dateien-link.mitte { padding: 9px 4px 0; }

/* Seitenzoom 130 % auf dem iPhone SE (Test „dummer Nutzer“ K8, 26.10.2026): Zeilen umbrechen statt rechts aus dem Bild */
.wege { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wege:has(.weg-karte[hidden]) { grid-template-columns: minmax(0, 1fr); }
.weg-karte { min-width: 0; }
.weg-karte b, .weg-karte small { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.profil-zeile .rechts { white-space: normal; text-align: right; overflow-wrap: anywhere; }

/* Freunde einladen (C19) */
.freund-link { margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: var(--flaeche-2);
  font-size: 14px; word-break: break-all; user-select: all; }

/* Zeit gespart (C18) */
.arbeit-gespart { margin-top: 8px; font-size: 13.5px; color: var(--leise); }
.monats-karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 18px; padding: 18px; text-align: center; }
.monats-karte .mk-gross { font-size: 34px; font-weight: 900; }
.monats-karte .mk-unter { color: var(--akzent); font-weight: 700; margin-top: 2px; }
.monats-karte .mk-zahlen { display: flex; justify-content: space-around; margin: 16px 0; }
.monats-karte .mk-zahlen span { display: flex; flex-direction: column; font-size: 12.5px; color: var(--leise); }
.monats-karte .mk-zahlen b { font-size: 20px; color: var(--text); }

/* Ladescreen 2. Fassung: Hauptzahl blendet sanft über */
.arbeit-prozent.tick { animation: zahl-tick .35s ease-out; }
@keyframes zahl-tick { from { opacity: .55; transform: translateY(3px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .arbeit-prozent.tick { animation: none; } }

/* Wie eine App, nicht wie eine Webseite (Wisam 28.10.2026): kein Seiten-Zoom (Doppeltipp/zwei Finger), kein Gummiband der ganzen
   Seite, kein blauer Tipp-Schimmer, kein Markieren/Langdruck-Menü auf Knöpfen und Bildern; Eingabefelder ≥ 16 px (sonst zoomt iOS). */
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; }
html, body { overscroll-behavior: none; }
* { -webkit-tap-highlight-color: transparent; }
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea, select, [contenteditable="true"] { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
input, textarea, select { font-size: max(16px, 1em) !important; }   /* gilt auch für kleinere Sonderfelder (Admin) */
img, video, svg, a, button { -webkit-touch-callout: none; -webkit-user-drag: none; }

/* Kurve in Liste und Karten (5. Fassung): Zahl und Balken laufen per requestAnimationFrame, keine CSS-Übergänge */
[data-kurve-balken] { transition: none !important; }    /* 5. Fassung: Balken läuft per requestAnimationFrame */

/* Status-Zeile (rotiert alle 3 s): feste Höhe, weiches Überblenden – nichts springt */
.status-zeile { height: 1.45em; line-height: 1.45em; margin: 6px 0 2px; text-align: center; color: var(--leise); font-size: 15px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .35s ease; }

/* „Bereit zum Schneiden“ (29.10.2026) */
.ansicht.im-ablauf > #n-laufend { display: none; }
.bereit { display: flex; flex-direction: column; padding-bottom: 80px; }   /* Platz für die höhere Leiste (Schätzung + Knopf) */
.bereit-bild { align-self: center; width: min(52vw, 220px); aspect-ratio: 9 / 16; max-height: 40vh; border-radius: 20px; overflow: hidden;
  background: var(--flaeche); border: 1px solid var(--linie); display: grid; place-items: center; }
.bereit-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bereit-meta { display: flex; justify-content: center; align-items: baseline; gap: 14px; margin: 12px 0 2px; color: var(--leise); font-size: 14px;
  font-variant-numeric: tabular-nums; }
.bereit-meta .link { color: var(--akzent); font-size: 14px; font-weight: 600; background: none; border: 0; padding: 0; }
.laufend-badge { align-self: center; margin: 10px 0 0; padding: 5px 12px; border-radius: 999px; background: var(--flaeche-2); color: var(--leise);
  font-size: 13px; text-decoration: none; }
.optionen { margin-top: 6px; }
.schalter-zeile.mit-anim { justify-content: flex-start; }
.schalter-zeile .opt-text { flex: 1; min-width: 0; }
.schalter-zeile.gesperrt { opacity: .5; }
.schalter-zeile.gesperrt small { color: #FFB86B; }
.opt-anim { flex: none; position: relative; width: 30px; height: 40px; border-radius: 7px; border: 1.5px solid var(--leise); overflow: hidden; }
.opt-anim.zoom i { position: absolute; inset: 8px 6px; border-radius: 4px; background: var(--akzent); animation: opt-zoom 3.2s ease-in-out 4 alternate forwards;   /* 2× rein und raus, dann steht sie (Wisam 29.10.) */ }
@keyframes opt-zoom { from { transform: scale(.75); } to { transform: scale(1.18); } }
.opt-anim.blende i { position: absolute; inset: 3px; border-radius: 4px; }
.opt-anim.blende i:first-child { background: var(--akzent); animation: opt-blende 3.2s ease-in-out 4 alternate forwards; }
.opt-anim.blende i:last-child { background: #7AA7FF; animation: opt-blende 3.2s ease-in-out 4 alternate-reverse forwards; }
@keyframes opt-blende { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .opt-anim i { animation: none !important; } }
.bereit-schaetzung { text-align: center; color: var(--leise); font-size: 14px; margin: 0 0 10px; line-height: 1.45; }
.bereit-schaetzung span { color: var(--akzent); }
/* Nach Apple HIG (Skill apple-design, 29.10.2026): Tippflächen mind. 44 × 44 pt, sichtbarer Druckzustand, ohne das Bild zu verschieben */
.bereit-meta .link { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 6px; margin: -13px -6px; }
.laufend-badge { position: relative; }
.laufend-badge::after { content: ""; position: absolute; inset: -10px 0; }
.bereit-meta .link:active, .laufend-badge:active { opacity: .55; }
.knopf:active:not(:disabled) { filter: brightness(.88); transform: scale(.985); }
.knopf { transition: transform .12s ease, filter .12s ease; }
@media (prefers-reduced-motion: reduce) { .knopf:active:not(:disabled) { transform: none; } }

/* Glocke (1.11.2026) */
.glocke { position: relative; width: 44px; height: 44px; margin-right: -10px; display: grid; place-items: center; color: var(--text); }
.glocke[hidden] { display: none; }
.glocke svg { width: 25px; height: 25px; }
.glocke-zahl { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--rot); color: #fff; font-size: 12px; font-weight: 600; display: grid; place-items: center; }
.glocke-zahl[hidden] { display: none; }
.m-liste { display: flex; flex-direction: column; }
.m-zeile { display: grid; grid-template-columns: 26px 1fr 10px; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--linie); color: var(--text); text-decoration: none; min-height: 44px; }
.m-zeile svg { width: 24px; height: 24px; color: var(--leise); }
.m-text { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.m-text b { font-weight: 500; font-size: 16px; }
.m-zeile.neu .m-text b { font-weight: 600; }
.m-text span { color: var(--leise); font-size: 15px; }
.m-text small { color: var(--leiser); font-size: 13px; }
.m-punkt { width: 8px; height: 8px; border-radius: 4px; background: var(--rot); margin-top: 7px; }
.auswahl-leer { margin-top: 12px; }
.auswahl-leer .hinweis { margin: 4px 0 12px; }
.auswahl-leer label { cursor: pointer; }
/* Weg über Dateien nach einem Mediathek-Fehlschlag (3.11.2026): Bild-Anleitung in vier kleinen Schritten */
.mf-zeile { margin: 0; }
.mf-zeile summary { list-style: none; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 4px;
  font-size: 13.5px; color: var(--leise); cursor: pointer; text-align: center; }
.mf-zeile summary::-webkit-details-marker { display: none; }
.mf-zeile summary u { color: var(--text); text-underline-offset: 3px; margin-left: .3em; }
.mf-zeile[open] { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 4px 16px 16px; margin-top: 8px; }
.mf-zeile label.knopf { display: block; text-align: center; cursor: pointer; margin-top: 12px; }
/* Neue Fassung nach dem Feinschliff (5.11.2026): dezent unter dem Video, nie automatisch */
.bessere-fassung { display: block; margin: -8px auto 14px; min-height: 44px; padding: 0 16px; border: 1px solid var(--linie); border-radius: 999px;
  background: var(--flaeche); color: var(--text); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.bessere-fassung::before { content: "✦ "; color: var(--akzent); }
/* Vorschaubild kam nicht in 3 s (5.11.2026): ruhiger Platzhalter statt Kreis */
.b-platz { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--leise); font-size: 13.5px;
  font-variant-numeric: tabular-nums; text-align: center; padding: 0 10px; }
.b-platz svg { width: 34px; height: 34px; color: var(--leiser); }
.anleitung { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.anleitung li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 12.5px; line-height: 1.25;
  color: var(--text); }
.anl-bild { position: relative; width: 48px; height: 48px; flex: none; border-radius: 13px; background: var(--flaeche-2);
  display: grid; place-items: center; color: var(--akzent); }
.anl-bild svg { width: 26px; height: 26px; }
.anl-bild i { position: absolute; top: -5px; left: -5px; width: 18px; height: 18px; border-radius: 50%; background: var(--akzent); color: #000;
  font: 700 11px/18px system-ui, sans-serif; text-align: center; font-style: normal; }
.anl-einzeln { margin: 10px 0 0; }

/* Tarif wechseln (OFFEN 0e, 5.11.2026) */
.wechsel-karten { display: grid; gap: 10px; margin-top: 14px; }
.wechsel-karte { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; min-height: 44px; padding: 14px 16px; text-align: left;
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); color: var(--text); font: inherit; cursor: pointer; }
.wechsel-karte .zeile { display: flex; align-items: center; gap: 8px; width: 100%; font-size: 16px; }
.wechsel-karte .preis { color: var(--leise); font-size: 14px; font-variant-numeric: tabular-nums; }
.wechsel-karte .preis b { color: var(--text); font-size: 18px; }
.wechsel-karte.eigen { cursor: default; border-color: color-mix(in srgb, var(--akzent) 45%, var(--linie)); }
.wechsel-karte .abzeichen { margin-left: auto; font-size: 12px; font-weight: 700; color: #000; background: var(--akzent); border-radius: 999px; padding: 2px 9px; }

/* Freunde einladen: Teilen und Kopieren nebeneinander (6.11.2026) */
.freund-knoepfe { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 10px; }
.freund-knoepfe .knopf.zweit { padding-left: 18px; padding-right: 18px; }

/* Fair-Use-Warteschlange (6.11.2026): ruhig, nicht rot */
.warteschlange { text-align: center; padding: 22px 18px; }
.warteschlange .ws-symbol { width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 50%; background: var(--flaeche-2); display: grid;
  place-items: center; color: var(--akzent); }
.warteschlange .ws-symbol svg { width: 28px; height: 28px; }
.warteschlange b { display: block; font-size: 18px; }
.warteschlange .ws-zeit { margin: 4px 0 10px; font-size: 16px; font-variant-numeric: tabular-nums; }

/* „Nochmal schneiden“ in der Ergebnis-Ansicht (6.11.2026): kleine Zeile unter dem Video, Eintrag im ⋯-Menü */
.nochmal-zeile { display: block; margin: -8px auto 12px; min-height: 44px; padding: 0 12px; background: none; border: 0; color: var(--leise);
  font: inherit; font-size: 14px; cursor: pointer; }
.nochmal-zeile u { color: var(--text); text-underline-offset: 3px; }
.mehr-menue .menue .menue-eintrag { display: block; width: 100%; text-align: left; padding: 11px 12px; border: 0; border-radius: 10px;
  background: none; color: var(--text); font: inherit; font-size: 15px; cursor: pointer; }
.mehr-menue .menue .menue-eintrag:active { background: var(--flaeche); }
.nochmal-decke .fehler-text { color: #FF8A8A; font-size: 14px; margin: 0 0 10px; }
/* Doppelter Checkout (O2, 8.11.2026): „Bezahlseite nochmal öffnen“ unter dem Bezahl-Knopf, öffnet denselben Link */
.nochmal-bezahlen { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin: 6px 0 0; }
/* Prüfliste O2 Block 4 (8.11.2026) – Konto, Profil, Tarife */
/* Passwortfeld: Beschriftung steht jetzt in <label for> (nicht mehr um das Feld herum) */
.feld > label > span { font-size: 13.5px; color: var(--leise); font-weight: 550; }
.marke-seite .feld > label > span { font-size: 14px; color: var(--m-leise, var(--leise)); font-weight: 500; }
.feld input[aria-invalid="true"], .feld select[aria-invalid="true"], .feld textarea[aria-invalid="true"] { border-color: var(--rot) !important; }
.haken input[aria-invalid="true"] { outline: 2px solid var(--rot); outline-offset: 2px; }
/* Tippflächen ≥ 44 pt */
.passwort-feld button { min-height: 44px; min-width: 44px; }
.link-zeile a, .fuss-links a, .fuss-links button, .ablauf-kopf .link { display: inline-flex; align-items: center; min-height: 44px; }
.anderer-tarif, .mehr-link { display: flex !important; align-items: center; justify-content: center; min-height: 44px; }
.intervall button, .marke-seite .intervall button[data-iv] { min-height: 44px; }   /* [data-iv]: schlägt marke.css (lädt später) */
.nochmal-bezahlen { min-height: 44px; }
/* Tipp-Reaktion (das Tipp-Leuchten ist aus): Zeilen und Karten werden beim Drücken kurz dunkler/blasser */
a.profil-zeile:active, button.profil-zeile:active { background: var(--flaeche-2); }
.wechsel-karte:not(:disabled):active, .intervall button:active, .passwort-feld button:active, .link-zeile a:active,
.fuss-links a:active, .fuss-links button:active, .anderer-tarif:active, .mehr-link:active, .link:active { opacity: .55; }
/* Konto löschen (Apple 5.1.1(v), 8.11.2026): rote Zeile unter „Abmelden“, eigene Seite mit Server-Texten, Probelauf für Admins */
.profil-zeile.gefahr > span:first-child { color: var(--rot); font-weight: 600; }
.probe-band { margin: 0 0 14px; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, #FFE14D 16%, transparent);
  border: 1px solid color-mix(in srgb, #FFE14D 45%, transparent); font-size: 14px; line-height: 1.35; }
.kl-abo { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--flaeche); font-size: 15px; line-height: 1.4; }
.kl-fertig { padding: 40px 4px 0; display: grid; gap: 14px; }
.kl-fertig h1 { margin: 0; }
/* Nur kündigen? (8.11.2026): weniger endgültiger Weg ganz oben auf der Lösch-Seite, nur bei laufendem Abo */
.kl-kuendigen { margin: 0 0 16px; padding: 14px; border-radius: 14px; background: var(--flaeche); display: grid; gap: 10px; }
.kl-kuendigen p { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.35; }
.kl-kuendigen .knopf { margin: 0; }
/* Rückfrage mit Eingabe (Konto löschen: LÖSCHEN eintippen, 8.11.2026); 17 px gegen das Zoomen auf iOS */
.frage-eingabe { display: grid; gap: 8px; margin: 0 0 16px; font-size: 17px; }   /* Feld erbt 17 px (globale Regel max(16px, 1em)) */
.frage-eingabe span { font-size: 15px; color: var(--text); }
.frage-eingabe input { min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--linie); background: var(--flaeche-2);
  color: var(--text); font: inherit; font-size: 17px; font-weight: 600; letter-spacing: .04em; }
.frage-eingabe input:focus { outline: 2px solid var(--rot); outline-offset: 1px; }
.frage-knoepfe .knopf:disabled { opacity: .4; }
/* Erstes Video (8.11.2026): Zahlen-Zeile mit der Schere, Speichern als Hauptweg, „Noch etwas ändern ›“ gut sichtbar darunter */
.schnitt-zeile { margin: 14px 4px 12px; text-align: center; font-size: 16px; line-height: 1.35; color: var(--text); }
.schnitt-zeile b { font-variant-numeric: tabular-nums; }
.schnitt-zeile small { display: block; margin-top: 2px; font-size: 14px; color: var(--leise); }
.knopf.noch-aendern { margin-top: 10px; font-weight: 650; }
/* Leiste unten in der Ergebnis-Ansicht (Wisam 8.11.2026, alle Videos): Zahlen-Zeile, Hauptknopf, darunter klein „Noch etwas ändern ›“ –
   ohne Scrollen sichtbar, über der Tab-Leiste. Das Video passt sich in der Höhe an (spielerAnpassen in app.js). */
.leiste-ergebnis { position: fixed; left: 0; right: 0; bottom: calc(var(--tabhoehe) + env(safe-area-inset-bottom)); z-index: 19;
  max-width: 560px; margin: 0 auto; padding: 10px 16px 0; background: var(--bg); border-top: 1px solid var(--linie); }
body.vollbild .leiste-ergebnis, body.ohne-tabs .leiste-ergebnis { bottom: env(safe-area-inset-bottom); }
.leiste-ergebnis.weg { display: none; }
.leiste-ergebnis .schnitt-zeile { margin: 0 0 8px; font-size: 14px; line-height: 1.35; color: var(--leise); }
.leiste-ergebnis .schnitt-zeile b { color: var(--text); }
.leiste-ergebnis .knopf.gross { padding: 15px 20px; }
.leiste-ergebnis #bearbeiten-platz { display: flex; flex-direction: column; align-items: center; }
.leiste-ergebnis #bearbeiten-platz .knopf { width: auto; margin: 2px 0 0; min-height: 44px; padding: 0 12px; font-size: 15px; font-weight: 650; }
.leiste-ergebnis #bearbeiten-platz .knopf:not(.wartend) { background: none; border: 0; color: var(--text); }
.leiste-ergebnis #bearbeiten-platz .knopf svg { width: 18px; height: 18px; }
.leiste-ergebnis #bearbeiten-platz .weg-hinweis { margin: 0 0 6px; text-align: center; }
.ansicht:has(#ergebnis-leiste) { padding-bottom: calc(var(--tabhoehe) + env(safe-area-inset-bottom) + var(--leisteh, 160px) + 24px); }
/* Kopf der Ergebnis-Ansicht mit Leiste: eine Zeile, damit das Video auch auf dem iPhone SE ganz über die Leiste passt.
   „gespart“ steht jetzt unten in der Zahlen-Zeile („… rausgeschnitten“), die Pille entfällt hier. */
.ansicht:has(#ergebnis-leiste) .ersparnis { padding: 0 44px 10px; }
.ansicht:has(#ergebnis-leiste) .ersparnis .zeiten { font-size: 30px; line-height: 38px; }
.ansicht:has(#ergebnis-leiste) .ersparnis .pille, .ansicht:has(#ergebnis-leiste) .ersparnis .arbeit-gespart { display: none; }
.ansicht:has(#ergebnis-leiste) .spieler { margin-bottom: 12px; }

/* Bleib-Hinweis im Ladescreen (Wisam 9.11.2026): deutlich unter Balken und Restzeit, solange der Upload läuft; danach „Fertig hochgeladen“ */
.bleib-platz { width: 100%; max-width: 360px; margin: 14px auto 2px; }
.bleib-platz:empty { display: none; }
.bleib { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border-radius: 14px; text-align: center;
  background: var(--flaeche-2); border: 1px solid var(--linie); }
.bleib b { font-size: 17px; line-height: 1.3; font-weight: 650; color: var(--text); font-variant-numeric: tabular-nums; }
.bleib span { font-size: 14px; line-height: 1.35; color: var(--leise); }
.bleib.fertig { background: color-mix(in srgb, var(--akzent) 10%, var(--flaeche)); border-color: color-mix(in srgb, var(--akzent) 40%, var(--linie)); }
.bleib.fertig b span { color: var(--akzent); }

/* ---------- Varianten (Wisam 20.11.2026, Vorschau-Kanal): Umschalter, Set-Seite, Auswahl, Ergebnis, Set in der Videos-Liste ---------- */
.modus-wahl { margin: 0 0 14px; }
.modus-wahl button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 40px;
  touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.modus-wahl .schloss { flex: none; color: var(--leise); }
.modus-wahl small { color: var(--leise); font-size: 12px; font-weight: 600; white-space: nowrap; }
.modus-wahl button { padding-left: 6px; padding-right: 6px; }
.var-start { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0 0 14px; padding: 28px 22px; text-align: center;
  border-radius: 24px; border: 1px solid var(--linie);
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--akzent) 9%, transparent), transparent 60%), var(--flaeche); }
.var-start-symbol { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--akzent); color: #000; }
.var-start-symbol svg { width: 30px; height: 30px; }
.var-start > b { font-size: 19px; letter-spacing: -0.02em; }
.var-start p { margin: 0; max-width: 360px; color: var(--leise); font-size: 14.5px; line-height: 1.45; }
.var-start .var-start-bsp { font-size: 13px; color: var(--leiser); }
.var-start .var-start-bsp b { color: var(--akzent); }
.var-bild { display: grid; place-items: center; color: var(--akzent); }
.var-bild svg { width: 22px; height: 22px; }

/* Set-Seite */
.var-kopf { text-align: center; margin: 0 0 4px; }
.var-name { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 44px; padding: 4px 6px; border: 0; background: none;
  font-size: 22px; font-weight: 700; letter-spacing: -0.02em; touch-action: manipulation; }
.var-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.var-name svg { flex: none; width: 18px; height: 18px; color: var(--leise); }
.var-unter { margin: 0; color: var(--leise); font-size: 13.5px; }
.var-form { display: flex; align-items: center; gap: 8px; }
.var-form input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--linie); background: var(--flaeche);
  color: var(--text); font: inherit; font-size: 17px; }
.var-form input:focus { outline: none; border-color: var(--akzent); }
.var-form .knopf { flex: none; min-height: 44px; }
.var-formel { margin: 14px 0 4px; padding: 18px 10px 14px; text-align: center; border-radius: var(--radius); border: 1px solid var(--linie);
  background: var(--flaeche); }
.var-faktoren { display: flex; justify-content: center; align-items: flex-start; gap: 6px; }
.var-faktor { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.var-faktor b { font-family: var(--zahlen); font-size: 34px; line-height: 40px; font-weight: 700; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums; }
.var-faktor small { max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--leise); font-size: 11.5px; }
.var-faktor.var-leer b { color: var(--leiser); }
.var-faktor.summe b { color: var(--akzent); }
.var-op { font-style: normal; font-size: 22px; line-height: 40px; color: var(--leiser); }
.var-formel-text { margin: 6px 0 0; color: var(--leise); font-size: 14px; }
.var-formel-zahl { margin: 0; color: var(--leise); font-size: 17px; }   /* „3 Videos“ (Wisam 27.11.2026) */
.var-formel-zahl b { font-family: var(--zahlen); font-size: 34px; line-height: 40px; font-weight: 700; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums; color: var(--akzent); margin-right: 6px; }
.var-abschnitt { margin: 22px 0 0; }
.var-abschnitt-kopf { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; }
.var-abschnitt-kopf h3 { margin: 0; font-size: 17px; letter-spacing: -0.01em; }
.var-zahl { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px;
  background: var(--flaeche-2); color: var(--leise); font-size: 12.5px; font-weight: 650; font-variant-numeric: tabular-nums; }
.var-voll { color: var(--leiser); font-size: 12.5px; }
.var-optional { color: var(--leiser); font-size: 12.5px; }   /* Call-to-Action optional (Wisam 29.11.2026) */
.var-reihe { display: flex; gap: 10px; margin: 0 -20px; padding: 2px 20px 6px; overflow-x: auto; scroll-snap-type: x proximity;
  scroll-padding: 0 20px; overscroll-behavior-x: contain; scrollbar-width: none; }
.var-reihe::-webkit-scrollbar { display: none; }
.var-clip { position: relative; flex: none; width: 96px; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 14px;
  border: 1px solid var(--linie); background: var(--flaeche-2); scroll-snap-align: start; }
.var-clip-bild { position: absolute; inset: 0; display: grid; place-items: center; color: var(--leiser); }
.var-clip-bild img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.var-clip-unten { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 1px; padding: 22px 7px 8px;
  background: linear-gradient(transparent, #000000c7); }
.var-clip-status { color: #fff; font-size: 11px; font-weight: 650; line-height: 1.2; }
.var-clip-dauer { color: #ffffffd0; font-size: 12px; font-variant-numeric: tabular-nums; min-height: 14px; }
.var-clip.fertig .var-clip-status { color: var(--akzent); }
.var-clip.fehler .var-clip-status, .var-clip.warnung .var-clip-status { color: #FF8A8A; }
.var-clip.fehler, .var-clip.warnung { border-color: color-mix(in srgb, var(--rot) 55%, var(--linie)); }
.var-clip-leiste { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #ffffff26; }
.var-clip-leiste i { display: block; height: 100%; background: var(--akzent); transition: width .5s ease; }
.var-clip-weg { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%;
  display: grid; place-items: center; background: #000000a8; color: #fff; touch-action: manipulation; }
.var-clip-weg::before { content: ""; position: absolute; inset: -8px; }        /* Trefferfläche 44 pt */
.var-clip-weg svg { width: 15px; height: 15px; }
.var-plus { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 0; cursor: pointer;
  border: 1.5px dashed #3A3A42; background: var(--flaeche); color: var(--text); font-size: 14px; font-weight: 600;
  touch-action: manipulation; -webkit-user-select: none; user-select: none; transition: transform 100ms ease-out, border-color .15s; }
.var-plus-symbol { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--akzent); color: #000;
  font-size: 22px; font-weight: 600; line-height: 1; }
.var-abschnitt-hinweis { margin: 6px 0 0; color: #FF8A8A; font-size: 13px; line-height: 1.4; }
.var-abschnitt-leer { margin: 6px 0 0; color: var(--leiser); font-size: 13px; }
.var-abschnitt-neu, .var-abschnitt-form { margin-top: 20px; }
.var-loeschen { display: block; margin: 28px auto 0; min-height: 44px; }
.var-menue h3 { margin-bottom: 14px; }
.var-menue-hinweis { margin: -4px 0 14px; font-size: 15px; line-height: 1.4; color: var(--leise); }
.var-menue label.knopf { cursor: pointer; -webkit-user-select: none; user-select: none; }

/* Auswahl der Kombinationen */
.var-regler { display: grid; gap: 4px; padding: 12px 14px; }
.var-regler-zeile { display: flex; align-items: center; gap: 10px; }
.var-regler input[type="range"] { flex: 1; min-width: 0; height: 36px; margin: 0; accent-color: var(--akzent); }
.var-regler output { min-width: 34px; text-align: right; font-family: var(--zahlen); font-size: 24px; font-weight: 700;
  font-variant-numeric: tabular-nums; }
.var-stufe { flex: none; width: 36px; height: 36px; padding: 0; border-radius: 50%; border: 1px solid var(--linie); background: var(--flaeche-2);
  font-size: 20px; line-height: 1; display: grid; place-items: center; position: relative; touch-action: manipulation;
  -webkit-user-select: none; user-select: none; }
.var-stufe::before { content: ""; position: absolute; inset: -4px; }
.var-regler-text { margin: 0; color: var(--leise); font-size: 12.5px; }
.var-chips-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 16px 0 6px; color: var(--leise);
  font-size: 13.5px; font-variant-numeric: tabular-nums; }
.var-chips-kopf .link { min-height: 44px; padding: 0 2px; }
.var-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 8px; }
.var-chip { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 10px; border-radius: 12px; border: 1px solid var(--linie);
  background: var(--flaeche); color: var(--leise); font-size: 13px; font-weight: 600; line-height: 1.3; text-align: left;
  touch-action: manipulation; -webkit-user-select: none; user-select: none; transition: transform 100ms ease-out, background .15s, border-color .15s; }
.var-chip::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--leiser); box-sizing: border-box; }
.var-chip.an { color: var(--text); border-color: color-mix(in srgb, var(--akzent) 60%, var(--linie));
  background: color-mix(in srgb, var(--akzent) 9%, var(--flaeche)); }
.var-chip.an::before { border-color: var(--akzent); background: var(--akzent);
  box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--akzent) 9%, var(--flaeche)); }
.var-plus:active, .var-chip:active, .var-stufe:active { transform: scale(.97); }
.var-kontingent { margin: 0 0 8px; color: var(--leise); font-size: 13.5px; line-height: 1.4; text-align: center; }
.var-kontingent:empty { display: none; }
.var-kontingent.knapp { color: #FF8A8A; }

/* Ergebnis eines Sets */
.var-tipp { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 18px; padding: 14px 16px; border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--akzent) 40%, var(--linie)); background: color-mix(in srgb, var(--akzent) 9%, var(--flaeche)); }
.var-tipp svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--akzent); }
.var-tipp p { margin: 0; font-size: 15px; line-height: 1.45; }
.var-export { margin-top: 18px; }
.var-sp { color: var(--akzent); }
.var-sp:empty { display: none; }

/* Videos-Liste: ein Set = ein Eintrag zum Aufklappen */
.var-set > summary { list-style: none; cursor: pointer; -webkit-user-select: none; user-select: none; }
.var-set > summary::-webkit-details-marker { display: none; }
.eintrag.var-set-zeile { grid-template-columns: 54px 1fr auto; }
.var-stapel { display: grid; place-items: center; color: var(--akzent); box-shadow: 3px -3px 0 -1px #3A3A42; }
.var-stapel svg { width: 22px; height: 22px; }
.var-pfeil { padding: 0 4px; color: var(--leise); font-size: 22px; line-height: 1; transition: transform .2s; }
.var-set[open] .var-pfeil { transform: rotate(90deg); }
.var-set-inhalt { display: grid; gap: 10px; margin: 10px 0 0 12px; padding-left: 12px; border-left: 2px solid var(--linie); }
.var-set-link { display: flex; align-items: center; min-height: 44px; color: var(--akzent); font-size: 14px; font-weight: 600; }
.var-set-inhalt .eintrag-knopf { margin-left: 68px; }

@media (hover: hover) and (pointer: fine) {
  .var-plus:hover { border-color: var(--akzent); }
  .var-chip:hover { border-color: #3A3A42; }
  .var-chip.an:hover { border-color: var(--akzent); }
}
@media (prefers-reduced-motion: reduce) { .var-plus, .var-chip, .var-pfeil, .var-clip-leiste i { transition: none; } }
.var-zeile .titel { white-space: normal; overflow-wrap: anywhere; }     /* „Hook 2 · Teil 1 · Ende 3“ ganz lesbar */
.var-set-inhalt .eintrag .titel { white-space: normal; overflow-wrap: anywhere; }
.var-abschnitt-weg { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 4px; border: 0;
  background: none; color: var(--leise); font-size: 13.5px; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.var-abschnitt-weg svg { width: 15px; height: 15px; }
.var-abschnitt-weg:disabled { opacity: .45; }

/* Kundenbindung (Vorschau-Kanal, 22.11.2026): Karte/Anleitung oben auf der Startseite, Hinweis beim ersten fertigen Video,
   Blatt von unten im Kündigungsablauf. Nur vorhandene Farben (--flaeche, --linie, --text, --leise, --akzent); Tippflächen 44 pt. */
#kb-oben:empty { display: none; }
.ansicht.im-ablauf > #kb-oben { display: none; }
.kb-karte { position: relative; margin: 0 0 18px; padding: 16px 16px 16px; }
.kb-karte.kb-aus { border-color: color-mix(in srgb, var(--akzent) 45%, var(--linie));
  background: color-mix(in srgb, var(--akzent) 6%, var(--flaeche)); }
.kb-karte h3 { margin: 0 44px 6px 0; font-size: 17px; line-height: 1.3; letter-spacing: -0.01em; color: var(--text); }
.kb-karte p { margin: 0; color: var(--leise); font-size: 15px; line-height: 1.45; white-space: pre-line; }
.kb-knoepfe { display: grid; gap: 10px; margin-top: 14px; }
.kb-knoepfe .knopf { min-height: 48px; padding: 12px 16px; font-size: 16px; }
.kb-zu { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0;
  background: none; border: 0; color: var(--leise); -webkit-tap-highlight-color: transparent; }
.kb-zu > span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--flaeche-2);
  border: 1px solid var(--linie); }
.kb-zu:active > span { filter: brightness(1.3); }
.kb-zu:focus-visible { outline: none; }
.kb-zu:focus-visible > span { outline: 2px solid var(--akzent); outline-offset: 2px; }
.kb-schritte { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.kb-schritte li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.4; color: var(--text); }
.kb-schritte li i { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; margin-top: -1px;
  font-style: normal; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; background: var(--akzent); color: #0A0A0C; }
.kb-schritte li span { min-width: 0; overflow-wrap: anywhere; }
/* Erstes fertiges Video: kompakt in der Leiste über dem Speichern-Knopf */
.kb-erst { position: relative; margin: 0 0 10px; padding: 12px 44px 12px 14px; border-radius: var(--radius-klein);
  background: var(--flaeche); border: 1px solid color-mix(in srgb, var(--akzent) 40%, var(--linie)); }
.kb-erst b { display: block; font-size: 15px; line-height: 1.3; color: var(--text); }
.kb-erst p { margin: 3px 0 0; font-size: 14px; line-height: 1.4; color: var(--leise); white-space: pre-line; }
.kb-erst .klein-knopf { margin-top: 10px; min-height: 44px; }
.kb-erst .kb-zu { top: 2px; right: 2px; }
/* Blatt von unten: am unteren Rand, über dem sicheren Bereich */
.frage-decke.kb-decke { padding: 0; z-index: 210; }
.kb-decke .frage.kb-blatt { position: relative; max-width: 560px; margin: 0; border-radius: 22px 22px 0 0; border-bottom: 0;
  padding: 22px 18px calc(16px + env(safe-area-inset-bottom)); max-height: calc(100% - 24px); overflow-y: auto;
  overscroll-behavior: contain; outline: none; }
.kb-blatt h3 { margin: 0 44px 8px 0; font-size: 20px; line-height: 1.25; letter-spacing: -0.015em; }
.kb-blatt .kb-text { margin: 0 0 18px; color: var(--leise); font-size: 15.5px; line-height: 1.5; white-space: pre-line; }
.kb-blatt .kb-antwort { color: var(--text); }
.kb-blatt .kb-zu { top: 10px; right: 8px; }
.kb-blatt .frage-knoepfe .knopf, .kb-formular .knopf { min-height: 50px; }
.kb-formular .feld input { font-size: 17px; }   /* ab 16 px zoomt iOS beim Tippen nicht */
.kb-formular .haken { color: var(--text); }
@media (prefers-reduced-motion: reduce) { .kb-decke, .kb-decke .frage { transition: none; } }
.kb-knoepfe .kb-leise { min-height: 44px; margin-top: -2px; padding: 0 12px; background: none; border: 0; color: var(--leise);
  font-size: 15px; font-weight: 600; justify-self: center; }
.kb-knoepfe .kb-leise:active { color: var(--text); }

/* „Auch als iPhone-App“ auf der Tarifseite (Wisam 23.11.2026) */
.tarif-appstore { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; margin: 24px 0 8px;
  font-weight: 700; color: var(--text, #F4F4F2); }
.tarif-appstore a { display: inline-flex; min-height: 44px; align-items: center; border-radius: 10px; }
.tarif-appstore img { height: 44px; width: auto; display: block; }

/* „‹ Varianten“ über einem Varianten-Video (Wisam 29.11.2026): zurück zum Set, Tippfläche 44 pt */
.set-zurueck { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px 0 0; margin: -6px 0 4px;
  color: var(--akzent); font-size: 17px; font-weight: 600; text-decoration: none; max-width: 100%; overflow: hidden;
  white-space: nowrap; text-overflow: ellipsis; -webkit-tap-highlight-color: transparent; }

/* Videos-Übersicht als Karten (Wisam 29./30.11.2026): 2 Spalten, eine Karte pro Projekt, Set mit Stapel und „N Videos“ */
.v-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; margin-top: 16px; }
.v-gruppe.v-zelle { display: block; position: relative; min-width: 0; }
.v-karte { display: block; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 16px; overflow: hidden;
  color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.v-karte:active { transform: scale(0.98); transition: transform .12s ease; }
.v-bild { position: relative; aspect-ratio: 9/13; background: var(--flaeche-2); display: grid; place-items: center; color: var(--leise); }
.v-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.v-bild > svg { width: 34px; height: 34px; }
.v-set { overflow: visible; box-shadow: 0 -5px 0 -1px color-mix(in srgb, var(--text) 12%, var(--bg)), 0 -10px 0 -4px color-mix(in srgb, var(--text) 6%, var(--bg)); }
.v-set .v-bild { border-radius: 15px 15px 0 0; overflow: hidden; }
.v-zahl { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.72); color: #fff; border-radius: 999px; padding: 4px 9px;
  font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.v-text { padding: 9px 10px 11px; min-width: 0; }
.v-text .titel { font-size: 14px; font-weight: 600; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow-wrap: anywhere; min-height: 2.6em; }
.v-text .status { display: inline-block; margin-top: 7px; }
.v-text .status.laeuft::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--akzent);
  margin-right: 6px; vertical-align: 1px; }
.v-zelle .x-knopf { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; background: rgba(0,0,0,.55); color: #fff;
  border-color: transparent; }
.v-zelle .x-knopf::after { content: ""; position: absolute; inset: -6px; }    /* Tippfläche 44 pt */
.v-hinweis { margin: 0 0 4px; }
.v-frist { margin-top: 16px; }
