/* Numabit web — gedeeld designsysteem voor numabit.com, .cloud, .io en .ai
   Gebaseerd op brandkit v1.1 (Signature 12). */

@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #2457FF;
  --blue-600: #1A44D6;
  --blue-050: #EEF2FF;
  --ink: #111111;
  --white: #FFFFFF;
  --mist: #F4F6FA;
  --slate: #5D667A;
  --line: #DCE2ED;
  --navy: #101B36;
  --navy-700: #1A2747;

  --font: "Inter", Arial, Helvetica, sans-serif;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgba(16, 27, 54, .04), 0 8px 24px rgba(16, 27, 54, .06);
  --shadow-lg: 0 2px 4px rgba(16, 27, 54, .04), 0 24px 48px rgba(16, 27, 54, .10);

  --container: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-600); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -0.025em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.4rem); letter-spacing: -0.04em; line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); letter-spacing: -0.035em; }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--white); border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- Netwerkbalk ---------- */
.network { background: var(--navy); color: rgba(255, 255, 255, .72); font-size: 13px; }
.network .container { display: flex; align-items: center; gap: 24px; height: 40px; overflow-x: auto; scrollbar-width: none; }
.network .container::-webkit-scrollbar { display: none; }
.network-label { flex: none; font-weight: 600; color: rgba(255, 255, 255, .5); }
.network ul { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; flex: none; }
.network a { color: rgba(255, 255, 255, .72); text-decoration: none; white-space: nowrap; }
.network a:hover { color: var(--white); }
.network a b { color: var(--white); font-weight: 600; }
.network a[aria-current="true"] { color: var(--white); }
.network a[aria-current="true"]::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--blue); vertical-align: 2px; box-shadow: 0 0 0 3px rgba(36, 87, 255, .25); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .container { display: flex; align-items: center; gap: 28px; height: 76px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 124px; height: auto; }
.brand-domain { padding: 3px 9px; border-radius: 999px; background: var(--blue-050); color: var(--blue); font-size: 13px; font-weight: 650; letter-spacing: -0.01em; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: var(--radius-sm); color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; }
.nav a:hover { background: var(--mist); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; align-items: center; padding: 3px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; }
.lang a, .lang span { padding: 4px 10px; border-radius: 999px; color: var(--slate); text-decoration: none; line-height: 1.4; }
.lang a:hover { color: var(--ink); }
.lang [aria-current="true"] { background: var(--ink); color: var(--white); }

