/* ============================================================
   maartendecauwer.be, De Cauwer Capital BV
   Designsysteem: licht/donker, appelblauwzeegroen, goud, glas.
   Vanilla CSS, geen build. Mobile-first tokens, GPU-vriendelijke
   animaties (enkel transform/opacity), volledige reduced-motion.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  color-scheme: light;

  --bg:        #F4FAF9;
  --bg-tint:   #EAF5F3;
  --surface:   #FFFFFF;
  --ink:       #0E1B1A;
  --ink-soft:  #243634;
  --muted:     #566462;
  --line:      rgba(14, 27, 26, 0.09);

  --teal:      #10B3A3;
  --teal-600:  #09776D;
  --teal-050:  #E4F6F3;
  --gold:      #C6A15B;
  --gold-lt:   #E7CE97;
  --gold-dk:   #82652E;

  --grad-teal: linear-gradient(135deg, #10B3A3 0%, #48D6C6 100%);
  --grad-gold: linear-gradient(135deg, #A9843E 0%, #E7CE97 50%, #C6A15B 100%);

  --glass-bg:    rgba(255, 255, 255, 0.55);
  --glass-solid: rgba(255, 255, 255, 0.80);
  --glass-brd:   rgba(255, 255, 255, 0.70);
  --glass-blur:  blur(18px) saturate(160%);
  --shadow:      0 20px 50px rgba(11, 90, 82, 0.10);
  --shadow-lg:   0 32px 74px rgba(11, 90, 82, 0.17);

  --field-bg:  rgba(255, 255, 255, 0.72);
  --nav-bg:    rgba(255, 255, 255, 0.62);
  --grain-op:  .035;

  --font-head: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;

  --maxw: 1180px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --r-sm: 14px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 28px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;

  --bg:        #05100F;
  --bg-tint:   #081816;
  --surface:   #0B1F1D;
  --ink:       #EAF6F4;
  --ink-soft:  #CFE4E1;
  --muted:     #8FA5A2;
  --line:      rgba(234, 246, 244, 0.10);

  --teal:      #2EE0CB;
  --teal-600:  #5BEBD9;
  --teal-050:  rgba(46, 224, 203, 0.10);
  --gold:      #D8B77A;
  --gold-lt:   #F0DCAF;
  --gold-dk:   #E0C489;

  --grad-teal: linear-gradient(135deg, #2EE0CB 0%, #7CF3E4 100%);
  --grad-gold: linear-gradient(135deg, #8A6C31 0%, #E7CE97 50%, #B99552 100%);

  --glass-bg:    rgba(15, 38, 36, 0.55);
  --glass-solid: rgba(12, 32, 30, 0.86);
  --glass-brd:   rgba(120, 200, 190, 0.16);
  --shadow:      0 20px 50px rgba(0, 0, 0, 0.45);
  --shadow-lg:   0 32px 74px rgba(0, 0, 0, 0.55);

  --field-bg:  rgba(255, 255, 255, 0.05);
  --nav-bg:    rgba(6, 20, 19, 0.66);
  --grain-op:  .05;
}

@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] { color-scheme: dark; }
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
  transition: background .4s var(--ease), color .4s var(--ease);
}

a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.center { text-align: center; }
.skip {
  position: fixed; top: -100px; left: 1rem; z-index: 200;
  background: var(--surface); color: var(--ink); padding: .8rem 1.2rem;
  border-radius: 999px; box-shadow: var(--shadow); transition: top .25s var(--ease);
}
.skip:focus { top: 1rem; }

/* ---------- 3. Achtergrond ---------- */
.mesh { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.mesh__blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.mesh__blob--teal  { width: 46vw; height: 46vw; top: -8vw; right: -6vw; background: radial-gradient(circle, #7EE8DA, transparent 70%); animation: drift 26s var(--ease-io) infinite alternate; }
.mesh__blob--gold  { width: 40vw; height: 40vw; top: 42vh; left: -10vw; background: radial-gradient(circle, #F0DCA9, transparent 70%); opacity: .5; animation: drift 34s var(--ease-io) infinite alternate-reverse; }
.mesh__blob--teal2 { width: 42vw; height: 42vw; bottom: -10vw; right: -4vw; background: radial-gradient(circle, #9CEFE3, transparent 70%); opacity: .45; animation: drift 30s var(--ease-io) infinite alternate; }
:root[data-theme="dark"] .mesh__blob { opacity: .22; }
:root[data-theme="dark"] .mesh__blob--gold { opacity: .16; }

.mesh__grain {
  position: absolute; inset: -50%; opacity: var(--grain-op);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(4vw, -3vh, 0) scale(1.12); }
}

/* Drie zwaar geblurde vlakken continu animeren kost op telefoons meer dan
   het oplevert. Onder 900px staan ze stil; het kleurverloop blijft. */
@media (max-width: 900px) {
  .mesh__blob { animation: none !important; will-change: auto; }
}

/* ---------- 4. Glas ---------- */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-brd);
  box-shadow: var(--shadow);
}
.glass-gold {
  position: relative;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  background-image: linear-gradient(var(--glass-bg), var(--glass-bg)), var(--grad-gold);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: var(--shadow);
}

/* Spotlight-hover die de cursor volgt (variabelen uit script.js). */
.spot { position: relative; overflow: hidden; }
.spot::after {
  content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease);
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(16,179,163,.14), transparent 65%);
}
.spot:hover::after { opacity: 1; }

/* ---------- 5. Typografie ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal-600); margin-bottom: .9rem;
}
.eyebrow.center { justify-content: center; }
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad-gold); box-shadow: 0 0 0 3px rgba(198,161,91,.2); }

.section__title, .hero__title, .contact__title {
  font-family: var(--font-head); font-weight: 700;
  line-height: 1.06; letter-spacing: -0.025em;
  text-wrap: balance;
}
.grad { background: var(--grad-teal); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: .9rem 1.65rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.btn__arrow { transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--primary { background: var(--grad-teal); color: #04211E; box-shadow: 0 10px 26px rgba(16,179,163,.34); }
.btn--primary:hover { box-shadow: 0 16px 38px rgba(16,179,163,.46); }
.btn--gold {
  color: var(--gold-dk);
  background-image: linear-gradient(var(--surface), var(--surface)), var(--grad-gold);
  background-origin: border-box; background-clip: padding-box, border-box;
}
.btn--gold:hover { box-shadow: 0 14px 30px rgba(198,161,91,.28); }
.btn--ghost {
  color: var(--ink); border-color: var(--line); background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.btn--ghost:hover { border-color: var(--teal); }

.iconbtn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem .7rem; border-radius: 12px; color: var(--muted);
  border: 1px solid transparent;
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.iconbtn:hover { color: var(--ink); background: var(--glass-bg); border-color: var(--line); }
.iconbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.iconbtn__kbd {
  font-family: var(--font-head); font-size: .68rem; letter-spacing: .04em;
  padding: .12rem .38rem; border-radius: 6px; border: 1px solid var(--line); color: var(--muted);
}
.icon-moon { display: none; }
:root[data-theme="dark"] .icon-sun { display: none; }
:root[data-theme="dark"] .icon-moon { display: block; }

kbd {
  font-family: var(--font-head); font-size: .7rem; padding: .15rem .4rem;
  border-radius: 6px; border: 1px solid var(--line); color: var(--muted); background: var(--field-bg);
}

/* ---------- 7. Scrollvoortgang en cursor ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: var(--grad-teal); }

.cursor {
  position: fixed; top: 0; left: 0; z-index: 90; pointer-events: none;
  width: 34px; height: 34px; margin: -17px 0 0 -17px; opacity: 0;
  transition: opacity .3s var(--ease); will-change: transform;
}
.cursor i {
  display: block; width: 100%; height: 100%; border-radius: 50%;
  border: 1px solid var(--teal); opacity: .55;
  transition: transform .25s var(--ease), background .25s var(--ease), opacity .25s var(--ease);
}
.cursor.is-active i { transform: scale(1.45); background: rgba(16,179,163,.12); opacity: .9; }
@media (hover: hover) and (pointer: fine) { .cursor.is-on { opacity: 1; } }

/* ---------- 8. Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  border-bottom: 1px solid transparent; background: transparent;
  transition: transform .4s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.nav.is-scrolled {
  background: var(--nav-bg);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(11,90,82,.06);
}
.nav.is-hidden { transform: translateY(-100%); }

.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }
.nav__brand { display: flex; align-items: center; gap: .7rem; }
/* Merkteken: glazen schaakstukken. Geen badge eromheen, het beeld staat vrij.
   In donker thema een subtiele gloed zodat het glas niet wegvalt. */
.nav__mark {
  width: auto; height: 42px; flex-shrink: 0; display: block;
  filter: drop-shadow(0 3px 8px rgba(11, 90, 82, .18));
}
:root[data-theme="dark"] .nav__mark { filter: drop-shadow(0 0 10px rgba(160, 220, 240, .35)); }
.nav__name { font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
.nav__links { display: flex; align-items: center; gap: 1.7rem; }
.nav__links a { position: relative; font-size: .93rem; color: var(--muted); transition: color .2s var(--ease); }
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px;
  background: var(--grad-teal); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .3s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover:not(.nav__cta)::after, .nav__links a.is-current:not(.nav__cta)::after { transform: scaleX(1); }
.nav__links a.is-current { color: var(--ink); }
.nav__links .nav__cta {
  color: var(--gold-dk); padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid transparent;
  background-image: linear-gradient(var(--surface), var(--surface)), var(--grad-gold);
  background-origin: border-box; background-clip: padding-box, border-box;
}
.nav__links .nav__cta:hover { box-shadow: 0 8px 20px rgba(198,161,91,.24); }
.nav__tools { display: flex; align-items: center; gap: .35rem; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 10px 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease); }

/* ---------- 9. Secties ---------- */
.section { padding: clamp(2.25rem, 4.5vw, 3.4rem) 0; position: relative; }
.section--tint { background: linear-gradient(180deg, var(--bg-tint), transparent 90%); }
.section__head { max-width: 640px; margin-bottom: 1.7rem; }
.section__head.center { margin-inline: auto; }
.section__title { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
.section p { color: var(--muted); }

/* ---------- 10. Hero ---------- */
.hero { position: relative; padding: 132px 0 56px; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .8; }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.hero__title { font-size: clamp(2.4rem, 5.6vw, 4rem); margin-bottom: 1.1rem; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; }
.hero__lead { font-size: clamp(1.02rem, 1rem + .35vw, 1.18rem); color: var(--muted); max-width: 44ch; margin-bottom: 1.7rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.6rem; }
.hero__trust-rail { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.hero__trust-rail span { font-family: var(--font-head); font-weight: 600; color: var(--teal-600); font-size: .88rem; }
.hero__trust-rail i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

.hero__photo { position: relative; justify-self: center; }
.hero__photo-frame { padding: 8px; border-radius: 26px; }
/* Liggende headshot: bijgesneden naar 5/4, gezicht net boven het midden. */
.hero__photo-frame img { width: min(440px, 80vw); height: auto; aspect-ratio: 5/4; object-fit: cover; object-position: center 32%; border-radius: 18px; }
.tilt { transform-style: preserve-3d; transition: transform .35s var(--ease); will-change: transform; }
.hero__chip {
  position: absolute; bottom: 16px; left: -20px;
  display: flex; flex-direction: column; padding: .75rem 1.1rem; border-radius: var(--r-sm);
}
.hero__chip-name { font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
.hero__chip-role { font-size: .8rem; color: var(--teal-600); }
/* ---------- 11. Over ---------- */
.over__inner { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.over__photo { padding: 8px; border-radius: var(--r-lg); }
/* Staande foto: portretverhouding, hoofd met lucht erboven. */
.over__photo img { width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; object-position: center top; border-radius: 15px; }
.over__text h2 { margin-bottom: 1rem; }
.over__note { margin-top: 1rem; font-size: .92rem; color: var(--gold-dk) !important; }

.pills { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.pills li {
  font-family: var(--font-head); font-size: .86rem; font-weight: 600; color: var(--teal-600);
  background: var(--teal-050); padding: .45rem .9rem; border-radius: 999px;
}

/* ---------- 12. Aanbod ---------- */
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.offer { display: flex; flex-direction: column; padding: 1.8rem 1.6rem; border-radius: var(--r-md); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.offer:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.offer__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; margin-bottom: 1rem; background: var(--grad-teal); color: #04211E; box-shadow: 0 8px 20px rgba(16,179,163,.28); }
.offer__icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.offer h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; margin-bottom: .5rem; }
.offer p { font-size: .93rem; margin-bottom: .8rem; }
.offer__meta { display: block; margin-top: auto; font-size: .79rem; color: var(--gold-dk); }

/* ---------- 13. Resultaten ----------
   Turquoise kaart in plaats van de gouden rand: cijfers krijgen hun eigen
   accent en botsen niet met het goud van de aanbod-kaarten. */
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.result {
  padding: 1.7rem 1.5rem; border-radius: var(--r-md); text-align: center;
  background: linear-gradient(160deg, var(--teal-050), color-mix(in srgb, var(--teal-050) 40%, transparent));
  border: 1px solid color-mix(in srgb, var(--teal) 28%, transparent);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: 0 16px 40px rgba(16, 179, 163, .12);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.result:hover { transform: translateY(-5px); box-shadow: 0 24px 54px rgba(16, 179, 163, .2); }
.result__num { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: .35rem; background: var(--grad-teal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.result p { font-size: .9rem; }

/* ---------- 14. Inzichten ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.post { padding: 1.6rem 1.5rem; border-radius: var(--r-md); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post__tag { display: inline-block; font-family: var(--font-head); font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-600); background: var(--teal-050); padding: .28rem .65rem; border-radius: 999px; margin-bottom: .8rem; }
.post h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.06rem; margin-bottom: .45rem; }
.post p { font-size: .91rem; }

/* ---------- 15. Vragen + contact, samen op één scherm ---------- */
.close__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.faq__list { display: grid; gap: .6rem; margin-top: 1.4rem; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); overflow: hidden; }
.faq__item[open] { border-color: var(--teal); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .95rem 1.3rem; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; color: var(--teal-600); font-size: 1.4rem; line-height: 1; transition: transform .3s var(--ease); }
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { padding: 0 1.3rem 1.1rem; color: var(--muted); font-size: .93rem; }

/* ---------- 16. Contact ---------- */
.contact__inner { padding: clamp(1.8rem, 4vw, 2.6rem); border-radius: var(--r-xl); position: sticky; top: 96px; }
.contact__title { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: .7rem; }
.contact__lead { color: var(--muted); margin-bottom: 1.4rem; font-size: .98rem; }
.contact__actions { display: flex; gap: .9rem; flex-wrap: wrap; }
.contact__fine { margin-top: 1.2rem; font-size: .84rem; color: var(--muted); }

/* ---------- 17. Footer ---------- */
.footer { padding: 2.4rem 0 2rem; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--bg-tint) 70%, transparent); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: .9rem; }
.footer__name { font-family: var(--font-head); font-weight: 600; }
/* Handtekening in de footer.
   Ms Madi: monoline schuinschrift met natuurlijke pendruk, het dichtst bij
   een echte pen. Brittany Signature staat vooraan als je die licentie hebt.
   Kleine correcties die een font laten lezen als een handtekening:
   iets extra letterruimte (anders plakken de lussen), een lichte helling,
   optische marge onder de staarten, en een schreefloze fallback vermijden. */
.signature {
  font-family: "Brittany Signature", "Sacramento", "Segoe Script", cursive;
  font-size: clamp(2.3rem, 4.6vw, 3.1rem);
  line-height: .95;
  letter-spacing: .015em;
  color: var(--ink);
  margin: -.15rem 0 .5rem;
  padding-bottom: .15rem;
  transform: rotate(-2.5deg);
  transform-origin: left center;
  -webkit-font-smoothing: antialiased;
}
.footer__bv { color: var(--muted); font-size: .88rem; }
/* Schaakstukken in het midden van de footer, net voor de links. */
.footer__mark {
  width: auto; height: 72px; display: block; flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(11, 90, 82, .16));
}
:root[data-theme="dark"] .footer__mark { filter: drop-shadow(0 0 12px rgba(160, 220, 240, .3)); }
.footer__meta { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer__meta a { color: var(--muted); font-size: .9rem; transition: color .2s var(--ease); }
.footer__meta a:hover { color: var(--teal-600); }
.footer__fine { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }

/* ---------- 17b. Blog en artikels ---------- */
.page { padding: 116px 0 clamp(2.5rem, 5vw, 4rem); }
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 1.6rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.crumbs a:hover { color: var(--teal-600); }
.page__head { max-width: 680px; margin-bottom: 2.2rem; }
.page__head h1 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); }
.page__lead { color: var(--muted); margin-top: .9rem; font-size: 1.04rem; }

.posts--list .post h2 { font-family: var(--font-head); font-size: 1.12rem; margin-bottom: .45rem; }
.post h3 a, .posts--list .post h2 a { transition: color .2s var(--ease); }
.post h3 a:hover, .posts--list .post h2 a:hover { color: var(--teal-600); }
.post__meta { font-size: .8rem !important; color: var(--muted); margin: .6rem 0 .8rem !important; }
.post__link { font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--teal-600); }

.article { max-width: 68ch; margin-inline: auto; }
.article__head { margin-bottom: 2rem; }
.article__head h1 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.9rem, 4.4vw, 2.7rem); line-height: 1.1; letter-spacing: -.025em; margin: .6rem 0 .8rem; text-wrap: balance; }
.article__meta { font-size: .84rem; color: var(--muted); margin-bottom: 1.4rem; }
.article__lead { font-size: 1.1rem; color: var(--ink-soft); line-height: 1.6; }
.article h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.2rem, 2.4vw, 1.5rem); margin: 2rem 0 .8rem; letter-spacing: -.015em; }
.article p { color: var(--muted); margin-bottom: 1rem; }
.article__list { list-style: none; display: grid; gap: .8rem; margin: 0 0 1.2rem; }
.article__list li { position: relative; padding-left: 1.2rem; color: var(--muted); }
.article__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--grad-teal); }
.article__list b, .article p b { color: var(--ink); font-weight: 600; }
.article__note {
  margin-top: 2rem; padding: 1.1rem 1.3rem; border-radius: var(--r-md);
  background: var(--teal-050); border: 1px solid color-mix(in srgb, var(--teal) 22%, transparent);
  font-size: .88rem; color: var(--muted);
}

