/* ==========================================================================
   Gunly Online
   Opzet: een kameleon op een tak staat in de opening. Geef je hem een kleur,
   dan verandert hij en kleurt de hele site mee. Alle kleuren van de site
   staan daarom als namen bovenaan (--paper, --ink, --accent ...). Links
   uitgelijnd op een raster van 12 kolommen, haarlijnen in plaats van kaarten.
   ========================================================================== */
@property --paper { syntax: "<color>"; inherits: true; initial-value: #F1F5F0; }
@property --panel { syntax: "<color>"; inherits: true; initial-value: #FFFFFF; }
@property --ink { syntax: "<color>"; inherits: true; initial-value: #0B1F17; }
@property --ink-soft { syntax: "<color>"; inherits: true; initial-value: #47594E; }
@property --accent { syntax: "<color>"; inherits: true; initial-value: #1E9B55; }
@property --foot { syntax: "<color>"; inherits: true; initial-value: #0B1F17; }

:root {
  /* Kleur "Blad" (de standaard) */
  --paper: #F1F5F0;          /* achtergrond */
  --panel: #FFFFFF;          /* vlakken die iets naar voren komen */
  --ink: #0B1F17;            /* tekst */
  --ink-soft: #47594E;       /* rustige tekst */
  --line: rgba(11, 31, 23, .14);
  --accent: #1E9B55;         /* accent: volgt de kameleon */
  --foot: #0B1F17; --foot-ink: #C3D2C7; --foot-strong: #F1F5F0;
  --uit-a: #B9D6B3; --uit-b: #DFE6C9; --uit-c: #CCDEC1; --uit-d: #E7DAAA;      /* het vlak achter het uitgelichte project: de vier hoeken */

  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(20px, 5vw, 56px);
  --max: 1240px;
  color-scheme: light;
}
html[data-skin="koraal"] {
  --paper: #F7F3F0; --ink: #1C1210; --ink-soft: #5F4F4A; --line: rgba(28, 18, 16, .14); --accent: #DD472B;
  --foot: #1C1210; --foot-ink: #D9CBC5; --foot-strong: #F7F3F0;
  --uit-a: #E1C5A9; --uit-b: #D4E2E5; --uit-c: #E9D5C0; --uit-d: #ACE0FB;
}
html[data-skin="oceaan"] {
  --paper: #EFF3FA; --ink: #0A1433; --ink-soft: #47557A; --line: rgba(10, 20, 51, .14); --accent: #2A6FE0;
  --foot: #0A1433; --foot-ink: #C5CEE6; --foot-strong: #EFF3FA;
  --uit-a: #A6D5D2; --uit-b: #CEE3F1; --uit-c: #BEE0DE; --uit-d: #C6D8FB;
}
html[data-skin="nacht"] {
  --paper: #070A1A; --panel: #121838; --ink: #F1ECDF; --ink-soft: #A8B2D4; --line: rgba(214, 224, 255, .17); --accent: #8E6BFF;
  --foot: #04060F; --foot-ink: #A8B2D4; --foot-strong: #F1ECDF;
  --uit-a: #06413C; --uit-b: #3E4A50; --uit-c: #174E49; --uit-d: #5E3247;
  color-scheme: dark;
}
/* Kleur "eigen": de bezoeker koos zelf een kleur. De waarden zet de code van de site erin.
   Bij een donkere eigen kleur wordt de site donker (data-donker). */
html[data-donker] { color-scheme: dark; }

/* Zonder de cirkel-overgang (oudere browsers) lopen de kleuren zacht in elkaar over */
html.fade { transition: --paper .7s ease, --panel .7s ease, --ink .7s ease, --ink-soft .7s ease, --accent .7s ease, --foot .7s ease; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.032em; line-height: 1.04; text-wrap: balance; }
a { color: inherit; }
img, svg, canvas { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* Voortgang van het scrollen, bovenaan het scherm */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; background: var(--accent); transform-origin: 0 50%; scale: 0 1; pointer-events: none; }
@keyframes grow { to { scale: 1 1; } }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root block); }
}

/* De kleurwissel verspreidt zich als een cirkel vanaf de bek van de kameleon */
html.vt-skin::view-transition-old(root), html.vt-skin::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html.vt-skin::view-transition-new(root) { animation: skinIn 1.1s cubic-bezier(.3, .6, .2, 1) both; }
@keyframes skinIn { from { clip-path: circle(0 at var(--vx, 50%) var(--vy, 50%)); } to { clip-path: circle(160vmax at var(--vx, 50%) var(--vy, 50%)); } }

/* ---------- Kop ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; border-bottom: 1px solid transparent; transition: background-color .4s, border-color .4s; }
.top__in { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); padding-block: 14px; }
.top.is-stuck {
  background: var(--paper);                                   /* voor oudere browsers zonder color-mix */
  background: color-mix(in srgb, var(--paper) 74%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
  border-bottom-color: var(--line);
}
.brand { display: inline-flex; align-items: center; min-height: 44px; gap: .42em; font: 400 19px/1 var(--font-display); letter-spacing: -.02em; text-decoration: none; margin-right: auto; }
.brand b { font-weight: 700; }
/* Het beeldmerk is de krul van de kameleonstaart, in de accentkleur. */
.brand__mark { width: 1.45em; height: 1.45em; flex: none; fill: var(--accent); }
.top__nav { display: flex; gap: clamp(16px, 2vw, 28px); font-size: 15px; }
.top__nav a { text-decoration: none; position: relative; padding: 6px 0; }
.top__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: 100% 50%; transition: transform .4s var(--ease);
}
.top__nav a:hover::after, .top__nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: 0 50%; }
.top__nav { align-items: center; }
/* Uitklapmenu "Diensten": opent als je eroverheen gaat, erop klikt of er met Tab op komt */
.dd { position: relative; }
.dd__btn { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; padding: 6px 0; position: relative; }
.dd__btn svg { width: 10px; height: 10px; flex: none; transition: rotate .3s var(--ease); }
.dd__btn::after {
  content: ""; position: absolute; left: 0; right: 17px; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: 100% 50%; transition: transform .4s var(--ease);
}
.dd:hover .dd__btn::after, .dd.is-open .dd__btn::after, .dd__btn.is-here::after { transform: scaleX(1); transform-origin: 0 50%; }
.dd:hover .dd__btn svg, .dd.is-open .dd__btn svg { rotate: 180deg; }
.dd__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.dd__panel {
  position: absolute; left: -20px; top: 100%; padding-top: 14px; width: max-content; min-width: 280px; z-index: 5;
  opacity: 0; visibility: hidden; translate: 0 -6px;
  transition: opacity .22s ease, translate .22s var(--ease), visibility 0s .22s;
}
.dd:hover .dd__panel, .dd.is-open .dd__panel, .dd__panel:focus-within, html:not(.js) .dd:focus-within .dd__panel { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; }
.dd.is-dicht:not(.is-open) .dd__panel { opacity: 0; visibility: hidden; }   /* net dichtgedaan: dicht blijven tot de muis weg is */
.dd__lijst { display: grid; gap: 2px; padding: 8px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .4); }
.dd__lijst a { display: grid; gap: 1px; padding: 11px 14px; border-radius: 10px; }
.dd__lijst a::after { content: none; }
.dd__lijst a:hover, .dd__lijst a:focus-visible, .dd__lijst a[aria-current="page"] { background: var(--paper); }
.dd__lijst b { font-weight: 600; }
.dd__lijst span { font-size: 13.5px; color: var(--ink-soft); }
/* Inloggen (klantportaal): rustig, met een slotje, naast de knop Contact */
.top__login { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; text-decoration: none; padding: 6px 2px; color: var(--ink); }
.top__login svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.top__login span { position: relative; }
.top__login span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .35s var(--ease); }
.top__login:hover span::after, .top__login[aria-current="page"] span::after { transform: scaleX(1); transform-origin: 0 50%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lang { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-decoration: none; padding: 9px 12px; border: 1px solid var(--line); border-radius: 99px; transition: border-color .3s; }
.lang:hover { border-color: var(--ink); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-size: 15px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 99px; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav {
  position: absolute; right: 0; top: calc(100% + 10px); display: grid; gap: 2px; min-width: 220px; padding: 8px;
  border-radius: 16px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .4);
}
.menu nav a { padding: 12px 12px; border-radius: 10px; text-decoration: none; }
.menu nav a:hover { background: var(--paper); }
.menu__kop { padding: 12px 12px 4px; font: 600 12px/1 var(--font-body); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-soft); }
.menu nav a.menu__sub { padding-left: 24px; }

/* ---------- Knoppen en links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 999px;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  font: 600 16px/1 var(--font-body); text-decoration: none; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .3) 50%, transparent 65%);
  translate: -120% 0; transition: translate .8s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .55); }
.btn:hover::before { translate: 120% 0; }
.btn svg { width: 14px; height: 14px; flex: none; transition: translate .35s var(--ease); }
.btn:hover svg { translate: 3px 0; }
.btn--ghost { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 30%, transparent); }
.btn--ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn--small { padding: 11px 18px; font-size: 14px; }
button.btn { appearance: none; cursor: pointer; }
button.btn[disabled] { opacity: .55; cursor: default; transform: none; box-shadow: none; }
.tlink { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: color-mix(in srgb, var(--ink) 35%, transparent); transition: text-decoration-color .3s; }
.tlink:hover { text-decoration-color: currentColor; }
.more { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; text-decoration: none; padding: 6px 0; }
.more svg { width: 13px; height: 13px; transition: translate .35s var(--ease); }
.more:hover svg { translate: 4px 0; }
.label { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--font-body); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-soft); }
.label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.lead { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.55; color: var(--ink-soft); max-width: 34em; }

/* ---------- Opening ---------- */
.hero { position: relative; isolation: isolate; overflow-x: clip; padding: clamp(104px, 10.4vw, 150px) 0 clamp(12px, 1.6vw, 24px); }
.hero + #diensten { padding-top: clamp(32px, 3vw, 44px); }      /* de diensten sluiten aan op de opening, zonder groot gat onder de kameleon */
.hero__sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; background: var(--paper); }
.hero__dots {
  position: absolute; inset: 0; z-index: -2; opacity: .5;
  background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--ink) 22%, transparent) 1px, transparent 1.6px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(60% 60% at 72% 42%, #000 0, transparent 72%); mask-image: radial-gradient(60% 60% at 72% 42%, #000 0, transparent 72%);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 140px; z-index: -1; background: linear-gradient(transparent, var(--paper)); }
.hero__in {
  --bleed: calc((100vw - min(100vw - 2 * var(--gutter), var(--max))) / 2);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); row-gap: clamp(20px, 2.6vw, 36px);
}
/* De tekst staat er meteen; alleen een korte beweging bij het openen. */
.hero__title { grid-column: 1 / -1; font-size: clamp(38px, 6.1vw, 86px); position: relative; z-index: 2; animation: titleIn .9s var(--ease) both; }
@keyframes titleIn { from { translate: 0 .28em; } }
.hero__copy { grid-column: 1 / span 4; display: grid; gap: 26px; align-content: start; padding-top: clamp(8px, 3vw, 44px); position: relative; z-index: 2; }
.hero__copy .lead b { color: var(--ink); font-weight: 600; }      /* de eerste zin van de inleiding valt op */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { font-size: 15px; color: var(--ink-soft); max-width: 23em; }
.hero__note b { color: var(--ink); font-weight: 600; }

