/* =====================================================================
   D-SVR SOLUTIONS — Design System
   Brand colours (Stijlgids v1.0): Navy #0A1F44 · Cyaan #00D4FF · Wit #FFFFFF
   ===================================================================== */

/* ---- Self-hosted variable fonts (no Google Fonts request needed) ---- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-var-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: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-var-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;
}

:root {
  /* --- Brand core --- */
  --navy:            #0A1F44;   /* Primair donkerblauw */
  --cyan:            #00D4FF;   /* Accent cyaan */
  --cyan-deep:       #00B8E6;   /* Logo-gradient eindkleur */
  --white:           #FFFFFF;

  /* --- Derived dark theme surfaces (on-brand tints of navy) --- */
  --bg-0:            #060F24;   /* Deepest background */
  --bg-1:            #0A1F44;   /* Navy base */
  --bg-2:            #0E2750;   /* Raised surface */
  --glass:           rgba(16, 38, 78, 0.55);
  --glass-strong:    rgba(20, 46, 92, 0.78);
  --glass-border:    rgba(0, 212, 255, 0.14);
  --hairline:        rgba(255, 255, 255, 0.08);

  /* --- Text --- */
  --text:            #EAF2FF;   /* Off-white body on dark */
  --text-strong:     #FFFFFF;
  --text-muted:      #93A7C7;   /* Muted blue-grey */
  --text-faint:      #6580A8;

  /* --- Accent gradients --- */
  --grad-cyan:       linear-gradient(135deg, #00D4FF 0%, #00B8E6 100%);
  --grad-brand:      linear-gradient(135deg, #00D4FF 0%, #3E7BFF 100%);
  --grad-text:       linear-gradient(120deg, #FFFFFF 0%, #9FE9FF 60%, #00D4FF 100%);
  --grad-aurora:     radial-gradient(60% 60% at 20% 20%, rgba(0,212,255,0.22), transparent 60%),
                     radial-gradient(50% 50% at 85% 15%, rgba(62,123,255,0.18), transparent 60%),
                     radial-gradient(60% 60% at 75% 90%, rgba(0,212,255,0.10), transparent 60%);

  /* --- Effects --- */
  --glow-cyan:       0 0 40px rgba(0, 212, 255, 0.35);
  --shadow-sm:       0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-md:       0 12px 40px rgba(3, 10, 28, 0.45);
  --shadow-lg:       0 30px 80px rgba(2, 8, 24, 0.6);

  /* --- Type --- */
  --font-head:       'Montserrat', 'Arial Black', Arial, Helvetica, sans-serif;
  --font-body:       'Inter', Arial, Helvetica, sans-serif;

  /* --- Layout --- */
  --container:       1240px;
  --radius:          18px;
  --radius-lg:       28px;
  --radius-pill:     999px;
  --section-y:       clamp(4.5rem, 9vw, 8rem);
  --ease:            cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.7;
  font-size: 1.02rem;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Persistent ambient background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(70% 50% at 50% -10%, rgba(0, 212, 255, 0.10), transparent 60%),
    radial-gradient(50% 50% at 100% 0%, rgba(62, 123, 255, 0.08), transparent 55%),
    linear-gradient(180deg, #081634 0%, #060F24 45%, #050B1B 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 75%);
          mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 75%);
}

img { max-width: 100%; display: block; }
::selection { background: var(--cyan); color: var(--navy); }

/* Accessibility */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--cyan); color: var(--navy); padding: 0.8rem 1.4rem;
  border-radius: 0 0 10px 0; font-weight: 700; font-family: var(--font-head);
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* ============================ Typography ============================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--text-strong);
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  font-weight: 800;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.1rem; font-weight: 700; }
p  { margin: 0 0 1.2rem; color: var(--text); }

a { color: var(--cyan); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--white); }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--text-muted); font-weight: 300; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-head); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--cyan);
  padding: 0.45rem 1rem; border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill); background: rgba(0,212,255,0.05);
  margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: var(--glow-cyan); }

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.cyan { color: var(--cyan); }

/* ============================ Layout ============================ */
.container { width: min(92%, var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.text-center { text-align: center; }
.section-head { max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section-head p { color: var(--text-muted); font-size: 1.1rem; }

.divider-glow {
  height: 1px; border: 0; margin: 0;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.4), transparent);
}

/* ============================ Buttons ============================ */
.btn {
  --_bg: var(--grad-cyan);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-head); font-weight: 700; font-size: 0.92rem;
  letter-spacing: 0.04em; padding: 0.95rem 1.9rem; border-radius: var(--radius-pill);
  border: 1px solid transparent; cursor: pointer; position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn-primary {
  background: var(--grad-cyan); color: var(--navy);
  box-shadow: 0 8px 26px rgba(0, 212, 255, 0.32);
}
.btn-primary:hover { transform: translateY(-3px); color: var(--navy); box-shadow: 0 14px 38px rgba(0, 212, 255, 0.5); }
.btn-ghost {
  background: rgba(255,255,255,0.03); color: var(--text-strong);
  border-color: var(--hairline); backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-3px); color: var(--white); border-color: var(--cyan); background: rgba(0,212,255,0.08); }
