/* NLPM gedeelde stijl. Afgeleid van nl/index.html, zie build/build.mjs */

/* ===== basis, navigatie, taalwisselaar, hamburger ===== */
:root {
    --ink: #0a0f1a;
    --paper: #f4f1ec;
    --cream: #ebe7df;
    --slate: #3a3f4b;
    --muted: #6b7080;
    --accent: #c4522a;
    --accent-light: #e8714d;
    --accent-glow: rgba(196, 82, 42, 0.12);
    --serif: 'DM Serif Display', Georgia, serif;
    --sans: 'Instrument Sans', system-ui, sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--sans);
    background: var(--paper);
    color: var(--ink);
    overflow-x: hidden;
    line-height: 1.7;
}

::selection {
    background: var(--accent);
    color: var(--paper);
}

/* ═══ GRAIN OVERLAY ═══ */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

/* ═══ NAVIGATION ═══ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(244, 241, 236, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.5s var(--ease-out-expo);
}

nav.scrolled {
    background: rgba(244, 241, 236, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 3rem;
    box-shadow: 0 1px 0 rgba(10, 15, 26, 0.08);
}

.nav-logo {
    font-family: var(--sans);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
}

.nav-logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--slate);
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: width 0.4s var(--ease-out-expo);
}

.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em !important;
    padding: 0.7rem 1.6rem;
    border: 1.5px solid var(--ink);
    transition: all 0.35s var(--ease-out-expo) !important;
}

.nav-cta:hover {
    background: var(--ink) !important;
    color: var(--paper) !important;
}

.nav-cta::after { display: none !important; }

/* ═══ LANGUAGE SWITCHER ═══ */
.lang-switch {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    margin-left: 1rem;
}
.lang-switch a {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s;
}
.lang-switch a.active { color: var(--accent); }
.lang-switch a:hover { color: var(--ink); }

/* ═══ HAMBURGER ═══ */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
    background: none;
    border: none;
    padding: 8px;
    position: relative;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--ink);
    transition: all 0.4s var(--ease-out-expo);
    transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ===== knoppen ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.1rem 2.2rem;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: translateX(-101%);
    transition: transform 0.5s var(--ease-out-expo);
}

.btn-primary:hover::before { transform: translateX(0); }
.btn-primary span { position: relative; z-index: 1; }

.btn-primary .arrow {
    position: relative;
    z-index: 1;
    transition: transform 0.4s var(--ease-out-expo);
}

.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-ghost {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--slate);
    text-decoration: none;
    letter-spacing: 0.03em;
    position: relative;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(58, 63, 75, 0.3);
    transition: all 0.3s;
}

.btn-ghost:hover {
    color: var(--ink);
    border-color: var(--ink);
}

/* ===== scheidingslijn ===== */
/* ═══ DIVIDER LINE ═══ */
.divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(10, 15, 26, 0.12), transparent);
}

/* ===== footer ===== */
/* ═══ FOOTER ═══ */
footer {
    padding: 3rem 3rem 2rem;
    border-top: 1px solid rgba(10, 15, 26, 0.06);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-family: var(--sans);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
}

.footer-logo span { color: var(--accent); }

.footer-tagline {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 0.3rem;
    font-family: var(--sans);
}

.footer-links {
    display: flex;
    gap: 2.5rem;
}

.footer-col h4 {
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.6rem;
}

.footer-col a {
    display: block;
    font-size: 0.85rem;
    color: var(--slate);
    text-decoration: none;
    padding: 0.15rem 0;
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(10, 15, 26, 0.06);
    font-size: 0.75rem;
    color: var(--muted);
}

.footer-lang {
    display: flex;
    gap: 0.5rem;
}

.footer-lang a {
    color: var(--muted);
    text-decoration: none;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.75rem;
    transition: all 0.2s;
}

.footer-lang a:hover, .footer-lang a.active {
    color: var(--accent);
    background: var(--accent-glow);
}

/* ===== scroll-animaties ===== */
/* ═══ SCROLL ANIMATIONS ═══ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s var(--ease-out-expo);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ===== responsive ===== */
/* ═══ RESPONSIVE ═══ */
@media (min-width: 769px) {
    .scroll-indicator {
        display: flex;
    }
}

@media (max-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    .process-steps::before { display: none; }
}

