/* ==========================================================================
   NSM Dark — theme stylesheet
   Brand tokens map to CSS custom properties (no scattered hardcoded hex).
   Palette sampled from design/home.png + brand/nsm-web-logo.
   ========================================================================== */
:root {
  --nsm-bg:        #04070F;
  --nsm-bg-2:      #01010C;
  --nsm-panel:     #080B1D;
  --nsm-panel-2:   #0A2125;
  --nsm-border:    #1B2A3A;
  --nsm-green:     #47CB9A;
  --nsm-green-bright: #5CD4A5;
  --nsm-green-nav: #70EEA8;
  --nsm-blue:      #1D6193;
  --nsm-text:      #EAF1F5;
  --nsm-muted:     #9AA7B4;
  --nsm-radius:    16px;
  --nsm-radius-sm: 10px;
  --nsm-maxw:      1200px;
  --nsm-grad:      linear-gradient(90deg, #47CB9A 0%, #1D6193 100%);
  --nsm-grad-soft: linear-gradient(120deg, rgba(71,203,154,.18), rgba(29,97,147,.14));
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* --- base --------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--nsm-bg);
  color: var(--nsm-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* subtle dotted tech texture on the page canvas */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 18% 12%, rgba(29,97,147,.10), transparent 40%),
    radial-gradient(circle at 82% 8%, rgba(71,203,154,.08), transparent 42%),
    var(--nsm-bg);
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--nsm-text); font-weight: 700; line-height: 1.15; }
p { color: var(--nsm-muted); }
a { color: var(--nsm-green-nav); text-decoration: none; }
a:hover { color: var(--nsm-green-bright); }
.text-accent, .accent { color: var(--nsm-green); }
img { max-width: 100%; height: auto; }

.nsm-wrap { max-width: var(--nsm-maxw); margin: 0 auto; padding: 0 24px; }

/* --- sidebar-template grid ---------------------------------------------- */
/* The left_sidebar / right_sidebar page templates output a Bootstrap-style
   .container > .row > .col-md-8 / .col-md-4 structure. This theme ships no
   Bootstrap grid CSS (only main.css), so without these rules that container is
   an unstyled full-width block and its columns stack edge-to-edge — which is
   why the "Ook zo'n resultaat?" sidebar CTA rendered full-bleed instead of
   sitting inside the centered card column like the sibling cards. Constrain the
   container to the site max-width and lay the columns out as a real 2/3 + 1/3
   responsive grid so sidebar content aligns with the .nsm-wrap cards above. */
.container { max-width: var(--nsm-maxw); margin: 0 auto; padding: 0 24px; }
.container > .row {
  display: grid; gap: 28px; align-items: start;
  grid-template-columns: 2fr 1fr;
}
.container > .row > .col-md-8 { grid-column: auto; min-width: 0; }
.container > .row > .col-md-4 { grid-column: auto; min-width: 0; }
/* right_sidebar puts Main first then Sidebar; left_sidebar puts Sidebar first.
   The source order already matches the visual order, so no explicit ordering
   is needed. */
@media (max-width: 992px) {
  .container > .row { grid-template-columns: 1fr; }
}
.nsm-section { padding: 64px 0; }
/* Dienst-detailpagina CTA: real top breathing room instead of the flush
   (padding-top:0) CTA used elsewhere, so it no longer hugs the content above.
   Scoped via the modifier class so home/portfolio/over-ons CTAs are unchanged.
   Both classes are used in the selector to out-specify the later mobile
   `.nsm-section { padding: 44px 0 }` shorthand. */
.nsm-section.nsm-section--cta-spaced { padding-top: 88px; margin-top: 8px; }
@media (max-width: 768px) {
  .nsm-section.nsm-section--cta-spaced { padding-top: 56px; margin-top: 4px; }
}
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--nsm-green); border: 1px solid rgba(71,203,154,.4);
  border-radius: 999px; padding: 7px 16px; background: rgba(71,203,154,.06);
}
.section-title { font-size: 30px; margin: 0 0 6px; }
.section-title .accent { color: var(--nsm-green); }

/* --- buttons ------------------------------------------------------------ */
.btn-nsm, .btn-nsm-outline {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 13px 24px; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease;
}
.btn-nsm {
  background: var(--nsm-green-bright); color: #05231A;
  box-shadow: 0 8px 24px rgba(71,203,154,.25);
}
.btn-nsm:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(71,203,154,.4); color: #05231A; }
.btn-nsm-outline { background: transparent; color: var(--nsm-text); border-color: var(--nsm-border); }
.btn-nsm-outline:hover { border-color: var(--nsm-green); color: var(--nsm-green-bright); transform: translateY(-2px); }

/* --- header / nav ------------------------------------------------------- */
.nsm-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4,7,15,.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nsm-border);
}
.nsm-header .nsm-wrap { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.nsm-brand { display: flex; align-items: center; }
.nsm-brand img { height: 58px; }
.nsm-nav { display: flex; align-items: center; gap: 30px; }
.nsm-nav a {
  font-family: var(--font-head); font-weight: 500; font-size: 15px;
  color: var(--nsm-text); padding: 6px 2px; position: relative;
}
.nsm-nav a:hover { color: var(--nsm-green-bright); }
.nsm-nav a.active { color: var(--nsm-green-nav); }
.nsm-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--nsm-green-nav); border-radius: 2px;
}
.nsm-nav-toggle { display: none; background: none; border: 0; color: var(--nsm-text); font-size: 26px; cursor: pointer; }