.btn-lg { padding: 1.1rem 2.4rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ============================ Glass cards ============================ */
/* NB: content-dragende panelen gebruiken bewust GEEN backdrop-filter.
   Meerdere blur-lagen tegelijk (of blur + overflow:hidden + border-radius)
   renderen op veel mobiele GPU's leeg/blanco (bekende iOS Safari / mobiel
   Chrome-bug). Daarom een iets dekkendere vaste achtergrond i.p.v. blur. */
.glass {
  background: rgba(14, 34, 68, 0.82);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.card {
  position: relative; padding: 2.2rem; border-radius: var(--radius); overflow: hidden;
  background: rgba(14, 34, 68, 0.82);
  border: 1px solid var(--hairline);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease), background 0.45s var(--ease);
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 80% at 50% -20%, rgba(0,212,255,0.10), transparent 60%);
  opacity: 0; transition: opacity 0.45s var(--ease);
}
.card:hover { transform: translateY(-8px); border-color: var(--glass-border); background: var(--glass-strong); box-shadow: var(--shadow-lg), var(--glow-cyan); }
.card:hover::after { opacity: 1; }

.card-icon {
  width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center;
  margin-bottom: 1.4rem; font-size: 1.6rem;
  background: rgba(0,212,255,0.10); border: 1px solid var(--glass-border);
  color: var(--cyan); box-shadow: inset 0 0 20px rgba(0,212,255,0.12);
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { color: var(--text-strong); }
.card p { color: var(--text-muted); font-size: 0.98rem; margin-bottom: 0; }

.feature-list { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 0.7rem;
  color: var(--text-muted); font-size: 0.94rem; padding: 0.45rem 0;
  border-top: 1px solid var(--hairline);
}
.feature-list li:first-child { border-top: 0; }
.feature-list li::before {
  content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--grad-cyan) padding-box;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/14px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/14px no-repeat;
}

/* ============================ Grids ============================ */
.grid { display: grid; gap: 1.6rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
/* Grid-items mogen krimpen onder hun min-content (anders duwt de device-mockup
   de kolom breder dan het scherm op mobiel). */
.split > * { min-width: 0; }

/* ============================ Navbar ============================ */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  padding: 1rem 0; transition: padding 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
/* Glass-achtergrond op een pseudo-element: backdrop-filter op .navbar zelf zou
   het fixed mobiele menu (.nav-links) in de navbar "opsluiten". */
.navbar::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(8, 18, 40, 0.72);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.navbar.scrolled { border-bottom-color: var(--hairline); padding: 0.65rem 0; }
.navbar.scrolled::before { opacity: 1; }
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav-logo { display: inline-flex; align-items: center; }
.nav-logo svg { height: 40px; width: auto; display: block; }
.nav-links { list-style: none; display: flex; gap: 2.2rem; margin: 0; padding: 0; align-items: center; }
.nav-links a {
  font-family: var(--font-head); font-weight: 600; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted);
  position: relative; padding: 0.3rem 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--grad-cyan); transition: width 0.3s var(--ease); border-radius: 2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: inline-flex; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 0.4rem;
  width: 44px; height: 44px; position: relative; z-index: 1100;
}
.nav-toggle span { display: block; width: 26px; height: 2px; margin: 5px auto; background: var(--white); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.25s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================ Hero ============================ */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: 8rem 0 3.5rem; overflow: hidden;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-aurora {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: var(--grad-aurora);
  animation: auroraDrift 16s ease-in-out infinite alternate;
}
@keyframes auroraDrift { from { transform: translate3d(-2%, -1%, 0) scale(1); } to { transform: translate3d(2%, 2%, 0) scale(1.08); } }
.hero-content { position: relative; z-index: 2; max-width: 880px; }
.hero h1 { margin-bottom: 1.5rem; }
.hero .lead { max-width: 620px; margin-bottom: 2rem; font-size: clamp(1.05rem, 1.6vw, 1.32rem); color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 1.4rem 2.5rem; margin-top: 2.4rem; }
.hero-badge { display: flex; flex-direction: column; }
.hero-badge b { font-family: var(--font-head); font-size: 1.9rem; color: var(--white); line-height: 1; }
.hero-badge span { font-size: 0.82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.4rem; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%);
  z-index: 2; display: grid; place-items: center; gap: 0.5rem;
  color: var(--text-faint); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.scroll-cue .mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,0.25); border-radius: 14px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; background: var(--cyan); border-radius: 2px; transform: translateX(-50%); animation: scrollWheel 1.6s ease-in-out infinite; }
