/* ==========================================================================
   TTNX Cabling – huisstijl ttnx.be (#0065ff / #15151a, Space Grotesk)
   ========================================================================== */
:root {
  --blue: #0065ff;
  --blue-600: #0052cc;
  --blue-100: #e6f0ff;
  --amber: #ffb800;
  --amber-100: #fff5d6;
  --ink: #15151a;
  --ink-2: #111115;
  --ink-soft: #29292c;
  --text: #15151a;
  --muted: #5c5c66;
  --line: #e6e6ea;
  --soft: #f5f6f8;
  --white: #fff;
  --bg: #fff;
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 40px;
  --radius-xl: 60px;
  --shadow-sm: 0 1px 2px rgba(21,21,26,.06), 0 2px 8px rgba(21,21,26,.04);
  --shadow: 0 10px 30px -10px rgba(21,21,26,.15), 0 2px 6px rgba(21,21,26,.04);
  --shadow-lg: 0 30px 60px -20px rgba(0,60,160,.25);
  --font-head: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --header-h: 84px;
  --container: 1240px;
  color-scheme: light;
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font: 400 17px/1.65 var(--font-body); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .25s; }
a:hover { color: var(--blue-600); }
h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 700; letter-spacing: -.045em; line-height: 1.06; margin: 0 0 .6em; color: inherit; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.35rem; letter-spacing: -.03em; line-height: 1.2; }
p { margin: 0 0 1.1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 99px; z-index: 999; }
.skip:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: .45em; font: 700 .8rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .12em; color: var(--blue); margin-bottom: 1rem; }
.eyebrow i { font-size: 1.2em; }
.hide-md { display: inline; }

/* Progress bar */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--blue), #5aa0ff, var(--amber)); transform-origin: 0 50%; transform: scaleX(0); z-index: 1001; }

