/* Han's Zorgbureau — rustige, leesbare stijl voor zorgcontext */
:root {
    --ink: #1c2433;
    --ink-muted: #3d4a5c;
    --navy: #243652;
    --navy-deep: #1a2840;
    --blue: #2a4a7a;
    --blue-soft: #3d6aa8;
    --blue-tint: #e8eef6;
    --mist: #eef2f8;
    --paper: #fbfaf8;
    --cream: #f5f2ec;
    --white: #ffffff;
    --line: rgba(255, 255, 255, 0.18);
    --shadow-soft: 0 8px 32px rgba(28, 36, 51, 0.08);
    --radius: 8px;
    --radius-lg: 12px;
    --font-sans: "Lexend", system-ui, sans-serif;
    --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.72;
    letter-spacing: 0.01em;
    color: var(--ink);
    background: var(--paper);
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    padding: 0.75rem 1rem;
    margin: 0;
    background: var(--white);
    color: var(--navy);
    z-index: 1000;
    font: inherit;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    text-align: center;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    outline: 2px solid var(--blue-soft);
    outline-offset: 2px;
}

/* Header */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    padding-top: calc(0.75rem + env(safe-area-inset-top, 0px));
    padding-bottom: 0.75rem;
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
    color: var(--white);
    transition: background 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), color 0.35s;
    pointer-events: none;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.94);
    color: var(--navy);
    box-shadow: 0 12px 40px rgba(7, 18, 38, 0.08);
    backdrop-filter: blur(10px);
}

.site-header.is-scrolled .nav-pill {
    border: none;
    color: var(--navy);
}

.site-header.is-scrolled .nav-pill:hover {
    background: transparent;
    text-decoration: underline;
    text-decoration-color: rgba(36, 54, 82, 0.4);
    text-underline-offset: 0.22em;
}

.site-header.is-scrolled .nav-pill--solid {
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}

.site-header.is-scrolled .nav-pill--solid:hover {
    background: var(--navy-deep);
    text-decoration: none;
}

.site-header.is-scrolled .menu-toggle {
    background: var(--navy-deep);
    color: var(--white);
}

.site-header.is-scrolled .nav-pill:focus-visible,
body.page-contact .site-header .nav-pill:focus-visible,
body.page-policy .site-header .nav-pill:focus-visible {
    outline: 2px solid var(--blue-soft);
    outline-offset: 3px;
}

/* Subpagina's zonder hero — header meteen leesbaar (zelfde als ingescrolld) */
body.page-contact .site-header,
body.page-policy .site-header {
    background: rgba(255, 255, 255, 0.94);
    color: var(--navy);
    box-shadow: 0 12px 40px rgba(7, 18, 38, 0.08);
    backdrop-filter: blur(10px);
}

body.page-contact .site-header .nav-pill,
body.page-policy .site-header .nav-pill {
    border: none;
    color: var(--navy);
}

body.page-contact .site-header .nav-pill:hover,
body.page-policy .site-header .nav-pill:hover {
    background: transparent;
    text-decoration: underline;
    text-decoration-color: rgba(36, 54, 82, 0.4);
    text-underline-offset: 0.22em;
}

body.page-contact .site-header .nav-pill--solid,
body.page-policy .site-header .nav-pill--solid {
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}

body.page-contact .site-header .nav-pill--solid:hover,
body.page-policy .site-header .nav-pill--solid:hover {
    background: var(--navy-deep);
    text-decoration: none;
}

body.page-contact .site-header .menu-toggle,
body.page-policy .site-header .menu-toggle {
    background: var(--navy-deep);
    color: var(--white);
}

.site-header__inner,
.site-header a,
.site-header button {
    pointer-events: auto;
}

.site-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-width: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: 0.01em;
    font-size: clamp(1rem, 3.2vw, 1.2rem);
    min-width: 0;
    flex: 0 1 auto;
    max-width: min(100%, 16rem);
}

.brand__text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand__logo {
    display: block;
    width: 2.125rem;
    height: 2.125rem;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: var(--radius);
}

