:root {
    --blue: #17647b;
    --dark-blue: #0d4d60;
    --text: #171717;
    --light-text: #5f6669;
    --white: #ffffff;
    --background: #ffffff;
    --off-white: #f8f8f6;

    --page-width: 1420px;
    --section-padding: clamp(70px, 8vw, 125px);
    --side-padding: clamp(24px, 5vw, 78px);
    --section-gap: clamp(45px, 6vw, 95px);
}


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


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--text);
    background: var(--background);

    overflow-x: hidden;
}


body.menu-open {
    overflow: hidden;
}


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


a {
    color: inherit;
    text-decoration: none;
}


button {
    font: inherit;
}

.menu-button {
    position: fixed;

    top: 26px;
    right: 28px;

    z-index: 1001;

    width: 58px;
    height: 58px;

    border: 0;
    border-radius: 50%;

    background: white;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;

    cursor: pointer;

    box-shadow:
        0 6px 30px rgba(0, 0, 0, 0.12);

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}


.menu-button:hover {
    transform: scale(1.06);
}


.menu-button span {
    display: block;

    width: 23px;
    height: 2px;

    background: var(--text);

    transition:
        transform 0.3s ease,
        opacity 0.2s ease;
}


body.menu-open .menu-button span:nth-child(1) {
    transform:
        translateY(7px)
        rotate(45deg);
}


body.menu-open .menu-button span:nth-child(2) {
    opacity: 0;
}


body.menu-open .menu-button span:nth-child(3) {
    transform:
        translateY(-7px)
        rotate(-45deg);
}

.side-menu {
    position: fixed;

    inset:
        0
        auto
        0
        0;

    width: min(430px, 88vw);

    z-index: 1000;

    background: white;

    transform: translateX(-105%);

    transition:
        transform 0.5s
        cubic-bezier(0.77, 0, 0.18, 1);

    box-shadow:
        20px 0 70px rgba(0, 0, 0, 0.15);
}


body.menu-open .side-menu {
    transform: translateX(0);
}


.side-menu-inner {
    min-height: 100%;

    padding:
        90px
        clamp(30px, 6vw, 65px);

    display: flex;
    flex-direction: column;
    justify-content: center;
}


.side-menu ul {
    list-style: none;

    padding: 0;
    margin: 0;

    display: flex;
    flex-direction: column;

    gap: 8px;
}


.side-menu li {
    border-bottom:
        1px solid
        rgba(0, 0, 0, 0.08);
}


.side-menu li a {
    position: relative;

    display: block;

    padding:
        20px
        30px
        20px
        0;

    font-size:
        clamp(20px, 2vw, 27px);

    font-weight: 700;

    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}


.side-menu li a::after {
    content: "→";

    position: absolute;

    right: 0;
    top: 50%;

    transform: translateY(-50%);

    color: var(--blue);
}


.side-menu li a:hover {
    color: var(--blue);
    padding-left: 8px;
}

.menu-overlay {
    position: fixed;

    inset: 0;

    background:
        rgba(0, 0, 0, 0.42);

    z-index: 999;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}


body.menu-open .menu-overlay {
    opacity: 1;
    visibility: visible;
}

.hero {
    position: relative;

    width: 100%;
    min-height: min(900px, 100vh);

    background-image: url("images/background.jpg");
    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;

    overflow: hidden;
}
.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(255, 255, 255, 0.25);

    z-index: 0;
}


.hero-logo-band {
    width: 100vw;
    max-width: none;

    margin-left: calc(50% - 50vw);

    padding: 0;

    background: transparent;

    display: block;
    position: relative;
    z-index: 1;
}


.hero-logo {
    display: block;

    width: 100vw;
    max-width: none;

    height: auto;
    max-height: none;

    margin: 0;
    padding: 0;

    object-fit: contain;
}


.scroll-indicator {
    position: absolute;

    bottom: 30px;
    left: 50%;

    transform: translateX(-50%);

    width: 44px;
    height: 44px;

    border-radius: 50%;

    background: white;

    display: grid;
    place-items: center;

    box-shadow:
        0 6px 20px
        rgba(0, 0, 0, 0.1);
}


.scroll-indicator span {
    width: 10px;
    height: 10px;

    border-right:
        2px solid
        var(--blue);

    border-bottom:
        2px solid
        var(--blue);

    transform:
        translateY(-2px)
        rotate(45deg);

    animation:
        scrollArrow 1.6s
        ease-in-out
        infinite;
}


