/* Home look on top of the shared motion engine (21.10 evening, Anna: "EXACTLY like the labels page").
   ALL motion comes from the labels code itself: assets/css/film.css + assets/js/film.js + assets/js/fx.js
   (scroll film with media per scene, scene panel entrance, words, .rv reveals, details, button pulse/shine/pop).
   This file only holds the home's LOOK: text block on the light scrim (film.css, Anna 22.10 variant A), layout of the full-screen scenes,
   the lower blocks (labels card style, steps timeline), header veil.
   prefers-reduced-motion: stacked scenes with posters, no videos (home.js), no animation. */


/* ---------- full-screen video scenes (film scenes 1–3 and the single scenes Sortiment + Warteliste) ---------- */
.vsec { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 100vh; min-height: 100svh;
  padding: 104px 0 48px; background: var(--stl-text); --pos: 62%; }
.vsec__media { position: absolute; inset: 0; z-index: -1; }
.vsec__media picture { display: contents; }
.vsec__poster, .vsec__video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--pos) 50%; }
.vsec__video { opacity: 0; transition: opacity .6s ease; }
.vsec__media.is-playing .vsec__video { opacity: 1; }
/* text block = ONE shared class for every full-screen section. 22.10 17:11 Anna (variant A): no glass box — the text sits
   directly on the video over the light scrim (film.css .scene::before). The old panel padding (36/40) is kept as invisible
   space, so on desktop the text's left edge = the header logo edge (--stl-tx) and the width = --tw (grows from 1600 px). */
.vsec { --tw: calc(min(640px, 46vw) - 80px); }
.vsec__panel { position: relative; z-index: 3; width: 100%; max-width: calc(var(--tw-now) + 80px); margin-left: calc(var(--stl-tx) - 40px); padding: 36px 40px;
  background: none; border: 0; border-radius: 0; box-shadow: none; } /* the sortiment / final blocks were solid cards in home.css */
.vsec__panel .lead, .vsec__panel .reassure { color: var(--stl-text); } /* full text colour on the scrim (AA over bright and dark frames) */
.vsec .vbtn { right: max(var(--pad), calc((100vw - var(--maxw)) / 2)); bottom: 40px; }
/* inside the film: scenes are layers of one sticky screen (film.css); no own background / stacking context */
.film--scenes .film__stage { background: var(--stl-text); }
html.film-motion .film .vsec { background: none; isolation: auto; overflow: visible; }
html.film-motion .film--scenes .scene:not(.is-active) .vbtn { opacity: 0; pointer-events: none; }
html.film-motion .film--scenes .vbtn { transition: opacity .3s ease; }
html.film-motion .film--scenes .film__dots { right: 16px; }
/* still background (no unused clip left): slow Ken Burns zoom, like the labels cards */
.vsec__media--kb { overflow: hidden; }
.vsec__media--kb .vsec__poster { transform-origin: 40% 50%; }
@media (prefers-reduced-motion: no-preference) { .vsec__media--kb .vsec__poster { animation: kenburns 24s ease-in-out infinite alternate; animation-play-state: paused; }
  .scene.is-active .vsec__media--kb .vsec__poster { animation-play-state: running; } } /* runs only while its scene is on screen (film.js) */

/* hero */
.vsec--hero { --pos: 62%; --scrim-a: max(38%, calc(var(--stl-tx) + var(--tw-now) - 16px)); --scrim-b: max(70%, calc(var(--stl-tx) + var(--tw-now) + 448px)); } /* hero scrim unchanged (Anna 22.10: hero is good) */
/* 21.10 late: narrower panel + crop kept to the left so the phone is never under the glass (1440x900 and wider) */
.vsec--hero .hero__h1 { margin-top: 24px; font-size: clamp(32px, 3.6vw, 52px); line-height: 1; }
.vsec--hero .lead { margin-top: 20px; }
.vsec--hero .hero__cta { margin-top: 32px; }
.vsec--hero .reassure { margin-top: 14px; }
/* hero media = labels K3 clip (phone left of centre): since 22.10 the panel is on the LEFT and the crop keeps the phone right of it */
/* Anna 22.10 12:59 (via PM): on wide screens EVERY glass panel sits on the LEFT (one reading line). The subject moves right
   instead: crop kept to the left edge (--pos 0%), so the phone / the dress sit right of the panel. Phones unchanged. */
@media (min-width: 768px) and (min-aspect-ratio: 4/5) {
  .vsec--hero { --pos: 0%; }
  .vsec--hero { --tw: calc(min(560px, 40vw) - 80px); }
}

/* 2 problem — media «kleid» (native 16:9 Kling), full-bleed; text in a .scene-panel on the left (see «Problem «Kleid»» and
   «.scene-panel» below). The photo-vs-video mock-up is not shown on any screen size (decorative, aria-hidden; markup kept). */