.site-nav {
    display: none;
    gap: 0.15rem 0.35rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

@media (min-width: 900px) {
    .site-nav {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }
}

@media (min-width: 900px) and (max-width: 1180px) {
    .nav-pill {
        font-size: 0.78rem;
        padding: 0.48rem 0.72rem;
    }
}

.nav-pill {
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.45rem 0.55rem;
    border: none;
    border-radius: 0;
    color: var(--white);
    background: transparent;
    transition:
        color 0.2s,
        text-decoration-color 0.2s;
}

.nav-pill:hover {
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.45);
    text-underline-offset: 0.22em;
    background: transparent;
}

.nav-pill:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.55);
    outline-offset: 3px;
}

.nav-pill--solid {
    font-weight: 600;
    letter-spacing: 0.02em;
    border: none;
    background: transparent;
    color: var(--white);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.42);
    text-underline-offset: 0.22em;
}

.nav-pill--solid:hover {
    text-decoration-color: rgba(255, 255, 255, 0.95);
    background: transparent;
}

.menu-toggle {
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: none;
    font-size: 0.85rem;
    padding: 0 1.15rem;
    min-height: 2.75rem;
    min-width: 2.75rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    background: var(--navy-deep);
    color: var(--white);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s var(--ease-out), background 0.2s;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle:hover {
    background: var(--blue);
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    max-height: -webkit-fill-available;
    width: min(320px, min(88vw, 100% - 2.5rem));
    background: var(--navy-deep);
    color: var(--white);
    padding: calc(4.5rem + env(safe-area-inset-top, 0px)) max(1.25rem, env(safe-area-inset-right, 0px)) calc(1.5rem + env(safe-area-inset-bottom, 0px)) max(1.25rem, env(safe-area-inset-left, 0px));
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.35);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease-out);
    z-index: 60;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.drawer.is-open {
    transform: translateX(0);
}

.drawer a {
    text-decoration: none;
    font-weight: 600;
    padding: 0.85rem 0;
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    -webkit-tap-highlight-color: transparent;
}

.drawer[hidden] {
    display: none;
}

.drawer:not([hidden]) {
    display: flex;
}

body.drawer-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(7, 18, 38, 0.55);
    /* Onder de header (z-index 50), anders vangt dit alle klikken af en werkt het drawer-menu niet */
    z-index: 40;
    touch-action: none;
}

body.drawer-open {
    overflow: hidden;
}

body.drawer-open .site-header {
    z-index: 100;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        place-items: end start;
        text-align: left;
    }
}

.hero__media {
    position: absolute;
    inset: 0;
    background-color: var(--navy-deep);
    background-image: url("https://images.unsplash.com/photo-1576765608535-5f04d48f98ae?auto=format&fit=crop&w=1800&q=82");
    background-size: cover;
    background-position: center 40%;
    transform: scale(1);
}

/* Lokale `hero zorg.*` banner in site-root (jpg, webp, png, …; anders Unsplash + navy hierboven) */
.hero__media.hero__media--local {
    background-image: none;
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}

@media (prefers-reduced-motion: no-preference) {
    .hero__media {
        animation: hero-drift 28s ease-in-out infinite alternate;
    }
}

/* Op smalle schermen: geen continue scale — voorkomt wazige tekst (subpixel/GPU-compositing) */
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
    .hero__media {
        animation: none;
        transform: none;
    }
}

@keyframes hero-drift {
    from {
        transform: scale(1) translate(0, 0);
    }
    to {
        transform: scale(1.03) translate(-0.5%, 0.5%);
    }
}

.hero__veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    /* Basisdonkering + verloop voor leesbare witte tekst */
    background-color: rgba(18, 28, 48, 0.48);
    background-image: linear-gradient(
        165deg,
        rgba(26, 40, 64, 0.55) 0%,
        rgba(26, 40, 64, 0.38) 45%,
        rgba(20, 32, 52, 0.52) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 2;
    isolation: isolate;
    max-width: 38rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-top: calc(env(safe-area-inset-top, 0px) + clamp(5.25rem, 18vw, 8rem));
    padding-bottom: max(4rem, env(safe-area-inset-bottom, 0px) + 2.5rem);
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
}