/* --- hero --------------------------------------------------------------- */
/* Full-bleed tech/glow background across the WHOLE hero (bg-hero), weighted right
   so the glow sits behind the device; left stays dark for legible copy. */
.nsm-hero {
  position: relative; overflow: hidden; padding: 72px 0 56px;
  background: #060b18 url("../img/bg-hero.png") right center/cover no-repeat;
}
/* Left-weighted dark scrim: near-opaque on the left (keeps h1/lead/CTAs/trust
   legible), fading toward transparent on the right so the glow reads behind the
   hero preview device. */
.nsm-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(6,11,24,.96) 0%, rgba(6,11,24,.86) 42%, rgba(6,11,24,.45) 74%, rgba(6,11,24,.15) 100%);
}
/* Two columns: left copy + right hero-visual (Option B — browser-framed site
   preview). Collapses to one column on tablet/mobile below. */
.nsm-hero .nsm-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-copy h1 { font-size: 52px; margin: 20px 0 18px; }
.hero-copy h1 .accent { color: var(--nsm-green); }
.hero-copy .lead { font-size: 18px; max-width: 38ch; }
/* Dienst-detail SEO body copy: comfortable, readable prose on the dark theme. */
.service-body h2 { margin-top: 26px; }
.service-body h2:first-child { margin-top: 0; }
.service-body p { font-size: 16px; line-height: 1.75; margin: 0 0 12px; }
.service-body strong { color: var(--nsm-text); }
.hero-actions { display: flex; gap: 14px; margin: 26px 0 28px; flex-wrap: wrap; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px 30px; color: var(--nsm-muted); font-size: 14px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .ico { color: var(--nsm-green-nav); }

/* Option B — hero-right browser/device preview of an NSM-built site. */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-browser {
  width: 100%; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(71,203,154,.35);
  background: #0b1220;
  box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(71,203,154,.08), 0 0 60px rgba(71,203,154,.14);
}
.hero-browser .hb-bar {
  display: flex; align-items: center; gap: 7px; padding: 10px 14px;
  background: #0e1526; border-bottom: 1px solid var(--nsm-border);
}
.hero-browser .hb-dot { width: 11px; height: 11px; border-radius: 50%; background: #33415a; }
.hero-browser .hb-dot:nth-child(1) { background: #ff5f57; }
.hero-browser .hb-dot:nth-child(2) { background: #febc2e; }
.hero-browser .hb-dot:nth-child(3) { background: #28c840; }
.hero-browser img { display: block; width: 100%; }

/* --- homepage hero image slider ---------------------------------------- */
/* Slides are absolutely stacked inside a fixed 1.6 (16:10) aspect stage so
   the frame height never jumps between images (no layout shift). Crossfade
   via opacity; the .on slide is the visible one. The first slide carries
   .on server-side, so it is visible before (and without) JS. */
.hero-slider {
  position: relative; width: 100%; aspect-ratio: 1000 / 625; overflow: hidden;
  background: #0b1220;
}
.hero-slider .hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity .6s ease-in-out; will-change: opacity;
}
.hero-slider .hero-slide.on { opacity: 1; }
.hero-slider .hero-slide img {
  display: block; width: 100%; height: 100%; object-fit: cover;
}
/* Accessibility: no motion -> only the first slide shows, no fade. The JS
   also bails early on reduced-motion so .on never moves off slide 1. */
@media (prefers-reduced-motion: reduce) {
  .hero-slider .hero-slide { transition: none; }
}

/* --- panels / cards ----------------------------------------------------- */
.panel {
  background: var(--nsm-panel); border: 1px solid var(--nsm-border);
  border-radius: var(--nsm-radius); padding: 32px;
}
.card-grid { display: grid; gap: 20px; }

/* feature row */
.feature-row { grid-template-columns: repeat(4, 1fr); }
.feature { display: flex; flex-direction: column; gap: 10px; }
.feature .ico-tile {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--nsm-panel-2); color: var(--nsm-green-nav); border: 1px solid rgba(71,203,154,.25);
}
.feature h4 { font-size: 17px; margin: 4px 0 0; }
.feature p { font-size: 14px; margin: 0; }

/* service cards Option A — "Elevated panels" (/diensten) */
.service-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-grid .svc-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
/* gradient top-edge bar flush to the card radius */
.service-grid .svc-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--nsm-grad); opacity: .75; transition: opacity .22s ease;
}
/* enlarged icon tile with subtle inner glow */
.service-grid .svc-card .ico-tile {
  width: 56px; height: 56px; border-radius: 14px;
  box-shadow: inset 0 0 20px rgba(71,203,154,.12);
}
.service-grid .svc-card p { flex: 1 0 auto; }
/* CTA — compact ghost button (border, fills green on hover) */
.svc-cta {
  align-self: flex-start; margin-top: 4px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--nsm-border); color: var(--nsm-text);
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.svc-cta:hover {
  background: var(--nsm-green); border-color: var(--nsm-green);
  color: #05231A; transform: translateY(-1px);
}
/* hover: lift + green border + soft glow, brighter top-edge */
.service-grid .svc-card:hover {
  transform: translateY(-4px); border-color: var(--nsm-green);
  box-shadow: 0 12px 30px rgba(71,203,154,.18);
}
.service-grid .svc-card:hover::before { opacity: 1; }

/* why / process band */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; align-items: center; gap: 12px; color: var(--nsm-text); font-size: 15px; }
.check-list .chk {
  width: 22px; height: 22px; border-radius: 50%; flex: 0 0 22px;
  display: grid; place-items: center; background: rgba(71,203,154,.14); color: var(--nsm-green-nav); font-size: 12px;
}
.dash-mock {
  border-radius: var(--nsm-radius-sm); border: 1px solid var(--nsm-border);
  background: linear-gradient(160deg, #0a1424, #060b18); padding: 18px; min-height: 220px;
}
.dash-mock .dm-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.dash-mock .dm-tiles { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.dash-mock .dm-tile { background: rgba(255,255,255,.03); border: 1px solid var(--nsm-border); border-radius: 8px; padding: 10px; }
.dash-mock .dm-tile b { font-family: var(--font-head); font-size: 18px; color: var(--nsm-text); }
.dash-mock .dm-tile small { color: var(--nsm-green-nav); font-size: 11px; }
.dash-mock .dm-chart { margin-top: 14px; height: 70px; border-radius: 8px;
  background: linear-gradient(180deg, rgba(71,203,154,.22), transparent); border: 1px solid var(--nsm-border); }

/* process timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 24px; position: relative; }
.tl-step { text-align: left; }
.tl-num {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--nsm-green); color: var(--nsm-green-nav); font-family: var(--font-head);
  font-weight: 600; background: rgba(71,203,154,.06); margin-bottom: 14px; position: relative;
}
.tl-step:not(:last-child) .tl-num::after {
  content: ""; position: absolute; left: 60px; top: 50%; width: calc(100% + 8px); height: 1px;
  background: linear-gradient(90deg, var(--nsm-green), transparent);
}
.tl-step h4 { font-size: 16px; margin: 0 0 4px; }
.tl-step p { font-size: 13px; margin: 0; }

/* home-cards Option 1 — "Persoonlijk & bezield" (vision band) */
.home-vision-band { align-items: stretch; }
/* LEFT: photo-led card */
.vision-photo-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.vp-photo { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--nsm-panel-2), var(--nsm-panel)); }
.vp-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Subtle bottom fade only — the heavy dark scrim was there to make the (now
   removed) 250+ badge legible; without it a lighter gradient keeps the photo
   clean/bright with just a gentle aesthetic fade at the base. */
