/* =====================================================================
   Ensemo · G0-pagina v3 · beweging en verfijning (1/12/2026), bovenop g0.css en v2.css
   Alles wat beweegt staat onder .m3 (Motion geladen, geen "minder beweging"). Zonder .m3 is de eindtoestand zichtbaar.
   ===================================================================== */
:root { --uit: cubic-bezier(.23, 1, .32, 1); }

/* ---------- toegankelijkheid: naar de inhoud, en overal minstens 44 px om te tikken ---------- */
.naar-inhoud { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--inkt); color: var(--linnen); border-radius: 999px; padding: 12px 20px; font: 600 15px/20px var(--sans); text-decoration: none; }
.naar-inhoud:focus { top: 12px; }
main:focus { outline: none; }
.v-kop > a { display: inline-flex; align-items: center; min-height: 44px; }
.taal a { min-height: 44px; min-width: 44px; }
.v-kop .mini { display: inline-flex; align-items: center; min-height: 46px; padding-block: 0; }
@media (max-width: 499px) { .v-kop .mini { display: none; } }      /* 1/12: op 421 tot 465 px (grote iPhones) maakte deze knop de pagina te breed */
.v-stijl .pauze { min-height: 44px; margin-top: 6px; }
.film .knoppen button { width: 44px; height: 44px; }
.voet ul a, .voet ul button { display: inline-block; padding-block: 6px; }

/* ---------- B-09 · kop van de pagina blijft bereikbaar ---------- */
.v-balk { position: sticky; top: 0; z-index: 40; background: rgba(245,242,236,.94); transition: transform 280ms var(--uit), box-shadow 200ms ease; }
.v-balk.los { box-shadow: 0 1px 0 rgba(201,191,174,.7); }
.v-balk.uit { transform: translateY(-101%); }
.v-balk .v-kop { padding-block: 10px; }
.v-voortgang { position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; clip-path: inset(0 100% 0 0); background: repeating-linear-gradient(90deg, var(--signaal) 0 14px, transparent 14px 22px); border-radius: 2px; }
html:not(.m3) .v-voortgang { display: none; }
html { scroll-padding-top: 76px; }

/* ---------- typografie op groot scherm: 48/56 (de H1-maat uit de merkgids), zoals de afsluiter al had ---------- */
@media (min-width: 1024px) {
  .sectie h2, .v-stijl h2 { font-size: 48px; line-height: 56px; letter-spacing: -.005em; }
  .afsluiter-kop h2 { font-size: 64px; line-height: 68px; }
  .demo-punten { gap: 16px; margin-top: 24px; } .demo-punten li { font-size: 17px; line-height: 26px; }
  .v-hero { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; padding-block: 8px 96px; }
  .v-hero .stage { max-width: 620px; }
  .v-hero .onderkop { font-size: clamp(19px, 1.55vw, 22px); line-height: 1.5; }
}
/* vanaf tablet: de hangtags beginnen onder de kop (g0.css centreert ze op hun hoogte, hier niet) */
@media (min-width: 768px) {
  .v-hero .stage { container-type: inline-size; }
  .v-hero h1 { font-size: 18.6cqw; white-space: nowrap; }                 /* de kop schaalt met de foto: de man staat overal tussen de twee woorden */
  .v-hero h1 em { word-spacing: .5em; }
  /* Frans: 'sans' is korter en 'chercher.' langer. De regel springt in, zodat de man ook hier tussen de twee woorden staat. */
  html[lang="fr-BE"] .v-hero h1 { font-size: 16.6cqw; top: 6%; }
  html[lang="fr-BE"] .v-hero h1 em.regel { padding-left: 19.6cqw; word-spacing: .58em; }
  .v-hero .stage .tags > li.ht2 { translate: 0 0; }
  .v-hero .tags > li:nth-child(1) { --ty: 34.5% !important; }
  .v-hero .tags > li:nth-child(2) { --ty: 45% !important; }
  .v-hero .tags > li:nth-child(3) { --ty: 60% !important; }
}
@media (min-width: 1280px) { .v-hero { grid-template-columns: minmax(0, 620px) minmax(0, 1fr); gap: 104px; } }

/* ---------- regels achter een masker (hero en CTA-band) ---------- */
.regel { display: block; overflow: hidden; padding: .06em .08em .2em 0; margin: -.06em 0 -.2em; }
.regel > span { display: inline-block; }
.v-hero h1 .regel { overflow: visible; clip-path: inset(-.1em -1em -.26em -.2em); padding: 0; margin: 0; }
.wr, .wl { display: inline-block; }

