/* TimePeek Showcase Player: ruhige, nutzerkomfortable Vorschau ohne technische Zeit- oder Film-Labels,
   mit Live-Themen-Einblendung, Themen-Navigation und sanfter Bedienleiste. */
.tp-cinema{
  display:flex;flex-direction:column;
  background:var(--card);border:1px solid var(--line);border-radius:24px;overflow:hidden;
  box-shadow:0 24px 60px -30px rgba(15,26,44,.28), 0 2px 10px -4px rgba(15,26,44,.08);
}
.tp-cinema-stage{
  position:relative;width:100%;aspect-ratio:16/9;background:#111B17;overflow:hidden;
}
.tp-cinema-stage:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.tp-cinema-stage video{
  position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;cursor:pointer;
}

/* Live-Themen-Einblendung oben links (zeigt ruhig, was gerade zu sehen ist) */
.tp-cinema-now{
  position:absolute;top:16px;left:16px;z-index:4;
  display:inline-flex;align-items:center;gap:8px;
  padding:7px 14px;border-radius:999px;
  background:rgba(17,27,23,.68);color:#F3F7F5;
  border:1px solid rgba(255,255,255,.16);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  font-size:12.5px;font-weight:620;letter-spacing:.01em;
  pointer-events:none;
  transition:opacity .35s ease, transform .35s ease;
}
.tp-cinema-now.swap{opacity:.25;transform:translateY(-3px)}
.tp-cinema-now i{
  width:7px;height:7px;border-radius:50%;background:#7DB5A2;
  box-shadow:0 0 10px rgba(125,181,162,.65);flex:none;
}

/* Großer, einladender Start-Knopf (nur wenn pausiert) */
.tp-cinema-bigplay{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:4;
  width:68px;height:68px;border-radius:50%;
  border:1px solid rgba(255,255,255,.28);
  background:rgba(59,114,97,.92);
  color:#FFFFFF;display:grid;place-items:center;cursor:pointer;
  box-shadow:0 18px 42px -12px rgba(0,0,0,.55),0 0 0 8px rgba(59,114,97,.22);
  transition:transform .22s var(--ease),opacity .22s ease,box-shadow .22s ease;
}
.tp-cinema-bigplay svg{width:26px;height:26px;fill:currentColor;margin-left:3px}
.tp-cinema-bigplay:hover{
  transform:translate(-50%,-50%) scale(1.06);
  box-shadow:0 22px 48px -12px rgba(0,0,0,.62),0 0 0 12px rgba(125,181,162,.26);
}
.tp-cinema.playing .tp-cinema-bigplay{opacity:0;pointer-events:none;transform:translate(-50%,-50%) scale(.88)}

/* Ruhige, schlanke Bedienleiste (erscheint beim Drüberfahren oder wenn pausiert) */
.tp-cinema-bar{
  position:absolute;left:14px;right:14px;bottom:14px;z-index:5;
  display:flex;align-items:center;gap:6px;
  padding:7px 11px;border-radius:16px;
  background:rgba(17,27,23,.78);color:#F3F7F5;
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  box-shadow:0 12px 30px -12px rgba(0,0,0,.55);
  opacity:.96;transition:opacity .24s ease,transform .24s ease;
}
.tp-cinema.playing .tp-cinema-bar{opacity:0;transform:translateY(6px)}
.tp-cinema.playing .tp-cinema-stage:hover .tp-cinema-bar,
.tp-cinema.playing .tp-cinema-stage:focus-within .tp-cinema-bar,
.tp-cinema.playing .tp-cinema-bar:hover{opacity:1;transform:none}