.vsec--problem { --pos: 50%; }
.vsec--problem .lead { margin-top: 20px; }
.vsec--problem .compare { display: none; }
@media (min-width: 768px) and (min-aspect-ratio: 4/5) {
  .vsec--problem { --pos: 0%; } /* panel left (Anna 22.10), dress kept right of it */
  .vsec--problem { --tw: calc(min(480px, 34vw) - 80px); }
}

/* 3 vorteile: heading + the 4 benefit cards (light solid cards, no blur) across the home column (logo edge to logo edge);
   scrim dense behind the heading on the left, the cards carry their own surface */
.vsec--vorteile { --pos: 50%; justify-content: center; --tw: 640px; --tw-max: 880px;
  --scrim-a: max(38%, calc(var(--stl-tx) + var(--tw-now) - 16px)); --scrim-b: max(70%, calc(var(--stl-tx) + var(--tw-now) + 448px)); }
/* Vorteile keeps the long soft fade (22.10 evening): the knit clip is a texture backdrop behind the 4 solid cards, no single
   subject; a short fade would draw a hard vertical edge through the texture */
.vsec__panel.vorteile { max-width: calc(100% - 2 * var(--stl-tx) + 80px); margin: 0 auto; padding: 40px; }
.vorteile .cards { margin-top: 28px; gap: 16px; }
.vorteile .card { padding: 8px 8px 24px; border-radius: 24px; }
.vorteile .card__media { height: clamp(120px, 15vh, 170px); border-radius: 18px; }
.vorteile .card__body { padding: 18px 12px 0; gap: 10px; }
.vorteile .card__ico { width: 44px; height: 44px; } .vorteile .card__ico img { width: 22px; height: 22px; }
.vorteile .card__title { font-size: 19px; }
.vorteile .card__text { font-size: 16px; color: #4A4370; }
@media (max-width: 1240px) { .vorteile .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vorteile .card__media { height: 140px; } }

/* 5 sortiment: text block like the others (was a violet card, then glass) */
.vsec--sortiment { --pos: 50%; --tw: calc(min(860px, 62vw) - 112px); --tw-max: 960px; } /* = old text width (panel padding was 56) */
.vsec__panel.sortiment { color: var(--stl-text); }
.vsec__panel.sortiment::after { display: none; } /* old violet-card circles; ::before = the phone scrim (film.css) */
@media (min-width: 768px) and (min-aspect-ratio: 4/5) { .vsec__panel.sortiment::before { display: none; } }
.vsec__panel.sortiment .sortiment__star { left: auto; right: 44px; top: 44px; width: 44px; height: 44px; }
.vsec__panel.sortiment .sortiment__h2 { max-width: 640px; color: var(--stl-text); }
.vsec__panel.sortiment .lead { color: var(--stl-text); }
.vsec__panel.sortiment .chips li { box-shadow: 0 4px 14px rgba(27,19,64,.08); }

/* final waitlist: centred text over a symmetric scrim + the (unchanged) white form card */
.vsec--final { --pos: 50%; justify-content: center; padding: 96px 16px 96px;
  --scrim: linear-gradient(90deg, rgba(var(--scrim-c), 0) calc(50% - 720px), rgba(var(--scrim-c), .88) calc(50% - 430px), rgba(var(--scrim-c), .94) 50%, rgba(var(--scrim-c), .88) calc(50% + 430px), rgba(var(--scrim-c), 0) calc(50% + 720px)); }
.vsec__panel.final__box { max-width: 820px; margin: 0 auto; padding: 48px 40px 40px; gap: 24px; }
.vsec--final .final__h2 { color: var(--stl-text); font-size: clamp(30px, 3.4vw, 48px); }
.vsec--final .final__pill { background: rgba(255,255,255,.7); color: var(--stl-text); }
.vsec--final .wlform { box-shadow: 0 20px 50px rgba(27,19,64,.18); }
.vsec--final .final__vbtn { right: 40px; bottom: 40px; }

@media (max-width: 767px), (max-aspect-ratio: 4/5) {
  .vsec { align-items: flex-end; padding: 76px 0 10px; --pos: 50%; }
  .vsec__panel { max-width: none; margin: 0 10px; padding: 20px 14px 22px; } /* 10 + 14 = header logo edge (24 px) */
  .vsec .vbtn { top: 76px; right: 16px; bottom: auto; width: 44px; height: 44px; }
  .home .scrollhint { top: 136px; } /* below the video button (labels: below its header) */
  .vsec--hero .hero__h1 { margin-top: 14px; font-size: 30px; letter-spacing: -.025em; }
  /* UX audit В5 (22.10): violet line of the H1 over the dark frames of the hero clip → darker accent ink */
  .vsec--hero .hero__h1 .accent { color: var(--stl-accent-ink); }
  .vsec--hero .lead { margin-top: 12px; }
  .vsec--hero .hero__cta { display: flex; width: 100%; margin-top: 20px; }
  .vsec--hero .reassure { justify-content: center; margin-top: 10px; }
  .vsec--problem .vsec__panel { max-width: none; }
  .vsec--problem .lead { margin-top: 12px; }
  /* vorteile on phones: compact list in the glass panel (no media) */
  .vsec--vorteile { align-items: flex-end; }
  .vsec__panel.vorteile { margin: 0 10px; max-width: none; padding: 22px 12px 12px; }
  .vorteile .h2 { padding: 0 6px; }
  .vorteile .cards { margin-top: 16px; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .vorteile .card { flex-direction: row; align-items: flex-start; padding: 12px 14px; border-radius: 18px; background: rgba(255,255,255,.72); }
  .vorteile .card--lilac { background: rgba(228,217,255,.78); }
  .vorteile .card__media { display: none; }
  .vorteile .card__body { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; padding: 0; }
  .vorteile .card__ico { grid-row: span 2; width: 40px; height: 40px; } .vorteile .card__ico img { width: 20px; height: 20px; }
  .vorteile .card__title { font-size: 16px; line-height: 1.3; }
  .vorteile .card__text { font-size: 14.5px; line-height: 1.45; color: #3D355F; }
  .vsec__panel.sortiment { max-width: none; padding: 32px 14px 26px; }
  .vsec__panel.final__box { max-width: none; }
  .vsec__panel.sortiment .sortiment__star { display: none; }
  .vsec--final { padding: 72px 0 10px; align-items: flex-start; } /* form high on the screen (CTA jumps here, cookie banner at the bottom) */
  .vsec__panel.final__box { margin: 0 10px; padding: 24px 10px 10px; gap: 14px; }
  /* final: text at the TOP here (form high on the screen) → the scene scrim runs from the top instead */
  .vsec--final::before { display: block; }
  .vsec--final .scene__content::before { display: none; }
  .vsec--final { --scrim: linear-gradient(180deg, rgba(var(--scrim-c), .97) 0%, rgba(var(--scrim-c), .9) 70%, rgba(var(--scrim-c), 0) 95%); }
  .vsec__panel.sortiment { overflow: visible; } /* its scrim reaches beyond the block */
  .vsec--final .final__h2 { font-size: 30px; margin-top: 0; }
  .vsec--final .final__vbtn { top: 16px; right: 16px; bottom: auto; }
}
/* Q10 (Anna 22.10): short phones (360x740 etc.): the 3 waitlist bullets move below the form, so e-mail + consent
   checkbox stay above the first-visit cookie banner. Visual order only (DOM unchanged, no focusable items in the list,
   no duplicate text for screen readers). 390x844 and taller keep the list above the form. */
@media (max-width: 767px) and (max-height: 760px) {
  .vsec--final .final__list { order: 1; margin: 4px 0 10px; }
  .vsec--final { --scrim: linear-gradient(180deg, rgba(var(--scrim-c), .97) 0%, rgba(var(--scrim-c), .92) 100%); } /* the list now sits low: scrim dense to the bottom */
}
@media (min-width: 768px) and (max-width: 1100px) and (min-aspect-ratio: 4/5) {
  .vsec--problem { --tw: calc(min(420px, 42vw) - 80px); } /* text left (22.10): narrow, the dress stays visible */
}

/* ---------- lower sections: the labels page's lower part (base.css .block / .card / blobs / path / details) ---------- */
/* soft moving background (lavender + coral blobs), visible through the transparent sections; video sections cover it */
.home main::before, .home main::after { content: ""; position: fixed; z-index: -1; pointer-events: none; width: 70vmax; height: 70vmax; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(108,59,255,.16), rgba(108,59,255,0)); left: -20vmax; top: 10vh; }
.home main::after { background: radial-gradient(closest-side, rgba(255,107,90,.16), rgba(255,107,90,0)); left: auto; right: -25vmax; top: 35vh; }
@media (prefers-reduced-motion: no-preference) {
  .home main::before { animation: blob-a 26s ease-in-out infinite alternate; }
  .home main::after { animation: blob-b 32s ease-in-out infinite alternate; }
}
@keyframes blob-a { from { transform: translate(0, 0) scale(1); } to { transform: translate(18vw, 22vh) scale(1.15); } }
@keyframes blob-b { from { transform: translate(0, 0) scale(1.1); } to { transform: translate(-22vw, -18vh) scale(.95); } }
.home main > .sec { background: transparent; }
.home main > .sec + .sec { padding-top: max(0px, calc(var(--hdr-h) + var(--stop-gap) - 136px)); } /* Anna 23.10: + the block above's 136 px >= header + stop gap */
@media (max-width: 767px) { .home main > .sec + .sec { padding-top: max(0px, calc(var(--hdr-h) + var(--stop-gap) - 72px)); } }
/* card style (labels .card): white surface, radius 24, soft shadow */
.founder { border-radius: var(--stl-r-lg); background: var(--stl-surface); box-shadow: 0 20px 60px rgba(27,19,64,.06); }
.founder { padding: 56px 64px; }
.fav { border-radius: var(--stl-r-lg); box-shadow: 0 20px 60px rgba(255,107,90,.18); }
.faq details { border-radius: var(--stl-r-lg); box-shadow: 0 10px 30px rgba(27,19,64,.05); }

/* 4 steps = icon timeline of the labels finale (.path): nodes on a line, first node coral; desktop row, phones rail */
.steps { --node: 72px; --gap: 48px; margin-top: 56px; gap: var(--gap); }
.steps li { position: relative; }
.steps__n { position: relative; z-index: 1; width: var(--node); height: var(--node); margin: 0 0 24px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center;
  font: 800 30px/1 var(--stl-font); letter-spacing: 0; color: var(--stl-text); background: var(--stl-surface); box-shadow: inset 0 0 0 2px var(--stl-coral), 0 6px 18px rgba(27,19,64,.07); }
.steps__n i { display: none; }
.steps li:first-child .steps__n { background: var(--stl-coral); color: var(--stl-on-coral); box-shadow: 0 0 0 6px rgba(255,107,90,.18), 0 8px 22px rgba(255,107,90,.3); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: calc(var(--node) / 2 - 1px); left: var(--node); width: calc(100% - var(--node) + var(--gap)); height: 2px;
  background: linear-gradient(90deg, var(--stl-coral), var(--stl-accent)); opacity: .55; transform-origin: 0 50%; }
.steps li:not(:first-child):not(:last-child)::after { background: var(--stl-accent); opacity: .35; }
.steps li:nth-child(2) { --pi: 1; } .steps li:nth-child(3) { --pi: 2; }
@media (max-width: 767px) {
  .steps { --node: 52px; margin-top: 28px; gap: 0; }
  .steps li { grid-template-columns: var(--node) minmax(0, 1fr); column-gap: 18px; padding: 0 0 28px; border-bottom: 0; }
  .steps li:last-child { padding-bottom: 0; }
  .steps__n { margin: 0; font-size: 22px; }
  .steps p { padding-top: 12px; }
  .steps li:not(:last-child)::after { top: var(--node); left: calc(var(--node) / 2 - 1px); width: 2px; height: calc(100% - var(--node));
    background: linear-gradient(180deg, var(--stl-coral), var(--stl-accent)); transform-origin: 50% 0; }
  .steps li:not(:first-child):not(:last-child)::after { background: var(--stl-accent); }
  .founder { padding: 32px 22px; }
}

/* ---------- buttons: the labels .btn motion (film.css: pulse ring, light sweep, hover lift, press .95, pop with the scene).
   Like the labels .btn, no resting shadow: box-shadow is the pulse ring (a drop-shadow filter would also make the CTA the
   page's LCP element). Header pill = labels .btn--sm: sweep only. ---------- */
.btn-cta { box-shadow: none; }
.band__link:active, .fav__go:active { transform: scale(.95); transition-duration: .08s; }
.band__link, .fav__go { transition: transform .18s ease, box-shadow .25s ease, background-color .2s, color .2s; }
.band__link:hover, .fav__go:hover { transform: translateY(-2px); }

@media (prefers-reduced-motion: no-preference) {
  .wlform.is-sending .btn-cta { animation: none; }
  /* steps timeline = labels .path reveal (base.css), same transforms and delays: nodes pop in one after another, the line draws */
  html.fx .steps.rv { transform: none; }
  html.fx .steps.rv .steps__n, html.fx .steps.rv p { opacity: 0; transform: translateY(10px) scale(.85); }
  html.fx .steps.rv li:not(:last-child)::after { transform: scaleX(0); }
  html.fx .steps.in .steps__n { opacity: 1; transform: none; transition: opacity .45s ease, transform .6s cubic-bezier(.2,.9,.3,1.35); transition-delay: calc(.15s + var(--pi, 0) * .22s); }
  html.fx .steps.in p { opacity: 1; transform: none; transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(.25s + var(--pi, 0) * .22s); }
  html.fx .steps.in li:not(:last-child)::after { transform: none; transition: transform .35s ease-in-out; transition-delay: calc(.3s + var(--pi, 0) * .22s); }
  @media (max-width: 767px) { html.fx .steps.rv li:not(:last-child)::after { transform: scaleY(0); } html.fx .steps.in li:not(:last-child)::after { transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .scene .callouts li { animation: none !important; }
  .btn-cta:hover, .btn-cta:active, .band__link:hover, .band__link:active, .fav__go:hover, .fav__go:active { transform: none; }
  .vsec__video { display: none; }
}

/* hero pill (Anna 22.10 12:48): «Schweizer Video-Plattform · Geplante Eröffnung: Sommer 2027». Two parts, never broken inside a
   phrase: one per line (the «·» hidden) unless the panel is wide enough for one line (≥ 520 px, e.g. tablets). */
.vsec--hero .vsec__panel { container-type: inline-size; }
.pill-eyebrow__t { display: flex; flex-direction: column; row-gap: 3px; line-height: 1.25; }
.pill-eyebrow__a, .pill-eyebrow__b { white-space: nowrap; }
.pill-eyebrow__sep { display: none; white-space: pre; }
@container (min-width: 520px) {
  .pill-eyebrow__t { flex-direction: row; line-height: 1; }
  .pill-eyebrow__sep { display: inline; }
}

/* «Kaufen Sie mit gutem Gefühl» on phones (Anna 22.10 12:59, via PM): calmer cards — bigger icons, more air, bold title over
   its one sentence. Texts unchanged. */
@media (max-width: 767px), (max-aspect-ratio: 4/5) {
  .vorteile .cards { margin-top: 18px; gap: 10px; }
  .vorteile .card { padding: 14px 16px; }
  .vorteile .card__body { grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-items: start; }
  .vorteile .card__ico { width: 52px; height: 52px; } .vorteile .card__ico img { width: 30px; height: 30px; }
  .vorteile .card__title { font-size: 16.5px; font-weight: 800; line-height: 1.25; }
  .vorteile .card__text { font-size: 14.5px; line-height: 1.45; }
}
@media (max-width: 767px) and (max-height: 700px) { /* short phones: a bit tighter so the panel needs less shrinking */
  .vorteile .cards { margin-top: 12px; gap: 8px; }
  .vorteile .card { padding: 10px 14px; }
  .vorteile .card__body { grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; }
  .vorteile .card__ico { width: 44px; height: 44px; } .vorteile .card__ico img { width: 26px; height: 26px; }
}

/* wide screens (Anna 22.10): the scene text grows from 1600 px on (sizes up to 1600 px unchanged, continuous at 1600) */
@media (min-width: 1600px) and (min-aspect-ratio: 4/5) {
  .vsec--hero .hero__h1 { font-size: min(76px, calc(52px + (100vw - 1600px) * .025)); }
  .vsec .h2 { font-size: min(64px, calc(44px + (100vw - 1600px) * .02)); }
  .vsec--final .final__h2 { font-size: min(66px, calc(48px + (100vw - 1600px) * .019)); }
  .vsec .lead { font-size: min(28px, calc(22px + (100vw - 1600px) * .006)); }
  .vsec--hero .lead { max-width: none; }
  .vsec--hero .reassure, .vsec .pill-eyebrow { font-size: min(18px, calc(15px + (100vw - 1600px) * .003)); }
  .vsec .chips li { font-size: min(20px, calc(17px + (100vw - 1600px) * .003)); }
}

/* ---------- wide screens (Anna 22.10 evening): wider text column + hero video moved right ----------
   Text block width from 1200 px: hero clamp(520, 38vw, 760), Problem / Sortiment clamp(440, 32vw, 640) (Vorteile and the
   form keep their own layout). The hero clip is a flat "studio" (#E9E8F1, sampled from hero-pingpong-1920 at 0.5/2/4/6 s):
   on screens ≥ 1200 px and at least 16:10 the video moves right so the phone + spheres (x 31.7–68.1 % of the clip, measured
   over 13 frames) start ≥ 48 px after the text and ≥ 45vw, never cropped (≥ 24 px from the right edge). The uncovered strip on
   the left is the same studio colour, and the scrim fades from that colour, so there is no edge. --vidw = displayed clip width
   (cover, 16:9). Narrower than 16:10 (no shift): the hero text gets narrower instead, so it never covers the phone. */
@media (min-width: 1200px) and (min-aspect-ratio: 4/5) {
  .vsec { --vidw: max(100vw, 177.78vh); }
  .vsec--hero { --tw-now: min(clamp(520px, 38vw, 760px), max(360px, calc(.317 * var(--vidw) - 96px - var(--stl-tx)))); } /* 96 = panel padding 48 + 48 px of air */
  .vsec--hero .lead { max-width: 62ch; }
  .vsec__panel.sortiment .sortiment__star { right: -8px; top: 12px; } /* narrower block: star beside the heading, not on it */
  .vsec--sortiment { --tw-now: clamp(440px, 32vw, 640px); }
}
@media (min-width: 1200px) and (min-aspect-ratio: 16/10) {
  .vsec--hero { --studio: 233,232,241; --scrim-c: var(--studio); background: rgb(var(--studio)); --tw-now: clamp(520px, 38vw, 760px);
    --shift: max(0px, min(calc(100vw - 24px - .681 * var(--vidw)), calc(max(var(--stl-tx) + var(--tw-now) + 96px, 45vw) - .317 * var(--vidw)))); }
  .vsec--hero .vsec__media { background: rgb(var(--studio)); }
  .vsec--hero .vsec__poster, .vsec--hero .vsec__video { transform: translateX(var(--shift));
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%); mask-image: linear-gradient(90deg, transparent 0, #000 5%); } /* clip edge blends into its own studio colour (background, not over the subject) */
}

/* ---------- Problem «Kleid» (Anna 22.10 night: "no dark gradient, text in a block without borders"). The clip is full-bleed
   again (object-fit: cover, no down-scaling, no fill strips, no seam), crop kept to the LEFT of the clip (--pos 0 %) so the dress
   sits as far right as cover allows (only screens narrower than 16:9 have room to move it). The text sits in a .scene-panel
   (light, borderless, see the end of this file); text column narrow (heading on 2 lines) so the panel covers as little of the
   dress as possible. Measured over the 10 s loop the dress' left edge moves from 34 % to 16.5 % of the clip width (zoom-in):
   at the end of the loop the left sleeve passes under the panel's right part on every desktop size (full-bleed cannot avoid
   it). Phones: the same panel at the bottom. ---------- */
@media (min-width: 768px) and (min-aspect-ratio: 4/5) {
  .vsec--problem { --tw-now: clamp(380px, 23vw, 460px); }
}

/* Sortiment (desktop): the text column ends 96 px before the earrings (x ≥ 45 % of the «schmuck» clip at --pos 50 %), so the
   scrim (dense behind the text, 0 after 80 px) never lies over them. The bracelet on the far left stays under the text
   (it is at the clip's left edge; no free area there). */
@media (min-width: 768px) and (min-aspect-ratio: 4/5) {
  .vsec--sortiment { --vidw: max(100vw, 177.78vh);
    --tw-now: max(400px, min(clamp(440px, 32vw, 640px), calc((100vw - var(--vidw)) * .5 + .45 * var(--vidw) - 96px - var(--stl-tx)))); }
}
@media (min-width: 768px) and (max-width: 1199px) and (min-aspect-ratio: 4/5) {
  .vsec--sortiment { --tw-now: max(340px, min(var(--tw), calc((100vw - var(--vidw)) * .5 + .45 * var(--vidw) - 96px - var(--stl-tx)))); }
}

/* ---------- .scene-panel (Anna 22.10 night): ONE reusable light panel behind scene text instead of any gradient / scrim.
   Solid page colour (.92), rounded 28 px, generous padding, NO border / outline, NO blur, only a very soft large shadow, dark
   text. Add the class to a scene's .scene__content: the scene's own scrim is switched off. Desktop: the TEXT's left edge stays
   on the header logo edge (--stl-tx), so the panel starts one padding (--sp-pad) left of it. Phones: the same panel at the
   bottom (10 px from the screen edges; 10 + 14 = logo edge 24 px). In the film it fades in / out with its scene text.
   Used now: home Problem + home final (heading, bullets, chip and the white form card in one panel). ---------- */
/* (the .scene-panel look itself is in film.css, shared with /labels/) */
.scene:has(> .scene-panel)::before, .vsec--problem::before, .vsec--final::before { display: none; }
.vsec__panel.scene-panel { max-width: calc(var(--tw-now) + 2 * var(--sp-pad)); margin-left: calc(var(--stl-tx) - var(--sp-pad)); padding: 44px var(--sp-pad); }
.vsec__panel.scene-panel .h2, .vsec__panel.scene-panel .lead { color: var(--stl-text); }
html.film-motion .film--scenes .scene.is-shown .scene__content.scene-panel, html.film-motion .scene--single.is-shown .scene__content.scene-panel { transition: opacity .35s ease; }
/* final: centred, no wider than the form card + padding */
.vsec__panel.final__box.scene-panel { --sp-pad: 40px; max-width: 800px; margin: 0 auto; padding: 40px var(--sp-pad); gap: 22px; overflow: visible; }
@media (max-width: 767px), (max-aspect-ratio: 4/5) {
  .vsec__panel.scene-panel, .vsec__panel.scene-panel--m { --sp-pad: 16px; max-width: none; margin: 0 16px 6px; padding: 20px var(--sp-pad) 22px; }
  .vsec__panel.final__box.scene-panel { --sp-pad: 10px; margin: 0 10px; padding: 22px var(--sp-pad) 10px; gap: 14px; }
}

/* Vorteile + Sortiment (Anna 22.10 night): NO scrim at all, the video as it is. Vorteile: the 4 solid cards carry their own
   surface; heading dark on the light knit. Sortiment: white chips; heading + lead dark (AA measured over real frames,
   checks/2026-10-22-problem-block). */
.vsec--vorteile::before, .vsec--sortiment::before { display: none; }
@media (max-width: 767px), (max-aspect-ratio: 4/5) {
  .vsec--vorteile .scene__content::before, .vsec__panel.sortiment::before { display: none; }
}

/* small .scene-panel behind ONE text element (Vorteile heading, Sortiment heading + lead): their AA failed on the bare video
   (dark knit gaps / bracelet / orange paper, checks/2026-10-22-problem-block). Hugs the text; text edge unchanged. */
.scene-panel--sm, .scene .scene-panel--sm { --sp-pad: 22px; width: fit-content; max-width: calc(100% + 2 * var(--sp-pad)); margin-left: calc(-1 * var(--sp-pad)); padding: 14px var(--sp-pad) 16px; border-radius: 22px; box-shadow: 0 16px 48px rgba(27,19,64,.12); }
.vsec__panel.sortiment .sortiment__h2.scene-panel--sm { max-width: calc(640px + 2 * var(--sp-pad)); }
@media (max-width: 767px), (max-aspect-ratio: 4/5) {
  .scene-panel--sm, .scene .scene-panel--sm { --sp-pad: 14px; padding: 10px var(--sp-pad) 12px; border-radius: 18px; box-shadow: 0 8px 28px rgba(27,19,64,.12); }
  .vorteile .h2.scene-panel--sm { margin-left: -8px; padding: 10px 14px 12px; } /* text stays 28 px from the screen edge (was 6 px padding) */
}

/* ---------- phones (Anna 22.10 late, iPhone: "the phone in the hero video is pale and foggy"): NO light fade over any home
   video. Each scene's text sits in ONE borderless panel at the bottom (.scene-panel / .scene-panel--m, film.css); the video
   above it keeps its original colours. ---------- */
@media (max-width: 767px), (max-aspect-ratio: 4/5) {
  /* hero: compact panel (chip, H1, lead, CTA, reassurance) so the clip has as much room as possible above it */
  .vsec--hero .vsec__panel.scene-panel--m { padding: 16px 16px 14px; }
  .vsec--hero .pill-eyebrow { padding: 7px 12px 7px 10px; font-size: 13px; }
  .vsec--hero .pill-eyebrow__t { row-gap: 2px; }
  .vsec--hero .hero__h1 { margin-top: 10px; }
  .vsec--hero .lead { margin-top: 8px; font-size: 15.5px; line-height: 1.45; }
  .vsec--hero .hero__cta { min-height: 52px; margin-top: 14px; }
  .vsec--hero .reassure { margin-top: 6px; font-size: 14px; }
  /* hero clip: not "cover" over the whole screen any more (the panel would hide the phone). The clip (portrait 9:16; phone
     x 12–84 %, y 17–83 % of the frame, measured over the whole 6.3 s ping-pong loop) is sized
     so the phone fits between the header (72 px) and the panel top (--hero-pt, set by home.js), centred on the phone
     (x 48 %). Wider than the screen where there is room (no side strips); on short screens it gets narrower and the rest is
     the clip's own flat studio colour; its side edges blend in over 5 % (bottom edge: 6 %, under the panel). */
  .vsec--hero { --studio: 234,235,239; background: rgb(var(--studio)); --hfree: calc(var(--hero-pt, 60svh) - 80px);
    --hvh: min(calc(var(--hfree) / .66), calc(100vw / .405)); --hvt: calc(72px + (var(--hfree) - .66 * var(--hvh)) / 2 - .17 * var(--hvh)); }
  .vsec--hero .vsec__media { background: rgb(var(--studio)); }
  .vsec--hero .vsec__poster, .vsec--hero .vsec__video { inset: auto; left: 50%; top: var(--hvt); width: auto; height: var(--hvh); aspect-ratio: 9 / 16;
    object-fit: cover; object-position: 50% 50%; transform: translateX(-48%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%), linear-gradient(180deg, #000 0, #000 94%, transparent 100%);
    -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%), linear-gradient(180deg, #000 0, #000 94%, transparent 100%);
    mask-composite: intersect; }
  /* Vorteile: heading + 4 cards in ONE panel (the cards keep their own surface); the small heading panel is not needed inside */
  .vsec__panel.vorteile.scene-panel--m { padding: 18px 12px 12px; }
  .vorteile .h2.scene-panel--sm { width: auto; margin: 0; padding: 0 6px; background: none; box-shadow: none; border-radius: 0; }
  /* Sortiment: one panel (heading, chips, lead) */
  .vsec__panel.sortiment.scene-panel { padding: 22px 16px 20px; }
}

/* ---------- Sortiment (Anna 22.10 late): heading, chips and lead in ONE .scene-panel (was two small panels), all sizes ---------- */
.vsec__panel.sortiment.scene-panel { overflow: visible; }
.vsec__panel.sortiment.scene-panel .chips { margin-top: 22px; }
.vsec__panel.sortiment.scene-panel .lead { margin-top: 20px; }
.vsec__panel.sortiment.scene-panel .chips li { box-shadow: 0 2px 8px rgba(27,19,64,.08); }

/* ---------- Problem on desktop (Anna 22.10 late): the panel sits in the LOWER-LEFT corner over the dark wall, so it covers less
   of the dress sleeve (the sleeve hangs at mid-height; measured over the 10 s zoom, checks/2026-10-22-mobile-nofade) ---------- */
@media (min-width: 768px) and (min-aspect-ratio: 4/5) {
  .vsec--problem { align-items: flex-end; padding-bottom: 48px; }
  .vsec--problem .vsec__panel.scene-panel { padding: 36px var(--sp-pad) 38px; }
}
/* hero on phones with the first-visit cookie banner open: panel lifted by home.js (--hero-lift) so the CTA stays above it */
@media (max-width: 767px), (max-aspect-ratio: 4/5) {
  .vsec--hero .vsec__panel { transform: translateY(calc(-1 * var(--hero-lift, 0px))); transition: transform .35s ease; }
}
@media (prefers-reduced-motion: reduce) { .vsec--hero .vsec__panel { transition: none; } }

/* ---------- desktop like phones (Anna 22.10 night): hero without the light studio scrim. Chip, H1, lead, CTA and reassurance
   in ONE .scene-panel (look: film.css); the TEXT edge stays on the header logo edge (--stl-tx), the panel starts one padding
   left of it. The clip keeps its shift (phone + spheres right of the panel, ≥ 48 px of air, never cropped) and its original
   colours; the uncovered strip is the clip's own studio colour (233,232,241). Vorteile cards: no dark shade over the photos. ---------- */
@media (min-width: 768px) and (min-aspect-ratio: 4/5) {
  .vsec--hero .vsec__panel.scene-panel--m { max-width: calc(var(--tw-now) + 2 * var(--sp-pad)); margin-left: calc(var(--stl-tx) - var(--sp-pad)); padding: 40px var(--sp-pad) 38px; }
  .vsec--hero .hero__h1 { margin-top: 20px; }
  .card__shade { display: none; }
}
/* no shift below 1200 px (clip cropped at 0 %): the panel ends ≥ 24 px before the phone (x 31.7 % of the clip) */
@media (min-width: 768px) and (max-width: 1199px) and (min-aspect-ratio: 4/5) {
  .vsec--hero { --tw-now: min(var(--tw), calc(.317 * max(100vw, 177.78vh) - 72px - var(--stl-tx))); }
}

/* QA 22.10 (4): phones — panel text on the logo edge (panel in the --ph-g gutter, --ph-p padding; film.css) */
@media (max-width: 767px), (max-aspect-ratio: 4/5) {
  .vsec__panel.scene-panel, .vsec__panel.scene-panel--m { --sp-pad: var(--ph-p); margin-left: var(--ph-g); margin-right: var(--ph-g); padding-left: var(--ph-p); padding-right: var(--ph-p); }
  .vsec--hero .vsec__panel.scene-panel--m, .vsec__panel.sortiment.scene-panel { padding-left: var(--ph-p); padding-right: var(--ph-p); }
  .vsec__panel.vorteile.scene-panel--m { padding-left: var(--ph-p); padding-right: var(--ph-p); }
  .vorteile .h2.scene-panel--sm { padding-left: 0; padding-right: 0; }
  .vsec__panel.final__box.scene-panel { --sp-pad: var(--ph-p); margin-left: var(--ph-g); margin-right: var(--ph-g); padding-left: var(--ph-p); padding-right: var(--ph-p); }
}

/* QA 22.10 (9): short phones (≤ 760 px tall, e.g. 360×740): compact hero panel (smaller H1 / lead, tighter spacing), so the
   phone in the clip above it is clearly visible (home.js sizes the clip to the room above the panel) */
@media (max-width: 767px) and (max-height: 760px) {
  .vsec--hero .vsec__panel.scene-panel--m { padding-top: 12px; padding-bottom: 10px; }
  .vsec--hero .pill-eyebrow { padding: 5px 10px 5px 8px; font-size: 12px; }
  .vsec--hero .hero__h1 { margin-top: 8px; font-size: 25px; }
  .vsec--hero .lead { margin-top: 6px; font-size: 14px; line-height: 1.4; }
  .vsec--hero .hero__cta { min-height: 46px; margin-top: 10px; font-size: 16px; }
  .vsec--hero .reassure { margin-top: 4px; font-size: 12.5px; }
  .vsec--hero .reassure img { width: 16px; height: 16px; }
}
