/* ============================================================
   FP Coding — Design-systeem "nd"
   Clean & strak: zwart + wit + FP-blauw. Grote vette koppen,
   veel witruimte, één accent, geen fade-animaties.
   Alles gescoped onder .nd zodat de oude site ongemoeid blijft.
   ============================================================ */

/* ---- Reset ---- */
html:has(body.nd), body.nd { margin: 0; padding: 0; }
.nd *, .nd *::before, .nd *::after { box-sizing: border-box; }
.nd img { max-width: 100%; height: auto; display: block; }
/* Mobiel: nooit horizontaal scrollen. Onverhoopte overflow wordt afgekapt i.p.v.
   het hele scherm breder te maken dan de viewport. */
@media (max-width: 820px) { html:has(body.nd), body.nd { overflow-x: hidden; } }

.nd {
    /* Kleuren */
    --bg:        #ffffff;   /* lichte secties */
    --bg-soft:   #F5F5F3;   /* lichtgrijs alt-vlak */
    --ink:       #101013;   /* bijna-zwart (tekst) */
    --dark:      #0C0C0E;   /* donkere secties / nav / hero */
    --dark-2:    #17171A;   /* iets lichter donker (kaarten op zwart) */
    --muted:     #6C6C74;   /* subtekst op wit */
    --muted-d:   rgba(255,255,255,.62); /* subtekst op zwart */
    --line:      #E6E6E2;   /* lichte hairline */
    --line-d:    rgba(255,255,255,.14);
    --blue:      #186FBB;   /* FP-blauw — enige accent */
    --blue-dark: #125C9C;
    --blue-soft: #E9F1FA;
    --white:     #ffffff;

    --ok:        #1F9D57;   /* status: operationeel (groen) */
    --ok-soft:   #E7F5EC;
    --warn:      #B9770B;   /* status: verstoord (amber) */
    --warn-soft: #FBF1DF;
    --down:      #C8382F;   /* status: offline (rood) */
    --down-soft: #FBE9E7;

    --radius:    10px;
    --radius-sm: 6px;

    --ease: cubic-bezier(.4,0,.2,1);

    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --container: 1240px;

    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
.nd main { display: block; }

/* ---- Typografie ---- */
.nd h1, .nd h2, .nd h3, .nd h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.02em;
    color: var(--ink);
    margin: 0;
    /* Lange samengestelde woorden (bijv. "onderhoudsabonnement") mogen afbreken
       zodat een kop nooit breder wordt dan het scherm. */
    overflow-wrap: break-word;
    word-break: break-word;
}
.nd h1 { font-size: clamp(2.9rem, 6.6vw, 5.6rem); }
.nd h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
.nd h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.015em; }
.nd p  { margin: 0 0 1rem; color: var(--muted); }
.nd a  { color: inherit; text-decoration: none; }
.nd strong { font-weight: 700; }

/* Accent-woord: gewoon blauw, geen achtergrond-marker */
.nd .hl { color: var(--blue); }