.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Knoppen ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font: inherit; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-600); color: var(--white); }
.btn-secondary { background: var(--white); border-color: var(--line); color: var(--ink); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--mist); color: var(--ink); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn-ghost-light:hover { border-color: var(--white); color: var(--white); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 112px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; padding: 6px 14px 6px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--slate); font-size: 14px; font-weight: 550; }
.eyebrow::before { content: ""; width: 8px; height: 8px; margin-left: 4px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-050); }
.hero h1 { max-width: 13ch; }
.hero h1 em { font-style: normal; color: var(--blue); }
.lead { max-width: 54ch; margin-top: 24px; color: var(--slate); font-size: clamp(1.06rem, 1rem + .35vw, 1.25rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 36px 0 0; padding: 0; list-style: none; color: var(--slate); font-size: 15px; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks svg { width: 18px; height: 18px; flex: none; color: var(--blue); }

/* Merkvisual: mist-vlak met blauwe cirkel (motief "punt") en zwevende kaarten */
.visual { position: relative; aspect-ratio: 1 / 1; max-width: 540px; width: 100%; margin-left: auto; border-radius: var(--radius-lg); background: var(--mist); overflow: hidden; isolation: isolate; }
.visual::before { content: ""; position: absolute; right: -22%; bottom: -26%; width: 92%; aspect-ratio: 1; border-radius: 50%; background: var(--blue); z-index: -1; }
.visual::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(16, 27, 54, .09) 1px, transparent 1px); background-size: 20px 20px; mask-image: linear-gradient(to bottom right, #000 20%, transparent 65%); -webkit-mask-image: linear-gradient(to bottom right, #000 20%, transparent 65%); z-index: -2; }
.visual-mark { position: absolute; right: 15%; bottom: 17%; width: 32%; }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid rgba(220, 226, 237, .8); border-radius: 14px; background: rgba(255, 255, 255, .96); box-shadow: var(--shadow-lg); font-size: 14px; line-height: 1.35; animation: float 7s ease-in-out infinite; }
.float-card strong { display: block; font-weight: 650; letter-spacing: -0.01em; }
.float-card span { color: var(--slate); font-size: 13px; }
.float-card .dot { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--blue-050); color: var(--blue); }
.float-card .dot svg { width: 18px; height: 18px; }
.float-card.c1 { top: 9%; left: 7%; }
.float-card.c2 { top: 33%; left: 22%; animation-delay: -2.4s; }
.float-card.c3 { top: 57%; left: 5%; animation-delay: -4.8s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- Secties ---------- */
.section { padding: var(--section) 0; }
.section-mist { background: var(--mist); }
.section-tight { padding-top: 0; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: block; margin-bottom: 14px; color: var(--blue); font-size: 14px; font-weight: 650; letter-spacing: .02em; text-transform: uppercase; }
.section-head p { margin-top: 18px; color: var(--slate); font-size: 1.125rem; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card { position: relative; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .2s, box-shadow .2s, transform .2s; }
.card:hover { border-color: #C4CEE0; box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin-top: 22px; }
.card p { margin-top: 10px; color: var(--slate); font-size: 16px; }
.card .more { margin-top: auto; padding-top: 20px; font-size: 15px; font-weight: 600; text-decoration: none; }
.icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--blue-050); color: var(--blue); }
.icon svg { width: 24px; height: 24px; }
.card-link { position: absolute; inset: 0; border-radius: inherit; }

.list { margin: 16px 0 0; padding: 0; list-style: none; }
.list li { position: relative; padding: 6px 0 6px 26px; color: var(--ink); font-size: 15.5px; line-height: 1.5; }
.list li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 14px; height: 8px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.feature + .feature { margin-top: clamp(64px, 8vw, 112px); }
.feature.reverse .feature-media { order: -1; }
.feature h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); }
.feature p { margin-top: 18px; color: var(--slate); font-size: 1.08rem; }

.panel { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--mist); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding: 0; list-style: none; }
.chips li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-size: 14px; font-weight: 500; }

/* Stappen */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; padding: 28px 24px 8px 0; border-top: 2px solid var(--line); }
.steps li::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 20px; color: var(--blue); font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.steps li:first-child { border-top-color: var(--blue); }
.steps h3 { font-size: 1.3rem; }
.steps p { margin-top: 10px; color: var(--slate); font-size: 16px; }