.vp-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,7,15,0) 55%, rgba(4,7,15,.28) 100%); pointer-events: none; }
.vp-badge { position: absolute; left: 24px; bottom: 20px; z-index: 1; padding: 12px 16px;
  background: rgba(8,11,29,.85); border: 1px solid var(--nsm-border); border-radius: 12px; backdrop-filter: blur(4px); }
.vp-badge b { display: block; font-family: var(--font-head); font-size: 22px; color: var(--nsm-green); }
.vp-badge span { display: block; font-size: 12px; color: var(--nsm-muted); }
.vp-body { padding: 26px 32px 32px; }
.vp-body .section-title { margin-bottom: 4px; }
.vp-checks { margin-top: 16px; }
/* RIGHT: centered vision / motto */
.vision-motto-card { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.vm-kicker { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--nsm-green-nav); margin-bottom: 14px; }
.vm-motto { font-family: var(--font-head); font-weight: 700; font-size: 30px; line-height: 1.25; color: var(--nsm-text); max-width: 20ch; margin: 0 0 16px; }
.vm-support { color: var(--nsm-muted); max-width: 34ch; margin: 0 0 26px; font-size: 15px; }
.vm-steps { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.vm-step { text-align: center; }
.vm-step .n { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 8px;
  border-radius: 50%; border: 1.5px solid var(--nsm-green); color: var(--nsm-green-nav);
  font-family: var(--font-head); font-weight: 600; background: rgba(71,203,154,.06); }
.vm-step small { display: block; color: var(--nsm-muted); font-size: 12.5px; }

/* projects */
.projects { grid-template-columns: repeat(3, 1fr); }
.proj-card { background: var(--nsm-panel); border: 1px solid var(--nsm-border); border-radius: var(--nsm-radius); overflow: hidden; }
.proj-card .thumb { height: 150px; background: linear-gradient(135deg,#132033,#0a1424); position: relative; }
.proj-card .body { padding: 18px; }
.proj-card h4 { font-size: 17px; margin: 0 0 2px; }
.proj-card .sub { color: var(--nsm-muted); font-size: 13px; }
.proj-card .link { display: inline-block; margin-top: 12px; color: var(--nsm-green-nav); font-weight: 600; font-size: 14px; }

/* Card foot: delivered-services vinkjes on the left, "Bekijk case ->" on the
   right. Wraps on narrow cards so nothing overflows. */
.proj-card .proj-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px 16px; flex-wrap: wrap; margin-top: 14px;
}
/* Compact card variant of the delivered green-check list — tight horizontal
   row so the card does not grow tall. Reuses the shared .check-list / .chk
   green-check visual the PM likes. */
.nsm-delivered--card {
  margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; flex: 1 1 auto;
}
.nsm-delivered--card li {
  font-family: var(--font-head); font-weight: 600; font-size: 12px;
  letter-spacing: .01em; color: var(--nsm-text); gap: 6px; align-items: center;
}
.nsm-delivered--card .chk {
  width: 17px; height: 17px; flex: 0 0 17px; background: rgba(71,203,154,.14);
}
.proj-card .proj-foot .proj-case { flex: 0 0 auto; white-space: nowrap; }

/* pricing */
.pricing { grid-template-columns: repeat(3, 1fr); align-items: start; }
.price-card { background: var(--nsm-panel); border: 1px solid var(--nsm-border); border-radius: var(--nsm-radius); padding: 28px; position: relative; }
.price-card.featured { border-color: var(--nsm-green); box-shadow: 0 0 0 1px rgba(71,203,154,.4), 0 20px 50px rgba(71,203,154,.12); }
.price-ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--nsm-green-bright); color: #05231A; font-family: var(--font-head); font-weight: 700;
  font-size: 11px; letter-spacing: .08em; padding: 6px 16px; border-radius: 999px; text-transform: uppercase;
}
.price-card h4 { font-size: 19px; margin: 0; }
.price-card .tier-sub { color: var(--nsm-muted); font-size: 13px; margin: 2px 0 16px; }
.price-card .amount { font-family: var(--font-head); font-weight: 700; font-size: 34px; color: var(--nsm-text); }
.price-card .amount small { display: block; font-size: 12px; color: var(--nsm-muted); font-weight: 400; }
.price-card .amount .per { font-size: 16px; color: var(--nsm-muted); font-weight: 400; }
.price-note { font-size: 14px; line-height: 1.55; color: var(--nsm-muted); }
.price-note strong { color: var(--nsm-text); }
/* Single-package pricing (SEO): centre + widen the lone card and the scan note
   so the section looks filled instead of a narrow left column. */
