/* =====================================================
   DRIVE BY DAAN - HERO
   Schone definitieve versie
===================================================== */

.hero {
    position: relative;

    width: 100%;
    min-height: 620px;
    height: 680px;

    display: flex;
    align-items: center;

    margin: 0;
    padding: 0;

    overflow: hidden;

    box-sizing: border-box;

    background-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, .22) 0%,
            rgba(0, 0, 0, .10) 38%,
            rgba(0, 0, 0, 0) 68%
        ),
        url("../images/hero/hero.jpg");

    background-size: cover;
    background-position: center 68%;
    background-repeat: no-repeat;
}


/* =====================================================
   HERO CONTAINER
===================================================== */

.hero .container {
    position: relative;
    z-index: 5;

    width: min(1180px, calc(100% - 100px));
    max-width: 1180px;

    margin: 0 auto;
}


/* =====================================================
   HERO CONTENT
===================================================== */

.hero-content {
    position: relative;
    z-index: 10;

    width: 100%;
    max-width: 660px;

    margin: 0;
    padding: 0;

    text-align: left;

    transform: translateY(-4px);
}


/* =====================================================
   EYEBROW
===================================================== */

.hero-eyebrow {
    display: block;

    margin: 0 0 12px;

    color: #ff1a1a;

    font-size: 15px;
    line-height: 1.2;
    font-weight: 900;

    letter-spacing: 5px;
    text-transform: uppercase;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, .65);
}


/* =====================================================
   HOOFDTITEL
===================================================== */

.hero h1,
.hero-content h1 {
    margin: 0 0 18px;

    color: #ffffff;

    font-size: clamp(48px, 4.5vw, 64px);
    line-height: .96;

    font-weight: 900;

    letter-spacing: -1.6px;
    text-transform: uppercase;

    text-shadow:
        0 4px 18px rgba(0, 0, 0, .72);
}

.hero h1 span,
.hero-content h1 span {
    color: #ff1a1a;
}


/* =====================================================
   HERO TEKST
===================================================== */

.hero-text {
    max-width: 650px;

    margin: 0 0 20px;

    color: #ffffff;

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

    font-weight: 500;

    text-shadow:
        0 2px 10px rgba(0, 0, 0, .80);
}


/* =====================================================
   HERO BENEFITS
===================================================== */

.hero-benefits {
    display: flex;

    flex-direction: column;
    align-items: flex-start;

    gap: 6px;

    margin: 0;
    padding: 0;
}

.hero-benefit {
    display: flex;
    align-items: center;

    gap: 10px;

    color: #ffffff;

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

    font-weight: 700;

    text-shadow:
        0 2px 9px rgba(0, 0, 0, .85);
}


/* =====================================================
   BENEFIT ICON
===================================================== */

.hero-benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    flex: 0 0 22px;

    font-size: 0;
}

.hero-benefit-icon::after {
    content: "✓";

    color: #ff1a1a;

    font-size: 20px;
    line-height: 22px;

    font-weight: 900;
}


/* =====================================================
   HERO BUTTONS
===================================================== */

.hero-buttons {
    display: flex;
    align-items: center;

    margin: 20px 0 0;
    padding: 0;
}

.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    min-width: 220px;
    min-height: 52px;

    padding: 0 24px;

    border-radius: 9px;

    font-size: 15px;
    line-height: 1;

    font-weight: 900;

    white-space: nowrap;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, .24),
        0 8px 20px rgba(249, 13, 20, .16);
}


/* =====================================================
   OUDE HERO-ONDERDELEN UIT HERO.PHP
===================================================== */

/*
   De huidige hero gebruikt de foto als achtergrond.
   De losse rechter afbeelding is daarom niet nodig.
*/

.hero-grid,
.hero-left,
.hero-right,
.hero-image,
.hero-photo-content,
.success-box,
.hero-glow,
.hero-gradient,
.hero-blur,
.hero-scroll {
    display: none;
}


/* =====================================================
   DESKTOP
===================================================== */

@media (min-width: 769px) {

    .hero {
        min-height: 620px;
        height: 680px;
        max-height: 680px;

        align-items: center;

        background-image:
            linear-gradient(
                90deg,
                rgba(0, 0, 0, .22) 0%,
                rgba(0, 0, 0, .10) 38%,
                rgba(0, 0, 0, 0) 68%
            ),
            linear-gradient(
                to bottom,
                rgba(17, 17, 17, 0) 0%,
                rgba(17, 17, 17, 0) 78%,
                rgba(17, 17, 17, .12) 88%,
                rgba(17, 17, 17, .42) 96%,
                #111111 100%
            ),
            url("../images/hero/hero.jpg");

        background-size: cover;
        background-position: center 68%;
        background-repeat: no-repeat;
    }

    .hero .container {
        width: min(1180px, calc(100% - 100px));
    }

    .hero-content {
        max-width: 660px;

        transform: translateY(-4px);
    }

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) and (min-width: 769px) {

    .hero .container {
        width: min(100% - 48px, 1180px);
    }

    .hero h1,
    .hero-content h1 {
        font-size: clamp(46px, 5.2vw, 60px);
    }

    .hero-text {
        font-size: 17px;
    }

}


/* =====================================================
   MOBIEL
===================================================== */

@media (max-width: 768px) {

    .hero {
        height: auto;
        min-height: 620px;

        align-items: flex-start;

        padding: 48px 0 70px;

        background-image:
            linear-gradient(
                90deg,
                rgba(0, 0, 0, .18) 0%,
                rgba(0, 0, 0, .05) 70%,
                rgba(0, 0, 0, 0) 100%
            ),
            linear-gradient(
                to bottom,
                rgba(17, 17, 17, 0) 0%,
                rgba(17, 17, 17, 0) 78%,
                rgba(17, 17, 17, .20) 90%,
                rgba(17, 17, 17, .65) 98%,
                #111111 100%
            ),
            url("../images/hero/hero.jpg");

        background-size: cover;
        background-position: center 65%;
        background-repeat: no-repeat;
    }

    .hero .container {
        width: calc(100% - 32px);
        max-width: none;
    }

    .hero-content {
        max-width: 100%;

        transform: none;

        text-align: left;
    }

    .hero-eyebrow {
        margin-bottom: 12px;

        font-size: 12px;
        letter-spacing: 4px;
    }

    .hero h1,
    .hero-content h1 {
        margin-bottom: 18px;

        font-size: clamp(42px, 11vw, 60px);
        line-height: .96;

        letter-spacing: -1.4px;
    }

    .hero-text {
        max-width: 100%;

        margin-bottom: 20px;

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

    .hero-benefits {
        gap: 6px;
    }

    .hero-benefit {
        font-size: 16px;
    }

    .hero-buttons {
        margin-top: 28px;
    }

    .hero-buttons .btn {
        min-width: 0;
        min-height: 54px;

        max-width: 100%;

        padding: 0 24px;

        white-space: normal;
    }

}


/* =====================================================
   KLEINE MOBIELE SCHERMEN
===================================================== */

@media (max-width: 480px) {

    .hero {
        min-height: 620px;

        padding: 42px 0 60px;

        background-position: center 65%;
    }

    .hero .container {
        width: calc(100% - 28px);
    }

    .hero-eyebrow {
        font-size: 11px;
        letter-spacing: 3px;
    }

    .hero h1,
    .hero-content h1 {
        font-size: 42px;

        letter-spacing: -1.2px;
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-benefit {
        font-size: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

}