/* Eyebrow: klein, uppercase, rustig */
.nd .eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: .78rem; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 20px;
}
.nd .eyebrow.on-dark { color: #6FA8DC; }

/* ---- Layout ---- */
.nd .container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.nd section[id] { scroll-margin-top: 84px; }
.nd .section { padding: clamp(72px, 9vw, 130px) 0; }
.nd .section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.nd .section.dark { background: var(--dark); color: var(--white); }
.nd .section.soft { background: var(--bg-soft); }
.nd .section.dark h2 { color: var(--white); }
.nd .section-head { max-width: 760px; margin: 0 0 60px; }
.nd .section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.nd .section-head p { font-size: 1.15rem; margin-top: 20px; }
.nd .section.dark .section-head p { color: var(--muted-d); }

/* ---- Knoppen ---- */
.nd .btn {
    display: inline-flex; align-items: center; gap: .55em;
    font-family: var(--font-body); font-weight: 600; font-size: 1rem;
    padding: 15px 28px; border-radius: var(--radius-sm);
    border: 1.5px solid transparent; cursor: pointer; line-height: 1;
    transition: background .2s var(--ease), color .2s, border-color .2s, transform .2s;
}
.nd .btn svg { width: 18px; height: 18px; }
.nd .btn-primary { background: var(--blue); color: #fff; }
.nd .btn-primary:hover { background: var(--blue-dark); }
.nd .btn-dark { background: var(--ink); color: #fff; }
.nd .btn-dark:hover { background: #000; }
.nd .btn-white { background: #fff; color: var(--ink); }
.nd .btn-white:hover { background: #eee; }
.nd .btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.nd .btn-outline:hover { border-color: var(--ink); }
.nd .btn-outline.on-dark { color: #fff; border-color: rgba(255,255,255,.32); }
.nd .btn-outline.on-dark:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.nd .btn-text { background: transparent; padding: 15px 4px; color: inherit; }
.nd .btn-text svg { transition: transform .2s var(--ease); }
.nd .btn-text:hover svg { transform: translateX(4px); }

.nd .arrow-link { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; color: var(--blue); }
.nd .arrow-link svg { transition: transform .2s var(--ease); }
.nd .arrow-link:hover svg { transform: translateX(4px); }

/* ============================================================
   NAV — strak, solide donker (hergebruikt main.js ids/classes)
   ============================================================ */
.nd .nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: var(--dark);
    border-bottom: 1px solid var(--line-d);
}
.nd .nav-inner { display: flex; align-items: center; gap: 20px; height: 74px; }
.nd .nav-logo { display: inline-flex; align-items: center; margin-right: auto; }
.nd .nav-logo img { height: 52px; width: auto; }
.nd .nav .logo-light { display: block; }
.nd .nav .logo-dark { display: none; }

.nd .nav-links { display: flex; align-items: center; gap: 6px; }
.nd .nav-links > a,
.nd .nav-dropdown-toggle {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 9px 14px; font-size: .95rem; font-weight: 500;
    color: rgba(255,255,255,.86); background: none; border: 0; cursor: pointer;
    font-family: var(--font-body); border-radius: 6px;
    transition: color .18s;
}
.nd .nav-links > a:hover, .nd .nav-dropdown-toggle:hover { color: #fff; }
.nd .nav-sep { width: 1px; height: 22px; background: var(--line-d); margin: 0 6px; }
.nd .nav-phone { color: rgba(255,255,255,.7); font-size: .92rem; display: inline-flex; align-items: center; gap: 7px; }
.nd .nav-phone:hover { color: #fff; }
.nd .nav-cta {
    color: #fff !important; border: 1.5px solid var(--line-d);
    padding: 9px 18px !important; border-radius: 6px;
    transition: border-color .18s, background .18s;
}
.nd .nav-cta:hover { border-color: #fff; }
.nd .nav-mobile-logo { display: none; }
.nd .nav-chevron { transition: transform .2s; }

/* Dropdown */
.nd .nav-dropdown { position: relative; }
.nd .nav-dropdown-menu {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 290px;
    background: var(--dark-2); border: 1px solid var(--line-d);
    border-radius: var(--radius); padding: 8px;
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .18s, transform .18s, visibility .18s;
}
.nd .nav-dropdown.open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.nd .nav-dropdown.open .nav-chevron { transform: rotate(180deg); }
.nd .nav-dropdown-menu-inner { display: flex; flex-direction: column; gap: 2px; }
.nd .nav-dropdown-menu a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 8px; color: rgba(255,255,255,.86); transition: background .16s; }
.nd .nav-dropdown-menu a:hover { background: rgba(255,255,255,.06); color: #fff; }
.nd .nav-dd-icon { color: #6FA8DC; flex: 0 0 auto; display: inline-flex; }
.nd .nav-dd-text { display: flex; flex-direction: column; line-height: 1.3; }
.nd .nav-dd-text strong { font-size: .92rem; font-weight: 600; color: #fff; }
.nd .nav-dd-text small { font-size: .78rem; color: rgba(255,255,255,.55); }

.nd .nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nd .nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nd .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nd .nav-toggle.active span:nth-child(2) { opacity: 0; }
.nd .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO — groot typografisch + bewegend woord + bold blauw accent
   ============================================================ */
.nd .hero { position: relative; background: linear-gradient(180deg, #12141C 0%, var(--dark) 62%); color: #fff; padding: 74px 0 0; overflow: hidden; }
.nd .hero .container { position: relative; z-index: 2; }
.nd .hero-wrap { max-width: 1040px; min-height: min(74vh, 660px); display: flex; flex-direction: column; justify-content: center; padding: 46px 0; }
/* Hero komt gestaffeld in beeld bij het laden (meer leven). Alleen met JS actief. */
@keyframes ndHeroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.nd-js .hero-wrap > * { opacity: 0; animation: ndHeroIn .7s var(--ease) forwards; }
.nd-js .hero-wrap > *:nth-child(1) { animation-delay: .06s; }
.nd-js .hero-wrap > *:nth-child(2) { animation-delay: .16s; }
.nd-js .hero-wrap > *:nth-child(3) { animation-delay: .28s; }
.nd-js .hero-wrap > *:nth-child(4) { animation-delay: .40s; }
.nd-js .hero-wrap > *:nth-child(5) { animation-delay: .52s; }
.nd .hero-wrap .eyebrow { margin-bottom: 22px; }
.nd .hero h1 { font-family: var(--font-display); font-weight: 700; color: #F5F2EA; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.05; letter-spacing: -.015em; }
.nd .hero h1 .plain { display: block; }
.nd .hero-lead { font-size: 1.13rem; color: var(--muted-d); max-width: 52ch; margin: 28px 0 34px; }
.nd .hero-actions { display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap; }
.nd .hero-cta { display: inline-flex; align-items: center; gap: 12px; background: var(--blue); color: #fff; font-weight: 600; font-size: 1.05rem; padding: 16px 26px; border-radius: 8px; transition: background .2s; }
.nd .hero-cta:hover { background: var(--blue-dark); }
.nd .hero-cta svg { width: 20px; height: 20px; }
.nd .hero-secondary { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
.nd .hero-secondary svg { width: 18px; height: 18px; transition: transform .2s; }
.nd .hero-secondary:hover svg { transform: translateX(3px); }
.nd .hero-meta { margin-top: 36px; display: flex; gap: 14px 30px; flex-wrap: wrap; font-size: .9rem; color: var(--muted-d); }
.nd .hero-meta b { color: #fff; font-weight: 600; }

/* Bewegend sleutelwoord: strak & vet in blauw met handgetekende streep */
.nd .rotator { position: relative; display: inline-block; font-family: var(--font-display); font-weight: 700; color: var(--blue); font-size: 1em; line-height: 1.1; margin-top: .06em; white-space: nowrap; letter-spacing: -.01em; }
.nd .rotator::after { content: ""; position: absolute; left: -.02em; right: -.02em; bottom: -.14em; height: .16em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C 55 3 105 12 150 7 C 200 3 250 11 298 6' fill='none' stroke='%23186FBB' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center bottom / 100% 100%; }
.nd .rotator-word { display: inline-block; will-change: transform, opacity; }
.nd .rotator-word.out { animation: ndWordOut .26s var(--ease) forwards; }
.nd .rotator-word.in  { animation: ndWordIn .4s var(--ease) forwards; }
@keyframes ndWordOut { to { opacity: 0; transform: translateY(-.24em); } }
@keyframes ndWordIn  { from { opacity: 0; transform: translateY(.3em); } to { opacity: 1; transform: none; } }

/* ============================================================
   MARQUEE (horizontale auto-scroll — zoals stdesign logoscroller)
   ============================================================ */
.nd .marquee { position: relative; z-index: 2; overflow: hidden; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); padding: 16px 0; }
.nd .mq-track { display: inline-flex; align-items: center; gap: 0; white-space: nowrap; will-change: transform; animation: ndMarquee 32s linear infinite; }
.nd .marquee:hover .mq-track { animation-play-state: paused; }
.nd .marquee-item { display: inline-flex; align-items: center; font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; color: rgba(255,255,255,.72); padding: 0 26px; }
.nd .marquee-item::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); margin-left: 26px; }
@keyframes ndMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   STATS (#stats → main.js counters) — op licht blok
   ============================================================ */
.nd .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.nd .stat-number { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.nd .section.dark .stat-number { color: #fff; }
.nd .stat-title { margin-top: 10px; font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nd .section.dark .stat-title { color: var(--muted-d); }

/* ============================================================
   DIENSTEN
   ============================================================ */
.nd .svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.nd .svc-card { padding: 40px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; transition: background .2s; }
.nd .svc-card:hover { background: var(--bg-soft); }
.nd .svc-num { font-family: var(--font-display); font-size: .9rem; color: var(--blue); font-weight: 600; }
.nd .svc-card h3 { margin: 18px 0 10px; }
.nd .svc-card p { font-size: .96rem; margin-bottom: 20px; }
.nd .svc-card .arrow-link { margin-top: auto; font-size: .92rem; }

/* ============================================================
   PAKKETTEN
   ============================================================ */
.nd .pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.nd .pkg { padding: 38px 32px; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: #fff; }
.nd .pkg:last-child { border-right: 0; }
.nd .pkg.featured { background: var(--dark); color: #fff; }
.nd .pkg.featured h3, .nd .pkg.featured .pkg-price-now { color: #fff; }
.nd .pkg.featured .pkg-desc, .nd .pkg.featured .pkg-for, .nd .pkg.featured .pkg-price small { color: var(--muted-d); }
.nd .pkg.featured .pkg-features li { color: rgba(255,255,255,.9); }
.nd .pkg-flag { align-self: flex-start; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--blue); padding: 5px 12px; border-radius: 4px; margin-bottom: 18px; }
.nd .pkg h3 { font-size: 1.5rem; }
.nd .pkg-desc { font-size: .93rem; margin: 10px 0 20px; min-height: 2.6em; }
.nd .pkg-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.nd .pkg-price-now { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; letter-spacing: -.03em; color: var(--ink); }
.nd .pkg-price-old { font-size: .95rem; color: var(--muted); text-decoration: line-through; }
.nd .pkg-price small { font-size: .78rem; color: var(--muted); }
.nd .pkg-for { font-size: .84rem; color: var(--muted); margin: 10px 0 24px; }
.nd .pkg-features { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.nd .pkg-features li { display: flex; align-items: flex-start; gap: 10px; font-size: .93rem; color: var(--ink); line-height: 1.4; }
.nd .pkg-features svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--blue); margin-top: 1px; }
.nd .pkg.featured .pkg-features svg { color: #6FA8DC; }
.nd .pkg .btn { width: 100%; justify-content: center; }
.nd .pkg-more { display: block; text-align: center; margin-top: 12px; font-size: .82rem; color: var(--muted); }
.nd .pkg.featured .pkg-more { color: var(--muted-d); }

/* ============================================================
   WERK — grote beelden
   ============================================================ */
.nd .work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
.nd .proj-card { display: block; }
.nd .proj-shot { position: relative; overflow: hidden; aspect-ratio: 16/10; background: var(--bg-soft); border-radius: var(--radius); }
.nd .proj-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s var(--ease); }
.nd .proj-card:hover .proj-shot img { transform: scale(1.03); }
.nd .proj-body { padding: 22px 2px 0; }
.nd .proj-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.nd .proj-tag { font-size: .74rem; font-weight: 600; letter-spacing: .02em; color: var(--blue); background: var(--blue-soft); padding: 4px 11px; border-radius: 4px; }
.nd .proj-client { font-size: .84rem; color: var(--muted); }
.nd .proj-body h3 { margin: 8px 0 10px; font-size: 1.5rem; }
.nd .proj-body p { font-size: .96rem; margin: 0 0 16px; }

/* ============================================================
   WERKWIJZE — echte volgorde
   ============================================================ */
.nd .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.nd .step { padding: 30px 26px 30px 0; border-right: 1px solid var(--line); }
.nd .step:last-child { border-right: 0; padding-right: 0; }
.nd .step:not(:first-child) { padding-left: 26px; }
.nd .step-num { font-family: var(--font-display); font-size: .9rem; font-weight: 600; color: var(--blue); }
.nd .step h3 { font-size: 1.2rem; margin: 14px 0 8px; }
.nd .step p { font-size: .92rem; margin: 0; }

/* ============================================================
   OVER ONS
   ============================================================ */
.nd .about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.nd .about-portrait { border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); aspect-ratio: 4 / 5; }
.nd .about-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nd .about-quote { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2.15rem); line-height: 1.22; letter-spacing: -.02em; color: var(--ink); margin: 0 0 22px; }
.nd .about-sign { font-size: .9rem; color: var(--muted); }

/* ============================================================
   CONTACT + FORM (ids behouden voor main.js)
   ============================================================ */
/* Homepage-contact = gecentreerde CTA (geen formulier; dat staat op /contact) */
.nd .contact-cta { max-width: 720px; margin: 0 auto; text-align: center; }
.nd .contact-cta p { font-size: 1.14rem; color: var(--muted-d); max-width: 54ch; margin: 20px auto 34px; }
.nd .contact-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.nd .contact-inline { list-style: none; margin: 40px 0 0; padding: 30px 0 0; border-top: 1px solid var(--line-d); display: flex; gap: 12px 40px; justify-content: center; flex-wrap: wrap; }
.nd .contact-inline li, .nd .contact-inline a { display: inline-flex; align-items: center; gap: 9px; color: rgba(255,255,255,.72); font-size: .95rem; }
.nd .contact-inline a:hover { color: #fff; }
.nd .contact-inline svg { width: 18px; height: 18px; color: #6FA8DC; flex: 0 0 auto; }

.nd .contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; }
.nd .contact-intro p { color: var(--muted-d); font-size: 1.1rem; }
.nd .contact-list { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.nd .contact-list a, .nd .contact-list li { color: #fff; display: flex; align-items: center; gap: 12px; font-size: 1rem; }
.nd .contact-list svg { width: 20px; height: 20px; color: #6FA8DC; flex: 0 0 auto; }
.nd .form-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 36px; }
.nd .form-card h3 { margin: 0 0 22px; }
.nd .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nd .form-group { margin-bottom: 16px; display: flex; flex-direction: column; }
.nd .form-group label { font-size: .8rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.nd .form-group input, .nd .form-group select, .nd .form-group textarea {
    font-family: var(--font-body); font-size: .98rem; color: var(--ink);
    background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    padding: 13px 15px; width: 100%; transition: border-color .18s;
}
.nd .form-group textarea { min-height: 130px; resize: vertical; }
.nd .form-group input:focus, .nd .form-group select:focus, .nd .form-group textarea:focus { outline: none; border-color: var(--blue); }
.nd .error-message { color: #C0392B; font-size: .8rem; margin-top: 5px; min-height: 1em; }
.nd .form-card .btn { width: 100%; justify-content: center; margin-top: 4px; }

/* ============================================================
   CONTACTPAGINA — zwevende split-kaart (grijs | wit) over de hero
   ============================================================ */
/* Let op de hoge specificiteit: `.nd .page-hero` zet verderop `padding` als
   shorthand en zou een losse padding-bottom hier anders overschrijven. */
.nd .page-hero.contact-hero { padding-bottom: 200px; }
.nd .contact-body { background: var(--bg-soft); padding: 0 0 clamp(72px, 9vw, 130px); }
.nd .contact-split {
    display: grid; grid-template-columns: .9fr 1.1fr;
    margin-top: -120px; position: relative; z-index: 3;
    background: #fff; border-radius: var(--radius); overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.20);
}

/* Linkerhelft: zacht grijs paneel. Licht, zodat de kaart tegen de donkere hero
   afsteekt in plaats van er zwart-op-zwart in weg te vallen. */
.nd .contact-side {
    background: var(--bg-soft); color: var(--ink); padding: 42px 36px;
    display: flex; flex-direction: column; justify-content: center;
}
.nd .contact-person { display: flex; align-items: center; gap: 14px; }
.nd .contact-avatar { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.nd .contact-person-name { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.02rem; line-height: 1.25; }
.nd .contact-person-role { font-size: .84rem; color: var(--muted); }
.nd .contact-quote { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; line-height: 1.32; letter-spacing: -.01em; color: var(--ink); margin: 26px 0 0; }
.nd .contact-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: .84rem; color: var(--muted); }
.nd .contact-badge svg { width: 15px; height: 15px; flex: 0 0 auto; color: var(--blue); }

/* Contactkaarten: wit op het grijze paneel */
.nd .contact-cards { display: flex; flex-direction: column; gap: 10px; margin-top: 32px; }
.nd .contact-card {
    display: flex; align-items: center; gap: 14px; padding: 14px 16px;
    border-radius: var(--radius-sm); border: 1px solid var(--line);
    background: #fff; color: var(--ink);
    transition: border-color .18s, transform .18s, box-shadow .18s;
}
.nd a.contact-card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(24,111,187,.10); }
.nd .contact-card-ico { width: 38px; height: 38px; border-radius: 9px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: 0 0 auto; }
.nd .contact-card-ico svg { width: 18px; height: 18px; }
.nd .contact-card-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nd .contact-card-label { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nd .contact-card-value { font-weight: 600; font-size: .95rem; color: var(--ink); overflow-wrap: anywhere; }

/* Rechterhelft: formulier op wit, met een hairline als scheiding */
.nd .contact-form-wrap { padding: 42px 38px; background: #fff; color: var(--ink); border-left: 1px solid var(--line); }
.nd .contact-form-wrap h3 { font-size: 1.5rem; margin: 0 0 6px; }
.nd .contact-form-lead { font-size: .95rem; color: var(--muted); margin: 0 0 26px; }
.nd .contact-form-wrap .btn { width: 100%; justify-content: center; margin-top: 4px; }
.nd .contact-privacy { font-size: .78rem; color: var(--muted); text-align: center; margin: 14px 0 0; }
.nd .contact-privacy a { color: var(--blue); font-weight: 500; }

@media (max-width: 900px) {
    .nd .contact-split { grid-template-columns: 1fr; margin-top: -80px; }
    .nd .page-hero.contact-hero { padding-bottom: 150px; }
    /* Gestapeld: scheiding van links naar boven verplaatsen. */
    .nd .contact-form-wrap { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
    .nd .contact-split { margin-top: -56px; }
    .nd .contact-side, .nd .contact-form-wrap { padding: 32px 22px; }
    .nd .contact-quote { font-size: 1.18rem; }
}

/* ============================================================
   NIEUWSBRIEF
   ============================================================ */
.nd .news-card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.nd .news-card p { color: var(--muted-d); margin: 14px 0 0; }
.nd .news-form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.nd .news-input { flex: 1; min-width: 220px; font-family: var(--font-body); font-size: 1rem; padding: 14px 18px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-d); background: rgba(255,255,255,.05); color: #fff; }
.nd .news-input::placeholder { color: rgba(255,255,255,.5); }
.nd .news-input:focus { outline: none; border-color: #fff; }
.nd .newsletter-message { font-size: .85rem; margin-top: 12px; min-height: 1em; }
.nd .newsletter-message.success { color: #6FCF97; }
.nd .newsletter-message.error { color: #EB8074; }
.nd .news-disclaimer { font-size: .78rem; color: rgba(255,255,255,.5); margin-top: 14px; }
.nd .news-disclaimer a { color: rgba(255,255,255,.8); text-decoration: underline; }

/* Domeincheck */
.nd .domain-check { max-width: 560px; margin: 0 auto; }
.nd .domain-check-field { display: flex; gap: 10px; }
.nd .domain-check-field input {
    flex: 1; min-width: 0; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
    background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    padding: 14px 16px; transition: border-color .18s;
}
.nd .domain-check-field input:focus { outline: none; border-color: var(--blue); }
.nd .domain-check-field .btn { flex: 0 0 auto; white-space: nowrap; }
.nd .domain-check-hint { text-align: center; color: var(--muted); font-size: .82rem; margin: 12px 0 0; }
/* Breedte volgt de breedste rij (langste domeinnaam past dan op één regel) en
   álle rijen krijgen die breedte; nooit smaller dan het zoekveld, nooit breder
   dan de container. */
.nd .domain-check-results { width: max-content; max-width: 100%; min-width: min(560px, 100%); margin: 22px auto 0; }
.nd .domain-check-note { text-align: center; color: var(--muted); font-size: .78rem; margin: 16px 0 0; }
.nd .dc-list { display: flex; flex-direction: column; gap: 8px; }
.nd .dc-row {
    display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 8px 16px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px;
}
.nd .dc-row.dc-primary { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.nd .dc-name { font-family: var(--font-display); font-weight: 700; color: var(--ink); white-space: nowrap; }
.nd .dc-status { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.nd .dc-status svg { width: 16px; height: 16px; flex: 0 0 auto; }
.nd .dc-free .dc-status { color: #1E874B; }
.nd .dc-taken .dc-name { opacity: .55; text-decoration: line-through; }
.nd .dc-price { font-size: .86rem; color: var(--muted); white-space: nowrap; }
.nd .dc-price .dc-old { text-decoration: line-through; opacity: .55; }
.nd .dc-price .dc-now { color: var(--blue); font-weight: 600; }
.nd .dc-taken .dc-price { opacity: .5; }
.nd .dc-btn { padding: 8px 16px; font-size: .84rem; }
.nd .dc-spin {
    width: 14px; height: 14px; border: 2px solid var(--line-strong); border-top-color: var(--blue);
    border-radius: 50%; display: inline-block; animation: dcspin .6s linear infinite;
}
@keyframes dcspin { to { transform: rotate(360deg); } }
.nd .dc-msg { text-align: center; color: var(--muted); }
.nd .dc-msg.dc-err { color: #C0392B; }
@media (max-width: 560px) {
    .nd .domain-check-field { flex-direction: column; }
    .nd .domain-check-field .btn { width: 100%; justify-content: center; }
    .nd .dc-row { grid-template-columns: 1fr auto; }
    .nd .dc-price { grid-column: 1; }
    .nd .dc-cta { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
    /* Op smalle schermen kan de container niet meegroeien → naam mag afbreken. */
    .nd .dc-name { white-space: normal; overflow-wrap: anywhere; }
}

/* ============================================================
   CTA-band
   ============================================================ */
.nd .cta-band { background: var(--dark); color: #fff; text-align: center; }
/* Primaire CTA op de donkere band = blauw (merk-accent), niet wit */
.nd .cta-band .btn-white { background: var(--blue); color: #fff; }
.nd .cta-band .btn-white:hover { background: var(--blue-dark); }
/* CTA-band-knoppen: vaste breedte + hoogte, marge 0, wrapper centreert → altijd even groot */
.nd .cta-band .container > div { align-items: center; }
.nd .cta-band .btn { min-width: 250px; height: 58px; padding: 0 30px; margin: 0; font-size: 1.05rem; justify-content: center; box-sizing: border-box; }
@media (max-width: 560px) { .nd .cta-band .btn { min-width: 0; width: 100%; } }
/* Losse knop direct onder de tekst (geen wrapper) krijgt lucht t.o.v. de alinea. */
.nd .cta-band .container > .btn { margin-top: 32px; }
.nd .cta-band h2 { color: #fff; }
.nd .cta-band p { color: rgba(255,255,255,.9); max-width: 54ch; margin: 18px auto 0; }

/* ============================================================
   PAGE HERO (subpagina's)
   ============================================================ */
.nd .page-hero { background: var(--dark); color: #fff; padding: 150px 0 76px; }
.nd .page-hero h1 { color: #fff; }
.nd .page-hero p { color: var(--muted-d); font-size: 1.2rem; max-width: 62ch; margin-top: 20px; }
.nd .crumbs { font-size: .84rem; color: var(--muted-d); margin-bottom: 22px; display: flex; gap: 8px; }
.nd .crumbs a:hover { color: #fff; }

/* ============================================================
   CASE STUDY
   ============================================================ */
.nd .case-hero-shot { border-radius: var(--radius); overflow: hidden; margin-top: -46px; position: relative; z-index: 3; }
.nd .case-hero-shot picture { display: block; }
.nd .case-hero-shot img { display: block; width: 100%; height: auto; }
.nd .case-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 44px 0; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nd .case-meta dt { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.nd .case-meta dd { margin: 0; font-weight: 600; }
.nd .case-body { max-width: 780px; }
.nd .case-body h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 44px 0 14px; }
.nd .case-body p { font-size: 1.08rem; color: var(--ink); }
.nd .case-body ul { color: var(--muted); padding-left: 1.2em; }
.nd .case-body ul li { margin-bottom: 8px; }
.nd .case-pull { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.2; letter-spacing: -.02em; color: var(--ink); border-left: 3px solid var(--blue); padding-left: 26px; margin: 44px 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.nd .footer { background: var(--dark); color: #fff; padding: 76px 0 34px; }
.nd .footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 44px; border-bottom: 1px solid var(--line-d); }
.nd .footer-brand img { height: 46px; margin-bottom: 18px; }
.nd .footer-brand p { color: var(--muted-d); font-size: .92rem; max-width: 30ch; }
.nd .footer-col h4 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); margin: 0 0 16px; font-weight: 600; }
.nd .footer-col a { display: block; color: rgba(255,255,255,.75); font-size: .92rem; padding: 5px 0; }
.nd .footer-col a:hover { color: #fff; }
.nd .footer-regions { margin-top: 26px; }
.nd .footer-regions + .footer-regions { border-top: 1px solid var(--line-d); margin-top: 26px; padding-top: 26px; }
.nd .footer-regions-title { font-size: .82rem; color: rgba(255,255,255,.5); margin: 0 0 12px; text-transform: uppercase; letter-spacing: .08em; }
.nd .footer-regions-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.nd .footer-regions-list a { font-size: .84rem; color: rgba(255,255,255,.6); }
.nd .footer-regions-list a:hover { color: #fff; }
.nd .footer-regions-sep { color: rgba(255,255,255,.25); }
.nd .footer-regions-all { font-weight: 600; color: #6FA8DC !important; display: inline-flex; align-items: center; gap: 6px; }
.nd .footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 26px; font-size: .82rem; color: rgba(255,255,255,.55); }
.nd .footer-bottom-links { display: flex; gap: 20px; }
.nd .footer-bottom-links a { color: rgba(255,255,255,.7); }
.nd .footer-payments { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
/* Auteur-attributie (E-E-A-T): eigen regel onderaan de footer. */
.nd .footer-author { flex-basis: 100%; order: 4; font-size: .78rem; color: rgba(255,255,255,.45); }
.nd .footer-author .author { color: rgba(255,255,255,.72); font-weight: 600; }
.nd .footer-payments img { height: 30px; width: auto; background: rgba(255,255,255,.92); border-radius: 5px; padding: 4px 9px; }

/* ============================================================
   SEO-LANDINGSPAGINA'S — hero-override + uniek lokaal/dienst-blok.
   Hergebruikt de bestaande .local-seo*/.faq-item HTML uit seo-landing.php,
   nu in de nd-stijl (SEO-content blijft dus ongewijzigd).
   ============================================================ */
.nd .hero-landing-h1 { font-family: var(--font-display); font-weight: 700; color: #F5F2EA; font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.08; letter-spacing: -.01em; }
.nd .highlight { color: var(--blue); }
.nd .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.nd .local-seo { padding: clamp(64px, 8vw, 110px) 0; background: var(--bg); border-top: 1px solid var(--line); }
.nd .local-seo-head { max-width: 760px; margin: 0 0 48px; }
.nd .local-seo .section-label { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.nd .local-seo .section-title { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.1; letter-spacing: -.02em; }
.nd .local-seo-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.nd .local-seo-prose p { font-size: 1.05rem; color: var(--muted); margin: 0 0 18px; line-height: 1.7; }

/* Zichtbaar AEO-blok: vraag-kop + definitiezin + genummerde stappen. */
.nd .local-seo-howto { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.nd .local-seo-howto h2 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.2; margin: 0 0 14px; }
.nd .local-seo-steps { margin: 22px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; color: var(--muted); line-height: 1.7; }
.nd .local-seo-steps li::marker { color: var(--blue); font-weight: 700; }
.nd .local-seo-steps strong { color: var(--ink); font-weight: 600; }

/* "Ook actief in <provincie>": interne links naar nabijgelegen steden. Vult de
   kolom naast de (hoge) donkere kaart en voorkomt orphan pages. */
.nd .local-seo-nearby { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.nd .local-seo-nearby-title { font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.nd .local-seo-nearby-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nd .local-seo-nearby-list a {
    display: inline-flex; align-items: center; padding: 7px 14px;
    border: 1px solid var(--line); border-radius: 100px; background: #fff;
    color: var(--ink); font-size: .88rem; font-weight: 500;
    transition: border-color .15s, color .15s, transform .15s;
}
.nd .local-seo-nearby-list a:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); }
.nd .local-seo-features { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.nd .local-seo-features li { display: flex; gap: 12px; }
.nd .local-seo-features svg { width: 22px; height: 22px; color: var(--blue); flex: 0 0 auto; margin-top: 2px; }
.nd .local-seo-features strong { display: block; color: var(--ink); font-weight: 600; }
.nd .local-seo-features span { color: var(--muted); font-size: .95rem; }

.nd .local-seo-card { background: var(--dark); color: #fff; border-radius: var(--radius); padding: 30px; position: sticky; top: 96px; }
.nd .local-seo-card-title { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: #fff; margin: 0 0 10px; }
.nd .local-seo-card-title svg { width: 20px; height: 20px; color: #6FA8DC; flex: 0 0 auto; }
.nd .local-seo-card-lead { color: var(--muted-d); font-size: .95rem; margin: 0 0 22px; }
.nd .local-seo-card-stats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 22px; padding: 16px 0; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.nd .local-seo-card-stats li { display: flex; flex-direction: column; gap: 3px; }
.nd .local-seo-card-stat-value { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: #fff; }
.nd .local-seo-card-stat-label { font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-d); }
.nd .local-seo-card-checks { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.nd .local-seo-card-checks li { display: flex; align-items: flex-start; gap: 10px; font-size: .93rem; color: rgba(255,255,255,.9); }
.nd .local-seo-card-checks svg { width: 18px; height: 18px; color: #6FA8DC; flex: 0 0 auto; margin-top: 1px; }
.nd .local-seo-card .btn { width: 100%; justify-content: center; }
.nd .local-seo-card-phone { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .9rem; color: var(--muted-d); }
.nd .local-seo-card-phone svg { width: 16px; height: 16px; flex: 0 0 auto; }
.nd .local-seo-card-phone:hover { color: #fff; }

/* Dienstpagina's: feature-grid + gedeelde helpers */
.nd .page-hero .hero-actions { margin-top: 34px; }
.nd .feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.nd .feat { padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, transform .2s; }
.nd .feat:hover { border-color: var(--ink); transform: translateY(-3px); }
.nd .feat-ico { display: inline-flex; width: 46px; height: 46px; border-radius: 11px; background: var(--blue-soft); color: var(--blue); align-items: center; justify-content: center; margin-bottom: 18px; }
.nd .feat-ico svg { width: 22px; height: 22px; }
.nd .feat h3 { font-size: 1.15rem; margin: 0 0 8px; }
.nd .feat p { font-size: .95rem; margin: 0; }
/* In een .duo staan kaarten met knop → knop onderaan uitlijnen (gelijke hoogte) */
.nd .duo .feat { display: flex; flex-direction: column; }
.nd .duo .feat > .btn { margin-top: auto; }
.nd .faq-list { display: flex; flex-direction: column; }
.nd .cmp-wrap { overflow-x: auto; margin-top: 48px; }
.nd .cmp-table { width: 100%; border-collapse: collapse; min-width: 520px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.nd .cmp-table th, .nd .cmp-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .94rem; }
.nd .cmp-table thead th { background: var(--bg-soft); font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.nd .cmp-table thead th:nth-child(2) { color: var(--blue); }
.nd .cmp-table tbody tr:last-child td { border-bottom: 0; }
.nd .cmp-table td:first-child { color: var(--ink); font-weight: 500; }
.nd .cmp-table td:not(:first-child) { color: var(--muted); text-align: center; }
.nd .cmp-table td.yes { color: var(--blue); font-weight: 600; }
.nd .cmp-table td.no { color: var(--muted); }
.nd .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 48px; }
.nd .duo .feat h3 { margin-bottom: 16px; }
.nd .duo .pkg-features { margin: 0; }

.nd .local-seo-faq { margin-top: 56px; max-width: 820px; }
.nd .local-seo-faq h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--ink); margin: 0 0 18px; }
.nd .faq-item { border-bottom: 1px solid var(--line); }
.nd .faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.nd .faq-item summary::-webkit-details-marker { display: none; }
.nd .faq-chevron { width: 14px; height: 14px; color: var(--blue); flex: 0 0 auto; transition: transform .2s var(--ease); }
.nd .faq-item[open] .faq-chevron { transform: rotate(180deg); }
.nd .faq-inner p { color: var(--muted); line-height: 1.7; margin: 0 0 18px; }

/* ============================================================
   HUB-OVERZICHTEN (branches, website-laten-maken)
   ============================================================ */
.nd .hub-regions { display: flex; flex-direction: column; gap: 44px; max-width: 1000px; margin: 0 auto; }
.nd .hub-prov-title { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--ink); margin: 0 0 18px; }
.nd .hub-prov-title svg { color: var(--blue); flex: 0 0 auto; }
.nd .hub-prov-count { font-size: .74rem; font-weight: 600; color: var(--muted); background: var(--blue-soft); border-radius: 100px; padding: 3px 11px; }
.nd .hub-city-grid { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); grid-auto-rows: 60px; gap: 10px; }
.nd .hub-city-grid li { display: flex; }
.nd .hub-city-grid a { width: 100%; height: 100%; }
.nd .hub-city-grid a { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 10px 16px; line-height: 1.25; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: .92rem; font-weight: 500; transition: border-color .15s, transform .15s, box-shadow .15s; }
.nd .hub-city-grid a:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(24,111,187,.1); }
.nd .hub-city-grid a svg { color: var(--blue); flex: 0 0 auto; }
.nd .hub-city-grid a span { color: var(--ink); font-weight: 600; }
@media (max-width: 520px) { .nd .hub-city-grid { grid-template-columns: 1fr; } }

/* ============================================================
   JURIDISCHE PAGINA'S (privacy, voorwaarden) — prose
   ============================================================ */
.nd .legal { max-width: 820px; margin: 0 auto; }
.nd .legal h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--ink); margin: 40px 0 12px; }
.nd .legal h3 { font-size: 1.1rem; font-weight: 600; color: var(--ink); margin: 24px 0 8px; }
.nd .legal h4 { font-family: var(--font-body); font-size: .98rem; font-weight: 700; color: var(--ink); margin: 18px 0 6px; }
.nd .legal > p:first-of-type { font-size: 1.1rem; color: var(--ink); }
.nd .legal p { color: var(--muted); line-height: 1.75; margin: 0 0 14px; }
.nd .legal ul, .nd .legal ol { color: var(--muted); line-height: 1.7; padding-left: 1.3em; margin: 0 0 16px; }
.nd .legal li { margin-bottom: 8px; }
.nd .legal a { color: var(--blue); font-weight: 500; }
.nd .legal a:hover { text-decoration: underline; }
.nd .legal strong { color: var(--ink); font-weight: 600; }
.nd .legal table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: .95rem; }
.nd .legal th, .nd .legal td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); color: var(--muted); }
.nd .legal th { background: var(--bg-soft); color: var(--ink); font-weight: 600; }

/* ============================================================
   Scroll-to-top + cookie banner (hergebruik ids)
   ============================================================ */
.nd .floating-actions { position: fixed; bottom: 24px; right: 24px; z-index: 900; }
.nd .floating-btn { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: var(--radius-sm); border: 0; cursor: pointer; background: var(--ink); color: #fff; transition: transform .2s, opacity .2s, visibility .2s; }
.nd .floating-btn:hover { background: #000; }
.nd .scroll-to-top { opacity: 0; visibility: hidden; }
.nd .scroll-to-top.visible { opacity: 1; visibility: visible; }

.nd #cookie-consent-banner { position: fixed; bottom: 20px; left: 20px; z-index: 1200; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,.15); padding: 24px; display: none; }
.nd #cookie-consent-banner.show { display: block; }
.nd #cookie-consent-banner h3 { font-size: 1.15rem; margin: 0 0 8px; }
.nd #cookie-consent-banner p { font-size: .86rem; margin: 0 0 14px; }
.nd .cookie-consent-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.nd .cookie-consent-btn { font-family: var(--font-body); font-size: .84rem; font-weight: 600; padding: 9px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.nd #accept-cookies { background: var(--blue); color: #fff; border-color: var(--blue); }
.nd .cookie-settings { display: none; margin: 12px 0; }
.nd .cookie-setting-item { display: flex; gap: 10px; margin-bottom: 12px; }

/* Oude .reveal-klasse blijft neutraal (inert). */
.nd .reveal { opacity: 1 !important; transform: none !important; }

/* ---- Subtiele scroll-reveal (één keer, zoals AOS) ----
   Verbergen alléén als JS actief is (html.nd-js). Zonder JS blijft alles
   gewoon zichtbaar — de pagina kan dus nooit "leeg" laden. */
.nd-js .rv { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.nd-js .rv.in { opacity: 1; transform: none; }
.nd-js .rv-left { transform: translateX(-26px); }
.nd-js .rv-left.in { transform: none; }

/* ---- Horizontale diensten-scroller ---- */
.nd .scroller-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.nd .scroller-nav { display: flex; gap: 8px; }
.nd .scroller-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: border-color .18s, background .18s, opacity .18s; }
.nd .scroller-btn:hover { border-color: var(--ink); }
.nd .scroller-btn:disabled { opacity: .3; cursor: default; }
.nd .scroller-btn svg { width: 18px; height: 18px; }
.nd .svc-scroller { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.nd .svc-scroller::-webkit-scrollbar { display: none; }
.nd .svc-scroller .svc-card {
    scroll-snap-align: start; flex: 0 0 clamp(260px, 30%, 340px);
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 34px 30px; background: #fff; transition: border-color .2s, transform .2s;
}
.nd .svc-scroller .svc-card:hover { border-color: var(--ink); transform: translateY(-4px); }
.nd .svc-hint { font-size: .82rem; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }

/* Focus */
.nd a:focus-visible, .nd button:focus-visible, .nd input:focus-visible,
.nd select:focus-visible, .nd textarea:focus-visible {
    outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 3px;
}
.nd .section.dark a:focus-visible, .nd .hero a:focus-visible, .nd .footer a:focus-visible { outline-color: #6FA8DC; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
    .nd .hero-wrap { min-height: 0; padding: 20px 0 46px; }
    .nd .local-seo-grid { grid-template-columns: 1fr; gap: 32px; }
    .nd .local-seo-card { position: static; }
    .nd .svc-grid, .nd .pkg-grid, .nd .feat-grid { grid-template-columns: 1fr 1fr; }
    .nd .steps { grid-template-columns: 1fr 1fr; }
    .nd .step, .nd .step:not(:first-child) { padding: 26px 20px; }
    .nd .about-split, .nd .contact-grid, .nd .news-card { grid-template-columns: 1fr; gap: 36px; }
    .nd .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .nd .case-meta { grid-template-columns: 1fr 1fr; }
    .nd .footer-top { grid-template-columns: 1fr 1fr; }
    .nd .work-grid { gap: 32px 24px; }
}
@media (max-width: 820px) {
    .nd .container { padding: 0 22px; }
    .nd .nav-toggle { display: flex; }
    .nd .nav-sep, .nd .nav-phone { display: none; }
    .nd .nav-links {
        position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px);
        background: var(--dark); flex-direction: column; align-items: stretch;
        justify-content: flex-start; gap: 2px; padding: 96px 22px 40px;
        transform: translateX(100%); transition: transform .32s var(--ease);
        overflow-y: auto; border-left: 1px solid var(--line-d);
    }
    .nd .nav-links.open { transform: translateX(0); }
    .nd .nav-links > a, .nd .nav-dropdown-toggle { width: 100%; font-size: 1.05rem; }
    .nd .nav-dropdown { width: 100%; }
    .nd .nav-dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; padding: 2px 0 8px 12px; display: none; background: none; border: 0; }
    .nd .nav-dropdown.open .nav-dropdown-menu { display: block; }
    .nd .nav-cta { text-align: center; margin-top: 10px; }
}
@media (max-width: 560px) {
    .nd .svc-grid, .nd .pkg-grid, .nd .work-grid, .nd .steps, .nd .stats-grid,
    .nd .case-meta, .nd .form-row, .nd .footer-top, .nd .feat-grid, .nd .duo { grid-template-columns: 1fr; }
    .nd .pkg { border-right: 0; border-bottom: 1px solid var(--line); }
    .nd #cookie-consent-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; }
    .nd .footer-bottom { flex-direction: column; align-items: flex-start; }
    .nd h1 { font-size: clamp(2.6rem, 12vw, 3.4rem); }
}

/* ---- Mobiel: gecentreerde layout ----
   Op desktop staan de kop-blokken links uitgelijnd; op telefoon oogt dat
   scheef. Hier centreren we hero, sectiekoppen, stats, stappen enz. zodat
   alles netjes in het midden staat. Zelfde breekpunt als de 1-koloms grids. */
@media (max-width: 560px) {
    /* Hero gecentreerd */
    .nd .hero-wrap { text-align: center; align-items: center; }
    .nd .hero-lead { margin-left: auto; margin-right: auto; }
    .nd .hero-actions { justify-content: center; }
    .nd .hero-meta { justify-content: center; }

    /* Subpagina-hero (diensten, juridisch, contact) gecentreerd */
    .nd .page-hero .container { text-align: center; }
    .nd .page-hero .crumbs { justify-content: center; flex-wrap: wrap; }
    .nd .page-hero p { margin-left: auto; margin-right: auto; }
    .nd .page-hero .hero-actions { justify-content: center; }

    /* Alle sectiekoppen gecentreerd */
    .nd .section-head { margin-left: auto; margin-right: auto; text-align: center; }

    /* Diensten-scroller: kop boven de pijlen, gecentreerd */
    .nd .scroller-head { flex-direction: column; align-items: center; text-align: center; }
    .nd .svc-hint { justify-content: center; width: 100%; }

    /* Stats gecentreerd */
    .nd .stat { text-align: center; }

    /* Stappen gecentreerd + hairlines i.p.v. een losse rechterrand */
    .nd .steps { border-top: 0; }
    .nd .step, .nd .step:not(:first-child) {
        text-align: center; padding: 22px 0; border-right: 0; border-top: 1px solid var(--line);
    }
    .nd .step:first-child { border-top: 2px solid var(--ink); }

    /* Over ons gecentreerd */
    .nd .about-copy { text-align: center; }
    .nd .about-copy .arrow-link { justify-content: center; }

    /* Uitgelicht werk: kop, tags en link gecentreerd */
    .nd .proj-body { text-align: center; }
    .nd .proj-tags { justify-content: center; }
    .nd .proj-body .arrow-link { justify-content: center; }
    .nd #werk .work-grid ~ div { text-align: center; }

    /* Nieuwsbrief gecentreerd */
    .nd .news-content { text-align: center; }
    .nd .news-form-row { justify-content: center; }

    /* Footer gecentreerd: merk over de volle breedte, link-kolommen eronder */
    .nd .footer-brand { grid-column: 1 / -1; text-align: center; }
    .nd .footer-brand .nav-logo { justify-content: center; }
    .nd .footer-brand p { margin-left: auto; margin-right: auto; }
    .nd .footer-col { text-align: center; }
    .nd .footer-regions-title { text-align: center; }
    .nd .footer-regions-list { justify-content: center; }
    .nd .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
    .nd .footer-bottom-links { justify-content: center; }
    .nd .footer-payments { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .nd .rv { opacity: 1 !important; transform: none !important; transition: none !important; }
    .nd .mq-track { animation: none; }
    .nd-js .hero-wrap > * { opacity: 1 !important; animation: none !important; }
    .nd * { scroll-behavior: auto !important; }
}

/* ============================================================
   Statuspagina (/status.php) — Webmail & Klantenportaal
   ============================================================ */
.nd .status-wrap { max-width: 860px; margin: 0 auto; }

.nd .status-overall {
    display: flex; align-items: center; gap: 16px;
    padding: 22px 24px; border-radius: var(--radius);
    border: 1px solid var(--line); background: var(--bg-soft);
    border-left: 4px solid var(--muted);
    margin-bottom: 28px;
}
.nd .status-overall-txt { display: flex; flex-direction: column; gap: 2px; margin-right: auto; }
.nd .status-overall-txt strong { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: -.01em; }
.nd .status-overall-txt span { color: var(--muted); font-size: .92rem; }

.nd .status-overall[data-state="operational"] { border-left-color: var(--ok);   background: var(--ok-soft); }
.nd .status-overall[data-state="degraded"]    { border-left-color: var(--warn); background: var(--warn-soft); }
.nd .status-overall[data-state="down"]        { border-left-color: var(--down); background: var(--down-soft); }
.nd .status-overall[data-state="loading"]     { border-left-color: var(--muted); }

.nd .status-dot { width: 13px; height: 13px; border-radius: 50%; background: var(--muted); flex: 0 0 auto; position: relative; }
.nd .status-overall[data-state="operational"] .status-dot { background: var(--ok); }
.nd .status-overall[data-state="degraded"]    .status-dot { background: var(--warn); }
.nd .status-overall[data-state="down"]        .status-dot { background: var(--down); }
.nd .status-dot::after {
    content: ""; position: absolute; inset: -5px; border-radius: 50%;
    background: currentColor; opacity: .28; animation: status-pulse 2s var(--ease) infinite;
}
.nd .status-overall[data-state="operational"] .status-dot::after { color: var(--ok); }
.nd .status-overall[data-state="degraded"]    .status-dot::after { color: var(--warn); }
.nd .status-overall[data-state="down"]        .status-dot::after { color: var(--down); }
.nd .status-overall[data-state="loading"]     .status-dot::after { display: none; }
@keyframes status-pulse { 0% { transform: scale(.6); opacity: .4; } 70% { transform: scale(1.5); opacity: 0; } 100% { opacity: 0; } }

.nd .status-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.nd .status-card {
    border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--white); padding: 22px 22px 18px;
    display: flex; flex-direction: column; gap: 14px;
}
.nd .status-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.nd .status-card h3 { margin: 0 0 3px; font-size: 1.1rem; }
.nd .status-card p  { margin: 0; color: var(--muted); font-size: .9rem; }

.nd .status-pill {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: .78rem; font-weight: 600; letter-spacing: .01em;
    padding: 5px 11px; border-radius: 100px; white-space: nowrap;
    background: var(--bg-soft); color: var(--muted);
}
.nd .status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.nd .status-pill[data-state="operational"] { background: var(--ok-soft);   color: var(--ok); }
.nd .status-pill[data-state="degraded"]    { background: var(--warn-soft); color: var(--warn); }
.nd .status-pill[data-state="down"]        { background: var(--down-soft); color: var(--down); }

.nd .status-card-foot {
    margin-top: auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; border-top: 1px solid var(--line); padding-top: 12px;
    font-size: .84rem; color: var(--muted);
}
.nd .status-card-foot a { color: var(--blue); font-weight: 600; text-decoration: none; }
.nd .status-card-foot a:hover { text-decoration: underline; }

.nd .status-meta { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 22px; }

@media (max-width: 620px) {
    .nd .status-grid { grid-template-columns: 1fr; }
    .nd .status-overall { flex-wrap: wrap; }
    .nd .status-overall-txt { flex: 1 1 100%; order: 2; }
    .nd .status-overall .status-dot { order: 1; }
}
