﻿/* ========================================
   HERO SLIMMER WERKEN
======================================== */

.slimmer-hero {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    background: #ffffff;
}


/* ========================================
   FOTO RECHTS
======================================== */

.slimmer-hero__visual {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;

    width: 58%;

    overflow: hidden;
    background: #ffffff;
}

.slimmer-hero__visual img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

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


/* ========================================
   ZACHTE WITTE OVERGANG LINKS
======================================== */

.slimmer-hero__visual::before {
    content: "";

    position: absolute;
    z-index: 2;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            rgba(255, 255, 255, 0.98) 7%,
            rgba(255, 255, 255, 0.90) 15%,
            rgba(255, 255, 255, 0.65) 25%,
            rgba(255, 255, 255, 0.28) 36%,
            rgba(255, 255, 255, 0.06) 47%,
            rgba(255, 255, 255, 0) 58%
        );

    pointer-events: none;
}


/* ========================================
   HERO INHOUD
======================================== */

.slimmer-hero__container {
    position: relative;
    z-index: 5;

    min-height: 650px;

    display: flex;
    align-items: center;
}

.slimmer-hero__content {
    width: 55%;
    max-width: 700px;

    padding: 120px 0 70px;
}


/* ========================================
   BOVENKOP
======================================== */

.slimmer-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-bottom: 18px;

    color: var(--wespi-zwart);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}

.slimmer-hero__eyebrow::after {
    content: "";

    width: 72px;
    height: 2px;

    background: var(--wespi-goud);
}


/* ========================================
   TITEL
======================================== */

.slimmer-hero h1 {
    max-width: 650px;
    margin: 0;

    color: var(--wespi-zwart);

    font-size: clamp(50px, 5vw, 72px);
    line-height: 0.98;
    letter-spacing: -3px;
    font-weight: 800;
}

.slimmer-hero h1 span {
    display: block;

    margin-top: 8px;

    color: #755b0a;
}


/* ========================================
   INTRO
======================================== */

.slimmer-hero__intro {
    max-width: 550px;

    margin: 27px 0 0;

    color: #303030;

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


/* ========================================
   KNOPPEN
======================================== */

.slimmer-hero__buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 13px;

    margin-top: 31px;
}

.slimmer-hero__buttons .knop {
    min-height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 28px;

    padding: 0 20px;

    border-radius: 5px;

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

    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.slimmer-hero__buttons .knop:hover {
    transform: translateY(-2px);
}

.slimmer-hero__buttons .knop-geel {
    background: var(--wespi-goud);
    color: var(--wespi-zwart);
}

.slimmer-hero__buttons .knop-geel:hover {
    background: var(--wespi-goud-licht);

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.10);
}

.slimmer-hero__buttons .knop-licht {
    border: 1px solid #9b9b9b;

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

    color: var(--wespi-zwart);
}

.slimmer-hero__buttons .knop-licht:hover {
    background: #ffffff;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.07);
}


/* ========================================
   PLUSPUNTEN
======================================== */

.slimmer-hero__pluspunten {
    max-width: 620px;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;

    margin-top: 43px;
    padding-top: 25px;

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

.slimmer-hero__pluspunt {
    display: flex;
    align-items: flex-start;

    gap: 10px;
}

.slimmer-pluspunt__icoon {
    width: 30px;
    height: 30px;

    flex: 0 0 30px;

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

    border-radius: 50%;

    background: var(--wespi-goud);

    color: var(--wespi-zwart);

    font-size: 14px;
    font-weight: 800;
}

.slimmer-hero__pluspunt strong {
    display: block;

    margin-bottom: 3px;

    color: var(--wespi-zwart);

    font-size: 12px;
}

.slimmer-hero__pluspunt div > span {
    display: block;

    color: #626262;

    font-size: 10px;
}


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

@media (max-width: 1050px) {

    .slimmer-hero__visual {
        width: 55%;
    }

    .slimmer-hero__content {
        width: 60%;
    }

}


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

@media (max-width: 760px) {

    .slimmer-hero {
        min-height: auto;

        display: flex;
        flex-direction: column;
    }

    .slimmer-hero__container {
        order: 2;

        min-height: auto;
    }

    .slimmer-hero__content {
        width: 100%;

        padding: 50px 0 40px;
    }

    .slimmer-hero__visual {
        position: relative;

        order: 1;

        width: 100%;
        height: 380px;
    }

    .slimmer-hero__visual img {
        transform: none;
        object-position: center;
    }

    .slimmer-hero__visual::before {
        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0) 58%,
                rgba(255, 255, 255, 0.65) 82%,
                #ffffff 100%
            );
    }

    .slimmer-hero h1 {
        font-size: 46px;
        letter-spacing: -2px;
    }

    .slimmer-hero__pluspunten {
        grid-template-columns: 1fr;

        gap: 15px;
    }

}


/* ========================================
   KLEINE TELEFOONS
======================================== */

@media (max-width: 420px) {

    .slimmer-hero h1 {
        font-size: 40px;
    }

    .slimmer-hero__visual {
        height: 330px;
    }

}