.pricing.single { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
.price-note { max-width: 500px; margin-left: auto; margin-right: auto; }

/* CTA banner — real tech texture (bg2) bleeding in from the right; left stays dark for legible copy */
.cta-banner {
  border-radius: var(--nsm-radius); padding: 40px; position: relative; overflow: hidden;
  background: #070d1c url("../img/bg-cta.png") right center/cover no-repeat;
  border: 1px solid rgba(71,203,154,.3);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(6,11,26,.94) 0%, rgba(6,11,26,.78) 45%, rgba(6,11,26,.35) 100%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner .cta-icon {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(71,203,154,.12); color: var(--nsm-green-nav); flex: 0 0 64px; font-size: 26px;
}
.cta-banner h2 { font-size: 26px; margin: 0 0 4px; }
.cta-banner p { margin: 0; }
.cta-copy { display: flex; align-items: center; gap: 20px; flex: 1 1 320px; }

/* --- footer ------------------------------------------------------------- */
/* Subtle glowing-globe backdrop (bg4), weighted right; columns sit on the dark left */
.nsm-footer {
  position: relative; overflow: hidden;
  background: var(--nsm-bg-2) url("../img/bg-footer.png") right top/auto 130% no-repeat;
  border-top: 1px solid var(--nsm-border); padding: 56px 0 24px; margin-top: 24px;
}
.nsm-footer::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(1,1,12,.96) 0%, rgba(1,1,12,.86) 50%, rgba(1,1,12,.55) 100%);
}
.nsm-footer .nsm-wrap { position: relative; z-index: 1; }
.nsm-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr 1fr; gap: 28px; }
.nsm-footer img { height: 54px; margin-bottom: 14px; }
.nsm-footer p { font-size: 14px; }
.nsm-footer h5 { font-family: var(--font-head); font-size: 15px; color: var(--nsm-text); margin: 0 0 14px; }
.nsm-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.nsm-footer ul a { color: var(--nsm-muted); font-size: 14px; }
.nsm-footer ul a:hover { color: var(--nsm-green-nav); }
.social { display: flex; gap: 12px; }
.social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.05); color: var(--nsm-text); border: 1px solid var(--nsm-border); }
.social a:hover { background: rgba(71,203,154,.15); color: var(--nsm-green-nav); }
.footer-legal { display: flex; justify-content: flex-end; gap: 24px; margin-top: 36px; padding-top: 18px;
  border-top: 1px solid var(--nsm-border); color: var(--nsm-muted); font-size: 13px; }
.footer-legal a { color: var(--nsm-muted); }

/* --- concrete editing chrome should stay usable ------------------------- */
.ccm-toolbar-visible .nsm-header { position: static; }

