/* Shave Energy — huisstijl v2 (Kennisbank-Intern › Huisstijlen) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #243062;
  --navy-deep: #1a2349;
  --navy-light: #3a4a80;
  --green: #66b434;
  --green-dark: #4e9225;
  --green-light: #8fd040;
  --yellow: #e0de09;
  --night: #111c38;      /* one dark blue for every dark surface */
  --night-card: #111c38;
  --night-line: rgba(255, 255, 255, .12);
  --neon: #e8e60c;
  --lime: #b9f75b;
  --paper: #f4f7f0;
  --card: #ffffff;
  --line: #e0e8d8;
  --ink: #1a1e30;
  --muted: #5c5c7a;
  --muted-night: #94a3b8;
  --pulse: linear-gradient(100deg, #e0de09 0%, #c0d213 35%, #79ba2d 80%, #66b434 100%);
  --r-sm: 6px; --r-md: 8px; --r-base: 10px; --r-lg: 16px;
  /* three radii for every box: large cards and panels, inner blocks, controls */
  --r-card: 20px; --r-inner: 14px; --r-ctl: 12px;
  --shadow-card: 0 0 0 1px rgba(26, 35, 73, .08), 0 18px 40px -30px rgba(26, 35, 73, .35);
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-width: none; background: #050816; }
/* No page scrollbar: with "always show scrollbars" (macOS + mouse) it drew a light strip beside the film */
html::-webkit-scrollbar { display: none; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }

h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.025em; font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; font-weight: 700; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 34em; }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.5em; border-radius: 999px; border: 0;
  font-weight: 650; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--green); color: var(--night); box-shadow: 0 8px 22px -12px rgba(102, 180, 52, .7); }