/* ---------- Buttons ---------- */
.btn { --bg: var(--white); --fg: var(--ink); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: 14px 22px; border-radius: 99px; border: 2px solid transparent; background: var(--bg); color: var(--fg); font: 700 1rem/1.1 var(--font-head); letter-spacing: -.03em; cursor: pointer; transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .35s var(--ease), border-color .3s; white-space: nowrap; overflow: hidden; isolation: isolate; }
.btn i { font-size: 1.15em; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); color: var(--fg); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { --bg: var(--blue); --fg: #fff; box-shadow: 0 8px 20px -8px rgba(0,101,255,.6); }
.btn-primary:hover { --bg: var(--blue-600); box-shadow: 0 14px 30px -10px rgba(0,101,255,.7); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); z-index: -1; }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-dark { --bg: var(--ink); --fg: #fff; }
.btn-dark:hover { --bg: var(--blue); }
.btn-light { --bg: #fff; --fg: var(--ink); }
.btn-light:hover { --bg: var(--blue-100); }
.btn-outline { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { --bg: transparent; --fg: var(--ink); padding-inline: 14px; }
.btn-ghost:hover { --bg: var(--soft); }
.btn-lg { padding: 18px 28px; font-size: 1.08rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font: 700 .95rem var(--font-head); letter-spacing: -.02em; color: var(--blue); }
.link-arrow i { transition: transform .35s var(--ease); }

.pill { display: inline-flex; align-items: center; gap: .55em; padding: 8px 16px 8px 12px; border-radius: 99px; background: var(--blue-100); color: var(--blue); font: 700 .9rem var(--font-head); letter-spacing: -.01em; margin-bottom: 1.5rem; }
.pill i { font-size: 1.15em; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(0,101,255,.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(0,101,255,.55); } 80%,100% { box-shadow: 0 0 0 10px rgba(0,101,255,0); } }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); transition: background .4s, box-shadow .4s, height .4s var(--ease), transform .45s var(--ease); }
.site-header.is-scrolled { background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); box-shadow: 0 1px 0 var(--line); --header-h: 70px; height: 70px; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; height: 100%; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); flex-shrink: 0; }
.logo img { width: 78px; height: auto; transition: transform .5s var(--ease-spring); }
.logo-sub { font: 700 1.05rem var(--font-head); letter-spacing: -.04em; padding-left: 10px; border-left: 2px solid var(--line); color: var(--ink); }
.main-nav { margin-left: auto; }
.main-nav + .header-cta { margin-left: 0; }
.main-nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link { display: inline-flex; align-items: center; gap: .4em; padding: 10px 14px; border-radius: 99px; font: 500 1rem var(--font-head); letter-spacing: -.02em; color: var(--ink); transition: background .25s, color .25s; }
.nav-link > .ph-duotone { font-size: 1.2em; color: var(--blue); }
.nav-link:hover, .nav-link.is-active { background: var(--soft); color: var(--ink); }
.caret { font-size: .8em; transition: transform .3s var(--ease); }
.has-mega { position: relative; }
.mega { position: absolute; top: calc(100% + 12px); left: 50%; width: min(760px, 90vw); display: grid; grid-template-columns: 230px 1fr; gap: 8px; padding: 10px; background: #fff; border-radius: 28px; box-shadow: 0 30px 80px -20px rgba(21,21,26,.25), 0 0 0 1px rgba(21,21,26,.05); opacity: 0; visibility: hidden; transform: translate(-50%, 10px) scale(.98); transform-origin: top center; transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .3s; }
.has-mega::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.mega-intro { background: var(--ink); color: #fff; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.mega-intro .eyebrow { color: #7fb0ff; margin: 0; }
.mega-intro strong { font: 700 1.3rem/1.15 var(--font-head); letter-spacing: -.04em; }
.mega-intro .link-arrow { margin-top: auto; color: #fff; }
.mega-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega-list a { display: flex; gap: 12px; padding: 12px; border-radius: 16px; color: var(--ink); transition: background .2s; }
.mega-list a:hover { background: var(--soft); }
.mega-list i { font-size: 1.6rem; color: var(--blue); flex-shrink: 0; transition: transform .35s var(--ease-spring); }
.mega-list b { display: block; font: 700 .95rem/1.2 var(--font-head); letter-spacing: -.02em; }
.mega-list small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.35; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.btn-icon i { font-size: 1.2rem; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 19px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero, .page-hero { position: relative; padding: calc(var(--header-h) + 72px) 0 80px; overflow: hidden; isolation: isolate; }
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-bottom: 96px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; }
.b1 { width: 560px; height: 560px; background: radial-gradient(circle, #9cc3ff 0%, rgba(0,101,255,.0) 70%); top: -180px; right: -120px; animation: float 16s var(--ease) infinite alternate; }
.b2 { width: 460px; height: 460px; background: radial-gradient(circle, #ffe08a 0%, rgba(255,184,0,0) 70%); bottom: -200px; left: -140px; opacity: .45; animation: float 20s var(--ease) infinite alternate-reverse; }
@keyframes float { to { transform: translate(-60px, 50px) scale(1.12); } }
.cables { position: absolute; inset: 0; width: 100%; height: 100%; }
.cable { fill: none; stroke: rgba(21,21,26,.07); stroke-width: 2; }
.pulse { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 180 1800; stroke-dashoffset: 1980; animation: pulse 6s linear infinite; }
.p2 { animation-delay: -1.5s; animation-duration: 7s; } .p3 { animation-delay: -3s; animation-duration: 8s; } .p4 { animation-delay: -4.5s; animation-duration: 6.5s; }
@keyframes pulse { to { stroke-dashoffset: 0; } }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(21,21,26,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(21,21,26,.045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 0%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 0%, #000 0%, transparent 70%); }
.hero-inner { position: relative; }
.hero-title { max-width: 960px; font-size: clamp(2.8rem, 7.4vw, 6rem); letter-spacing: -.055em; line-height: .98; }
.hero-text { font-size: clamp(1.1rem, 1.7vw, 1.35rem); color: var(--muted); max-width: 640px; margin-bottom: 3rem; }

/* Split text animation */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 55ms); }
[data-split].is-in .w > span { transform: none; }

/* Choice cards (two main domains) */
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.choice { --accent: var(--blue); --accent-soft: var(--blue-100); position: relative; display: flex; gap: 20px; align-items: flex-start; padding: 32px; border-radius: var(--radius-lg); background: rgba(255,255,255,.75); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(21,21,26,.07); color: var(--ink); box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s, color .4s; overflow: hidden; transform-style: preserve-3d; }
.choice-elektriciteit { --accent: var(--amber); --accent-soft: var(--amber-100); }
.choice::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, var(--accent) 0%, transparent 65%); opacity: 0; left: var(--mx, 50%); top: var(--my, 50%); transform: translate(-50%, -50%); transition: opacity .4s; pointer-events: none; z-index: 0; }
.choice:hover { color: var(--ink); box-shadow: var(--shadow-lg); }
.choice:hover::before { opacity: .18; }
.choice > * { position: relative; z-index: 1; }
.choice-icon { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 2.3rem; flex-shrink: 0; transition: transform .6s var(--ease-spring), background .3s, color .3s; }
.choice-elektriciteit .choice-icon { color: #c78f00; }
.choice:hover .choice-icon { background: var(--accent); color: #fff; }
.choice-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.choice-body .eyebrow { margin-bottom: .4rem; }
.choice-elektriciteit .eyebrow { color: #b07e00; }
.choice strong { font: 700 clamp(1.8rem, 3vw, 2.4rem)/1 var(--font-head); letter-spacing: -.05em; margin-bottom: .45rem; }
.choice-text { color: var(--muted); margin-bottom: 1rem; }
.choice-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.choice-tags span { font-size: .8rem; font-weight: 500; padding: 5px 11px; border-radius: 99px; background: var(--soft); color: var(--ink); }
.choice-arrow { position: absolute; top: 28px; right: 28px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 1.3rem; transition: transform .5s var(--ease), background .3s; }
.choice:hover .choice-arrow { background: var(--blue); }
.choice-elektriciteit:hover .choice-arrow { background: var(--amber); color: var(--ink); }

/* ---------- Stats ---------- */
.stats-bar { background: var(--ink); color: #fff; padding: 48px 0; position: relative; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat strong { display: block; font: 700 clamp(2.4rem, 4.5vw, 3.6rem)/1 var(--font-head); letter-spacing: -.05em; background: linear-gradient(135deg, #fff 30%, #7fb0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { color: rgba(255,255,255,.65); font-size: .95rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-sm { padding: clamp(40px, 6vw, 72px) 0; }
.section-top { padding-top: 32px; }
.is-soft { background: var(--soft); }
.is-dark { background: var(--ink); color: #fff; }
.is-dark .lead, .is-dark p { color: rgba(255,255,255,.7); }
.is-dark .eyebrow { color: #7fb0ff; }
.section-services.is-soft, .section-services.is-dark { border-radius: var(--radius-xl); margin: 0 12px; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head.split h2 { margin: 0; max-width: 700px; }

/* USPs */
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.usp { padding: 32px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.usp:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.usp-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--blue-100); color: var(--blue); font-size: 1.8rem; margin-bottom: 22px; transition: transform .6s var(--ease-spring); }
.usp p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Service cards */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius); background: #fff; color: var(--ink); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; isolation: isolate; }
.service-card::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(0,101,255,.16), transparent 70%); transform: scale(.4); opacity: 0; transition: transform .7s var(--ease), opacity .5s; z-index: -1; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.service-card:hover::after { transform: scale(1.4); opacity: 1; }
.service-card p { color: var(--muted); font-size: .98rem; flex: 1; }
.service-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--blue-100); color: var(--blue); font-size: 2rem; margin-bottom: 24px; transition: transform .6s var(--ease-spring), background .3s, color .3s; }
.service-card:hover .service-icon { background: var(--blue); color: #fff; }
.is-dark .service-card { background: var(--ink-soft); border-color: rgba(255,255,255,.06); color: #fff; }
.is-dark .service-card p { color: rgba(255,255,255,.6); }
.is-dark .service-card .service-icon { background: rgba(255,184,0,.14); color: var(--amber); }
.is-dark .service-card:hover .service-icon { background: var(--amber); color: var(--ink); }
.is-dark .service-card .link-arrow { color: var(--amber); }
.is-dark .service-card::after { background: radial-gradient(circle, rgba(255,184,0,.18), transparent 70%); }
.hero-elektriciteit .pill, .hero-elektriciteit .pill .dot { --c: var(--amber); }
.hero-elektriciteit .pill { background: var(--amber-100); color: #8a6200; }
.hero-elektriciteit .b1 { background: radial-gradient(circle, #ffe08a 0%, rgba(255,184,0,0) 70%); }
.hero-elektriciteit .b2 { background: radial-gradient(circle, #9cc3ff 0%, rgba(0,101,255,0) 70%); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 40px; right: 40px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); }
.step { position: relative; padding-top: 0; }
.step-nr { position: relative; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: #fff; border: 2px solid var(--line); font: 700 1.25rem var(--font-head); color: var(--blue); margin-bottom: 22px; transition: background .4s, color .4s, border-color .4s, transform .5s var(--ease-spring); }
.step:hover .step-nr { background: var(--blue); color: #fff; border-color: var(--blue); }
.step p { color: var(--muted); }

/* References */
.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ref-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; color: var(--ink); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .4s, border-color .3s; }
.ref-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--ink); border-color: transparent; }
.ref-card.is-hidden { display: none; }
.ref-media { position: relative; display: block; aspect-ratio: 16/11; overflow: hidden; background: linear-gradient(135deg, var(--ink), #24305a); }
.ref-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ref-card:hover .ref-media img { transform: scale(1.06); }
.ref-placeholder { position: absolute; inset: 0; display: grid; place-items: center; font-size: 4rem; color: rgba(255,255,255,.25); background: radial-gradient(circle at 70% 20%, rgba(0,101,255,.55), transparent 60%); }
.ref-domains { position: absolute; left: 14px; top: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 99px; font: 700 .78rem var(--font-head); letter-spacing: -.01em; background: rgba(255,255,255,.92); color: var(--ink); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.badge-databekabeling { background: var(--blue); color: #fff; }
.badge-elektriciteit { background: var(--amber); color: var(--ink); }
.ref-body { display: flex; flex-direction: column; gap: 8px; padding: 24px; flex: 1; }
.ref-meta { font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.ref-body strong { font: 700 1.3rem/1.2 var(--font-head); letter-spacing: -.03em; }
.ref-summary { color: var(--muted); font-size: .95rem; flex: 1; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: .8rem; font-weight: 500; color: var(--blue); background: var(--blue-100); padding: 4px 10px; border-radius: 99px; }
.tags-lg { margin-top: 2rem; }
.tags-lg .tag { font-size: .9rem; padding: 6px 14px; }

/* Filters */
.filters { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; }
.filter, .tag-filter { border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 10px 18px; border-radius: 99px; font: 500 .95rem var(--font-head); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: all .25s var(--ease); }
.tag-filter { padding: 6px 14px; font-size: .85rem; }
.tag-filter small { color: var(--muted); }
.filter:hover, .tag-filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.tag-filter.is-active { background: var(--blue); color: #fff; border-color: var(--blue); }
.tag-filter.is-active small { color: rgba(255,255,255,.75); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* Regions */
.regions-section { overflow: hidden; border-radius: var(--radius-xl); margin: 0 12px; }
.regions-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.region-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 99px; background: rgba(255,255,255,.07); color: #fff; border: 1px solid rgba(255,255,255,.1); font: 500 .95rem var(--font-head); transition: all .3s var(--ease); }
.chip i { color: #7fb0ff; transition: transform .4s var(--ease-spring); }
.chip:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-2px); }
.chip:hover i { color: #fff; }
.chip-sm { padding: 6px 12px; font-size: .85rem; background: var(--soft); color: var(--ink); border-color: var(--line); margin: 0 4px 6px 0; }
.chip-sm:hover { transform: none; background: var(--soft); color: var(--ink); border-color: var(--line); }
.map { position: relative; aspect-ratio: 1.15; border-radius: var(--radius-lg); background: radial-gradient(circle at 50% 40%, rgba(0,101,255,.25), transparent 65%), rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.14); }
.map-grid { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; }
.map-dot { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(0,101,255,.25); z-index: 1; opacity: 0; transform: scale(0); transition: transform .6s var(--ease-spring), opacity .4s; transition-delay: var(--d); }
.map.is-in .map-dot { opacity: 1; transform: scale(1); }
.map-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--blue); animation: ring 2.6s var(--ease) infinite; animation-delay: var(--d); }
@keyframes ring { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.6); opacity: 0; } }
.map-dot span { position: absolute; left: 50%; bottom: 140%; transform: translateX(-50%); white-space: nowrap; font: 700 .78rem var(--font-head); color: #fff; background: rgba(21,21,26,.8); padding: 3px 8px; border-radius: 6px; pointer-events: none; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border-radius: var(--radius); background: var(--soft); transition: background .3s, box-shadow .3s; }
.faq-item[open] { background: #fff; box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font: 700 1.1rem/1.3 var(--font-head); letter-spacing: -.02em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); flex-shrink: 0; transition: transform .4s var(--ease), background .3s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: #fff; transform: translate(-50%,-50%); border-radius: 2px; }
.faq-icon::after { transform: translate(-50%,-50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq-item[open] .faq-icon { background: var(--blue); transform: rotate(180deg); }
.faq-item[open] .faq-icon::after { transform: translate(-50%,-50%) rotate(0); }
.faq-answer { padding: 0 28px 24px; color: var(--muted); }
.faq-answer p:last-child { margin: 0; }

/* Page hero */
.page-hero { padding-bottom: 72px; }
.page-hero-sm { padding-bottom: 24px; }
.page-hero h1 { max-width: 900px; }
.page-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 2rem; }
.hero-card { list-style: none; margin: 0; padding: 28px; background: rgba(255,255,255,.75); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(21,21,26,.07); border-radius: var(--radius-lg); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.hero-card li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.hero-card i { font-size: 1.4rem; color: var(--blue); flex-shrink: 0; }
.hero-elektriciteit .hero-card i { color: #c78f00; }
.breadcrumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs i { font-size: .75rem; opacity: .6; }

/* Two column content */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; }
.prose { font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 1.6em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230065ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.sticky-card { position: sticky; top: calc(var(--header-h) + 24px); padding: 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.sticky-card h3 { margin: 0; font-size: 1.5rem; }
.sticky-card p { color: var(--muted); margin: 0 0 8px; }
.sticky-card .service-icon { margin-bottom: 8px; }
.aside-regions { margin-top: 12px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .9rem; }
.aside-regions small { width: 100%; color: var(--muted); }
.towns { line-height: 2.2; }

.cross-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cross { display: flex; align-items: center; gap: 16px; padding: 22px 26px; border-radius: var(--radius); background: var(--soft); color: var(--ink); transition: all .35s var(--ease); }
.cross span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--blue); font-size: 1.5rem; }
.cross b { flex: 1; font-family: var(--font-head); letter-spacing: -.02em; }
.cross > i { transition: transform .35s var(--ease); }
.cross:hover { background: var(--ink); color: #fff; }

.region-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.region-card { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.region-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.region-card h2 { font-size: 1.8rem; margin-bottom: .4em; }
.region-card h2 a { color: var(--ink); }
.region-card p { color: var(--muted); font-size: .95rem; }
.region-links { display: flex; flex-direction: column; gap: 6px; }
.region-links a { display: flex; align-items: center; gap: 8px; font: 500 .95rem var(--font-head); }

/* CTA band */
.cta-band { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: clamp(36px, 5vw, 60px); border-radius: var(--radius-xl); background: var(--blue); color: #fff; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.28), transparent 65%); z-index: -1; animation: float 14s var(--ease) infinite alternate; }
.cta-band h2 { margin-bottom: .3em; font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.cta-band p { margin: 0; color: rgba(255,255,255,.85); }

/* Reference detail */
.ref-hero .ref-domains { position: static; margin-bottom: 1rem; }
.ref-facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 2rem 0 0; }
.ref-facts div { padding: 14px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.ref-facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.ref-facts dd { margin: 0; font: 700 1.05rem var(--font-head); letter-spacing: -.02em; }
.ref-cover img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 16/8; object-fit: cover; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item { display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(10,10,14,.92); display: grid; place-items: center; padding: 40px; animation: fade .3s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 86vh; max-width: 92vw; border-radius: 16px; width: auto; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.4rem; cursor: pointer; transition: background .2s; }
.lightbox button:hover { background: var(--blue); }
.lb-close { top: 20px; right: 20px; } .lb-prev { left: 20px; top: 50%; } .lb-next { right: 20px; top: 50%; }
@keyframes fade { from { opacity: 0; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-list li > span { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue); font-size: 1.4rem; flex-shrink: 0; }
.contact-list small { display: block; color: var(--muted); font-size: .85rem; }
.contact-list a { font: 700 1.15rem var(--font-head); letter-spacing: -.02em; color: var(--ink); }
.contact-list a:hover { color: var(--blue); }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-card h2 { font-size: 1.8rem; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 99px; background: var(--soft); margin-bottom: 22px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 11px 8px; border-radius: 99px; font: 500 .92rem var(--font-head); transition: all .3s var(--ease); }
.seg input:checked + span { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.seg input:focus-visible + span { outline: 3px solid var(--blue); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; margin-bottom: 14px; }
.field input, .field textarea { width: 100%; padding: 26px 20px 10px; border-radius: 20px; border: 2px solid transparent; background: var(--soft); font: 400 1rem var(--font-body); color: var(--ink); transition: border-color .25s, background .25s; resize: vertical; }
.field input:hover, .field textarea:hover { background: #eef0f3; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.field label { position: absolute; left: 22px; top: 18px; color: var(--muted); pointer-events: none; transition: all .25s var(--ease); font-size: 1rem; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 8px; font-size: .75rem; font-weight: 700; color: var(--blue); }
.field.has-error input, .field.has-error textarea { border-color: #e53935; }
.err { color: #e53935; font-size: .85rem; padding-left: 20px; }
.hp { position: absolute; left: -9999px; }
.form-alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 18px; border-radius: 16px; background: #fdecec; color: #a32020; font-size: .95rem; margin-bottom: 18px; }
.form-alert i { font-size: 1.3rem; flex-shrink: 0; }
.form-note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.form-success { text-align: center; padding: 40px 0; }
.form-success i { font-size: 5rem; color: var(--blue); animation: pop .7s var(--ease-spring); }
@keyframes pop { from { transform: scale(0) rotate(-30deg); } }

/* Error */
.error-hero { min-height: 80vh; display: flex; align-items: center; }
.big-404 { font: 700 clamp(6rem, 20vw, 14rem)/1 var(--font-head); letter-spacing: -.07em; background: linear-gradient(135deg, var(--blue), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-2); color: rgba(255,255,255,.7); padding: 80px 0 32px; margin-top: 80px; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: #fff; }
.site-footer .btn, .site-footer .btn:hover { color: var(--fg); }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-cta h2 { color: #fff; margin: 0; max-width: 620px; }
.footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h3 { font-size: 1rem; color: #fff; margin-bottom: 1rem; letter-spacing: -.01em; }
.footer-grid h3 a { color: #fff; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.footer-regions { grid-template-columns: 1fr 1fr; }
.footer-brand img { width: 80px; margin-bottom: 18px; }
.footer-brand address { font-style: normal; font-size: .95rem; line-height: 1.8; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); font-size: 1.2rem; transition: background .25s, transform .35s var(--ease-spring); }
.socials a:hover { background: var(--blue); }
.footer-seo { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: .8rem; }
.footer-seo a { color: rgba(255,255,255,.4); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; font-size: .85rem; color: rgba(255,255,255,.45); }
.mobile-cta { display: none; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .hide-md { display: none; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1180px) {
  :root { --header-h: 72px; }
  .burger { display: block; }
  .main-nav + .header-cta { margin-left: auto; }
  .header-cta .btn-primary { display: none; }
  .main-nav { position: fixed; inset: 0; top: 0; background: #fff; padding: calc(var(--header-h) + 16px) 24px 40px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .35s var(--ease), transform .4s var(--ease), visibility .35s; z-index: -1; }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { background: #fff; }
  .main-nav > ul { flex-direction: column; gap: 4px; }
  .nav-link { font-size: 1.6rem; font-weight: 700; padding: 14px 4px; width: 100%; }
  .nav-link:hover, .nav-link.is-active { background: none; color: var(--blue); }
  .caret { margin-left: auto; }
  .mega { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 12px; grid-template-columns: 1fr; display: none; }
  .has-mega.is-open .mega { display: grid; }
  .has-mega.is-open .caret { transform: rotate(180deg); }
  .has-mega:hover .mega { transform: none; }
  .mega-intro { display: none; }
  .mega-list { grid-template-columns: 1fr; }
  .page-hero-grid, .two-col, .faq-wrap, .contact-grid, .regions-layout { grid-template-columns: 1fr; gap: 40px; }
  .faq-wrap .section-head, .sticky-card { position: static; }
  .service-grid, .ref-grid, .region-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .logo-sub { display: none; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 40px); }
  .choice-grid, .service-grid, .ref-grid, .region-grid, .usp-grid, .cross-links, .field-row { grid-template-columns: 1fr; }
  .field-row { gap: 0; }
  .choice { padding: 24px; flex-direction: column; border-radius: 28px; }
  .choice-arrow { top: 22px; right: 22px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .section-services.is-soft, .section-services.is-dark, .regions-section { margin: 0; border-radius: 32px; }
  .cta-band { flex-direction: column; align-items: flex-start; border-radius: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer { border-radius: 32px 32px 0 0; padding-bottom: 100px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .seg { grid-template-columns: 1fr 1fr 1fr; }
  .seg span { font-size: .8rem; padding: 10px 4px; }
  .mobile-cta { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; border-radius: 99px; background: var(--blue); color: #fff; font: 700 1rem var(--font-head); box-shadow: 0 14px 30px -8px rgba(0,101,255,.6); transform: translateY(140%); transition: transform .5s var(--ease); }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta:hover { color: #fff; }
  .hero-actions .btn { flex: 1; }
  .header-cta .btn-ghost { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, [data-split] .w > span { opacity: 1; transform: none; }
}

/* ==========================================================================
   v2 – Tweetaligheid, gebruikersreis & animaties
   ========================================================================== */

/* ---------- Vloeiende paginaovergangen (View Transitions API) ---------- */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out .28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .45s var(--ease) both; }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: var(--ease); }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Taalknop ---------- */
.lang-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 99px; background: var(--soft); isolation: isolate; }
.lang-switch a { position: relative; z-index: 1; padding: 7px 11px; font: 700 .8rem/1 var(--font-head); letter-spacing: .04em; color: var(--muted); text-align: center; border-radius: 99px; transition: color .3s; }
.lang-switch a[aria-current] { color: #fff; }
.lang-switch a:not([aria-current]):hover { color: var(--ink); }
.lang-indicator { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 99px; background: var(--ink); transition: transform .45s var(--ease-spring); }
.lang-switch[data-lang="en"] .lang-indicator { transform: translateX(100%); }
.nav-mobile-cta { display: none; }

/* ---------- Gebruikersreis: stappen op de homepage ---------- */
.choice-label { display: flex; align-items: center; gap: 10px; font: 700 1rem var(--font-head); letter-spacing: -.02em; margin: 0 0 16px; color: var(--ink); }
.step-dot { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font: 700 .85rem var(--font-head); flex-shrink: 0; box-shadow: 0 0 0 5px rgba(0,101,255,.12); }
.hero-finder { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.hero-finder .finder { flex: 1; max-width: 620px; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; border: 2px solid rgba(21,21,26,.25); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--blue); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Locatiezoeker ---------- */
.finder { position: relative; }
.finder-label { display: block; font: 700 .9rem var(--font-head); margin-bottom: 8px; }
.finder-compact .finder-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.finder-box { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 18px; border-radius: 99px; background: #fff; border: 2px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.finder-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 6px rgba(0,101,255,.12); }
.finder-box > i { font-size: 1.35rem; color: var(--blue); }
.finder-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 500 1rem var(--font-body); color: var(--ink); padding: 10px 0; }
.finder-go { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 1.15rem; cursor: pointer; display: grid; place-items: center; transition: background .25s, transform .35s var(--ease-spring); }
.finder-go:hover { background: var(--blue); }
.finder-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: 20px; box-shadow: 0 24px 60px -16px rgba(21,21,26,.3), 0 0 0 1px rgba(21,21,26,.06); max-height: 320px; overflow-y: auto; animation: drop .25s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.finder-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; cursor: pointer; color: var(--ink); font-weight: 500; }
.finder-list li small { color: var(--muted); font-weight: 400; }
.finder-list li[aria-selected="true"], .finder-list li:hover { background: var(--blue-100); }
.finder-list li mark { background: none; color: var(--blue); font-weight: 700; }
.finder-list .finder-empty { cursor: default; color: var(--muted); font-weight: 400; }
.finder-list .finder-empty:hover { background: none; }
.finder-dark { margin-top: 28px; }
.finder-dark .finder-label { color: #fff; }
.finder-dark .finder-box { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.finder-dark .finder-box input { color: #fff; }
.finder-dark .finder-box input::placeholder { color: rgba(255,255,255,.45); }
.finder-dark .finder-box > i { color: #7fb0ff; }
.finder-dark .finder-go { background: var(--blue); }

/* ---------- Kaart: verbindingslijnen vanuit de hub ---------- */
.map-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map-lines line { stroke: rgba(127,176,255,.55); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease); transition-delay: var(--d); }
.map.is-in .map-lines line { stroke-dashoffset: 0; }
.map-hub { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.15), 0 0 30px 6px rgba(0,101,255,.7); z-index: 2; }
.map-hub::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--blue); }

/* ---------- Pagina-hero: domeinspecifieke illustratie ---------- */
.pill-icon { display: inline-grid; place-items: center; }
.hero-art { position: absolute; right: -40px; top: 50%; width: min(52vw, 680px); transform: translateY(-46%); opacity: .55; pointer-events: none; }
.art-data .links line { stroke: rgba(0,101,255,.18); stroke-width: 2; }
.art-data .packets line { stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 8 92; stroke-dashoffset: 100; animation: packet 3.2s linear infinite; animation-delay: calc(var(--i) * -.37s); }
@keyframes packet { to { stroke-dashoffset: 0; } }
.art-data .nodes circle { fill: #fff; stroke: var(--blue); stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: node 3s var(--ease) infinite; animation-delay: calc(var(--i) * .3s); }
@keyframes node { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
.art-power .traces path { stroke: rgba(199,143,0,.22); stroke-width: 3; }
.art-power .current path { stroke: var(--amber); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 14 86; stroke-dashoffset: 100; animation: packet 2.6s linear infinite; filter: drop-shadow(0 0 6px rgba(255,184,0,.8)); }
.art-power .current path:nth-child(2) { animation-delay: -.9s; } .art-power .current path:nth-child(3) { animation-delay: -1.7s; }
.art-power .nodes circle { fill: #fff; stroke: #c78f00; stroke-width: 3; }
.hero-card li { opacity: 0; transform: translateX(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(400ms + var(--i) * 80ms); }
.hero-card.is-in li { opacity: 1; transform: none; }

/* ---------- Werkwijze: lijn die meeloopt met het scrollen ---------- */
.steps::after { content: ""; position: absolute; top: 34px; left: 40px; right: 40px; height: 2px; background: linear-gradient(90deg, var(--blue), #5aa0ff); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform .15s linear; }
.step.is-active .step-nr { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 0 0 6px rgba(0,101,255,.14); }

/* ---------- Volgende stap ---------- */
.next-section .section-head { margin-bottom: 32px; }
.next-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.next-steps::before { content: ""; position: absolute; top: 46px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--blue) 0 10px, transparent 10px 18px); opacity: .35; z-index: 0; }
.next-card { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s, background .3s; }
.next-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.next-card strong { font: 700 1.25rem/1.2 var(--font-head); letter-spacing: -.03em; margin-top: 8px; }
.next-card > span:not(.next-nr):not(.next-icon) { color: var(--muted); font-size: .95rem; }
.next-nr { position: absolute; top: 20px; right: 22px; font: 700 .8rem var(--font-head); color: var(--muted); }
.next-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--blue-100); color: var(--blue); font-size: 1.6rem; transition: transform .6s var(--ease-spring); }
.next-arrow { margin-top: auto; padding-top: 14px; font-size: 1.3rem; color: var(--blue); transition: transform .35s var(--ease); }
.next-card.is-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.next-card.is-primary > span:not(.next-nr):not(.next-icon), .next-card.is-primary .next-nr { color: rgba(255,255,255,.8); }
.next-card.is-primary .next-icon { background: rgba(255,255,255,.18); color: #fff; }
.next-card.is-primary .next-arrow { color: #fff; }
.next-card.is-primary:hover { color: #fff; box-shadow: 0 24px 50px -16px rgba(0,101,255,.6); }

/* ---------- Referenties: beeld-onthulling ---------- */
.ref-media img { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0ms) + 150ms), 0ms; }
.ref-card.is-in .ref-media img { clip-path: inset(0 0 0 0); }
.no-js .ref-media img { clip-path: none; }
.ref-view { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; background: #fff; color: var(--ink); font: 700 .85rem var(--font-head); opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.ref-card:hover .ref-view { opacity: 1; transform: none; }
.ref-cover img { clip-path: inset(0 0 0 0 round var(--radius-lg)); }

/* ---------- FAQ: vloeiend openen ---------- */
.faq-item[open] .faq-answer > div { animation: faq-in .45s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Offerte-wizard ---------- */
.contact-promise { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 10px; }
.contact-promise li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.contact-promise b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 .8rem var(--font-head); }
.wiz-head { margin-bottom: 22px; }
.wiz-head h2 { margin-bottom: 18px; }
.wiz-progress { display: none; }
.js .wiz-progress { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wiz-progress li { display: flex; align-items: center; gap: 8px; font: 500 .9rem var(--font-head); color: var(--muted); transition: color .3s; }
.wiz-progress span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); font: 700 .78rem var(--font-head); transition: all .4s var(--ease); }
.wiz-progress li.is-current { color: var(--ink); }
.wiz-progress li.is-current span { border-color: var(--blue); color: var(--blue); box-shadow: 0 0 0 4px rgba(0,101,255,.12); }
.wiz-progress li.is-done span { background: var(--blue); border-color: var(--blue); color: #fff; }
.wiz-bar { display: none; }
.js .wiz-bar { display: block; height: 4px; border-radius: 4px; background: var(--soft); overflow: hidden; }
.wiz-bar span { display: block; height: 100%; width: 33.33%; background: linear-gradient(90deg, var(--blue), #5aa0ff); border-radius: inherit; transition: width .6s var(--ease); }
.wiz-step { border: 0; margin: 0 0 8px; padding: 0; min-width: 0; }
.wiz-step legend { font: 700 1.2rem var(--font-head); letter-spacing: -.03em; margin-bottom: 14px; padding: 0; }
.js .wiz-step { display: none; }
.js .wiz-step.is-current { display: block; animation: step-in .5s var(--ease); }
.js .wiz-step.is-current.from-left { animation-name: step-in-left; }
@keyframes step-in { from { opacity: 0; transform: translateX(30px); } }
@keyframes step-in-left { from { opacity: 0; transform: translateX(-30px); } }
.wiz-sub { font-size: .92rem; color: var(--muted); margin: 6px 0 10px; }
.svc-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px; border-radius: 18px; }
.svc-chips.has-error { outline: 2px solid #e53935; outline-offset: 4px; }
.svc-chip { cursor: pointer; }
.svc-chip input { position: absolute; opacity: 0; pointer-events: none; }
.svc-chip span { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; font: 500 .9rem var(--font-head); transition: all .25s var(--ease); }
.svc-chip span i { font-size: 1.15rem; color: var(--blue); transition: color .25s; }
.svc-chip:hover span { border-color: var(--ink); }
.svc-chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; animation: chip-pop .35s var(--ease-spring); }
.svc-chip input:checked + span i { color: #fff; }
.svc-chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.svc-chip[data-domain="elektriciteit"] span i { color: #c78f00; }
.svc-chip[data-domain="elektriciteit"] input:checked + span { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.svc-chip[data-domain="elektriciteit"] input:checked + span i { color: var(--ink); }
.svc-chip.is-hidden { display: none; }
@keyframes chip-pop { 50% { transform: scale(1.08); } }
.timing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 14px; }
.timing label { cursor: pointer; }
.timing input { position: absolute; opacity: 0; }
.timing span { display: block; padding: 12px 14px; border-radius: 16px; border: 1.5px solid var(--line); font: 500 .92rem var(--font-head); text-align: center; transition: all .25s var(--ease); }
.timing input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.timing input:focus-visible + span { outline: 3px solid var(--blue); }
.wiz-nav { display: flex; gap: 10px; align-items: center; margin-top: 18px; }
.wiz-nav [data-submit] { flex: 1; }
.wiz-nav [data-prev], .wiz-nav [data-next] { display: none; }
.js .wiz-nav [data-next] { display: inline-flex; flex: 1; }
.js .wiz-nav [data-prev] { display: inline-flex; }
.js .wiz-nav [data-prev][hidden], .js .wiz-nav [data-next][hidden], .js .wiz-nav [data-submit][hidden] { display: none; }
.check-anim { width: 96px; height: 96px; margin: 0 auto 10px; display: block; }
.check-anim circle { fill: none; stroke: var(--blue); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .8s var(--ease) forwards; }
.check-anim path { fill: none; stroke: var(--blue); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success .btn { margin-top: 10px; }

/* ---------- Responsive v2 ---------- */
@media (max-width: 1180px) {
  .header-cta .lang-switch { margin-right: 4px; }
  .nav-mobile-cta { display: block; margin-top: 18px; }
  .hero-art { opacity: .25; width: 80vw; right: -20vw; }
  .next-steps { grid-template-columns: 1fr; }
  .next-steps::before { display: none; }
}
@media (max-width: 720px) {
  .hero-finder { align-items: flex-start; }
  .hero-finder .step-dot { margin-top: 10px; }
  .scroll-cue { display: none; }
  .timing { grid-template-columns: 1fr 1fr; }
  .js .wiz-progress li { font-size: 0; gap: 0; justify-content: center; }
  .js .wiz-progress li span { font-size: .78rem; }
  .hero-art { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ref-media img { clip-path: none; }
  .hero-card li { opacity: 1; transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* Locatiezoeker v3 */
.finder-list li > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.finder-list li em { font-style: normal; color: var(--muted); font-size: .85em; margin-left: 4px; }
.finder-list li small { flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; }
.finder-list li.is-outside small { color: #8a6200; }
.finder-list .finder-empty a { color: var(--muted); }
/* Keuzelijst locatiezoeker mag buiten de hero en het regioblok uitsteken: alleen de achtergrond knippen */
.hero, .page-hero, .regions-section { overflow: visible; }
.hero-bg { overflow: hidden; }
.hero { z-index: 3; }
.regions-section { z-index: 2; }
.finder-list { z-index: 50; }

/* ---------- Cookiemelding ---------- */
.cookie-banner { position: fixed; z-index: 120; left: 20px; bottom: 20px; width: min(460px, calc(100vw - 40px)); display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; padding: 20px 22px; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 30px 70px -20px rgba(21,21,26,.35), 0 0 0 1px rgba(21,21,26,.06); opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .45s var(--ease), transform .55s var(--ease-spring); }
.cookie-banner.is-visible { opacity: 1; transform: none; }
.cookie-icon { grid-row: span 2; width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--amber-100); color: #b07e00; font-size: 1.7rem; }
.cookie-banner.is-visible .cookie-icon i { animation: cookie-wobble 1.2s .4s var(--ease); }
@keyframes cookie-wobble { 20% { transform: rotate(-14deg); } 45% { transform: rotate(10deg); } 70% { transform: rotate(-4deg); } }
.cookie-body strong { display: block; font: 700 1.05rem var(--font-head); letter-spacing: -.02em; margin-bottom: 4px; }
.cookie-body p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.cookie-actions { grid-column: 2; display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 18px; font-size: .9rem; }
body.has-cookie-banner .mobile-cta { transform: translateY(160%) !important; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.link-btn:hover { color: #fff; }
.cookie-table-wrap { overflow-x: auto; margin: 0 0 1.4em; }
.cookie-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.cookie-table th, .cookie-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cookie-table th { font: 700 .8rem var(--font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.cookie-table small { color: var(--muted); }
@media (max-width: 720px) { .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; grid-template-columns: 1fr; } .cookie-icon { display: none; } .cookie-actions { grid-column: 1; } .cookie-actions .btn { flex: 1; } }

/* ---------- Logo-varianten (Beheer › Bedrijfsgegevens › Merk & logo) ---------- */
.logo-word { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: 99px; background: var(--blue); color: #fff; font: 700 1.25rem/1 var(--font-head); letter-spacing: -.05em; white-space: nowrap; transition: transform .5s var(--ease-spring); }
.logo-word.is-dark { background: #fff; color: var(--blue); }
.logo-byline { font-size: .85rem; font-weight: 500; color: var(--muted); }
.logo-img { height: 46px; width: auto; max-width: 220px; object-fit: contain; }
.footer-logo { margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.footer-logo img { width: auto; height: 44px; margin: 0; }
.footer-logo .logo-byline { color: rgba(255,255,255,.55); border-color: rgba(255,255,255,.15); }
@media (max-width: 720px) { .logo-word { height: 40px; padding: 0 16px; font-size: 1.1rem; } .logo-img { height: 38px; max-width: 160px; } }

.cookie-banner[hidden] { display: none; }
.logo .logo-img { width: auto; }
.logo:hover .logo-img { transform: none; }
.header-inner { gap: 18px; }
.main-nav { flex-shrink: 0; } .nav-link { white-space: nowrap; } .mega { white-space: normal; } .header-cta { flex-shrink: 0; }
@media (max-width: 1560px) { .hide-md { display: none; } }
@media (max-width: 1400px) { .logo-byline { display: none; } .footer-logo .logo-byline { display: inline; } }
/* Uitklapmenu blijft altijd binnen het scherm (verschuiving berekend in main.js) */
@media (min-width: 1181px) {
  .mega { transform: translate(calc(-50% + var(--shift, 0px)), 10px) scale(.98); }
  .has-mega:hover .mega, .has-mega:focus-within .mega { transform: translate(calc(-50% + var(--shift, 0px)), 0) scale(1); }
}
/* Lange woorden in titels (bv. "Elektriciteitswerken") mogen op smalle schermen afbreken, met koppelteken in de taal van de pagina */
[data-split] .w.w-long { display: inline; overflow: visible; }
[data-split] .w.w-long > span { display: inline; transform: none; }
@media (max-width: 720px) {
  h1, h2, h3 { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
}