/* Mobiel: kortere overlay; minder ruimte onder knoppen */
@media (max-width: 767px) {
    .hero__veil {
        background-color: rgba(18, 28, 48, 0.52);
        background-image: linear-gradient(
            180deg,
            rgba(26, 40, 64, 0.62) 0%,
            rgba(26, 40, 64, 0.48) 40%,
            rgba(20, 32, 52, 0.55) 100%
        );
    }

    .hero__content {
        padding-top: calc(env(safe-area-inset-top, 0px) + clamp(4.5rem, 14vw, 6.5rem));
        padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px) + 0.75rem);
    }

    .hero__lead {
        margin-bottom: 1.35rem;
    }
}

@media (min-width: 768px) {
    .hero__content {
        margin-left: clamp(1rem, 6vw, 4rem);
        margin-right: auto;
        max-width: min(34rem, 90vw);
    }
}

.hero__kicker {
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: none;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 0.65rem;
}

.hero__title {
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.22;
    font-size: clamp(1.85rem, 5.2vw, 2.65rem);
    margin: 0 0 0.85rem;
    overflow-wrap: break-word;
}

.hero__lead {
    margin: 0 auto 1.85rem;
    font-family: var(--font-sans);
    font-size: clamp(1.02rem, 2.8vw, 1.14rem);
    font-weight: 400;
    line-height: 1.68;
    max-width: 36rem;
    color: rgba(255, 255, 255, 0.92);
    overflow-wrap: break-word;
}

@media (min-width: 768px) {
    .hero__lead {
        margin-left: 0;
        margin-right: 0;
    }
}

.hero__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .hero__actions {
        align-items: flex-start;
    }
}

.hero__actions .btn {
    width: 100%;
    max-width: 22rem;
}

@media (min-width: 520px) {
    .hero__actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero__actions .btn {
        width: auto;
        max-width: none;
    }
}

@media (min-width: 768px) {
    .hero__actions {
        justify-content: flex-start;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.98rem;
    letter-spacing: 0.04em;
    padding: 0.95rem 1.85rem;
    min-height: 2.85rem;
    border-radius: 9999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition:
        background 0.28s var(--ease-out),
        color 0.28s,
        border-color 0.28s,
        box-shadow 0.28s var(--ease-out),
        transform 0.28s var(--ease-out);
    -webkit-tap-highlight-color: transparent;
}

.clients-text .btn {
    width: 100%;
    max-width: 16rem;
    margin-top: 1.15rem;
}

@media (min-width: 520px) {
    .clients-text .btn {
        width: auto;
        max-width: none;
    }
}

.btn--light {
    color: var(--navy-deep);
    background: linear-gradient(165deg, #ffffff 0%, #f4f1eb 100%);
    border-color: rgba(255, 255, 255, 0.65);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 4px 20px rgba(26, 40, 64, 0.12),
        0 12px 40px rgba(26, 40, 64, 0.08);
}

.btn--light:hover {
    background: linear-gradient(165deg, #fffefb 0%, #ebe6dc 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 6px 28px rgba(26, 40, 64, 0.14);
    transform: translateY(-1px);
}

.btn--light:focus-visible {
    outline: 2px solid var(--cream);
    outline-offset: 3px;
}

.btn--ghost {
    color: rgba(255, 255, 255, 0.96);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.38);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.18) inset,
        0 8px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.btn--ghost:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.65);
    outline-offset: 3px;
}

.btn--primary {
    background: linear-gradient(165deg, var(--blue-soft) 0%, var(--blue) 100%);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2) inset,
        0 6px 24px rgba(42, 74, 122, 0.28);
}

.btn--primary:hover {
    background: linear-gradient(165deg, var(--blue) 0%, var(--navy-deep) 100%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.15) inset,
        0 8px 28px rgba(26, 40, 64, 0.25);
    transform: translateY(-1px);
}

.btn--primary:focus-visible {
    outline: 2px solid var(--blue-soft);
    outline-offset: 3px;
}

/* Hero CTAs — bureau/editorial (geen generieke pill-stijl) */
.hero__actions .btn {
    position: relative;
    border-radius: 3px 1.25rem 1.25rem 3px;
    letter-spacing: 0.02em;
    font-weight: 600;
    font-size: 0.93rem;
    padding: 1.05rem 1.65rem 1.05rem 1.5rem;
    min-height: 3rem;
}

