/* V-0175: Black Friday-banner op de homepage van Deurengigant (ontwerp versie 3), t/m 30 november 2026.
   Zwart (#111) met oranje (#f4991a) als actiekleur. Contrast: oranje op zwart 8,7, zwart op oranje 8,7, wit op zwart 18,9 (AA).
   Precies even groot als de bovenkant die hij vervangt (Eline 16 november): de deurenkaart (V-0097) 1440 x 600 (computer) en 390 x 673 (telefoon);
   in versie A van de A/B-test home.deurkeuze (oude foto met actie) 1440 x 826 en 390 x 506 (bf-banner--oud). */

#homePage .bf-banner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    height: 600px;
    overflow: hidden;
    background-color: #111111;
    color: #ffffff;
}

#homePage .bf-banner__foto {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 52%;
}

#homePage .bf-banner__foto img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}

#homePage .bf-banner__vlak {
    position: relative;
    width: 100%;
}

#homePage .bf-banner__tekstblok {
    max-width: 640px;
    padding: 40px 0;
}

#homePage .bf-pillen {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

#homePage .bf-pil {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .04em;
    text-transform: uppercase;
}

#homePage .bf-pil--wit {
    background-color: #ffffff;
    color: #111111;
}

#homePage .bf-pil--oranje {
    border: 2px solid #f4991a;
    color: #f4991a;
}

#homePage .bf-klein {
    display: none;
}

#homePage .bf-kop {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 84px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.01em;
    text-transform: uppercase;
}

#homePage .bf-kop span {
    color: #f4991a;
}

#homePage .bf-voordeel {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
}

#homePage .bf-markeer {
    padding: 0 10px;
    border-radius: 4px;
    background-color: #f4991a;
    color: #111111;
}

#homePage .bf-tekst {
    max-width: 520px;
    margin: 0 0 22px;
    color: #e6e6e6;
    font-size: 16px;
    line-height: 1.5;
}

#homePage .bf-knop:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

#homePage .bf-knop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 34px;
    border-radius: 30px;
    background-color: #f4991a;
    color: #111111;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
}

#homePage .bf-knop:hover,
#homePage .bf-knop:focus {
    background-color: #ffb145;
    color: #111111;
}

/* Sticker "Cando-deuren 27% onder adviesprijs" op de grens van zwart en foto */
#homePage .bf-sticker {
    position: absolute;
    bottom: 48px;
    left: 2%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    border: 4px solid #111111;
    padding: 10px;
    border-radius: 50%;
    background-color: #f4991a;
    color: #111111;
    text-align: center;
    transform: rotate(-12deg);
}

#homePage .bf-sticker__klein {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

#homePage .bf-sticker__groot {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

/* Versie A van de A/B-test: even groot als de oude foto met actie */
#homePage .bf-banner--oud {
    height: 826px;
}

/* Tussen telefoon en computer: de tekst blijft leesbaar naast de foto */
@media (max-width: 1199.8px) and (min-width: 768px) {
    #homePage .bf-kop {
        font-size: 58px;
    }

    #homePage .bf-voordeel {
        font-size: 32px;
    }

    #homePage .bf-banner__tekstblok {
        max-width: 50%;
        padding: 24px 0;
    }

    #homePage .bf-pillen {
        margin-bottom: 12px;
    }

    #homePage .bf-tekst {
        margin-bottom: 16px;
    }

    #homePage .bf-banner__foto {
        width: 50%;
    }
}

/* Telefoon: foto bovenaan (220 hoog, zoals de deurenkaart), het zwarte blok eronder; samen 390 x 673 */
@media (max-width: 767.8px) {
    #homePage .bf-banner {
        flex-direction: column;
        align-items: stretch;
        height: 673px;
    }

    #homePage .bf-banner__foto {
        position: relative;
        flex: 0 0 220px;
        width: 100%;
        height: 220px;
    }

    #homePage .bf-banner__vlak {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        justify-content: center;
    }

    #homePage .bf-banner__foto img {
        clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%);
    }

    #homePage .bf-banner__tekstblok {
        max-width: none;
        padding: 10px 0 18px;
    }

    #homePage .bf-pillen {
        gap: 8px;
        margin-bottom: 10px;
    }

    #homePage .bf-pil {
        padding: 4px 9px;
        font-size: 12px;
    }

    #homePage .bf-groot {
        display: none;
    }

    #homePage .bf-klein {
        display: inline;
    }

    #homePage .bf-kop {
        margin-bottom: 6px;
        font-size: 38px;
    }

    #homePage .bf-voordeel {
        margin-bottom: 10px;
        font-size: 24px;
    }

    #homePage .bf-markeer {
        padding: 0 6px;
    }

    #homePage .bf-tekst {
        margin-bottom: 12px;
        font-size: 14px;
        line-height: 1.45;
    }

    #homePage .bf-knop {
        display: flex;
        width: 100%;
        min-height: 50px;
    }

    #homePage .bf-sticker {
        right: 12px;
        bottom: -14px;
        left: auto;
        z-index: 2;
        width: 100px;
        height: 100px;
        border-width: 3px;
    }

    #homePage .bf-sticker__klein {
        font-size: 9px;
    }

    #homePage .bf-sticker__groot {
        font-size: 30px;
    }

    #homePage .bf-banner--oud {
        height: 506px;
    }

    #homePage .bf-banner--oud .bf-banner__foto {
        flex-basis: 150px;
        height: 150px;
    }

    #homePage .bf-banner--oud .bf-banner__tekstblok {
        padding: 10px 0 14px;
    }
}