.tp-cinema-btn{
  flex:none;height:32px;min-width:32px;padding:0 7px;border-radius:10px;
  border:1px solid transparent;background:transparent;color:#F3F7F5;
  display:inline-flex;align-items:center;justify-content:center;gap:4px;
  font-size:12px;font-weight:680;cursor:pointer;
  transition:background-color .15s ease,border-color .15s ease,color .15s ease;
}
.tp-cinema-btn svg{width:17px;height:17px;fill:currentColor}
.tp-cinema-btn:hover{background:rgba(255,255,255,.14)}
.tp-cinema-btn.on{background:rgba(125,181,162,.22);border-color:rgba(125,181,162,.5);color:#A7D6C4}

.tp-cinema-volwrap{
  display:inline-flex;align-items:center;gap:4px;flex:none;
}
.tp-cinema-vol{
  width:52px;height:4px;accent-color:#7DB5A2;cursor:pointer;
}

.tp-cinema-track{
  position:relative;flex:1;height:28px;display:flex;align-items:center;cursor:pointer;
  touch-action:none;margin:0 4px;
}
.tp-cinema-rail{
  position:relative;width:100%;height:5px;border-radius:999px;
  background:rgba(255,255,255,.22);overflow:visible;
}
.tp-cinema-buf{
  position:absolute;left:0;top:0;bottom:0;width:0;border-radius:999px;
  background:rgba(255,255,255,.3);pointer-events:none;
}
.tp-cinema-fill{
  position:absolute;left:0;top:0;bottom:0;width:0;border-radius:999px;
  background:#7DB5A2;pointer-events:none;
}
.tp-cinema-tick{
  position:absolute;top:-2px;width:2px;height:9px;border-radius:2px;
  background:rgba(255,255,255,.72);transform:translateX(-50%);pointer-events:none;
}
.tp-cinema-tip{
  position:absolute;bottom:28px;left:0;transform:translateX(-50%);
  padding:5px 10px;border-radius:9px;white-space:nowrap;
  background:rgba(9,15,22,.92);color:#FFFFFF;border:1px solid rgba(255,255,255,.16);
  font-size:12px;font-weight:600;
  opacity:0;pointer-events:none;transition:opacity .14s ease;
}
.tp-cinema-track:hover .tp-cinema-tip{opacity:1}

/* Themen-Leiste unter der Vorschau (ohne Zeitstempel, mit sanftem Fortschritt im aktiven Chip) */
.tp-cinema-chapters{
  display:flex;gap:7px;flex-wrap:wrap;justify-content:center;
  padding:14px 16px;
  background:var(--bg2);border-top:1px solid var(--line);
}
.tp-cinema-ch{
  position:relative;overflow:hidden;
  display:inline-flex;align-items:center;gap:6px;
  padding:7px 14px;border-radius:999px;border:1px solid var(--line);
  background:var(--card);color:var(--ink2);font-size:13px;font-weight:580;cursor:pointer;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.tp-cinema-ch::after{
  content:"";position:absolute;left:0;bottom:0;height:2.5px;width:var(--ch-p,0%);
  background:var(--accent);opacity:0;transition:opacity .2s ease,width .2s linear;
}
.tp-cinema-ch:hover{border-color:color-mix(in srgb,var(--accent) 55%,var(--line));color:var(--ink);transform:translateY(-1px)}
.tp-cinema-ch.on{
  background:color-mix(in srgb,var(--accent) 12%,var(--card));
  border-color:color-mix(in srgb,var(--accent) 52%,var(--line));
  color:var(--accent);font-weight:680;
  box-shadow:0 6px 18px -12px color-mix(in srgb,var(--accent) 55%,transparent);
}
.tp-cinema-ch.on::after{opacity:1}
.tp-cinema-ch small{display:none}

/* Dezenter Ton-Schalter unten rechts (wenn stumm gestartet) */
.tp-cinema-sound{
  position:absolute;right:16px;bottom:16px;z-index:4;
  display:inline-flex;align-items:center;gap:7px;
  padding:7px 13px 7px 10px;border-radius:999px;cursor:pointer;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(17,27,23,.72);color:#F3F7F5;
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  font:inherit;font-size:12.5px;font-weight:620;
  transition:opacity .22s ease,transform .22s ease,background .2s ease;
}
.tp-cinema-sound svg{width:16px;height:16px;fill:currentColor}
.tp-cinema-sound:hover{background:rgba(59,114,97,.92)}
.tp-cinema-sound:focus-visible{outline:2px solid #7DB5A2;outline-offset:2px}
.tp-cinema:not(.playing) .tp-cinema-sound,
.tp-cinema.has-sound .tp-cinema-sound{opacity:0;pointer-events:none;transform:translateY(6px)}
.tp-cinema.playing .tp-cinema-stage:hover .tp-cinema-sound,
.tp-cinema.playing .tp-cinema-stage:focus-within .tp-cinema-sound{opacity:0;pointer-events:none}

@media (max-width:640px){
  .tp-cinema{border-radius:18px}
  .tp-cinema-bar{left:8px;right:8px;bottom:8px;padding:6px 8px;gap:3px}
  .tp-cinema-vol,.tp-cinema-btn[data-act="prev"],.tp-cinema-btn[data-act="next"]{display:none}
  .tp-cinema-now{top:10px;left:10px;font-size:11.5px;padding:5px 11px}
  .tp-cinema-sound{right:10px;bottom:10px;padding:6px 11px 6px 9px;font-size:11.5px}
  .tp-cinema-chapters{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;padding:10px 12px;scrollbar-width:none}
  .tp-cinema-chapters::-webkit-scrollbar{display:none}
  .tp-cinema-ch{flex:none;font-size:12px;padding:6px 12px}
}
@media (prefers-reduced-motion:reduce){
  .tp-cinema-bigplay,.tp-cinema-bar,.tp-cinema-btn,.tp-cinema-ch,.tp-cinema-now{transition:none}
}

/* Abschnitt-Rahmen auf Start- und Organisationsseiten */
.film .film-frame{max-width:1040px;margin:28px auto 0}
.film .film-frame .tp-cinema{margin:0}
.film .film-cta{justify-content:center;margin-top:26px}
.film{scroll-margin-top:96px}