/* ---------- B-01 en B-02 · lagen: Motion neemt de overgangen van v2 over ---------- */
.stage .kaart .plaat { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.015); }
.m3 .stage .man, .m3 .stage .achter, .m3 .stage .kaart, .m3 .stage .woord, .m3 .stage .plek, .m3 .stage h1, .m3 .stage .ht2, .m3 .stage .som, .m3 .stage .stip, .m3 .stage .lijnen line { transition: none; }
.m3 .stage:not(.in) .kaart, .m3 .stage:not(.in) .kaart-schaduw, .m3 .stage:not(.in) .achter, .m3 .stage:not(.in) .man, .m3 .stage:not(.in) .woord, .m3 .stage:not(.in) .plek,
.m3 .stage:not(.in) .ht2, .m3 .stage:not(.in) .som, .m3 .stage:not(.in) .stip, .m3 .stage:not(.in) .lijnen { opacity: 0; transform: none; }
.m3 .stage:not(.in) .som { transform: translateX(-50%); }
.m3 .stage:not(.in) h1 { opacity: 1; transform: none; }
/* de hero wacht niet op het script: foto, kaarten en kop komen meteen binnen met CSS, Motion doet de man, de hangtags en de som */
@keyframes hero-foto { from { opacity: 0; } }
@keyframes hero-regel { from { transform: translateY(140%); } }
.m3 .v-hero .stage:not(.in) .kaart, .m3 .v-hero .stage:not(.in) .kaart-schaduw, .m3 .v-hero .stage:not(.in) .achter { opacity: 1; }
.m3 .v-hero .stage:not(.in) .achter.a1 { transform: translate(14px, -10px) rotate(3.2deg); }
.m3 .v-hero .stage:not(.in) .achter.a2 { transform: translate(-12px, 12px) rotate(-2.4deg); }
.m3 .v-hero .kaart, .m3 .v-hero .kaart-schaduw, .m3 .v-hero .achter { animation: hero-foto 450ms var(--uit); }
.m3 .v-hero h1 .regel > span { animation: hero-regel 900ms var(--uit) 80ms backwards; }
.m3 .v-hero h1 em.regel > span { animation-delay: 180ms; }
.m3 .stage.in .man, .m3 .stage.in .achter.a1 { will-change: transform; }
.m3 .stage.in .man { transform: none; }
.m3 .stage.in .achter.a1 { transform: translate(14px, -10px) rotate(3.2deg); }
.m3 .stage .ht2 .in { transform-origin: 0 50%; } .m3 .stage .ht2.r .in { transform-origin: 100% 50%; }

/* hangtags op een telefoon: leesbaar (was 8 px) */
@media (max-width: 767px) {
  .ht2 { max-width: 190px; }
  .ht2 .bron { font-size: 9.5px; line-height: 12px; letter-spacing: .05em; }
  .ht2 .stuk { font-size: 12px; line-height: 15px; }
  .ht2 .prijs { font-size: 12.5px; line-height: 15px; }
}