/* Donkere sectie met motief "snede" */
.section-dark { position: relative; background: var(--navy); color: var(--white); overflow: hidden; isolation: isolate; }
.section-dark::before { content: ""; position: absolute; inset: auto -10% -40% -10%; height: 70%; background: linear-gradient(170deg, transparent 49.6%, rgba(255, 255, 255, .14) 49.8%, rgba(255, 255, 255, .14) 50.2%, rgba(36, 87, 255, .16) 50.4%); z-index: -1; }
.section-dark .kicker { color: #8FA8FF; }
.section-dark .section-head p, .section-dark p { color: rgba(255, 255, 255, .72); }
.section-dark .card { border-color: rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); }
.section-dark .card:hover { border-color: rgba(255, 255, 255, .28); box-shadow: none; }
.section-dark .card p { color: rgba(255, 255, 255, .7); }
.section-dark .icon { background: rgba(36, 87, 255, .22); color: #A9BCFF; }
.section-dark .steps li { border-top-color: rgba(255, 255, 255, .16); }
.section-dark .steps li:first-child { border-top-color: var(--blue); }
.section-dark .steps li::before { color: #8FA8FF; }

/* Kengetallen / pijlers */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.pillar h3 { margin-top: 20px; font-size: 1.25rem; }
.pillar p { margin-top: 12px; }

/* Codeblok (numabit.io) */
.code { margin: 0; padding: 24px; border-radius: var(--radius); background: var(--navy); color: #DCE4FF; font: 14px/1.7 ui-monospace, "SF Mono", Consolas, monospace; overflow-x: auto; box-shadow: var(--shadow-lg); }
.code .c { color: #7D8BAE; } .code .k { color: #8FA8FF; } .code .s { color: #9BE3C5; } .code .n { color: #FFC98A; }
.code-title { display: flex; align-items: center; gap: 6px; margin: -8px 0 16px; color: #7D8BAE; font-size: 12.5px; }
.code-title i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .16); }

/* CTA-band */
.cta { position: relative; padding: clamp(48px, 7vw, 88px); border-radius: var(--radius-lg); background: var(--blue); color: var(--white); overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; right: -8%; top: -60%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .1); z-index: -1; }
.cta::after { content: ""; position: absolute; right: 8%; bottom: -70%; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--navy); opacity: .35; z-index: -1; }
.cta h2 { max-width: 18ch; }
.cta p { max-width: 52ch; margin-top: 16px; color: rgba(255, 255, 255, .86); font-size: 1.125rem; }
.cta .hero-actions { margin-top: 32px; }

/* Contact */
.contact-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { width: 44px; height: 44px; flex: none; }
.contact-list strong { display: block; font-weight: 650; }
.contact-list span { color: var(--slate); font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 32px; background: var(--ink); color: rgba(255, 255, 255, .7); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 128px; height: auto; }
.footer-brand p { max-width: 34ch; margin-top: 18px; }
.site-footer h2 { margin-bottom: 14px; color: var(--white); font-size: 14px; font-weight: 650; letter-spacing: 0; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; color: rgba(255, 255, 255, .5); }

/* ---------- Animatie bij scrollen ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsief ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .site-header .container { gap: 16px; }
  .nav, .header-actions { display: none; }
  .site-header.menu-open .nav,
  .site-header.menu-open .header-actions { display: flex; }
  .site-header.menu-open .container { flex-wrap: wrap; height: auto; min-height: 76px; padding-top: 16px; padding-bottom: 20px; }
  .site-header.menu-open .nav { order: 3; flex-direction: column; align-items: stretch; width: 100%; margin: 8px 0 0; }
  .site-header.menu-open .nav a { padding: 12px; font-size: 17px; }
  .site-header.menu-open .header-actions { order: 4; width: 100%; justify-content: space-between; }
  .hero-grid, .feature { grid-template-columns: minmax(0, 1fr); }
  .feature.reverse .feature-media { order: 0; }
  .visual { max-width: 480px; margin: 0 auto; }
  .grid-3, .steps, .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand img { width: 112px; }
  .grid-2, .grid-3, .grid-4, .steps, .pillars, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn { width: 100%; }
  .float-card { padding: 10px 12px; font-size: 13px; }
  .float-card .dot { width: 30px; height: 30px; }
  .float-card.c2 { left: 14%; }
  .card { padding: 24px; }
  .cta { padding: 40px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .network, .site-header, .cta, .site-footer { display: none; }
}

/* =====================================================================
   UX-verfijning v2
   ===================================================================== */

/* Header: compacter na scrollen, actieve sectie in de navigatie */
.site-header .container { transition: height .25s ease; }
.site-header.is-scrolled { background: rgba(255, 255, 255, .94); box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(16, 27, 54, .05); }
.site-header.is-scrolled .container { height: 64px; }
.nav a { position: relative; transition: color .15s, background .15s; }
.nav a.is-active { color: var(--blue); }
.nav a.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--blue); }