@keyframes scrollWheel { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 12px); } 100% { opacity: 0; } }

/* ============================ Marquee / trust strip ============================ */
.marquee { overflow: hidden; border-block: 1px solid var(--hairline); padding: 1.6rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--text-faint); letter-spacing: 0.04em; display: inline-flex; align-items: center; gap: 0.6rem; white-space: nowrap; }
.marquee-item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); opacity: 0.6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================ Stats ============================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: center; padding: 2rem 1rem; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { display: block; margin-top: 0.7rem; color: var(--text-muted); font-size: 0.92rem; letter-spacing: 0.04em; }

/* ============================ About visual / device mock ============================ */
.visual-stage { position: relative; min-height: 420px; display: grid; place-items: center; }
.orbit-glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; }
.orbit-glow.a { width: 260px; height: 260px; background: var(--cyan); top: -30px; right: -20px; }
.orbit-glow.b { width: 200px; height: 200px; background: #3E7BFF; bottom: -10px; left: -10px; opacity: 0.35; }

.mock-window {
  position: relative; z-index: 1; width: 100%; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(20,46,92,0.9), rgba(10,24,52,0.92));
  border: 1px solid var(--glass-border); box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--hairline); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.mock-bar i:nth-child(1) { background: #ff5f57; opacity: 0.7; }
.mock-bar i:nth-child(2) { background: #febc2e; opacity: 0.7; }
.mock-bar i:nth-child(3) { background: #28c840; opacity: 0.7; }
.mock-bar small { margin-left: auto; color: var(--text-faint); font-size: 0.72rem; }
.mock-body { padding: 1.4rem; display: grid; gap: 1rem; }
.mock-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mock-cell { border-radius: 12px; padding: 1rem; background: rgba(255,255,255,0.03); border: 1px solid var(--hairline); }
.mock-cell .k { font-family: var(--font-head); font-size: 1.5rem; color: var(--white); }
.mock-cell .l { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.mock-chart { height: 120px; border-radius: 12px; background: rgba(255,255,255,0.03); border: 1px solid var(--hairline); display: flex; align-items: flex-end; gap: 8px; padding: 1rem; }
.mock-chart span { flex: 1; border-radius: 5px 5px 0 0; background: var(--grad-cyan); opacity: 0.85; animation: barRise 1.2s var(--ease) backwards; }
@keyframes barRise { from { transform: scaleY(0.05); transform-origin: bottom; } }
.mock-line { height: 10px; border-radius: 6px; background: rgba(255,255,255,0.06); }
.mock-line.short { width: 55%; }

.float-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem 1rem; border-radius: 14px; font-size: 0.82rem; color: var(--white);
  background: var(--glass-strong); border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px); box-shadow: var(--shadow-md); animation: floatY 5s ease-in-out infinite;
}
.float-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: #28c840; box-shadow: 0 0 10px #28c840; }
.float-chip.tr { top: 6%; right: -6%; }
.float-chip.bl { bottom: 8%; left: -7%; animation-delay: 1.2s; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ============================ Bento / why-us ============================ */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; grid-auto-rows: 1fr; }
.bento .card.span-2 { grid-column: span 2; }
.bento .card.tall { grid-row: span 2; }

/* ============================ Process timeline ============================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding-top: 1rem; }
.step-num {
  font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: var(--navy);
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-cyan); box-shadow: var(--glow-cyan); margin-bottom: 1.2rem;
}
.step::before { content: ""; position: absolute; top: 23px; left: 46px; right: -1.5rem; height: 2px; background: linear-gradient(90deg, var(--cyan), transparent); opacity: 0.4; }
.step:last-child::before { display: none; }
.step h4 { color: var(--white); margin-bottom: 0.5rem; }
.step p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* ============================ Testimonials ============================ */
.quote { padding: 2.4rem; }
.quote .stars { color: var(--cyan); letter-spacing: 3px; margin-bottom: 1rem; font-size: 0.95rem; }
.quote blockquote { margin: 0 0 1.6rem; font-size: 1.08rem; color: var(--text); line-height: 1.65; }
.quote-author { display: flex; align-items: center; gap: 0.9rem; }
.quote-author .avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: var(--navy); background: var(--grad-cyan); }
.quote-author b { color: var(--white); display: block; font-size: 0.95rem; }
.quote-author span { color: var(--text-muted); font-size: 0.82rem; }

/* ============================ Portfolio ============================ */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.work {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 280px;
  border: 1px solid var(--hairline); display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.6rem; color: var(--white); isolation: isolate; transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}
.work::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--wk, linear-gradient(135deg, #0E2750, #0A1F44)); transition: transform 0.6s var(--ease); }
.work::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(6,15,36,0.85)); }
.work:hover { transform: translateY(-6px); border-color: var(--glass-border); }
.work:hover::before { transform: scale(1.08); }
.work .tag { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 0.4rem; }
.work h4 { font-size: 1.25rem; color: var(--white); margin: 0; }
.work .grid-pattern { position: absolute; inset: 0; z-index: -1; opacity: 0.25; background-image: linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%); mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%); }