/* --- responsive --------------------------------------------------------- */
@media (max-width: 992px) {
  .nsm-nav { display: none; }
  .nsm-nav-toggle { display: block; }
  /* Hamburger-geopend menu: de JS zet .nsm-nav-open op <nav class="nsm-nav">.
     ZONDER deze regel bleef .nsm-nav display:none, dus opende het menu nooit
     (dat was de bug). Toon het nu als een nette dropdown onder de header. */
  .nsm-header .nsm-wrap { position: relative; }
  .nsm-nav.nsm-nav-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0; z-index: 60;
    background: rgba(4,7,15,.97); backdrop-filter: blur(12px);
    border-top: 1px solid var(--nsm-border);
    border-bottom: 1px solid var(--nsm-border);
    padding: 8px 0; box-shadow: 0 18px 40px rgba(0,0,0,.5);
  }
  .nsm-nav.nsm-nav-open a {
    padding: 14px 24px; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.05);
  }
  .nsm-nav.nsm-nav-open a:last-child { border-bottom: 0; }
  /* CTA naast logo + hamburger is te vol op mobiel; offerte blijft bereikbaar
     via het menu en de hero-CTA. */
  .nsm-nav-cta { display: none; }
  .nsm-hero .nsm-wrap { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin-top: 8px; }
  .hero-copy h1 { font-size: 40px; }
  .feature-row { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .vm-motto { font-size: 26px; }
  .vision-motto-card { padding: 40px 32px; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .tl-step:not(:last-child) .tl-num::after { display: none; }
  .projects { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .nsm-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
  .nsm-section { padding: 44px 0; }
  .hero-copy h1 { font-size: 32px; }
  .hero-actions .btn-nsm, .hero-actions .btn-nsm-outline { width: 100%; justify-content: center; }
  .feature-row, .projects { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; align-items: center; text-align: center; }
  .cta-banner .cta-copy { flex-direction: column; align-items: center; text-align: center; }
  .cta-banner .btn-nsm { margin-inline: auto; }
  .nsm-footer .cols { grid-template-columns: 1fr; }
  .footer-legal { justify-content: flex-start; flex-wrap: wrap; }
  .section-title { font-size: 24px; }
}

/* --- forms (contact + offerte) ------------------------------------------ */
.nsm-form { display: grid; gap: 16px; }
.nsm-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nsm-field { display: flex; flex-direction: column; gap: 6px; }
.nsm-field label { font-family: var(--font-head); font-size: 13px; font-weight: 500; color: var(--nsm-text); }
.nsm-form input[type="text"],
.nsm-form input[type="email"],
.nsm-form input[type="tel"],
.nsm-form input[type="url"],
.nsm-form select,
.nsm-form textarea {
  width: 100%;
  background: #060B18;
  border: 1px solid var(--nsm-border);
  border-radius: var(--nsm-radius-sm);
  color: var(--nsm-text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.nsm-form input::placeholder,
.nsm-form textarea::placeholder { color: #52606e; }
.nsm-form input:focus,
.nsm-form select:focus,
.nsm-form textarea:focus {
  outline: none;
  border-color: var(--nsm-green);
  box-shadow: 0 0 0 3px rgba(71, 203, 154, .15);
}
.nsm-form textarea { resize: vertical; min-height: 120px; }
.nsm-form .btn-nsm { justify-self: start; }
/* Honeypot: visually and semantically hidden from humans, present for bots */
.nsm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* nav CTA button inside the global-area navigation */
.nsm-nav-cta { margin-left: 10px; }

@media (max-width: 576px) {
  .nsm-form-row { grid-template-columns: 1fr; }
}

/* --- offerte wizard (Concept 2 "Stapsgewijze wizard") ------------------- */
/* Progressive enhancement: without JS the form keeps [data-nojs] and shows
   every step stacked (progress bar + step-nav buttons hidden). main.js strips
   data-nojs and adds .wiz-js, which turns on the stepped behaviour. */
.nsm-wizard[data-nojs] .wiz-progress,
.nsm-wizard[data-nojs] .wiz-nav { display: none; }
.nsm-wizard[data-nojs] .wiz-step[hidden],
.nsm-wizard[data-nojs] .wiz-reveal[hidden] { display: block !important; }
.nsm-wizard.wiz-js .wiz-step[hidden] { display: none; }

/* progress bar */
.wiz-progress { list-style: none; display: flex; align-items: center; gap: 8px;
  margin: 0 0 26px; padding: 0 0 22px; border-bottom: 1px solid var(--nsm-border); }
.wiz-progress li { display: flex; align-items: center; gap: 8px; color: var(--nsm-muted);
  font-family: var(--font-head); font-weight: 600; font-size: 14px; white-space: nowrap; }
.wiz-progress li:not(:last-child)::after { content: ""; flex: 1 1 40px; min-width: 24px;
  height: 1px; background: var(--nsm-border); margin: 0 4px; }
.wiz-progress .n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--nsm-border); font-size: 13px; color: var(--nsm-muted); flex: 0 0 26px; }
.wiz-progress li.is-active { color: var(--nsm-text); }
.wiz-progress li.is-active .n { border-color: var(--nsm-green); background: var(--nsm-green); color: #05231A; }
.wiz-progress li.is-done .n { border-color: var(--nsm-green); color: var(--nsm-green-nav); }

/* step body spacing + nav row */
.wiz-step { display: grid; gap: 18px; }
.wiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.wiz-nav .btn-nsm, .wiz-nav .btn-nsm-outline { justify-self: auto; }

/* 4 multi-select service cards */
.svc-select-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 4px; }
.svc-select { position: relative; display: flex; flex-direction: column; gap: 4px; cursor: pointer;
  padding: 16px 14px; border-radius: var(--nsm-radius-sm); border: 1px solid var(--nsm-border);
  background: #060B18; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.svc-select:hover { border-color: rgba(71,203,154,.55); }
.svc-select input { position: absolute; opacity: 0; pointer-events: none; }
.svc-select .ss-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--nsm-panel-2); border: 1px solid rgba(71,203,154,.25); margin-bottom: 6px; }
.svc-select .ss-name { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--nsm-text); line-height: 1.25; }
.svc-select .ss-sub { font-size: 12.5px; color: var(--nsm-muted); }
.svc-select .ss-check { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; background: var(--nsm-panel-2);
  border: 1px solid var(--nsm-border); color: transparent; transition: all .18s ease; }
.svc-select.is-selected { border-color: var(--nsm-green); background: rgba(71,203,154,.08);
  box-shadow: 0 0 0 1px var(--nsm-green) inset; }
.svc-select.is-selected .ss-check { background: var(--nsm-green); border-color: var(--nsm-green); color: #05231A; }
/* no-JS: :checked drives the selected look */
.svc-select input:checked ~ .ss-name { color: var(--nsm-text); }
.svc-select:has(input:checked) { border-color: var(--nsm-green); background: rgba(71,203,154,.08);
  box-shadow: 0 0 0 1px var(--nsm-green) inset; }
.svc-select:has(input:checked) .ss-check { background: var(--nsm-green); border-color: var(--nsm-green); color: #05231A; }

/* segmented ja/nee control */
.seg-control { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--nsm-border);
  border-radius: 999px; background: #060B18; }
.seg-opt { position: relative; cursor: pointer; }
.seg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg-opt span { display: inline-block; padding: 8px 20px; border-radius: 999px; font-family: var(--font-head);
  font-weight: 600; font-size: 14px; color: var(--nsm-muted); transition: background .18s ease, color .18s ease; }
.seg-opt:hover span { color: var(--nsm-text); }
.seg-opt input:checked + span { background: var(--nsm-green); color: #05231A; }

/* multi-select chips (doel van de site) */
.chip-set { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--nsm-border);
  background: #060B18; color: var(--nsm-text); font-size: 14px; transition: all .18s ease; }
.chip:hover span { border-color: rgba(71,203,154,.55); }
.chip input:checked + span { background: rgba(71,203,154,.14); border-color: var(--nsm-green); color: var(--nsm-green-nav); }

/* conditional reveal: soft left accent */
.wiz-reveal { border-left: 2px solid var(--nsm-green); padding-left: 16px; }

/* required-field error highlight */
.nsm-form .has-error { border-color: #ff6b6b !important; box-shadow: 0 0 0 3px rgba(255,107,107,.15) !important; }

@media (max-width: 768px) {
  .svc-select-grid { grid-template-columns: 1fr 1fr; }
  .wiz-progress { gap: 4px; font-size: 12.5px; }
  .wiz-progress li:not(:last-child)::after { min-width: 12px; }
}
@media (max-width: 480px) {
  .svc-select-grid { grid-template-columns: 1fr; }
  .seg-control { display: flex; }
  .seg-opt { flex: 1 1 auto; text-align: center; }
}

/* ====================================================================== */
/* PORTFOLIO DETAIL — Variant-2 banner-hero + Variant-3 carousel (P4t).    */
/* Adapted from design/_mockups/detail-2-banner.html + gallery-3-carousel  */
/* .html; uses the live nsm_dark tokens. The banner is full-bleed: it      */
/* breaks out of the .container / .nsm-wrap the "full" template wraps Main  */
/* in, so the hero image spans the viewport while the copy stays centered. */
/* ====================================================================== */

/* full-bleed breakout (works inside the grid .container) */
.nsm-detail-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 420px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  border-bottom: 1px solid var(--nsm-border);
  overflow: hidden;
}
.nsm-detail-banner .bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
/* directional scrim: dark on the left where the copy sits */
.nsm-detail-banner::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4,7,15,.92) 0%, rgba(4,7,15,.72) 42%, rgba(4,7,15,.32) 100%),
    linear-gradient(0deg,  rgba(4,7,15,.85) 0%, rgba(4,7,15,.15) 55%);
}
.nsm-detail-banner .binner { position: relative; z-index: 2; width: 100%; }
.nsm-detail-banner .binner .nsm-wrap { padding-top: 40px; padding-bottom: 40px; }
.nsm-detail-banner .db-back {
  display: inline-block; font-size: 14px; margin-bottom: 18px;
  color: var(--nsm-green-nav); text-shadow: 0 1px 8px rgba(0,0,0,.6);
}
.nsm-detail-banner .logorow {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 14px; flex-wrap: wrap;
}
.nsm-detail-banner .logorow img {
  height: 56px; width: auto; object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.6));
}
.nsm-detail-banner h1 {
  font-size: 44px; margin: 8px 0; color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.6);
}
.nsm-detail-banner p.sub {
  font-size: 17px; color: var(--nsm-text); max-width: 56ch;
  text-shadow: 0 1px 10px rgba(0,0,0,.6); margin: 0;
}