/* Hero: diepte met zachte gloed en fijn raster */
.hero { isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(36, 87, 255, .10), transparent 70%); z-index: -1; pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; opacity: .35; mask-image: radial-gradient(ellipse 70% 60% at 30% 30%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 30%, #000, transparent 75%); z-index: -2; pointer-events: none; }
.hero .lead { color: #4B5468; }
.checks li { padding: 6px 12px 6px 8px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .7); }
.checks { gap: 10px; }

/* Sectiekoppen: redactionele tweekolomsopbouw op desktop */
@media (min-width: 961px) {
  .section-head:not(.center):has(> p) { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); grid-template-areas: "kicker kicker" "title intro"; column-gap: clamp(40px, 6vw, 96px); align-items: end; max-width: none; }
  .section-head:not(.center):has(> p) > .kicker { grid-area: kicker; }
  .section-head:not(.center):has(> p) > h2 { grid-area: title; }
  .section-head:not(.center):has(> p) > p { grid-area: intro; margin-top: 0; padding-bottom: 6px; }
}
.section-head h2 { max-width: 20ch; }

/* Kaarten: volledig klikbaar als er een link in staat, duidelijke affordance */
.card .more::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card .more::after { content: " →"; display: inline-block; transition: transform .2s; }
.card:has(.more):hover .more::after { transform: translateX(4px); }
.card:has(.more):hover { border-color: var(--blue); }
.card:has(.more):focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
.card .more:focus-visible { outline: none; }
.card .icon { transition: background .2s, color .2s; }
.card:hover .icon { background: var(--blue); color: var(--white); }
.section-dark .card:hover .icon { background: var(--blue); color: var(--white); }

/* Afsluitend contactblok: uitnodiging links, concrete gegevens rechts */
.cta { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cta-main { min-width: 0; }
.cta-aside { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cta-aside li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 14px; background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cta-aside .ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .16); }
.cta-aside .ico svg { width: 20px; height: 20px; }
.cta-aside small { display: block; color: rgba(255, 255, 255, .72); font-size: 13px; line-height: 1.3; }
.cta-aside strong, .cta-aside a { display: block; color: var(--white); font-size: 16px; font-weight: 600; line-height: 1.35; text-decoration: none; overflow-wrap: anywhere; }
.cta-aside a:hover { text-decoration: underline; color: var(--white); }