.article__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2.6rem 0 0; }
.article__nav a { padding: 1.1rem 1.3rem; border-radius: var(--r-md); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.article__nav a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.article__nav span { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dk); margin-bottom: .3rem; }
.article__nav b { font-family: var(--font-head); font-weight: 600; font-size: .96rem; }

.cta-band { margin-top: 2.6rem; text-align: center; position: static; }
.cta-band .contact__lead { margin-inline: auto; }
.cta-band .contact__actions { justify-content: center; }

/* ---------- 18. Command palette ---------- */
.palette { position: fixed; inset: 0; z-index: 100; display: grid; place-items: start center; padding: clamp(3rem, 12vh, 9rem) var(--pad) var(--pad); }
.palette__backdrop { position: absolute; inset: 0; background: rgba(6, 22, 21, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .25s var(--ease); }
.palette__panel { position: relative; width: min(600px, 100%); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); animation: pop .3s var(--ease); }
.palette__search { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.palette__search svg { width: 19px; height: 19px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; }
.palette__search input { flex: 1; background: none; border: 0; outline: none; font-size: 1rem; }
.palette__results { list-style: none; max-height: min(50vh, 380px); overflow-y: auto; padding: .5rem; }
.palette__item { display: flex; align-items: center; gap: .85rem; padding: .65rem .8rem; border-radius: 12px; cursor: pointer; }
.palette__item[aria-selected="true"] { background: var(--teal-050); }
.palette__kind { font-family: var(--font-head); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dk); border: 1px solid var(--line); padding: .15rem .45rem; border-radius: 6px; }
.palette__label { font-family: var(--font-head); font-weight: 600; font-size: .93rem; }
.palette__hint { color: var(--muted); font-size: .82rem; margin-left: auto; text-align: right; }
.palette__empty { padding: 1.3rem; text-align: center; color: var(--muted); font-size: .92rem; }
.palette__foot { display: flex; gap: 1.2rem; padding: .65rem 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .77rem; flex-wrap: wrap; }
.palette__foot kbd { margin-right: .2rem; }

