/* ==========================================================================
   Titan — the video (VSL) on the pages in the light design: de-v2.html (Germany, /de) and it-v2.html (/it/v2).
   The player of css/vsl.css, restyled for a white page, in the hero where the moving illustration was.
   js/vsl.js drives it (play, progress events, end screen). Since 24 Oct 2026.
   ========================================================================== */
.hero__stage--vsl { min-height: 0; align-content: center; }
.vsl { position: relative; width: min(100%, 640px); }
.vsl__frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000;
  box-shadow: 0 34px 80px -30px rgba(20, 16, 8, .6), 0 0 0 1px rgba(169, 131, 47, .4);
}
.vsl__video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.vsl__play {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 12px;
  padding: 15% 0 0;                   /* the button sits below the face in the poster */
  border: 0; font: inherit; color: #fff; text-align: center; cursor: pointer;
  background: radial-gradient(ellipse 70% 70% at 50% 52%, rgba(4, 5, 6, .06), rgba(4, 5, 6, .5));
  transition: opacity .45s ease;
}
.vsl__btn {
  position: relative; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; color: #1d1000;
  background: linear-gradient(180deg, #ffd27a, #f4a93c);
  box-shadow: 0 18px 40px -12px rgba(244, 169, 60, .7), inset 0 1px 0 rgba(255, 255, 255, .6);
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1);
}
.vsl__btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: vsl-pulse 2.6s ease-out infinite; }
.vsl__play:hover .vsl__btn { transform: scale(1.07); }
.vsl__btn svg { width: 30px; height: 30px; margin-left: 4px; fill: currentColor; }
.vsl__label { display: grid; gap: 3px; text-shadow: 0 2px 14px rgba(0, 0, 0, .7); }
.vsl__label b { font-size: 18px; font-weight: 650; }
.vsl__label span { font-size: 14px; color: rgba(255, 255, 255, .82); }
.vsl.is-playing .vsl__play { opacity: 0; pointer-events: none; }
/* end screen: the prices, or watch again */
.vsl__end {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 18px; padding: 24px;
  text-align: center; color: #fff; background: rgba(4, 5, 6, .84); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.vsl__end[hidden] { display: none; }
.vsl__end-title { font-size: clamp(20px, 2.2vw, 28px); font-weight: 650; line-height: 1.2; }
.vsl__end-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.vsl__end .btn { color: #1d1000; background: linear-gradient(180deg, #ffd27a, #f4a93c); }
.vsl__end .btn--ghost { color: #fff; background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); }
.vsl__end .btn--ghost:hover { box-shadow: inset 0 0 0 1px #fff; }
@keyframes vsl-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 210, 122, .55); }
  70% { box-shadow: 0 0 0 22px rgba(255, 210, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 210, 122, 0); }
}
@media (prefers-reduced-motion: reduce) { .vsl__btn::after { animation: none; } }

/* phones and tablets: headline, then the video, then the text and the buttons (as the illustration was) */
@media (max-width: 1000px) {
  .hero__stage--vsl { padding-block: 24px 28px; }
  .hero:has(.hero__stage--vsl) { display: flex; flex-direction: column; }
  .hero:has(.hero__stage--vsl) .hero__copy { display: contents; }
  .hero:has(.hero__stage--vsl) .hero__copy > * { margin-inline: var(--gutter); }
  .hero:has(.hero__stage--vsl) .tag { align-self: flex-start; margin-top: 32px; }
  .hero:has(.hero__stage--vsl) h1 { margin-bottom: 26px; }
  .hero:has(.hero__stage--vsl) .hero__stage { order: 1; }
  .hero:has(.hero__stage--vsl) .hero__lead, .hero:has(.hero__stage--vsl) .hero__cta,
  .hero:has(.hero__stage--vsl) .ticks, .hero:has(.hero__stage--vsl) .proof { order: 2; }
  .hero:has(.hero__stage--vsl) .hero__lead { margin-top: 28px; }
  .hero:has(.hero__stage--vsl) .proof { align-self: flex-start; margin-bottom: 36px; }
}
/* phones: a smaller button, lower, with the label on one line - so the face in the poster stays free */
@media (max-width: 560px) {
  .vsl__frame { border-radius: 10px; }
  .vsl__play { padding: 25% 0 8px; gap: 8px; }
  .vsl__btn { width: 58px; height: 58px; }
  .vsl__btn svg { width: 22px; height: 22px; }
  .vsl__label { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 8px; }
  .vsl__label b { font-size: 16px; }
  .vsl__label span { font-size: 13px; }
  .vsl__label span::before { content: "·"; margin-right: 8px; }
}
