﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --dienst-bg: #f3efe9;
    --dienst-bg-soft: #faf8f5;
    --dienst-bg-deep: #e4ddd4;
    --dienst-bg-dark: #15171a;
    --dienst-ink: #101114;
    --dienst-ink-soft: rgba(16,17,20,.76);
    --dienst-ink-muted: rgba(16,17,20,.52);
    --dienst-ink-faint: rgba(16,17,20,.34);
    --dienst-white: rgba(255,255,255,.96);
    --dienst-line: rgba(16,17,20,.10);
    --dienst-line-soft: rgba(16,17,20,.06);
    --dienst-line-white: rgba(255,255,255,.18);
    --dienst-accent: #bb1722;
    --dienst-accent-soft: rgba(187,23,34,.12);
    --dienst-accent-faint: rgba(187,23,34,.06);
    --dienst-shadow-soft: 0 18px 38px rgba(16,17,20,.06), 0 4px 12px rgba(16,17,20,.035);
    --dienst-shadow-image: 0 34px 70px rgba(16,17,20,.16), 0 14px 28px rgba(16,17,20,.10), 0 4px 12px rgba(16,17,20,.05);
    --dienst-shadow-image-hover: 0 46px 90px rgba(16,17,20,.18), 0 18px 34px rgba(16,17,20,.12), 0 5px 14px rgba(16,17,20,.06);
    --dienst-radius-sm: 14px;
    --dienst-radius: 24px;
    --dienst-radius-lg: 34px;
    --dienst-radius-xl: 46px;
    --dienst-max: 1560px;
    --dienst-content: 1380px;
    --dienst-media: 560px;
    --dienst-gap: 54px;
    --dienst-transition: .34s cubic-bezier(.22,1,.36,1);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--dienst-ink);
    background: radial-gradient(1200px 460px at 50% -10%, rgba(255,255,255,.54) 0%, rgba(255,255,255,0) 72%), linear-gradient(to bottom, #e8e2da 0%, #f2ede7 16%, #faf8f5 40%, #f3efe9 72%, #fcfaf7 100%);
    transition: background-color .7s ease, background .7s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

img {
    max-width: 100%;
    height: auto;
}

.diensten-hero {
    position: relative;
    z-index: 1;
}

.diensten-header {
    position: relative;
    height: 550px;
    margin-top: -130px;
    overflow: hidden;
    background: #101114;
    border-bottom-left-radius: 42px;
    border-bottom-right-radius: 42px;
    isolation: isolate;
    box-shadow: 0 34px 90px rgba(16,17,20,.16);
}

.hero-content {
    position: relative;
    z-index: 3;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 95px 24px 34px;
    box-sizing: border-box;
}

    .diensten-header::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        background: radial-gradient(74% 56% at 50% 22%, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 34%), linear-gradient(to bottom, rgba(255,255,255,.02) 0%, rgba(255,255,255,0) 30%, rgba(0,0,0,.24) 100%);
    }

    .diensten-header::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -132px;
        transform: translateX(-50%);
        width: min(1100px, 88vw);
        height: 260px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 72%);
        filter: blur(38px);
        opacity: .22;
        z-index: 1;
        pointer-events: none;
    }

.diensten-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.025);
    filter: saturate(1) contrast(1.01) brightness(.96)!important;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient( to bottom, rgba(7,10,14,.04) 0%, rgba(7,10,14,.08) 24%, rgba(7,10,14,.14) 58%, rgba(7,10,14,.24) 100% );
}


.hero-shell {
    width: min(1380px, 100%);
    max-width: 1180px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-align: center;
}