.hero__actions .btn--light {
    color: var(--navy-deep);
    background: linear-gradient(125deg, #fffefb 0%, #f3efe8 52%, #e9e4db 100%);
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-left: 4px solid var(--blue-soft);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        0 2px 0 rgba(61, 106, 168, 0.38),
        0 14px 40px rgba(8, 16, 32, 0.28);
}

.hero__actions .btn--light:hover {
    background: linear-gradient(125deg, #ffffff 0%, #faf6ef 55%, #efe9df 100%);
    border-color: rgba(255, 255, 255, 0.55);
    border-left-color: var(--blue);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        0 2px 0 rgba(42, 74, 122, 0.42),
        0 18px 48px rgba(8, 16, 32, 0.32);
    transform: translateY(-2px);
}

.hero__actions .btn--light:focus-visible {
    outline: 2px solid rgba(255, 248, 230, 0.95);
    outline-offset: 4px;
}

.hero__actions .btn--ghost {
    color: rgba(255, 255, 255, 0.96);
    background: transparent;
    border: none;
    border-radius: 0 2px 0 0;
    padding: 0.95rem 0.35rem 0.65rem;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.52);
    gap: 0.45rem;
}

.hero__actions .btn--ghost::after {
    content: "\2192";
    font-weight: 500;
    font-size: 1.1em;
    line-height: 1;
    opacity: 0.88;
    transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

.hero__actions .btn--ghost:hover {
    background: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.88);
    border-color: transparent;
    box-shadow: none;
    transform: translateY(-1px);
}

.hero__actions .btn--ghost:hover::after {
    transform: translateX(0.22em);
    opacity: 1;
}

.hero__actions .btn--ghost:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.75);
    outline-offset: 6px;
    border-bottom-color: rgba(255, 255, 255, 0.95);
}


/* Sections */
.section {
    padding-top: clamp(3.25rem, 9vw, 6.5rem);
    padding-bottom: clamp(3.25rem, 9vw, 6.5rem);
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
}

.lede-label {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue);
    margin: 0 0 0.6rem;
}

.section h2 {
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: 0.01em;
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    line-height: 1.28;
    margin: 0 0 1rem;
    color: var(--navy-deep);
    overflow-wrap: break-word;
}

.section h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: clamp(1.12rem, 2.8vw, 1.28rem);
    line-height: 1.3;
    margin: 0 0 0.5rem;
    color: var(--navy-deep);
}

.section--about {
    background: var(--paper);
}

.section__grid {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 880px) {
    .section__grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 3rem;
        align-items: center;
    }
}

.section__copy p {
    margin: 0 0 1.1rem;
    color: var(--ink-muted);
    max-width: 52ch;
}

.section__figure {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(36, 54, 82, 0.08);
}

.section__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: min(52vw, 260px);
}

@media (min-width: 640px) {
    .section__figure img {
        min-height: 300px;
    }
}

/* Kennismaking — carrousel (ingetoogen, redactioneel) */
.section--process {
    background: var(--white);
    border-top: 1px solid rgba(36, 54, 82, 0.08);
}

.process-wrap {
    max-width: 760px;
    margin: 0 auto;
}

.process-head {
    margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
}

.process-head h2 {
    max-width: 30ch;
}

.process-carousel {
    position: relative;
    outline: none;
}

.process-carousel:focus-visible {
    outline: 2px solid var(--blue-soft);
    outline-offset: 4px;
}

.process-carousel__viewport {
    overflow: hidden;
    width: 100%;
}

.process-carousel__track {
    display: flex;
    will-change: transform;
    transition: transform 0.48s var(--ease-out);
}

.process-slide {
    box-sizing: border-box;
    min-width: 0;
    padding-right: clamp(0.75rem, 3vw, 1.5rem);
    border-left: 3px solid var(--navy-deep);
    padding-left: clamp(1rem, 3vw, 1.65rem);
}

.process-slide__h {
    margin: 0 0 0.65rem;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: clamp(1.2rem, 3vw, 1.45rem);
    line-height: 1.28;
    color: var(--navy-deep);
}

.process-slide__p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.72;
    color: var(--ink-muted);
    max-width: 52ch;
}

.process-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-top: clamp(1.5rem, 4vw, 2rem);
    padding-top: 1.25rem;
    border-top: 1px solid rgba(36, 54, 82, 0.12);
}