/* ---------- B-03 · tabs en stijlkaarten ---------- */
.v-stijl .tabs { position: relative; isolation: isolate; }
.tabvlak { position: absolute; inset: 0; z-index: -1; background: var(--inkt); pointer-events: none; transition: clip-path 280ms var(--uit); }
.v-stijl .tabs.metvlak button { transition: color 180ms ease, scale 140ms var(--uit); }
.v-stijl .tabs.metvlak button[aria-selected="true"] { background: transparent; color: var(--linnen); }
.m3 .v-stijl .paneel { transition: none; transform: none; opacity: 1; visibility: visible; }
.m3 .v-stijl .paneel[hidden] { display: none; }
.m3 .v-stijl .paneel.weg { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.v-stijl .stapel { touch-action: pan-y; }
.veeg { display: flex; align-items: center; justify-content: center; gap: 10px; margin: -8px 0 0; font: 500 13px/18px var(--sans); color: var(--leisteen); }
.veeg span { color: var(--roest); letter-spacing: 2px; }
@media (hover: hover) and (pointer: fine) { .veeg { display: none; } }
html:not(.m3) .veeg { display: none; }

/* ---------- B-04 · de tien stijlen als band ---------- */
.stijlband { background: var(--inkt); color: var(--linnen); overflow: hidden; padding-block: 18px 22px; }
.stijlband .band-rij { display: flex; width: max-content; align-items: center; white-space: nowrap; font: italic 400 clamp(34px, 5.4vw, 68px)/1.1 var(--serif); letter-spacing: -.005em; will-change: transform; }
.stijlband .band-rij > span { display: inline-flex; align-items: center; }
.stijlband .band-rij > span::after { content: ""; flex: none; width: .74em; height: 0; border-top: 3px dashed var(--signaal); margin-inline: .34em; }
html:not(.m3) .stijlband .band-rij { width: auto; flex-wrap: wrap; white-space: normal; padding-inline: var(--marge); row-gap: 6px; }
html:not(.m3) .stijlband .band-rij [aria-hidden="true"] { display: none; }

/* ---------- B-06 · de stappen aan elkaar genaaid ---------- */
.stappen.metsteek { position: relative; }
.steek { position: absolute; left: 18.5px; top: 20px; width: 3px; z-index: 0; clip-path: inset(0 0 100% 0); background: repeating-linear-gradient(180deg, var(--signaal) 0 9px, transparent 9px 16px); border-radius: 2px; }
.metsteek li::before { z-index: 1; background: var(--krijt); color: var(--inkt); box-shadow: inset 0 0 0 1.5px var(--inkt), 0 0 0 6px var(--krijt); transition: background-color 240ms ease, color 240ms ease; }
.metsteek li.genaaid::before { background: var(--inkt); color: var(--linnen); }

/* ---------- B-07 · app-toestel ---------- */
.m3 .demo-toestel { transform-origin: 50% 100%; }

/* ---------- B-11 · zes losse stukken worden één look ---------- */
.tegels { position: absolute; inset: 0; z-index: 8; pointer-events: none; }
.tegels img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform, clip-path; }
.naad { position: absolute; z-index: 2; border-radius: 2px; }
.naad.h { height: 3px; margin-top: -1.5px; background: repeating-linear-gradient(90deg, var(--signaal) 0 12px, transparent 12px 20px); }
.naad.v { width: 3px; margin-left: -1.5px; background: repeating-linear-gradient(180deg, var(--signaal) 0 12px, transparent 12px 20px); }
#s5 { overflow: hidden; overflow: clip; }

/* ---------- B-08 · vragen ---------- */
@media (hover: hover) and (pointer: fine) { .vragen summary { transition: padding-left 200ms ease; } .vragen summary:hover { padding-left: 8px; } }
.vragen details.sluit .plus::after { transform: rotate(90deg); }

/* ---------- B-10 · knoppen: meteen een reactie op een tik; pijl in een cirkel (patroon van Cloudcom) ---------- */
.knop, .cta-lijn, .knop-demo, .v-kop .mini { transition: background-color 180ms ease, color 180ms ease, scale 140ms var(--uit), translate 320ms var(--uit); touch-action: manipulation; }
.knop:active, .cta-lijn:active, .knop-demo:active, .v-kop .mini:active, .v-stijl .tabs button:active, .film .knoppen button:active { scale: .97; }
.knop:hover { text-decoration: none; }
.cta-lijn { padding-right: 9px; gap: 14px; }
.cta-lijn span { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid currentColor; font-size: 14px; line-height: 1; transition: background-color 180ms ease, color 180ms ease; }
@media (hover: hover) and (pointer: fine) { .cta-lijn:hover span { background: var(--linnen); color: var(--inkt); border-color: var(--linnen); } }

/* ---------- B-13 · lichtvlek op Inkt ---------- */
#s2, .cta-band { position: relative; overflow: hidden; overflow: clip; isolation: isolate; }
.licht { position: absolute; left: -320px; top: -320px; width: 640px; height: 640px; border-radius: 50%; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 400ms ease;
  background: radial-gradient(circle, rgba(245,242,236,.11), rgba(245,242,236,.04) 42%, transparent 68%); }
.belicht .licht { opacity: 1; }

@media (prefers-reduced-motion: reduce) { .v-balk, .knop, .cta-lijn, .tabvlak, .licht { transition: none; } .v-balk.uit { transform: none; } }

/* =====================================================================
   HOOGTE (1/12) · elk groot beeld past volledig in het zichtbare scherm
   --scherm = het zichtbare deel, zonder de balken van de browser. De kop van de pagina neemt 67 px.
   ===================================================================== */
