/* Beweging op de startpagina van keep2protect.com (en + nl), sinds 28 okt 2026. De HTML zet
   tools/site-tools/add_motion.py, het gedrag staat in assets/motion.js.
   Regel: zonder script of met "beweging beperken" staat alles stil en blijft alles leesbaar. Wat
   beweegt, start pas als motion.js de klasse .motion (rondgang) of .rv (onthullen) zet. */

@property --vp { syntax: '<number>'; inherits: true; initial-value: 0; }
@keyframes k2pVp { from { --vp: 0; } to { --vp: 1; } }

/* ── Hero: film achter de tekst ── */
.hero-film { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: var(--night); }
.hero-film img, .hero-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero-film video { opacity: 0; transition: opacity 1.2s ease; }
.hero-film video.playing { opacity: 1; }
.hero-film::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(18,15,46,.93) 0%, rgba(18,15,46,.82) 32%, rgba(18,15,46,.38) 60%, rgba(18,15,46,.30) 100%),
    linear-gradient(180deg, rgba(18,15,46,.6) 0%, rgba(18,15,46,0) 20%, rgba(18,15,46,0) 72%, rgba(18,15,46,.9) 100%);
}
.hero .wrap { position: relative; z-index: 1; }
@media (max-width: 860px) {
  .hero-film img, .hero-film video { object-position: 50% 50%; }
  .hero-film::after { background: linear-gradient(180deg, rgba(18,15,46,.5) 0%, rgba(18,15,46,.8) 30%, rgba(18,15,46,.82) 52%, rgba(18,15,46,.45) 72%, rgba(18,15,46,.92) 100%); }
}

/* Kaartje "Inventariswaarde" naast de telefoon */
.hero-phone { position: relative; }
.hero-chip {
  position: absolute; z-index: 2; left: calc(50% - 250px); bottom: 21%;
  display: grid; gap: 2px; padding: 13px 18px 14px; border-radius: 10px; min-width: 176px;
  background: var(--night); color: #fff; box-shadow: 0 18px 40px rgba(6,4,24,.45);
}
.hero-chip .lbl { font-size: 13px; font-weight: 700; color: var(--lamp); }
.hero-chip b { font-family: var(--display); font-size: 23px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.hero-chip .ex { font-size: 11.5px; color: rgba(255,255,255,.6); }
@media (max-width: 860px) { .hero-chip { left: max(0px, calc(50% - 178px)); bottom: 96px; min-width: 0; padding: 10px 13px; } .hero-chip b { font-size: 19px; } }

/* ── Knoppen: een zachte lampgloed ── */
.btn-lamp, .store, .nav .pill { position: relative; }
.btn-lamp { transition: transform .2s ease, box-shadow .35s ease; }
.btn-lamp:hover, .btn-lamp:focus-visible {
  box-shadow: 0 0 0 1px rgba(255,217,138,.75), 0 0 30px 6px rgba(255,217,138,.42), 0 16px 40px rgba(255,217,138,.3);
}
.btn-lamp::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.6) 50%, transparent 65%) no-repeat;
  background-size: 260% 100%; background-position: 130% 0; opacity: 0;
}
.store { transition: transform .15s ease, border-color .15s ease, box-shadow .35s ease; }
.store:hover { box-shadow: 0 0 26px rgba(255,217,138,.3); border-color: rgba(255,217,138,.6); }
.nav .pill { transition: box-shadow .3s ease; }
.nav .pill:hover { box-shadow: 0 0 22px rgba(255,217,138,.55); }
@media (prefers-reduced-motion: no-preference) {
  .btn-lamp:hover::after { animation: k2pSheen .9s ease forwards; }
  @keyframes k2pSheen { 0% { opacity: 1; background-position: 130% 0; } 100% { opacity: 1; background-position: -30% 0; } }
}

/* ── Onthullen bij het scrollen (motion.js zet .rv op wat nog onder de vouw staat) ── */
.rv { opacity: 0; transform: translate3d(0, 22px, 0); }
.rv.tilt { transform: perspective(1000px) translate3d(0, 34px, 0) rotateX(8deg); transform-origin: 50% 100%; }
.rv.side { transform: translate3d(-28px, 0, 0); }
.rv.in {
  opacity: 1; transform: none;
  transition: opacity .55s ease var(--rd, 0ms), transform .7s cubic-bezier(.2,.75,.2,1) var(--rd, 0ms);
}
tr.rv { transform: none; }
.rv .ck, .rv .lk { transform: scale(.3); opacity: 0; }
.rv.in .ck, .rv.in .lk { transform: none; opacity: 1; transition: transform .45s cubic-bezier(.3,1.6,.5,1) calc(var(--rd, 0ms) + 90ms), opacity .2s ease calc(var(--rd, 0ms) + 90ms); }
.rv svg.draw path, .rv .draw svg path { stroke-dasharray: 17; stroke-dashoffset: 17; }
.rv.in svg.draw path, .rv.in .draw svg path { stroke-dashoffset: 0; transition: stroke-dashoffset .5s cubic-bezier(.6,0,.2,1) calc(var(--rd, 0ms) + 180ms); }

/* FAQ: open en dicht met een korte overgang (waar de browser het kan) */
@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    .faq details { interpolate-size: allow-keywords; }
    .faq details::details-content { height: 0; overflow: clip; transition: height .32s ease, content-visibility .32s allow-discrete; }
    .faq details[open]::details-content { height: auto; }
  }
}