@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(-12px) scale(.98); } }

/* ---------- 19. Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 2rem; transform: translate(-50%, 16px); z-index: 120;
  padding: .75rem 1.25rem; border-radius: 999px; font-size: .9rem;
  background: var(--glass-solid); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 20. Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal[data-delay="1"] { transition-delay: .07s; }
.js .reveal[data-delay="2"] { transition-delay: .14s; }
.js .reveal[data-delay="3"] { transition-delay: .21s; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .hero__title .line > span { transform: translateY(105%); transition: transform .9s var(--ease); }
.js .hero__title.is-visible .line > span { transform: none; }
.js .hero__title .line:nth-child(2) > span { transition-delay: .1s; }

/* ---------- 21. Responsive ---------- */
@media (max-width: 980px) {
  .over__inner, .close__inner { grid-template-columns: 1fr; }
  .contact__inner { position: static; }
  .over__photo { max-width: 380px; }
}
@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--glass-solid); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--line); padding: 1rem var(--pad) 1.5rem;
    transform: translateY(-130%); transition: transform .35s var(--ease); box-shadow: var(--shadow);
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { width: 100%; padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav__links .nav__cta { border: 0; background: none; padding: .9rem 0; color: var(--teal-600); }
  .nav__toggle { display: flex; }
  .nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .iconbtn__kbd { display: none; }
  .hero { padding-top: 120px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__photo { order: -1; justify-self: start; }
  .hero__lead { max-width: none; }
}
@media (max-width: 560px) {
  .article__nav { grid-template-columns: 1fr; }
  .nav__name { display: none; }
  .footer__fine { flex-direction: column; }
  .contact__actions .btn, .hero__actions .btn { width: 100%; }
}

/* ---------- 22. iOS en Android ----------
   Zorgt dat de site zich op beide platformen identiek gedraagt:
   notch- en gesture-zones, geen blauwe tapflits, geen ongewenste zoom,
   en scrollgedrag dat niet doorlekt naar de pagina eronder. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { overscroll-behavior-y: none; }

/* Veilige zones van iPhone (notch, Dynamic Island, home indicator) en
   Android-gestures. Werkt samen met viewport-fit=cover in de <head>. */
.nav__inner { padding-left: max(var(--pad), env(safe-area-inset-left)); padding-right: max(var(--pad), env(safe-area-inset-right)); }
.footer { padding-bottom: calc(2rem + env(safe-area-inset-bottom)); }
.toast { bottom: calc(2rem + env(safe-area-inset-bottom)); }
.palette { padding-bottom: calc(var(--pad) + env(safe-area-inset-bottom)); }
@media (max-width: 860px) {
  .nav__links { padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); }
}

