#heroB{
    position: relative;
    box-sizing: border-box;
    background-size: cover;
    background-position: bottom;
    margin-top: 108px;
}

#heroB:before{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #15388d96;
    z-index: 1;
}

#heroB .heroslider img{
    width: 100%;
    height: 600px;
    object-fit: cover;
} 

#heroB .videowrapper video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#heroB .illustratie{
    position: absolute;
    top: 0;
    right: 60px;
    width: 50%;
}

#heroB .custom-logo-link{
    display: block;
    margin-bottom: 100px;
}

#heroB .custom-logo-link img{
    margin: 0 auto;
    width: 100px;
}

#heroB h1{
    color: white;
    margin-top: 0px;
    margin-bottom: 0px;
    line-height: 70px;
    font-size: 70px;
    pointer-events: none;
    position: relative;
    font-weight: bold;
}
#heroB h2{
    margin: 0;
    color: white;
    font-size: 30px;
    font-weight: 400;
    line-height: 34px;
}

#heroB .mediahero .container .buttons{
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}


#heroB .menu-hoofdmenu-container ul{
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    gap: 20px;
    padding: 0;
    justify-content: center;
    margin: 0;
}

#heroB .menu-hoofdmenu-container ul li a{
    color: #09212B;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 18px;
}

#heroB .swiper{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

#heroB .swiper img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

#heroB .container .arrows{
    position: absolute;
    right: 0;
    top: 0;
}

#heroB .container .stukjetekst{
    position: absolute;
    bottom: 0;
    right: 0;
    width: 400px;
    color: black;
}

#heroB .mediahero .border{
    height: 1px;
    background: white;
    width: 100%;
    display: block;
    z-index: 2;
    position: relative;
}

#heroB .mediahero .container .herobutton{
    color: white;
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 26px;
    font-weight: 600;
    margin-top: 60px;
}

#heroB .mediahero .container .herobutton i{
    background: #FFDA34;
    border-radius: 100%;
    height: 45px;
    width: 45px;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    position: relative;
}

#heroB .mediahero .container .herobutton i:before{
    position: absolute;
    bottom: 5px;
}

#heroB .mediahero .container p{
    font-size: 18px;
    margin-bottom: 0;
    margin-top: 0;
    padding-top: 30px;
    width: 555px;
    color: white;
}

#heroB .container .arrows > div:nth-child(2){
    margin-top: 30px;
}

#heroB .container .leftsection{
    flex: 0 0 600px;
}

#heroB .mask{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 170px);
    object-fit: cover;
    object-position: bottom;
}

#heroB .patent .streep{
    background: linear-gradient(180deg, #007FFF, #BE57FF);
    width: 2px;
}

#heroB .wavevideo{
    width: 100%;
    height: 500px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
}

#heroB .wavevideo video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#heroB .videooverlay{
    width: 100%;
    height: 500px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    background: #0f0334e3;
}

#heroB .buttonsection{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}
#heroB .mediahero .zonsectie{
    position: absolute;
    left: 7.5%;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 230px;
}

#heroB .mediahero .zonsectie .zon{
    width: 50px;
}

#heroB .mediahero .zonsectie .zontekst{
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 700;
    color: #3A3A39;
}

#heroB .mediahero .teksthero h1{
    font-size: 100px;
    line-height: 97px;
    color: white!important;
    margin: 0;
    font-weight: 400;
    font-style: italic;
}

#heroB .mediahero .teksthero h1 strong{
    font-style: normal!important;
}

#heroB .mediahero .teksthero h2{
    color: black;
    margin-top: 0px;
    margin-bottom: 30px;
    text-transform: inherit;
    font-size: 70px;
    line-height: 88px;
}

#heroB .mediahero .teksthero h1 span{
    font-weight: 300;
    color: #80C959;
}

#hero form.postcodecheck{
    z-index: 1;
}

#heroB .mediahero .teksthero .groenekubuswrapper{
    position: relative;
    width: 100%;
    height: 100%;
    display: contents;
}

#heroB .mediahero .teksthero .groenekubus{
    background: #ae0018;
    width: 75px;
    height: 75px;
    position: absolute;
    right: 50px;
    top: 20px;
}

