/* =====================================================================
   NRG Group | motion & visual upgrade layer
   Wordt NA styles.min.css geladen. Alles hierin is additief: verwijder
   de <link> naar dit bestand (en nrg-motion.js) en de site valt terug
   op het oorspronkelijke ontwerp.
   ===================================================================== */

:root {
  --nrg-navy: #002434;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --nav-h: 73px;
}

/* ---------- Zachte paginaovergangen (browsers met View Transitions) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .22s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in .38s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

::selection { background: var(--nrg-green-300); color: var(--nrg-navy); }
html { scroll-behavior: smooth; }

/* ---------- Scroll-voortgang ---------- */
.nrg-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80;
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--nrg-teal-600), var(--nrg-green-500) 60%, var(--nrg-green-300));
  pointer-events: none;
}

/* ---------- Navigatie ---------- */
.nav {
  transition: transform .45s var(--ease-out), background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.nav.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 36, 52, .35); }
.nav.is-hidden { transform: translateY(-100%); }
body.nav-open .nav.is-hidden { transform: none; }
.nav__inner { transition: padding .3s ease, min-height .3s ease; }
.nav.is-scrolled .nav__inner { padding-top: 8px; padding-bottom: 8px; min-height: 56px; }
.nav__logo svg { transition: height .3s ease; }
.nav.is-scrolled .nav__logo svg { height: 38px; }

.nav__links ul > li > a,
.nav__dropdown-trigger { position: relative; }
.nav__links ul > li > a::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px;
  background: var(--nrg-green-500); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .35s var(--ease-out);
}
.nav__links ul > li > a:hover::after { transform: scaleX(1); }

.nav__logo svg g { transition: fill .3s ease; }

/* ---------- Knoppen ---------- */
.btn { position: relative; flex-shrink: 0; overflow: hidden; isolation: isolate; transition: transform .25s var(--ease-out), background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease; }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%);
  transform: translateX(-120%);
}
.btn:hover::after { transform: translateX(120%); transition: transform .7s var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary:hover { box-shadow: 0 14px 28px -14px rgba(0, 77, 89, .7); }
.btn--glow { background: var(--nrg-green-500); color: var(--nrg-navy); font-weight: 600; }
.btn--glow:hover { background: var(--nrg-green-300); box-shadow: 0 0 0 6px rgba(89, 204, 125, .16), 0 16px 34px -14px rgba(0, 175, 112, .8); }
.btn--line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--line:hover { background: #fff; color: var(--nrg-navy); border-color: #fff; }

/* ---------- Reveal on scroll ----------
   html.js-rv wordt in <head> gezet; valt de JS weg, dan haalt een
   failsafe de class er na 2,5 s weer af en is alles gewoon zichtbaar. */
html.js-rv :is(
  .section-head, .showcase__head, .showcase__tabs, .showcase__stage,
  .page-hero__inner > *, .cockpit-hero__content > *, .cockpit-hero__visual,
  .product-card, .capability-card, .integration-card, .why-item, .feature-item, .feature,
  .step-flow-card, .sector-card, .solution-card, .context-block__inner, .service-card,
  .blog-card--teaser, .contact-general__block, .footer-cta__inner > *, .footer__col, .footer__brand,
  .wat__inner > *, .sx__panel, .hero-menu__item, .audience__inner,
  .evinity-block .container > *, .case-highlight .container > *, .mission-vision .container > *,
  .login-cta .container > *, .featured-product .container > *, .page-intro .container > *,
  .prose-block .container > *, .nrg-approach .container > *, .vac-body .container > *, .card,
  [data-rv]
):not(.rv-in) {
  opacity: 0;
  transform: translateY(28px);
}
html.js-rv .rv-anim {
  transition: opacity .8s var(--ease-out) var(--rv-d, 0ms), transform .9s var(--ease-out) var(--rv-d, 0ms);
}

/* ---------- Kaarten: lift + spotlight die de cursor volgt ---------- */
:is(.product-card, .capability-card, .integration-card, .why-item, .step-flow-card, .sector-card, .solution-card, .service-card, .contact-general__block) {
  position: relative;
}
:is(.product-card, .capability-card, .integration-card, .why-item, .step-flow-card, .service-card, .contact-general__block)::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 175, 112, .13), transparent 62%);
  transition: opacity .35s ease;
}
:is(.product-card, .capability-card, .integration-card, .why-item, .step-flow-card, .service-card, .contact-general__block):hover::after { opacity: 1; }
:is(.product-card, .capability-card, .integration-card, .why-item, .step-flow-card, .service-card) {
  transition: transform .35s var(--ease-out), box-shadow .35s ease, border-color .35s ease;
}
:is(.product-card, .capability-card, .integration-card, .why-item, .step-flow-card, .service-card):hover {
  transform: translateY(-5px);
  border-color: rgba(0, 175, 112, .45);
  box-shadow: 0 26px 50px -30px rgba(0, 52, 61, .45);
}
:is(.capability-card__icon, .integration-card__icon) { transition: transform .45s var(--ease-out); }
:is(.capability-card, .integration-card):hover :is(.capability-card__icon, .integration-card__icon) { transform: translateY(-3px) scale(1.08) rotate(-4deg); }

