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

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    background: #1b3153;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

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


.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background: #1b3153;
}


.background {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 58%;

    background-image: url("../assets/afbeelding.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


.gradient {
    position: absolute;
    inset: 0;
    z-index: 1;

    width: 80%;

    background-image: url("../assets/gradient.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;

    pointer-events: none;
}


.container {
    position: relative;
    z-index: 2;

    width: 100%;
    min-height: 100vh;
}


.header {
    position: absolute;
    top: 0;
    left: 0;

    width: 44%;
}

.logo-desktop {
    display: block;
    width: 100%;
    height: auto;
}

.logo-phone {
    display: none;
}


.content {
    position: relative;

    width: 38%;
    max-width: 650px;

    margin-left: 7.8%;
    padding-top: 34vh;
    padding-bottom: 180px;
}


/* Hoofdtitel */

.content h1 {
    display: inline-block;

    margin: 0 0 32px;
    padding: 9px 23px;

    border: 2px solid #5ab4b7;
    border-radius: 18px;

    color: #5ab4b7;

    font-size: clamp(20px, 1.8vw, 35px);
    font-weight: 700;
    line-height: 1.1;

    text-transform: uppercase;
}


.text {
    color: #fff;

    font-size: clamp(14px, 1vw, 18px);
    line-height: 1.45;
}

.text p {
    margin: 0 0 24px;
}

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


.text h2 {
    margin: 35px 0 12px;

    color: #5ab4b7;

    font-size: clamp(17px, 1.2vw, 22px);
    font-weight: 700;
    line-height: 1.25;
}


.services {
    margin: 30px 0 0;
    padding-left: 20px;
}

.services li {
    margin-bottom: 7px;
}


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

    gap: 8px;

    margin-top: 42px;
}

.contact a {
    display: flex;
    align-items: center;

    gap: 22px;

    color: #fff;

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

    text-decoration: none;

    transition: opacity 0.2s ease;
}

.contact a:hover {
    opacity: 0.7;
}

.contact a:focus-visible {
    outline: 2px solid #5ab4b7;
    outline-offset: 5px;
}

.contact img {
    width: 30px;
    height: 30px;

    object-fit: contain;

    transform: scale(1.5);
    transform-origin: center;
}


.quote {
    position: absolute;
    right: 0;
    bottom: 0;

    width: 48%;
}

.quote img {
    display: block;

    width: 100%;
    height: auto;
}


/* desktop klein */

@media (max-width: 1400px) {

    .header {
        width: 48%;
    }

    .content {
        width: 40%;
        max-width: 580px;

        padding-top: 31vh;
    }

    .content h1 {
        margin-bottom: 25px;
    }

    .contact {
        margin-top: 30px;
    }

    .quote {
        width: 48%;
    }
}


/* tablet */

@media (max-width: 1200px) {

    .hero {
        min-height: 100vh;
    }

    .background {
        width: 65%;
        background-image: none;
    }

    .gradient {
        width: 100%;
    }

    .header {
        width: 52%;
    }

    .content {
        width: calc(100% - 15.6%);
        max-width: 650px;

        margin-left: 7.8%;
        margin-right: 7.8%;

        padding-top: 300px;
        padding-bottom: 180px;
    }

    .quote {
        width: 50%;
    }
}


/* tablet klein */

@media (max-width: 900px) {

    .header {
        width: 60%;
    }

    .content {
        width: auto;
        max-width: 600px;

        margin-left: 40px;
        margin-right: 40px;

        padding-top: 280px;
        padding-bottom: 180px;
    }

    .content h1 {
        font-size: 24px;
    }

    .text {
        font-size: 16px;
    }

    .text h2 {
        font-size: 20px;
    }

    .quote {
        width: 60%;
    }
}


/* telefoon */

@media (max-width: 767px) {

    .hero {
        min-height: 100svh;
        height: auto;
    }

    .background {
        width: 100%;
        background-image: none;
    }

    .gradient {
        width: 100%;
    }

    .container {
        display: flex;
        flex-direction: column;

        width: 100%;
        min-height: 100svh;

        padding: 55px 30px 180px;
    }


    .header {
        position: relative;

        top: auto;
        left: auto;

        width: 100%;
        max-width: none;

        margin-bottom: 65px;
    }

    .logo-desktop {
        display: none;
    }

    .logo-phone {
        display: block;

        width: auto;
        height: 50px;

        padding: 0;
    }


    .content {
        position: relative;

        top: auto;
        left: auto;

        width: 100%;
        max-width: none;

        margin: 0;
        padding: 0;
    }

    .content h1 {
        margin-bottom: 30px;

        padding: 8px 16px;

        border-radius: 14px;

        font-size: 20px;
        line-height: 1.2;
    }

    .text {
        font-size: 15px;
        line-height: 1.5;
    }

    .text p {
        margin-bottom: 20px;
    }

    .text h2 {
        margin: 30px 0 10px;

        font-size: 19px;
        line-height: 1.3;
    }


    .services {
        margin-top: 25px;
    }

    .services li {
        margin-bottom: 6px;
    }


    .contact {
        margin-top: 35px;

        gap: 12px;
    }

    .contact a {
        gap: 15px;

        font-size: 17px;
    }

    .contact img {
        width: 21px;
        height: 21px;

        transform: scale(1.3);
    }

    .quote {
        position: absolute;

        right: 0;
        bottom: 0;

        width: 85%;

        margin: 0;
        padding: 0;
    }
}


/* telefoon klein */

@media (max-width: 400px) {

    .container {
        padding-top: 40px;
        padding-right: 20px;
        padding-bottom: 150px;
        padding-left: 20px;
    }

    .header {
        margin-bottom: 50px;
    }

    .logo-phone {
        height: 45px;
    }

    .content h1 {
        padding: 7px 13px;

        font-size: 17px;
    }

    .text {
        font-size: 14px;
    }

    .text h2 {
        font-size: 18px;
    }

    .contact a {
        font-size: 16px;
    }

    .quote {
        width: 90%;
    }
}