.page-title {
    margin: 0 auto;
    max-width: none;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: clamp(46px, 6vw, 104px);
    line-height: .9;
    letter-spacing: -.072em;
    font-weight: 900;
    text-wrap: nowrap;
    text-shadow: 0 14px 34px rgba(0,0,0,.22);
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: rgba(255,255,255,.84);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

 
.hero-intro {
    max-width: 34rem;
    margin: 2px 0 0 0;
    color: rgba(255,255,255,.76);
    font-size: clamp(15px, 1.18vw, 20px);
    line-height: 1.7;
    letter-spacing: -.012em;
    text-wrap: pretty;
}

.diensten-main {
    position: relative;
    z-index: 2;
    width: min(var(--dienst-max), 100%);
    margin: 0 auto;
    padding: 56px 0 130px;
}

.dienst-sectie {
    position: relative;
    width: min(var(--dienst-content), calc(100% - 44px));
    margin: 0 auto 68px auto;
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .72s ease, transform .72s cubic-bezier(.22,1,.36,1);
}

    .dienst-sectie:last-child {
        margin-bottom: 0;
    }

    .dienst-sectie.in-view {
        opacity: 1;
        transform: translateY(0);
    }

.dienst-sectie-divider {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 24px;
    margin: 0 0 26px 0;
}

.dienst-sectie-divider-line {
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, rgba(16,17,20,.16) 0%, rgba(16,17,20,.08) 34%, rgba(16,17,20,.04) 100%);
}

.dienst-sectie-divider-accent {
    position: absolute;
    left: 0;
    top: 50%;
    width: 88px;
    height: 3px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: linear-gradient(to right, rgba(187,23,34,.88), rgba(187,23,34,.22));
    box-shadow: 0 8px 18px rgba(187,23,34,.14);
}

.dienst-sectie-layout {
    position: relative;
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) minmax(360px, var(--dienst-media));
    gap: var(--dienst-gap);
    align-items: start;
}

.dienst-sectie-rail,
.dienst-sectie-content,
.dienst-sectie-media {
    min-width: 0;
}

.dienst-sectie-rail {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 8px;
}

    .dienst-sectie-rail::after {
        content: "";
        width: 1px;
        height: 120px;
        margin-top: 6px;
        background: linear-gradient(to bottom, rgba(16,17,20,.14), rgba(16,17,20,0));
    }

.dienst-sectie-nummer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    min-width: 78px;
    height: 78px;
    border-radius: 22px;
    background: linear-gradient(to bottom, rgba(255,255,255,.94) 0%, rgba(244,239,233,.96) 100%);
    border: 1px solid rgba(16,17,20,.06);
    box-shadow: 0 18px 34px rgba(16,17,20,.08), inset 0 1px 0 rgba(255,255,255,.96);
    color: rgba(16,17,20,.78);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.05em;
}

.dienst-sectie-rail-label {
    color: rgba(16,17,20,.54);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.dienst-sectie-rail-meta {
    color: rgba(16,17,20,.34);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
}

.dienst-sectie-content {
    max-width: 760px;
    padding-top: 6px;
}

.dienst-sectie-content-top {
    margin-bottom: 30px;
}

.dienst-sectie-label {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin-bottom: 18px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--dienst-accent-faint);
    border: 1px solid rgba(187,23,34,.10);
    color: rgba(16,17,20,.50);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.dienst-sectie-titel {
    margin: 0 0 16px 0;
    color: #0f1013;
    font-size: clamp(34px, 3.2vw, 60px);
    line-height: .93;
    letter-spacing: -.068em;
    font-weight: 900;
    text-wrap: balance;
}

.dienst-sectie-lead {
    max-width: 52ch;
    margin: 0;
    color: rgba(16,17,20,.86);
    font-size: clamp(18px, 1.18vw, 22px);
    line-height: 1.62;
    letter-spacing: -.02em;
    font-weight: 500;
    text-wrap: pretty;
}

.dienst-sectie-content-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
}