/* Beeld in kaarten: rustige zoom */
:is(.sector-card__visual, .solution-card__visual, .blog-card__image) { overflow: hidden; }
.blog-card__image { transition: transform .9s var(--ease-out), filter .5s ease; }
.blog-card:hover .blog-card__image { transform: scale(1.05); }

/* ---------- Subpagina-hero's ---------- */
.page-hero, .cockpit-hero { position: relative; overflow: hidden; }
.page-hero > .container, .cockpit-hero > .container { position: relative; z-index: 2; }
.ph-fx { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.ph-fx__orb {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
  animation: orb-drift 18s var(--ease-io) infinite alternate;
}
.ph-fx__orb--a { width: 520px; height: 520px; right: -140px; top: -220px; background: radial-gradient(circle, rgba(89, 204, 125, .5), transparent 65%); }
.ph-fx__orb--b { width: 420px; height: 420px; right: 22%; bottom: -260px; background: radial-gradient(circle, rgba(0, 125, 140, .35), transparent 65%); animation-duration: 24s; animation-direction: alternate-reverse; }
@keyframes orb-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-70px, 50px, 0) scale(1.15); }
}
.ph-fx svg { position: absolute; right: 0; top: 0; height: 100%; width: min(46%, 700px); opacity: .9; }
.ph-fx path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ph-fx .ph-line { stroke: rgba(0, 125, 140, .2); stroke-width: 1; }
.ph-fx .ph-pulse { stroke: var(--nrg-green-500); stroke-width: 2; stroke-dasharray: 60 1400; stroke-dashoffset: 1460; animation: ph-run 7s linear infinite; }
.ph-fx .ph-pulse:nth-of-type(2n) { animation-duration: 9.5s; animation-delay: -3s; stroke: var(--nrg-teal-600); }
.ph-fx .ph-pulse:nth-of-type(3n) { animation-duration: 12s; animation-delay: -6s; }
@keyframes ph-run { to { stroke-dashoffset: 0; } }
.cockpit-hero .ph-fx .ph-line { stroke: rgba(255, 255, 255, .1); }
.cockpit-hero .ph-fx .ph-pulse { stroke: var(--nrg-green-300); }
.cockpit-hero__visual { animation: float-y 7s ease-in-out infinite; will-change: transform; }
@keyframes float-y { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@media (max-width: 760px) { .ph-fx svg { width: 100%; opacity: .45; } }

/* Titel-accent: groene lijn die zich uittekent */
.section-head h2, .showcase__heading { position: relative; }
.eyebrow { position: relative; padding-left: 0; transition: padding-left .7s var(--ease-out) .15s; }
.eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 2px; margin-top: -1px;
  background: currentColor; transition: width .7s var(--ease-out) .15s;
}
.rv-in > .eyebrow, .eyebrow.rv-in, .rv-in .eyebrow:not(.eyebrow--pill) { padding-left: 30px; }
.rv-in > .eyebrow::before, .eyebrow.rv-in::before, .rv-in .eyebrow:not(.eyebrow--pill)::before { width: 20px; }
.eyebrow--pill::before { display: none; }

/* =====================================================================
   HOMEPAGE
   ===================================================================== */