@media (max-width: 768px) {
    nav { padding: 1.2rem 1.5rem; }
    nav.scrolled { padding: 0.8rem 1.5rem; }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background-color: #f4f1ec;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        display: none;
        z-index: 1050;
        padding: 2rem;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        list-style: none;
    }

    .nav-links a {
        font-size: 1.2rem !important;
        letter-spacing: 0.08em !important;
        color: var(--ink) !important;
    }

    .nav-cta {
        margin-top: 1.5rem;
        padding: 1rem 2.5rem !important;
        font-size: 0.95rem !important;
        border-color: var(--ink) !important;
    }

    .hamburger { display: flex; }

    .hero { padding: 7rem 1.5rem 5rem; min-height: auto; }
    .hero h1 { font-size: clamp(2.4rem, 9vw, 3.5rem); }
    .hero-metric { display: none; }
    .hero-actions { flex-direction: column; align-items: flex-start; }

    .problem {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 5rem 1.5rem;
    }
    .problem-left { position: static; }

    .process { padding: 5rem 1.5rem; }
    .process-header { grid-template-columns: 1fr; gap: 1.5rem; }
    .process-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .process-steps::before { display: none; }
    .process-timeline { flex-direction: column; gap: 2rem; }
    .timeline-divider { width: 40px; height: 1px; }

    .assess { padding: 5rem 1.5rem; }
    .assess-grid { grid-template-columns: 1fr; }

    .potenzial { padding: 5rem 1.5rem; }
    .potenzial-grid { grid-template-columns: 1fr; }
    .potenzial-process { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .potenzial-badges { justify-content: center; }

    .contact-form { grid-template-columns: 1fr; }

    .results { padding: 5rem 1.5rem; }
    .results-inner { grid-template-columns: 1fr; gap: 3rem; }

    .fit { padding: 5rem 1.5rem; }
    .fit-flex { grid-template-columns: 1fr; gap: 2rem; }

    .integrity { padding: 4rem 1.5rem; }
    .integrity-grid { grid-template-columns: 1fr; }

    .cta { padding: 5rem 1.5rem; }

    footer {
        padding: 2rem 1.5rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ===== paginakop voor de subpagina's ===== */
.page-head {
    padding: 11rem 3rem 4rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.page-head .eyebrow {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.4rem;
}
.page-head h1 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
    max-width: 18ch;
}
.page-head .lead {
    margin-top: 1.6rem;
    max-width: 60ch;
    font-size: 1.1rem;
    color: var(--slate);
}
.crumbs {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.2rem;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

/* ===== tekstpagina ===== */
.article {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 3rem 7rem;
    position: relative;
    z-index: 2;
}
.article-body { max-width: 68ch; }
.article-body h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    line-height: 1.2;
    margin: 3.5rem 0 1.2rem;
}
.article-body h2:first-child { margin-top: 0; }
.article-body p { margin-bottom: 1.3rem; color: var(--slate); }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body ul, .article-body ol { margin: 0 0 1.8rem 0; padding-left: 0; list-style: none; counter-reset: stap; }
.article-body li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.7rem;
    color: var(--slate);
}
.article-body ul > li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 10px;
    height: 1px;
    background: var(--accent);
}
.article-body ol > li { counter-increment: stap; }
.article-body ol > li::before {
    content: counter(stap);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}
.article-body blockquote {
    border-left: 2px solid var(--accent);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-family: var(--serif);
    font-size: 1.2rem;
    color: var(--ink);
}
.article-body .small { font-size: 0.9rem; color: var(--muted); }
.article-body .cta-row { margin: 2.5rem 0 1rem; }
.article-body a { color: var(--accent); }

/* ===== aanbodpaneel op de assessmentpagina ===== */
.offer {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 4rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 3rem 7rem;
    position: relative;
    z-index: 2;
}
.offer .article-body { max-width: none; }
.price-card {
    position: sticky;
    top: 6.5rem;
    background: var(--ink);
    color: var(--paper);
    padding: 2.5rem 2rem;
    border-radius: 2px;
}
.price-card .label {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(244, 241, 236, 0.55);
}
.price-card .amount {
    font-family: var(--serif);
    font-size: 3rem;
    line-height: 1.1;
    margin: 0.4rem 0 0.2rem;
}
.price-card .vat { font-size: 0.8rem; color: rgba(244, 241, 236, 0.55); }
.price-card ul { list-style: none; margin: 1.8rem 0; padding: 0; }
.price-card li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.7rem;
    color: rgba(244, 241, 236, 0.8);
}
.price-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 9px;
    height: 1px;
    background: var(--accent-light);
}
.price-card .btn-primary {
    width: 100%;
    justify-content: center;
    background: var(--accent);
    color: var(--paper);
}
.price-card .btn-primary::before { background: var(--accent-light); }
.price-card .note {
    margin-top: 1rem;
    font-size: 0.75rem;
    line-height: 1.5;
    color: rgba(244, 241, 236, 0.5);
    text-align: center;
}

/* ===== contactkaart ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 3rem 7rem;
    position: relative;
    z-index: 2;
}
.contact-card {
    background: var(--cream);
    padding: 2.5rem 2rem;
    border-radius: 2px;
}
.contact-card h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
.contact-card p { color: var(--slate); margin-bottom: 1rem; }
.contact-card a { color: var(--accent); }

@media (max-width: 900px) {
    .offer, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .price-card { position: static; }
}
@media (max-width: 768px) {
    .page-head { padding: 8.5rem 1.5rem 2.5rem; }
    .article, .offer, .contact-grid { padding-left: 1.5rem; padding-right: 1.5rem; padding-bottom: 4rem; }
}

/* ===== bestelformulier ===== */
.order-form { max-width: 34rem; }
.order-form label {
    display: block;
    margin-bottom: 1.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}
.order-form input,
.order-form select {
    display: block;
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.9rem 1rem;
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    color: var(--ink);
    background: var(--cream);
    border: 1px solid transparent;
    border-radius: 2px;
    transition: border-color 0.25s, background 0.25s;
}
.order-form input:focus,
.order-form select:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
}
.order-form .small { margin: 0 0 1.5rem; }
.order-form button[disabled] { opacity: 0.6; cursor: progress; }
.form-error {
    margin-top: 1rem;
    color: var(--accent);
    font-size: 0.9rem;
}
.order-line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
    padding: 0.55rem 0;
    color: rgba(244, 241, 236, 0.8);
    border-bottom: 1px solid rgba(244, 241, 236, 0.12);
}
.order-line:first-of-type { color: var(--paper); font-weight: 600; }
.order-line.total {
    border-bottom: none;
    margin-top: 0.4rem;
    padding-top: 0.9rem;
    font-size: 1.05rem;
    color: var(--paper);
    border-top: 1px solid rgba(244, 241, 236, 0.25);
}
.order-line b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.nav-links a.current { color: var(--accent); }