/* ── Filmbanden tussen de secties ── */
.interlude { position: relative; margin: 0; height: clamp(300px, 58vh, 620px); overflow: hidden; background: #0C0A20; color: #fff; isolation: isolate; }
.il-media { position: absolute; inset: -9% 0; transform: translate3d(0, calc((.5 - var(--vp)) * 14%), 0); will-change: transform; }
.il-media img, .il-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.il-media video { opacity: 0; transition: opacity .8s ease; }
.il-media video.playing { opacity: 1; }
.interlude::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12,10,32,.55) 0%, rgba(12,10,32,0) 26%, rgba(12,10,32,0) 48%, rgba(12,10,32,.82) 100%),
    linear-gradient(90deg, rgba(12,10,32,.5) 0%, rgba(12,10,32,0) 55%);
}
.interlude figcaption {
  position: absolute; z-index: 2; bottom: clamp(26px, 7vh, 64px);
  left: max(16px, env(safe-area-inset-left, 0px), calc((100% - 1088px) / 2));
  right: 16px; max-width: 19ch;
  font-family: var(--display); font-weight: 800; font-size: clamp(27px, 4.3vw, 54px); line-height: 1.05;
  letter-spacing: -.02em; text-wrap: balance; text-shadow: 0 4px 30px rgba(0,0,0,.45);
}
.interlude figcaption em { font-style: normal; color: var(--lamp); }
.interlude .w { display: inline-block; }
.interlude.rv-words .w { opacity: 0; transform: translate3d(0, .45em, 0); filter: blur(4px); }
.interlude.rv-words.in .w {
  opacity: 1; transform: none; filter: none;
  transition: opacity .5s ease calc(var(--i) * 55ms), transform .6s cubic-bezier(.2,.75,.2,1) calc(var(--i) * 55ms), filter .5s ease calc(var(--i) * 55ms);
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .interlude { animation: k2pVp linear both; animation-timeline: view(); }
  }
}
@media (prefers-reduced-motion: reduce) { .il-media { transform: none; inset: 0; } }

/* ── Footer: nacht, met het StediStudio-logo ── */
footer { background: var(--night); color: rgba(255,255,255,.66); border-top: 0; padding-block: 34px 30px; }
footer a { color: rgba(255,255,255,.8); }
footer a:hover { color: #fff; }
footer .studio { display: block; margin-bottom: 18px; }
.studio-mark { display: inline-flex; align-items: flex-start; gap: 2px; color: rgba(255,255,255,.75); text-decoration: none; border-radius: 8px; }
.studio-mark img { height: 42px; width: auto; transition: filter .35s ease, transform .35s ease; }
.studio-mark sup { font-size: 13px; line-height: 1; margin-top: 2px; font-family: var(--body); }
.studio-mark:hover img { filter: drop-shadow(0 0 14px rgba(143,227,171,.45)); }

/* ── Hoe het werkt: de rondgang ──
   Alles in de telefoon komt uit assets/walkthrough-timeline.json (via add_motion.py).
   Zonder .motion (geen script, "beweging beperken"): een donkere band met vier telefoons naast elkaar,
   elk op zijn eindbeeld. Met .motion: één telefoon in het midden van een vast scherm; het scrollen
   bepaalt de tijd in de film erachter, en wat er in beeld komt, verschijnt in de telefoon. */
#hoe .section-head { margin-bottom: 40px; }
.walk { position: relative; margin: 0 0 72px; color: #fff; background: var(--night); }
.walk-stage { position: relative; padding: 56px 0 60px; overflow: hidden; }
.walk-media { position: absolute; inset: 0; overflow: hidden; container-type: size; }
.walk-frame {
  position: absolute; left: 50%; top: 50%;
  width: max(100cqw, 100cqh * 16 / 9); height: max(100cqh, 100cqw * 9 / 16);
  transform: translate(-50%, -50%);
}
.walk-frame img, .walk-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.walk-frame video { opacity: 0; transition: opacity .6s ease; }
.walk-frame video.ready { opacity: 1; }
.walk-shade { position: absolute; inset: 0; pointer-events: none; background: rgba(18,15,46,.74); }
.walk-ui { position: relative; }
.walk-room, .walk-tags, .walk-sweep, .walk-rail { display: none; }
.walk-device { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; max-width: 1120px; margin: 0 auto; padding-inline: max(16px, env(safe-area-inset-left, 0px)); }
.wf { margin: 0; position: relative; min-width: 0; }
.wf .phone { width: 100%; max-width: 250px; margin: 0 auto; padding: 3.333%; border-radius: 15.8% / 7.25%; }
.wf figcaption { display: grid; gap: 4px; margin-top: 22px; text-align: center; max-width: 30ch; margin-inline: auto; }
.wf figcaption .n { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--lamp); }
.wf figcaption .n i { font-style: normal; opacity: .5; }
.wf figcaption b { font-family: var(--display); font-size: 22px; font-weight: 800; line-height: 1.1; }
.wf figcaption .t { font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.8); }
.walk-outro { position: relative; text-align: center; margin: 44px auto 0; padding-inline: 16px; font-family: var(--display); font-weight: 800; font-size: clamp(24px, 3vw, 34px); line-height: 1.1; color: var(--lamp); text-wrap: balance; }
@media (max-width: 860px) {
  .walk-device { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; }
  .wf figcaption b { font-size: 18px; } .wf figcaption .t { font-size: 14px; }
}