.process-steppers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.15rem 0.35rem;
    flex: 1 1 auto;
    min-width: 0;
}

.process-dot {
    font-family: var(--font-sans);
    font-size: 0;
    font-weight: 600;
    letter-spacing: 0;
    color: transparent;
    background: transparent;
    border: none;
    border-bottom: none;
    padding: 0.35rem 0.28rem;
    margin: 0;
    cursor: pointer;
    min-width: 0;
    transition:
        opacity 0.2s,
        transform 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.process-dot:hover .process-dot__bar {
    background: rgba(36, 54, 82, 0.45);
}

.process-dot[aria-current="true"] .process-dot__bar {
    background: var(--navy-deep);
    transform: scaleY(1.35);
}

.process-dot__bar {
    display: block;
    width: 1.65rem;
    height: 2px;
    background: rgba(36, 54, 82, 0.22);
    transition:
        background 0.2s,
        transform 0.2s;
}

@media (prefers-reduced-motion: reduce) {
    .process-dot[aria-current="true"] .process-dot__bar {
        transform: none;
    }
}

.process-nav {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid rgba(36, 54, 82, 0.22);
    background: var(--white);
    color: var(--navy-deep);
    cursor: pointer;
    transition:
        border-color 0.2s,
        background 0.2s,
        color 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.process-nav:hover {
    border-color: rgba(36, 54, 82, 0.45);
    background: rgba(36, 54, 82, 0.04);
}

.process-nav:focus-visible {
    outline: 2px solid var(--blue-soft);
    outline-offset: 2px;
}

.process-live {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 520px) {
    .process-toolbar {
        flex-wrap: wrap;
    }

    .process-steppers {
        order: -1;
        flex: 1 0 100%;
        justify-content: center;
        padding-bottom: 0.35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .process-carousel__track {
        transition: none;
    }
}

/* Waar wij op letten — korte lijnen, geen kaarten */
.section--values {
    background: var(--cream);
    border-top: 1px solid rgba(36, 54, 82, 0.06);
    border-bottom: 1px solid rgba(36, 54, 82, 0.06);
}

.values-wrap {
    max-width: 920px;
    margin: 0 auto;
}

.values-head {
    margin-bottom: 2.25rem;
}

.values-head h2 {
    max-width: 42ch;
}

.values-intro {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--ink-muted);
    max-width: 48ch;
}

.values-stream {
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(36, 54, 82, 0.12);
}

.values-line {
    padding: 1.35rem 0;
    border-bottom: 1px solid rgba(36, 54, 82, 0.1);
}

.values-line:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.values-line__h {
    font-family: var(--font-serif);
    font-size: 1.12rem;
    font-weight: 600;
    margin: 0 0 0.4rem;
    color: var(--navy-deep);
}

.values-line__p {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--ink-muted);
    max-width: 58ch;
}

/* Opdrachtgevers — licht, rustig kader */
.section--clients {
    background: var(--white);
}

.clients-wrap {
    max-width: 1040px;
    margin: 0 auto;
    display: grid;
    gap: 2.25rem;
    align-items: start;
}

@media (min-width: 880px) {
    .clients-wrap {
        grid-template-columns: 1fr min(38%, 380px);
        gap: 3rem;
        align-items: stretch;
    }
}

.clients-text {
    padding: 0.25rem 0;
    border-left: 3px solid var(--blue-soft);
    padding-left: clamp(1rem, 3vw, 1.5rem);
}

.clients-text p {
    margin: 0 0 1rem;
    color: var(--ink-muted);
    max-width: 62ch;
    line-height: 1.72;
}

.clients-kicker {
    margin: 0 0 1.25rem;
    font-family: var(--font-serif);
    font-size: 1.08rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.55;
    color: var(--navy);
    max-width: 52ch;
}

.clients-photo {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(36, 54, 82, 0.08);
}

.clients-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 220px;
    max-height: 420px;
}

@media (min-width: 880px) {
    .clients-photo img {
        min-height: 100%;
        max-height: none;
    }
}

/* Wat wij doen — spoorlijn, geen genummerde kaarten */
.section--doen {
    background: var(--paper);
    border-bottom: 1px solid rgba(36, 54, 82, 0.06);
}