/* ============================ Pricing ============================ */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.price { display: flex; flex-direction: column; padding: 2.4rem; }
.price.featured { border-color: var(--glass-border); box-shadow: var(--shadow-lg), var(--glow-cyan); background: var(--glass-strong); }
.price .badge { align-self: flex-start; font-family: var(--font-head); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); background: var(--grad-cyan); padding: 0.3rem 0.8rem; border-radius: var(--radius-pill); margin-bottom: 1rem; }
.price h3 { color: var(--white); margin-bottom: 0.3rem; }
.price .amount { font-family: var(--font-head); font-size: 2.6rem; color: var(--white); line-height: 1; margin: 0.6rem 0 0.2rem; }
.price .amount small { font-size: 0.95rem; color: var(--text-muted); font-weight: 400; }
.price .desc { color: var(--text-muted); font-size: 0.9rem; min-height: 2.4em; }
.price .feature-list { flex: 1; }
.price .btn { margin-top: 1.6rem; }

/* ============================ FAQ ============================ */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; color: var(--text-strong); font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; padding: 1.4rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-q .ico { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--glass-border); display: grid; place-items: center; color: var(--cyan); transition: transform 0.35s var(--ease), background 0.35s var(--ease); }
.faq-item.open .faq-q .ico { transform: rotate(45deg); background: rgba(0,212,255,0.12); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a p { color: var(--text-muted); padding-bottom: 1.4rem; margin: 0; }

/* ============================ CTA band ============================ */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(3rem, 6vw, 5rem); text-align: center; border: 1px solid var(--glass-border); background: linear-gradient(135deg, rgba(0,212,255,0.10), rgba(10,31,68,0.5)); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 50% 0%, rgba(0,212,255,0.22), transparent 60%); }
.cta-band h2 { margin-bottom: 1rem; }
.cta-band p { color: var(--text-muted); max-width: 560px; margin: 0 auto 2rem; }

/* ============================ Contact ============================ */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.info-card { display: flex; gap: 1rem; padding: 1.3rem; border-radius: 14px; background: rgba(255,255,255,0.025); border: 1px solid var(--hairline); transition: border-color 0.3s var(--ease), background 0.3s var(--ease); }
.info-card:hover { border-color: var(--glass-border); background: rgba(0,212,255,0.05); }
.info-card .ico { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(0,212,255,0.1); border: 1px solid var(--glass-border); color: var(--cyan); }
.info-card .ico svg { width: 22px; height: 22px; }
.info-card b { color: var(--white); display: block; font-family: var(--font-head); font-size: 0.95rem; }
.info-card span, .info-card a { color: var(--text-muted); font-size: 0.92rem; }
.info-card a:hover { color: var(--cyan); }