/* Het scherm. Maten in cqw/cqh: alles schaalt mee met de telefoon (ontworpen op 308 × 695 px). */
.walk .ws { position: relative; width: 100%; height: 100%; border-radius: 12.7% / 5.65%; overflow: hidden; background: #000; container-type: size; font-family: var(--body); color: #fff; isolation: isolate; text-align: left; }
.walk .ws img { border-radius: 0; }
.walk .th { display: block; flex: none; width: 9.6cqw; height: 9.6cqw; border-radius: 2.4cqw; background: #CFC8F0 no-repeat 50% 50% / cover; }
.walk.near .th { background-image: var(--img); }
@media (prefers-reduced-motion: reduce) { .walk .th { background-image: var(--img); } }
.walk .sb { position: absolute; z-index: 6; left: 0; right: 0; top: 0; height: 13cqw; display: flex; align-items: center; justify-content: space-between; padding: 1.4cqw 7.5cqw 0 8.5cqw; font-size: 4.6cqw; font-weight: 600; letter-spacing: -.01em; }
.walk .sb .isl { position: absolute; left: 50%; top: 3.2cqw; width: 30cqw; height: 8.6cqw; margin-left: -15cqw; border-radius: 99px; background: #000; }
.walk .sb .sig { display: inline-flex; align-items: flex-end; gap: .6cqw; height: 3.2cqw; }
.walk .sb .sig i { width: .9cqw; background: currentColor; border-radius: .3cqw; }
.walk .sb .sig i:nth-child(1) { height: 35%; } .walk .sb .sig i:nth-child(2) { height: 55%; } .walk .sb .sig i:nth-child(3) { height: 78%; } .walk .sb .sig i:nth-child(4) { height: 100%; }
.walk .sb .sig b { width: 6.4cqw; height: 3.2cqw; margin-left: 1.4cqw; border: .35cqw solid currentColor; border-radius: 1cqw; padding: .4cqw; background: linear-gradient(90deg, currentColor 78%, transparent 78%) content-box; }
.walk .app .sb { color: #17162B; }

.walk .pill { position: absolute; z-index: 5; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 1.8cqw; white-space: nowrap;
  padding: 1.9cqw 3.6cqw; border-radius: 99px; font-size: 3.9cqw; font-weight: 600; color: #fff;
  background: rgba(20,16,50,.55); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.walk .pill.top { top: 15cqw; }
.walk .pill .spark { width: 3.4cqw; height: 3.4cqw; fill: var(--lamp); }
.walk .pill .spin { width: 3.2cqw; height: 3.2cqw; border-radius: 50%; border: .6cqw solid rgba(255,255,255,.3); border-top-color: var(--lamp); }
.walk .pill.busy { top: calc(52% - 13cqw); opacity: 0; transition: opacity .25s ease; }
.walk .pill.busy.on { opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .walk .pill .spin { animation: k2pSpin .9s linear infinite; } }
@keyframes k2pSpin { to { transform: rotate(360deg); } }

/* De zoeker: in de camerastap het hele scherm, tijdens het scannen het bovenste deel */
.walk .vfr { position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 52%; overflow: hidden; background: #0B0A1C; }
.walk .ws.live .vfr { height: 100%; }
.walk .vfr img, .walk .vfr canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.walk .vfr .feed-still { object-position: var(--sfx, 50%) 50%; }
.walk .vfr .feed { opacity: 0; transition: opacity .3s ease; }
.walk .vfr .feed.ready { opacity: 1; }
.walk .vfr::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10,8,30,.45) 0%, rgba(10,8,30,0) 26%, rgba(10,8,30,0) 70%, rgba(10,8,30,.35) 100%); }
.walk .vf { position: absolute; z-index: 2; inset: 30cqw 9cqw 56cqw; pointer-events: none; opacity: .85; filter: drop-shadow(0 0 6px rgba(0,0,0,.35));
  background:
    linear-gradient(#fff, #fff) 0 0 / 7cqw .7cqw, linear-gradient(#fff, #fff) 0 0 / .7cqw 7cqw,
    linear-gradient(#fff, #fff) 100% 0 / 7cqw .7cqw, linear-gradient(#fff, #fff) 100% 0 / .7cqw 7cqw,
    linear-gradient(#fff, #fff) 0 100% / 7cqw .7cqw, linear-gradient(#fff, #fff) 0 100% / .7cqw 7cqw,
    linear-gradient(#fff, #fff) 100% 100% / 7cqw .7cqw, linear-gradient(#fff, #fff) 100% 100% / .7cqw 7cqw;
  background-repeat: no-repeat; transition: inset .5s ease; }
.walk .ws .hint { position: absolute; z-index: 3; left: 0; right: 0; bottom: 37cqw; text-align: center; font-size: 3.9cqw; font-weight: 500; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.walk .shutter { position: absolute; z-index: 3; left: 50%; bottom: 11cqw; width: 21cqw; height: 21cqw; margin-left: -10.5cqw; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 35% 30%, #8B7CFF, #4F46E5 70%); box-shadow: 0 0 0 1.4cqw rgba(255,255,255,.9), 0 0 0 2.6cqw rgba(255,255,255,.18), 0 2cqw 7cqw rgba(79,70,229,.6); }
.walk .shutter svg { width: 9cqw; height: 9cqw; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.walk .flash { position: absolute; inset: 0; z-index: 7; background: #fff; opacity: 0; pointer-events: none; }

/* Kaders: op de achtergrond in % van het videobeeld, in de stilstaande zoeker in % van de uitsnede */
.walk .tag { position: absolute; left: calc(var(--x) * 100%); top: calc(var(--y) * 100%); width: calc(var(--w) * 100%); height: calc(var(--h) * 100%);
  border: 1.5px solid var(--lamp); border-radius: 10px; box-shadow: 0 0 14px rgba(255,217,138,.55), inset 0 0 14px rgba(255,217,138,.22); }
.walk .tag b { position: absolute; left: calc(6px + var(--lx, 0px)); top: calc(6px + var(--ly, 0px)); padding: 3px 8px; border-radius: 99px; white-space: nowrap; background: var(--lamp); color: var(--night);
  font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: .01em; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.walk .vtags { position: absolute; inset: 0; z-index: 1; }
.walk .vtags .tag { border-width: 1px; border-radius: 2.4cqw; box-shadow: 0 0 2.6cqw rgba(255,217,138,.6); }
.walk .vtags .tag b { left: calc(1.2cqw + var(--lx, 0px)); top: calc(1.2cqw + var(--ly, 0px)); padding: .6cqw 1.8cqw; font-size: 3.1cqw; }
.walk .ws.live .vtags { display: none; }

/* Stilstaand blad met de herkende voorwerpen (stap 2) */
.walk .sheet { position: absolute; z-index: 3; left: 0; right: 0; top: 49%; bottom: 0; padding: 5.5cqw 5.5cqw 0; border-radius: 6cqw 6cqw 0 0;
  background: linear-gradient(170deg, #ECE8FB, #F7E6F0); color: #17162B; box-shadow: 0 -3cqw 8cqw rgba(10,8,30,.35); }
.walk .sheet .st { display: block; font-family: var(--display); font-size: 5.6cqw; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.walk .chips { display: flex; flex-wrap: wrap; gap: 2cqw; margin-top: 4cqw; }
.walk .chip { display: inline-flex; align-items: center; gap: 1.4cqw; padding: 1.8cqw 3cqw; border-radius: 99px; background: #fff; font-size: 3.7cqw; font-weight: 600; color: #4F46E5; box-shadow: 0 1cqw 3cqw rgba(60,50,140,.12); }
.walk .chip::before { content: ""; width: 2cqw; height: 2cqw; border-radius: 50%; background: #1F7A43; }
.walk .btn-app { position: absolute; z-index: 4; left: 5.5cqw; right: 5.5cqw; bottom: 7cqw; display: block; padding: 4cqw 0; border-radius: 4.4cqw; text-align: center;
  font-size: 4.3cqw; font-weight: 700; color: #fff; background: linear-gradient(90deg, #4F46E5, #7C6CFF); box-shadow: 0 2cqw 6cqw rgba(79,70,229,.4); overflow: hidden; }
.walk .btn-app .press { position: absolute; inset: 0; background: radial-gradient(circle, rgba(255,255,255,.55), transparent 70%); opacity: 0; }

/* De lopende lijst onder de zoeker (alleen in de bewegende versie) */
.walk .sheet.run { display: none; padding: 0; top: 49%; }
.walk .sh-h { position: absolute; left: 5cqw; right: 5cqw; top: 2.6cqh; display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 2cqw; }
.walk .sh-h .rn { position: relative; font-family: var(--display); font-size: 5.4cqw; font-weight: 800; line-height: 1.15; white-space: nowrap; }
.walk .sh-h .rm { display: none; }
.walk .sh-h .rm.cur { display: inline; animation: k2pIn .35s ease both; }
.walk .sh-h b { font-family: var(--display); font-size: 5.2cqw; font-weight: 800; color: #4F46E5; font-variant-numeric: tabular-nums; }
.walk .sh-h .rc { grid-column: 1 / -1; font-size: 3.1cqw; color: #6B66A0; }
.walk .rows { position: absolute; left: 3cqw; right: 3cqw; top: 9.6cqh; height: 25.4cqh; overflow: hidden; border-radius: 4cqw; background: rgba(255,255,255,.85); box-shadow: 0 1.5cqw 5cqw rgba(40,30,110,.1); }
.walk .wr { display: grid; grid-template-columns: 9.6cqw 1fr auto; align-items: center; gap: 2.6cqw; padding: 0 2.8cqw; }
.walk .wr .nm, .walk .wroom .nm { display: grid; min-width: 0; line-height: 1.2; }
.walk .wr .nm b, .walk .wroom .nm b { font-size: 3.8cqw; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #17162B; }
.walk .wr .nm small, .walk .wroom .nm small { font-size: 2.8cqw; color: #77739A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.walk .wr .val { display: grid; justify-items: end; line-height: 1.2; }
.walk .wr .val b, .walk .wroom .v { font-size: 3.6cqw; font-weight: 700; color: #4F46E5; font-variant-numeric: tabular-nums; white-space: nowrap; }
.walk .wr .val small { font-size: 2.5cqw; color: #8A86AD; white-space: nowrap; font-variant-numeric: tabular-nums; }
.walk .rows .wr { position: absolute; left: 0; right: 0; top: calc(var(--slot, 0) * 6.35cqh); height: 6.35cqh; border-top: 1px solid #ECE9F8; }
.walk .rows .wr.first { border-top: 0; }
.walk .rstrip { position: absolute; left: 3cqw; right: 3cqw; top: 35.6cqh; height: 6.4cqh; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 1cqw 1.4cqw; overflow: hidden; }
.walk .rchip { display: inline-flex; align-items: center; gap: 1.2cqw; flex: none; padding: .5cqw 2.2cqw .5cqw .5cqw; border-radius: 99px; background: rgba(255,255,255,.85); font-size: 2.7cqw; color: #17162B; white-space: nowrap; }
.walk .rchip .th { width: 4.6cqw; height: 4.6cqw; border-radius: 50%; }
.walk .rchip b { color: #4F46E5; font-variant-numeric: tabular-nums; }
.walk .sheet.run .foot { position: absolute; left: 3cqw; right: 3cqw; bottom: 2.6cqh; display: flex; justify-content: space-between; align-items: baseline; gap: 2cqw; padding: 2.8cqw 3.6cqw; border-radius: 4cqw; background: #fff; box-shadow: 0 2cqw 6cqw rgba(40,30,110,.14); }
.walk .foot span { font-size: 3.2cqw; color: #55527A; }
.walk .foot b { font-family: var(--display); font-size: 5.4cqw; font-weight: 800; color: #4F46E5; font-variant-numeric: tabular-nums; }
.walk .sheet.run .make { bottom: 2.6cqh; left: 3cqw; right: 3cqw; }

/* Stap 3, stilstaand: de lijst zoals in de app (lavendel, witte kaarten, bedragen in indigo) */
.walk .app { background: linear-gradient(160deg, #D5CEF7 0%, #ECE6FA 40%, #F8E1EE 100%); color: #17162B; }
.walk .bar { position: absolute; z-index: 3; left: 4.5cqw; right: 4.5cqw; top: 13.5cqw; display: flex; align-items: center; justify-content: space-between; }
.walk .bar b { font-size: 4.8cqw; font-weight: 700; }
.walk .rb { width: 9cqw; height: 9cqw; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.7); color: #4F46E5; }
.walk .rb svg { width: 5cqw; height: 5cqw; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.walk .rb circle { fill: currentColor; stroke: none; }
.walk .card { position: absolute; left: 4.5cqw; right: 4.5cqw; top: 25.5cqw; height: 31cqw; border-radius: 5cqw; overflow: hidden; display: grid; align-content: end; padding: 3.5cqw 4.5cqw; color: #fff; box-shadow: 0 2cqw 6cqw rgba(40,30,110,.18); }
.walk .card .th.full { position: absolute; inset: 0; width: auto; height: auto; border-radius: 0; }
.walk .card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,12,36,.75), rgba(14,12,36,.15)); }
.walk .card > :not(i) { position: relative; z-index: 1; }
.walk .card .cn { font-size: 3.6cqw; opacity: .9; }
.walk .card .ctot { font-family: var(--display); font-size: 8.4cqw; font-weight: 800; line-height: 1.05; font-variant-numeric: tabular-nums; }
.walk .card .cc { font-size: 3.3cqw; opacity: .8; }
.walk .card .ex { position: absolute; z-index: 1; right: 3cqw; top: 3cqw; padding: .8cqw 2.2cqw; border-radius: 99px; font-family: var(--mono); font-size: 2.6cqw; letter-spacing: .08em; text-transform: uppercase; background: var(--lamp); color: var(--night); }
.walk .items { position: absolute; left: 4.5cqw; right: 4.5cqw; top: 60cqw; padding: 1cqw 0; border-radius: 5cqw; background: rgba(255,255,255,.88); box-shadow: 0 2cqw 6cqw rgba(40,30,110,.12); }
.walk .items .wr { padding: 1.8cqw 3.2cqw; }
.walk .items .wr + .wr { border-top: 1px solid #ECE9F8; }
.walk .others { position: absolute; left: 4.5cqw; right: 4.5cqw; bottom: 24cqw; display: grid; gap: 1.4cqw; }
.walk .wroom { display: grid; grid-template-columns: 8cqw 1fr auto; align-items: center; gap: 2.6cqw; padding: 1.3cqw 2.6cqw; border-radius: 3.4cqw; background: rgba(255,255,255,.8); }
.walk .wroom .th { width: 8cqw; height: 8cqw; border-radius: 2cqw; }
.walk .app .foot { position: absolute; left: 4.5cqw; right: 4.5cqw; bottom: 7cqw; display: flex; justify-content: space-between; align-items: baseline; gap: 2cqw; padding: 3cqw 3.6cqw; border-radius: 4cqw; background: #fff; box-shadow: 0 2cqw 6cqw rgba(40,30,110,.14); }

/* Stap 4: het rapport */
.walk .done { position: absolute; left: 6cqw; right: 6cqw; top: 56%; transform: translateY(-50%); display: grid; justify-items: center; text-align: center; gap: 1.6cqw; }
.walk .done .ok { width: 24cqw; height: 24cqw; margin-bottom: 2.4cqw; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #4F46E5, #7C6CFF); box-shadow: 0 0 0 3cqw rgba(124,108,255,.18), 0 3cqw 9cqw rgba(79,70,229,.45); }
.walk .done .ok svg { width: 100%; height: 100%; fill: none; }
.walk .done .ok circle { stroke: none; }
.walk .done .ok path { stroke: #fff; stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 34; stroke-dashoffset: 0; }
.walk .done b { font-family: var(--display); font-size: 6.6cqw; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
.walk .done .sum { font-size: 3.6cqw; color: #55527A; }
.walk .done .tl { margin-top: 3cqw; font-family: var(--mono); font-size: 2.8cqw; letter-spacing: .1em; text-transform: uppercase; color: #6B66A0; }
.walk .done .tv { font-size: 8cqw; color: #4F46E5; font-variant-numeric: tabular-nums; }
.walk .wpages { position: absolute; z-index: 3; left: 0; right: 0; top: 3%; height: 40%; pointer-events: none; }
.walk .pg { position: absolute; left: 50%; top: 0; width: 40%; aspect-ratio: 1 / 1.414; padding: 4.5% 4%; border-radius: 4px; background: #fff; color: #17162B;
  box-shadow: 0 14px 34px rgba(8,6,30,.42), 0 0 0 1px rgba(23,22,43,.06); display: grid; align-content: start; gap: 5%;
  transform: translate(-50%, 0) translate(var(--px, 0), var(--py, 0)) rotate(var(--pr, 0deg)); container-type: inline-size; }
.walk .pg1 { --px: -46%; --py: 14%; --pr: -9deg; } .walk .pg2 { z-index: 2; } .walk .pg3 { --px: 46%; --py: 14%; --pr: 9deg; }
.walk .pg-h { display: flex; align-items: center; gap: 4cqw; padding-bottom: 4cqw; border-bottom: 1px solid #ECE9F8; }
.walk .pg-h svg { width: 22cqw; height: auto; color: #17162B; }
.walk .pg-h span { font-size: 6.4cqw; font-weight: 700; color: #4F46E5; white-space: nowrap; }
.walk .pg-t { font-size: 9cqw; font-weight: 800; font-family: var(--display); line-height: 1.1; }
.walk .pg-v { font-size: 7.5cqw; font-weight: 700; color: #4F46E5; font-variant-numeric: tabular-nums; }
.walk .pg-th { display: flex; gap: 4cqw; }
.walk .pg-th .th { width: 27cqw; height: 27cqw; border-radius: 3cqw; }
.walk .pg .ln { display: block; height: 3cqw; border-radius: 2cqw; background: #ECE9F8; }
.walk .pg .ln.s { width: 60%; }
.walk-room .rm { display: none; }
@keyframes k2pIn { from { opacity: 0; transform: translateY(4px); } }

/* ── De bewegende versie ── */
.walk.motion { height: var(--walk-h, 480vh); margin-bottom: 72px; }   /* --walk-h: height_vh uit het draaiboek */
.walk.motion .walk-stage { position: sticky; top: 0; height: 100vh; padding: 0; overflow: hidden; contain: paint; }
.walk.motion .walk-shade { background:
  linear-gradient(90deg, rgba(18,15,46,0) 52%, rgba(18,15,46,.62) 74%, rgba(18,15,46,.7) 100%),
  radial-gradient(120% 90% at 50% 45%, rgba(18,15,46,0) 45%, rgba(18,15,46,.55) 100%),
  linear-gradient(180deg, rgba(18,15,46,.55) 0%, rgba(18,15,46,0) 18%, rgba(18,15,46,0) 72%, rgba(18,15,46,.6) 100%); }
/* Staand scherm: de tekst staat onder de telefoon, dus daar donkerder (geen ballon, wel leesbaar) */
@media (max-aspect-ratio: 4/5) {
  .walk.motion .walk-shade { background:
    radial-gradient(120% 90% at 50% 40%, rgba(18,15,46,0) 45%, rgba(18,15,46,.55) 100%),
    linear-gradient(180deg, rgba(18,15,46,.55) 0%, rgba(18,15,46,0) 18%, rgba(18,15,46,0) 58%, rgba(18,15,46,.8) 82%); }
}
.walk.motion .walk-ui { position: absolute; left: 0; right: 0; top: 0; height: 100vh; height: 100svh; }
.walk.motion .walk-tags { display: block; position: absolute; inset: 0; pointer-events: none; }
.walk.motion .tag { opacity: 0; transition: opacity .25s ease; }
.walk.motion .tag b { opacity: 0; transform: translateY(5px) scale(.9); transition: opacity .25s ease, transform .35s cubic-bezier(.3,1.5,.5,1); }
.walk.motion .tag.on.vis { opacity: 1; }
.walk.motion .tag.on.vis:not(.ana) b { opacity: 1; transform: none; }
.walk.motion .tag.ana { border-style: dashed; animation: k2pScan .7s ease-in-out infinite alternate; }
@keyframes k2pScan { from { box-shadow: 0 0 6px rgba(255,217,138,.3); } to { box-shadow: 0 0 22px rgba(255,217,138,.8), inset 0 0 18px rgba(255,217,138,.3); } }
.walk.motion .walk-sweep { display: block; position: absolute; left: 0; right: 0; top: 0; height: 2px; opacity: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--lamp) 20%, #fff 50%, var(--lamp) 80%, transparent);
  box-shadow: 0 0 18px 4px rgba(255,217,138,.65), 0 -40px 60px rgba(255,217,138,.12); }
.walk.motion .walk-sweep.go { animation: k2pSweep .9s cubic-bezier(.45,0,.3,1); }
@keyframes k2pSweep { 0% { top: 0; opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

.walk.motion .walk-room { display: block; position: absolute; z-index: 3; left: max(20px, 5vw); top: max(84px, 12vh); margin: 0;
  font-family: var(--display); font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; letter-spacing: -.01em; transition: opacity .3s ease;
  text-shadow: 0 2px 20px rgba(8,6,30,.85); }
.walk.motion .walk-room .rec { display: none; }
.walk.motion .walk-room .rm.cur { display: inline; animation: k2pIn .35s ease both; }

.walk.motion .walk-device { display: block; position: absolute; z-index: 2; left: 50%; top: calc(50% + 24px); padding: 0; gap: 0; max-width: none;
  height: min(76svh, 720px); aspect-ratio: 1320 / 2868;
  transform: translate(-50%, -50%) translateY(calc((1 - var(--in, 1)) * 34%)) scale(calc(.9 + var(--in, 1) * .1)); }
.walk.motion .walk-device::before { content: ""; position: absolute; inset: 0; border-radius: 15.8% / 7.25%; background: #0B0A1C;
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.18), 0 40px 90px rgba(5,4,20,.65), 0 0 140px rgba(255,217,138,.14); }
.walk.motion .walk-device::after { content: ""; position: absolute; inset: 3.333%; z-index: 4; border-radius: 12.7% / 5.65%; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 30%); }
.walk.motion .wf { position: absolute; inset: 0; pointer-events: none; }
.walk.motion .wf .phone { max-width: none; height: 100%; background: transparent; box-shadow: none !important; }
.walk.motion .wf-ana .phone, .walk.motion .wf-list .phone { display: none; }
.walk.motion .wf-pdf .phone, .walk.motion .wf-pdf .wpages { opacity: 0; transition: opacity .45s ease; }
.walk.motion .wf-pdf.on .phone { opacity: 1; }
.walk.motion .wf-pdf.on .wpages { opacity: 1; }
.walk.motion .wf figcaption { position: absolute; left: calc(100% + clamp(28px, 5vw, 80px)); top: 5%; width: min(330px, 26vw); margin: 0; text-align: left; justify-items: start;
  opacity: 0; transform: translateY(12px); transition: opacity .4s ease, transform .5s cubic-bezier(.2,.75,.2,1); text-shadow: 0 2px 18px rgba(8,6,30,.7); }
.walk.motion .wf.cur figcaption { opacity: 1; transform: none; }
.walk.motion .wf figcaption { text-shadow: 0 2px 24px rgba(8,6,30,.9); }
.walk.motion .wf figcaption .n { font-family: var(--display); font-size: 15px; font-weight: 700; letter-spacing: 0; }
.walk.motion .wf figcaption b { font-size: clamp(26px, 2.6vw, 36px); }
.walk.motion .wf figcaption .t { font-size: 17px; color: rgba(255,255,255,.88); }
.walk.motion .walk-rail { display: grid; gap: 8px; position: absolute; left: calc(100% + clamp(28px, 5vw, 80px)); top: 52%; margin: 0; padding: 0; list-style: none;
  font-family: var(--display); font-size: 16px; font-weight: 700; color: rgba(255,255,255,.45); text-shadow: 0 2px 16px rgba(8,6,30,.8); }
.walk.motion .walk-rail li { position: relative; transition: color .3s ease; }
.walk.motion .walk-rail li.done { color: rgba(255,255,255,.7); }
.walk.motion .walk-rail li.cur { color: var(--lamp); }
.walk.motion .walk-outro { position: absolute; z-index: 3; left: max(20px, 5vw); bottom: max(40px, 12vh); width: min(30vw, 420px); margin: 0; padding: 0; text-align: left;
  font-size: clamp(28px, 3vw, 42px); opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .6s ease; text-shadow: 0 2px 24px rgba(8,6,30,.8); }
.walk.motion .walk-outro.on { opacity: 1; transform: none; }

/* Het levende scherm */
.walk.motion .ws.live .vtags { display: block; }
.walk.motion .ws.live .vtags .tag { left: calc(var(--ox, 0px) + var(--x) * var(--dw, 0px)); top: calc(var(--oy, 0px) + var(--y) * var(--dh, 0px));
  width: calc(var(--w) * var(--dw, 0px)); height: calc(var(--h) * var(--dh, 0px)); }
.walk.motion .ws.live .vfr { transition: height .55s cubic-bezier(.4,0,.2,1); }
.walk.motion .ws.live.scanning .vfr { height: 52%; }
.walk.motion .ws.live.scanning .vf { inset: 24cqw 9cqw 10cqw; }
.walk.motion .feed-still { object-position: 50% 50%; }
.walk.motion .ws.live .hint, .walk.motion .ws.live .shutter { transition: opacity .3s ease, transform .4s ease; }
.walk.motion .ws.live.scanning .hint { opacity: 0; }
.walk.motion .ws.live.scanning .shutter { opacity: 0; transform: scale(.6); }
.walk.motion .shutter.go { animation: k2pShutter .45s ease; }
@keyframes k2pShutter { 40% { transform: scale(.86); } }
.walk.motion .flash.go { animation: k2pFlash .55s ease-out; }
@keyframes k2pFlash { 0% { opacity: 0; } 15% { opacity: .9; } 100% { opacity: 0; } }
.walk.motion .sheet.run { display: block; background: linear-gradient(170deg, #E3DDFA, #F6E4EF); transition: transform .55s cubic-bezier(.3,1.15,.4,1); }
.walk.motion .ws.live:not(.scanning) .sheet.run { transform: translateY(105%); }
.walk.motion .rows::before, .walk.motion .rows::after { content: ""; position: absolute; left: 3cqw; height: 2.2cqh; border-radius: 1.2cqh; opacity: 0; transition: opacity .3s ease;
  background: linear-gradient(90deg, #ECE9F8 0%, #F8F6FE 50%, #ECE9F8 100%) 0 0 / 200% 100%; }
.walk.motion .rows::before { top: 2.1cqh; right: 30%; } .walk.motion .rows::after { top: 8.4cqh; right: 45%; }
.walk.motion .rows.empty::before, .walk.motion .rows.empty::after { opacity: 1; animation: k2pShimmer 1.1s linear infinite; }
@keyframes k2pShimmer { to { background-position: -200% 0; } }
.walk.motion .rows .wr { opacity: 0; transform: translate(var(--fx, 0), var(--fy, 0)) scale(.5); transition: opacity .35s ease, transform .6s cubic-bezier(.2,.8,.2,1), top .45s cubic-bezier(.3,1,.4,1); }
.walk.motion .rows .wr.on.here { opacity: 1; transform: none; }
.walk.motion .rows .wr.on:not(.here) { opacity: 0; transform: translateY(-3cqh); }
.walk.motion .rows .wr.on.here.far { opacity: 0; }
.walk.motion .rows .wr.on.here.fresh { animation: k2pRowGlow 1.1s ease; }
@keyframes k2pRowGlow { 0%, 100% { background: transparent; } 25% { background: rgba(255,217,138,.45); } }
.walk.motion .rchip { transition: opacity .35s ease, transform .45s cubic-bezier(.3,1.4,.4,1); }
.walk.motion .rchip:not(.on) { display: none; }
.walk.motion .rchip.on { animation: k2pPop .45s cubic-bezier(.3,1.5,.5,1); }
@keyframes k2pPop { from { opacity: 0; transform: scale(.6); } }
.walk.motion .sh-h b, .walk.motion .foot b { transition: color .3s ease; }
.walk.motion .ticking { color: #7C4DFF !important; }
.walk.motion .btn-app { transition: opacity .35s ease, transform .45s cubic-bezier(.3,1.3,.4,1); }
.walk.motion .btn-app:not(.on) { opacity: 0; transform: translateY(8cqw); }
.walk.motion .btn-app .press.on { animation: k2pPress .6s ease; }
.walk.motion .btn-app:has(.press.on) { transform: scale(.97); }
@keyframes k2pPress { 0% { opacity: 0; transform: scale(.3); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.6); } }
.walk.motion .done > * { transition: opacity .4s ease, transform .5s cubic-bezier(.3,1.3,.4,1); }
.walk.motion .done:not(.on) > * { opacity: 0; transform: translateY(4cqw); }
.walk.motion .done:not(.on) .ok { transform: scale(.4); }
.walk.motion .done .ok path { transition: stroke-dashoffset .6s cubic-bezier(.6,0,.2,1) .25s; }
.walk.motion .done:not(.on) .ok path { stroke-dashoffset: 34; }
.walk.motion .done > :nth-child(2) { transition-delay: .3s; } .walk.motion .done > :nth-child(3) { transition-delay: .4s; }
.walk.motion .done > :nth-child(n+4) { transition-delay: .5s; }
.walk.motion .pg { transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .35s ease; }
.walk.motion .pg2 { transition-delay: .08s; } .walk.motion .pg3 { transition-delay: .16s; }
.walk.motion .wpages:not(.on) .pg { opacity: 0; transform: translate(-50%, 90%) scale(.45) rotate(0deg); }
.walk.motion .wpages.on .pg1 { --px: -78%; --py: -6%; --pr: -10deg; }
.walk.motion .wpages.on .pg2 { --px: 0%; --py: -22%; }
.walk.motion .wpages.on .pg3 { --px: 78%; --py: -6%; --pr: 10deg; }

/* Staand scherm (gsm, tablet rechtop): kleinere telefoon, tekst eronder */
@media (max-aspect-ratio: 4/5) {
  .walk.motion { height: calc(var(--walk-h, 480vh) * .92); }
  .walk.motion .walk-device { top: 47%; height: min(57svh, 520px); }
  .walk.motion .walk-room { left: 50%; transform: translateX(-50%); top: max(68px, 9.5svh); font-size: 20px; }
  .walk.motion .wf figcaption { left: 50%; top: calc(100% + 34px); width: min(88vw, 400px); transform: translate(-50%, 10px); text-align: center; justify-items: center; gap: 2px; }
  .walk.motion .wf.cur figcaption { transform: translate(-50%, 0); }
  .walk.motion .wf figcaption .n { display: none; }
  .walk.motion .wf figcaption b { font-size: 20px; }
  .walk.motion .wf figcaption .t { font-size: 14.5px; line-height: 1.4; }
  .walk.motion .walk-rail { left: 50%; top: calc(100% + 14px); transform: translateX(-50%); display: flex; gap: 8px; border: 0; padding: 0; font-size: 0; }
  .walk.motion .walk-rail li { width: 22px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.22); }
  .walk.motion .walk-rail li::before { display: none; }
  .walk.motion .walk-rail li.done { background: rgba(255,217,138,.55); }
  .walk.motion .walk-rail li.cur { background: var(--lamp); box-shadow: 0 0 10px var(--lamp); }
  .walk.motion .walk-outro { bottom: auto; left: 0; right: 0; width: auto; top: max(64px, 8.5svh); font-size: 21px; padding-inline: 24px; text-align: center; }
  .walk.motion .wf figcaption { padding: 10px 14px 12px; border-radius: 16px; }
  .walk.motion.outro .walk-room { opacity: 0; }
  .walk.motion .walk-tags .tag b { font-size: 11px; padding: 2px 7px; }
  .walk.motion .wpages.on .pg1 { --px: -60%; } .walk.motion .wpages.on .pg3 { --px: 60%; }
}
@media (max-aspect-ratio: 4/5) and (max-width: 520px) {
  .walk.motion .wf figcaption { top: calc(100% + 26px); }
}
/* Laag liggend scherm (gsm dwars): de tekst iets kleiner */
@media (min-aspect-ratio: 4/5) and (max-height: 560px) {
  .walk.motion .wf figcaption { top: 0; }
  .walk.motion .wf figcaption b { font-size: 20px; } .walk.motion .wf figcaption .t { font-size: 14px; }
  .walk.motion .walk-rail { display: none; }
  .walk.motion .walk-room { top: 70px; }
}

/* Telefoon in de hero: zweeft zacht (de parallax zet motion.js of de scroll-tijdlijn) */
@media (prefers-reduced-motion: no-preference) {
  .hero .stage { animation: k2pFloat 7s ease-in-out infinite; }
  @keyframes k2pFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
  .hero-chip.rv-chip { opacity: 0; transform: translateY(14px) scale(.96); }
  .hero-chip.rv-chip.in { opacity: 1; transform: none; transition: opacity .6s ease, transform .7s cubic-bezier(.2,.75,.2,1); }
  @supports (animation-timeline: scroll()) {
    .hero-phone { animation: k2pHeroPhone linear both; animation-timeline: scroll(root block); animation-range: 0 100vh; }
    .hero-film video, .hero-film img { animation: k2pHeroFilm linear both; animation-timeline: scroll(root block); animation-range: 0 100vh; }
  }
  html.no-sda .hero-phone { transform: translate3d(0, calc(var(--hs, 0) * -80px), 0); }
  html.no-sda .hero-film video, html.no-sda .hero-film img { transform: scale(calc(1 + var(--hs, 0) * .08)); }
}
@keyframes k2pHeroPhone { to { transform: translate3d(0, -80px, 0); } }
@keyframes k2pHeroFilm { to { transform: scale(1.08); } }