/* the case-study body (story + aside) below the banner.
   Extra top padding so the doel/aanpak/eindproduct block breathes and does
   not sit tight against the banner above it. */
.nsm-detail-body { padding-top: 72px; }
.nsm-detail-body .story .item { margin-bottom: 24px; }
.nsm-detail-body .story h3 { font-size: 18px; color: var(--nsm-green); margin-bottom: 8px; }
.nsm-detail-body .story p { font-size: 15px; color: var(--nsm-muted); }
.nsm-detail-aside {
  background: var(--nsm-panel); border: 1px solid var(--nsm-border);
  border-radius: var(--nsm-radius); padding: 26px; height: fit-content;
  /* Drop the whole card down so its top lines up better with the left-column
     content (which starts below the "Doel van de klant" heading). */
  margin-top: 40px;
}
.nsm-detail-aside h4 { font-size: 15px; margin: 0 0 14px; }
/* Second heading ("Waarom kiezen voor ons") sits under the delivered list. */
.nsm-detail-aside h4.nsm-aside-sub { margin-top: 22px; }

/* Delivered-services vinkjes inside the aside card ("Wat wij leverden").
   Reuses the shared .check-list / .chk green-check visual; a normal vertical
   list here (not the compact hero row that was removed). */
.nsm-detail-aside .nsm-delivered--aside { margin: 0; }
.nsm-detail-aside .nsm-delivered--aside li {
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  letter-spacing: .01em; color: var(--nsm-text);
}