/* Geen grijze of blauwe flits bij tikken, wel een eigen actieve staat. */
a, button, summary, .offer, .post, .result {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}
@media (hover: none) {
  .btn:active, .nav__cta:active { transform: scale(.97); }
  .offer:active, .post:active, .result:active { transform: scale(.99); }
  /* Hover-effecten die op touch blijven "plakken", uitschakelen. */
  .offer:hover, .post:hover, .result:hover, .article__nav a:hover { transform: none; box-shadow: var(--shadow); }
  .spot::after { display: none; }
}

/* Tapdoelen minstens 44 px (Apple HIG) en 48 dp (Material). */
.iconbtn { min-width: 44px; min-height: 44px; justify-content: center; }
.nav__toggle { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.faq__q { min-height: 48px; }
.nav__brand { min-height: 44px; }
.footer__meta a, .post__link { display: inline-flex; align-items: center; min-height: 44px; }
.article__nav a { display: flex; flex-direction: column; justify-content: center; min-height: 64px; }
.crumbs a { padding-block: .65rem; }

/* iOS zoomt in op een veld met minder dan 16px. Vandaar exact 1rem. */
.palette__search input { font-size: 1rem; }

/* Vloeiend scrollen binnen panelen, zonder de pagina mee te slepen. */
.palette__results { -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }

/* Safari past backdrop-filter niet toe zonder eigen prefix; die staat
   overal al. Hier enkel de fallback als er geen ondersteuning is. */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass, .glass-gold, .nav.is-scrolled, .faq__item { background-color: var(--glass-solid); }
}

/* ---------- 23. Toegankelijkheid ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js .hero__title .line > span { transform: none !important; }
  .cursor { display: none; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
@media print {
  .nav, .palette, .mesh, .progress, .cursor, .hero__canvas { display: none !important; }
  body { background: #fff; color: #000; }
}