/* Mobiel menu als volwaardig paneel */
@media (max-width: 960px) {
  .site-header.menu-open { position: fixed; inset: 0; overflow-y: auto; background: var(--white); }
  .site-header.menu-open .nav a { border-bottom: 1px solid var(--line); border-radius: 0; font-size: 20px; font-weight: 600; padding: 16px 4px; }
  .site-header.menu-open .nav a.is-active::after { display: none; }
  .site-header.menu-open .header-actions { margin-top: 24px; flex-direction: column; align-items: stretch; gap: 16px; }
  .site-header.menu-open .header-actions .btn { width: 100%; min-height: 52px; font-size: 17px; }
  .site-header.menu-open .lang { align-self: flex-start; }
  body.menu-locked { overflow: hidden; }
  .cta { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  h1 { font-size: clamp(2.25rem, 1.4rem + 5vw, 2.9rem); }
  .hero { padding-top: 40px; }
  .visual { aspect-ratio: 5 / 4; }
  .visual::before { width: 70%; right: -12%; bottom: -30%; }
  .visual-mark { width: 24%; right: 12%; bottom: 14%; }
  .float-card.c1 { top: 8%; left: 5%; }
  .float-card.c2 { top: 37%; left: 16%; }
  .float-card.c3 { top: 66%; left: 5%; }
  .checks li { font-size: 14px; }
}

/* =====================================================================
   Animatielaag v3 — alleen actief met JavaScript en zonder "minder beweging"
   ===================================================================== */
@property --mx { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --my { syntax: "<number>"; inherits: true; initial-value: 0; }

:root { --ease-out: cubic-bezier(.16, 1, .3, 1); }

/* Scrollvoortgang */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 3px; background: linear-gradient(90deg, var(--blue), #6F8CFF); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }

/* --- Opening van de hero --- */
.js .hero h1:not(.is-split) { opacity: 0; animation: failsafe 0s linear 1.2s forwards; }
@keyframes failsafe { to { opacity: 1; } }
.js .hero h1 .w { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(2deg); filter: blur(8px); animation: word-in .9s var(--ease-out) forwards; animation-delay: calc(120ms + var(--i) * 70ms); }
@keyframes word-in { to { opacity: 1; transform: none; filter: blur(0); } }

.hero h1 em { background: linear-gradient(var(--blue-050), var(--blue-050)) no-repeat 0 86% / 100% .26em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.js .hero h1 em { background-size: 0% .26em; animation: mark-in .9s var(--ease-out) forwards; animation-delay: calc(240ms + var(--words, 4) * 70ms); }
@keyframes mark-in { to { background-size: 100% .26em; } }

.js .hero :is(.eyebrow, .lead, .hero-actions, .checks) { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease-out) forwards; }
.js .hero .eyebrow { animation-delay: 40ms; }
.js .hero .lead { animation-delay: 420ms; }
.js .hero .hero-actions { animation-delay: 540ms; }
.js .hero .checks { animation-delay: 660ms; }
@keyframes rise { to { opacity: 1; transform: none; } }

.js .hero :is(.visual, .dash-stage) { opacity: 0; transform: translateY(24px) scale(.97); animation: rise 1.1s var(--ease-out) 200ms forwards; }
.js .hero .visual::before, .js .hero .dash-stage::before { transform: scale(.4); opacity: 0; animation: orb-in 1.4s var(--ease-out) 450ms forwards; }
@keyframes orb-in { to { transform: scale(1); opacity: 1; } }
.js .hero .visual-mark { opacity: 0; animation: mark-pop 1s var(--ease-out) 1s forwards; }
@keyframes mark-pop { from { opacity: 0; transform: scale(.7) rotate(-8deg); } to { opacity: 1; transform: none; } }

.js .float-card { opacity: 0; animation: card-in .8s var(--ease-out) forwards, float 7s ease-in-out infinite; }
.js .float-card.c1 { animation-delay: 800ms, 1.6s; }
.js .float-card.c2 { animation-delay: 1000ms, -.8s; }
.js .float-card.c3 { animation-delay: 1200ms, -3.2s; }
@keyframes card-in { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: none; } }
.float-card .dot { position: relative; }
.float-card .dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(36, 87, 255, .35); animation: ping 2.8s ease-out infinite; }
.float-card.c2 .dot::after { animation-delay: .9s; } .float-card.c3 .dot::after { animation-delay: 1.8s; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(36, 87, 255, .35); } 70%, 100% { box-shadow: 0 0 0 10px rgba(36, 87, 255, 0); } }

/* Zwevende gloed in de hero */
.hero::before { animation: glow-drift 14s ease-in-out infinite alternate; }
@keyframes glow-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-6%, 8%) scale(1.15); } }

/* Parallax op de merkvisual (muis) — losse 'translate' zodat transform-animaties blijven werken */
.visual, .dash-stage { --mx: 0; --my: 0; transition: --mx .5s var(--ease-out), --my .5s var(--ease-out); }
.visual .float-card.c1 { translate: calc(var(--mx) * -14px) calc(var(--my) * -10px); }
.visual .float-card.c2 { translate: calc(var(--mx) * 22px) calc(var(--my) * 16px); }
.visual .float-card.c3 { translate: calc(var(--mx) * -8px) calc(var(--my) * 20px); }
.visual .visual-mark { translate: calc(var(--mx) * 12px) calc(var(--my) * 12px); }
.visual::before, .dash-stage::before { translate: calc(var(--mx) * 18px) calc(var(--my) * 18px); }
.dash-stage .dash { translate: calc(var(--mx) * -8px) calc(var(--my) * -6px); rotate: x calc(var(--my) * -3deg); }
.dash-stage { perspective: 900px; }