.form-group { margin-bottom: 1.3rem; }
.form-group label { display: block; color: var(--text); font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; margin-bottom: 0.5rem; }
.form-control {
  width: 100%; padding: 0.95rem 1.1rem; font-family: var(--font-body); font-size: 0.98rem;
  color: var(--white); background: rgba(255,255,255,0.04); border: 1px solid var(--hairline);
  border-radius: 12px; transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.form-control::placeholder { color: var(--text-faint); }
.form-control:focus { outline: none; border-color: var(--cyan); background: rgba(255,255,255,0.06); box-shadow: 0 0 0 4px rgba(0,212,255,0.12); }
textarea.form-control { resize: vertical; min-height: 140px; }
select.form-control { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2393A7C7' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 1.1rem center; padding-right: 2.6rem; }
select.form-control option { background: var(--navy); color: var(--white); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.consent { display: flex; gap: 0.75rem; align-items: flex-start; }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; accent-color: var(--cyan); }
.consent label { font-family: var(--font-body); font-weight: 400; font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.form-note { font-size: 0.78rem; color: var(--text-faint); margin-top: 1rem; }
.form-status { margin-top: 1rem; padding: 0.9rem 1.1rem; border-radius: 12px; font-size: 0.9rem; display: none; }
.form-status.ok { display: block; background: rgba(40,200,64,0.12); border: 1px solid rgba(40,200,64,0.4); color: #9af5b4; }
.form-status.err { display: block; background: rgba(255,95,87,0.12); border: 1px solid rgba(255,95,87,0.4); color: #ffb3ae; }
.form-status.info { display: block; background: rgba(0,212,255,0.10); border: 1px solid var(--glass-border); color: var(--text); }

/* Stylised location card */
.map-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 240px; border: 1px solid var(--hairline); background: linear-gradient(135deg, #0E2750, #081634); }
.map-card .grid-pattern { position: absolute; inset: 0; opacity: 0.5; background-image: linear-gradient(rgba(0,212,255,0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(0,212,255,0.12) 1px, transparent 1px); background-size: 32px 32px; }
.map-card .road { position: absolute; height: 3px; background: rgba(0,212,255,0.3); left: 0; right: 0; top: 55%; transform: rotate(-8deg); }
.map-card .road.b { top: 35%; transform: rotate(6deg); background: rgba(255,255,255,0.12); }
.map-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-100%); z-index: 2; color: var(--cyan); }
.map-pin svg { width: 40px; height: 40px; filter: drop-shadow(0 6px 16px rgba(0,212,255,0.5)); }
.map-pin .pulse { position: absolute; left: 50%; bottom: -6px; width: 18px; height: 18px; border-radius: 50%; background: rgba(0,212,255,0.4); transform: translateX(-50%); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: translateX(-50%) scale(0.6); opacity: 0.8; } 100% { transform: translateX(-50%) scale(2.6); opacity: 0; } }
.map-label { position: absolute; left: 1.2rem; bottom: 1.2rem; z-index: 3; padding: 0.6rem 0.9rem; border-radius: 10px; background: var(--glass-strong); border: 1px solid var(--glass-border); font-size: 0.82rem; color: var(--white); backdrop-filter: blur(8px); }

/* ============================ Page hero (sub-pages) ============================ */
.page-hero { position: relative; padding: 11rem 0 4rem; text-align: center; overflow: hidden; }
.page-hero .hero-aurora { opacity: 0.8; }
.page-hero h1 { margin-bottom: 1.2rem; }
.page-hero .lead { max-width: 640px; margin-inline: auto; }
.breadcrumb { display: flex; gap: 0.5rem; justify-content: center; font-size: 0.82rem; color: var(--text-faint); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb span { color: var(--cyan); }

/* ============================ Service detail rows ============================ */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature-row.flip .feature-visual { order: -1; }
.feature-visual { position: relative; min-height: 340px; display: grid; place-items: center; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--hairline); background: linear-gradient(135deg, rgba(14,39,80,0.7), rgba(8,22,52,0.7)); }
.feature-visual .orbit-glow.a { width: 220px; height: 220px; }
.feature-visual .big-ico { position: relative; z-index: 1; font-size: 5rem; filter: drop-shadow(0 10px 30px rgba(0,212,255,0.4)); }
.feature-visual .big-ico svg { width: 96px; height: 96px; color: var(--cyan); }
.feature-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.chip { font-size: 0.78rem; padding: 0.4rem 0.9rem; border-radius: var(--radius-pill); background: rgba(0,212,255,0.07); border: 1px solid var(--glass-border); color: var(--cyan); font-family: var(--font-head); font-weight: 600; }

/* ============================ Legal pages ============================ */
.legal { max-width: 820px; margin-inline: auto; }
.legal h2 { font-size: 1.4rem; margin-top: 2.6rem; color: var(--white); }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6rem; color: var(--cyan); }
.legal p, .legal li { color: var(--text-muted); }
.legal ul { padding-left: 1.3rem; }
.legal li { margin-bottom: 0.5rem; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.toc { position: sticky; top: 6rem; }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li { margin-bottom: 0.6rem; }
.toc a { color: var(--text-muted); font-size: 0.9rem; }
.toc a:hover { color: var(--cyan); }

/* ============================ Footer ============================ */
.site-footer { position: relative; margin-top: var(--section-y); border-top: 1px solid var(--hairline); background: linear-gradient(180deg, rgba(6,15,36,0.4), rgba(4,10,24,0.9)); padding-top: clamp(3.5rem, 6vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand svg { height: 42px; width: auto; margin-bottom: 1.2rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.92rem; max-width: 300px; }
.footer-col h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a { color: var(--text-muted); font-size: 0.92rem; transition: color 0.25s var(--ease), padding-left 0.25s var(--ease); }
.footer-col a:hover { color: var(--cyan); padding-left: 4px; }
.socials { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,0.04); border: 1px solid var(--hairline); color: var(--text-muted); }
.socials a:hover { color: var(--navy); background: var(--cyan); border-color: var(--cyan); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--hairline); padding: 1.6rem 0; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: 0.82rem; color: var(--text-faint); }
.footer-bottom a { color: var(--text-faint); }
.footer-bottom a:hover { color: var(--cyan); }
.footer-bottom .legal-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }

/* ============================ Promo Video & Lightbox Modal ============================ */
.video-preview-card {
  position: relative;
  width: 100%;
  cursor: pointer;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.video-preview-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 20px 50px rgba(0, 212, 255, 0.15), var(--shadow-lg);
}
.video-thumbnail-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  display: flex;
}
.video-loop-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  transition: opacity 0.45s var(--ease), transform 0.8s var(--ease);
}
.video-preview-card:hover .video-loop-thumbnail {
  opacity: 0.85;
  transform: scale(1.03);
}

/* Play button overlay */
.play-btn-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 5;
  background: radial-gradient(circle, rgba(6, 15, 36, 0.1) 0%, rgba(6, 15, 36, 0.4) 100%);
  pointer-events: none;
}
.play-btn-circle {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(10, 31, 68, 0.8);
  border: 2px solid var(--cyan);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.4), inset 0 0 15px rgba(0, 212, 255, 0.2);
  transition: transform 0.45s var(--ease), background 0.45s var(--ease), box-shadow 0.45s var(--ease);
  position: relative;
}
/* Pulse animation */
.play-btn-circle::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 212, 255, 0.4);
  animation: playPulse 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