.doen-wrap {
    max-width: 800px;
    margin: 0 auto;
}

.doen-head {
    margin-bottom: 2rem;
}

.doen-head h2 {
    max-width: 22ch;
}

.doen-intro {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink-muted);
    max-width: 48ch;
}

.doen-rail {
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(36, 54, 82, 0.12);
}

.doen-rail__row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem 1.15rem;
    align-items: start;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(36, 54, 82, 0.1);
}

.doen-rail__row:last-child {
    border-bottom: none;
    padding-bottom: 0.25rem;
}

.doen-rail__mark {
    width: 3px;
    align-self: stretch;
    min-height: 2.75rem;
    margin-top: 0.2rem;
    background: linear-gradient(180deg, var(--blue-soft) 0%, var(--blue) 100%);
    border-radius: 2px;
}

.doen-rail__title {
    margin: 0 0 0.35rem;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--navy-deep);
}

.doen-rail__text {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.62;
    color: var(--ink-muted);
    max-width: 52ch;
}

/* Waarom Han's Zorgbureau */
.section--why {
    background: linear-gradient(180deg, var(--blue-tint) 0%, var(--mist) 100%);
    border-bottom: 1px solid rgba(36, 54, 82, 0.08);
}

.why-wrap {
    max-width: 1040px;
    margin: 0 auto;
    display: grid;
    gap: 2.5rem;
    align-items: start;
}

.why-main {
    min-width: 0;
}

.why-head {
    margin-bottom: 1.5rem;
}

@media (min-width: 960px) {
    .why-wrap {
        grid-template-columns: 1fr min(300px, 30%);
        gap: 2.5rem;
        align-items: start;
    }
}

.why-head h2 {
    max-width: 24ch;
}

.why-intro {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--ink-muted);
    max-width: 48ch;
}

.why-intro a {
    color: var(--blue);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.why-intro a:hover {
    color: var(--navy-deep);
}

.why-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(36, 54, 82, 0.1);
}

.why-point {
    padding: 1.15rem 0;
    border-bottom: 1px solid rgba(36, 54, 82, 0.08);
}

.why-point:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.why-point h3 {
    font-family: var(--font-serif);
    font-size: 1.08rem;
    font-weight: 600;
    margin: 0 0 0.35rem;
    color: var(--navy-deep);
}

.why-point p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.62;
    color: var(--ink-muted);
    max-width: 52ch;
}

.why-point strong {
    font-weight: 600;
    color: var(--navy-deep);
}

.rate-callout {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(42, 74, 122, 0.15);
    padding: 1.5rem 1.35rem;
    box-shadow: var(--shadow-soft);
}

.rate-callout h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 1rem;
    color: var(--navy-deep);
}

.rate-callout__hint {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rate-pairs {
    margin: 0 0 1rem;
}

.rate-pairs > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.35rem 1rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(36, 54, 82, 0.1);
}

.rate-pairs > div:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.rate-pairs dt {
    margin: 0;
    font-size: 0.95rem;
    color: var(--ink-muted);
    max-width: 16rem;
}

.rate-pairs dd {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.35rem;
    color: var(--navy-deep);
}

.rate-unit {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink-muted);
}

.rate-footnote {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--ink-muted);
}

.link-elegant {
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1.5px solid rgba(42, 74, 122, 0.32);
    padding-bottom: 0.06em;
    transition:
        border-color 0.2s,
        color 0.2s;
}

.link-elegant:hover {
    color: var(--blue);
    border-bottom-color: var(--blue-soft);
}

.clients-next {
    margin: 1.2rem 0 0;
    font-size: 1.02rem;
}

/* Contact */
.section--contact {
    background: var(--paper);
}

.contact-wrap {
    max-width: 720px;
    margin: 0 auto;
}

.contact__intro p:last-of-type {
    margin: 0 0 1.5rem;
    color: #334155;
}

.form-notice {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.35rem;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 500;
}

.form-notice__text {
    margin: 0;
    flex: 1;
    color: inherit;
}

.form-notice__close {
    flex-shrink: 0;
    margin: -0.15rem -0.25rem 0 0;
    padding: 0.1rem 0.45rem;
    border: none;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.55;
    border-radius: 4px;
}