/* Magnetische knoppen */
.btn.is-magnetic { translate: var(--bx, 0) var(--by, 0); transition: translate .35s var(--ease-out), background .15s, color .15s, border-color .15s; }

/* --- Bij scrollen --- */
.js .reveal { transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transform: translateY(28px); }
.js .reveal.is-visible { transition-delay: var(--d, 0ms); }
.js .card.reveal .icon { transform: scale(.6) rotate(-12deg); opacity: 0; transition: transform .7s var(--ease-out), opacity .5s, background .2s, color .2s; transition-delay: calc(var(--d, 0ms) + 200ms); }
.js .card.reveal.is-visible .icon { transform: none; opacity: 1; }

/* Kicker met groeiend lijntje */
.kicker { display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.js .reveal .kicker::before { width: 0; transition: width .8s var(--ease-out) .25s; }
.js .reveal.is-visible .kicker::before { width: 22px; }

/* Stappen: lijn die zich tekent, stap per stap */
.steps li { border-top-color: var(--line) !important; }
.steps li::after { content: ""; position: absolute; left: 0; top: -2px; height: 2px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1s var(--ease-out); transition-delay: calc(var(--d, 0ms) + 250ms); }
.steps li.is-visible::after, html:not(.js) .steps li::after { transform: scaleX(1); }
.section-dark .steps li { border-top-color: rgba(255, 255, 255, .16) !important; }

/* Donkere sectie: de 'snede' schuift binnen */
.js .section-dark::before { transform: translateY(30%); opacity: 0; transition: transform 1.6s var(--ease-out), opacity 1.2s; }
.js .section-dark.in-view::before { transform: none; opacity: 1; }

/* Lichtspot op kaarten */
.card { background-image: radial-gradient(480px circle at var(--sx, -999px) var(--sy, -999px), rgba(36, 87, 255, .08), transparent 42%); }
.section-dark .card { background-image: radial-gradient(420px circle at var(--sx, -999px) var(--sy, -999px), rgba(143, 168, 255, .16), transparent 45%); }

/* CTA: zwevende cirkels */
.cta::before { animation: drift-a 16s ease-in-out infinite alternate; }
.cta::after { animation: drift-b 19s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(-8%, 12%) scale(1.08); } }
@keyframes drift-b { to { transform: translate(10%, -10%) scale(.92); } }
.js .cta-aside li { opacity: 0; transform: translateX(16px); transition: opacity .6s, transform .7s var(--ease-out); }
.js .cta.is-visible .cta-aside li { opacity: 1; transform: none; }
.js .cta.is-visible .cta-aside li:nth-child(2) { transition-delay: .1s; }
.js .cta.is-visible .cta-aside li:nth-child(3) { transition-delay: .2s; }
.js .cta.is-visible .cta-aside li:nth-child(4) { transition-delay: .3s; }