/* ---------- Hero: licht en rustig, met echt Cockpit-schermbeeld ---------- */
.hero--calm {
  background: linear-gradient(180deg, #fff 0%, var(--nrg-surface) 60%, var(--nrg-surface-2) 100%);
  padding: clamp(56px, 7vw, 104px) 0 clamp(56px, 7vw, 96px);
}
.hero--calm > .container { position: relative; z-index: 2; }
.hero--calm .hero__inner { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero--calm .hero__payoff { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.06; letter-spacing: -.03em; margin-bottom: clamp(20px, 2.4vw, 30px); }
.hero--calm .hero__payoff .hl { display: block; overflow: hidden; padding-bottom: .24em; margin-bottom: -.24em; }
.hero--calm .hero__payoff .hl > span { display: block; padding-right: .08em; }
.hero--calm .hero__payoff em { margin-top: 0; color: var(--nrg-green-500); }
.hero--calm .hero__intro { font-weight: 400; color: var(--nrg-ink-soft); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; max-width: 500px; }
.hero--calm .hero__intro strong { font-weight: 600; color: var(--nrg-teal-800); }
.hero--calm .ph-fx svg { width: min(46%, 700px); opacity: .55; }

/* Hero-entree */
html.js-rv .hero--calm .hero__intro,
html.js-rv .hero--calm .hero__actions { opacity: 0; transform: translateY(20px); }
html.js-rv .hero--calm .appwin { opacity: 0; transform: translateY(36px) scale(.98); }
html.js-rv .hero--calm .hl > span { transform: translateY(110%); }
html.js-rv .hero--calm.is-in .hero__intro,
html.js-rv .hero--calm.is-in .hero__actions,
html.js-rv .hero--calm.is-in .appwin { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); }
html.js-rv .hero--calm.is-in .hl > span { transform: none; transition: transform 1s var(--ease-out); }
html.js-rv .hero--calm.is-in .hl:nth-child(2) > span { transition-delay: .12s; }
html.js-rv .hero--calm.is-in .hero__intro { transition-delay: .3s; }
html.js-rv .hero--calm.is-in .hero__actions { transition-delay: .42s; }
html.js-rv .hero--calm.is-in .appwin { transition-delay: .25s; }

/* ---------- Hero met intro-film (schermvullend) ---------- */
.hero--film {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--nrg-navy); color: #fff;
  min-height: calc(100vh - var(--nav-h)); min-height: calc(100svh - var(--nav-h)); display: flex; align-items: center;
  padding: clamp(72px, 9vw, 130px) 0;
}
.hero--film .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero--film .hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 36, 52, .88) 0%, rgba(0, 36, 52, .62) 45%, rgba(0, 36, 52, .18) 100%),
    linear-gradient(0deg, rgba(0, 36, 52, .55) 0%, rgba(0, 36, 52, 0) 40%);
}
.hero--film .hero__inner { grid-template-columns: minmax(0, 720px); width: 100%; }
.hero--film .hero__payoff { color: #fff; font-size: clamp(38px, 5.6vw, 78px); }
.hero--film .hero__payoff em { color: var(--nrg-green-300); }
.hero--film .hero__intro { color: rgba(255, 255, 255, .85); max-width: 560px; }
.hero--film .hero__intro strong { color: #fff; }
.hero__pause {
  position: absolute; right: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 32px); z-index: 2;
  width: 44px; height: 44px; display: grid; place-items: center; padding: 0;
  background: rgba(0, 36, 52, .45); border: 1px solid rgba(255, 255, 255, .4); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .25s ease;
}
.hero__pause:hover { background: rgba(0, 36, 52, .8); }
.hero__pause:focus-visible { outline: 2px solid var(--nrg-green-300); outline-offset: 2px; }
.hero__pause span { width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.hero__pause[aria-pressed="true"] span { width: 0; height: 0; border: 0; border-left: 13px solid currentColor; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 3px; }


/* Venster met schermbeeld uit de Cockpit */
.appwin__tilt { transition: transform .6s var(--ease-out); will-change: transform; }
.appwin {
  margin: 0; background: #fff; border: 1px solid var(--nrg-border-strong);
  box-shadow: 0 60px 100px -50px rgba(0, 52, 61, .45), 0 18px 36px -24px rgba(0, 52, 61, .25);
  position: relative;
}
.appwin::before {
  content: ""; position: absolute; inset: 0; translate: 16px 16px; z-index: -1;
  border: 1px solid var(--nrg-green-500);
}
.appwin__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--nrg-border); background: var(--nrg-surface); }
.appwin__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--nrg-border-strong); }
.appwin__bar span { margin-left: 10px; font-size: 12px; color: var(--nrg-muted); letter-spacing: .02em; }
.appwin__view { position: relative; aspect-ratio: 1200 / 800; overflow: hidden; background: #fafbfd; container-type: inline-size; }
.appwin__view img { width: 100%; height: auto; display: block; animation: appwin-pan 26s var(--ease-io) 2.2s infinite alternate; will-change: transform; }
.appwin:hover .appwin__view img { animation-play-state: paused; }
@keyframes appwin-pan { 0%, 12% { transform: translateY(0); } 88%, 100% { transform: translateY(calc(-100% + (100cqw * 800 / 1200))); } }
.appwin figcaption { padding: 10px 14px; font-size: 12px; color: var(--nrg-muted); border-top: 1px solid var(--nrg-border); background: var(--nrg-surface); }

/* ---------- Drie stappen ---------- */
.hero-menu__item { padding: 26px 26px; }
.hero-menu__item:hover { transform: translateY(-6px); }
.hero-menu__item::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: var(--nrg-green-500); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .6s var(--ease-out); z-index: 2;
}
.hero-menu__item:hover::after { transform: scaleX(1); }
.hero-menu__num { font-size: 28px; font-weight: 300; letter-spacing: -.02em; }