@keyframes playPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.3); opacity: 0; }
}
.video-preview-card:hover .play-btn-circle {
  transform: scale(1.12);
  background: var(--cyan);
  color: var(--navy);
  box-shadow: 0 0 45px rgba(0, 212, 255, 0.7), inset 0 0 10px rgba(255, 255, 255, 0.5);
  border-color: var(--white);
}
.play-btn-circle svg {
  width: 28px;
  height: 28px;
  margin-left: 4px; /* offset slightly to center visual play symbol */
  transition: transform 0.45s var(--ease);
}
.video-preview-card:hover .play-btn-circle svg {
  transform: scale(1.05);
}

/* Fullscreen Video Modal Lightbox */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.video-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 24, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.video-modal-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg), 0 30px 100px rgba(0, 0, 0, 0.8);
  background: #000;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.video-modal.active .video-modal-content {
  transform: scale(1) translateY(0);
}
.video-modal-player {
  width: 100%;
  height: 100%;
}
.video-modal-player video {
  width: 100%;
  height: 100%;
  display: block;
}
.video-modal-close {
  position: absolute;
  top: -4rem;
  right: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.video-modal-close:hover {
  background: rgba(255, 95, 87, 0.25);
  border-color: #ff5f57;
  transform: scale(1.05);
}
.video-modal-close svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 1060px) {
  .video-modal-close {
    top: 1rem;
    right: 1rem;
    z-index: 20;
    box-shadow: var(--shadow-sm);
  }
}
@media (max-width: 580px) {
  .video-modal {
    padding: 0.8rem;
  }
  .video-modal-content {
    border-radius: var(--radius);
  }
  .play-btn-circle {
    width: 60px;
    height: 60px;
  }
  .play-btn-circle svg {
    width: 20px;
    height: 20px;
  }
}

