/* Miri studio: schermen in stijl 1 (ontwerpbord "Miri studio · schermen", akkoord Thijs 4 dec).
   Laadt na site.css en mi.css. Mobiel eerst; vanaf 760px de computerversie. */

/* ---------- typografie (design system) ---------- */
.kop-held { font: 600 38px/42px var(--font-kop); letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.kop-1 { font: 600 32px/36px var(--font-kop); letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.kop-2 { font: 600 28px/34px var(--font-kop); margin: 0; text-wrap: balance; }
.kop-3 { font: 600 22px/28px var(--font-kop); margin: 0; }
.tekst-groot { font-size: 17px; line-height: 1.6; color: var(--inkt-zacht); margin: 0; }
.boven { font: 700 12px/16px var(--font-tekst); letter-spacing: .16em; text-transform: uppercase; color: var(--goud-tekst); margin: 0; }
.met-ic { display: flex; gap: 8px; align-items: flex-start; }
.met-ic .ic { width: 18px; height: 18px; margin-top: 1px; }
.sterk { font-weight: 600; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
a:hover { color: var(--goud-licht); }
@media (min-width: 760px) {
  .kop-held { font-size: 56px; line-height: 60px; }
  .kop-1 { font-size: 40px; line-height: 44px; }
  .tekst-groot { font-size: 19px; line-height: 30px; }
  .wrap { padding-left: 48px; padding-right: 48px; }
}

/* ---------- oude knoppen in de nieuwe stijl (schermen die de oude klassen nog gebruiken) ---------- */
.knop { min-height: var(--knop-hoogte); font: 600 16px/1 var(--font-tekst); }
.knop-goud { background: linear-gradient(180deg, var(--goud-licht), var(--goud) 48%, var(--goud-diep)); color: var(--op-goud); box-shadow: var(--gloed-goud), inset 0 1px 0 rgba(255,255,255,.55); }
.knop-licht { background: var(--vlak-hoog); color: var(--inkt); border: 0; box-shadow: inset 0 0 0 1px var(--lijn-sterk); }
.knop-licht:hover { background: var(--vlak-hover); }
.kaart { background: var(--vlak); border: 0; box-shadow: var(--schaduw-kaart), inset 0 0 0 1px var(--lijn); border-radius: var(--r-lg); }
.melding { border-radius: var(--r-md); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* ---------- kop en voet ---------- */
.kop { padding: 12px 16px; }
.merk img { height: auto; width: 84px; }
.nav-rand { box-shadow: inset 0 0 0 1px var(--lijn-sterk); padding: 0 16px; }
.mi-voet { width: 100%; max-width: 1180px; margin: 48px auto 0; padding: 32px 16px 40px; }
.mi-voet p { margin: 0; line-height: 1.6; }
.voet-logo { width: 84px; height: auto; }
@media (min-width: 760px) {
  .kop { padding: 18px max(48px, calc((100% - 1180px) / 2 + 48px)); }
  .merk img { width: 104px; }
  .mi-voet { padding-left: 48px; padding-right: 48px; }
}
@media (max-width: 759px) { .nav-extra { display: none; } }

/* ---------- vinkjes met een echte checkbox (toegankelijk) ---------- */
.mi-vink { position: relative; cursor: pointer; }
.mi-vink input { position: absolute; left: 0; top: 0; width: 24px; height: 24px; margin: 0; opacity: 0; cursor: pointer; }
.mi-vink i .ic { width: 16px; height: 16px; opacity: 0; stroke-width: 2.4; }
.mi-vink input:checked + i { background: var(--goud); border-color: var(--goud); }
.mi-vink input:checked + i .ic { opacity: 1; }
.mi-vink input:focus-visible + i { outline: 3px solid var(--focus); outline-offset: 3px; }

/* ---------- voorpagina ---------- */
.p-home > .kop { position: absolute; top: 0; left: 0; right: 0; }
.p-home .testbalk + .kop { top: 40px; }
.p-home .hero { margin-top: 0; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; position: relative; padding-top: 0; }
.p-home .hero::after { content: none; }
.p-home .hero-beeld { position: relative; display: block; width: 100%; height: 400px; margin: 0; overflow: hidden; align-self: stretch; }
.p-home .hero-beeld img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 42% 50%; animation: none; transform: none; }
.hero-waas { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,14,40,.65) 0%, rgba(21,14,40,0) 16%, rgba(21,14,40,0) 34%, rgba(21,14,40,.85) 52%, var(--grond) 62%); pointer-events: none; }
.p-home .hero-tekst { position: relative; z-index: 2; margin-top: -150px; padding: 0 16px; max-width: none; display: flex; flex-direction: column; gap: 14px; animation: none; }
.p-home .hero-tekst h1 { text-shadow: none; }
.p-home .hero-acties { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 0; }
.p-home .hero-acties .mi-knop { width: 100%; }
.p-home .hero-tekst .klein { text-align: center; margin: 0; }
.knop-glas { background: var(--glas); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.knop-glas .ic { width: 18px; height: 18px; }

.p-home .blok { padding-top: 48px; padding-bottom: 0; display: flex; flex-direction: column; gap: 20px; max-width: 1180px; }
.blok > p { margin: 0; }

.boot { gap: 24px; }
.boot-tekst { display: flex; flex-direction: column; gap: 14px; }
.woonkamer { margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.kamer { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--schaduw-kaart), inset 0 0 0 1px var(--lijn); line-height: 0; background: var(--vlak-diep); }
.kamer-foto { display: block; width: 100%; height: auto; aspect-ratio: 16/9; }
/* tv-scherm: hoeken gemeten in de foto (x 824-1759, y 208-737 van 2560x1440) */
.tv-scherm { position: absolute; left: 32.19%; top: 14.44%; width: 36.52%; height: 36.74%; overflow: hidden; background: #000; }
.tv-beeld { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease-in-out; }
.tv-beeld.aan { opacity: 1; }
.tv-glans { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(125deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 32%), radial-gradient(120% 100% at 50% 50%, rgba(0,0,0,0) 62%, rgba(0,0,0,.28) 100%); box-shadow: inset 0 0 14px rgba(0,0,0,.45); }
.kamer-naam { text-align: center; font: 500 14px var(--font-tekst); color: var(--inkt-zacht); min-height: 1.4em; }
@media (prefers-reduced-motion: reduce) { .tv-beeld { transition-duration: 3s; } }

.band { margin-top: 48px; padding: 40px 0; background: var(--vlak-diep); }
.band-in { display: flex; flex-direction: column; gap: 12px; }
.band .mi-snoer { height: 34px; }

.manieren { display: grid; border-radius: var(--r-lg); background: var(--vlak); box-shadow: inset 0 0 0 1px var(--lijn); overflow: hidden; }
.wijze { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 16px; }
.wijze + .wijze { border-top: 1px solid var(--lijn); }
.wijze-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--vlak-hoog); display: grid; place-items: center; flex: none; color: var(--goud-tekst); }
.wijze b { display: block; font-weight: 600; }
.wijze .klein { display: block; margin: 0; }
.smal { max-width: 760px; }
#tv .tv-intro { display: flex; flex-direction: column; gap: 14px; }

.prijs-vragen { gap: 40px; }
.p-home .mi-prijs { padding: 24px; max-width: 440px; }
.p-home .mi-prijs .mi-bedrag { font-size: 48px; }
.mi-prijs .klein { margin: 12px 0 0; }
.mi-vinklijst .ic { width: 22px; height: 22px; flex: none; }
.vragen .kop-2 { margin-bottom: 8px; }
.vragen .vraag { padding: 18px 0; border: 0; border-top: 1px solid var(--lijn); border-radius: 0; background: none; box-shadow: none; }
.vragen { display: block; }
.vragen .vraag h3 { margin: 0 0 6px; font: 600 17px/1.4 var(--font-tekst); }
.vragen .vraag p { margin: 0; color: var(--inkt-zacht); font-size: 16px; line-height: 1.55; }

.slotband { margin-top: 48px; padding: 72px 0; text-align: center; color: #fdf6e9; }
.slotband-in { display: flex; flex-direction: column; gap: 18px; align-items: center; }
.slotband .tekst-groot { color: #fdf6e9; }
.slotband-in .mi-knop { margin-top: 14px; }

@media (min-width: 760px) {
  .p-home .hero { min-height: 780px; }
  .p-home .hero-beeld { position: absolute; inset: 0; height: auto; margin: 0; }
  .p-home .hero-beeld img { object-position: 60% 50%; }
  .hero-waas { background: linear-gradient(90deg, rgba(21,14,40,.96) 0%, rgba(21,14,40,.82) 36%, rgba(21,14,40,.35) 56%, rgba(21,14,40,0) 72%), linear-gradient(180deg, rgba(21,14,40,.7) 0%, rgba(21,14,40,0) 18%, rgba(21,14,40,0) 70%, var(--grond) 100%); }
  .p-home .hero-tekst { margin: 0 auto; width: 100%; max-width: 1180px; padding: 0 48px 190px; }
  .p-home .hero-tekst > * { max-width: 620px; }
  .p-home .hero-tekst .boven { display: block; }
  .p-home .hero-tekst h1 { font-size: 64px; line-height: 66px; }
  .p-home .hero-tekst .tekst-groot { color: var(--inkt); }
  .p-home .hero-acties { flex-direction: row; flex-wrap: wrap; gap: 14px; }
  .p-home .hero-acties .mi-knop { width: auto; }
  .p-home .hero-tekst .klein { text-align: left; color: var(--inkt); }

  .p-home .blok { padding-top: 96px; gap: 32px; }

  .p-home .boot { flex-direction: row; align-items: center; gap: 48px; }
  .boot-tekst { flex: 1 1 360px; min-width: 0; }
  .woonkamer { flex: 1.5 1 520px; }

  .band { margin-top: 96px; padding: 72px 0; }
  .band-in { align-items: center; text-align: center; gap: 18px; }
  .band .mi-snoer { max-width: 640px; height: 40px; }
  .band .tekst-groot { max-width: 640px; }

  .manieren { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; background: none; box-shadow: none; overflow: visible; }
  .wijze { flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; border-radius: var(--r-lg); background: var(--vlak); box-shadow: inset 0 0 0 1px var(--lijn); }
  .wijze + .wijze { border-top: 0; }
  .wijze-ic { width: 52px; height: 52px; border-radius: 14px; }
  .wijze-ic .ic { width: 28px; height: 28px; }

  .p-home .prijs-vragen { flex-direction: row; align-items: flex-start; gap: 56px; padding-bottom: 32px; }
  .p-home .mi-prijs { flex: 0 1 440px; padding: 32px; }
  .p-home .mi-prijs .mi-bedrag { font-size: 56px; }
  .vragen { flex: 1 1 420px; min-width: 0; }

  .slotband { margin-top: 64px; padding: 112px 0; }
  .slotband .kop-1 { font-size: 48px; line-height: 52px; }
}

/* ---------- afrekenen ---------- */
.afrekenen { display: flex; flex-direction: column; }
.afrekenen-glas { margin: 0 16px; border-radius: var(--r-lg); padding: 24px; color: #fdf6e9; }
.afrekenen-aanbod { display: flex; flex-direction: column; gap: 8px; }
.afrekenen-aanbod .boven { color: var(--goud-licht); }
.afrekenen-bedrag { font: 600 44px/1 var(--font-kop); letter-spacing: -.02em; }
.afrekenen-bedrag span { font: 500 17px var(--font-tekst); opacity: .85; letter-spacing: 0; }
.afrekenen-glas .mi-vinklijst { margin: 10px 0 0; gap: 8px; font-size: 15px; }
.afrekenen-glas .mi-vinklijst .ic { color: var(--goud-licht); }
.afrekenen-rechts { padding: 28px 16px 0; display: flex; justify-content: center; }
.afrekenen-form { width: 100%; max-width: 460px; display: flex; flex-direction: column; gap: 22px; }
.afrekenen-form .klein { margin: 0; }
@media (min-width: 900px) {
  .p-afrekenen .mi-voet { margin-top: 0; }
  .afrekenen { flex-direction: row; min-height: 760px; max-width: 1280px; margin: 0 auto; width: 100%; padding: 0 48px; gap: 0; }
  .afrekenen-glas { flex: 0 0 520px; margin: 0; border-radius: var(--r-xl); padding: 48px; display: flex; flex-direction: column; justify-content: flex-end; }
  .afrekenen-aanbod { gap: 18px; }
  .afrekenen-bedrag { font-size: 64px; }
  .afrekenen-bedrag span { font-size: 19px; }
  .afrekenen-glas .mi-vinklijst { gap: 12px; font-size: 17px; }
  .afrekenen-rechts { flex: 1; align-items: center; padding: 40px; }
}

/* ---------- inloggen, code, koppelen ---------- */
.zacht { color: var(--inkt-zacht); margin: 0; }
.terugknop { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--vlak-hoog); color: var(--inkt); box-shadow: inset 0 0 0 1px var(--lijn); }
.terugknop .ic { width: 22px; height: 22px; }
.p-aanmeld > .kop { display: none; }
.aanmeld { display: flex; flex-direction: column; }
.aanmeld-glas { height: 260px; display: grid; place-items: center; }
.aanmeld-waas { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(21,14,40,0) 50%, var(--grond) 100%); }
.aanmeld-glas .terugknop { position: absolute; top: 16px; left: 16px; z-index: 3; background: var(--glas); }
.aanmeld-logo { width: 150px; height: auto; margin-top: 20px; }
.aanmeld-in { padding: 0 16px 24px; width: 100%; max-width: 460px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.aanmeld-form { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.aanmeld-form .klein, .aanmeld-onder .klein { margin: 0; }
.aanmeld-onder { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.mail-ic { width: 72px; height: 72px; border-radius: 22px; background: var(--vlak-hoog); display: grid; place-items: center; box-shadow: 0 0 0 8px var(--goud-waas); color: var(--goud-tekst); }
.mail-ic .ic { width: 28px; height: 28px; }
@media (min-width: 760px) {
  .p-aanmeld > .kop { display: flex; }
  .aanmeld { max-width: 520px; width: 100%; margin: 24px auto 0; border-radius: var(--r-xl); background: var(--vlak); box-shadow: var(--schaduw-kaart), inset 0 0 0 1px var(--lijn); overflow: hidden; }
  .aanmeld-glas { height: 220px; }
  .aanmeld-waas { background: linear-gradient(180deg, rgba(31,22,56,0) 50%, var(--vlak) 100%); }
  .aanmeld-in { padding: 0 40px 36px; }
}

/* codevakjes: één echt veld over 6 vakjes */
.codevak { position: relative; max-width: 360px; width: 100%; }
.codevak-label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.js .codevak-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.codevak .mi-code { display: none; }
.js .codevak .mi-code { display: grid; }
.js .codevak-invoer { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; color: transparent; caret-color: transparent; z-index: 2; cursor: text; }
.js .codevak-knop { display: none; }
.mi-code span { color: var(--inkt); }
.mi-code-vast { max-width: 360px; }

.p-smal .smal-pagina { width: 100%; max-width: 460px; margin: 0 auto; padding: 8px 16px 24px; display: flex; flex-direction: column; gap: 20px; }
.tv-plaatje { position: relative; height: 150px; border-radius: var(--r-lg); background: var(--vlak); box-shadow: inset 0 0 0 1px var(--lijn); display: grid; place-items: center; overflow: hidden; }
.tv-plaatje-scherm { width: 200px; height: 112px; border-radius: 12px; background: #0e0a1c; box-shadow: inset 0 0 0 3px #3a2f5c; display: grid; place-items: center; }
.tv-plaatje-scherm span { font: 600 15px var(--font-tekst); color: var(--inkt-zacht); }
.tv-plaatje-voet { position: absolute; bottom: 14px; left: 50%; margin-left: -30px; width: 60px; height: 4px; border-radius: 2px; background: #3a2f5c; }
.tvbedien { display: flex; flex-direction: column; gap: 8px; }
.tvbedien p { margin: 0; font-weight: 600; }

/* ---------- thuisplek (ontwerpbord: ThuisWeb, Welkom) ---------- */
.p-thuis { background-image: radial-gradient(600px 400px at 80% -60px, rgba(58,42,110,.6), transparent 72%); }
.thuis { max-width: 1180px; gap: 20px; }
.thuis-kop { display: flex; flex-direction: column; gap: 14px; }
.thuis-kop .groet { margin: 0; font: 600 32px/36px var(--font-kop); }
.welkom-nieuw { display: flex; flex-direction: column; gap: 10px; }
.welkom-snoer { height: 24px; }
.welkom-nieuw .thuis-kop { flex-direction: row; justify-content: space-between; align-items: flex-start; }
.welkom-nieuw .zacht { margin-top: 8px; }
.mi-chip-straks { opacity: .55; }
.mi-chip .ic { width: 18px; height: 18px; }
.thuis-raster { display: grid; gap: 20px; }
.thuis-scene { display: flex; flex-direction: column; gap: 12px; background: none; border: 0; border-radius: 0; overflow: visible; transform: none !important; }
.thuis-scene .mi-scene > img { aspect-ratio: 16/9; }
.thuis-scene .mi-scene-tekst .mi-knop { flex: none; min-height: 44px; padding: 0 18px; }
.thuis-scene .mi-scene-tekst .ic { width: 18px; height: 18px; }
.thuis-scene .mi-scene h3 { font-size: 22px; }
.thuis-scene .scene-knoppen { margin: 0; }
.scene-leeg { display: block; aspect-ratio: 16/9; background: var(--vlak-hoog); }
.thuis-zij { display: flex; flex-direction: column; gap: 20px; }
.kerst-straks { height: 110px; }
.kerst-beeld { position: absolute; inset: 0; background: radial-gradient(260px 140px at 70% 20%, rgba(127,207,168,.35), transparent 70%), linear-gradient(160deg, var(--nachthemel), #1a1238); filter: saturate(.6) brightness(.7); }
.kerst-straks .mi-scene-tekst { padding: 14px; }
.smarttv-kaart { border-radius: var(--r-lg); padding: 22px; background: var(--vlak); box-shadow: inset 0 0 0 1px var(--lijn); display: flex; flex-direction: column; gap: 12px; }
.smarttv-kaart .met-ic { align-items: center; gap: 12px; }
.smarttv-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--vlak-hoog); display: grid; place-items: center; color: var(--goud-tekst); }
.smarttv-ic .ic { width: 22px; height: 22px; margin: 0; }
.nav-link .ic { width: 18px; height: 18px; margin-right: 8px; }
@media (min-width: 760px) {
  .thuis { padding: 24px 48px 56px; gap: 28px; }
  .thuis-kop { flex-direction: row; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
  .thuis-kop .groet { font-size: 48px; line-height: 52px; }
  .thuis-raster { grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
  .thuis-scene .mi-scene h3 { font-size: 36px; }
  .thuis-scene .mi-scene-tekst { padding: 28px; }
  .thuis-scene .mi-scene p { font-size: 16px; }
  .thuis-scene .scene-knoppen { display: flex; }
  .thuis-scene .scene-knoppen .mi-knop { width: auto; }
  .kerst-straks { height: auto; aspect-ratio: 16/9; }
}
.thuis .thuis-scene { display: flex; grid-template-columns: none; }
.thuis .mi-scene-klein .mi-scene-tekst { flex-direction: column; align-items: flex-start; }
.thuis .mi-scene-klein h3 { font-size: 19px; }

/* ---------- speler (ontwerpbord: SpelerWeb) ---------- */
.p-speler .rondknop { width: 52px; height: 52px; background: var(--glas); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(246,234,212,.18); border: 0; color: var(--inkt); }
/* AirPlay- en cast-icoon blijven rechtsboven zichtbaar (standaardvormen; de FAQ verwijst ernaar). */
.speler-titel { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.speler-titel b { font: 600 20px/1.2 var(--font-kop); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.speler-titel .klein { color: var(--inkt); }
.p-speler .onderbalk { align-items: center; gap: 12px; }
.p-speler .onderbalk .vul { display: none; }
#optv-knop { margin-left: auto; }
#optv-knop .ic { width: 20px; height: 20px; }
.tvpaneel { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; flex-direction: column; gap: 0; padding: 20px 20px 28px; max-height: 90vh; overflow: auto; }
.tvpaneel[hidden] { display: none; }
.tvpaneel-kop { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 4px; }
.tvpaneel-kop .klein { margin: 0; }
.tvpaneel .mi-knop-rond { text-decoration: none; color: var(--inkt); }
.tvpaneel .mi-keuze { width: 100%; border: 0; color: var(--inkt); font: inherit; text-align: left; cursor: pointer; text-decoration: none; }
.tvpaneel .mi-keuze > .ic { margin-left: auto; width: 18px; height: 18px; color: var(--inkt-stil); flex: none; }
.tvpaneel .mi-keuze:hover:not([disabled]) { background: var(--vlak-hover); }
.tvpaneel .mi-keuze[disabled] { opacity: .55; cursor: not-allowed; }
.tvpaneel > .klein { margin: 14px 0 0; }
@media (min-width: 760px) {
  .tvpaneel { left: auto; right: 32px; bottom: 32px; width: 400px; border-radius: var(--r-xl); padding: 24px; }
  .p-speler .bovenbalk { padding: 24px 32px; }
  .p-speler .onderbalk { padding: 0 32px 32px; }
  #optv-knop { margin-left: 0; }
}

/* ---------- tv-schermen (ontwerpbord: TvCode, TvGekoppeld). 1920 breed ontwerp → vw.
   Oude tv-browsers (Chromium 47-56): geen flex-gap, geen inset, geen aspect-ratio → marges en top/left. ---------- */
.p-tv .mi-matglas > img.mi-mg-beeld { top: -20px; left: -20px; right: auto; bottom: auto; }
.tvcode-nieuw { min-height: 100vh; padding: 3.4vw; color: #fdf6e9; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.tvcode-nieuw > * { margin: 0 0 2.5vw; }
.tvcode-logo { width: 13.5vw; height: auto; }
.tvcode-zin { font-size: 2.1vw; line-height: 1.3; max-width: 68vw; }
.tvcode-zin b { color: var(--goud-licht); }
.tvcode-rij { display: flex; align-items: center; justify-content: center; }
.tvcode-code { display: flex; margin: 0; }
.tvcode-code span { font-size: 7.3vw; width: 1.15em; height: 1.45em; margin: 0 .5vw; border-radius: 1vw; }
.tvcode-qr { margin-left: 3.8vw; display: flex; flex-direction: column; align-items: center; }
.tvcode-qr .qr { width: 11.5vw; height: 11.5vw; padding: .8vw; border-radius: 1.25vw; background: #f3e6cf; }
.tvcode-qr .qr svg { width: 100%; height: 100%; display: block; }
.tvcode-qr span { margin-top: .7vw; font-size: 1.25vw; opacity: .85; }
.tvcode-nieuw .tv-wacht { font-size: 1.6vw; color: #fdf6e9; }
.tvcode-voet { font-size: 1.3vw; opacity: .85; max-width: 70vw; margin-bottom: 0; }

.tvkies-nieuw { min-height: 100vh; padding: 3.4vw 5vw; display: flex; flex-direction: column; background: radial-gradient(62vw 36vw at 80% -10%, rgba(58,42,110,.7), transparent 70%), var(--grond); }
.tvkies-kop { margin-bottom: 2.5vw; }
.tvkies-logo { width: 9.4vw; height: auto; }
.tvkies-titel { font: 600 3.75vw/1.05 var(--font-kop); margin: 0 0 2.5vw; }
.tvkies-nieuw .tv-scenes { display: flex; flex-wrap: nowrap; align-items: flex-end; justify-content: flex-start; margin: 0; overflow: visible; }
.tvkies-nieuw .tv-scenes form { margin: 0 2.1vw 0 0; }
.tvkies-nieuw .tv-scene { position: relative; display: block; width: 29vw; height: 16.4vw; padding: 0; border: 0; border-radius: 1.7vw; overflow: hidden; background: var(--vlak); color: #fdf6e9; opacity: .8; box-shadow: none; transform: none; }
.tvkies-nieuw .tv-scene-groot { width: 54vw; height: 30.4vw; opacity: 1; }
.tvkies-nieuw .tv-scene img, .tvkies-nieuw .tv-scene .scene-leeg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.tv-scene-onder { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.7vw 1.9vw; display: flex; align-items: flex-end; justify-content: space-between; text-align: left; background: linear-gradient(180deg, rgba(18,12,34,0), rgba(18,12,34,.88)); }
.tv-scene-onder strong { display: block; padding: 0; font: 600 2.1vw/1.1 var(--font-kop); }
.tv-scene-groot .tv-scene-onder strong { font-size: 2.9vw; }
.tv-scene-onder small { display: block; font-size: 1.25vw; opacity: .85; }
.tv-scene-onder .mi-knop-tv { min-height: 3.75vw; padding: 0 2.1vw; font-size: 1.35vw; }
.tvkies-nieuw .tv-scene:focus, .tvkies-nieuw .tv-scene:hover { outline: none; opacity: 1; transform: none; box-shadow: 0 0 0 .32vw var(--goud), 0 1.6vw 4.2vw -1vw rgba(244,196,106,.5); }
.tvkies-hulp { margin: auto 0 0; padding-top: 2vw; font-size: 1.45vw; color: var(--inkt-zacht); }

/* ---------- 2 apparaten: blad van onderen ---------- */
.p-blad { background: #0a0614; }
.blad-scherm { min-height: 100vh; position: relative; overflow: hidden; }
.blad-achter { position: absolute; top: 15%; left: 50%; width: 160%; max-width: none; margin-left: -80%; filter: blur(6px) brightness(.45); }
.blad-onder { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 16px; padding-bottom: 34px; max-width: 560px; margin: 0 auto; }
.blad-onder .mi-blad-greep { margin-bottom: 0; }
.blad-ic { width: 56px; height: 56px; border-radius: 18px; background: var(--vlak-hoog); display: grid; place-items: center; color: var(--goud-tekst); }
.blad-ic .ic { width: 28px; height: 28px; }
.blad-onder .zacht { margin-top: -8px; }
.blad-onder .mi-rij form, .blad-onder form.mi-rij { margin: 0; }
.blad-onder .mi-knop-tekst { padding: 0; color: var(--goud-tekst); }
.blad-onder .mi-rij-ic .ic { width: 22px; height: 22px; }
@media (min-width: 760px) { .blad-onder { bottom: 32px; border-radius: var(--r-xl); } }
.p-tv .blad-onder { max-width: 60vw; }

/* ---------- Werkt het op mijn tv? ---------- */
.p-tekst .tekst { max-width: 760px; }
.tvhulp { display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; }
.tvhulp .boven { margin-top: 8px; }
.tvhulp-soort .mi-chip { border: 0; cursor: pointer; }
.tvhulp-tegels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tvhulp-tegel { display: flex; align-items: center; min-height: 52px; padding: 10px 14px; border: 0; border-radius: var(--r-md); background: var(--vlak-hoog); color: var(--inkt); font: 600 15px/1.3 var(--font-tekst); text-align: left; cursor: pointer; }
.tvhulp-tegel:hover { background: var(--vlak-hover); }
.tvhulp-tegel.aan { background: var(--inkt); color: var(--grond); }
.tvhulp-route { display: flex; flex-direction: column; gap: 12px; }
.tvhulp-route[hidden] { display: none; }
.tvhulp-kaart { border-radius: var(--r-lg); background: var(--vlak); box-shadow: inset 0 0 0 1px var(--lijn); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.tvhulp-kaart-kop { display: flex; gap: 10px; align-items: center; }
.tvhulp-kaart-kop .ic { color: var(--goud-tekst); }
.tvhulp-kaart-kop .klein { margin: 0 0 0 auto; }
.tvhulp-stap { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.tvhulp-stap span { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--vlak-hoog); color: var(--goud-tekst); font-weight: 700; font-size: 14px; }
.tvhulp-stap p { margin: 3px 0 0; }
.tvhulp-of { margin-top: 4px; }
.tvhulp-code { margin-top: 4px; }
@media (min-width: 760px) { .tvhulp-tegels { grid-template-columns: repeat(4, minmax(0, 1fr)); } .tvhulp-code { width: auto; align-self: flex-start; } }
.p-speler .bovenbalk { justify-content: flex-start; gap: 16px; }
.p-speler .bovenbalk .rechts { margin-left: auto; }
.speler-titel { text-align: left; }

/* ---------- minder tv-uitleg (Thijs 4 dec): één knop, één rustige regel, korte hulppagina ---------- */
.p-speler .bovenbalk .rechts { display: none; } /* AirPlay en Cast lopen via de gouden knop */
.tvregel { margin: 0; font-size: 15px; line-height: 1.5; color: var(--inkt-zacht); }
.tvregel b { color: var(--inkt); font-weight: 600; }
.tvregel a { margin-left: 4px; }
.uitgelicht .tvregel { margin-top: 12px; }
.speler-regel { position: fixed; left: 16px; right: 16px; bottom: 96px; z-index: 20; padding: 12px 16px; border-radius: var(--r-md); background: var(--glas); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--lijn); color: var(--inkt); }
@media (min-width: 760px) { .speler-regel { left: 32px; right: auto; max-width: 560px; bottom: 100px; } }
.tvhulp-kort { display: flex; flex-direction: column; gap: 20px; }
.hulp-blok { padding: 20px 0 0; border-top: 1px solid var(--lijn); }
.hulp-blok h2 { margin: 0 0 6px; align-items: center; gap: 10px; }
.hulp-blok h2 .ic { width: 22px; height: 22px; color: var(--goud-tekst); margin: 0; }
.hulp-blok p { margin: 0; color: var(--inkt-zacht); line-height: 1.6; }
.hulp-blok p b, .tvhulp-kort .tekst-groot b { color: var(--inkt); }

/* ---------- volledig scherm en HDMI (Thijs 4 dec) ---------- */
.p-speler .knop-vol { width: auto; padding: 0 18px 0 14px; gap: 8px; border-radius: var(--r-pil); display: inline-flex; align-items: center; font: 600 15px var(--font-tekst); }
.p-speler .knop-vol .ic { width: 20px; height: 20px; }
.hdmi-regel { margin: 0; padding: 0 16px 16px; font-size: 14px; line-height: 1.45; color: var(--inkt-zacht); text-shadow: 0 1px 6px rgba(0,0,0,.6); }
@media (max-width: 759px) { .p-speler .vol-tekst { display: none; } .p-speler .knop-vol { width: 52px; padding: 0; justify-content: center; } }
@media (min-width: 760px) { .hdmi-regel { padding: 0 32px 24px; margin-top: -16px; } }
.p-speler:fullscreen .bediening.weg, .p-speler :fullscreen .bediening.weg { cursor: none; }
.p-speler .bediening { position: absolute; }
.p-speler .onderbalk { padding-bottom: 56px !important; }
.hdmi-regel { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0 !important; }
@media (min-width: 760px) { .hdmi-regel { bottom: 22px; } .p-speler .onderbalk { padding-bottom: 64px !important; } }

/* ---------- Apple Pay (officiële knop van Safari) ---------- */
.applepay-knop { display: block; width: 100%; height: 52px; border: 0; border-radius: var(--r-pil); cursor: pointer;
  -webkit-appearance: -apple-pay-button; -apple-pay-button-type: pay; -apple-pay-button-style: white; }
.applepay-knop[hidden] { display: none; }

/* Sneeuw over de hero (Thijs 4 dec): drie lagen, achter de tekst, stopt bij 'minder beweging'. Lus = veelvoud van de tegelhoogte. */
.hero-sneeuw { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero-sneeuw span { position: absolute; left: 0; right: 0; bottom: 0; top: calc(var(--tegel) * -1); background-repeat: repeat; will-change: transform; }
.hero-sneeuw span:nth-child(1) { background-image: radial-gradient(1.3px 1.3px at 147px 168px, rgba(255,255,255,0.62), transparent 70%), radial-gradient(1.3px 1.3px at 133px 152px, rgba(255,255,255,0.81), transparent 70%), radial-gradient(1.4px 1.4px at 177px 123px, rgba(255,255,255,0.78), transparent 70%), radial-gradient(1.6px 1.6px at 197px 23px, rgba(255,255,255,0.62), transparent 70%), radial-gradient(1.6px 1.6px at 202px 47px, rgba(255,255,255,0.70), transparent 70%), radial-gradient(2.0px 2.0px at 53px 15px, rgba(255,255,255,0.84), transparent 70%), radial-gradient(2.0px 2.0px at 36px 133px, rgba(255,255,255,0.61), transparent 70%), radial-gradient(1.7px 1.7px at 126px 165px, rgba(255,255,255,0.63), transparent 70%), radial-gradient(1.6px 1.6px at 51px 296px, rgba(255,255,255,0.62), transparent 70%), radial-gradient(1.3px 1.3px at 164px 99px, rgba(255,255,255,0.78), transparent 70%), radial-gradient(1.3px 1.3px at 106px 105px, rgba(255,255,255,0.83), transparent 70%), radial-gradient(1.6px 1.6px at 72px 265px, rgba(255,255,255,0.62), transparent 70%), radial-gradient(1.8px 1.8px at 181px 121px, rgba(255,255,255,0.75), transparent 70%), radial-gradient(1.6px 1.6px at 41px 67px, rgba(255,255,255,0.58), transparent 70%); background-size: 300px 300px; --tegel: 300px; animation: sneeuw-1 5.5s linear infinite; }
.hero-sneeuw span:nth-child(2) { background-image: radial-gradient(2.2px 2.2px at 188px 262px, rgba(255,255,255,0.62), transparent 70%), radial-gradient(2.8px 2.8px at 64px 11px, rgba(255,255,255,0.67), transparent 70%), radial-gradient(2.3px 2.3px at 364px 411px, rgba(255,255,255,0.55), transparent 70%), radial-gradient(2.3px 2.3px at 180px 307px, rgba(255,255,255,0.66), transparent 70%), radial-gradient(2.7px 2.7px at 129px 300px, rgba(255,255,255,0.63), transparent 70%), radial-gradient(2.5px 2.5px at 346px 182px, rgba(255,255,255,0.51), transparent 70%), radial-gradient(2.8px 2.8px at 17px 10px, rgba(255,255,255,0.79), transparent 70%), radial-gradient(2.7px 2.7px at 132px 200px, rgba(255,255,255,0.75), transparent 70%), radial-gradient(3.0px 3.0px at 219px 217px, rgba(255,255,255,0.60), transparent 70%); background-size: 420px 420px; --tegel: 420px; animation: sneeuw-2 10s linear infinite, sneeuw-zwaai 7s ease-in-out infinite alternate; }
.hero-sneeuw span:nth-child(3) { background-image: radial-gradient(4.1px 4.1px at 44px 444px, rgba(255,255,255,0.47), transparent 70%), radial-gradient(4.0px 4.0px at 339px 113px, rgba(255,255,255,0.44), transparent 70%), radial-gradient(4.2px 4.2px at 494px 443px, rgba(255,255,255,0.38), transparent 70%), radial-gradient(3.7px 3.7px at 169px 17px, rgba(255,255,255,0.48), transparent 70%), radial-gradient(3.3px 3.3px at 312px 135px, rgba(255,255,255,0.51), transparent 70%); background-size: 560px 560px; --tegel: 560px; animation: sneeuw-3 20s linear infinite; filter: blur(1px); }
@keyframes sneeuw-1 { from { transform: translateY(0); } to { transform: translateY(300px); } }
@keyframes sneeuw-2 { from { transform: translateY(0); } to { transform: translateY(420px); } }
@keyframes sneeuw-3 { from { transform: translateY(0); } to { transform: translateY(560px); } }
@keyframes sneeuw-zwaai { from { translate: -14px 0; } to { translate: 14px 0; } }
@media (prefers-reduced-motion: reduce) { .hero-sneeuw span:nth-child(1) { animation-duration: 15s; } .hero-sneeuw span:nth-child(2) { animation-duration: 20s, 14s; } .hero-sneeuw span:nth-child(3) { animation-duration: 30s; } }

/* Voet subtiel en gecentreerd (Thijs 4 dec) */
.mi-voet { text-align: center; justify-items: center; gap: 10px; padding-top: 28px; padding-bottom: 32px; font-size: 13px; }
.mi-voet nav { justify-content: center; gap: 0 18px; }
.mi-voet nav a { color: var(--inkt-zacht); font-size: 13px; }
.mi-voet nav a:hover { color: var(--inkt); }
.mi-voet .voet-recht { color: var(--inkt-zacht); opacity: .7; font-size: 12px; }
.mi-voet .voet-recht a { color: inherit; }
.verkoper { opacity: .7; font-size: 12px; line-height: 1.6; margin-top: 18px; }
.verkoper a { color: inherit; }

/* Woonkamer leeft: kaarsvlammen, twinkelende lichtjes, warme gloed die zacht ademt */
.leven { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.leven .gloed { position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 70%, rgba(255,170,70,.16), rgba(255,170,70,0) 70%); mix-blend-mode: screen; animation: kamer-adem 9s ease-in-out infinite; }
.leven .vlam { position: absolute; width: var(--g); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(255,214,130,.85) 0%, rgba(255,160,50,.4) 30%, rgba(255,140,40,0) 70%); animation: vlam-flik var(--d) ease-in-out var(--w) infinite; }
.leven .puntje { position: absolute; width: 1.1%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; mix-blend-mode: screen; opacity: .2;
  background: radial-gradient(circle, rgba(255,236,180,.95) 0%, rgba(255,200,100,.45) 35%, rgba(255,190,90,0) 70%); animation: puntje-twinkel var(--d) ease-in-out var(--w) infinite; }
.leven.pauze * { animation-play-state: paused; }
@keyframes kamer-adem { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes vlam-flik { 0% { opacity: .55; transform: translate(-50%, -50%) scale(.92); } 18% { opacity: .95; transform: translate(-49%, -52%) scale(1.06); }
  41% { opacity: .65; transform: translate(-51%, -50%) scale(.97); } 63% { opacity: 1; transform: translate(-50%, -53%) scale(1.1); } 82% { opacity: .7; transform: translate(-50%, -50%) scale(.95); } 100% { opacity: .55; transform: translate(-50%, -50%) scale(.92); } }
@keyframes puntje-twinkel { 0%, 100% { opacity: .15; transform: translate(-50%, -50%) scale(.8); } 35% { opacity: .9; transform: translate(-50%, -50%) scale(1.2); } 60% { opacity: .4; transform: translate(-50%, -50%) scale(.95); } 80% { opacity: .75; transform: translate(-50%, -50%) scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .leven .gloed { animation-duration: 18s; } .leven .vlam { animation-duration: 8s; } .leven .puntje { animation-duration: 9s; } }

/* ---------- blok "In drie tikken op de tv" (Thijs 4 dec: magischer, maar in stijl 1) ----------
   Gouden munten, een lichtjesslinger van stap naar stap en per stap een lijntekening die tot leven komt.
   Standaard (geen JS, reduced motion) staat alles in de eindstand; .magie (stappen.js) speelt de onthulling. */
.hoe { position: relative; isolation: isolate; overflow-x: clip; }
.hoe > .kop-1 { text-align: center; }
.hoe-stof { position: absolute; z-index: -1; inset: 0 0 -40px; pointer-events: none;
  background: radial-gradient(55% 60% at 50% 62%, rgba(244,196,106,.10), rgba(244,196,106,0) 72%); }
.hoe-stof::before, .hoe-stof::after { content: ''; position: absolute; inset: 0; }
.hoe-stof::before { background: radial-gradient(1.4px 1.4px at 8% 22%, #ffdc94, transparent 70%), radial-gradient(1.2px 1.2px at 21% 9%, #fff3cf, transparent 70%), radial-gradient(1.6px 1.6px at 37% 18%, #ffdc94, transparent 70%), radial-gradient(1.1px 1.1px at 62% 12%, #fff3cf, transparent 70%), radial-gradient(1.5px 1.5px at 79% 24%, #ffdc94, transparent 70%), radial-gradient(1.2px 1.2px at 93% 14%, #fff3cf, transparent 70%), radial-gradient(1.3px 1.3px at 4% 78%, #ffdc94, transparent 70%), radial-gradient(1.2px 1.2px at 97% 70%, #fff3cf, transparent 70%); opacity: .55; }
.hoe-stof::after { background: radial-gradient(1.2px 1.2px at 14% 40%, #fff3cf, transparent 70%), radial-gradient(1.5px 1.5px at 30% 6%, #ffdc94, transparent 70%), radial-gradient(1.1px 1.1px at 51% 4%, #fff3cf, transparent 70%), radial-gradient(1.4px 1.4px at 71% 6%, #ffdc94, transparent 70%), radial-gradient(1.2px 1.2px at 88% 36%, #fff3cf, transparent 70%), radial-gradient(1.4px 1.4px at 98% 92%, #ffdc94, transparent 70%), radial-gradient(1.1px 1.1px at 2% 96%, #fff3cf, transparent 70%); opacity: .35; }

.hoe .stappen { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 28px; }
.hoe .stappen li { padding: 0; border: 0; border-radius: 0; background: none; }
.hoe .stap { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; align-items: start; }

/* munt */
.stap-munt { position: relative; z-index: 2; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 34% 28%, #fff6dc 0, #ffdc94 20%, #f4c46a 50%, #d4922f 84%, #b5741f 100%);
  box-shadow: 0 0 0 4px rgba(244,196,106,.10), 0 0 26px rgba(244,196,106,.42), 0 6px 14px rgba(0,0,0,.35), inset 0 -3px 6px rgba(110,62,8,.45), inset 0 2px 2px rgba(255,248,226,.8);
  transition: box-shadow .5s ease; }
.stap-munt::before { content: ''; position: absolute; inset: 5px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(110,62,8,.35), 0 1px 0 rgba(255,244,210,.55); }
.munt-nr { position: relative; font: 600 25px/1 var(--font-kop); color: #3a2306; text-shadow: 0 1px 0 rgba(255,240,200,.65); margin-top: -1px; }
.munt-fonkel { position: absolute; top: -7px; right: -9px; width: 20px; height: 20px; fill: #fff3cf; filter: drop-shadow(0 0 4px rgba(255,220,148,.9)); }

/* slinger (telefoon: staand langs de munten) */
.stap-slinger { position: absolute; z-index: 1; left: 18px; top: 28px; width: 20px; height: calc(100% + 28px); pointer-events: none; }
.stap-slinger svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.stap-slinger path { fill: none; stroke: #f4c46a; stroke-opacity: .62; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.slinger-plat { display: none; }
.lamp { position: absolute; top: var(--t); left: calc(10px + var(--x)); width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
  background: #ffb45c; box-shadow: 0 0 8px 2px rgba(255,180,92,.75), 0 0 20px 5px rgba(255,180,92,.28); }
.lamp:nth-of-type(2n) { background: #ffdc94; box-shadow: 0 0 8px 2px rgba(255,220,148,.75), 0 0 20px 5px rgba(255,220,148,.25); }
/* vonk: één keer van munt naar munt over de slinger (alleen in de onthulling) */
.vonk { display: none; position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff6dc;
  box-shadow: 0 0 6px 3px rgba(255,236,190,.95), 0 0 18px 8px rgba(244,196,106,.55); opacity: 0; }

/* kaart */
.stap-kaart { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 16px 18px 22px;
  background: linear-gradient(180deg, #2a1f4c 0%, var(--vlak) 58%);
  box-shadow: inset 0 0 0 1px var(--lijn), 0 18px 40px -24px rgba(0,0,0,.6);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease; }
.stap-kaart::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 55% at 50% 0%, rgba(244,196,106,.15), rgba(244,196,106,0) 72%); }
.stap-kaart::after { content: ''; position: absolute; inset: -20% -60%; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, rgba(255,236,190,0) 40%, rgba(255,236,190,.14) 50%, rgba(255,236,190,0) 60%); }
.stap-tekening { position: relative; height: 116px; margin-bottom: 14px; display: grid; place-items: center; will-change: transform; }
.stap-tekening::before { content: ''; position: absolute; left: 50%; top: 50%; width: 150px; height: 110px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(244,196,106,.16), rgba(244,196,106,0)); pointer-events: none; }
.tk { position: relative; width: 100%; max-width: 200px; height: 100%; overflow: visible; transition: filter .5s ease; }
.stap-kaart h3 { position: relative; font: 600 20px/26px var(--font-kop); margin: 0; }
.stap-kaart p { position: relative; text-wrap: pretty; margin: 6px 0 0; color: var(--inkt-zacht); font-size: 15.5px; line-height: 1.55; }
@media (hover: hover) {
  .stap:hover .stap-kaart { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(244,196,106,.32), 0 24px 50px -22px rgba(244,196,106,.32); }
  .stap:hover .stap-munt { box-shadow: 0 0 0 5px rgba(244,196,106,.16), 0 0 38px rgba(244,196,106,.6), 0 6px 14px rgba(0,0,0,.35), inset 0 -3px 6px rgba(110,62,8,.45), inset 0 2px 2px rgba(255,248,226,.8); }
  .stap:hover .tk { filter: drop-shadow(0 0 7px rgba(244,196,106,.35)); }
}

/* tekeningen: eindstand */
.tk-lijn { fill: none; stroke: #f4c46a; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tk-ring { fill: none; stroke: #ffdc94; stroke-width: 1.4; opacity: 0; transform-box: fill-box; transform-origin: 50% 50%; }
.tk-bundel { opacity: .8; }
.tk-kaart { fill: #1a1230; stroke: rgba(244,196,106,.42); stroke-width: 1.3; transform-box: view-box; transform-origin: 100px 112px; }
.tk-links { transform: translateX(-8px) rotate(-14deg); }
.tk-rechts { transform: translateX(8px) rotate(14deg); }
.tk-sterren circle { fill: #fff3cf; }
.tk-maan-gloed { fill: #ffdc94; opacity: .2; }
.tk-maan { fill: #ffdc94; stroke: #ffdc94; }
.tk-raam circle { fill: #ffb45c; }
.tk-boot, .tk-ster, .tk-ster-groep, .tk-beeld, .tk-straal, .tk-fonkels path { transform-box: fill-box; transform-origin: 50% 50%; }
.tk-golf { stroke-opacity: .7; }
.tk-klep { fill: #2a2048; transform-box: view-box; transform-origin: 100px 54px; transform: scaleY(-1); }
.tk-zak { fill: #221839; }
.tk-zak-v { stroke-opacity: .45; }
.tk-ster-groep { transform: translateY(-30px); }
.tk-ster { fill: #ffdc94; stroke: #fff3cf; stroke-width: .6; stroke-linejoin: round; }
.tk-fonkels path { fill: none; stroke: #fff3cf; stroke-width: 1.3; stroke-linecap: round; }
.tk-sneeuw circle { fill: #fff; opacity: .85; }
.tk-straal { opacity: 0; }
.tk-lampje { fill: #ffdc94; }

/* onthulling (alleen met .magie: JS aan, geen reduced motion) */
.magie .stap:not(.aan) .stap-kaart { opacity: 0; transform: translateY(28px) scale(.97); }
.magie .stap:not(.aan) .stap-munt { opacity: 0; transform: scale(.4); }
.magie .stap:not(.aan) .stap-slinger { clip-path: inset(-20px -20px 100% -20px); }
.magie .stap:not(.aan) .lamp { background: rgba(255,180,92,.25); box-shadow: none; }
.magie .stap.aan .stap-munt { animation: munt-op .9s cubic-bezier(.3,1.5,.5,1) backwards; }
.magie .stap.aan .munt-fonkel { animation: fonkel-op 1.1s .55s ease-out backwards, fonkel-rust 6s calc(3s + var(--i) * 1.3s) ease-in-out infinite; }
.magie .stap.aan .stap-kaart { animation: kaart-op 1s .1s cubic-bezier(.2,.8,.3,1) backwards; }
.magie .stap.aan .stap-kaart::after { animation: glans 1.6s .55s ease-in-out; }
.magie .stap.aan .stap-tekening { animation: drijf 7s calc(2.5s + var(--i) * 1.1s) ease-in-out infinite; }
.magie .stap.aan .stap-slinger { animation: slinger-staand .9s .35s ease-in-out backwards; }
.magie .stap.aan .vonk { display: block; animation: vonk-staand 1.3s 1.15s linear, vonk-x-staand 1.3s 1.15s; }
.magie .stap.aan .lamp { animation: lamp-aan .5s calc(.6s + var(--n) * .11s) ease-out backwards, lamp-twinkel 4.4s calc(2.4s + var(--n) * .83s) ease-in-out infinite; }
.magie .hoe-stof::before { animation: stof 5s ease-in-out infinite alternate; }
.magie .hoe-stof::after { animation: stof 7s 2s ease-in-out infinite alternate-reverse; }
/* 1: scène */
.magie .stap.aan .tk-links { animation: waaier-l .9s .4s cubic-bezier(.3,1.3,.5,1) backwards; }
.magie .stap.aan .tk-rechts { animation: waaier-r .9s .4s cubic-bezier(.3,1.3,.5,1) backwards; }
.magie .stap.aan .tk-licht { animation: verschijn 1.2s .7s ease-out backwards; }
.magie .stap.aan .tk-ring { animation: tik-ring .9s .75s ease-out; }
.magie .stap.aan .tk-maan-gloed { animation: maangloed 4s 2s ease-in-out infinite alternate; }
.magie .stap.aan .tk-boot { animation: dobber 4.5s 1.4s ease-in-out infinite; }
.magie .stap.aan .tk-golf { animation: golf 6s linear infinite; }
.magie .stap.aan .tk-sterren circle { animation: twinkel 3s ease-in-out infinite alternate; }
.magie .stap.aan .tk-sterren circle:nth-child(2n) { animation-delay: 1.4s; }
/* 2: envelop */
.magie .stap.aan .tk-klep { animation: klep-open .7s .6s cubic-bezier(.5,0,.3,1) backwards; }
.magie .stap.aan .tk-bundel { animation: verschijn 1.2s 1s ease-out backwards; }
.magie .stap.aan .tk-ster-groep { animation: ster-op 1.2s 1.05s cubic-bezier(.2,.8,.2,1) backwards; }
.magie .stap.aan .tk-ster { animation: zweef 4s 2.4s ease-in-out infinite; }
.magie .stap.aan .tk-fonkels path { animation: fonkeltje 3.2s 2.2s ease-in-out infinite; }
.magie .stap.aan .tk-fonkels path:nth-child(2) { animation-delay: 2.9s; }
.magie .stap.aan .tk-fonkels path:nth-child(3) { animation-delay: 3.6s; }
/* 3: tv */
.magie .stap.aan .tk-straal { animation: straal .55s .6s ease-out; }
.magie .stap.aan .tk-beeld { animation: tv-aan 1s .85s cubic-bezier(.2,.8,.2,1) backwards; }
.magie .stap.aan .tk-sneeuw { animation: sneeuwval 9s linear infinite; }
.magie .stap.aan .tk-vloer { animation: verschijn 1.2s 1s ease-out backwards, vloergloed 5s 2.4s ease-in-out infinite alternate; }
.magie .stap.aan .tk-lampje { animation: verschijn .3s .55s backwards; }
.hoe.pauze *, .hoe.pauze *::before, .hoe.pauze *::after { animation-play-state: paused !important; }

@keyframes munt-op { from { opacity: 0; transform: scale(.35) rotate(-40deg); } }
@keyframes kaart-op { 0% { opacity: 0; transform: translateY(28px) scale(.97); } 65% { opacity: 1; transform: translateY(-5px) scale(1.01); } 100% { transform: none; } }
@keyframes drijf { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes tik-ring { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.28); } }
@keyframes vloergloed { from { opacity: .7; } to { opacity: 1; } }
@keyframes vonk-staand { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes vonk-x-staand { 0% { left: 10px; animation-timing-function: cubic-bezier(.25,.46,.45,.94); } 50% { left: 2px; animation-timing-function: cubic-bezier(.55,.085,.68,.53); } 100% { left: 10px; } }
@keyframes vonk-plat { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes vonk-y-plat { 0% { top: 0; animation-timing-function: cubic-bezier(.25,.46,.45,.94); } 50% { top: 24px; animation-timing-function: cubic-bezier(.55,.085,.68,.53); } 100% { top: 0; } }
@keyframes glans { 0% { opacity: 1; transform: translateX(-60%); } 100% { opacity: 1; transform: translateX(60%); } }
@keyframes fonkel-op { 0% { opacity: 0; transform: scale(0) rotate(-120deg); } 55% { opacity: 1; transform: scale(1.4) rotate(0); } 100% { transform: scale(1); } }
@keyframes fonkel-rust { 0%, 82%, 100% { transform: scale(1) rotate(0); } 90% { transform: scale(1.35) rotate(45deg); } }
@keyframes slinger-staand { from { clip-path: inset(-20px -20px 100% -20px); } to { clip-path: inset(-20px -20px -20px -20px); } }
@keyframes slinger-plat { from { clip-path: inset(-20px 100% -20px 0); } to { clip-path: inset(-20px 0 -20px 0); } }
@keyframes lamp-aan { 0% { background: rgba(255,180,92,.25); box-shadow: none; transform: scale(.6); } 60% { transform: scale(1.5); } }
@keyframes lamp-twinkel { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes stof { from { opacity: .2; } to { opacity: .7; } }
@keyframes waaier-l { from { transform: none; } }
@keyframes waaier-r { from { transform: none; } }
@keyframes verschijn { from { opacity: 0; } }
@keyframes maangloed { from { opacity: .14; } to { opacity: .32; } }
@keyframes dobber { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-1.6px) rotate(1.5deg); } }
@keyframes golf { to { transform: translateX(-24px); } }
@keyframes twinkel { from { opacity: 1; } to { opacity: .3; } }
@keyframes klep-open { from { transform: scaleY(1); } }
@keyframes ster-op { 0% { opacity: 0; transform: translateY(0) scale(.4); } 40% { opacity: 1; } }
@keyframes zweef { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-3px) rotate(6deg); } }
@keyframes fonkeltje { 0%, 100% { opacity: .25; transform: scale(.6); } 45% { opacity: 1; transform: scale(1.15); } }
@keyframes straal { 0% { opacity: 0; transform: scaleX(.05); } 40% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1) scaleY(6); } }
@keyframes tv-aan { 0% { opacity: 0; transform: scaleY(.04); filter: brightness(2.5); } 50% { opacity: 1; } 100% { filter: brightness(1); } }
@keyframes sneeuwval { to { transform: translateY(30px); } }

@media (min-width: 760px) {
  .hoe .stappen { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 16px; }
  .hoe .stap { display: flex; flex-direction: column; align-items: center; gap: 26px; }
  .stap-munt { width: 60px; height: 60px; flex: none; }
  .munt-nr { font-size: 27px; }
  .stap-slinger { left: 50%; top: 30px; width: calc(100% + 24px); height: 24px; }
  .slinger-plat { display: block; }
  .slinger-staand { display: none; }
  .lamp { left: var(--t); top: var(--y); }
  .stap-kaart { flex: 1; width: 100%; text-align: center; padding: 22px 18px 28px; }
  .stap-tekening { height: 150px; margin-bottom: 16px; place-items: end center; }
  .stap-tekening::before { left: 50%; width: 210px; height: 150px; }
  .tk { max-width: 250px; height: 150px; }
  .stap-kaart h3 { font-size: 21px; line-height: 28px; }
  .stap-kaart p { font-size: 17px; line-height: 1.6; }
  .magie .stap:not(.aan) .stap-slinger { clip-path: inset(-20px 100% -20px 0); }
  .magie .stap.aan .stap-slinger { animation-name: slinger-plat; }
  .magie .stap.aan .vonk { animation-name: vonk-plat, vonk-y-plat; }
}
@media (min-width: 1000px) { .stap-kaart { padding: 24px 26px 30px; } .stap-kaart h3 { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) {
  .hoe *, .hoe *::before, .hoe *::after { animation: none !important; transition: none !important; }
}

/* Drie kleine sfeerbeelden onder Veelgestelde vragen (Thijs 4 dec); vervangen = public/img/vragen-1..3.webp overschrijven */
.vragen-beelden { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 18px; }
.vragen-beelden img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; border: 1px solid var(--lijn); box-shadow: 0 8px 24px rgba(0,0,0,.35); display: block; }
@media (hover: hover) { .stap:hover .stap-tekening { animation-play-state: paused; } }

/* Thijs 4 dec: Noordpoolhuis op de tv (kaart 3) met twinkelende sterretjes; envelopster gloeit aan en uit (kaart 2) */
.tk-tv-sterren circle { fill: #fff6d8; opacity: .2; }
.magie .stap.aan .tk-tv-sterren circle { animation: tv-ster 2.6s ease-in-out infinite; }
.magie .stap.aan .tk-tv-sterren circle:nth-child(2) { animation-delay: .7s; animation-duration: 3.1s; }
.magie .stap.aan .tk-tv-sterren circle:nth-child(3) { animation-delay: 1.3s; }
.magie .stap.aan .tk-tv-sterren circle:nth-child(4) { animation-delay: 1.9s; animation-duration: 2.2s; }
.magie .stap.aan .tk-tv-sterren circle:nth-child(5) { animation-delay: .35s; animation-duration: 3.4s; }
@keyframes tv-ster { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
.magie .stap.aan .tk-ster-gloed { animation: ster-gloei 2.8s 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ster-gloei { 0%, 100% { opacity: .35; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .magie .stap.aan .tk-tv-sterren circle, .magie .stap.aan .tk-ster-gloed { animation: none; opacity: .8; } }

/* Afspeelbalk onder het reclame-blok (Thijs 4 dec), zoals een muziekspeler */
.afspeel { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 520px; margin: 46px auto 0; color: var(--inkt-zacht, rgba(253,246,233,.7)); font: 500 13px/1 var(--font-tekst); font-variant-numeric: tabular-nums; }
.afspeel-pauze { width: 22px; height: 22px; fill: #fdf6e9; flex: none; }
.afspeel-tijd { min-width: 52px; text-align: center; }
.afspeel-balk { position: relative; flex: 1; height: 4px; border-radius: 4px; background: rgba(253,246,233,.18); }
.afspeel-vol { position: absolute; left: 0; top: 0; bottom: 0; width: 35%; border-radius: 4px; background: linear-gradient(90deg, #f4c46a, #ffdc94); }
.afspeel-knop { position: absolute; top: 50%; left: 35%; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%; background: #fdf6e9; box-shadow: 0 0 10px rgba(255,220,148,.7), 0 1px 3px rgba(0,0,0,.4); }
.afspeel-vink { position: absolute; left: 0; bottom: 16px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font: 500 12px/1 var(--font-tekst); color: rgba(253,246,233,.66); opacity: 0; transform: translate(-50%, 4px) scale(.96); transition: opacity .6s ease, transform .6s cubic-bezier(.3,1.4,.5,1); }
.afspeel-vink.aan { opacity: 1; transform: translate(-50%, 0); }
.afspeel-vink svg { width: 16px; height: 16px; fill: none; stroke: #f4c46a; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.afspeel-vink.aan path { stroke-dasharray: 14; stroke-dashoffset: 14; animation: vink-teken .5s .25s ease-out forwards; }
@keyframes vink-teken { to { stroke-dashoffset: 0; } }

/* Voorstel voet met sfeer (4 dec) */
.mi-voet.voet-sfeer { position: relative; overflow: hidden; max-width: none; margin-top: 64px; padding: 0; border-top: 0; background: linear-gradient(180deg, rgba(18,12,34,0) 0%, #170f2e 38%, #1d1340 100%); }
.voet-gloed { position: absolute; left: 50%; bottom: -220px; width: 900px; height: 420px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(244,196,106,.16), rgba(244,196,106,0)); pointer-events: none; }
.voet-sneeuw { opacity: .55; }
.voetsfeer-in { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: 24px 16px 36px; display: grid; justify-items: center; gap: 14px; text-align: center; }
.voet-snoer { max-width: 520px; height: 34px; margin-bottom: 8px; }
.voet-merk img { display: block; width: 112px; height: auto; filter: drop-shadow(0 0 18px rgba(244,196,106,.25)); }
.voet-zin { font: 500 20px/1.3 var(--font-kop); color: #fdf6e9; margin: 0 0 6px; }
.voet-sfeer nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 14px; }
.voet-sfeer nav a { font-size: 14px; color: rgba(253,246,233,.78); text-decoration: none; }
.voet-sfeer nav a:hover { color: #f4c46a; }
.voet-sfeer nav i { width: 4px; height: 4px; border-radius: 50%; background: #f4c46a; opacity: .7; box-shadow: 0 0 6px rgba(244,196,106,.8); }
.voet-sfeer .voet-recht { margin-top: 10px; padding-top: 16px; border-top: 1px solid rgba(244,196,106,.14); width: min(100%, 640px); font-size: 12px; color: rgba(253,246,233,.5); opacity: 1; }
@media (min-width: 760px) { .voetsfeer-in { padding: 40px 48px 44px; gap: 16px; } .voet-zin { font-size: 24px; } }
@media (max-width: 759px) { .voet-sfeer nav i { display: none; } .voet-sfeer nav { gap: 4px 20px; } }

/* Voorstel: Noordpool-landschap met noorderlicht onder het reclame-blok (4 dec) */
.band-noord { position: relative; overflow: hidden; padding-bottom: 112px; background: linear-gradient(180deg, var(--vlak-diep) 0%, #160f30 55%, #1b1440 100%); }
.band-noord .band-in { position: relative; z-index: 3; }
.noord { position: absolute; inset: 0; pointer-events: none; }
.noord-licht { position: absolute; left: 0; right: 0; bottom: 50px; height: 240px; filter: blur(28px); opacity: .55; mix-blend-mode: screen; }
.noord-licht i { position: absolute; bottom: 0; height: 120px; border-radius: 50%; background: linear-gradient(90deg, rgba(80,230,170,0), rgba(80,230,170,.75), rgba(120,170,255,.55), rgba(180,120,255,0)); animation: noord-golf 14s ease-in-out infinite alternate; }
.noord-licht i:nth-child(1) { left: -10%; width: 70%; transform: rotate(-6deg); }
.noord-licht i:nth-child(2) { left: 35%; width: 60%; bottom: 40px; opacity: .8; animation-duration: 18s; animation-delay: -6s; transform: rotate(5deg); }
.noord-licht i:nth-child(3) { left: 10%; width: 85%; bottom: 90px; height: 70px; opacity: .45; animation-duration: 22s; animation-delay: -11s; }
@keyframes noord-golf { 0% { transform: translateX(-4%) scaleY(.8) rotate(-4deg); opacity: .5; } 50% { opacity: 1; } 100% { transform: translateX(5%) scaleY(1.25) rotate(3deg); opacity: .7; } }
.noord-sneeuw { opacity: .6; }
.noord-land { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 130px; display: block; }
@media (prefers-reduced-motion: reduce) { .noord-licht i { animation: none; } }
@media (max-width: 759px) { .band-noord { padding-bottom: 84px; } .noord-land { height: 90px; } .noord-licht { bottom: 30px; height: 190px; } }
.noord-bomen { position: absolute; bottom: 46px; height: 62px; width: auto; fill: #2a2152; filter: drop-shadow(0 0 10px rgba(120,170,255,.25)); }
.noord-bomen-l { left: 13%; }
.noord-bomen-r { right: 15%; }
@media (max-width: 759px) { .noord-bomen { bottom: 36px; height: 40px; } .noord-bomen-l { left: 6%; } .noord-bomen-r { right: 6%; } }

/* Schilderijlijst om de woonkamer (Thijs 4 dec): eigen vergulde barok-lijst (PNG met transparant midden), de kamer hangt erin.
   Gat in de lijst: x 4,14% y 7,2% breed 91,7% hoog 85,6% (slanke lijst, Thijs 4 dec); de kamer ligt er met 0,1% overlap onder. */
.lijst { position: relative; aspect-ratio: 2000 / 1194; }
.lijst::before { content: ""; position: absolute; inset: 0.8% 0.6% 1.3%; z-index: 0; background: #0d0820; box-shadow: 0 26px 46px -6px rgba(0,0,0,.65), 0 8px 16px rgba(0,0,0,.4), 0 0 60px rgba(244,196,106,.10); }
.lijst::after { content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none; background: url(/img/lijst-barok.webp) center / 100% 100% no-repeat; }
.lijst .kamer { position: absolute; left: 4.2%; right: 4.2%; top: 7.2%; bottom: 7.1%; z-index: 1; border-radius: 0; box-shadow: none; }
.lijst .kamer picture { display: block; height: 100%; }
.lijst .kamer-foto { height: 100%; object-fit: cover; aspect-ratio: auto; }
@media (max-width: 700px) { .lijst::after { background-image: url(/img/lijst-barok-1000.webp); } }

/* Noordpool-blok leeft: slee van de Kerstman vliegt af en toe langs de lucht, sneeuwpop zwaait (Thijs 4 dec) */
.band-noord { padding-top: 104px; }
@media (min-width: 760px) { .band-noord { padding-top: 158px; } }
.noord-slee { --sw: 250px; position: absolute; left: 0; right: 0; top: 16px; height: 120px; z-index: 2; overflow: hidden; }
.slee-x { position: absolute; inset: 0; opacity: 0; animation: slee-x 24s cubic-bezier(.3,.08,.7,.92) 2.5s infinite; }
.slee-y { position: absolute; top: 0; left: calc(var(--sw) * -1); width: var(--sw); animation: slee-y 24s ease-in-out 2.5s infinite; }
.slee { display: block; width: 100%; height: auto; overflow: visible; }
.slee-vorm { fill: #e4dfff; opacity: .68; filter: drop-shadow(0 0 5px rgba(205,195,255,.45)); }
.slee-vorm [fill="none"], .slee-vorm g[fill="none"] path { stroke: #e4dfff; }
.slee-leidsel { opacity: .75; }
.slee-stof circle { animation: slee-stof 1.8s ease-in-out infinite; animation-delay: var(--d); }
.rd { animation: rd-bob .6s ease-in-out infinite alternate; animation-delay: var(--d); }
.rd-a { animation: rd-poot-a 1.2s steps(1, end) infinite; animation-delay: var(--d); }
.rd-b { animation: rd-poot-b 1.2s steps(1, end) infinite; animation-delay: var(--d); }
@keyframes slee-x { 0% { transform: translateX(0); opacity: 0; } 3% { opacity: 1; } 43% { opacity: 1; } 46% { transform: translateX(calc(100% + var(--sw))); opacity: 0; } 100% { transform: translateX(calc(100% + var(--sw))); opacity: 0; } }
@keyframes slee-y { 0% { transform: translateY(62px) rotate(-5deg); } 23% { transform: translateY(10px) rotate(-.5deg); } 46%, 100% { transform: translateY(34px) rotate(4deg); } }
@keyframes slee-stof { 0%, 100% { opacity: .15; } 50% { opacity: .9; } }
@keyframes rd-bob { from { transform: translateY(-.7px); } to { transform: translateY(.7px); } }
@keyframes rd-poot-a { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes rd-poot-b { 0% { opacity: 0; } 50% { opacity: 1; } }

.sneeuwpop { position: absolute; bottom: 43px; left: calc(13% + 112px); height: 76px; width: auto; z-index: 1; overflow: visible; filter: drop-shadow(0 0 10px rgba(190,190,255,.22)); }
.sp-arm-r { transform-box: view-box; transform-origin: 41.6px 38.4px; animation: sp-zwaai 8s ease-in-out infinite; }
.sp-hoofd { transform-box: view-box; transform-origin: 32px 30px; animation: sp-hoofd 8s ease-in-out infinite; }
.sp-sjaal-staart { transform-box: view-box; transform-origin: 35.6px 31px; animation: sp-sjaal 5s ease-in-out infinite alternate; }
@keyframes sp-zwaai { 0%, 46%, 100% { transform: rotate(0); } 7% { transform: rotate(-22deg); } 14% { transform: rotate(6deg); } 21% { transform: rotate(-22deg); } 28% { transform: rotate(6deg); } 35% { transform: rotate(-16deg); } }
@keyframes sp-hoofd { 0%, 100% { transform: rotate(0); } 10%, 34% { transform: rotate(-7deg); } 46% { transform: rotate(0); } 64% { transform: translateY(.8px) rotate(3deg); } 70% { transform: translateY(0) rotate(3deg); } 76% { transform: translateY(.8px) rotate(3deg); } 86% { transform: rotate(0); } }
@keyframes sp-sjaal { from { transform: rotate(-5deg); } to { transform: rotate(6deg); } }

@media (max-width: 759px) {
  .noord-slee { --sw: 160px; top: 10px; height: 86px; }
  @keyframes slee-y { 0% { transform: translateY(46px) rotate(-5deg); } 23% { transform: translateY(6px) rotate(-.5deg); } 46%, 100% { transform: translateY(24px) rotate(4deg); } }
  .sneeuwpop { height: 50px; bottom: 33px; left: calc(6% + 74px); }
}
@media (prefers-reduced-motion: reduce) {
  .slee-x, .slee-y, .slee-stof circle, .rd, .rd-a, .rd-b, .sp-arm-r, .sp-hoofd, .sp-sjaal-staart { animation: none; }
  .slee-x { opacity: 1; transform: translateX(calc(72% + var(--sw) * .5)); }
  .slee-y { transform: translateY(18px) rotate(-2deg); }
  .rd-b { opacity: 0; }
}
.slee-man > *, .slee-bak { stroke: #17102f; stroke-width: .9; paint-order: stroke; stroke-linejoin: round; }
@media (min-width: 760px) { .noord-slee { --sw: 270px; } }
@media (max-width: 759px) { .band-noord { padding-bottom: 96px; } }
.slee-licht { fill: #ffffff; }
.slee-sier { stroke: #f4d58a !important; opacity: .7; }
/* Ronde 2: rustiger vlucht, start pas als het blok in beeld is (public/js/noord.js), bovenruimte iets kleiner */
@media (min-width: 760px) { .band-noord { padding-top: 140px; } }
.slee-x { animation-timing-function: cubic-bezier(.25,.1,.75,.9); animation-delay: 1.5s; }
.slee-y { animation-delay: 1.5s; }
.noord-slee *, .sneeuwpop * { animation-play-state: paused !important; }
.band-noord.in-beeld .noord-slee *, .band-noord.in-beeld .sneeuwpop * { animation-play-state: running !important; }
@keyframes slee-x { 0% { transform: translateX(0); opacity: 0; } 3% { opacity: 1; } 35% { opacity: 1; } 38% { transform: translateX(calc(100% + var(--sw))); opacity: 0; } 100% { transform: translateX(calc(100% + var(--sw))); opacity: 0; } }
@keyframes slee-y { 0% { transform: translateY(58px) rotate(-5deg); } 19% { transform: translateY(12px) rotate(-.5deg); } 38%, 100% { transform: translateY(36px) rotate(4deg); } }
@media (max-width: 759px) {
  @keyframes slee-y { 0% { transform: translateY(46px) rotate(-5deg); } 19% { transform: translateY(6px) rotate(-.5deg); } 38%, 100% { transform: translateY(24px) rotate(4deg); } }
}
@media (prefers-reduced-motion: reduce) { .slee-x { opacity: .4; } }
@media (min-width: 760px) { .sneeuwpop { left: calc(13% + 98px); } }
@media (min-width: 760px) { .sneeuwpop { bottom: 39px; } }
.slee-muts { fill: #f2c56f; }
.rd-bel { fill: #f4c46a; }
.slee-sier { opacity: .85; }
.slee-vorm { opacity: .76; }
.slee-x, .slee-y { animation-delay: 3.5s; }
@media (max-width: 759px) { .noord-slee { --sw: 180px; } }

/* Hero-film (Thijs 4 dec): stille clips tussen de poster en de waas. Waas en sneeuw blijven erover. */
.p-home .hero-film { z-index: 0; position: absolute; left: 0; right: 0; top: 0; height: 400px; overflow: hidden; pointer-events: none; }
.p-home .hero-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 42% 50%; opacity: 0; transition: opacity 1.2s ease-in-out; background: transparent; }
.p-home .hero-film video.aan { opacity: 1; }
.p-home .hero-film video.eerste { transition-duration: .9s; }
@media (min-width: 760px) { .p-home .hero-film { height: auto; bottom: 0; } }
@media (prefers-reduced-motion: reduce) { .p-home .hero-film { display: none; } }
/* Hero-film: sterkere waas zodat de tekst ook op lichte platen (schaatsgracht dag, pastel) leesbaar blijft */
.p-home .hero-waas { background: linear-gradient(180deg, rgba(21,14,40,.62) 0%, rgba(21,14,40,.12) 11%, rgba(21,14,40,.5) 23%, rgba(21,14,40,.9) 33%, rgba(21,14,40,.96) 45%, var(--grond) 58%); }
.p-home .hero-tekst h1, .p-home .hero-tekst .boven, .p-home .hero-tekst .tekst-groot, .p-home .hero-tekst .klein { text-shadow: 0 1px 14px rgba(21,14,40,.85), 0 0 3px rgba(21,14,40,.6); }
@media (min-width: 760px) {
  .p-home .hero-waas { background: linear-gradient(90deg, rgba(21,14,40,.98) 0%, rgba(21,14,40,.93) 30%, rgba(21,14,40,.78) 46%, rgba(21,14,40,.38) 62%, rgba(21,14,40,0) 78%), linear-gradient(180deg, rgba(21,14,40,.7) 0%, rgba(21,14,40,0) 18%, rgba(21,14,40,0) 70%, var(--grond) 100%); }
}

/* Waas altijd boven de film (Thijs 4 dec: tekst onleesbaar op lichte platen) */
.p-home .hero-beeld { z-index: 0; }
.p-home .hero-film { z-index: 0; }
.p-home .hero-waas { z-index: 1; }
.p-home .hero .hero-sneeuw { z-index: 1; }
.p-home .hero-tekst { z-index: 2; }

/* ---------- MOBIEL: meer lucht op de voorpagina (Thijs 4 dec: 'content op mobiel erg krap').
   Alleen tot 759 px; computerversie ongemoeid. Vaste schaal 8/16/24/32/48/72, zijmarge 20. ---------- */
@media (max-width: 759px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .kop { padding: 16px 20px; }
  .mi-voet { padding-left: 20px; padding-right: 20px; }

  /* hero: hoger beeld, tekst lager (valt minder over het beeld) */
  .p-home .hero-beeld, .p-home .hero-film { height: 520px; }
  .p-home .hero-waas { background: linear-gradient(180deg, rgba(21,14,40,.58) 0, rgba(21,14,40,.1) 96px, rgba(21,14,40,.06) 330px, rgba(21,14,40,.78) 400px, rgba(21,14,40,.93) 448px, var(--grond) 540px); }
  .p-home .hero-tekst { margin-top: -72px; padding: 0 20px 8px; gap: 16px; }
  .p-home .hero-tekst .tekst-groot { line-height: 1.7; }
  .p-home .hero-acties { gap: 12px; margin-top: 8px; }
  .p-home .hero-tekst .klein { margin-top: 4px; }

  /* blokken */
  .p-home .blok { padding-top: 72px; gap: 24px; }
  .tekst-groot { line-height: 1.7; }
  .hoe .stappen { margin-top: 16px; gap: 48px; }
  .hoe .stap { column-gap: 16px; }
  .stap-kaart { padding: 24px 20px 28px; }
  .stap-tekening { margin-bottom: 24px; }
  .stap-kaart p { margin-top: 12px; line-height: 1.65; }
  .p-home .boot { gap: 32px; }
  .boot-tekst { gap: 16px; }
  .woonkamer { gap: 16px; }

  .band { margin-top: 48px; padding: 56px 0; }
  .band-in { gap: 16px; }
  .band-noord { padding-top: 96px; padding-bottom: 120px; }
  .band-noord .band-in { gap: 16px; }
  .band-noord .band-in .mi-snoer { margin-bottom: 8px; }
  .afspeel { margin-top: 48px; }

  .p-home .prijs-vragen { gap: 72px; }
  .p-home .mi-prijs { padding: 32px 24px; }
  .p-home .mi-prijs h3 { margin-bottom: 8px; }
  .mi-vinklijst { margin: 24px 0 32px; gap: 16px; }
  .mi-prijs .klein { margin-top: 16px; }
  .vragen .kop-2 { margin-bottom: 16px; }
  .vragen-beelden { gap: 8px; margin: 24px 0 24px; }
  .vragen .vraag { padding: 24px 0; }
  .vragen .vraag h3 { margin-bottom: 8px; line-height: 1.45; }
  .vragen .vraag p { line-height: 1.65; padding: 0; }

  .slotband { margin-top: 48px; padding: 80px 0; }
  .slotband-in { gap: 24px; }
  .slotband-in .mi-knop { margin-top: 8px; }
  .mi-voet.voet-sfeer { margin-top: 72px; }
  .voetsfeer-in { padding: 48px 20px 40px; gap: 16px; }
  .voet-snoer { margin-bottom: 16px; }
  .voet-zin { margin-bottom: 8px; }
  .voet-sfeer nav { gap: 8px 24px; }
  .voet-sfeer .voet-recht { margin-top: 16px; padding-top: 24px; line-height: 1.6; }
}

/* Soepel scrollen (Thijs 4 dec): wat buiten beeld is staat stil (public/js/pauze.js), niets animeert layout of background. */
.buiten-beeld, .buiten-beeld *, .buiten-beeld *::before, .buiten-beeld *::after { animation-play-state: paused !important; }
.noord-licht i { will-change: transform, opacity; }
/* Woonkamer: één screen-menging voor alle lichtjes samen i.p.v. één per vlam of puntje */
.leven { mix-blend-mode: screen; }
.leven .vlam, .leven .puntje, .leven .gloed { mix-blend-mode: normal; }
.leven .vlam, .leven .puntje { will-change: transform, opacity; }
/* Afspeelbalk: rondje, vinkje en vulling bewegen met transform/translate (geen layout per frame) */
.afspeel-vol { width: 100%; transform-origin: 0 50%; transform: scaleX(.35); will-change: transform; }
.afspeel-knop { left: 0; translate: 0 0; will-change: translate; }
.afspeel-vink { left: 0; }