:root { --scherm: 100vh; }
@supports (height: 100svh) { :root { --scherm: 100svh; } }

/* demo: het toestel wordt lager, niet smaller. De schermen in de demo scrollen zelf en hun knop blijft onderaan staan. */
.demo-toestel { --db: min(360px, 88vw); width: var(--db); aspect-ratio: auto; height: clamp(480px, var(--scherm) - 44px, var(--db) * 2.164); }
@media (min-width: 900px) { .demo-toestel { height: clamp(500px, var(--scherm) - 120px, var(--db) * 2.164); } }

/* stijlen: het beeld houdt zijn verhouding en schaalt mee, net als het woord achter de man */
.v-stijl .stapel { --sw: min(100vw - 48px, 380px, max(264px, (var(--scherm) - 84px) * .558)); width: var(--sw); }
.v-stijl .woord { font-size: calc(var(--sw) * .194); }
@media (min-width: 768px) { .v-stijl .woord { font-size: calc(var(--sw) * .26); } }
@media (min-width: 1024px) { .v-stijl .stapel { --sw: clamp(290px, (var(--scherm) - 99px) * .558, 400px); } }
/* gsm en tablet: de knoppen staan op één rij vlak boven het beeld, zodat je meteen ziet wat een tik verandert */
@media (max-width: 1023px) {
  .v-stijl .rooster { gap: 0; }
  .v-stijl .rooster > div:first-child { display: contents; }
  .v-stijl .bovenlabel { order: 1; } .v-stijl h2 { order: 2; } .v-stijl .zin { order: 3; margin-top: 14px; }
  .v-stijl .tabs { order: 4; flex-wrap: nowrap; gap: 6px; margin: 22px auto 14px; width: min(100%, 440px); }
  .v-stijl .tabs button { flex: 1 1 auto; padding-inline: clamp(5px, 1.4vw, 16px); font-size: 13px; white-space: nowrap; }
  .v-stijl .stapel { order: 5; } .v-stijl .veeg { order: 6; margin: 14px 0 0; }
  .v-stijl .pauze { order: 7; justify-self: center; } .v-stijl .cta-lijn { order: 8; justify-self: start; margin-top: 10px; }
}

/* hero, kast, film en slot */
@media (min-width: 1024px) {
  .v-hero { --hb: clamp(430px, (var(--scherm) - 99px) * .8, 620px); grid-template-columns: minmax(0, min(50%, var(--hb))) minmax(0, 1fr); }
  .v-hero .stage { max-width: var(--hb); }
  .slot-beeld { min-height: clamp(600px, var(--scherm) - 67px, 880px); }
  .slot-beeld img { position: absolute; inset: 0; }
}
@media (min-width: 1280px) { .v-hero { grid-template-columns: minmax(0, var(--hb)) minmax(0, 1fr); } }
.v-kast .stage { max-width: min(480px, max(300px, (var(--scherm) - 96px) * .8)); }
.film { width: min(100%, 320px, max(230px, (var(--scherm) - 96px) * .5625)); }

/* lage laptops: minder lege ruimte boven en onder de secties */
@media (min-width: 1024px) and (max-height: 820px) {
  .sectie { padding-block: 72px; } .slot-inhoud { padding-block: 48px; }
  .v-hero { padding-bottom: 72px; }
  .v-demo { padding-block: 44px 36px; } .v-stijl { padding-block: 36px; }
  .v-stijl .stapel { --sw: clamp(290px, (var(--scherm) - 115px) * .558, 400px); }
  .v-stijl .tags > li.ht2 { --tx: -24% !important; }                    /* naast het beeld is plaats: zo blijft het stuk zelf zichtbaar */
}

/* 2/12 · de cookiebanner met twee keuzes past ook op een laag scherm: hoger dan het scherm, dan scrollt hij */
.cb { max-height: calc(var(--scherm) - 24px); overflow-y: auto; overscroll-behavior: contain; }

/* 2/12 · Instagram en Facebook in de voettekst van de homepage: ronde vlakken van 44 px, geen hover nodig */
.voet ul.sociaal { margin: 0 0 16px; gap: 8px; }
.voet ul.sociaal a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid rgba(245,242,236,.3);   /* Linnen #F5F2EC op 30 % */ color: var(--linnen); }
.voet ul.sociaal svg { display: block; }