.form-notice__close:hover {
    opacity: 1;
}

.form-notice__close:focus-visible {
    outline: 2px solid var(--blue-soft);
    outline-offset: 2px;
    opacity: 1;
}

.form-notice--err {
    color: var(--navy);
    background: var(--cream);
    box-shadow: inset 3px 0 0 var(--blue-soft);
}

.form-notice--ok {
    color: var(--navy-deep);
    background: var(--blue-tint);
    box-shadow: inset 3px 0 0 var(--blue);
}

.contact-form {
    background: var(--white);
    padding: clamp(1.5rem, 4vw, 2.25rem);
    border-radius: var(--radius);
    border: 1px solid rgba(12, 31, 61, 0.08);
    box-shadow: 0 20px 60px rgba(12, 31, 61, 0.08);
}

.form-row {
    margin-bottom: 1.1rem;
}

.form-row label .req {
    color: var(--blue-soft);
    font-weight: 600;
}

.form-row label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
    color: var(--navy);
}

.form-row input,
.form-row textarea {
    width: 100%;
    max-width: 100%;
    font: inherit;
    font-size: 1rem;
    padding: 0.8rem 0.9rem;
    border-radius: 10px;
    border: 1px solid #c9d4e8;
    background: #fbfcfe;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--blue-soft);
    box-shadow: 0 0 0 3px rgba(61, 106, 168, 0.22);
}

.form-row--invalid input,
.form-row--invalid textarea {
    border-color: #e4b8b8;
    background: #fff6f6;
    box-shadow: 0 0 0 1px rgba(210, 140, 140, 0.35);
}

.form-row--invalid input:focus,
.form-row--invalid textarea:focus {
    border-color: #d49a9a;
    background: #fff6f6;
    box-shadow: 0 0 0 3px rgba(210, 140, 140, 0.28);
}

.contact-form .btn {
    margin-top: 0.25rem;
    width: 100%;
}

@media (min-width: 520px) {
    .contact-form .btn {
        width: auto;
    }
}

.contact-form--page {
    box-shadow: 0 12px 40px rgba(12, 31, 61, 0.06);
}

.btn.btn--send {
    border-radius: var(--radius);
    letter-spacing: 0.05em;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.82rem 1.5rem;
    min-height: 2.55rem;
    justify-content: center;
    color: var(--white);
    background: var(--navy-deep);
    border: 1px solid rgba(12, 31, 61, 0.4);
    box-shadow: none;
    transform: none;
}

.btn.btn--send:hover {
    background: var(--navy);
    border-color: rgba(12, 31, 61, 0.5);
    box-shadow: 0 2px 14px rgba(26, 40, 64, 0.14);
    transform: none;
}

.btn.btn--send:focus-visible {
    outline: 2px solid var(--blue-soft);
    outline-offset: 2px;
}

.page-contact__main,
.page-policy__main {
    padding-top: calc(5.5rem + env(safe-area-inset-top, 0px));
    padding-bottom: clamp(2.5rem, 6vw, 4rem);
    padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
}

.page-contact__wrap,
.page-policy__wrap {
    max-width: 640px;
    margin: 0 auto;
}

.page-contact__head,
.page-policy__head {
    margin-bottom: 1.75rem;
}

.page-contact__head h1,
.page-policy__head h1 {
    margin: 0.35rem 0 0.75rem;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: clamp(1.65rem, 4.5vw, 2.15rem);
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: var(--navy-deep);
}

.page-contact__lead,
.page-policy__lead {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--ink-muted);
    max-width: 52ch;
}

.policy-blocks {
    margin-top: 0.5rem;
}

.policy-block {
    margin: 0 0 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(36, 54, 82, 0.1);
}

.policy-block:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.policy-block h2 {
    margin: 0 0 0.65rem;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--navy-deep);
}

.policy-block p {
    margin: 0 0 0.85rem;
    font-size: 1.02rem;
    line-height: 1.68;
    color: var(--ink-muted);
}

.policy-block p:last-child {
    margin-bottom: 0;
}

.page-contact__back,
.page-policy__back {
    margin: 2rem 0 0;
    font-size: 0.98rem;
}