.dienst-sectie-tekst {
    color: var(--dienst-ink-soft);
    font-size: clamp(15px, 1.02vw, 18px);
    line-height: 1.86;
    letter-spacing: -.014em;
    max-width: 62ch;
}

    .dienst-sectie-tekst p {
        margin: 0 0 16px 0;
    }

        .dienst-sectie-tekst p:last-child {
            margin-bottom: 0;
        }

    .dienst-sectie-tekst ul,
    .dienst-sectie-tekst ol {
        margin: 22px 0 0 0;
        padding: 18px 0 0 22px;
        border-top: 1px solid rgba(16,17,20,.08);
    }

    .dienst-sectie-tekst li {
        margin: 0 0 9px 0;
        color: rgba(16,17,20,.92);
    }

.dienst-sectie-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: min(640px, 100%);
    padding-top: 2px;
}

.dienst-fact {
    position: relative;
    padding: 16px 0 0 0;
    border-top: 1px solid rgba(16,17,20,.10);
}

    .dienst-fact::before {
        content: "";
        position: absolute;
        left: 0;
        top: -1px;
        width: 38px;
        height: 2px;
        border-radius: 999px;
        background: linear-gradient(to right, rgba(187,23,34,.82), rgba(187,23,34,.24));
    }

.dienst-fact-label {
    display: block;
    margin-bottom: 8px;
    color: rgba(16,17,20,.42);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.dienst-fact-value {
    display: block;
    color: rgba(16,17,20,.92);
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: -.018em;
}

.dienst-sectie-media {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    min-width: 0;
}

.dienst-sectie-foto {
    display: block;
    width: 100%;
    max-width: var(--dienst-media);
    height: 620px;
    object-fit: cover;
    object-position: center center;
    border-radius: 34px;
    background: #d9d0c6;
    border: 1px solid rgba(255,255,255,.54);
    box-shadow: var(--dienst-shadow-image), inset 0 1px 0 rgba(255,255,255,.42);
    filter: saturate(.98) contrast(1.02) brightness(.99);
    transition: transform .7s cubic-bezier(.22,1,.36,1), box-shadow .34s ease, filter .34s ease;
}

.dienst-sectie:hover .dienst-sectie-foto {
    transform: scale(1.016);
    box-shadow: var(--dienst-shadow-image-hover), inset 0 1px 0 rgba(255,255,255,.46);
    filter: saturate(1) contrast(1.03) brightness(1);
}

.dienst-sectie-caption {
    align-self: flex-start;
    max-width: 360px;
    color: rgba(16,17,20,.42);
    font-size: 12px;
    line-height: 1.55;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dienst-upload-form {
    position: absolute;
    right: 18px;
    bottom: 50px;
    z-index: 4;
    margin: 0;
    width: 194px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(16,17,20,.08);
    box-shadow: 0 18px 36px rgba(16,17,20,.12), inset 0 1px 0 rgba(255,255,255,.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

    .dienst-upload-form input[type="hidden"] {
        display: none;
    }

    .dienst-upload-form input[type="file"] {
        display: block;
        width: 100%;
        margin: 0 0 8px 0;
        color: #222;
        font-size: 12px;
        line-height: 1.2;
    }

    .dienst-upload-form .btn,
    .dienst-upload-form button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 36px;
        padding: 0 12px;
        border: 0;
        border-radius: 999px;
        background: linear-gradient(180deg, #d61b27 0%, #b4111b 100%);
        color: #fff;
        font-size: 12px;
        font-weight: 700;
        line-height: 1;
        box-shadow: 0 12px 24px rgba(187,23,34,.22);
        cursor: pointer;
        transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
    }

        .dienst-upload-form .btn:hover,
        .dienst-upload-form button:hover {
            transform: translateY(-1px);
            filter: brightness(1.03);
            box-shadow: 0 16px 28px rgba(187,23,34,.28);
        }

.dienst-sectie-alt .dienst-sectie-layout {
    grid-template-columns: 104px minmax(360px, var(--dienst-media)) minmax(0, 1fr);
}

.dienst-sectie-alt .dienst-sectie-media {
    order: 2;
    align-items: flex-start;
}

.dienst-sectie-alt .dienst-sectie-content {
    order: 3;
}

.dienst-sectie-alt .dienst-sectie-foto {
    margin-right: auto;
}

.dienst-sectie-alt .dienst-sectie-caption {
    align-self: flex-end;
    text-align: right;
}

.dienst-sectie-dark {
    margin-top: 18px;
    margin-bottom: 86px;
    padding: 40px 0 34px;
}

    .dienst-sectie-dark::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 36px;
        background: radial-gradient(700px 260px at 100% 0%, rgba(255,255,255,.04) 0%, rgba(255,255,255,0) 60%), linear-gradient(180deg, #1a1c20 0%, #121417 100%);
        box-shadow: 0 34px 90px rgba(16,17,20,.18);
        z-index: -1;
    }

    .dienst-sectie-dark .dienst-sectie-divider {
        width: calc(100% - 56px);
        margin: 0 auto 28px auto;
    }

    .dienst-sectie-dark .dienst-sectie-divider-line {
        background: linear-gradient(to right, rgba(255,255,255,.18) 0%, rgba(255,255,255,.08) 34%, rgba(255,255,255,.02) 100%);
    }

    .dienst-sectie-dark .dienst-sectie-layout {
        width: calc(100% - 56px);
        margin: 0 auto;
    }

    .dienst-sectie-dark .dienst-sectie-rail::after {
        background: linear-gradient(to bottom, rgba(255,255,255,.18), rgba(255,255,255,0));
    }

    .dienst-sectie-dark .dienst-sectie-nummer {
        background: linear-gradient(to bottom, rgba(255,255,255,.12) 0%, rgba(255,255,255,.06) 100%);
        border: 1px solid rgba(255,255,255,.12);
        box-shadow: 0 18px 34px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.10);
        color: rgba(255,255,255,.90);
    }

    .dienst-sectie-dark .dienst-sectie-rail-label,
    .dienst-sectie-dark .dienst-sectie-caption {
        color: rgba(255,255,255,.54);
    }

    .dienst-sectie-dark .dienst-sectie-rail-meta {
        color: rgba(255,255,255,.34);
    }

    .dienst-sectie-dark .dienst-sectie-label {
        background: rgba(255,255,255,.06);
        border-color: rgba(255,255,255,.10);
        color: rgba(255,255,255,.56);
    }

    .dienst-sectie-dark .dienst-sectie-titel {
        color: #fff;
    }

    .dienst-sectie-dark .dienst-sectie-lead {
        color: rgba(255,255,255,.84);
    }

    .dienst-sectie-dark .dienst-sectie-tekst {
        color: rgba(255,255,255,.72);
    }

        .dienst-sectie-dark .dienst-sectie-tekst ul,
        .dienst-sectie-dark .dienst-sectie-tekst ol {
            border-top-color: rgba(255,255,255,.12);
        }

        .dienst-sectie-dark .dienst-sectie-tekst li,
        .dienst-sectie-dark .dienst-fact-value {
            color: rgba(255,255,255,.92);
        }

    .dienst-sectie-dark .dienst-fact {
        border-top-color: rgba(255,255,255,.14);
    }

    .dienst-sectie-dark .dienst-fact-label {
        color: rgba(255,255,255,.44);
    }

@media (min-width: 1921px) {
    .diensten-header {
        min-height: min(90vh, 1100px);
    }

    .hero-content {
        min-height: min(90vh, 1100px);
    }

    .diensten-main {
        width: min(1660px, 100%);
    }

    .dienst-sectie {
        width: min(1540px, calc(100% - 72px));
    }

    .dienst-sectie-layout {
        grid-template-columns: 114px minmax(0, 1fr) 620px;
        gap: 64px;
    }

    .dienst-sectie-alt .dienst-sectie-layout {
        grid-template-columns: 114px 620px minmax(0, 1fr);
    }

    .dienst-sectie-foto {
        max-width: 620px;
        height: 680px;
    }
}

@media (max-width: 1440px) {
    :root {
        --dienst-media: 510px;
        --dienst-gap: 42px;
    }

    .dienst-sectie-layout {
        grid-template-columns: 92px minmax(0, 1fr) minmax(320px, var(--dienst-media));
    }

    .dienst-sectie-alt .dienst-sectie-layout {
        grid-template-columns: 92px minmax(320px, var(--dienst-media)) minmax(0, 1fr);
    }

    .page-title {
        font-size: clamp(42px, 5.8vw, 88px);
    }

    .dienst-sectie-foto {
        height: 560px;
    }
}

@media (max-width: 1199px) {
    :root {
        --dienst-media: 430px;
        --dienst-gap: 32px;
    }

    .diensten-header {
        min-height: 84vh;
        border-bottom-left-radius: 36px;
        border-bottom-right-radius: 36px;
    }

    .hero-content {
        min-height: 84vh;
    }

    .dienst-sectie {
        width: min(1200px, calc(100% - 28px));
        margin-bottom: 54px;
    }

    .dienst-sectie-layout {
        grid-template-columns: 78px minmax(0, 1fr) minmax(280px, var(--dienst-media));
    }

    .dienst-sectie-alt .dienst-sectie-layout {
        grid-template-columns: 78px minmax(280px, var(--dienst-media)) minmax(0, 1fr);
    }

    .dienst-sectie-nummer {
        width: 64px;
        min-width: 64px;
        height: 64px;
        border-radius: 18px;
        font-size: 20px;
    }

    .dienst-sectie-titel {
        font-size: clamp(30px, 3vw, 48px);
    }

    .dienst-sectie-lead {
        font-size: 18px;
    }

    .dienst-sectie-tekst {
        font-size: 15.5px;
        line-height: 1.8;
    }

    .dienst-sectie-foto {
        height: 500px;
        border-radius: 28px;
    }
}

@media (max-width: 991px) {
    .diensten-header {
        height: 320px;
        margin-top: -96px;
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
    }

    .hero-content {
        height: 320px;
        padding: 138px 20px 28px;
    }

        .diensten-header::after {
            bottom: -96px;
            width: 94vw;
            height: 220px;
        }

 

    .hero-shell {
        gap: 16px;
    }

    .hero-kicker {
        min-height: 32px;
        padding: 0 14px;
        font-size: 10px;
    }

    .page-title {
        width: auto;
        max-width: 12ch;
        text-wrap: balance;
        font-size: clamp(38px, 8vw, 68px);
    }

    .hero-intro {
        max-width: 32rem;
        font-size: 16px;
        line-height: 1.66;
    }

    .diensten-main {
        padding-top: 28px;
        padding-bottom: 92px;
    }

    .dienst-sectie {
        width: min(860px, calc(100% - 18px));
        margin-bottom: 44px;
    }

    .dienst-sectie-divider {
        margin-bottom: 20px;
    }

    .dienst-sectie-layout,
    .dienst-sectie-alt .dienst-sectie-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .dienst-sectie-rail {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        padding-top: 0;
    }

        .dienst-sectie-rail::after {
            display: none;
        }

    .dienst-sectie-content,
    .dienst-sectie-alt .dienst-sectie-content,
    .dienst-sectie-media,
    .dienst-sectie-alt .dienst-sectie-media {
        order: initial;
        max-width: 100%;
    }

    .dienst-sectie-facts {
        width: 100%;
    }

    .dienst-sectie-foto {
        max-width: 100%;
        width: 100%;
        height: clamp(360px, 52vw, 560px);
        border-radius: 24px;
    }

    .dienst-sectie-caption,
    .dienst-sectie-alt .dienst-sectie-caption {
        align-self: flex-start;
        text-align: left;
        max-width: 100%;
    }

    .dienst-upload-form {
        position: static;
        width: 100%;
        max-width: 280px;
        margin-top: 12px;
    }

    .dienst-sectie-dark {
        margin-top: 0;
        margin-bottom: 56px;
        padding: 26px 0 24px;
    }

        .dienst-sectie-dark::before {
            border-radius: 28px;
        }

        .dienst-sectie-dark .dienst-sectie-divider,
        .dienst-sectie-dark .dienst-sectie-layout {
            width: calc(100% - 36px);
        }
}

@media (max-width: 820px) and (orientation: landscape) {
    .diensten-header {
        min-height: 122vh;
    }

    .hero-content {
        min-height: 122vh;
        padding-top: 106px;
        padding-bottom: 54px;
    }

    .page-title {
        font-size: clamp(34px, 6vw, 56px);
        max-width: 13ch;
    }

    .hero-intro {
        font-size: 15px;
    }

    .dienst-sectie-foto {
        height: 320px;
    }
}

@media (max-width: 767px) {
    .diensten-header {
        height: 210px;
        min-height: 210px;
        max-height: 210px;
        border-bottom-left-radius: 24px;
        border-bottom-right-radius: 24px;
    }

    .hero-content {
        height: 210px;
        min-height: 210px;
        max-height: 210px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 18px 16px 18px;
        box-sizing: border-box;
    }

    .hero-shell {
        max-width: 420px;
        margin: 0 auto;
        padding-left: 0;
        padding-right: 0;
        transform: translateY(12px);
    }

    .hero-kicker {
        min-height: 28px;
        padding: 0 12px;
        font-size: 10px;
    }

    .hero-intro {
        font-size: 15px;
        line-height: 1.55;
        max-width: 100%;
    }

    .diensten-main {
        padding-top: 18px;
        padding-bottom: 74px;
    }

    .dienst-sectie {
        width: calc(100% - 25px);
        margin-bottom: 34px;
    }

    .dienst-sectie-divider {
        height: 18px;
        margin-bottom: 16px;
    }

    .dienst-sectie-divider-accent {
        width: 58px;
        height: 2px;
    }

    .dienst-sectie-rail {
        gap: 12px;
        flex-wrap: wrap;
    }

    .dienst-sectie-nummer {
        width: 54px;
        min-width: 54px;
        height: 54px;
        border-radius: 16px;
        font-size: 18px;
    }

    .dienst-sectie-rail-label {
        font-size: 10px;
    }

    .dienst-sectie-rail-meta {
        font-size: 11px;
    }

    .dienst-sectie-label {
        margin-bottom: 12px;
        padding: 0 12px;
        font-size: 10px;
    }

    .dienst-sectie-content-top {
        margin-bottom: 20px;
    }

    .dienst-sectie-titel {
        font-size: clamp(24px, 8vw, 34px);
        line-height: .98;
        margin-bottom: 12px;
    }

    .dienst-sectie-lead {
        font-size: 15px;
        line-height: 1.6;
    }

    .dienst-sectie-tekst {
        font-size: 14px;
        line-height: 1.68;
    }

        .dienst-sectie-tekst p {
            margin-bottom: 12px;
        }

    .dienst-sectie-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 16px;
    }

    .dienst-fact {
        padding-top: 12px;
    }

    .dienst-fact-value {
        font-size: 15px;
    }

    .dienst-sectie-foto {
        height: clamp(230px, 64vw, 320px);
        border-radius: 18px;
    }

    .dienst-sectie-caption {
        font-size: 11px;
        letter-spacing: .07em;
    }

    .dienst-sectie-dark {
        padding: 18px 0 18px;
        margin-bottom: 38px;
    }

        .dienst-sectie-dark::before {
            border-radius: 22px;
        }

        .dienst-sectie-dark .dienst-sectie-divider,
        .dienst-sectie-dark .dienst-sectie-layout {
            width: calc(100% - 22px);
        }
}

@media (max-width: 640px) and (orientation: landscape) {
    .diensten-header {
        min-height: 134vh;
    }

    .hero-content {
        min-height: 134vh;
        padding-top: 92px;
        padding-bottom: 42px;
    }

    .page-title {
        font-size: clamp(28px, 5.6vw, 42px);
    }
}

@media (max-width: 480px) {
    .diensten-header {
        height: 190px;
        min-height: 190px;
        max-height: 190px;
    }

    .hero-content {
        height: 190px;
        min-height: 190px;
        max-height: 190px;
        padding: 14px 14px 14px;
    }

    .hero-shell {
        transform: translateY(14px);
    }

    .hero-intro {
        font-size: 14px;
        line-height: 1.5;
    }

    .page-title {
        font-size: clamp(28px, 11vw, 40px);
    }

    .diensten-main {
        padding-bottom: 58px;
    }

    .dienst-sectie {
        width: calc(100% - 6px);
    }

    .dienst-sectie-rail {
        gap: 10px;
    }

    .dienst-sectie-nummer {
        width: 48px;
        min-width: 48px;
        height: 48px;
        border-radius: 14px;
        font-size: 16px;
    }

    .dienst-sectie-label {
        min-height: 28px;
        margin-bottom: 10px;
        padding: 0 10px;
    }

    .dienst-sectie-titel {
        font-size: clamp(22px, 8.6vw, 30px);
    }

    .dienst-sectie-lead {
        font-size: 14px;
    }

    .dienst-sectie-tekst {
        font-size: 13.5px;
        line-height: 1.62;
    }

    .dienst-sectie-foto {
        height: clamp(200px, 62vw, 250px);
        border-radius: 16px;
    }

    .dienst-upload-form {
        max-width: 100%;
    }

    .dienst-sectie-dark .dienst-sectie-divider,
    .dienst-sectie-dark .dienst-sectie-layout {
        width: calc(100% - 16px);
    }
}

@media (max-width: 380px) {
    .hero-content {
        padding-left: 12px;
        padding-right: 12px;
    }

    .page-title {
        font-size: clamp(25px, 10vw, 34px);
    }

    .dienst-sectie {
        width: calc(100% - 4px);
    }

    .dienst-sectie-foto {
        height: 188px;
        border-radius: 14px;
    }
}

@media (min-width: 768px) and (max-width: 1180px) and (orientation: portrait) {
    .diensten-header {
        min-height: 74vh;
    }

    .hero-content {
        min-height: 74vh;
    }

    .page-title {
        max-width: 12ch;
    }

    .dienst-sectie-foto {
        height: clamp(360px, 42vw, 480px);
    }
}

@media (min-width: 768px) and (max-width: 1366px) and (orientation: landscape) {
    .diensten-header {
        min-height: 90vh;
    }

    .hero-content {
        min-height: 90vh;
    }
}

@media (hover: none) {
    .dienst-sectie:hover .dienst-sectie-foto {
        transform: none;
        box-shadow: var(--dienst-shadow-image), inset 0 1px 0 rgba(255,255,255,.42);
        filter: saturate(.98) contrast(1.02) brightness(.99);
    }

    .dienst-upload-form .btn:hover,
    .dienst-upload-form button:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    body,
    .diensten-header,
    .diensten-hero-image,
    .dienst-sectie,
    .dienst-sectie-foto,
    .dienst-upload-form .btn,
    .dienst-upload-form button {
        transition: none !important;
        animation: none !important;
    }

        .dienst-sectie,
        .dienst-sectie.in-view {
            opacity: 1 !important;
            transform: none !important;
        }

            .dienst-sectie:hover .dienst-sectie-foto,
            .dienst-upload-form .btn:hover,
            .dienst-upload-form button:hover {
                transform: none !important;
            }
}