@keyframes scrollArrow {

    0%,
    100% {
        transform:
            translateY(-4px)
            rotate(45deg);
    }

    50% {
        transform:
            translateY(3px)
            rotate(45deg);
    }
}

.content-section {
    max-width: var(--page-width);

    margin: 0 auto;

    padding:
        var(--section-padding)
        var(--side-padding);
}

.section-layout {
    display: grid;

    grid-template-columns:
        minmax(240px, 0.65fr)
        minmax(0, 1.85fr);

    gap: clamp(50px, 7vw, 110px);

    align-items: center;
}

.content-section-reverse .section-layout {
    grid-template-columns:
        minmax(0, 1.7fr)
        minmax(270px, 0.8fr);
}

.content-section-reverse .section-layout {
    grid-template-columns:
        minmax(0, 1.85fr)
        minmax(240px, 0.65fr);
}


.content-section-reverse .section-heading {
    grid-column: 2;
    grid-row: 1;
}


.content-section-reverse .section-content {
    grid-column: 1;
    grid-row: 1;
}

.section-heading {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 30px;

    text-align: center;
}

.content-section-reverse .section-heading {
    align-items: center;
    text-align: center;
}

.small-logo {
    flex-shrink: 0;

    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    border:
        3px solid
        var(--blue);

    border-radius: 50%;

    color: var(--blue);

    font-size: 10px;
    font-weight: 800;

    margin-top: 3px;
}


.section-heading h2 {
    margin: 0;

    max-width: 260px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(54px, 6vw, 92px);

    font-weight: 400;

    line-height: 0.88;

    letter-spacing: -0.055em;

    text-wrap: balance;
}

.section-content {
    min-width: 0;
}


.section-content-with-image {
    display: grid;

    grid-template-columns:
        minmax(230px, 0.72fr)
        minmax(0, 1.28fr);

    gap:
        clamp(28px, 4vw, 58px);

    align-items: start;
}


.section-text {
    width: 100%;
    max-width: 780px;

    min-width: 0;
}


.content-section-reverse .section-text {
    margin-left: auto;
}

.section-text > br {
    display: none;
}


.section-text p {
    margin:
        0
        0
        18px;

    color: var(--light-text);

    font-size:
        clamp(16px, 1.25vw, 18px);

    line-height: 1.68;

    text-wrap: pretty;
}

.section-text p br {
    display: block;
    content: "";
    margin-top: 9px;
}


.section-text p br + br {
    display: none;
}

#wie-ben-ik .section-text > p:first-child {
    color: var(--text);

    font-size:
        clamp(20px, 1.7vw, 25px);

    font-weight: 700;

    line-height: 1.4;

    margin-bottom: 20px;
}
#wie-ben-ik .text-link {
    display: flex;
    width: fit-content;

    margin-top: 20px;
}

#wie-ben-ik .section-text,
#begeleiding .section-text {
    padding:
        clamp(22px, 2.5vw, 34px);

    background: #fafafa;

    border-left: 3px solid var(--blue);

    border-radius: 0;
}
#begeleiding .section-heading {
    min-width: 0;
}

#begeleiding .section-heading h2 {
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
}

@media (min-width: 1101px) {

    #begeleiding .section-layout {
        grid-template-columns:
            minmax(320px, 0.9fr)
            minmax(0, 1.7fr);
    }

}

#projecten .section-text,
#contact .section-text {
    padding:
        clamp(22px, 2.5vw, 34px);

    background: #fafafa;

    border-right: 3px solid var(--blue);

    border-radius: 0;
}

#projecten .section-heading h2 {
    line-height: 0.98;
}

#begeleiding .section-text p:nth-of-type(7) {
    color: var(--text);
    font-weight: 500;
}


#begeleiding .section-text p:nth-of-type(7) {
    font-size:
        clamp(19px, 1.5vw, 23px);
}

.section-image-wrap {
    position: relative;

    overflow: hidden;

    width: 100%;

    aspect-ratio: 4 / 5;

    min-height: 360px;

    background: var(--off-white);
}


.section-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.7s
        cubic-bezier(0.22, 1, 0.36, 1);
}