/* ============================ Cookie banner ============================ */
.cookie { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1500; max-width: 540px; margin-inline: auto; padding: 1.5rem; border-radius: var(--radius); background: var(--glass-strong); border: 1px solid var(--glass-border); backdrop-filter: blur(18px); box-shadow: var(--shadow-lg); transform: translateY(160%); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.5s var(--ease); }
.cookie.show { transform: translateY(0); opacity: 1; }
.cookie h4 { color: var(--white); display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.cookie p { font-size: 0.86rem; color: var(--text-muted); margin-bottom: 1.2rem; }
.cookie p a { text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.cookie-actions .btn { flex: 1; padding: 0.75rem 1rem; font-size: 0.82rem; min-width: 120px; }

/* ============================ Reveal animations ============================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================ Responsive ============================ */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::before { display: none; }
  .bento, .work-grid, .price-grid { grid-template-columns: 1fr 1fr; }
  .bento .card.span-2 { grid-column: span 2; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(82%, 340px); flex-direction: column;
    align-items: flex-start; justify-content: center; gap: 1.8rem; padding: 2rem 2.2rem;
    background: rgba(8,18,40,0.96); backdrop-filter: blur(20px); border-left: 1px solid var(--hairline);
    transform: translateX(100%); transition: transform 0.4s var(--ease); z-index: 1050;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1rem; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }

  .split, .contact-grid, .feature-row, .grid-3, .grid-2, .bento, .work-grid, .price-grid { grid-template-columns: 1fr; }
  .feature-row.flip .feature-visual { order: 0; }
  .bento .card.span-2 { grid-column: auto; }
  .grid-4, .stats, .steps { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero { min-height: auto; padding-top: 8rem; }
  .scroll-cue { display: none; }
  .visual-stage { margin-top: 1rem; }
  .float-chip.tr { right: 2%; }
  .float-chip.bl { left: 2%; }
  /* Decoratieve dienst-visuals compacter op mobiel (anders 4× ~340px leegte). */
  .feature-visual { min-height: 200px; }
  .feature-visual .big-ico svg { width: 72px; height: 72px; }
  .feature-row { gap: 1.5rem; }
  /* Info-kaartjes in de "Wie zijn wij"-sectie onder elkaar i.p.v. 2 kolommen
     (de inline grid-template 1fr 1fr liep buiten beeld op smalle schermen). */
  .split .grid { grid-template-columns: 1fr !important; }
  .mock-row, .mock-cell { min-width: 0; }
}

@media (max-width: 460px) {
  .grid-4, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badges { gap: 1.2rem 1.8rem; }
}

/* ============================ Card spotlight (volgt de muis) ============================ */
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 212, 255, 0.10), transparent 65%);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.card:hover::before { opacity: 1; }
.card-link { text-decoration: none; }
.card-more { font-size: 0.88rem; font-weight: 600; display: inline-block; margin-top: 1.2rem; position: relative; }

/* ============================ Language switch (navbar) ============================ */
.lang-switch {
  display: inline-flex; flex-shrink: 0; overflow: hidden;
  border: 1px solid var(--hairline); border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.03); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.lang-switch a {
  font-family: var(--font-head); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.08em;
  padding: 0.45rem 0.85rem; color: var(--text-muted); transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.lang-switch a.active { background: var(--grad-cyan); color: var(--navy); }
.lang-switch a:not(.active):hover { color: var(--white); background: rgba(0,212,255,0.10); }
.nav-cta-mobile { display: none; }

/* ============================ Language splash (eerste bezoek) ============================ */
.lang-splash {
  position: fixed; inset: 0; z-index: 3000;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem; overflow-y: auto;
  background:
    radial-gradient(70% 50% at 50% -10%, rgba(0, 212, 255, 0.12), transparent 60%),
    radial-gradient(50% 50% at 100% 0%, rgba(62, 123, 255, 0.10), transparent 55%),
    linear-gradient(180deg, #081634 0%, #060F24 55%, #050B1B 100%);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.lang-splash.show { opacity: 1; }
.lang-splash.leaving { opacity: 0; }
.splash-aurora {
  position: absolute; inset: 0; pointer-events: none;
  background: var(--grad-aurora); animation: auroraDrift 16s ease-in-out infinite alternate;
}
.splash-inner {
  position: relative; text-align: center; max-width: 620px; width: 100%;
  transform: translateY(18px) scale(0.97); opacity: 0;
  transition: transform 0.65s var(--ease) 0.1s, opacity 0.65s var(--ease) 0.1s;
}
.lang-splash.show .splash-inner { transform: none; opacity: 1; }
.splash-logo svg { height: 46px; width: auto; margin-inline: auto; }
.splash-welcome {
  display: flex; justify-content: center; align-items: center; gap: 0.7rem; margin: 1.8rem 0 0.4rem;
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--cyan);
}
.splash-welcome i { font-style: normal; color: var(--text-faint); }
.splash-title { font-size: clamp(1.4rem, 3.6vw, 2rem); margin-bottom: 0; }
.splash-title em { font-style: normal; color: var(--cyan); }
.splash-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin: 2.2rem 0 1.6rem; }
.splash-choice {
  position: relative; display: grid; justify-items: center; gap: 0.3rem; padding: 1.7rem 1.2rem 1.5rem;
  border-radius: var(--radius); cursor: pointer; font-family: var(--font-body); color: var(--text);
  background: rgba(14, 34, 68, 0.82); border: 1px solid var(--hairline);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}
.splash-choice:hover, .splash-choice:focus-visible {
  transform: translateY(-5px); border-color: var(--cyan);
  background: var(--glass-strong); box-shadow: var(--shadow-lg), var(--glow-cyan);
}
.splash-flag {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 0.6rem;
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.05em;
  color: var(--navy); background: var(--grad-cyan); box-shadow: var(--glow-cyan);
}
.splash-choice b { font-family: var(--font-head); font-size: 1.15rem; color: var(--white); }
.splash-choice small { color: var(--text-muted); font-size: 0.84rem; }
.splash-hint { font-size: 0.8rem; color: var(--text-faint); margin: 0; }

/* ============================ Prijscalculator / estimator ============================ */
.estimator { padding: clamp(1.5rem, 3vw, 2.6rem); }
.est-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.est-options h3 { font-size: 1.02rem; margin: 1.8rem 0 0.9rem; color: var(--white); }
.est-options h3:first-child { margin-top: 0; }
.est-set { display: grid; gap: 0.7rem; }
.est-opt { position: relative; display: block; cursor: pointer; }
.est-opt input { position: absolute; opacity: 0; pointer-events: none; }
.est-opt-card {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0.95rem 1.15rem; border-radius: 14px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--hairline);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.est-opt:hover .est-opt-card { border-color: var(--glass-border); background: rgba(0,212,255,0.05); }
.est-opt input:checked + .est-opt-card {
  border-color: var(--cyan); background: rgba(0,212,255,0.09);
  box-shadow: inset 0 0 24px rgba(0,212,255,0.08), 0 4px 18px rgba(0,212,255,0.12);
}
.est-opt input:focus-visible + .est-opt-card { outline: 2px solid var(--cyan); outline-offset: 2px; }
.est-opt-txt b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 0.93rem; color: var(--white); }
.est-opt-txt small { color: var(--text-muted); font-size: 0.8rem; }
.est-opt-price { font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; color: var(--cyan); white-space: nowrap; }
.est-summary {
  position: sticky; top: 6rem; padding: 1.7rem; border-radius: var(--radius);
  background: var(--glass-strong); border: 1px solid var(--glass-border); box-shadow: var(--shadow-md);
}
.est-summary h3 { font-size: 1.02rem; color: var(--white); margin-bottom: 0.8rem; }
.est-total { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4vw, 2.6rem); color: var(--white); line-height: 1; }
.est-total small { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.04em; }
.est-total span { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.est-monthly { color: var(--cyan); font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; margin-top: 0.4rem; }
.est-lines { list-style: none; margin: 1.2rem 0 1.4rem; padding: 0; }
.est-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--hairline); font-size: 0.86rem; color: var(--text-muted); }
.est-lines li b { color: var(--white); font-weight: 600; white-space: nowrap; }
.est-note { font-size: 0.76rem; color: var(--text-faint); margin: 0.9rem 0 0; }