/* ---------- De kameleon ---------- */
.cham {
  grid-column: 5 / -1; position: relative; aspect-ratio: 2000 / 1060;
  margin: clamp(-40px, -2.6vw, -12px) calc(-1 * min(var(--bleed), 160px)) 0 0;      /* op brede schermen loopt de tak hooguit 160px de rand in: anders wordt de kameleon enorm en de opening te hoog */
  animation: chamIn 1.2s var(--ease) both;
}
@keyframes chamIn { from { translate: 36px 0; } }
.cham__poster, .cham__gl, .peek img, .peek canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
.cham__poster, .cham__gl { -webkit-mask-image: linear-gradient(90deg, #000 93%, transparent); mask-image: linear-gradient(90deg, #000 93%, transparent); }
.cham__gl, .peek canvas { opacity: 0; }
.cham__gl { cursor: pointer; }
.cham.is-live .cham__gl, .peek.is-live canvas { opacity: 1; }
.cham.is-live .cham__poster, .peek.is-live img { visibility: hidden; }
.cham__tong { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; display: none; }
.cham.is-striking .cham__tong { display: block; }
.orbs { position: absolute; inset: 0; pointer-events: none; display: none; }
.js .orbs { display: block; }      /* de bollen werken alleen met JavaScript */
.orb {
  all: unset; box-sizing: border-box; position: absolute; left: calc(var(--u) * 1%); top: calc(var(--v) * 1%);
  width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; cursor: pointer; pointer-events: auto;
  display: grid; place-items: center;
  --vv: clamp(30px, 3vw, 44px);                                   /* de maat van een vuurvliegje */
  animation: vlucht 9s ease-in-out infinite alternate; animation-delay: var(--dl, 0s);
  transition: opacity .4s, scale .6s var(--ease);
}
/* Elke kleur is een vuurvliegje: een donker lijfje met vleugels en een achterlijf dat in zijn kleur gloeit.
   .orb::before is de gloed om hem heen, i het gloeiende achterlijf, i::before het lijfje en de kop, i::after de vleugels. */
.orb::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: calc(var(--vv) * 2.3); aspect-ratio: 1; translate: -50% -42%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--o2) 50%, transparent), color-mix(in srgb, var(--o2) 16%, transparent) 55%, transparent);
  animation: gloei 2.3s ease-in-out infinite alternate; animation-delay: var(--dl, 0s);
}
.orb i {
  position: relative; width: calc(var(--vv) * .42); height: calc(var(--vv) * .5); translate: 0 calc(var(--vv) * .26); rotate: -26deg;
  border-radius: 46% 46% 50% 50% / 38% 38% 62% 62%;
  background: radial-gradient(circle at 46% 62%, #fff 0, var(--o1) 24%, var(--o2) 64%, var(--o3) 100%);
  box-shadow: 0 0 calc(var(--vv) * .2) calc(var(--vv) * .06) color-mix(in srgb, var(--o1) 70%, transparent), 0 0 calc(var(--vv) * .6) calc(var(--vv) * .14) color-mix(in srgb, var(--o2) 70%, transparent);
  transition: scale .3s var(--ease);
  animation: kantel 3.3s ease-in-out infinite alternate; animation-delay: var(--dl, 0s);
}
.orb i::before {                                      /* lijfje: kop met voelsprieten, oranje nekschild met een zwarte vlek, donkere dekschilden en pootjes */
  content: ""; position: absolute; left: 50%; bottom: 46%; width: 108%; aspect-ratio: 20 / 30; translate: -50% 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 30'%3E%3Cpath d='M8.6 5.2C7.6 2.6 5.6 1.2 3.4.8M11.4 5.2c1-2.6 3-4 5.2-4.4' fill='none' stroke='%232A211B' stroke-width='.9' stroke-linecap='round'/%3E%3Cpath d='M5.8 13.6 2.6 15.2M14.2 13.6l3.2 1.6M6.2 17.6 3.4 20.4M13.8 17.6l2.8 2.8' fill='none' stroke='%232A211B' stroke-width='.8' stroke-linecap='round'/%3E%3Cellipse cx='10' cy='6.4' rx='2.6' ry='2.2' fill='%2317120E'/%3E%3Cpath d='M4.4 10.6c0-2.6 2.5-3.8 5.6-3.8s5.6 1.2 5.6 3.8c0 1.2-.6 1.9-1.4 1.9H5.8c-.8 0-1.4-.7-1.4-1.9z' fill='%23EFA25B'/%3E%3Cellipse cx='10' cy='10' rx='1.7' ry='1.6' fill='%232B1F18'/%3E%3Cpath d='M5 12.6h10c.4 4.6-.4 10.6-2.6 16.6L10 27.6l-2.4 1.6C5.4 23.2 4.6 17.2 5 12.6z' fill='%232E241D'/%3E%3Cpath d='M5.3 13c-.2 4.4.6 10 2.5 15.6M14.7 13c.2 4.4-.6 10-2.5 15.6' fill='none' stroke='%23E9C877' stroke-width='.7' opacity='.85'/%3E%3Cpath d='M10 12.8v14.6' stroke='%2315110D' stroke-width='.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.orb i::after {                                       /* vleugels: twee doorzichtige vliesjes die snel klapperen */
  content: ""; position: absolute; left: 50%; bottom: 82%; width: 270%; aspect-ratio: 60 / 34; translate: -50% 0; transform-origin: 50% 85%; pointer-events: none; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 34'%3E%3Cg fill='%23fff' fill-opacity='.55' stroke='%23fff' stroke-opacity='.9' stroke-width='.6'%3E%3Cellipse cx='17' cy='16' rx='15' ry='7' transform='rotate%28-28 17 16%29'/%3E%3Cellipse cx='43' cy='16' rx='15' ry='7' transform='rotate%2828 43 16%29'/%3E%3C/g%3E%3Cg fill='none' stroke='%23B8D3E8' stroke-opacity='.7' stroke-width='.5'%3E%3Cpath d='M29 26 8 12M31 26l21-14'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  animation: flap .12s linear infinite alternate;
}
.orb:hover i { scale: 1.2; }
.orb:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.orb.is-eaten { opacity: 0; scale: .2; pointer-events: none; }
.orb.is-caught { animation: none; transition: none; }
/* kleur en plaats per bol: --u en --v zijn procenten van de breedte en hoogte van het beeld */
.orb[data-skin="blad"] { --o1: #D4F2B8; --o2: #3FA53C; --o3: #14501F; --u: 8.1; --v: 12.5; --dl: -1s; }
.orb[data-skin="koraal"] { --o1: #FFC9AE; --o2: #E2492B; --o3: #7E1726; --u: 2.8; --v: 24; --dl: -2.4s; }
.orb[data-skin="oceaan"] { --o1: #BFE6FF; --o2: #2A7CCB; --o3: #133890; --u: 1.6; --v: 39.5; --dl: -.3s; }
.orb[data-skin="nacht"] { --o1: #D5C6FF; --o2: #6A45E0; --o3: #1D134E; --u: 5.3; --v: 54; --dl: -3.3s; }
/* Pagina Projecten: een balletje per project (in de kleur van de klant) en één om terug te gaan naar de eigen kleur.
   De kleuren zet de code van de site erin; de plek hangt af van het nummer (data-plek). */
.orb[data-plek="1"] { --u: 8.1; --v: 11; --dl: -1s; }
.orb[data-plek="2"] { --u: 2.8; --v: 24; --dl: -2.4s; }
.orb[data-plek="3"] { --u: 1.6; --v: 40; --dl: -.3s; }
.orb[data-plek="4"] { --u: 5.3; --v: 56; --dl: -3.3s; }
.orb[data-plek="5"] { --u: 15; --v: 6.5; --dl: -1.7s; }
.orb b {
  position: absolute; left: 50%; top: calc(50% + clamp(18px, 1.7vw, 24px)); translate: -50% 0; padding: 4px 9px; border-radius: 99px; white-space: nowrap;
  background: var(--panel); color: var(--ink); border: 1px solid var(--line); font: 600 12px/1.2 var(--font-body); transition: opacity .3s;
}
.orb.is-caught b { opacity: 0; }
.orb--terug { --o1: #D4F2B8; --o2: #3FA53C; --o3: #14501F; }
/* het regenboogvuurvliegje: hiermee kiest de bezoeker een eigen kleur */
.orb--kies { --u: 14.5; --v: 8.5; --dl: -1.7s; }
.orb--kies:not(.is-vol) i {
  background: conic-gradient(from 210deg, #FF5A5A, #FFC83C, #5BD75F, #3CC8FF, #8E6BFF, #FF5AC8, #FF5A5A);
  box-shadow: 0 0 calc(var(--vv) * .34) calc(var(--vv) * .07) rgba(255, 255, 255, .8);
}
.orb--kies:not(.is-vol)::before { background: radial-gradient(closest-side, rgba(255, 255, 255, .65), rgba(255, 170, 230, .2) 55%, transparent); }
.orb--kies input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.orb--kies:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
/* zodra de bezoeker een kleur koos, krijgt de bol even die kleur en eet de kameleon hem op */
.orb--kies.is-vol input { pointer-events: none; }
/* het vuurvliegje zweeft rond zijn plek, kantelt een beetje, klappert met zijn vleugels en zijn licht gaat zacht aan en uit */
@keyframes vlucht {
  0% { translate: 0 0; } 18% { translate: 9px -8px; } 37% { translate: -3px -14px; } 55% { translate: -12px -3px; } 76% { translate: -4px 9px; } 100% { translate: 8px 3px; }
}
@keyframes kantel { from { rotate: -36deg; } to { rotate: -14deg; } }
@keyframes flap { from { scale: 1 1; } to { scale: .55 .8; } }
@keyframes gloei { from { opacity: .4; scale: .82; } to { opacity: 1; scale: 1.06; } }

/* ---------- Animatie bij de diensten ("film") ---------- */
.film { margin: 0; }
.film__frame {
  /* binnen het venster blijven de kleuren licht, ook als de site donker is */
  --ink: #0A1024; --line: rgba(10, 16, 36, .13); --moon: #F6EDD9;
  --acc: color-mix(in srgb, var(--accent) 64%, #0A1024);      /* de accentkleur, iets donkerder: zo blijft witte tekst erop altijd goed leesbaar */
  border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 60px 100px -50px rgba(0, 0, 0, .5), 0 22px 40px -22px rgba(0, 0, 0, .28);
}
.film__bar { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: linear-gradient(#fff, #F6F7FA); }
.film__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(10, 16, 36, .14); }
.film__bar span { flex: 0 1 44%; height: 16px; margin-inline: auto; border-radius: 99px; background: rgba(10, 16, 36, .06); }
.film__bar::after { content: ""; width: 47px; }
.film__stage { position: relative; aspect-ratio: 16 / 11; container-type: inline-size; overflow: hidden; }
.scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s .5s; }
.film[data-scene="1"] .scene[data-s="1"], .film[data-scene="2"] .scene[data-s="2"], .film[data-scene="3"] .scene[data-s="3"], .film[data-scene="4"] .scene[data-s="4"] { opacity: 1; visibility: visible; transition: opacity .5s ease; }
.film.is-paused *, .film.is-off * { animation-play-state: paused !important; }

@keyframes cqUp { from { opacity: 0; translate: 0 1.8cqw; } }
@keyframes pop { from { opacity: 0; scale: .7; } }
@keyframes letter { from { opacity: 0; } }
@keyframes weg { from { opacity: 1; } }
@keyframes imgIn { from { clip-path: inset(0 0 100% 0 round 2.4cqw); } to { clip-path: inset(0 0 0 0 round 2.4cqw); } }
.film__stage { font-family: var(--font-body); color: #0A1024; line-height: 1; }
.film__stage p, .film__stage b, .film__stage i, .film__stage em, .film__stage small { margin: 0; font-style: normal; }
/* de muisaanwijzer: de punt zit linksboven in het plaatje */
.wijzer { position: absolute; left: 0; top: 0; width: 4.4cqw; height: 4.4cqw; overflow: visible; max-width: none; z-index: 6; opacity: 0; pointer-events: none; transform-origin: 21% 12%; filter: drop-shadow(0 .4cqw .6cqw rgba(10, 16, 36, .3)); }
.tag { position: absolute; right: 2.6cqw; top: 2.2cqw; z-index: 3; padding: .8cqw 1.4cqw; border-radius: 99px; background: rgba(10, 16, 36, .07); color: rgba(10, 16, 36, .6); font: 600 1.45cqw/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }

/* Deel 1: een website wordt opgebouwd op een computer en verschijnt daarna ook op een telefoon */
.sc-web { background: linear-gradient(160deg, #F5F7FB, #E7ECF5); }
.site {
  position: absolute; left: 4cqw; top: 4.4cqw; width: 92cqw; height: 60cqw; padding: 3.2cqw 4.2cqw 3.6cqw;
  display: grid; grid-template-rows: auto 1fr auto; gap: 2.4cqw; border-radius: 2.2cqw; background: #fff; overflow: hidden;
  box-shadow: 0 2.4cqw 5cqw -2.4cqw rgba(10, 16, 36, .28), 0 0 0 1px rgba(10, 16, 36, .07);
  transform-origin: 0 0; transform: translate(0, 9cqw) scale(.7);              /* eindstand: kleiner en links, naast de telefoon */
}
.site__nav { display: flex; align-items: center; gap: 2.8cqw; font: 500 1.75cqw/1 var(--font-body); color: rgba(10, 16, 36, .62); }
.site__nav b { width: 3.1cqw; aspect-ratio: 1; border-radius: 50%; background: var(--accent); }
.site__nav span { margin-right: auto; margin-left: -1.6cqw; font: 700 2.2cqw/1 var(--font-display); letter-spacing: -.02em; color: #0A1024; }
.site__hero { display: grid; grid-template-columns: 1.12fr .88fr; gap: 4cqw; align-items: center; min-height: 0; }
.site__txt { position: relative; z-index: 2; display: grid; justify-items: start; gap: 1.9cqw; }
.site__h { font: 700 5.2cqw/1.04 var(--font-display); letter-spacing: -.035em; text-wrap: balance; }
.site__p { font: 400 1.95cqw/1.45 var(--font-body); color: rgba(10, 16, 36, .62); max-width: 36cqw; }
.site__btn { position: relative; padding: 1.6cqw 3cqw; border-radius: 99px; background: var(--acc); color: #fff; font: 600 1.85cqw/1 var(--font-body); }
.site__btn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.site__btn .wijzer { left: 58%; top: 46%; }
.site__img, .phone__img { overflow: hidden; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 24%, #fff), color-mix(in srgb, var(--accent) 7%, #fff) 70%); }
.site__img { aspect-ratio: 1 / .86; border-radius: 2.4cqw; }
.site__img svg, .phone__img svg { display: block; width: 100%; height: 100%; }
.winkel .a { fill: var(--accent); }
.winkel .d { fill: color-mix(in srgb, var(--accent) 62%, #0A1024); }
.winkel .l { fill: color-mix(in srgb, var(--accent) 16%, #fff); }
.site__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2cqw; }
.site__cards div { display: flex; align-items: center; gap: 1.5cqw; padding: 1.6cqw 1.8cqw; border-radius: 1.6cqw; border: 1px solid rgba(10, 16, 36, .09); background: #F7F8FB; font: 600 1.75cqw/1 var(--font-body); }
.site__cards i { width: 3.4cqw; aspect-ratio: 1; border-radius: 1.1cqw; background: color-mix(in srgb, var(--accent) 22%, #fff); display: grid; place-items: center; }
.site__cards i::after { content: ""; width: 1.3cqw; aspect-ratio: 1; border-radius: 50%; background: var(--accent); }
.phone {
  position: absolute; right: 5.2cqw; top: 10.4cqw; width: 23.5cqw; height: 48cqw; padding: 1cqw; border-radius: 3.6cqw; background: #0A1024;
  box-shadow: 0 3cqw 6cqw -2cqw rgba(10, 16, 36, .5), inset 0 0 0 .2cqw rgba(255, 255, 255, .12);
}
.phone::before { content: ""; position: absolute; left: 50%; top: 1.9cqw; z-index: 2; width: 6.4cqw; height: 1.25cqw; translate: -50% 0; border-radius: 99px; background: #0A1024; }
.phone__scr { height: 100%; padding: 4.2cqw 1.8cqw 1.8cqw; display: grid; grid-auto-rows: max-content; align-content: start; gap: 1.6cqw; border-radius: 2.7cqw; background: #fff; overflow: hidden; }
.phone__nav { display: flex; align-items: center; gap: 1cqw; font: 700 1.55cqw/1 var(--font-display); letter-spacing: -.01em; }
.phone__nav b { width: 2.1cqw; aspect-ratio: 1; border-radius: 50%; background: var(--accent); }
.phone__nav em { margin-left: auto; width: 2.3cqw; height: 1.5cqw; background: linear-gradient(#0A1024, #0A1024) 0 0 / 100% .26cqw no-repeat, linear-gradient(#0A1024, #0A1024) 0 50% / 100% .26cqw no-repeat, linear-gradient(#0A1024, #0A1024) 0 100% / 100% .26cqw no-repeat; }
.phone__img { aspect-ratio: 1 / .72; border-radius: 1.6cqw; }
.phone__h { font: 700 2.55cqw/1.08 var(--font-display); letter-spacing: -.03em; }
.phone__p { display: grid; gap: .7cqw; }
.phone__p i { height: .8cqw; border-radius: 9px; background: rgba(10, 16, 36, .16); }
.phone__p i:last-child { width: 62%; }
.phone__btn { justify-self: start; padding: 1.15cqw 2cqw; border-radius: 99px; background: var(--acc); color: #fff; font: 600 1.4cqw/1 var(--font-body); }
.phone__cards { display: grid; gap: .8cqw; margin-top: .6cqw; }
.phone__cards div { display: flex; align-items: center; gap: 1cqw; padding: .85cqw 1cqw; border-radius: 1.1cqw; border: 1px solid rgba(10, 16, 36, .09); background: #F7F8FB; font: 600 1.3cqw/1 var(--font-body); }
.phone__cards i { width: 2.1cqw; aspect-ratio: 1; border-radius: .7cqw; background: color-mix(in srgb, var(--accent) 22%, #fff); display: grid; place-items: center; }
.phone__cards i::after { content: ""; width: .8cqw; aspect-ratio: 1; border-radius: 50%; background: var(--accent); }
.film[data-scene="1"] .site { animation: siteKlein 5.6s var(--ease) both; }
.film[data-scene="1"] .site__nav > * { animation: cqUp .5s var(--ease) both; }
/* de kop wordt getypt: elke letter verschijnt los, met de typestreep er vlak achter */
.film[data-scene="1"] .site__h span { animation: letter .01s linear both, streepje 42ms steps(1) both; animation-duration: .01s, calc(var(--n, 1) * 42ms); animation-delay: calc(.35s + var(--i) * 42ms); }
.film[data-scene="1"] .site__h span:last-child { animation-name: letter, streepjeEind; animation-duration: .01s, 1.2s; }
.film[data-scene="1"] .site__p { animation: cqUp .5s var(--ease) 1.4s both; }
.film[data-scene="1"] .site__btn { animation: pop .45s var(--ease) 1.65s both; }
.film[data-scene="1"] .site__btn::before { animation: ring .8s ease-out 3.05s both; }
.film[data-scene="1"] .site__img { animation: imgIn .9s var(--ease) .6s both; }
.film[data-scene="1"] .site__cards div { animation: cqUp .5s var(--ease) 1.95s both; }
.film[data-scene="1"] .site__cards div:nth-child(2) { animation-delay: 2.07s; }
.film[data-scene="1"] .site__cards div:nth-child(3) { animation-delay: 2.19s; }
.film[data-scene="1"] .sc-web .wijzer { animation: wijs1 5.6s var(--ease) both; }
.film[data-scene="1"] .phone { animation: telIn 5.6s var(--ease) both; }
@keyframes siteKlein { 0%, 62% { transform: translate(0, 0) scale(1); } 77%, 100% { transform: translate(0, 9cqw) scale(.7); } }
@keyframes telIn { 0%, 64% { translate: 36cqw 0; opacity: 0; } 80%, 100% { translate: 0 0; opacity: 1; } }
/* de streep verdwijnt vlak vóór het einde (97%): zo blijft hij nooit staan door een afronding in de tijd */
@keyframes streepje { 0% { box-shadow: .22cqw 0 0 #fff, .68cqw 0 0 var(--accent); } 97%, 100% { box-shadow: none; } }
@keyframes streepjeEind { 0%, 50% { box-shadow: .22cqw 0 0 #fff, .68cqw 0 0 var(--accent); } 25%, 75%, 100% { box-shadow: none; } }
@keyframes ring { from { box-shadow: 0 0 0 0 color-mix(in srgb, var(--acc) 55%, transparent); } to { box-shadow: 0 0 0 3.4cqw transparent; } }
@keyframes wijs1 {
  0%, 40% { opacity: 0; translate: 30cqw 12cqw; }
  45% { opacity: 1; translate: 30cqw 12cqw; }
  53% { opacity: 1; translate: 0 0; scale: 1; }
  55% { scale: .84; }
  58% { scale: 1; opacity: 1; translate: 0 0; }
  64%, 100% { opacity: 0; translate: 0 0; }
}

/* Deel 2: een voorbeeld van een dienst op maat. Iemand maakt online een afspraak; het bedrijf ziet hem meteen in zijn overzicht */
.sc-app { background: linear-gradient(160deg, #F5F7FB, #E7ECF5); display: grid; grid-template-columns: 1.24fr 1fr; gap: 3cqw; align-content: center; padding: 6cqw 4.6cqw 7cqw; }
/* waar de muisaanwijzer klikt, gemeten vanaf de linkerbovenhoek van het formulier: dag, tijd en knop */
.boek { --dx: 24.6cqw; --dy: 14.9cqw; --tx: 24.6cqw; --ty: 26.1cqw; --bx: 11cqw; --by: 39.7cqw; }
.wie { position: absolute; left: .5cqw; top: -3.3cqw; font: 600 1.4cqw/1 var(--font-body); letter-spacing: .09em; text-transform: uppercase; color: rgba(10, 16, 36, .58); white-space: nowrap; }
.boek__stap { display: grid; gap: 1.1cqw; }
.boek__stap small { font: 500 1.5cqw/1 var(--font-body); color: rgba(10, 16, 36, .6); }
.boek, .dash { position: relative; display: grid; align-content: start; gap: 2.4cqw; padding: 3.2cqw; border-radius: 2.4cqw; background: #fff; box-shadow: 0 2.4cqw 5cqw -2.6cqw rgba(10, 16, 36, .28), 0 0 0 1px rgba(10, 16, 36, .07); }
.boek__t, .dash__t { font: 700 2.7cqw/1 var(--font-display); letter-spacing: -.025em; }
.boek__dagen { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1cqw; }
.boek__dagen i { display: grid; justify-items: center; gap: .7cqw; padding: 1.4cqw 0; border-radius: 1.5cqw; border: 1px solid rgba(10, 16, 36, .13); font: 500 1.5cqw/1 var(--font-body); color: rgba(10, 16, 36, .6); }
.boek__dagen em { font: 700 2.4cqw/1 var(--font-display); color: #0A1024; }
.boek__dagen .kies { background: var(--acc); border-color: var(--acc); color: rgba(255, 255, 255, .92); }
.boek__dagen .kies em { color: #fff; }
.boek__tijden { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1cqw; }
.boek__tijden i { padding: 1.6cqw 0; border-radius: 1.3cqw; background: #F2F4F9; text-align: center; font: 600 1.8cqw/1 var(--font-body); }
.boek__tijden .kies { background: color-mix(in srgb, var(--accent) 15%, #fff); box-shadow: inset 0 0 0 .32cqw var(--accent); }
.boek__tijden .vol { color: rgba(10, 16, 36, .32); text-decoration: line-through; }
.boek__btn { position: relative; justify-self: start; display: grid; padding: 1.7cqw 3.2cqw; border-radius: 99px; background: #0A1024; color: #fff; font: 600 1.9cqw/1 var(--font-body); }
.boek__btn span { grid-area: 1 / 1; text-align: center; }
.boek__btn .voor { opacity: 0; }
.dash__stat { display: flex; align-items: center; gap: 1.4cqw; }
.dash__num { height: 6cqw; overflow: hidden; font: 700 6cqw/1 var(--font-display); letter-spacing: -.04em; }
.dash__num span { display: grid; translate: 0 -6cqw; }
.dash__num i { height: 6cqw; }
.dash__stat small { max-width: 13cqw; font: 500 1.55cqw/1.25 var(--font-body); color: rgba(10, 16, 36, .58); }
.dash__lijst { display: grid; margin: 0 0 -1cqw; padding: 0; list-style: none; }
.dash__lijst li { box-sizing: border-box; display: flex; align-items: center; gap: 1.3cqw; height: 4.3cqw; margin-bottom: 1cqw; padding: 0 1.5cqw; overflow: hidden; border-radius: 1.3cqw; background: #F2F4F9; font: 600 1.65cqw/1 var(--font-body); }
.dash__lijst li > i { width: 1.5cqw; aspect-ratio: 1; border-radius: 50%; background: rgba(10, 16, 36, .22); }
.dash__lijst .nieuw { background: color-mix(in srgb, var(--accent) 13%, #fff); }
.dash__lijst .nieuw > i { background: var(--accent); }
.dash__lijst em { margin-left: auto; padding: .55cqw 1cqw; border-radius: 99px; background: var(--acc); color: #fff; font: 700 1.15cqw/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.dash__staaf { display: flex; align-items: flex-end; gap: 1cqw; height: 6cqw; margin-bottom: 2cqw; }
.dash__staaf i { position: relative; flex: 1; height: var(--h); border-radius: .7cqw .7cqw 0 0; background: rgba(10, 16, 36, .15); }
.dash__staaf em { position: absolute; left: 0; right: 0; top: calc(100% + .7cqw); text-align: center; font: 500 1.25cqw/1 var(--font-body); color: rgba(10, 16, 36, .58); }
.dash__staaf .groei { background: var(--accent); }
.toast { position: absolute; left: 50%; bottom: 3cqw; z-index: 4; translate: -50% 0; padding: 1.55cqw 2.8cqw; border-radius: 99px; background: #0A1024; color: #fff; font: 600 1.75cqw/1 var(--font-body); white-space: nowrap; box-shadow: 0 1.6cqw 3cqw -1cqw rgba(10, 16, 36, .5); }
.toast b { color: color-mix(in srgb, var(--accent) 55%, #fff); margin-right: .7cqw; }
.film[data-scene="2"] .boek, .film[data-scene="2"] .dash { animation: cqUp .6s var(--ease) both; }
.film[data-scene="2"] .dash { animation-delay: .14s; }
.film[data-scene="2"] .boek__dagen .kies { animation: dagKies .3s ease 1.2s both; }
.film[data-scene="2"] .boek__dagen .kies em { animation: emKies .3s ease 1.2s both; }
.film[data-scene="2"] .boek__tijden .kies { animation: tijdKies .3s ease 2s both; }
.film[data-scene="2"] .boek__btn { animation: knopKlaar .3s ease 2.85s both; }
.film[data-scene="2"] .boek__btn .voor { animation: weg .01s linear 2.85s both; }
.film[data-scene="2"] .boek__btn .na { animation: letter .01s linear 2.85s both; }
.film[data-scene="2"] .sc-app .wijzer { animation: wijs2 5.6s var(--ease) both; }
.film[data-scene="2"] .toast { animation: toastIn .5s var(--ease) 3.05s both; }
.film[data-scene="2"] .dash__lijst .nieuw { animation: rijIn .55s var(--ease) 3.35s both; }
.film[data-scene="2"] .dash__num span { animation: teller .6s var(--ease) 3.45s both; }
.film[data-scene="2"] .dash__staaf .groei { animation: groei .8s var(--ease) 3.6s both; }
@keyframes dagKies { from { background: transparent; border-color: rgba(10, 16, 36, .13); color: rgba(10, 16, 36, .6); } }
@keyframes emKies { from { color: #0A1024; } }
@keyframes tijdKies { from { background: #F2F4F9; box-shadow: inset 0 0 0 0 transparent; } }
@keyframes knopKlaar { from { background: var(--acc); } }
@keyframes toastIn { from { opacity: 0; translate: -50% 2.4cqw; } }
@keyframes rijIn { from { opacity: 0; height: 0; margin-bottom: 0; translate: -2.4cqw 0; } }
@keyframes teller { from { translate: 0 0; } }
@keyframes groei { from { height: 46%; } }
@keyframes wijs2 {
  0%, 10% { opacity: 0; translate: 40cqw 38cqw; }
  14% { opacity: 1; translate: 40cqw 38cqw; }
  20% { translate: var(--dx) var(--dy); scale: 1; }
  21.5% { scale: .84; }
  23%, 28% { translate: var(--dx) var(--dy); scale: 1; }
  34% { translate: var(--tx) var(--ty); scale: 1; }
  35.5% { scale: .84; }
  37%, 42% { translate: var(--tx) var(--ty); scale: 1; }
  49% { translate: var(--bx) var(--by); scale: 1; }
  50.5% { scale: .84; }
  52% { opacity: 1; translate: var(--bx) var(--by); scale: 1; }
  60%, 100% { opacity: 0; translate: var(--bx) var(--by); }
}

/* Deel 4: een voorbeeld van e-mail en samenwerken. Een e-mail met de eigen domeinnaam wordt verstuurd, er is een
   vergadering met beeld en er komt een gedeeld document bij. Het is een eigen tekening: geen scherm of beeldmerk
   van een bestaande dienst. */
.sc-werk { background: linear-gradient(160deg, #F5F7FB, #E7ECF5); display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: auto auto; gap: 2.4cqw 3cqw; align-content: center; padding: 6.2cqw 4.6cqw 4.6cqw; }
.mail, .meet, .docs { position: relative; display: grid; align-content: start; gap: 1.8cqw; padding: 2.6cqw; border-radius: 2.4cqw; background: #fff; box-shadow: 0 2.4cqw 5cqw -2.6cqw rgba(10, 16, 36, .28), 0 0 0 1px rgba(10, 16, 36, .07); }
.mail { grid-area: 1 / 1; }
.docs { grid-area: 2 / 1; min-height: 29.2cqw; grid-template-rows: auto 1fr auto; align-content: stretch; }      /* vanaf het begin de eindmaat: er verspringt niets als het nieuwe document erbij komt */
.meet { grid-area: 1 / 2 / 3 / 3; grid-template-rows: auto 1fr auto; align-content: stretch; }
.werk__t { display: flex; align-items: center; gap: 1.2cqw; font: 700 2.5cqw/1 var(--font-display); letter-spacing: -.025em; }
.werk__t i { display: grid; place-items: center; width: 3.6cqw; aspect-ratio: 1; border-radius: 1.1cqw; background: color-mix(in srgb, var(--accent) 18%, #fff); color: var(--acc); }
.werk__t svg { width: 2.3cqw; height: 2.3cqw; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mail__van { display: flex; align-items: center; gap: 1.2cqw; padding: 1.1cqw 1.4cqw; border-radius: 1.2cqw; background: #F2F4F9; }
.mail__van small { font: 500 1.5cqw/1 var(--font-body); color: rgba(10, 16, 36, .6); }
.mail__adres { font: 600 1.85cqw/1 var(--font-body); white-space: nowrap; }
.mail__adres em { font-weight: 700; color: var(--acc); background: linear-gradient(color-mix(in srgb, var(--accent) 24%, #fff), color-mix(in srgb, var(--accent) 24%, #fff)) no-repeat 0 100% / 100% 42%; }
.mail__tekst { display: grid; gap: .8cqw; }
.mail__tekst i { height: .9cqw; border-radius: 9px; background: rgba(10, 16, 36, .13); transform-origin: 0 50%; }
.mail__tekst i:last-child { width: 58%; }
.mail__btn { position: relative; justify-self: start; display: grid; padding: 1.5cqw 2.8cqw; border-radius: 99px; background: #0A1024; color: #fff; font: 600 1.8cqw/1 var(--font-body); }
.mail__btn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.mail__btn > span { grid-area: 1 / 1; text-align: center; }
.mail__btn .voor { opacity: 0; }
.mail__btn .wijzer { left: 62%; top: 46%; }
.meet__grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 1.2cqw; min-height: 0; }
.meet__grid i { position: relative; display: grid; align-items: end; justify-items: center; min-height: 0; overflow: hidden; border-radius: 1.6cqw; background: var(--bg); }
.meet__grid svg { width: 66%; height: 80%; fill: var(--fg); }
.meet__grid .t1 { --bg: color-mix(in srgb, var(--accent) 22%, #fff); --fg: color-mix(in srgb, var(--accent) 62%, #0A1024); }
.meet__grid .t2 { --bg: #E4E9F6; --fg: #6F7FB3; }
.meet__grid .t3 { --bg: #FBEAD6; --fg: #CF8E4D; }
.meet__grid .t4 { --bg: #DFF0EF; --fg: #5E9E9A; }
.meet__grid .spreekt { box-shadow: inset 0 0 0 .42cqw var(--accent); }
.geluid { position: absolute; right: 1cqw; top: 1cqw; display: flex; align-items: center; gap: .34cqw; height: 2.5cqw; padding: 0 .8cqw; border-radius: 99px; background: var(--acc); }
.geluid s { width: .4cqw; height: 1.25cqw; border-radius: 9px; background: #fff; }
.geluid s:nth-child(2) { height: .7cqw; }
.meet__balk { display: flex; justify-content: center; gap: 1.2cqw; }
.meet__balk i { display: grid; place-items: center; width: 3.7cqw; aspect-ratio: 1; border-radius: 50%; background: #EEF1F7; }
.meet__balk i::after { content: ""; width: 1.1cqw; height: 1.5cqw; border-radius: .6cqw; background: rgba(10, 16, 36, .5); }
.meet__balk i:nth-child(2)::after { width: 1.7cqw; height: 1.15cqw; border-radius: .35cqw; }
.meet__balk i:last-child { background: #E5484D; }
.meet__balk i:last-child::after { width: 1.8cqw; height: .6cqw; border-radius: 9px; background: #fff; }
.docs__lijst { display: grid; align-self: start; margin: 0 0 -.9cqw; padding: 0; list-style: none; }
.docs__lijst li { box-sizing: border-box; display: flex; align-items: center; gap: 1.3cqw; height: 4cqw; margin-bottom: .9cqw; padding: 0 1.4cqw; overflow: hidden; border-radius: 1.2cqw; background: #F2F4F9; font: 600 1.65cqw/1 var(--font-body); }
.docs__lijst li > i { width: 1.75cqw; height: 2.2cqw; border-radius: .35cqw; background: #8D99BF; clip-path: polygon(0 0, 66% 0, 100% 27%, 100% 100%, 0 100%); }
.docs__lijst li:nth-child(3) > i { background: #D39A5E; }
.docs__lijst .nieuw { background: color-mix(in srgb, var(--accent) 13%, #fff); }
.docs__lijst .nieuw > i { background: var(--accent); }
.docs__lijst em { margin-left: auto; padding: .55cqw 1cqw; border-radius: 99px; background: var(--acc); color: #fff; font: 700 1.15cqw/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.docs__deel { display: flex; align-items: center; gap: 1.9cqw; }
.docs__deel small { font: 500 1.5cqw/1 var(--font-body); color: rgba(10, 16, 36, .6); }
.docs__deel span { display: flex; }
.docs__deel i { width: 3cqw; aspect-ratio: 1; margin-left: -.8cqw; border-radius: 50%; border: .3cqw solid #fff; background: color-mix(in srgb, var(--accent) 55%, #fff); }
.docs__deel i:nth-child(2) { background: #8D99BF; }
.docs__deel i:nth-child(3) { background: #E0AC78; }
.film[data-scene="4"] .mail, .film[data-scene="4"] .meet, .film[data-scene="4"] .docs { animation: cqUp .6s var(--ease) both; }
.film[data-scene="4"] .meet { animation-delay: .12s; }
.film[data-scene="4"] .docs { animation-delay: .22s; }
/* het adres wordt getypt: de eigen domeinnaam verschijnt letter voor letter en wordt daarna gemarkeerd */
.film[data-scene="4"] .mail__adres em span { animation: letter .01s linear both, streepje4 55ms steps(1) both; animation-delay: calc(.85s + var(--i) * 55ms); }
.film[data-scene="4"] .mail__adres em span:last-child { animation-name: letter, streepje4Eind; animation-duration: .01s, .9s; }
.film[data-scene="4"] .mail__adres em { animation: markeer .45s var(--ease) 1.75s both; }
.film[data-scene="4"] .mail__tekst i { animation: balk .5s var(--ease) 1.25s both; }
.film[data-scene="4"] .mail__tekst i:last-child { animation-delay: 1.4s; }
.film[data-scene="4"] .sc-werk .wijzer { animation: wijs4 5.6s var(--ease) both; }
.film[data-scene="4"] .mail__btn { animation: knopKlaar .3s ease 2.5s both; }
.film[data-scene="4"] .mail__btn .voor { animation: weg .01s linear 2.5s both; }
.film[data-scene="4"] .mail__btn .na { animation: letter .01s linear 2.5s both; }
.film[data-scene="4"] .mail__btn::before { animation: ring .8s ease-out 2.5s both; }
/* de vergadering: de deelnemers komen één voor één in beeld, daarna praat er iemand */
.film[data-scene="4"] .meet__grid i { animation: stoel .4s ease 2.8s both; }
.film[data-scene="4"] .meet__grid svg { animation: pop .45s var(--ease) 2.8s both; }
.film[data-scene="4"] .meet__grid .t2 { animation: stoel .4s ease 3s both, ringAan .35s ease 3.75s both; }
.film[data-scene="4"] .meet__grid .t3 { animation-delay: 3.2s; }
.film[data-scene="4"] .meet__grid .t4 { animation-delay: 3.4s; }
.film[data-scene="4"] .meet__grid .t2 svg { animation-delay: 3s; }
.film[data-scene="4"] .meet__grid .t3 svg { animation-delay: 3.2s; }
.film[data-scene="4"] .meet__grid .t4 svg { animation-delay: 3.4s; }
.film[data-scene="4"] .geluid { animation: pop .35s var(--ease) 3.75s both; }
.film[data-scene="4"] .geluid s { animation: geluid .42s ease-in-out infinite alternate; }
.film[data-scene="4"] .geluid s:nth-child(2) { animation-delay: -.2s; }
.film[data-scene="4"] .geluid s:nth-child(3) { animation-delay: -.34s; }
/* documenten: er komt een nieuw document bij, gedeeld met drie mensen */
.film[data-scene="4"] .docs__lijst .nieuw { animation: rijIn .55s var(--ease) 4.15s both; }
.film[data-scene="4"] .docs__deel small { animation: letter .3s linear 4.5s both; }
.film[data-scene="4"] .docs__deel i { animation: pop .4s var(--ease) 4.6s both; }
.film[data-scene="4"] .docs__deel i:nth-child(2) { animation-delay: 4.72s; }
.film[data-scene="4"] .docs__deel i:nth-child(3) { animation-delay: 4.84s; }
@keyframes streepje4 { 0% { box-shadow: .34cqw 0 0 var(--accent); } 97%, 100% { box-shadow: none; } }
@keyframes streepje4Eind { 0%, 50% { box-shadow: .34cqw 0 0 var(--accent); } 25%, 75%, 100% { box-shadow: none; } }
@keyframes markeer { from { background-size: 0 42%; } }
@keyframes balk { from { scale: 0 1; opacity: 0; } }
@keyframes stoel { from { background: #EEF1F7; } }               /* een lege plek in de vergadering, tot er iemand binnenkomt */
@keyframes ringAan { from { box-shadow: inset 0 0 0 0 transparent; } }
@keyframes geluid { from { scale: 1 .4; } to { scale: 1 1; } }
@keyframes wijs4 {
  0%, 28% { opacity: 0; translate: 24cqw 9cqw; }
  32% { opacity: 1; translate: 24cqw 9cqw; }
  42% { opacity: 1; translate: 0 0; scale: 1; }
  44% { scale: .84; }
  46.5% { scale: 1; opacity: 1; translate: 0 0; }
  54%, 100% { opacity: 0; translate: 0 0; }
}

/* ---------- Pagina Projecten ----------
   Bovenaan de kameleon met een balletje per project. Daaronder per project een "podium":
   links de delen van het project, rechts een venster met een rondleiding door de echte site. */
.hero--proj { padding-bottom: clamp(12px, 1.6vw, 24px); }
.hero--proj + .proj { padding-top: clamp(28px, 2.6vw, 40px); }      /* het eerste project sluit aan op de opening, zonder groot gat onder de kameleon */
.proj__soort { font: 600 15px/1.3 var(--font-body); color: color-mix(in srgb, var(--accent) 55%, var(--ink)); }      /* accent, iets donkerder: zo blijft de tekst goed leesbaar */
.proj .sec__head .lead { max-width: 38em; }
.proefregel { justify-self: start; padding: 8px 14px; border-radius: 10px; border: 1px dashed color-mix(in srgb, var(--ink) 40%, transparent); font-size: 14px; color: var(--ink-soft); }
.punten { counter-reset: none; display: grid; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.punten li { display: flex; align-items: baseline; gap: 10px; color: var(--ink-soft); font-size: 15.5px; }
.punten strong { color: var(--ink); font-weight: 600; }
.punten b, .tour__label b { flex: none; display: inline-grid; place-items: center; border-radius: 50%; font-weight: 700; }
.punten b { width: 22px; height: 22px; translate: 0 2px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--ink); font-size: 12px; line-height: 1; }
.svc__row:not(.is-on) .punten { display: none; }             /* de punten horen bij het deel dat nu speelt */
.film--tour .film__bar span { display: grid; place-items: center; font: 500 11.5px/1 var(--font-body); color: rgba(10, 16, 36, .55); letter-spacing: .01em; }
/* De rondleiding: de beelden liggen op elkaar. Het eerste staat er; de volgende komen op hun moment in beeld (--t)
   en schuiven daarna omhoog (--dy, in procenten van hun hoogte). Zonder beweging zie je het eerste beeld. */
.sc-tour { background: #E9EDF4; }
.tour { position: absolute; inset: 0; overflow: hidden; }
.tour__stap { position: absolute; left: 0; right: 0; top: 0; opacity: 0; }
.tour__stap:first-child { opacity: 1; }
.tour__stap img { display: block; width: 100%; height: auto; max-width: none; }
/* Het wuivende gras van de site van HippoCura, levend over het beeld heen: dezelfde twee lagen, vormen, kleuren en beweging
   als op de site zelf. Schuift de pagina in de rondleiding, dan buigt het gras even mee, zoals op de site bij scrollen. */
.hcgras { position: absolute; left: 0; right: 0; overflow: hidden; pointer-events: none; }
.hcgras b { position: absolute; inset: 0 -5%; transform-origin: 50% 100%; --buig: 9deg; }
.hcgras b:first-child { --buig: 5.5deg; }
.hcgras i {
  position: absolute; inset: 0; background: currentColor; transform-origin: 50% 100%;
  -webkit-mask: url(hc-gras-voor.svg) repeat-x 50% 100% / auto 100%; mask: url(hc-gras-voor.svg) repeat-x 50% 100% / auto 100%;
  animation: hcWuiven 6.5s ease-in-out infinite alternate;
}
.hcgras b:first-child i { -webkit-mask-image: url(hc-gras-achter.svg); mask-image: url(hc-gras-achter.svg); opacity: .45; animation-duration: 9s; animation-delay: -4s; }
.hcgras--licht { color: #DCE6D6; }
.hcgras--licht b:first-child i { color: #749369; opacity: .3; }
.hcgras--donker { color: #1C3829; }
.hcgras--donker b:first-child i { color: #749369; opacity: .55; }
.scene.is-aan .hcgras b { animation: hcWind var(--sd, 5s) ease-in-out calc(var(--t, 0s) + var(--sw, 1s)) both; }
/* De andere bewegingen van de site, nagespeeld met stukjes uit het beeld (zie stuk() in build.py). Onder elk stukje zit
   de achtergrondkleur (--bg), zodat het stilstaande origineel eronder verdwijnt. --d: wanneer het begint. */
.hcstuk { position: absolute; pointer-events: none; }
.hcstuk::before { content: ""; position: absolute; inset: 0; background: var(--bg); border-radius: var(--r, 0); }
.hcstuk i { position: absolute; inset: 0; background-repeat: no-repeat; }
.hcstuk--woord, .hcstuk--deur { overflow: hidden; border-radius: var(--r, 0); }
.scene.is-aan .hcstuk--woord i { animation: hcWoord .8s cubic-bezier(.2, .7, .2, 1) var(--d) both; }
.scene.is-aan .hcstuk--op i { animation: hcOp .9s cubic-bezier(.2, .7, .2, 1) var(--d) both; }
.scene.is-aan .hcstuk--deur i { animation: hcDeur 1.2s cubic-bezier(.2, .7, .2, 1) var(--d) both, hcZoom 1.8s cubic-bezier(.2, .7, .2, 1) var(--d) both; }
.hcstuk--hangen i { transform-origin: var(--ox, 50%) 0; }
.scene.is-aan .hcstuk--hangen i { animation: hcHangen 2.6s cubic-bezier(.3, 0, .3, 1) var(--d) both, hcToon .5s linear var(--d) both; }
.scene.is-aan .hcstuk--pad i { animation: hcPad 1.8s cubic-bezier(.3, .1, .3, 1) var(--d) both; }
@keyframes hcWoord { from { translate: 0 105%; } }
@keyframes hcOp { from { opacity: 0; translate: 0 .9cqw; } }
@keyframes hcToon { from { opacity: 0; } }
@keyframes hcDeur { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes hcZoom { from { scale: 1.16; } }
@keyframes hcPad { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes hcHangen { 0% { rotate: -5deg; } 22% { rotate: 3.2deg; } 44% { rotate: -1.9deg; } 64% { rotate: 1deg; } 82% { rotate: -.4deg; } 100% { rotate: 0deg; } }
@keyframes hcWuiven { from { transform: skewX(-3.5deg); } to { transform: skewX(3.5deg); } }
@keyframes hcWind { 0%, 100% { transform: skewX(0deg); } 30% { transform: skewX(calc(var(--buig) * -1)); } 65% { transform: skewX(calc(var(--buig) * .35)); } }
.tour__wijzer { left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); }
.tour__rimpel { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); z-index: 5; width: 6cqw; aspect-ratio: 1; margin: -3cqw 0 0 -3cqw; border-radius: 50%; border: .4cqw solid var(--accent); opacity: 0; pointer-events: none; }
.tour__label {
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); z-index: 4; display: flex; align-items: center; gap: 1.1cqw; max-width: 46cqw;
  padding: 1.2cqw 2cqw 1.2cqw 1.2cqw; border-radius: 99px; background: #0A1024; color: #fff; font: 600 1.9cqw/1.2 var(--font-body);
  box-shadow: 0 1.6cqw 3cqw -1cqw rgba(10, 16, 36, .55); opacity: 0;
}
.tour__label b { width: 3.2cqw; height: 3.2cqw; background: var(--accent); color: #fff; font-size: 1.7cqw; line-height: 1; }
.scene.is-aan .tour__stap { animation: tourToon .45s ease var(--t, 0s) forwards, tourSchuif var(--sd, 5s) cubic-bezier(.45, 0, .25, 1) calc(var(--t, 0s) + var(--sw, 1s)) forwards; }
.scene.is-aan .tour__wijzer { animation: tourWijs 1.5s var(--ease) var(--t, 0s) both; }
.scene.is-aan .tour__rimpel { animation: tourRimpel .7s ease-out calc(var(--t, 0s) + .92s) forwards; }      /* alleen 'forwards': vóór de klik is de kring er nog niet */
.scene.is-aan .tour__label { animation: tourLabel 2.5s var(--ease) var(--t, 0s) both; }
/* De telefoon naast het venster: dezelfde site op een klein scherm */
.tour__tel {
  position: absolute; right: 4.5cqw; bottom: -9cqw; z-index: 3; width: 21cqw; border: .9cqw solid #0A1024; border-radius: 3.4cqw; overflow: hidden; background: #0A1024;
  box-shadow: 0 3cqw 5cqw -1.5cqw rgba(10, 16, 36, .6), 0 0 0 .15cqw rgba(255, 255, 255, .25); rotate: 5deg; opacity: 0;
}
.tour__tel img { display: block; width: 100%; height: auto; max-width: none; border-radius: 2.5cqw; }
.scene.is-aan .tour__tel { animation: tourTel 1.1s var(--ease) var(--t, 0s) both; }
@keyframes tourTel { from { opacity: 0; translate: 6cqw 30cqw; rotate: 16deg; } to { opacity: 1; translate: 0 0; rotate: 5deg; } }
/* Voorkant of achterkant: een kaartje in de hoek. Bij een wissel draait het hele venster om. */
.tour__kant {
  position: absolute; left: 50%; translate: -50% 0; bottom: 2cqw; z-index: 6; padding: 1cqw 2cqw; white-space: nowrap; border-radius: 99px; font: 700 1.7cqw/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  background: rgba(255, 255, 255, .92); color: #0A1024; box-shadow: 0 1cqw 2.4cqw -1cqw rgba(10, 16, 36, .5);
}
.kant-achter .tour__kant { background: #0A1024; color: #fff; }
.film--tour { perspective: 1500px; }
.film--tour .film__frame { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease), box-shadow .6s var(--ease); will-change: transform; }
html:not([data-motion="off"]) .film--tour .film__frame { animation: kantVoor .9s cubic-bezier(.5, 0, .5, 1); }
html:not([data-motion="off"]) .film--tour:has(.kant-achter.is-aan) .film__frame { animation-name: kantAchter; }
html:not([data-motion="off"]) .film.film--tour[data-scene] .scene[data-s] { transition: opacity .12s linear .4s, visibility 0s .5s; }      /* het beeld wisselt als het venster op zijn kant staat */
@keyframes kantVoor { 0% { rotate: y 0deg; scale: 1; } 49.9% { rotate: y -90deg; scale: .9; } 50% { rotate: y 90deg; scale: .9; } 100% { rotate: y 0deg; scale: 1; } }
@keyframes kantAchter { 0% { rotate: y 0deg; scale: 1; } 49.9% { rotate: y 90deg; scale: .9; } 50% { rotate: y -90deg; scale: .9; } 100% { rotate: y 0deg; scale: 1; } }
@keyframes tourToon { to { opacity: 1; } }
@keyframes tourSchuif { to { translate: 0 var(--dy, 0%); } }
@keyframes tourWijs {
  0% { opacity: 0; translate: 16cqw 10cqw; }
  12% { opacity: 1; translate: 16cqw 10cqw; }
  55% { opacity: 1; translate: 0 0; scale: 1; }
  63% { scale: .84; }
  72% { scale: 1; opacity: 1; translate: 0 0; }
  100% { opacity: 0; translate: 0 0; }
}
@keyframes tourRimpel { from { opacity: .9; scale: .25; } to { opacity: 0; scale: 1.4; } }
@keyframes tourLabel { 0% { opacity: 0; translate: 0 1.4cqw; } 12%, 86% { opacity: 1; translate: 0 0; } 100% { opacity: 0; translate: 0 0; } }

.film__ctrl { display: flex; align-items: center; gap: 14px; margin-top: 16px; font-size: 13.5px; color: var(--ink-soft); }
.pp {
  all: unset; box-sizing: border-box; display: none; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); cursor: pointer; transition: background-color .3s, border-color .3s;
}
.js .pp { display: grid; }
.pp:hover { background: var(--panel); border-color: var(--ink); }
.pp svg { width: 12px; height: 12px; fill: currentColor; }
.pp .ico-play, .is-paused .pp .ico-pause { display: none; }
.is-paused .pp .ico-play { display: block; }
.pp:focus-visible, .svc__pick:focus-visible, .motion:focus-visible, .linkbtn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
html[data-motion="off"] .pp { display: none; }

/* ---------- Secties ---------- */
.sec { padding: clamp(72px, 10vw, 148px) 0; scroll-margin-top: 72px; }
.sec--tight { padding-top: 0; }
.sec__head { display: grid; gap: 20px; margin-bottom: clamp(34px, 5vw, 68px); }
.sec__head h2 { font-size: clamp(30px, 4.4vw, 60px); max-width: 16em; }

/* ---------- Uitgelicht project (startpagina) ----------
   Links de tekst, rechts de site van de klant in een venster. De maten komen uit het ontwerp
   (bij een scherm van 1392 breed: vlak 748 x 496, venster 664 breed, 42 van de zijkant en 50 van boven).
   Het vlak, de streep, de knop en de tekst nemen de kleur van de kameleon aan; het venster zelf blijft licht. */
.uit { background: var(--panel); padding: clamp(56px, 6.4vw, 88px) 0; scroll-margin-top: 72px; overflow-x: clip; }      /* de glurende kameleon steekt rechts een stukje uit */
.uit + .sec--tight { padding-top: clamp(72px, 10vw, 148px); }
.uit__in { display: grid; grid-template-columns: minmax(0, 1fr) 60.32%; column-gap: clamp(24px, 4vw, 56px); align-items: center; }
.uit__txt { display: grid; justify-items: start; max-width: 395px; padding-top: 4px; }
.label--lijn { gap: 12px; }
.label--lijn::before { width: 28px; height: 2px; border-radius: 0; }
.uit__txt h2 { font-size: clamp(34px, 4.6vw, 62.5px); margin-top: 24px; text-wrap: wrap; }
.uit__p { font-size: clamp(17px, 1.42vw, 19.2px); line-height: 1.55; color: var(--ink-soft); margin-top: 22px; }
.uit__txt .btn { margin-top: 29px; padding-right: 27px; }
.uit__paneel { container-type: inline-size; }
.uit__vlak {
  position: relative; isolation: isolate; overflow: hidden; border-radius: clamp(14px, 3.2cqw, 24px); padding: 6.684cqw 5.548cqw 6.62cqw 5.682cqw;
  background: linear-gradient(90deg, var(--uit-c), var(--uit-d));      /* de onderkant: van links naar rechts */
}
.uit__vlak::before {      /* de bovenkant, die naar beneden toe oplost: zo krijgt elke hoek zijn eigen tint */
  content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, var(--uit-a), var(--uit-b));
  -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent);
}
.uit__vlak::after {       /* een paar haarfijne lijnen in het vlak */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .14;
  background:
    linear-gradient(#fff, #fff) 24.7% 0 / 1px 100% no-repeat, linear-gradient(#fff, #fff) 52% 0 / 1px 100% no-repeat,
    linear-gradient(#fff, #fff) 0 53% / 100% 1px no-repeat, linear-gradient(#fff, #fff) 0 75% / 100% 1px no-repeat;
}
.uit__venster { border-radius: clamp(5px, 1.2cqw, 9px); overflow: hidden; background: #F2F5EE; box-shadow: 0 1.9cqw 3.4cqw -1.7cqw rgba(16, 38, 22, .3), 0 .3cqw 1cqw -.4cqw rgba(16, 38, 22, .12); }
.uit__balk { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: max(3.61cqw, 15px); padding: 0 1.47cqw; background: #FBFCF8; border-bottom: 1px solid #E7E9E2; }
.uit__balk b { display: flex; gap: max(.4cqw, 2px); }
.uit__balk i { width: max(.8cqw, 4px); height: max(.8cqw, 4px); border-radius: 50%; background: #C3C5BF; }
.uit__balk span { font: 600 max(1.32cqw, 7.5px)/1 var(--font-body); color: #2F3832; white-space: nowrap; }
.uit__venster img { display: block; width: 100%; height: auto; }

/* ---------- Bewegende kameleons (versiering) ----------
   .wandel__dier: een kleine kameleon die over de lijn van de werkwijze loopt, van stap naar stap, terwijl je langs scrolt.
   .hang: een kameleon die aan zijn staart aan een tak hangt. De code van de site zet de maten en de plek (zie site.js). */
.hang__tak { position: absolute; background: url(tak.webp) repeat-x 0 0; }
.wandel__dier, .hang__dier { position: absolute; top: 0; margin: 0; }
.wandel__dier { left: 0; z-index: 3; width: clamp(115px, 12vw, 165px); will-change: transform; pointer-events: none; }
.wandel__dier img, .wandel__dier canvas, .hang__dier img, .hang__dier canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.wandel__dier canvas, .hang__dier canvas { opacity: 0; }
.wandel__dier.is-live canvas, .hang__dier.is-live canvas { opacity: 1; }
.wandel__dier.is-live img, .hang__dier.is-live img { visibility: hidden; }
.hang { position: relative; justify-self: stretch; height: 260px; margin-top: 4px; pointer-events: none; }
.hang__tak { left: 0; right: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.hang__dier { right: 8%; width: clamp(200px, 22vw, 300px); will-change: transform; }

/* Diensten: links de diensten, rechts de animatie die meeloopt */
.svcwrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.svc__row { position: relative; display: grid; gap: 10px; padding: clamp(22px, 2.8vw, 34px) 0; border-top: 1px solid var(--line); cursor: pointer; }
.svc__row:last-child { border-bottom: 1px solid var(--line); }
.svc__row::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.svc__row h3 { font-size: clamp(25px, 2.9vw, 40px); transition: translate .55s var(--ease), opacity .4s; opacity: .56; }
.svc__row p { color: var(--ink-soft); max-width: 30em; }
.svc__row.is-on h3, .svc__row:hover h3 { opacity: 1; }
.svc__row.is-on h3 { translate: 10px 0; }
.svc__pick { all: unset; cursor: pointer; }
.svcwrap .film { position: sticky; top: 104px; }

/* Werkwijze */
.steps { --g: clamp(20px, 3.4vw, 56px); position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--g); }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 1px; background: var(--line); }
.steps::after {
  content: ""; position: absolute; top: 14px; left: 14px; z-index: 2; width: 11px; height: 11px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 20%, transparent); opacity: 0;
  animation: travel 9s cubic-bezier(.6, 0, .4, 1) infinite;
}
.steps li { display: grid; gap: 14px; align-content: start; }
.steps__n {
  position: relative; z-index: 1; display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--ink); font: 600 15px/1 var(--font-display); animation: stepOn 9s ease infinite;
}
.steps li:nth-child(2) .steps__n { animation-delay: 2.97s; }
.steps li:nth-child(3) .steps__n { animation-delay: 5.94s; }
.steps h3 { font-size: clamp(22px, 2.3vw, 30px); margin-top: 10px; }
.steps p { color: var(--ink-soft); max-width: 24em; }
/* Loopt de kleine kameleon over de lijn (.stappad.is-loper, gezet door site.js), dan lichten de bolletjes op als hij er is,
   in plaats van het rondje dat vanzelf over de lijn reist. */
.stappad { position: relative; }
.stappad.is-loper .steps::after { display: none; }
.stappad.is-loper .steps__n { animation: none; transition: background .35s, color .35s; }
.stappad.is-loper .steps li.is-bereikt .steps__n { background: var(--ink); color: var(--paper); }
@keyframes stepOn { 0%, 30%, 100% { background: var(--paper); color: var(--ink); } 3%, 25% { background: var(--ink); color: var(--paper); } }
@keyframes travel {
  0%, 24% { left: 14px; opacity: 0; }
  26% { left: 14px; opacity: 1; }
  33% { left: calc(33.333% + var(--g) / 3 + 14px); opacity: 1; }
  35%, 57% { left: calc(33.333% + var(--g) / 3 + 14px); opacity: 0; }
  59% { left: calc(33.333% + var(--g) / 3 + 14px); opacity: 1; }
  66% { left: calc(66.667% + var(--g) * 2 / 3 + 14px); opacity: 1; }
  68%, 100% { left: calc(66.667% + var(--g) * 2 / 3 + 14px); opacity: 0; }
}

/* Over en veelgestelde vragen */
.duo { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); row-gap: 28px; align-items: start; }
.duo > :first-child { grid-column: 1 / span 5; }
.duo > :last-child { grid-column: 7 / -1; }
.duo h2 { font-size: clamp(30px, 4.4vw, 60px); }
.stack { display: grid; gap: 20px; justify-items: start; }
.gegevens { display: grid; grid-template-columns: auto 1fr; gap: 10px 28px; border-top: 1px solid var(--line); padding-top: 22px; width: 100%; }
.gegevens dt { color: var(--ink-soft); font-size: 15px; }
.gegevens dd { font-weight: 600; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 20px 0; font: 600 clamp(18px, 1.7vw, 21px)/1.3 var(--font-display); letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); rotate: 45deg; translate: 0 -3px; transition: rotate .35s var(--ease), translate .35s var(--ease); }
.faq details[open] summary::after { rotate: -135deg; translate: 0 3px; }
.faq details p { padding: 0 0 22px; color: var(--ink-soft); max-width: 42em; }

/* Contact: links de uitleg, rechts het formulier met de kameleon erop */
.contact { padding-top: 0; overflow-x: clip; }      /* de kameleon steekt rechts een stukje buiten de kaart; dat mag de pagina niet breder maken */
.contact__in {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); row-gap: 32px;
  align-items: start; border-top: 1px solid var(--line); padding-top: clamp(44px, 6vw, 84px);
}
.contact__intro { grid-column: 1 / span 6; display: grid; gap: 22px; }
.contact h2 { font-size: clamp(38px, 5.4vw, 74px); }
.contact__alt { font-size: 15px; color: var(--ink-soft); }
.linkbtn { all: unset; cursor: pointer; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; padding: 10px 0; }
.formwrap { grid-column: 7 / -1; }
/* Een kaart waar de kameleon achter zit. Hij spiekt nieuwsgierig over de hoek rechtsboven en houdt de kaart vast:
   het beeld ligt daarom over de hoek van de kaart heen.
   --pe is de schaal (zo groot is de kameleon), --kb de breedte van het beeld. De pagina geeft per kaart mee:
   --ke = breedte van het beeld in eenheden van het 3D-model, --ka = hoogte : breedte,
   --kr = hoe ver van boven de hoek van de kaart ligt (deel van de hoogte), --ko = hoe ver het beeld rechts uitsteekt (deel van de breedte).
   --til: zo ver mag de kop boven het vak van de kaart uitkomen (alleen op brede schermen, waar daar ruimte is). */
.roost { --pe: clamp(56px, 1.905vw + 48.6px, 76px); --kb: calc(var(--pe) * var(--ke)); --kh: calc(var(--kb) * var(--ka)); --til: 0px; position: relative; padding-top: calc(var(--kh) * var(--kr) - var(--til)); }
.peek {
  position: absolute; top: calc(var(--til) * -1); right: calc(var(--kb) * var(--ko) * -1); width: var(--kb); height: var(--kh);
  z-index: 2; pointer-events: none;
}
.roost > :not(.peek) { position: relative; z-index: 1; }
@media (min-width: 981px) { .formwrap.roost { --til: 40px; } }
.form {
  --err: #B3261E;
  position: relative; z-index: 1; display: grid; gap: 18px; padding: clamp(20px, 2.6vw, 34px); border-radius: 22px;
  background: var(--panel); border: 1px solid var(--line); box-shadow: 0 50px 90px -60px rgba(0, 0, 0, .45);
}
html[data-skin="nacht"] .form, html[data-donker] .form { --err: #FF9A8F; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field label { font: 600 14px/1.2 var(--font-body); }
.field input, .field textarea {
  width: 100%; font: 400 16px/1.45 var(--font-body); color: var(--ink);
  background: color-mix(in srgb, var(--paper) 55%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--ink) 24%, transparent); border-radius: 12px; padding: 13px 14px;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 24%, transparent);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }       /* valkuil voor spamprogramma's */
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.form__status { flex: 1 1 220px; font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
.form__status[data-kind="ok"] { color: var(--ink); font-weight: 600; }
.form__status[data-kind="fout"] { color: var(--err); }
.form__priv { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Inloggen (klantportaal) ----------
   Links het formulier, rechts hangt Gunly aan zijn staart aan een tak. Hij zakt als de pagina opent en kijkt mee. */
.login { position: relative; padding: clamp(118px, 12vw, 176px) 0 clamp(56px, 7vw, 110px); }
.login__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.login__txt { display: grid; gap: 18px; max-width: 560px; }
.login h1 { font-size: clamp(40px, 6.4vw, 84px); }
.login__form { margin-top: 10px; }
.login__velden { display: grid; gap: 18px; border: 0; margin: 0; padding: 0; min-width: 0; }
.login__velden:disabled { opacity: .55; }
.pw { position: relative; }
.pw input { padding-right: 96px; }
.pw__toon {
  all: unset; box-sizing: border-box; position: absolute; right: 8px; top: 50%; translate: 0 -50%; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 10px; border-radius: 9px; font: 600 13px/1 var(--font-body); color: var(--ink-soft); cursor: pointer;
}
.pw__toon:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.pw__toon:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.pw__toon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.pw__toon[aria-pressed="true"] svg { opacity: .55; }
.login__vergeten { font-size: 14.5px; }
.login__velden .form__status:empty { display: none; }
.login__noot { font-size: 14.5px; color: var(--ink-soft); }
.login__bouw { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 6px 12px; border-radius: 99px; border: 1px dashed color-mix(in srgb, var(--ink) 30%, transparent); font-size: 13.5px; }
.login .hang { margin-top: clamp(0px, 3vw, 48px); }
.login .hang__dier { right: 16%; }

/* ---------- Losse pagina's (diensten, over, privacy) ---------- */
.phero { position: relative; padding: clamp(118px, 12vw, 176px) 0 clamp(28px, 4vw, 56px); isolation: isolate; }
.phero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 90% at 88% 0%, color-mix(in srgb, var(--accent) 17%, transparent), transparent 70%),
              radial-gradient(60% 80% at 0% 100%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%);
}
.phero__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); row-gap: 34px; align-items: center; }
.phero__txt { grid-column: 1 / span 6; }
.phero__in > .film { grid-column: 8 / -1; }
.phero__txt:only-child { grid-column: 1 / span 9; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--ink-soft); margin-bottom: 22px; }
.crumbs a { text-decoration: none; padding: 4px 0; }
.crumbs a:hover { color: var(--ink); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.phero h1 { font-size: clamp(40px, 6.4vw, 92px); margin-bottom: 22px; }
.blocks { display: grid; gap: clamp(44px, 6vw, 80px); padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 88px); }
.block { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); row-gap: 18px; border-top: 1px solid var(--line); padding-top: clamp(26px, 3.4vw, 44px); }
.block > h2 { grid-column: 1 / span 4; font-size: clamp(26px, 3vw, 40px); }
.block > div { grid-column: 6 / -1; display: grid; gap: 16px; }
.block p { max-width: 40em; }
.block p, .ticks li { color: var(--ink-soft); }
.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; max-width: 38em; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); rotate: -45deg; }
.minis { counter-reset: s; display: grid; gap: 14px; }
.minis li { counter-increment: s; position: relative; padding-left: 44px; color: var(--ink-soft); max-width: 38em; }
.minis li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--ink); color: var(--ink); font: 600 14px/1 var(--font-display); }
.minis b { color: var(--ink); font-weight: 600; }
.endcap { padding-bottom: clamp(64px, 8vw, 120px); overflow-x: clip; }
.cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px;
  padding: clamp(26px, 4vw, 52px); border-radius: 22px; background: var(--panel); border: 1px solid var(--line);
  box-shadow: 0 50px 90px -60px rgba(0, 0, 0, .45);
}
.cta p { color: var(--ink-soft); margin-top: 10px; max-width: 30em; }
.cta h2 { font-size: clamp(30px, 4.6vw, 62px); }

/* 404: de kameleon heeft zich verstopt */
.lost { min-height: 100svh; display: grid; align-content: center; padding: 110px 0 60px; }
.lost__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); row-gap: 28px; align-items: center; }
.lost__txt { grid-column: 1 / span 5; display: grid; gap: 20px; justify-items: start; }
.lost h1 { font-size: clamp(36px, 5vw, 66px); }
.lost .cham { grid-column: 6 / -1; margin: 0; animation: none; pointer-events: auto; }
.lost .cham__gl { cursor: pointer; }
.lost .cham__poster { opacity: .12; }                      /* zonder WebGL: de kameleon is bijna niet te zien */
.lost .cham.is-gevonden .cham__poster { opacity: 1; }
.lost__en { color: var(--ink-soft); font-size: 15px; }

/* ---------- Voet ---------- */
.foot { background: var(--foot); color: var(--foot-ink); font-size: 14px; }
.foot__in { display: grid; grid-template-columns: 1fr auto; gap: 26px 40px; padding-block: 40px 30px; align-items: start; }
.foot .brand { color: var(--foot-strong); margin-right: 0; }
.foot__who { display: grid; gap: 14px; justify-items: start; }
.foot address { font-style: normal; line-height: 1.7; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: flex-end; }
.foot a { text-decoration: none; transition: color .3s; padding: 6px 0; }
.foot a:hover { color: var(--foot-strong); }
.foot__base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; border-top: 1px solid color-mix(in srgb, var(--foot-ink) 22%, transparent); padding-top: 20px; }
.motion {
  all: unset; box-sizing: border-box; display: none; cursor: pointer; padding: 11px 16px; border-radius: 99px;
  border: 1px solid color-mix(in srgb, var(--foot-ink) 40%, transparent); font-size: 13px; transition: color .3s, border-color .3s;
}
.js .motion { display: inline-block; }
.motion:hover { color: var(--foot-strong); border-color: var(--foot-ink); }
.foot::after { content: ""; display: block; height: 2px; background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent); }

/* ---------- Beweging bij het scrollen ----------
   Alles is ook zonder deze regels zichtbaar. Browsers die het ondersteunen
   laten onderdelen rustig binnenkomen tijdens het scrollen. Wat nog buiten
   beeld staat is gewoon volledig zichtbaar: de beweging begint pas op het
   moment dat een onderdeel het beeld in komt. */
@keyframes rise { from { translate: 0 40px; } }           /* alleen schuiven, niet vervagen: de tekst blijft altijd goed leesbaar */
@supports (animation-timeline: view()) {
  html:not([data-motion="off"]) .reveal { animation: rise linear forwards; animation-timeline: view(); animation-range: entry 0% cover 24%; }
}

/* ---------- Hoog contrast (Windows) ---------- */
@media (forced-colors: active) {
  .orb i { forced-color-adjust: none; outline: 2px solid CanvasText; }
  .dd__lijst, .form, .cta, .menu nav { border: 1px solid CanvasText; }
}

/* ---------- Beweging uit ----------
   Beweging staat standaard aan, voor iedereen. Deze regels gelden alleen als de bezoeker
   zelf op "Zet beweging uit" heeft geklikt (onderaan elke pagina). */
html[data-motion="off"] { scroll-behavior: auto; }
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation: none !important; transition: none !important; }
html[data-motion="off"] .orb.is-eaten { transition: opacity .4s, scale .6s var(--ease) !important; }

/* ---------- Kleinere schermen ---------- */
@media (max-width: 980px) {
  .hero__copy { grid-column: 1 / -1; padding-top: 0; }
  .cham { grid-column: 1 / -1; width: 128vw; max-width: none; margin: 34px 0 0 calc(-1 * var(--gutter) - 2vw); }
  .cham:not([data-projecten]) { margin-top: calc(16px + 9.4vw); }      /* de bovenste kleurbollen steken boven de kameleon uit: zo blijft er ruimte tot de tekst */
  .orb[data-skin="blad"] { --u: 4; --v: 36; }
  .orb[data-skin="koraal"] { --u: 7; --v: 13; }
  .orb[data-skin="oceaan"] { --u: 14; --v: -2; }
  .orb[data-skin="nacht"] { --u: 26; --v: -11; }
  .orb--kies { --u: 39; --v: -13; }
  .orb[data-plek="1"] { --u: 4; --v: 36; }
  .orb[data-plek="2"] { --u: 7; --v: 11; }
  .orb[data-plek="3"] { --u: 15; --v: -6; }
  .orb[data-plek="4"] { --u: 29; --v: -15; }
  .orb[data-plek="5"] { --u: 44; --v: -17; }
  .svcwrap { grid-template-columns: 1fr; }
  .uit__in { grid-template-columns: 1fr; row-gap: 40px; }
  .uit__txt { max-width: 34em; padding-top: 0; }
  .svcwrap .film { position: static; order: -1; max-width: 640px; }
  .duo > :first-child, .duo > :last-child { grid-column: 1 / -1; }
  .contact__intro, .formwrap { grid-column: 1 / -1; }
  .block > h2, .block > div { grid-column: 1 / -1; }
  .phero__txt, .phero__txt:only-child, .phero__in > .film { grid-column: 1 / -1; }
  .login__in { grid-template-columns: 1fr; }
  .login .hang { order: -1; margin: -20px 0 -40px; }
  .login .hang__dier { width: 170px; right: 4%; }
  .phero__in > .film { max-width: 560px; }
  .lost__txt, .lost .cham { grid-column: 1 / -1; }
  .lost .cham { width: 100%; margin: 0; }
}
@media (max-width: 760px) {
  .top__nav, .top .btn--small, .top__login { display: none; }
  .menu { display: block; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps::before { left: 19px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .steps::after { display: none; }
  .stappad .wandel__dier { display: none; }      /* de stappen staan onder elkaar: geen lopende kameleon */
  .steps li { grid-template-columns: 39px minmax(0, 1fr); column-gap: 18px; row-gap: 6px; }
  .steps__n { grid-row: 1 / span 2; }
  .steps h3 { margin-top: 6px; }
  .steps p { grid-column: 2; }
  .form__row { grid-template-columns: 1fr; }
  .foot__in { grid-template-columns: 1fr; }
  .foot nav { justify-content: flex-start; }
  .foot a, .crumbs a, .more { padding-block: 12px; }      /* groter aanraakvlak op de telefoon */
}