/* Video-Teaser: Trailer als bewegtes Bild, goldener Play-Knopf, ganzer Film erst nach Klick.
   Farben über Variablen anpassbar: --vt-gold, --vt-gold-light, --vt-line, --vt-radius, --vt-ratio. */
.vteaser { margin: 0; scroll-margin-top: 16px; --vt-gold: var(--gold, #d6a94c); --vt-gold-light: var(--gold-light, #f3dfa6); --vt-line: var(--line, #24221f); --vt-radius: 18px; --vt-ratio: 4 / 5; }
.vteaser-stage { position: relative; aspect-ratio: var(--vt-ratio); border-radius: var(--vt-radius); overflow: hidden; border: 1px solid var(--vt-line); background: #111; box-shadow: 0 18px 48px rgb(0 0 0 / 35%); }
.vteaser-video { display: block; width: 100%; height: 100%; object-fit: cover; background: #111; }

/* Bildfolge (data-stills): Standbilder der Momente, wenn das Video nicht von selbst laufen darf */
.vteaser-stills { position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none; transition: opacity .3s; }
.vteaser.is-stills .vteaser-stills { opacity: 1; }
.vteaser-stills img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.vteaser-stills img.is-on { opacity: 1; animation: vteaser-zoom calc(var(--vt-seg, 2s) + .4s) ease-out both; }
@keyframes vteaser-zoom { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
/* Verlauf unten, damit Zeitleiste und Knopf auf hellen Bildern lesbar bleiben */
.vteaser-stage::after { content: ""; position: absolute; inset: auto 0 0 0; z-index: 2; height: 34%; background: linear-gradient(to top, rgb(0 0 0 / 38%), transparent); pointer-events: none; }
.vteaser.is-full .vteaser-stage::after { display: none; }
.vteaser-play, .vteaser-timeline, .vteaser-time { z-index: 3; }
.vteaser-time { display: none; position: absolute; left: 6px; top: 6px; padding: 3px 6px; border-radius: 6px; background: rgb(10 10 12 / 72%); color: var(--vt-gold-light); font: 600 10px/1 system-ui, sans-serif; font-variant-numeric: tabular-nums; pointer-events: none; }

/* Knöpfe zurücksetzen: viele Seiten haben globale button-Regeln (code-lederhos.de: main.css) */
.vteaser-play, .vteaser-mark { -webkit-appearance: none; appearance: none; margin: 0; padding: 0; border: 0; background: none; cursor: pointer; }
.vteaser-play {
  position: absolute; left: 50%; top: var(--vt-play-top, 50%); transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: #141210; font: 600 13px/1 "Instrument Sans", system-ui, sans-serif; letter-spacing: .01em;
  opacity: .8; transition: opacity .2s, transform .25s cubic-bezier(.2,.7,.2,1);
}
.vteaser-play-icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(140deg, var(--vt-gold-light), var(--vt-gold) 60%, #b98b33);
  box-shadow: 0 8px 26px rgb(0 0 0 / 40%), 0 0 0 6px rgb(214 169 76 / 18%);
}
.vteaser-play-icon svg { width: 22px; height: 22px; margin-left: 3px; }
.vteaser-play-text { padding: 7px 12px; border-radius: 999px; background: rgb(10 10 12 / 72%); color: var(--vt-gold-light); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.vteaser-play:hover, .vteaser-play:focus-visible { opacity: 1; }
.vteaser-play[hidden] { display: none; }  /* eigene display-Regel würde hidden sonst überstimmen */
.vteaser-play:active { transform: translate(-50%, -50%) scale(.96); }

.vteaser-timeline { position: absolute; left: 14px; right: 14px; bottom: 14px; height: 2px; border-radius: 2px; background: rgb(255 255 255 / 28%); }
.vteaser-progress { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 2px; background: var(--vt-gold); }
.vteaser-mark { position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; display: grid; place-items: center; }
.vteaser-mark::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgb(255 255 255 / 75%); box-shadow: 0 0 0 2px rgb(10 10 12 / 45%); transition: transform .2s, background .2s; }
.vteaser-mark.is-active::before { background: var(--vt-gold); transform: scale(1.35); }
.vteaser-mark span { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); padding: 3px 6px; border-radius: 6px; background: rgb(10 10 12 / 80%); color: var(--vt-gold-light); font: 600 10.5px/1 "Instrument Sans", system-ui, sans-serif; white-space: nowrap; opacity: 0; transition: opacity .2s; pointer-events: none; }
.vteaser-mark:hover span, .vteaser-mark:focus-visible span, .vteaser-mark.is-active span { opacity: 1; }

.vteaser.is-full .vteaser-timeline { display: none; }
.vteaser figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 10px; padding: 0 2px; }
.vteaser figcaption b { font: 500 16px/1.2 "Bodoni Moda", serif; color: var(--vt-gold-light); }
.vteaser figcaption small { color: var(--muted, #a39d93); font-size: 12px; white-space: nowrap; }

/* Kompakte Karte (.vteaser--kompakt): kleine bewegte Vorschau links, Text rechts, ganze Karte klickbar.
   Nach dem Klick wird daraus der große Player, nach dem Ende wieder die Karte. */
.vteaser-cta { display: none; }
.vteaser--kompakt:not(.is-full) { display: grid; grid-template-columns: var(--vt-thumb, 120px) 1fr; align-items: center; gap: 14px; padding: 10px; border: 1px solid var(--vt-line); border-radius: 14px; background: var(--card, #121215); cursor: pointer; }
.vteaser--kompakt:not(.is-full) .vteaser-stage { border-radius: 10px; box-shadow: none; }
.vteaser--kompakt:not(.is-full) .vteaser-play-text,
.vteaser--kompakt:not(.is-full) .vteaser-mark span { display: none; }
.vteaser--kompakt:not(.is-full) .vteaser-time { display: block; }
.vteaser--kompakt:not(.is-full) .vteaser-timeline { left: 8px; right: 8px; bottom: 9px; }
.vteaser--kompakt:not(.is-full) .vteaser-mark { width: 16px; height: 16px; margin: -8px 0 0 -8px; }
.vteaser--kompakt:not(.is-full) .vteaser-mark::before { width: 6px; height: 6px; }
.vteaser--kompakt:not(.is-full) .vteaser-play { top: auto; left: 6px; bottom: 19px; transform: none; opacity: .92; }
.vteaser--kompakt:not(.is-full) .vteaser-play-icon { width: 32px; height: 32px; box-shadow: 0 4px 14px rgb(0 0 0 / 45%), 0 0 0 4px rgb(214 169 76 / 20%); }
.vteaser--kompakt:not(.is-full) .vteaser-play-icon svg { width: 13px; height: 13px; margin-left: 2px; }
.vteaser--kompakt:not(.is-full) figcaption { flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; margin: 0; padding: 0; }
.vteaser--kompakt:not(.is-full) figcaption b { font-size: 18px; line-height: 1.15; }
.vteaser--kompakt:not(.is-full) .vteaser-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--vt-gold); font: 600 13px/1 "Instrument Sans", system-ui, sans-serif; }
.vteaser--kompakt:not(.is-full) .vteaser-cta svg { width: 14px; height: 14px; transition: transform .2s; }
.vteaser--kompakt:not(.is-full):hover .vteaser-cta svg { transform: translateX(3px); }

@media (max-width: 380px) {
  .vteaser-play-icon { width: 46px; height: 46px; }
  .vteaser-play-icon svg { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .vteaser-play, .vteaser-mark::before { transition: none; }
  .vteaser-stills img { transition-duration: .6s; }
  .vteaser-stills img.is-on { animation: none; }  /* ruhiger Wechsel ohne Zoom */
}