/* ---------- Statement (wat doet NRG) ---------- */
.wat { background: var(--nrg-white); color: var(--nrg-ink); padding: clamp(64px, 8vw, 120px) 0; border-bottom: 1px solid var(--nrg-border); }
.wat::before { display: none; }
.wat__inner { max-width: 1040px; }
.wat .eyebrow { color: var(--nrg-green-500) !important; }
.wat__title { color: var(--nrg-teal-800); font-size: clamp(30px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -.03em; margin-bottom: clamp(24px, 3vw, 40px); max-width: 900px; }
.wat__lede { max-width: 940px; font-size: clamp(20px, 2.3vw, 30px); line-height: 1.42; letter-spacing: -.015em; color: rgba(0, 52, 61, .28); margin-bottom: 0; font-weight: 400; }
.wat__lede strong { color: inherit; font-weight: 600; }
.wat__lede .scrub {
  background: linear-gradient(90deg, var(--nrg-teal-900) 0%, var(--nrg-teal-900) 46%, var(--nrg-green-500) 48.5%, rgba(0, 52, 61, .22) 50.5%, rgba(0, 52, 61, .22) 100%);
  background-size: 205% 100%;
  background-position: calc(100% - var(--scrub, 0) * 106%) 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Statement en Cockpit-venster naast elkaar */
.wat { padding: clamp(48px, 6vw, 88px) 0; }
.wat__inner { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: clamp(32px, 5vw, 72px); grid-template-rows: auto auto 1fr; align-items: start; }
.wat__inner > * { grid-column: 1; }
.wat__title { font-size: clamp(28px, 3.2vw, 42px); margin-bottom: clamp(16px, 2vw, 24px); }
.wat__lede { font-size: clamp(17px, 1.55vw, 21px); line-height: 1.5; }
.wat__lede .scrub { background-color: var(--nrg-teal-900); }
.wat__screen { grid-column: 2; grid-row: 1 / span 3; align-self: start; padding-right: 16px; }
@media (max-width: 900px) {
  .wat__inner { grid-template-columns: 1fr; grid-template-rows: none; }
  .wat__screen { grid-column: 1; grid-row: auto; margin-top: 32px; }
}

/* ---------- Showcase ---------- */
.showcase { background: var(--nrg-surface); }
.showcase__viz--screen { background-position: left top; background-color: #fafbfd; border: 1px solid var(--nrg-border-strong); }
.cockpit-hero__visual { background-position: left top !important; }
.showcase__tabs { padding: 0; gap: 0; background: transparent; border: 1px solid var(--nrg-border-strong); }
.showcase__tab { position: relative; padding: 16px 28px; overflow: hidden; }
.showcase__tab + .showcase__tab { border-left: 1px solid var(--nrg-border); }
.showcase__tab::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: var(--nrg-green-300); transform: scaleX(0); transform-origin: 0 50%;
}
.showcase__tab.is-active.is-timing::after { animation: tab-fill var(--tab-ms, 7000ms) linear forwards; }
.showcase.is-paused .showcase__tab.is-active::after { animation-play-state: paused; }
@keyframes tab-fill { to { transform: scaleX(1); } }
.showcase__visual { overflow: visible; background: transparent; box-shadow: none; }
.showcase__visual::before {
  content: ""; position: absolute; inset: 0; translate: 18px 18px;
  border: 1px solid var(--nrg-green-500); z-index: 0;
  animation: frame-in .9s var(--ease-out) .15s both;
}
@keyframes frame-in { from { translate: 0 0; opacity: 0; } }
.showcase__viz { z-index: 1; box-shadow: 0 40px 80px -40px rgba(0, 52, 61, .5); animation: viz-in 1.1s var(--ease-out) both; }
@keyframes viz-in { from { clip-path: inset(0 100% 0 0); transform: scale(1.04); } to { clip-path: inset(0 0 0 0); transform: none; } }
.showcase__panel.is-active .showcase__text > * { animation: showcase-in .7s var(--ease-out) both; }
.showcase__panel.is-active .showcase__text > *:nth-child(2) { animation-delay: .06s; }
.showcase__panel.is-active .showcase__text > *:nth-child(3) { animation-delay: .12s; }
.showcase__panel.is-active .showcase__text > *:nth-child(4) { animation-delay: .18s; }
.showcase__panel.is-active .showcase__text > *:nth-child(5) { animation-delay: .24s; }
.showcase__panel { animation: none; }

/* ---------- Doelgroepen-strip ---------- */
.audience__list li { transition: color .25s ease, transform .35s var(--ease-out); }
.audience__list li:hover { color: var(--nrg-green-500); transform: translateY(-2px); }

/* ---------- Sectoren: uitklappende fotopanelen ---------- */
.sx { display: flex; gap: 10px; height: clamp(380px, 38vw, 480px); }
.sx__panel {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; color: #fff; isolation: isolate;
  transition: flex-grow .8s var(--ease-out);
}
.sx__img {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  filter: grayscale(1) contrast(1.05); transform: scale(1.08);
  transition: transform 1.2s var(--ease-out), filter .8s ease;
}
.sx__panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 77, 89, .55) 0%, rgba(0, 36, 52, .92) 100%);
  transition: opacity .6s ease, background .6s ease;
}
.sx__panel.is-active { flex-grow: 4.2; }
@media (min-width: 901px) {
  .sx__panel:not(.is-active) .sx__label { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; align-self: flex-start; }
  .sx__panel.is-active .sx__label { animation: sx-label .6s var(--ease-out) .12s both; }
}
@keyframes sx-label { from { opacity: 0; transform: translateY(14px); } }