.section-image-wrap:hover
.section-image {
    transform: scale(1.035);
}

.text-link {
    display: inline-flex;

    align-items: center;

    gap: 14px;

    margin-top: 14px;

    padding-bottom: 5px;

    color: var(--blue);

    border-bottom:
        2px solid
        var(--blue);

    font-weight: 700;

    font-size: 16px;
}


.text-link span {
    transition: transform 0.2s ease;
}


.text-link:hover span {
    transform: translateX(5px);
}

.collage-divider {
    width: calc(100% - 40px);

    max-width: 1600px;

    height:
        clamp(62px, 7vw, 100px);

    margin:
        0
        auto;

    background-image:
        url("images/background.jpg");

    background-size: cover;
    background-position: center;

    border-top:
        1px solid
        rgba(0, 0, 0, 0.04);

    border-bottom:
        1px solid
        rgba(0, 0, 0, 0.04);
}

.collage-divider-1 {
    background-position: center 20%;
}

.collage-divider-2 {
    background-position: center 50%;
}

.collage-divider-3 {
    background-position: center 80%;
}

.contact-section {
    padding-bottom:
        clamp(90px, 10vw, 145px);
}


.contact-details {
    display: flex;
    flex-direction: column;

    gap: 11px;

    margin:
        30px
        0
        0;
}


.contact-details a {
    width: fit-content;

    color: var(--blue);

    font-size:
        clamp(18px, 1.6vw, 23px);

    font-weight: 700;
}


.contact-details a:hover {
    text-decoration: underline;
}

footer {
    background:
        var(--off-white);
}


.footer-collage {
    height:
        clamp(80px, 10vw, 140px);

    background-image:
        url("images/background.jpg");

    background-size: cover;
    background-position: center;
}


.footer-content {
    max-width: var(--page-width);

    margin: 0 auto;

    padding:
        42px
        var(--side-padding);

    display: flex;

    justify-content: center;
    align-items: center;

    gap: 40px;

    text-align: center;
}


.footer-content p {
    margin: 0;

    color: #777;

    font-size: 14px;

    text-align: center;
}

.content-section
.section-heading,
.content-section
.section-image-wrap,
.content-section
.section-text {
    opacity: 0;

    transform:
        translateY(28px);

    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}


.content-section.visible
.section-heading,
.content-section.visible
.section-image-wrap,
.content-section.visible
.section-text {
    opacity: 1;
    transform: translateY(0);
}


.content-section
.section-image-wrap {
    transition-delay: 0.08s;
}


.content-section
.section-text {
    transition-delay: 0.14s;
}

@media (max-width: 1100px) {

    :root {
        --section-gap: clamp(32px, 4vw, 55px);
    }


    .section-layout {
        grid-template-columns:
            minmax(190px, 0.65fr)
            minmax(0, 1.75fr);
    }


    .content-section-reverse .section-layout {
        grid-template-columns:
            minmax(0, 1.75fr)
            minmax(190px, 0.65fr);
    }


    .section-content-with-image {
        grid-template-columns: 1fr;
    }


    .section-image-wrap {
        max-width: 430px;
        min-height: 330px;
        aspect-ratio: 16 / 11;
    }

}

@media (max-width: 820px) {

    .hero {
        min-height: 720px;
        background-position: center;
    }

    .section-layout,
    .content-section-reverse .section-layout {
        grid-template-columns:
            minmax(150px, 0.55fr)
            minmax(0, 1.45fr);

        gap: 30px;
    }


    .content-section-reverse .section-layout {
        grid-template-columns:
            minmax(0, 1.45fr)
            minmax(150px, 0.55fr);
    }


    .section-heading {
        top: 90px;
        gap: 10px;
    }


    .small-logo {
        width: 36px;
        height: 36px;

        border-width: 2px;

        font-size: 8px;
    }


    .section-heading h2 {
        font-size:
            clamp(24px, 4.5vw, 36px);
    }


    .section-text p {
        font-size: 16px;
        line-height: 1.62;
    }


    #wie-ben-ik .section-text,
    #begeleiding .section-text {
        padding: 24px;
    }

}