/* Footer */
.site-footer {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.9);
    padding: clamp(2.25rem, 6vw, 3.25rem) max(1.5rem, env(safe-area-inset-left, 0px)) calc(2.75rem + env(safe-area-inset-bottom, 0px)) max(1.5rem, env(safe-area-inset-right, 0px));
}

.site-footer__inner {
    max-width: 1120px;
    margin: 0 auto;
}

.site-footer__grid {
    display: grid;
    gap: 2rem 2.5rem;
    align-items: start;
}

@media (min-width: 720px) {
    .site-footer__grid:has(.site-footer__mark) {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto;
        align-items: center;
    }

    .site-footer__grid:not(:has(.site-footer__mark)) {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: start;
    }
}

.site-footer__title {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
}

.site-footer__logo-link {
    display: inline-block;
    margin: 0 0 0.35rem;
    text-decoration: none;
}

.site-footer__logo {
    display: block;
    height: 2.5rem;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    border-radius: var(--radius);
}

.site-footer__tag {
    margin: 0 0 0.85rem;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.72);
}

.site-footer__copy {
    margin: 0;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
}

.site-footer__credit {
    margin: 0.45rem 0 0;
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    opacity: 0.65;
}

.site-footer__credit a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.35);
    text-underline-offset: 2px;
    transition:
        color 0.2s,
        text-decoration-color 0.2s;
}

.site-footer__credit a:hover {
    color: var(--white);
    text-decoration-color: rgba(255, 255, 255, 0.55);
}

.site-footer__bottom {
    margin-top: clamp(1.75rem, 4vw, 2.35rem);
    padding-top: 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.site-footer__heading {
    margin: 0 0 0.65rem;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.site-footer__links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    padding-bottom: 0.12em;
    transition:
        border-color 0.2s,
        color 0.2s;
    align-self: flex-start;
}

.site-footer__links a:hover {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.35);
}

.site-footer__mark {
    justify-self: start;
}

@media (min-width: 720px) {
    .site-footer__mark {
        justify-self: end;
    }
}

.site-footer__abu {
    display: inline-block;
    line-height: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    padding: 0.55rem 0.6rem;
    transition:
        border-color 0.2s,
        background 0.2s;
}

.site-footer__abu:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
}

.site-footer__abu:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.65);
    outline-offset: 3px;
}

.site-footer__abu img {
    display: block;
    width: auto;
    max-width: 104px;
    height: auto;
    max-height: 100px;
}

.site-footer .muted {
    margin: 0;
    opacity: 0.72;
    font-size: 0.86rem;
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 0.75s var(--ease-out),
        transform 0.85s var(--ease-out);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.hero-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.85s var(--ease-out),
        transform 1s var(--ease-out);
}

.hero-reveal.is-visible {
    opacity: 1;
    transform: none;
}

.hero__kicker.hero-reveal {
    transition-delay: 0.05s;
}
.hero__title.hero-reveal {
    transition-delay: 0.12s;
}
.hero__lead.hero-reveal {
    transition-delay: 0.26s;
}
.hero__actions.hero-reveal {
    transition-delay: 0.36s;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero__media {
        animation: none;
    }

    .reveal,
    .hero-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .btn--light:hover,
    .btn--ghost:hover,
    .btn--primary:hover,
    .hero__actions .btn--light:hover,
    .hero__actions .btn--ghost:hover {
        transform: none;
    }

    .hero__actions .btn--ghost:hover::after {
        transform: none;
    }
}

/* 404 */
.page-404 {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    background: var(--navy-deep);
    color: var(--white);
    font-family: var(--font-sans);
    padding: max(1.5rem, env(safe-area-inset-top, 0px)) max(1.25rem, env(safe-area-inset-right, 0px)) max(1.5rem, env(safe-area-inset-bottom, 0px)) max(1.25rem, env(safe-area-inset-left, 0px));
}

.wrap-404 {
    text-align: center;
    padding: 1rem;
    max-width: 32rem;
    overflow-wrap: anywhere;
}

.page-404__code {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 0.75rem;
}

.wrap-404 p {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
}

.wrap-404 h1 {
    font-family: var(--font-serif);
    font-size: clamp(1.35rem, 4vw, 1.75rem);
    font-weight: 600;
    line-height: 1.35;
}

.wrap-404 a {
    color: #b8d4f0;
}
