﻿/* =========================================================
   VARIABELEN
   ========================================================= */

:root {
    --red: #f20a2e;
    --red-dark: #981923;
    --footer-red: #86272a;
    --text: #111111;
    --white: #ffffff;
    --page-width: 1440px;
    --content-width: 840px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}


/* =========================================================
   ALGEMENE PAGINA CONTAINER
   ========================================================= */

.page-container {
    width: 100%;
    max-width: var(--page-width);
    margin: 0 auto;
    padding-left: 50px;
    padding-right: 50px;
}


/* =========================================================
   HERO
   ========================================================= */
.hero-banner-new {
    width: 100%;
    height: clamp(320px, 26vw, 520px);
    overflow: hidden;
    background-color: var(--red-dark);
}

.hero-banner-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 8%;
}

@media (min-width: 1920px) {
    .hero-banner-image {
        object-position: center 24%;
    }
}

@media (min-width: 2400px) {
    .hero-banner-image {
        object-position: center 8%;
    }
}
/* =========================================================
   MAIN CONTENT
   ========================================================= */

.home-content {
    width: 100%;
    background: #ffffff;
}

.intro-container {
    width: var(--content-width);
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding-top: 40px;
}

    .intro-container h1 {
        margin: 0 0 55px;
        font-size: clamp(46px, 5vw, 64px);
        line-height: .98;
        letter-spacing: -2.8px;
        font-weight: 800;
    }

.intro-copy {
    width: 100%;
}

    .intro-copy p {
        margin: 0 0 20px;
        color: #171717;
        font-size: 14px;
        line-height: 1.3;
        font-weight: 500;
    }

    .intro-copy strong {
        font-weight: 800;
    }


/* =========================================================
   INFO KNOPPEN
   ========================================================= */

.info-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
}

.info-button {
    min-width: 145px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 2px solid var(--red);
    border-radius: 12px;
    background: #ffffff;
    color: #111111;
    text-decoration: none;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

    .info-button:hover,
    .info-button:focus {
        background: var(--red);
        color: #ffffff;
        transform: translateY(-1px);
    }


/* =========================================================
   USP BLOKKEN - DESKTOP
   ========================================================= */

/* =========================================================
   USP BLOKKEN - DESKTOP
   ========================================================= */

.usp-section {
    padding: 40px 20px 70px;
}


/* =========================================================
   GRID

   De originele SVG heeft een verhouding van:
   293 x 251 px.

   De tegels behouden daarom automatisch dezelfde verhouding.
   ========================================================= */

.usp-grid {
    width: 920px;
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0 auto;
}


/* =========================================================
   USP TEGEL
   ========================================================= */

.usp-card {
    position: relative;
    width: 100%;
    aspect-ratio: 293 / 251;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


/* =========================================================
   SVG ACHTERGROND

   De SVG bepaalt volledig de rode vorm.
   Geen background-color of clip-path meer nodig.
   ========================================================= */

.usp-card__background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: fill;
    pointer-events: none;
    user-select: none;
}
@media (max-width: 991.98px) {

    .usp-section {
        padding: 35px 20px 55px;
    }

    .usp-grid {
        width: 760px;
        gap: 14px;
    }

    .usp-card__text {
        padding: 20px;
        font-size: 21px;
        line-height: 1.05;
    }
}
@media (max-width: 767.98px) {

    .usp-section {
        padding: 32px 20px 45px;
    }

    .usp-grid {
        width: 260px;
        max-width: 100%;
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 0 auto;
    }

    .usp-card__text {
        padding: 20px;
        font-size: 20px;
        line-height: 1.05;
    }
}

/* =========================================================
   TEKST
   ========================================================= */

.usp-card__text {
    position: relative;
    z-index: 1;
    display: block;
    padding: 25px;
    color: #ffffff;
    text-align: center;
    font-size: 27px;
    line-height: 1.05;
    font-weight: 800;
}

/* =========================================================
   RESPONSIVE HOME
   ========================================================= */

@media (max-width: 1199px) {

    .page-container {
        padding-left: 30px;
        padding-right: 30px;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .hero-banner-new {
        height: 300px;
    }

    /* Info buttons */

    .info-buttons {
        gap: 12px;
    }

    .info-button {
        min-width: 140px;
        height: 43px;
        padding: 0 16px;
        font-size: 12px;
    }

    /* USP's blijven naast elkaar, maar kleiner */

    .usp-section {
        padding: 35px 20px 55px;
    }

    .usp-grid {
        width: 680px;
        gap: 14px;
    }

    .usp-card {
        min-height: 135px;
        padding: 20px 14px;
        font-size: 21px;
        line-height: 1.05;
        clip-path: polygon( 8% 0, 92% 0, 100% 10%, 100% 90%, 92% 100%, 8% 100%, 0 90%, 0 10% );
    }
}


/* =========================================================
   SMARTPHONE
   USP'S ONDER ELKAAR EN COMPACT
   ========================================================= */

@media (max-width: 767.98px) {

    .page-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-banner-new {
        height: 250px;
    }

    .intro-container {
        padding-top: 30px;
    }

        .intro-container h1 {
            margin-bottom: 35px;
            font-size: 43px;
            line-height: 1;
            letter-spacing: -2px;
        }

    .intro-copy p {
        font-size: 14px;
        line-height: 1.4;
    }


    /* =====================================================
       INFO KNOPPEN
       ===================================================== */

    .info-buttons {
        width: 100%;
        display: flex;
        align-items: stretch;
        gap: 10px;
        margin-top: 22px;
    }

    .info-button {
        flex: 1 1 0;
        min-width: 0;
        height: 43px;
        padding: 0 12px;
        font-size: 11px;
    }


    /* =====================================================
       USP'S
       ===================================================== */

    .usp-section {
        padding: 32px 20px 45px;
    }

    .usp-grid {
        width: 260px;
        max-width: 100%;
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 0 auto;
    }

    .usp-card {
        width: 100%;
        min-height: 72px;
        padding: 10px 16px;
        font-size: 17px;
        line-height: 1.05;
        clip-path: polygon( 6% 0, 94% 0, 100% 16%, 100% 84%, 94% 100%, 6% 100%, 0 84%, 0 16% );
    }
}


/* =========================================================
   ZEER KLEINE SMARTPHONE
   ========================================================= */

@media (max-width: 480px) {

    .hero-banner-new {
        height: 210px;
    }

    .intro-container {
        max-width: calc(100% - 32px);
    }

        .intro-container h1 {
            font-size: 39px;
        }


    /* =====================================================
       INFO KNOPPEN ONDER ELKAAR
       ===================================================== */
    .info-buttons {
        width: 100%;
        display: flex;
        flex-direction: row;
        gap: 8px;
    }

    .info-button {
        flex: 1;
        min-width: 0;
        height: 42px;
        padding: 0 10px;
        font-size: 11px;
    }


    /* =====================================================
       USP'S
       ===================================================== */

    .usp-section {
        padding: 28px 16px 40px;
    }

    .usp-grid {
        width: 230px;
        gap: 8px;
    }

    .usp-card {
        min-height: 64px;
        padding: 8px 12px;
        font-size: 15px;
        line-height: 1.05;
        clip-path: polygon( 6% 0, 94% 0, 100% 16%, 100% 84%, 94% 100%, 6% 100%, 0 84%, 0 16% );
    }
}