/* "Vraag een offerte aan" button: roomier spacing above and below so it does
   not look cramped against the reasons list / card edge. */
.nsm-detail-aside .nsm-aside-cta {
  width: 100%; justify-content: center;
  margin-top: 24px; margin-bottom: 6px;
}

/* ---- Variant-3 carousel --------------------------------------------- */
.nsm-gallery { padding: 14px 0 8px; border-top: 1px solid var(--nsm-border); margin-top: 30px; }
.nsm-gallery .ghead {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin: 26px 0 20px; flex-wrap: wrap;
}
.nsm-gallery .ghead h2 { font-size: 26px; margin: 0 0 4px; }
.nsm-gallery .ghead p { font-size: 14px; max-width: 60ch; color: var(--nsm-muted); }
.nsm-gallery .variant-tag {
  font-family: var(--font-head); font-size: 11px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--nsm-green-nav);
  background: rgba(71,203,154,.08); border: 1px solid rgba(71,203,154,.32);
  border-radius: 999px; padding: 5px 13px; white-space: nowrap;
}

.nsm-carousel {
  position: relative; border: 1px solid var(--nsm-border);
  border-radius: var(--nsm-radius); overflow: hidden;
  background: linear-gradient(135deg, #0c2138, var(--nsm-panel));
}
.nsm-carousel .stage {
  position: relative; min-height: 380px;
  display: flex; align-items: center; justify-content: center; padding: 30px;
}
/* multi-slide carousels show dots pinned to the bottom; pad the stage so the
   in-flow caption below the image never sits on top of the dots row */
.nsm-carousel:not(.is-single) .stage { padding-bottom: 48px; }
/* each slide stacks in the stage; only the active one is shown.
   Slides lay out as a column: image on top, caption as a normal line below. */
.nsm-carousel .slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; padding: 30px;
  opacity: 0; visibility: hidden; transition: opacity .35s ease;
}
.nsm-carousel .slide.on { position: relative; opacity: 1; visibility: visible; }
/* photo / screenshot / card: large, contained within the stage */
.nsm-carousel .slide img {
  max-height: 420px; max-width: 100%; width: auto; height: auto;
  border-radius: var(--nsm-radius-sm);
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
}
/* logo / mark: smaller, drop-shadow, no card frame */
.nsm-carousel .slide.is-light img {
  max-height: 220px; border-radius: 0;
  box-shadow: none; filter: drop-shadow(0 10px 30px rgba(0,0,0,.5));
}
/* caption: a normal centred line UNDER the image (no longer an overlay pill) */
.nsm-carousel .cap {
  position: static; z-index: 3; max-width: 90%;
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  letter-spacing: .02em; text-align: center;
  color: var(--nsm-muted); background: none;
  border: 0; border-radius: 0; padding: 0; backdrop-filter: none;
}
.nsm-carousel .arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(4,7,15,.6); border: 1px solid rgba(71,203,154,.5);
  color: var(--nsm-green-nav); display: flex; align-items: center;
  justify-content: center; font-size: 22px; line-height: 1;
  backdrop-filter: blur(6px); cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.nsm-carousel .arrow:hover { background: rgba(4,7,15,.85); border-color: var(--nsm-green); }