.sx__panel.is-active .sx__img { filter: grayscale(0) contrast(1); transform: scale(1); }
.sx__panel.is-active::after { background: linear-gradient(180deg, rgba(0, 36, 52, .5) 0%, rgba(0, 36, 52, 0) 28%, rgba(0, 36, 52, 0) 45%, rgba(0, 36, 52, .92) 100%); }
.sx__num { position: absolute; top: 20px; left: 24px; font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--nrg-green-300); }
.sx__label { font-size: clamp(18px, 1.7vw, 26px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.sx__sub { font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .8); max-height: 0; opacity: 0; overflow: hidden; white-space: nowrap; transition: max-height .6s var(--ease-out), opacity .4s ease, margin .6s var(--ease-out); }
.sx__panel.is-active .sx__sub { max-height: 60px; opacity: 1; margin-top: 8px; transition-delay: .15s; }
.sx__arrow {
  position: absolute; top: 16px; right: 18px; width: 40px; height: 40px;
  display: grid; place-items: center; font-size: 18px;
  border: 1px solid rgba(255, 255, 255, .35); color: #fff;
  opacity: 0; transform: translate(-8px, 8px);
  transition: opacity .4s ease, transform .5s var(--ease-out), background .3s ease, color .3s ease;
}
.sx__panel.is-active .sx__arrow { opacity: 1; transform: none; }
.sx__panel:hover .sx__arrow { background: var(--nrg-green-500); border-color: var(--nrg-green-500); color: var(--nrg-navy); }
.sx__panel:focus-visible { outline: 2px solid var(--nrg-green-300); outline-offset: 3px; }

/* ---------- Blog-teaser ---------- */
.blog-card--teaser { transition: transform .45s var(--ease-out), box-shadow .45s ease, border-color .3s ease; }
.blog-card--teaser:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -40px rgba(0, 52, 61, .5); }
.blog-card--teaser { overflow: hidden; }