@media (max-width: 650px) {

    :root {
        --side-padding: 20px;
        --section-padding: 70px;
    }


    .menu-button {
        width: 52px;
        height: 52px;

        top: 18px;
        right: 18px;
    }


    .hero {
        min-height: 100svh;

        background-size: cover;
    }

    .hero-logo-band {
        width: 100%;
        height: 220px;

        margin-left: 0;

        position: relative;
        overflow: hidden;
    }

    .hero-logo {
        position: absolute;

        width: 180%;
        height: auto;

        max-width: none;
        max-height: none;

        top: 50%;
        left: 50%;

        transform: translate(-50%, -50%);

        margin: 0;

        object-fit: initial;
    }

    .section-layout,
    .content-section-reverse .section-layout {
        display: grid;

        grid-template-columns: 1fr;

        gap: 32px;
    }

    #begeleiding .section-layout {
        grid-template-columns: 1fr;
    }


    .content-section-reverse .section-heading,
    .content-section-reverse .section-content {
        grid-column: 1;
        grid-row: auto;
    }


    .content-section-reverse .section-heading {
        order: 0;

        justify-content: flex-start;
        text-align: left;
    }


    .content-section-reverse .section-content {
        order: 1;
    }


    .section-heading {
        position: static;

        align-items: center;

        gap: 12px;

        padding: 0;
    }


    .small-logo {
        width: 38px;
        height: 38px;

        font-size: 9px;
    }


    .section-heading h2 {
        max-width: none;

        font-size:
            clamp(29px, 8vw, 39px);
    }


    .section-content-with-image {
        grid-template-columns: 1fr;

        gap: 28px;
    }


    .section-image-wrap {
        width: 100%;
        max-width: none;

        min-height: 0;

        aspect-ratio: 4 / 3;
    }


    .section-text {
        max-width: none;
    }


    #wie-ben-ik .section-text,
    #begeleiding .section-text {
        padding: 22px;
    }


    .collage-divider {
        width: calc(100% - 28px);

        height: 70px;
    }


    .footer-content {
        flex-direction: column;

        align-items: flex-start;
    }

}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }

}
.contact-form {
    width: 100%;
    max-width: 700px;

    margin-top: 35px;
}


.form-row {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 24px;
}


.form-group {
    display: flex;
    flex-direction: column;

    gap: 9px;

    margin-bottom: 24px;
}


.form-group label {
    color: var(--text);

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 0.02em;
}


.form-group input,
.form-group textarea {
    width: 100%;

    padding:
        15px
        0;

    border: 0;

    border-bottom:
        1px solid
        rgba(0, 0, 0, 0.25);

    border-radius: 0;

    outline: none;

    background: transparent;

    color: var(--text);

    font: inherit;

    font-size: 17px;

    transition:
        border-color 0.2s ease;
}


.form-group textarea {
    resize: vertical;

    min-height: 150px;
}


.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--blue);
}


.form-submit {
    display: inline-flex;

    align-items: center;

    gap: 14px;

    padding:
        14px
        22px;

    border: 0;

    background: var(--blue);

    color: white;

    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.form-submit:hover {
    background: var(--dark-blue);

    transform: translateY(-2px);
}


.form-submit span {
    font-size: 20px;
}


@media (max-width: 650px) {

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

}
.contact-intro {
    margin-bottom: 42px;
}

.contact-message {
    margin: 0 0 28px;

    max-width: 600px;

    font-size: 18px;
    line-height: 1.6;

    color: var(--light-text);
}

.contact-person {
    display: flex;
    flex-direction: column;

    gap: 7px;

    padding-left: 20px;

    border-left: 3px solid var(--blue);
}

.contact-person p {
    margin: 0;
}

.contact-name {
    margin-bottom: 4px !important;

    font-size: 22px;
    font-weight: 700;

    color: var(--text);
}

.contact-person a {
    width: fit-content;

    font-size: 17px;
    line-height: 1.5;

    color: var(--blue);

    transition: opacity 0.2s ease;
}

.contact-person a:hover {
    opacity: 0.65;
}

.read-more-content {
    display: none;
}

.read-more-content.is-open {
    display: block;
}

.read-more-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-top: 10px;
    margin-bottom: 20px;

    padding: 0 0 5px;

    border: 0;
    

    background: transparent;

    color: var(--blue);

    font: inherit;
    font-size: 16px;
    font-weight: 500;

    cursor: pointer;
}

.read-more-button span {
    transition: transform 0.25s ease;
}

.read-more-button.is-open span {
    transform: rotate(180deg);
}