#heroB .mediahero .postcodecheck{
    position: absolute;
    bottom: 60px;
    z-index: 1;

}

#heroB .mediahero .postcodecheck .velden{
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    margin-top: 20px;
}

#heroB .mediahero .postcodecheck .velden > div{
    background: white;
    padding: 20px;
    box-sizing: border-box;
    color: #7B7B7B;
    border-radius: 10px;
    padding-bottom: 15px;
}

#heroB .mediahero .postcodecheck .velden input{
    padding: 5px 0;
    outline: none!important;
}

#heroB .mediahero .postcodecheck .velden label{
    display: block;
    font-size: 20px;
}

#heroB .mediahero .postcodecheck h2{
    font-size: 43px;
    line-height: 55px;
}

#heroB .mediahero .postcodecheck h2, #heroB .mediahero .postcodecheck h3{
    color: black;
    text-align: center;
    margin: 0;
}

#heroB .mediahero .postcodecheck a.button{
    background: #FF8A15;
    width: 100%;
    justify-content: center;
    padding: 30px 15px;
    font-weight: 400;
    font-size: 26px;
}

body:not(.home) #heroB{
    margin-bottom: 220px;
}


#heroB .herobeeldmerk img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#heroB .mediahero{
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

#heroB .splide__arrow{
    z-index: 3;
}

#heroB .mediahero .topoff{
    height: 100px;
    width: 100%;
    overflow: hidden;
    position: absolute;
    bottom: 100%;
}

#heroB .mediahero .topoff .topoffwrapper{
    position: relative;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
}

#heroB .mediahero .topoff .topoffwrapper:before{
    height: 280px;
    width: 120%;
    background: #ffffff5c;
    position: absolute;
    top: 0;
    content: '';
    border-top-left-radius: 100%;
    border-top-right-radius: 100%;

}

#heroB .mediahero video{
    width: 100%;
    height: 700px;
    object-fit: cover;
    display: block;
}

#heroB .mediahero .rightsection{
    object-fit: contain;
    float: right;
    position: relative;
    right: 0;
    flex: 1;
}

#heroB .mediahero .rightsection .house{
    height: 100%;
    width: auto;
}

#heroB .mediahero .rightsection .vierkanten{
    position: absolute;
    right: -200px;
    bottom: 0;
    z-index: -1;
    height: 100%;
}

#heroB .mediahero .teksthero{
    box-sizing: border-box;
    z-index: 1;
    top: 0px;
    flex: 0 0 100%;
}

#heroB .mediahero .teksthero p{
    font-size: 20px;
    line-height: 30px;
}


@media only screen and (max-width: 1200px) {

    #heroB .mediahero{
        order: 2;
    }
    #heroB .illustratie{
        position: static;
        flex: 0 0 400px;
        order: 1;
        z-index: 1;
    }

    #heroB .container .leftsection{
        flex: 0 0 100%;
    }

    #heroB .container{
        justify-content: center;
    }

    #heroB .container{
        row-gap: 20px;
        width: 80%;
    }

    #heroB .container .leftsection p{
        margin-top: 0;
    }

    body #heroB > .mediahero .teksthero h1{
        font-size: 38px;
        line-height: 48px;
    }

    body #heroB > .mediahero .teksthero h1 span{
        font-size: 38px;
        line-height: 48px;
    }
    #heroB .mediahero .teksthero .groenekubus{
        top: -85px;
    }

    #heroB .mediahero .postcodecheck h2{
        font-size: 32px;
        line-height: 42px;
        font-weight: 400;
    }

    #heroB .mediahero .postcodecheck .velden > div{
        padding: 10px 20px;
        padding-bottom: 5px;
    }

    #heroB .mediahero .postcodecheck a.button{
        padding: 12px 15px;
    }

    #heroB .mediahero .postcodecheck .velden label{
        font-size: 16px;
        margin: 0;
        padding: 0;
    }
}

@media only screen and (max-width: 1000px) {

    #heroB h2{
        font-size: 26px;
        line-height: 26px;
    }

    #heroB h1{
        font-size: 35px;
        line-height: 35px;
    }

    #heroB .heroslider img{
        height: 400px;
    }
}

@media only screen and (max-width: 600px) {

    #heroB .container{
        width: 70%;
    }

}