/* ---------- Klanten ---------- */
.clients { padding: clamp(40px, 5vw, 64px) 0; }
.clients__marquee + .clients__marquee { margin-top: 18px; }
.clients__marquee--rev .clients__track { animation-direction: reverse; animation-duration: 60s; }
.client-logo { font-size: clamp(20px, 2.2vw, 30px); letter-spacing: -.02em; opacity: .38; transition: opacity .3s ease, color .3s ease, transform .4s var(--ease-out); }
.client-logo:hover { opacity: 1; color: var(--nrg-green-500); transform: translateY(-2px); }

/* =====================================================================
   FOOTER CTA (alle pagina's)
   ===================================================================== */
.footer-cta {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(120deg, var(--nrg-teal-900) 0%, var(--nrg-teal-800) 55%, #00606b 100%);
  border-top: 0; color: #fff;
}
.footer-cta::before {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 70%;
  background-repeat: repeat-x; background-size: 1200px 100%; background-position: 0 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300' preserveAspectRatio='none'%3E%3Cg fill='none' stroke-width='1.5'%3E%3Cpath stroke='%2359cc7d' stroke-opacity='.5' d='M0 150 C150 60 300 60 450 150 S750 240 900 150 1050 60 1200 150'/%3E%3Cpath stroke='%237dc4b0' stroke-opacity='.3' d='M0 190 C200 110 400 110 600 190 S1000 270 1200 190'/%3E%3Cpath stroke='%23ffffff' stroke-opacity='.14' d='M0 110 C100 170 200 170 300 110 S500 50 600 110 800 170 900 110 1100 50 1200 110'/%3E%3C/g%3E%3C/svg%3E");
  animation: wave-x 22s linear infinite;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 100%); mask-image: linear-gradient(90deg, transparent, #000 30%, #000 100%);
}
@keyframes wave-x { to { background-position: -1200px 100%; } }
.footer-cta::after {
  content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; right: -160px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(89, 204, 125, .3), transparent 65%);
  animation: orb-drift 16s var(--ease-io) infinite alternate;
}
.footer-cta .eyebrow { color: var(--nrg-green-300); }
.footer-cta h2, .footer-cta__title { color: #fff; font-size: clamp(30px, 4vw, 52px); line-height: 1.06; letter-spacing: -.03em; font-weight: 600; margin-bottom: 20px; max-width: 640px; }
.footer-cta__lede { color: rgba(255, 255, 255, .78); }
.footer-cta .btn--primary { background: var(--nrg-green-500); color: var(--nrg-navy); font-weight: 600; }
.footer-cta .btn--primary:hover { background: var(--nrg-green-300); box-shadow: 0 0 0 6px rgba(89, 204, 125, .16), 0 16px 34px -14px rgba(0, 175, 112, .8); }
.footer-cta .btn--ghost-light, .footer-cta .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); background: transparent; }
.footer-cta .btn--ghost-light:hover, .footer-cta .btn--ghost:hover { background: #fff; color: var(--nrg-navy); border-color: #fff; }
.footer-cta__card {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, .85); line-height: 1.7;
}
.footer-cta__card strong { color: #fff; }
.footer-cta__card a { color: var(--nrg-green-300); }
.footer-cta__card-block { color: rgba(255, 255, 255, .8); border-top-color: rgba(255, 255, 255, .15); }
.footer-cta__card-block strong { color: #fff; }
.footer-cta__card-label { color: var(--nrg-green-300); }

/* Footer */
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer__certs { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.footer__cert { border: 1px solid rgba(255, 255, 255, .28); padding: 4px 9px; font-size: 11px; font-weight: 600; letter-spacing: .08em; color: #fff; white-space: nowrap; }
.footer { background: var(--nrg-navy); }
.footer a { transition: color .25s ease, padding-left .35s var(--ease-out); }
.footer__col a:hover { color: var(--nrg-green-300); padding-left: 6px; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1040px) {
  .hero--calm .hero__inner { grid-template-columns: 1fr; }
  .hero--calm .hero__aside { display: block !important; max-width: 640px; }
  .hero--film .hero__inner { grid-template-columns: 1fr; }
  .appwin::before { translate: 10px 10px; }
}
@media (max-width: 900px) {
  :root { --nav-h: 69px; }
  .sx { flex-direction: column; height: auto; }
  .sx__panel, .sx__panel.is-active { flex: none; min-height: 132px; }
  .sx__img { filter: none; transform: none; }
  .sx__panel::after, .sx__panel.is-active::after { background: linear-gradient(90deg, rgba(0, 36, 52, .92) 0%, rgba(0, 36, 52, .45) 100%); }
  .sx__sub { max-height: 60px; opacity: 1; margin-top: 6px; white-space: normal; }
  .sx__arrow { opacity: 1; transform: none; }
  .sx__num { position: static; margin-bottom: 6px; }
  .showcase__visual::before { translate: 10px 10px; }
  .showcase__tab + .showcase__tab { border-left: 0; border-top: 1px solid var(--nrg-border); }
}

/* =====================================================================
   Minder beweging gewenst
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  @view-transition { navigation: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .wat__lede .scrub { --scrub: 1 !important; }
  .nav.is-hidden { transform: none; }
}

/* ---------- Echte afbeeldingen (met alt-tekst) over de achtergrondbeelden ---------- */
:where(.has-bgimg) { position: relative; }
.bgimg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.sx__img .bgimg { position: absolute; }

/* Kernwoorden als H1 boven de payoff */
.hero__topic { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--nrg-green-300); margin: 0 0 clamp(16px, 2vw, 24px); line-height: 1.4; }
html.js-rv .hero--calm .hero__topic { opacity: 0; transform: translateY(20px); }
html.js-rv .hero--calm.is-in .hero__topic { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); }
p.hero__payoff { margin-top: 0; }
h1.hero__intro { font-weight: 500; }

/* ---------- Dienstpagina's: tegels, knoppen en veelgestelde vragen ---------- */
.tiles--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .tiles--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tiles--4 { grid-template-columns: 1fr; } }
.tiles-section--services { padding: clamp(40px, 5vw, 64px) 0; }
.tiles-section--services .section-head { margin-bottom: 28px; }
.solution-card__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.faq-section { padding: clamp(56px, 7vw, 96px) 0; background: var(--nrg-white); border-top: 1px solid var(--nrg-border); }
.faq { max-width: 860px; border-top: 1px solid var(--nrg-border-strong); }
.faq__item { border-bottom: 1px solid var(--nrg-border-strong); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 4px; font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; color: var(--nrg-teal-800); transition: color .25s ease; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; font-size: 26px; font-weight: 300; line-height: 1; color: var(--nrg-green-500); transition: transform .35s var(--ease-out); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--nrg-green-500); }
.faq__item p { padding: 0 4px 22px; max-width: 720px; font-size: 16px; line-height: 1.65; color: var(--nrg-ink-soft); }

/* Meetresolutie naar gebruik */
.meetres { margin-top: 28px; border: 1px solid var(--nrg-border-strong); background: var(--nrg-white); padding: 22px 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; }
.meetres__label { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--nrg-green-500); }
.meetres__list { display: flex; flex-wrap: wrap; gap: 12px 36px; flex: 1; }
.meetres__list li { display: flex; align-items: baseline; gap: 10px; font-size: 15px; color: var(--nrg-ink-soft); }
.meetres__list strong { font-size: 20px; font-weight: 600; color: var(--nrg-teal-800); white-space: nowrap; }

/* Lage schermen: hero blijft binnen één scherm */
@media (max-height: 760px) and (min-width: 901px) {
  .hero--film { padding: 28px 0; }
  .hero--film .hero__payoff { font-size: clamp(34px, 8.2vh, 60px); margin-bottom: 16px; }
  .hero--film .hero__topic { margin-bottom: 12px; }
  .hero--film .hero__intro { margin-bottom: 22px; }
}