.nsm-carousel .arrow.l { left: 16px; } .nsm-carousel .arrow.r { right: 16px; }
/* single-slide carousels hide the nav chrome */
.nsm-carousel.is-single .arrow, .nsm-carousel.is-single .dots { display: none; }
.nsm-carousel .dots {
  position: absolute; left: 0; right: 0; bottom: 16px; z-index: 3;
  display: flex; gap: 8px; justify-content: center;
}
.nsm-carousel .dots button {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.28); cursor: pointer; transition: all .18s ease;
}
.nsm-carousel .dots button.on { background: var(--nsm-green); width: 24px; border-radius: 6px; }

/* thumb strip */
.nsm-thumbs { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.nsm-thumbs .thumb {
  flex: 1; min-width: 120px; min-height: 88px; padding: 12px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--nsm-border); border-radius: var(--nsm-radius-sm);
  background: #0c2138; cursor: pointer; overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.nsm-thumbs .thumb img { max-height: 62px; width: auto; object-fit: contain; }
.nsm-thumbs .thumb.on { border-color: var(--nsm-green); box-shadow: 0 0 0 1px var(--nsm-green) inset; }
/* placeholder thumb for sparse-image clients (camerazuid) */
.nsm-thumbs .thumb.placeholder {
  cursor: default; color: var(--nsm-muted);
  font-family: var(--font-head); font-size: 12px; text-align: center; line-height: 1.4;
  background: repeating-linear-gradient(-45deg, #0c2138, #0c2138 10px, #0e2740 10px, #0e2740 20px);
}
.nsm-gallery .sparse-note {
  margin-top: 16px; font-size: 13px; color: var(--nsm-muted);
  background: rgba(71,203,154,.06); border: 1px solid rgba(71,203,154,.24);
  border-radius: var(--nsm-radius-sm); padding: 12px 15px;
}
.nsm-gallery .sparse-note b { color: var(--nsm-green-nav); font-family: var(--font-head); }

@media (max-width: 900px) {
  .nsm-detail-banner { min-height: 340px; }
  .nsm-detail-banner h1 { font-size: 32px; }
  .nsm-carousel .stage, .nsm-carousel .slide { min-height: 280px; padding: 18px; }
  .nsm-carousel:not(.is-single) .stage { padding-bottom: 40px; }
  .nsm-carousel .slide { gap: 12px; }
  .nsm-carousel .slide img { max-height: 300px; }
}

/* Mobile: keep the "← Terug naar portfolio" link clear of the hero
   device/mockup strip. On narrow screens the banner content was bottom-
   aligned, which pulled the back-link down into the imagery. Top-align the
   content and give the back-link its own breathing room + a subtle backdrop
   so it never visually overlaps the strip. Desktop (>=577px) is untouched. */
@media (max-width: 576px) {
  .nsm-detail-banner { align-items: flex-start; }
  .nsm-detail-banner .binner .nsm-wrap { padding-top: 20px; padding-bottom: 28px; }
  .nsm-detail-banner .db-back {
    position: relative; z-index: 3;
    margin-bottom: 24px; padding: 6px 12px;
    background: rgba(4,7,15,.72); border-radius: 999px;
    backdrop-filter: blur(2px);
  }
}

/* ================================================================== */
/* Lokale-SEO place pages (/website-laten-maken/<plaats>) gold template */
/* ================================================================== */

/* local-anchor panel: copy + regional portfolio case side by side */
.nsm-local-anchor {
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center;
}
.nsm-local-anchor .la-copy h2 { margin: 8px 0 10px; }
.nsm-local-anchor .la-copy p { color: var(--nsm-muted); max-width: 46ch; }

/* regional portfolio case card (clickable) */
.nsm-region-case {
  display: block; overflow: hidden; border-radius: var(--nsm-radius-sm);
  border: 1px solid var(--nsm-border); background: #060B18;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.nsm-region-case img { display: block; width: 100%; height: 200px; object-fit: cover; }
.nsm-region-case .rc-body { padding: 18px 20px; }
.nsm-region-case .rc-body h3 { margin: 6px 0 8px; font-size: 20px; }
.nsm-region-case .rc-body p { color: var(--nsm-muted); font-size: 14px; }
.nsm-region-case:hover {
  transform: translateY(-4px); border-color: var(--nsm-green);
  box-shadow: 0 12px 30px rgba(71,203,154,.18);
}

/* nearby-places internal-link pills ("ook actief in ...") */
.pill-link-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--nsm-border); color: var(--nsm-text);
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.pill-link::before { content: "\1F4CD"; font-size: 13px; opacity: .8; }
.pill-link:hover {
  background: var(--nsm-green); border-color: var(--nsm-green);
  color: #05231A; transform: translateY(-1px);
}

@media (max-width: 900px) {
  .nsm-local-anchor { grid-template-columns: 1fr; }
  .nsm-region-case img { height: 220px; }
}