/* ============================ Scroll progress + terug naar boven ============================ */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1300;
  background: var(--grad-brand); transform-origin: 0 50%; transform: scaleX(0);
  pointer-events: none; box-shadow: 0 0 12px rgba(0,212,255,0.45);
}
.to-top {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 1400;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--glass-strong); border: 1px solid var(--glass-border); color: var(--cyan);
  cursor: pointer; opacity: 0; transform: translateY(14px); pointer-events: none;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow-md);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--cyan); color: var(--navy); border-color: var(--cyan); }
.to-top svg { width: 20px; height: 20px; }

/* ============================ Responsive: nieuwe componenten ============================ */
@media (max-width: 900px) {
  .est-grid { grid-template-columns: 1fr; }
  .est-summary { position: static; }
}
@media (max-width: 760px) {
  .lang-switch { margin-left: auto; }
  .nav-links .nav-cta-mobile { display: block; margin-top: 0.6rem; }
}
@media (max-width: 560px) {
  .nav-logo svg { height: 30px; }
  .navbar .container { gap: 0.7rem; }
  .lang-switch a { padding: 0.38rem 0.62rem; font-size: 0.7rem; }
  .splash-choices { grid-template-columns: 1fr; }
  .splash-choice { grid-template-columns: auto 1fr; justify-items: start; text-align: left; column-gap: 1rem; padding: 1.1rem 1.2rem; }
  .splash-flag { grid-row: span 2; margin-bottom: 0; width: 50px; height: 50px; }
  .to-top { right: 0.9rem; bottom: 0.9rem; width: 44px; height: 44px; }
}

/* Kleine telefoons (≤380px, o.a. iPhone SE / 360px-Androids): navbar mag
   nooit horizontaal overlopen — logo + spacing extra compact houden. */
@media (max-width: 380px) {
  .nav-logo svg { height: 26px; }
  .navbar .container { gap: 0.5rem; }
  .lang-switch a { padding: 0.34rem 0.5rem; }
}