/* numabit.io: grafiek tekent zichzelf, 'nu'-punt pulseert */
.js .dash-chart .line-gen { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.js .dash-chart.is-drawn .line-gen { animation: draw 1.8s var(--ease-out) .9s forwards; }
.js .dash-chart.is-drawn .line-use { animation: draw-dash 1.8s var(--ease-out) 1.1s forwards; opacity: 0; }
.js .dash-chart .area { opacity: 0; transition: opacity 1.2s ease 1.8s; }
.js .dash-chart.is-drawn .area { opacity: .1; }
.js .dash-chart .now { opacity: 0; transform-box: fill-box; transform-origin: center; }
.js .dash-chart.is-drawn .now { animation: now-in .5s var(--ease-out) 2.5s forwards, now-pulse 2.2s ease-out 3s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes draw-dash { to { opacity: 1; } }
@keyframes now-in { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: none; } }
@keyframes now-pulse { 0% { filter: drop-shadow(0 0 0 rgba(36, 87, 255, .6)); } 100% { filter: drop-shadow(0 0 8px rgba(36, 87, 255, 0)); } }
.dash-bar .live::before { animation: live 1.6s ease-in-out infinite; }
@keyframes live { 50% { box-shadow: 0 0 0 6px rgba(36, 87, 255, .12); } }

@media (prefers-reduced-motion: reduce) {
  .js .hero h1 .w, .js .hero :is(.eyebrow, .lead, .hero-actions, .checks, .visual, .dash-stage), .js .float-card, .js .hero .visual-mark { opacity: 1; transform: none; filter: none; }
  .steps li::after { transform: none; }
  .js .hero h1 em { background-size: 100% .26em; }
  .js .hero h1:not(.is-split) { opacity: 1; }
  .js .hero .visual::before, .js .hero .dash-stage::before { opacity: 1; transform: none; }
  .js .card.reveal .icon, .js .cta-aside li, .js .section-dark::before { opacity: 1; transform: none; }
  .js .dash-chart .line-gen { stroke-dashoffset: 0; } .js .dash-chart .line-use { opacity: 1; }
  .js .dash-chart .area { opacity: .1; } .js .dash-chart .now { opacity: 1; }
  .scroll-progress { display: none; }
}

/* =====================================================================
   Productspotlight (NumaPBX e.a.)
   ===================================================================== */
.network-sep { flex: none; width: 1px; height: 16px; background: rgba(255, 255, 255, .18); }

.spotlight { position: relative; overflow: hidden; isolation: isolate; }
.spotlight::before { content: ""; position: absolute; left: -12%; top: 10%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(36, 87, 255, .10), transparent 70%); z-index: -1; }
.product-badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--navy); color: var(--white); font-size: 14px; font-weight: 600; }
.product-badge b { padding: 3px 10px; border-radius: 999px; background: var(--blue); font-weight: 700; letter-spacing: .01em; }
.spotlight .hero-actions { margin-top: 28px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.facts li { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.facts strong { display: block; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; color: var(--blue); line-height: 1.2; }
.facts span { display: block; margin-top: 4px; color: var(--slate); font-size: 14px; line-height: 1.35; }

/* Gespreksmock-up */
.call { position: relative; max-width: 500px; margin-left: auto; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-lg); }
.call-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.call-avatar { position: relative; display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: var(--white); font-weight: 700; }
.call-avatar::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--blue); opacity: 0; animation: ring 2s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.9); opacity: .6; } 100% { transform: scale(1.35); opacity: 0; } }
.call-head strong { display: block; font-weight: 650; }
.call-head span { color: var(--slate); font-size: 13.5px; }
.wave { display: flex; align-items: center; gap: 3px; height: 24px; margin-left: auto; }
.wave i { width: 3px; height: 30%; border-radius: 2px; background: var(--blue); animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: -.9s; } .wave i:nth-child(3) { animation-delay: -.6s; } .wave i:nth-child(4) { animation-delay: -.3s; } .wave i:nth-child(5) { animation-delay: -.75s; }
@keyframes wave { 0%, 100% { height: 25%; } 50% { height: 95%; } }
.call-body { display: grid; gap: 10px; padding: 18px 0 4px; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; }
.msg small { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 650; opacity: .75; }
.msg.maya { justify-self: start; border-bottom-left-radius: 4px; background: var(--blue-050); color: var(--ink); }
.msg.maya small { color: var(--blue); opacity: 1; }
.msg.caller { justify-self: end; border-bottom-right-radius: 4px; background: var(--mist); color: var(--ink); }
.call-task { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--navy); color: var(--white); font-size: 14px; line-height: 1.4; }
.call-task .ico { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px; background: var(--blue); }
.call-task .ico svg { width: 18px; height: 18px; }
.call-task small { display: block; color: rgba(255, 255, 255, .65); font-size: 12px; }