.btn-primary:hover { background: var(--green-light); transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
/* sign-up: brand yellow with navy text (contrast 11:1) */
.btn-yellow { background: var(--yellow); color: var(--night); box-shadow: 0 8px 22px -12px rgba(224, 222, 9, .6); }
.btn-yellow:hover { background: #ecea3a; transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 16px 16px auto; z-index: 50;
  display: flex; align-items: center; gap: 20px;
  max-width: 1340px; margin-inline: auto;
  padding: 10px 12px 10px 22px; border-radius: var(--r-inner);
  color: #fff;
  background: rgba(26, 30, 48, .35);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: background-color .35s, color .35s, border-color .35s;
}
.site-header.is-light { background: rgba(255, 255, 255, .88); color: var(--ink); border-color: var(--line); box-shadow: 0 10px 30px -18px rgba(26, 30, 48, .35); }
.brand { display: block; height: 40px; flex: none; }
.brand img { height: 40px; width: auto; }
.brand .logo-kleur { display: none; }
.site-header.is-light .logo-wit { display: none; }
.site-header.is-light .logo-kleur { display: block; }

.nav { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.nav > a, .nav-trigger {
  padding: 9px 12px; border-radius: 9px; border: 0; background: none; color: inherit;
  font-size: .95rem; font-weight: 550; text-decoration: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
/* "Aanmelden": always in the menu, marked with a small heartbeat so it stands out from the other topics */
.nav > a.nav-signup { font-weight: 700; color: var(--lime); }
.nav > a.nav-signup svg { width: 18px; height: 10px; }
.site-header.is-light .nav > a.nav-signup { color: var(--green-dark); }
.nav > a:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { background: rgba(127, 140, 170, .16); }
.nav-trigger svg { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.btn-cta { white-space: nowrap; padding: .7em 1.1em; font-size: .9rem; box-shadow: none; }
.nav-trigger.is-current { box-shadow: inset 0 -2px 0 var(--green); border-radius: 9px 9px 2px 2px; }
@media (max-width: 1320px) and (min-width: 1081px) { .nav > a[data-page="kennis"], .nav > a[data-page="over"] { display: none; } }
/* Mijn Shave is for existing customers: quiet outline; the advice CTA is the loud one */
.btn-account { white-space: nowrap; padding: .62em 1.05em; font-size: .9rem; background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-account:hover { background: rgba(127, 140, 170, .16); }

/* Mega-menu */
.mega {
  position: absolute; left: 0; right: 0; top: calc(100% + 10px);
  background: var(--night); color: #fff;
  border: 1px solid var(--night-line); border-radius: var(--r-inner);
  padding: 14px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 6px 18px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .22s, transform .22s var(--ease), visibility .22s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; }
/* Left: the current quarter-hour price, the thing that makes Shave different */
.mega-now {
  grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 4px; padding: 22px 22px 20px;
  border-radius: var(--r-ctl); text-decoration: none; color: #fff;
  background: radial-gradient(120% 90% at 0% 0%, rgba(102, 180, 52, .22), transparent 60%), var(--night-card);
  transition: background-color .2s;
}
.mega-now-label { font-size: .85rem; color: var(--muted-night); }
.mega-now-price { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.mega-now-sub { font-size: .85rem; color: var(--muted-night); }
.mega-now-line { width: 100%; height: 40px; margin: auto 0 14px; }
.mega-now-cta { font-size: .9rem; font-weight: 650; color: var(--green-light); }
.mega-now:hover .mega-now-cta { color: #fff; }
/* Right: every product, one line on what it does */
.mega-grid { list-style: none; margin: 0; padding: 8px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.mega-grid a {
  display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: var(--r-ctl);
  color: #fff; text-decoration: none; font-weight: 650; line-height: 1.25; transition: background-color .15s;
}
.mega-grid a:hover, .mega-grid a:focus-visible { background: rgba(127, 140, 170, .12); }
.mega-grid small { display: block; color: var(--muted-night); font-weight: 400; font-size: .82rem; margin-top: 3px; }
.mega-grid a:hover .mega-ico { background: var(--green); border-color: var(--green); color: #fff; }
.mega-foot { grid-column: 2; display: flex; gap: 22px; padding: 12px 12px 6px; border-top: 1px solid var(--night-line); margin: 0; font-size: .88rem; }
.mega-foot a { color: #cfd6e4; text-decoration: none; }
.mega-foot a:hover { color: #fff; text-decoration: underline; }
.mega-ico {
  flex: none; width: 42px; height: 42px; border-radius: var(--r-ctl); display: grid; place-items: center;
  border: 1px solid var(--night-line); color: var(--green-light); transition: background-color .15s, color .15s;
}
.mega-ico svg { width: 22px; height: 22px; }

.menu-toggle { display: none; }

/* ---------- Film (scroll-hero) ---------- */
.film { position: relative; height: 720vh; background: #0b0f20; color: #fff; }
.film-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.film-stage canvas, .film-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-poster { opacity: 1; transition: opacity .5s; }
.film.is-ready .film-poster { opacity: 0; }
.film-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11, 15, 32, .55) 0%, rgba(11, 15, 32, 0) 22%, rgba(11, 15, 32, 0) 60%, rgba(26, 30, 48, .9) 100%);
}
.beat {
  position: absolute; left: 0; right: 0; padding-inline: 24px;
  text-align: center; opacity: 0; will-change: opacity, transform;
}
.beat-low { bottom: 15vh; }
.beat-high { top: 15vh; }
.beat-end { bottom: 7vh; }
.beat-kicker { font-size: 1rem; font-weight: 500; color: #d8dfc9; margin-bottom: 14px; }
.beat .beat-line {
  font-size: clamp(2.2rem, 5.6vw, 4.8rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02;
  text-shadow: 0 2px 30px rgba(7, 11, 31, .6);
}
.beat p:not(.beat-line):not(.beat-kicker) { margin: 16px auto 0; max-width: 32em; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: #e2e8f0; text-shadow: 0 1px 16px rgba(7, 11, 31, .8); }
.beat-end h1 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 750; letter-spacing: -0.02em; }
.beat-end .beat-sub { margin: 10px auto 22px !important; max-width: 36em; font-size: 1.05rem !important; }
.beat-end .beat-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.beat-end::before {
  content: ''; position: absolute; z-index: -1; left: 50%; bottom: -10vh; width: min(1200px, 130vw); height: 60vh;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side at 50% 70%, rgba(7, 11, 31, .85), rgba(7, 11, 31, 0));
}
.beat-end { isolation: isolate; }
.beat .gradient-text { background: var(--pulse); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Scroll-hartslag: voortgangsindicator in de vorm van het beeldmerk */
.pulse-progress {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: min(280px, 60vw); display: grid; gap: 8px; justify-items: center;
  font-size: .78rem; color: #c3cad8; letter-spacing: .02em;
}
.pulse-progress svg { width: 100%; height: 34px; overflow: visible; }
.pulse-progress .track { stroke: rgba(255, 255, 255, .18); }
.pulse-progress .trace { stroke: url(#pulseGrad); }

/* ---------- Secties ---------- */
section { position: relative; }
.sec { padding: clamp(80px, 11vw, 150px) 0; }
.sec-night { background: var(--night); color: #fff; }
.sec-night .lead { color: var(--muted-night); }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 760px; }

/* Kwartierprijzen */
.hartslag-grid { display: grid; gap: 24px; }
/* The OSE price widget, restyled to sit on the dark blue background like the rest of the site.
   The widget renders Tailwind classes (prefix ose-) scoped to its #id; .chart-card in front outranks them,
   also on pages where the widget's own stylesheet loads after ours. */
.chart-card {
  color: #e6ebf3; border-radius: var(--r-card); padding: clamp(10px, 1.6vw, 20px); min-height: 560px;
  background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.chart-card .chart-card #ose-energy-widget { color: #e6ebf3; }
.chart-card #ose-energy-widget :is([class*="ose-text-gray-8"], [class*="ose-text-gray-9"], h3) { color: #fff; }
.chart-card #ose-energy-widget :is([class*="ose-text-gray-4"], [class*="ose-text-gray-5"], [class*="ose-text-gray-6"], [class*="ose-text-gray-7"]) { color: #aab4c8; }
.chart-card #ose-energy-widget :is(.ose-bg-white:not(.ose-rounded-full), [class*="ose-bg-gray-50"]) { background-color: rgba(255, 255, 255, .04); }
.chart-card #ose-energy-widget .ose-bg-gray-100 { background-color: rgba(255, 255, 255, .07); }
.chart-card #ose-energy-widget .ose-bg-gray-100 > .ose-bg-white, .chart-card #ose-energy-widget .ose-bg-gray-100 > button[class*="ose-shadow"] { background-color: rgba(185, 247, 91, .16); color: var(--lime); }
.chart-card #ose-energy-widget [class*="ose-border-gray"], .chart-card #ose-energy-widget [class*="ose-border-b"], .chart-card #ose-energy-widget [class*="ose-border-t"] { border-color: rgba(255, 255, 255, .1); }
.chart-card #ose-energy-widget [class*="ose-divide"] > * { border-color: rgba(255, 255, 255, .08) !important; }
.chart-card #ose-energy-widget [class*="ose-shadow"] { box-shadow: none; }
.chart-card #ose-energy-widget [class*="hover:ose-bg-gray"]:hover, .chart-card #ose-energy-widget [class*="ose-bg-black/5"] { background-color: rgba(255, 255, 255, .08); }
/* the three summary cards: one calm glass style, brand accents instead of blue/green/orange */
.chart-card #ose-energy-widget :is([class*="ose-from-blue-50"], [class*="ose-from-green-50"], [class*="ose-from-orange-50"]) {
  background-image: none; background-color: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12);
}
.chart-card #ose-energy-widget :is(.ose-bg-blue-200, .ose-bg-green-200, .ose-bg-orange-200) { background-color: rgba(255, 255, 255, .08); }
.chart-card #ose-energy-widget :is([class*="ose-text-blue-"]) { color: #cfd6e4; }
.chart-card #ose-energy-widget :is(.ose-text-blue-900) { color: #fff; }
.chart-card #ose-energy-widget :is([class*="ose-text-green-"]) { color: var(--lime); }
.chart-card #ose-energy-widget :is([class*="ose-text-orange-"]) { color: #e0de09; }
/* toggles and selects */
.chart-card #ose-energy-widget [class*="ose-bg-gray-200"], .chart-card #ose-energy-widget [class*="ose-bg-gray-300"] { background-color: rgba(255, 255, 255, .2); }
.chart-card #ose-energy-widget :is([class*="ose-bg-blue-6"], [class*="ose-bg-green-6"], [class*="ose-bg-emerald"]) { background-color: var(--green); }
.chart-card #ose-energy-widget select { background-color: var(--night-2, #18244a); color: #fff; border-color: rgba(255, 255, 255, .14); }
.chart-card #ose-energy-widget option { background: #18244a; color: #fff; }
.chart-card #ose-energy-widget input { background-color: transparent; color: #fff; }
/* the bars: calm grey-blue; cheapest four hours lime, most expensive four hours yellow, this quarter white
   (site.js ranks the bars and sets data-tone, as in the homepage explorer). The average line is a quiet white dash. */
.chart-card #ose-energy-widget [class*="ose-rounded-t"][class*="ose-bg-"] { background-color: rgba(148, 163, 184, .32); }
.chart-card #ose-energy-widget [class*="ose-rounded-t"][class*="ose-bg-"][data-tone="low"] { background-color: var(--lime); }
.chart-card #ose-energy-widget [class*="ose-rounded-t"][class*="ose-bg-"][data-tone="high"] { background-color: var(--yellow); }
.chart-card #ose-energy-widget [class*="ose-rounded-t"][class*="ose-bg-"][data-tone="now"] { background-color: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, .55); }
.chart-card #ose-energy-widget .ose-border-orange-400 { border-color: rgba(255, 255, 255, .4); }
/* the three summary cards: one quiet style, white figures, muted labels, lime icons */
.chart-card #ose-energy-widget :is([class*="ose-from-blue-50"], [class*="ose-from-green-50"], [class*="ose-from-orange-50"]) :is([class*="ose-text-blue-"], [class*="ose-text-green-"], [class*="ose-text-orange-"]) { color: #aab4c8; }
.chart-card #ose-energy-widget :is([class*="ose-from-blue-50"], [class*="ose-from-green-50"], [class*="ose-from-orange-50"]) [class*="ose-font-bold"] { color: #fff; }
.chart-card #ose-energy-widget :is([class*="ose-from-blue-50"], [class*="ose-from-green-50"], [class*="ose-from-orange-50"]) svg { color: var(--lime); }
.chart-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 12px 4px 0; font-size: .85rem; color: #aab4c8; }
.chart-legend span { display: inline-flex; align-items: center; gap: 8px; }
.chart-legend i { width: 10px; height: 10px; border-radius: 3px; }
.chart-legend .lg-low { background: var(--lime); }
.chart-legend .lg-high { background: var(--yellow); }
.chart-legend .lg-now { background: #fff; }
.chart-more { margin-top: 22px; color: var(--muted-night); }
.chart-more a { color: #fff; }
.calc {
  background: var(--night);
  border-radius: var(--r-lg); padding: 28px 32px; display: grid; gap: 14px 56px;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start;
}
.calc > :not(.calc-result) { grid-column: 1; }
.calc-result { grid-column: 2; grid-row: 1 / span 4; align-self: center; }
.calc h3 { font-size: 1.25rem; }
.calc label { font-size: .95rem; color: #d3d9e6; }
.calc output { font-weight: 700; color: #fff; }
.calc input[type="range"] { width: 100%; accent-color: var(--green); height: 28px; }
.calc-result { padding-left: 40px; border-left: 1px solid rgba(255, 255, 255, .12); }
.calc-result .big { font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc-result p { color: #c3cad8; font-size: .9rem; margin-top: 8px; }
.calc-result .calc-basis { color: #fff; font-weight: 650; font-variant-numeric: tabular-nums; }

/* Waarom Shave */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.why-item { display: grid; gap: 14px; align-content: start; }
.why-item .ico { width: 54px; height: 54px; color: var(--green); }
.why-item p { color: var(--muted); }
.why-line { margin: 0 0 clamp(36px, 5vw, 56px); height: 46px; width: 100%; }

/* Doelgroep-splitsing */
.split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; }
.split-card {
  position: relative; overflow: hidden; border-radius: var(--r-card); min-height: 520px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(26px, 3.4vw, 44px);
  color: #fff; text-decoration: none; isolation: isolate;
}
.split-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.split-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(26, 35, 73, .1) 0%, rgba(26, 35, 73, .6) 38%, rgba(26, 35, 73, .96) 100%); }
.split-card:hover img { transform: scale(1.03); }
.split-card h3 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); letter-spacing: -0.025em; font-weight: 800; }
.split-card p { margin-top: 12px; color: #dfe5ef; max-width: 30em; }
.split-card ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.split-card li { display: flex; gap: 10px; align-items: baseline; color: #eef2f7; }
.split-card li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--green-light); transform: translateY(-1px); }
.split-card .btn { margin-top: 24px; align-self: flex-start; }
.split-card .tag {
  position: absolute; top: 22px; left: 22px; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 650;
  background: var(--yellow); color: var(--navy-deep);
}

/* Producten-verkenner */
.explorer { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 28px; align-items: start; }
.cat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; position: sticky; top: 110px; }
.cat-btn {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 12px 14px; border-radius: var(--r-ctl); border: 1px solid transparent; background: none; cursor: pointer;
  color: var(--ink); font-weight: 650; font-size: 1.02rem;
  transition: background-color .2s, border-color .2s;
}
.cat-btn .mega-ico { border-color: var(--line); color: var(--navy); background: #fff; transition: background-color .2s, color .2s; }
.cat-btn small { display: block; font-weight: 450; font-size: .82rem; color: var(--muted); }
.cat-btn:hover { background: #fff; }
.cat-btn[aria-selected="true"] { background: #fff; border-color: var(--line); box-shadow: 0 12px 30px -22px rgba(36, 48, 98, .6); }
.cat-btn[aria-selected="true"] .mega-ico { background: var(--green); color: #fff; border-color: var(--green); }

.cat-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; min-height: 460px; }
/* all panels share one grid cell, so every panel (and every photo) is as large as the tallest one */
.explorer > div { display: grid; }
.explorer > div > .cat-panel { grid-area: 1 / 1; }
.explorer > div > .cat-panel[hidden] { display: grid; visibility: hidden; }
.cat-panel .media { position: relative; min-height: 300px; }
.cat-panel .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-panel .body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 16px; }
.cat-panel .body > p { color: var(--muted); }
.prod-list { display: grid; gap: 10px; margin-top: 6px; }
.prod {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center;
  padding: 16px 18px; border-radius: var(--r-ctl); background: var(--paper); text-decoration: none;
  border: 1px solid transparent; transition: border-color .2s, background-color .2s;
}
.prod:hover { border-color: var(--green); background: #fff; }
.prod b { font-size: 1.05rem; }
.prod span { grid-column: 1; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.prod svg { grid-row: 1 / span 2; grid-column: 2; width: 20px; height: 20px; color: var(--green); }
.prod .pill { justify-self: start; font-size: .72rem; font-weight: 650; padding: 2px 8px; border-radius: 999px; background: var(--navy); color: #fff; }

/* Energy Hubs-band */
.hub { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hub-img { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 3; }
.hub-img img { width: 100%; height: 100%; object-fit: cover; }
.hub .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin: 30px 0 34px; }
.hub .facts div { border-top: 2px solid var(--green); padding-top: 12px; }
.hub .facts b { display: block; font-size: 1.05rem; }
.hub .facts span { color: var(--muted); font-size: .93rem; }
.sec-night .hub .facts b { color: #fff; }
.sec-night .hub .facts span { color: var(--muted-night); }

/* Stappen + aanmelden */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; margin-bottom: 56px; position: relative; }
.step { padding: 0 28px 0 0; display: grid; gap: 10px; align-content: start; }
.step-n {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--night); color: #fff; font-weight: 800; margin-bottom: 8px; position: relative; z-index: 1;
}
.step p { color: var(--muted); max-width: 22em; }
.steps::before { content: ''; position: absolute; top: 22px; left: 22px; right: 33%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }

.signup {
  border-radius: var(--r-card); padding: clamp(28px, 4.5vw, 60px);
  background: var(--night);
  color: #fff; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(26px, 4vw, 60px); align-items: center;
}
.signup h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
.signup .lead { color: #cdd5e4; margin-top: 14px; }
/* The aanmeldmodule widget (hero-widget.js, compact) restyled to sit in the signup panel.
   The section id (#overstappen, homepage #aanmelden) outranks the widget's own .ose-hero.ose-hero-compact rules. */
#overstappen .ose-hero.ose-hero-compact {
  max-width: none; border: 0; border-radius: var(--r-inner); padding: 24px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
}
#overstappen .ose-hero.ose-hero-compact::before { display: none; }
#overstappen .ose-hero-compact .ose-hero-veld label { font-size: .85rem; color: var(--muted); }
#overstappen .ose-hero-compact .ose-hero-veld input {
  padding: 13px 14px; border-radius: var(--r-base); border: 1.5px solid var(--line); background: var(--paper); font-size: 1rem;
}
#overstappen .ose-hero-compact .ose-hero-veld input:focus { border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(102, 180, 52, .18); }
#overstappen .ose-hero-compact .ose-hero-btn {
  background: var(--green); color: #fff; font-weight: 650; font-size: 1rem; padding: .95em 1.5em;
  box-shadow: 0 8px 24px -10px rgba(102, 180, 52, .8);
}
#overstappen .ose-hero-compact .ose-hero-btn::after { display: none; }
#overstappen .ose-hero-compact .ose-hero-btn:hover { background: var(--green-dark); transform: translateY(-2px); }
#ose-hero:empty { min-height: 250px; border-radius: var(--r-inner); background: rgba(255, 255, 255, .06); }
.signup-note { color: #cdd5e4; font-size: .9rem; margin-top: 18px; }
.signup-note a { color: #fff; }
/* Vragen */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-weight: 700; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(45deg);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 40em; }
.contact-card { margin-top: 28px; display: grid; gap: 6px; }
.contact-card a { font-weight: 700; text-decoration: none; color: var(--navy); font-size: 1.15rem; }
.contact-card a:hover { color: var(--green-dark); }

/* Footer */
.site-footer { background: var(--night); color: #c3cad8; padding: 70px 0 34px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-bottom { margin-top: 54px; padding-top: 24px; border-top: 1px solid var(--night-line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: var(--muted-night); }

.js .reveal { opacity: 0; transform: translateY(24px); }

/* ---------- Homepage ---------- */
.mega-plain { grid-template-columns: minmax(0, 1fr); }
.mega-plain .mega-foot { grid-column: 1; }
.mega-two .mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* small panel: sits under its own menu item instead of spanning the header */
@media (min-width: 1081px) { .mega-two { left: 440px; right: auto; width: 640px; } }
.split-wide { grid-template-columns: 1.45fr 1fr; }
.why-4 { grid-template-columns: repeat(4, 1fr); }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.svc {
  display: flex; flex-direction: column; gap: 12px; padding: 26px 24px; border-radius: var(--r-card); background: #fff;
  color: var(--ink); text-decoration: none; border: 1px solid rgba(26, 35, 73, .08); transition: transform .2s var(--ease), box-shadow .2s;
}
.svc:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(26, 35, 73, .35); }
.svc .mega-ico { border-color: var(--line); color: var(--green-dark); }
.svc p { color: var(--muted); font-size: .97rem; }
.svc-cta { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green-dark); }
.over { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.over-p { margin-top: 16px; color: var(--muted); font-size: 1.05rem; max-width: 34em; }
.over-legal { margin-top: 22px; font-size: .85rem; color: var(--muted); max-width: 40em; }
/* Empty slots for content that does not exist yet (cases, articles, team photo): visibly unfinished */
.todo {
  display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--r-card);
  border: 2px dashed rgba(26, 35, 73, .22); background: rgba(255, 255, 255, .5); color: var(--muted);
}
.todo strong { color: var(--ink); font-size: 1.15rem; line-height: 1.3; }
.todo-tag { font-size: .8rem; font-weight: 700; color: var(--green-dark); }
.todo-photo { min-height: 380px; justify-content: center; align-items: center; text-align: center; }
.todo-photo svg { width: 56px; height: 56px; color: var(--green); }
.todo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.todo-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.todo-article { min-height: 200px; }
.eind { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.eind-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(26px, 3.4vw, 40px);
  border-radius: var(--r-card); background: var(--night-card); border: 1px solid var(--night-line);
}
.eind-main { background: radial-gradient(120% 100% at 0% 0%, rgba(102, 180, 52, .25), transparent 60%), var(--night-card); }
.eind-card h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; }
.eind-card p { color: #c3cad8; }
.eind-card .btn { margin-top: 10px; }
.eind-card .tag { font-size: .8rem; font-weight: 700; color: var(--green-light); }

/* ---------- App-pagina (Mijn Shave) ---------- */
.app-hero { background: var(--night); color: #fff; padding: clamp(120px, 12vw, 150px) 0 clamp(56px, 7vw, 90px); overflow: hidden; }
/* app page: the same photo header as the other pages, the phone stays in front */
.p-hero-photo { position: relative; isolation: isolate; }
.p-hero-photo .p-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; z-index: -2; }
.p-hero-photo .p-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 8, 22, .85) 0%, rgba(5, 8, 22, .55) 50%, rgba(5, 8, 22, .35) 100%); }
.app-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.app-hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
.app-hero .lead { color: #c3cad8; margin: 22px 0 32px; }
.app-web { margin-top: 22px; color: var(--muted-night); font-size: .95rem; }
.app-web a { color: #fff; }
.app-phone { position: relative; display: grid; justify-items: center; }
/* whole phone in view: capped by the viewport height so the top never hides under the header */
.app-phone img { position: relative; width: auto; height: min(640px, calc(100vh - 230px)); min-height: 420px; max-width: 80%; object-fit: contain; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .5)); }
.app-phone::before {
  content: ''; position: absolute; width: 130%; aspect-ratio: 1; top: 8%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(102, 180, 52, .28), rgba(224, 222, 9, .08) 55%, transparent);
}
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 16px; border-radius: var(--r-ctl);
  background: #000; color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .28);
  font-size: 1.15rem; font-weight: 650; line-height: 1.1; transition: border-color .15s, transform .15s;
}
.store:hover { border-color: #fff; transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: .7rem; font-weight: 500; opacity: .85; }
/* App wheel (as in "Hoe werkt het" on opensourceenergie): phones on a 3D wheel left, the text right moves along.
   Positions come from data-pos (set in site.js); the overshooting bezier stands in for the spring. */
.tour-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--navy);
  display: grid; place-items: center; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.tour-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.tour-btn:disabled { opacity: .35; cursor: default; background: #fff; color: var(--navy); border-color: var(--line); }
.app-tour { overflow: hidden; }
.wheel { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.wheel-stage { position: relative; height: 600px; perspective: 1400px; touch-action: pan-y; user-select: none; }
.wheel-phone {
  position: absolute; left: 50%; top: 50%; width: 270px; margin: 0; cursor: pointer;
  transform: translate(-50%, -50%) translateX(var(--x, 0)) translateY(var(--y, 0)) translateZ(var(--z, 0)) rotateY(var(--ry, 0)) scale(var(--s, 1));
  opacity: var(--o, 0); z-index: var(--zi, 0); transform-style: preserve-3d;
  transition: transform .75s cubic-bezier(.22, 1.12, .36, 1), opacity .5s ease, filter .5s ease;
  will-change: transform, opacity;
}
.wheel-phone img { width: 100%; height: auto; display: block; filter: drop-shadow(0 34px 44px rgba(26, 35, 73, .28)); pointer-events: none; }
.wheel-phone[data-pos="active"]   { --o: 1; --zi: 5; cursor: default; }
.wheel-phone[data-pos="next"]     { --x: 210px; --y: 22px; --z: -140px; --ry: -34deg; --s: .84; --o: .55; --zi: 3; }
.wheel-phone[data-pos="prev"]     { --x: -210px; --y: 22px; --z: -140px; --ry: 34deg; --s: .84; --o: .55; --zi: 3; }
.wheel-phone[data-pos="far-next"] { --x: 360px; --y: 40px; --z: -280px; --ry: -58deg; --s: .72; --o: 0; --zi: 1; }
.wheel-phone[data-pos="far-prev"] { --x: -360px; --y: 40px; --z: -280px; --ry: 58deg; --s: .72; --o: 0; --zi: 1; }
.wheel-phone[data-pos="hidden"]   { --y: 40px; --z: -300px; --s: .7; --o: 0; --zi: 0; pointer-events: none; }
.wheel-phone[data-pos="next"]:hover, .wheel-phone[data-pos="prev"]:hover { --o: .8; }
/* all texts share one grid cell: the box is as tall as the longest, nothing jumps */
.wheel-texts { display: grid; }
.wheel-text {
  grid-area: 1 / 1; opacity: 0; transform: translateY(24px); pointer-events: none;
  transition: opacity .35s ease, transform .55s cubic-bezier(.22, 1, .36, 1);
}
.wheel-text[data-state="before"] { transform: translateY(-24px); }
.wheel-text[data-state="active"] { opacity: 1; transform: none; pointer-events: auto; transition-delay: .12s; }
.wheel-num { font-size: .85rem; font-weight: 700; color: var(--green-dark); font-variant-numeric: tabular-nums; }
.wheel-text h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -0.025em; margin: 10px 0 14px; }
.wheel-text p { color: var(--muted); font-size: 1.08rem; max-width: 30em; }
.wheel-text ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.wheel-text li { display: flex; gap: 12px; align-items: center; font-weight: 550; }
.wheel-text li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--green); }
.wheel-nav { display: flex; align-items: center; gap: 16px; margin-top: 36px; }
/* autoplay timer: the bar fills, at the end the wheel turns; pauses on hover / focus */
.wheel-bar { flex: 1; max-width: 220px; height: 3px; border-radius: 3px; background: rgba(26, 35, 73, .12); overflow: hidden; }
.wheel-bar i { display: block; height: 100%; width: 100%; background: var(--green); transform-origin: left; transform: scaleX(0); }
.wheel-bar i.run { animation: wheel-fill 5.5s linear forwards; }
.wheel:hover .wheel-bar i, .wheel:has(:focus-visible) .wheel-bar i { animation-play-state: paused; }
@keyframes wheel-fill { to { transform: scaleX(1); } }
.app-cta { text-align: center; }
.app-cta .wrap { display: grid; justify-items: center; gap: 20px; }
.app-cta .lead a { color: #fff; }
.btn-account[aria-current="page"] { background: var(--yellow); color: var(--navy-deep); box-shadow: none; }
@media (max-width: 860px) {
  .app-hero-grid { grid-template-columns: 1fr; }
  .app-phone img { height: auto; width: min(280px, 72%); min-height: 0; }
  .wheel { grid-template-columns: 1fr; gap: 8px; }
  .wheel-stage { height: 470px; }
  .wheel-phone { width: 215px; }
  /* small screens: only the active phone, the neighbours slide in from the side */
  .wheel-phone[data-pos="next"], .wheel-phone[data-pos="far-next"] { --x: 90px; --z: -80px; --ry: -14deg; --s: .9; --o: 0; }
  .wheel-phone[data-pos="prev"], .wheel-phone[data-pos="far-prev"] { --x: -90px; --z: -80px; --ry: 14deg; --s: .9; --o: 0; }
  .wheel-nav { justify-content: center; }
    }

/* ---------- Responsief ---------- */
/* primary action inside the mobile menu; the header button is hidden on small screens */
.nav > a.nav-cta-mobile { display: none; }
@media (max-width: 1080px) {
  .nav { display: none; }
  .site-header.is-light .nav > a.nav-signup { color: var(--lime); } /* the mobile menu panel is always navy */
  .nav > a.nav-cta-mobile { display: inline-flex; order: 6; justify-content: center; margin-top: 10px; background: var(--green); color: var(--night); }
  .menu-toggle {
    display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-ctl); border: 0;
    background: rgba(127, 140, 170, .18); color: inherit; cursor: pointer; margin-left: auto;
  }
  .header-actions { margin-left: auto; }
  .menu-toggle { margin-left: 4px !important; }
  /* each panel opens directly under its own menu item */
  .nav > [aria-controls="m-zakelijk"] { order: 1; } #m-zakelijk { order: 2; }
  .nav > [aria-controls="m-particulier"] { order: 3; } #m-particulier { order: 4; }
  .nav > a { order: 5; }
  .mega-foot { border-top: 0; padding-top: 4px; }
  .site-header.menu-open .nav {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    background: var(--night); color: #fff; border-radius: var(--r-inner); padding: 14px; border: 1px solid var(--night-line);
    max-height: calc(100vh - 110px); overflow: auto;
  }
  .mega { position: static; grid-template-columns: 1fr; padding: 10px 0 0; border: 0; box-shadow: none; display: none; transform: none; }
  .mega.is-open { display: grid; }
  .mega-now { display: none; }
  .mega-grid { grid-template-columns: 1fr 1fr; }
  .mega-foot { grid-column: 1; flex-wrap: wrap; }
  .hartslag-grid, .explorer, .hub, .signup, .faq-grid { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .calc-result { grid-column: 1; grid-row: auto; padding: 18px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .cat-list { position: static; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .split, .split-wide, .over, .eind, .todo-grid-2 { grid-template-columns: 1fr; }
  .why-4, .svc-grid, .todo-grid { grid-template-columns: 1fr 1fr; }
  .mega-two .mega-grid { grid-template-columns: 1fr; }
  .split-card { min-height: 460px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .site-header { inset: 10px 10px auto; padding: 8px 8px 8px 16px; }
  .brand, .brand img { height: 34px; }
  .btn-cta { display: none; }
  .btn-account { padding: .6em .9em; font-size: .85rem; }
  .why, .why-4, .steps, .svc-grid, .todo-grid { grid-template-columns: 1fr; gap: 24px; }
  .steps::before { display: none; }
  .cat-panel { grid-template-columns: 1fr; grid-template-rows: 220px 1fr; align-content: start; }
  .cat-panel .media { min-height: 220px; }
  .hub .facts { grid-template-columns: 1fr; }
  .mega-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .chart-card { padding: 6px; border-radius: var(--r-inner); }
  .calc { padding: 22px; }
}

/* Staand scherm: film staat bovenin; zachte overgang van beeld naar navy */
@media (max-aspect-ratio: 1/1) {
  .film-stage { background: #070b1f; }
  .film-poster { object-fit: contain; object-position: 50% 36%; background: #070b1f; }
  .beat-high { top: 12vh; }
  .beat-end { bottom: 6vh; }
  .beat-end::before { height: 50vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .film { height: auto; }
  .film-stage { position: relative; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Section rhythm (same on every page, as on the homepage) ----------
   header (dark) → white → light green → white → … ; a dark block (a working tool) sits in between at most once,
   and after it the rhythm starts with white again. apply-partials.py writes data-tone on every section in <main>. */
main > section[data-tone="w"] { background: var(--paper); color: var(--ink); }
main > section[data-tone="g"] { background: #eaf0e3; color: var(--ink); }

/* ---------- Visual tile (as in "Voor wie"): a photo or a moving visual fills the tile, a dark gradient,
   tag + title + one short line at the bottom. Used on the homepage and every sub page. ---------- */
.vtiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.vtiles.v2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vtiles.v4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vtile {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-card); min-height: 320px;
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff; text-decoration: none; background: var(--night);
}
.vtile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.vtile::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(17, 28, 56, 0) 30%, rgba(17, 28, 56, .74) 58%, rgba(17, 28, 56, .97) 100%);
}
a.vtile:hover > img, a.vtile:focus-visible > img { transform: scale(1.05); }
/* keep the product in frame when a wide product photo is cropped to a tile */
.vtile > img[src*="stuurbox"] { object-position: 52% 50%; }
.vtile-viz { position: absolute; inset: 0 0 auto; z-index: -1; padding: 24px 24px 0; }
.vtile-body { padding: clamp(18px, 2vw, 26px); display: grid; gap: 8px; justify-items: start; }
.vtile-tag { font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--yellow); color: var(--navy-deep); }
.vtile h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; }
.vtile p { margin: 0; color: #d5dcea; max-width: 30em; font-size: .93rem; line-height: 1.5; }
.vtile-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--lime); margin-top: 2px; }
a.vtile:hover .vtile-more { color: #fff; }
.vtile.is-wide { grid-column: span 2; }
/* app screen as the visual (no photo) */
/* app tile: three app screens fanned out fill the upper part of the tile; the text sits at the bottom like in the photo tiles */
.vtile:has(.vtile-fan) { background: radial-gradient(60% 55% at 50% 30%, rgba(185, 247, 91, .2), transparent 70%), var(--night); }
.vtile-fan { position: absolute; inset: 0 0 auto; z-index: -2; display: flex; justify-content: center; padding-top: 26px; }
.vtile-fan img { width: 30%; max-width: 140px; height: auto; border-radius: 18px; box-shadow: 0 18px 34px -12px rgba(0, 0, 0, .6); transition: transform .6s var(--ease); }
.vtile-fan img:nth-child(1) { transform: translate(34%, 26px) rotate(-10deg); opacity: .9; }
.vtile-fan img:nth-child(2) { position: relative; z-index: 1; }
.vtile-fan img:nth-child(3) { transform: translate(-34%, 26px) rotate(10deg); opacity: .9; }
a.vtile:hover .vtile-fan img:nth-child(1) { transform: translate(24%, 30px) rotate(-14deg); }
a.vtile:hover .vtile-fan img:nth-child(3) { transform: translate(-24%, 30px) rotate(14deg); }
/* phones tilt towards the pointer (site.js, [data-tilt]) */
[data-tilt] { transition: transform .5s var(--ease); transform-style: preserve-3d; will-change: transform; }
.vtile.is-wide h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
@media (max-width: 1000px) {
  .vtiles, .vtiles.v4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .vtiles, .vtiles.v2, .vtiles.v4 { grid-template-columns: 1fr; }
  .vtile { min-height: 290px; }
  .vtile.is-wide { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { .vtile > img { transition: none; } a.vtile:hover > img { transform: none; } }

/* ---------- Edges ----------
   .neon      = the calm default: a hairline plus a short, static yellow accent on the top edge.
   .neon-live = the travelling streak of light; only on the brand film, and only while it is on screen (site.js). */
.neon { position: relative; isolation: isolate; box-shadow: 0 0 0 1px rgba(255, 255, 255, .09); }
.neon::before {
  content: ''; position: absolute; top: -1px; left: 24px; width: min(38%, 180px); height: 2px; border-radius: 2px; pointer-events: none; z-index: 4;
  background: linear-gradient(90deg, transparent, var(--neon) 30%, rgba(232, 230, 12, .55) 70%, transparent);
}
.neon:where([class*="tile"]:not(.tile-dark):not(.sol-tile), .bento-card, .c-form, .card-light) { box-shadow: var(--shadow-card); }
@property --neon-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.neon-live::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 2px; pointer-events: none; z-index: 4;
  background: conic-gradient(from var(--neon-a), transparent 0deg 280deg, rgba(232, 230, 12, .2) 305deg, rgba(232, 230, 12, .8) 340deg, #fffcb0 353deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: neon-run 18s linear infinite paused;
}
.neon-live.is-visible::after { animation-play-state: running; }
.neon-live::before { display: none; }
@keyframes neon-run { to { --neon-a: 360deg; } }
@media (prefers-reduced-motion: reduce) { .neon-live::after { animation: none; display: none; } }

/* ---------- Aanmelden band (every page): text left, the aanmeldmodule in its own card right ---------- */
.signup-band { padding: clamp(64px, 8vw, 104px) 0; }
.signup-band-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.signup-band-kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; color: var(--green-dark); margin: 0 0 12px; }
.signup-band-kicker svg { width: 22px; height: 11px; }
.signup-band h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.signup-band-lead { color: var(--muted); margin: 14px 0 0; max-width: 32em; font-size: 1.05rem; }
.signup-band-alt { color: var(--muted); font-size: .92rem; margin: 18px 0 0; }
.signup-band-alt a { color: var(--green-dark); font-weight: 650; }
.signup-band-form #ose-hero:empty { min-height: 240px; background: #fff; box-shadow: var(--shadow-card); }
@media (max-width: 860px) { .signup-band-grid { grid-template-columns: minmax(0, 1fr); } }

/* Page loader: the Shave mark with a colour wave; only shows when loading takes a moment */
.page-loader { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: var(--paper); opacity: 0; pointer-events: none; animation: pl-in .25s ease .35s forwards, pl-out .3s ease 8s forwards; }
.page-loader svg { width: 64px; height: auto; }
.page-loader .pl-base { fill: #243062; opacity: .12; }
.page-loader .pl-fill { clip-path: inset(0 100% 0 0); animation: pl-wave 1.3s cubic-bezier(.6, 0, .3, 1) infinite; }
html.is-loaded .page-loader { display: none; }
html.is-leaving .page-loader { display: grid; animation: pl-in .2s ease .15s forwards; background: rgba(244, 246, 241, .86); backdrop-filter: blur(4px); }
@keyframes pl-in { to { opacity: 1; } }
@keyframes pl-out { to { opacity: 0; visibility: hidden; } }
@keyframes pl-wave { 0% { clip-path: inset(0 100% 0 0); } 50% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 0 100%); } }
@media (prefers-reduced-motion: reduce) { .page-loader .pl-fill { animation: none; clip-path: none; } }

/* cookie banner: small, bottom left, equal weight for yes and no */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 80; max-width: 420px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: 0 12px 32px rgba(36, 48, 98, .18); font-size: .92rem; line-height: 1.5; }
.consent p { margin: 0 0 12px; }
.consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.consent-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.consent-btns .btn { flex: 1 1 120px; justify-content: center; }
.consent-btns .btn-ghost { color: var(--ink); background: #fff; border: 1.5px solid var(--ink); box-shadow: none; }
@media (max-width: 520px) { .consent { left: 8px; right: 8px; bottom: 8px; max-width: none; } }
.foot-bottom button[data-consent-open] { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: inherit; }
.prose .link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

/* FAQ contact card: two mailboxes, each with what it is for */
.contact-card .cc-mail { margin: 4px 0 0; display: grid; gap: 0; }
.contact-card .cc-mail span { font-size: .85rem; color: var(--muted, #5b6476); }
.contact-card .cc-mail a { overflow-wrap: break-word; }
/* footer: phone and mailboxes */
.site-footer .foot-contact { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; font-size: .92rem; }
.site-footer .foot-contact a { overflow-wrap: break-word; }
