/* Center-Film mit Kapiteln (25.10.2026), Für Center. Player-Logik: centerfilm.js. Farben aus landing.css/site.css
   (--teal, --teal-vivid, --navy, --ink, --body, --line), Bühne immer dunkel wie die anderen Filme der Landing. */

.cfilm { position: relative; z-index: 2; padding: clamp(56px, 10vh, 120px) clamp(20px, 5vw, 64px) clamp(24px, 5vh, 56px); }
.cfilm__in { max-width: 1160px; margin: 0 auto; }
.cfilm__kopf { margin-bottom: clamp(20px, 3.6vh, 36px); }
.cfilm__kopf .eyebrow { margin-bottom: clamp(12px, 2vh, 18px); }
.cfilm__titel { margin: 0; font-size: clamp(30px, 3.6vw, 54px); line-height: 1.04; letter-spacing: -.032em; font-weight: 800; color: var(--ink); }

/* Der schwebende „Sign up“-Knopf der Landing tritt zurück, solange der Player gut im Bild ist (er läge sonst auf der
   Steuerleiste); gesetzt von centerfilm.js, gleiches Muster wie body.film-im-bild in site.css. */
body.cfilm-im-bild .schwebe { opacity: 0; pointer-events: none; }

/* Player + Kapitelliste: breit nebeneinander, schmal untereinander */
.cfp { display: grid; grid-template-columns: minmax(0, 1fr) clamp(260px, 25vw, 320px); gap: clamp(14px, 1.6vw, 22px); align-items: start; }
.cfp__buehne { position: relative; aspect-ratio: 16 / 9; border-radius: clamp(14px, 1.4vw, 20px); overflow: hidden; background: #04131A;
  box-shadow: 0 30px 70px -28px rgba(4, 19, 26, .55), 0 0 0 1px rgba(255, 255, 255, .06); outline: none; color: #fff;
  -webkit-tap-highlight-color: transparent; }
.cfp__buehne:focus-visible { box-shadow: 0 0 0 3px #7FE3DB, 0 30px 70px -28px rgba(4, 19, 26, .55); }
.cfp__poster, .cfp__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; background: #04131A; }
.cfp__poster { object-fit: cover; }
.cfp--gestartet .cfp__poster { visibility: hidden; }

/* Startbild */
.cfp__start { position: absolute; inset: 0; z-index: 6; display: flex; align-items: center; justify-content: center; gap: clamp(14px, 1.6vw, 22px);
  border: 0; margin: 0; padding: 0 clamp(16px, 3vw, 32px); cursor: pointer; color: #fff; font: inherit; text-align: start;
  background: transparent; }   /* Startbild ist das fertige Thumbnail (Text + 8 MIN eingebrannt) */
.cfp__start[hidden] { display: none; }
.cfp__start:focus-visible { outline: 3px solid #7FE3DB; outline-offset: -3px; }
.cfp__startknopf { position: relative; flex: none; width: clamp(64px, 7vw, 96px); height: clamp(64px, 7vw, 96px); border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal), var(--navy)); box-shadow: 0 14px 34px rgba(43, 167, 160, .45), inset 0 0 0 1px rgba(255, 255, 255, .22);
  transition: transform .3s var(--ease-soft, ease), box-shadow .3s; }