.js .call .msg, .js .call .call-task { opacity: 0; transform: translateY(10px) scale(.98); }
.call.is-visible .msg, .call.is-visible .call-task { animation: bubble .6s var(--ease-out) forwards; }
.call.is-visible .msg:nth-child(1) { animation-delay: .3s; }
.call.is-visible .msg:nth-child(2) { animation-delay: 1.3s; }
.call.is-visible .msg:nth-child(3) { animation-delay: 2.3s; }
.call.is-visible .msg:nth-child(4) { animation-delay: 3.3s; }
.call.is-visible .call-task { animation-delay: 4.3s; }
@keyframes bubble { to { opacity: 1; transform: none; } }

/* Compacte promobanner */
.promo { display: flex; align-items: center; gap: 20px; margin-top: 28px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.promo .call-avatar { width: 48px; height: 48px; }
.promo p { flex: 1; color: var(--slate); font-size: 16px; }
.promo p strong { display: block; color: var(--ink); font-size: 17px; font-weight: 650; }
.promo .btn { flex: none; }

@media (max-width: 960px) {
  .call { margin: 0 auto; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .promo { flex-direction: column; align-items: flex-start; }
  .promo .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .js .call .msg, .js .call .call-task { opacity: 1; transform: none; }
}
.spotlight .kicker { display: flex; }

/* Juridische pagina's */
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(24px, 3vw, 40px); }
.page-head h1 { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem); }
.page-head p { max-width: 60ch; margin-top: 16px; color: var(--slate); font-size: 1.1rem; }
.prose { max-width: 760px; padding-bottom: var(--section); }
.prose h2 { margin: 48px 0 12px; font-size: 1.45rem; letter-spacing: -0.02em; }
.prose p, .prose li { color: #3E4657; font-size: 16.5px; line-height: 1.7; }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 12px 0 0; padding-left: 20px; }
.prose li + li { margin-top: 6px; }
.prose .note { margin-top: 24px; padding: 16px 20px; border-left: 3px solid var(--blue); border-radius: 0 12px 12px 0; background: var(--mist); }
.prose dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 12px 0 0; }
.prose dt { font-weight: 600; } .prose dd { margin: 0; color: #3E4657; }
@media (max-width: 640px) { .prose dl { grid-template-columns: 1fr; gap: 2px; } .prose dd { margin-bottom: 10px; } }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom > span:first-child { max-width: 80ch; }
.call-head .call-avatar, .promo .call-avatar { color: var(--white); font-size: 17px; }

/* Productaankondiging bovenaan de hero */
.announce { display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 12px; margin-bottom: 20px; padding: 6px 14px 6px 6px; border: 1px solid #C9D5FF; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 15px; font-weight: 550; text-decoration: none; box-shadow: 0 4px 16px rgba(36, 87, 255, .10); transition: border-color .2s, box-shadow .2s, transform .2s; }
.announce b { flex: none; padding: 4px 11px; border-radius: 999px; background: var(--blue); color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: .01em; }
.announce span { min-width: 0; }
.announce svg { flex: none; width: 16px; height: 16px; color: var(--blue); transition: transform .2s; }
.announce:hover { border-color: var(--blue); color: var(--ink); box-shadow: 0 6px 22px rgba(36, 87, 255, .18); transform: translateY(-1px); }
.announce:hover svg { transform: translateX(3px); }
.hero .announce + .eyebrow { display: none; }
.js .hero .announce { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease-out) 40ms forwards; }
@media (max-width: 640px) { .announce { font-size: 14px; border-radius: 18px; } }
@media (prefers-reduced-motion: reduce) { .js .hero .announce { opacity: 1; transform: none; } }