.cfp__startknopf::before { content: none; }   /* kein Pulsieren (Owner: wirkt billig) */
.cfp__startknopf svg { width: 40%; height: 40%; margin-left: 8%; fill: currentColor; }
.cfp__start:hover .cfp__startknopf { transform: scale(1.07); box-shadow: 0 18px 44px rgba(43, 167, 160, .6), inset 0 0 0 1px rgba(255, 255, 255, .3); }
.cfp__starttxt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }   /* Text steht schon im Thumbnail */
.cfp__starttxt b { display: block; font-size: clamp(19px, 2vw, 28px); line-height: 1.12; font-weight: 800; letter-spacing: -.015em; text-shadow: 0 2px 16px rgba(0, 0, 0, .35); }
.cfp__starttxt span { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cfp__chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: rgba(4, 19, 26, .62); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* Steuerleiste unten über dem Bild */
.cfp__leiste { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 36px clamp(10px, 1.4vw, 18px) clamp(6px, .8vw, 10px);
  background: linear-gradient(to top, rgba(4, 19, 26, .94), rgba(4, 19, 26, .72) 50%, rgba(4, 19, 26, 0));
  transition: opacity .25s ease, transform .25s ease; }
.cfp:not(.cfp--gestartet) .cfp__leiste { opacity: 0; visibility: hidden; }
.cfp--ruhig .cfp__leiste { opacity: 0; transform: translateY(8px); pointer-events: none; }
.cfp--ruhig .cfp__buehne { cursor: none; }
.cfp--ende .cfp__leiste { opacity: 1; transform: none; }

.cfp__zeitleiste { position: relative; height: 22px; display: flex; align-items: center; cursor: pointer; touch-action: none; outline: none; }
.cfp__zeitleiste:focus-visible { box-shadow: 0 0 0 2px var(--teal-vivid, #37C6BE); border-radius: 6px; }
.cfp__segmente { display: flex; width: 100%; height: 100%; align-items: center; gap: 3px; }
.cfp__seg { position: relative; flex: 1 1 0; min-width: 2px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .26); overflow: hidden;
  transition: height .15s ease; }
.cfp__seg i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); }
.cfp__puffer { background: rgba(255, 255, 255, .34); }
.cfp__fuell { background: var(--teal-vivid, #37C6BE); }
.cfp__seg.drueber, .cfp__zeitleiste.cfp--zieht .cfp__seg.jetzt { height: 8px; }
.cfp__zeitleiste:hover .cfp__seg { height: 6px; }
.cfp__zeitleiste:hover .cfp__seg.drueber { height: 9px; }
.cfp__kopfpunkt { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--teal-vivid, #37C6BE);
  box-shadow: 0 0 0 3px rgba(55, 198, 190, .25); transform: scale(.7); transition: transform .15s ease; pointer-events: none; }
.cfp__zeitleiste:hover .cfp__kopfpunkt, .cfp__zeitleiste.cfp--zieht .cfp__kopfpunkt, .cfp__zeitleiste:focus-visible .cfp__kopfpunkt { transform: scale(1); }
.cfp__tip { position: absolute; bottom: calc(100% + 8px); left: 0; transform: translateX(-50%); max-width: min(280px, 90%); padding: 7px 11px 8px; border-radius: 10px;
  background: rgba(4, 19, 26, .94); box-shadow: 0 10px 30px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .12); text-align: center;
  pointer-events: none; opacity: 0; transition: opacity .12s ease; white-space: nowrap; }
.cfp__tip b { display: block; font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.cfp__tip span { display: block; margin-top: 2px; font-size: 12px; color: rgba(255, 255, 255, .72); font-variant-numeric: tabular-nums; }
.cfp__zeitleiste.cfp--tip .cfp__tip { opacity: 1; }

.cfp__reihe { display: flex; align-items: center; gap: clamp(2px, .5vw, 8px); margin-top: 2px; min-width: 0; }
.cfp__knopf { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border: 0; padding: 0; margin: 0; border-radius: 50%;
  background: transparent; color: #fff; cursor: pointer; }
.cfp__knopf:hover { background: rgba(255, 255, 255, .12); }
.cfp__knopf:focus-visible, .cfp__kaptitel:focus-visible, .cfp__regler:focus-visible { outline: 2px solid #7FE3DB; outline-offset: 1px; }
.cfp__knopf svg { width: 24px; height: 24px; fill: currentColor; }
.cfp__pp .i-pause, .cfp__pp svg + svg { display: none; }
.cfp--spielt .cfp__pp svg:first-child { display: none; }
.cfp--spielt .cfp__pp svg + svg { display: block; }
.cfp__stumm svg .w1, .cfp__stumm svg .w2, .cfp__stumm svg .x { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.cfp__stumm svg .x { display: none; }
.cfp--stumm .cfp__stumm svg .w1, .cfp--stumm .cfp__stumm svg .w2 { display: none; }
.cfp--stumm .cfp__stumm svg .x { display: block; }
.cfp--leise .cfp__stumm svg .w2 { display: none; }
.cfp__listeknopf svg, .cfp__vollknopf svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cfp__vollknopf .aus { display: none; }
.cfp--voll .cfp__vollknopf .an { display: none; }
.cfp--voll .cfp__vollknopf .aus { display: inline; }

.cfp__laut { display: flex; align-items: center; }
.cfp__regler { -webkit-appearance: none; appearance: none; width: 0; opacity: 0; height: 4px; margin: 0; border-radius: 2px; cursor: pointer;
  background: linear-gradient(to right, #fff var(--wert, 50%), rgba(255, 255, 255, .3) var(--wert, 50%)); transition: width .2s ease, opacity .2s ease, margin .2s ease; }
.cfp__laut:hover .cfp__regler, .cfp__laut:focus-within .cfp__regler { width: 76px; opacity: 1; margin: 0 8px 0 2px; }
.cfp__regler::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 0; }
.cfp__regler::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 0; }
.cfp--ohne-regler .cfp__regler { display: none; }
@media (hover: none) { .cfp__regler { display: none; } }

.cfp__zeit { flex: none; display: flex; gap: 5px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .92); padding: 0 4px; }
.cfp__zeit .trenn, .cfp__zeit .ges { color: rgba(255, 255, 255, .62); }
.cfp__kaptitel { min-width: 0; display: inline-flex; align-items: center; gap: 2px; height: 32px; padding: 0 6px 0 12px; margin-left: 4px; border: 0; border-radius: 8px;
  background: transparent; color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; position: relative; }
.cfp__kaptitel::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 1px; background: rgba(255, 255, 255, .35); }
.cfp__kaptitel:hover { background: rgba(255, 255, 255, .12); }
.cfp__kaptitel .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cfp__kaptitel svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.cfp__luecke { flex: 1 1 auto; min-width: 0; }
.cfp__listeknopf { display: none; }

/* Endbild */
.cfp__ende { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; padding: 20px 20px 90px;
  background: rgba(4, 19, 26, .84); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cfp__ende[hidden] { display: none; }
.cfp__endein { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cfp__reg.btn { display: inline-flex; align-items: center; justify-content: center; font-size: clamp(17px, 1.7vw, 22px); min-height: clamp(52px, 5.4vw, 64px); padding: 0 clamp(26px, 3vw, 40px); }
.cfp__nochmal { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; color: rgba(255, 255, 255, .88); font: inherit;
  font-size: 15px; font-weight: 700; cursor: pointer; padding: 8px 12px; border-radius: 999px; }
.cfp__nochmal:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.cfp__nochmal:focus-visible { outline: 2px solid #7FE3DB; }
.cfp__nochmal svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Kapitelliste */
.cfp__liste { min-width: 0; border-radius: clamp(14px, 1.4vw, 20px); background: var(--surface, #fff); box-shadow: 0 0 0 1px var(--line, #E7EDF2);
  display: flex; flex-direction: column; overflow: hidden; }
.cfp__listetitel { margin: 0; padding: 14px 16px 10px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--faint, #93A1B0); }
.cfp__kapitel { list-style: none; margin: 0; padding: 0 6px 6px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.cfp__kap { width: 100%; display: flex; align-items: baseline; gap: 12px; padding: 9px 10px; border: 0; border-radius: 10px; background: transparent;
  color: var(--ink2, #2A3742); font: inherit; font-size: 15px; line-height: 1.3; text-align: start; cursor: pointer; }
.cfp__kap .z { flex: none; min-width: 2.6em; font-size: 13px; font-weight: 700; color: var(--teal, #2BA7A0); font-variant-numeric: tabular-nums; }
.cfp__kap .n { min-width: 0; }
.cfp__kap:hover { background: var(--hover, rgba(11, 58, 83, .05)); }
.cfp__kap:focus-visible { outline: 2px solid var(--teal, #2BA7A0); outline-offset: -2px; }
.cfp__kap[aria-current] { background: var(--teal-bg, #EAF6F5); color: var(--ink, #16222D); font-weight: 700; }

/* Vollbild: Bühne füllt den Schirm */
.cfp__buehne:fullscreen { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.cfp__buehne:-webkit-full-screen { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }

@media (min-width: 981px) {
  /* Liste so hoch wie der Player (Höhe setzt das Raster über die Bühne) */
  .cfp { align-items: stretch; }
  .cfp__liste { position: relative; }
  .cfp__liste > * { flex: none; }
  .cfp__kapitel { flex: 1 1 0; min-height: 0; }
  .cfp__buehne { align-self: start; }
  .cfp__liste { height: 0; min-height: 100%; }
}
@media (max-width: 980px) {
  .cfp { grid-template-columns: minmax(0, 1fr); }
  .cfp__kapitel { max-height: 300px; }
  .cfp__listeknopf { display: grid; }
}
@media (max-width: 560px) {
  .cfilm { padding-left: 16px; padding-right: 16px; }
  .cfp__buehne { border-radius: 14px; margin: 0 -4px; }
  .cfp__leiste { padding: 28px 6px 2px; }
  .cfp__knopf { width: 36px; height: 36px; }
  .cfp__knopf svg { width: 22px; height: 22px; }
  .cfp__zeit { font-size: 12px; gap: 3px; padding: 0 2px; }
  .cfp__kaptitel { font-size: 12px; padding-left: 8px; height: 28px; }
  .cfp__zeitleiste { height: 26px; }
  .cfp__seg { height: 4px; }
  .cfp__starttxt b { font-size: 18px; }
  .cfp__chip { height: 22px; font-size: 12px; padding: 0 8px; }
  .cfp__ende { padding-bottom: 70px; }
  .cfp__endein { gap: 6px; }
  .cfp__reg.btn { font-size: 16px; min-height: 46px; padding: 0 22px; }
}

/* Reduzierte Bewegung: keine Übergänge, kein Puls, Listen-Scroll ohne Gleiten (centerfilm.js) */
@media (prefers-reduced-motion: reduce) {
  .cfp__startknopf::before { animation: none; opacity: .5; }
  .cfp__leiste, .cfp__seg, .cfp__kopfpunkt, .cfp__tip, .cfp__regler, .cfp__startknopf { transition: none; }
  .cfp--ruhig .cfp__leiste { transform: none; }
}
