section#diensten{
    padding: 80px 0;
    position: relative;
    margin-top: -2px;
}

.jackbanner{
    width: 100%;
    height: auto;
    display: block;
    margin-top: -66px;
    z-index: 1;
    position: relative;
}

section#diensten::before{
    content: '';
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: black;
}

section#diensten::after{
    background: #ffc000;
    content: '';
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
}

section#diensten h2{
    margin: 0;
    color: white;
    font-size: 45px;
    line-height: 45px;
    margin-bottom: 20px;
}

section#diensten .container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex-wrap: wrap;
    gap: 120px;
    overflow: visible;
}

section#diensten .container .content p{
    color: white;
    
}

section#diensten .container .foto{
    position: relative;
    z-index: 1;
}

section#diensten .container .foto img{
    border-radius: 10px;
    height: 400px;
    object-fit: cover;
    width: 100%;
}

section#diensten .container .dienstwrapper .row img{
    width: 70px;
    height: 70px;
    object-fit: contain;
    background: #EAEAEA;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 10px;
    flex: 0 0 70px;
}

section#diensten .container .dienstwrapper .row:nth-child(n+3){
    margin-top: 40px;
} 

section#diensten .container .dienstwrapper .row{
    display: flex;
    gap: 20px;
}

section#diensten .container .dienstwrapper .row h3{
    font-size: 20px;
    line-height: 20px;
    margin-top: 0;
    margin-bottom: 5px;
}

section#diensten .container .dienstwrapper .row .content p{
    margin: 0;
}

section#diensten .container .dienstgalerij{
    flex: 1;
    position: relative;
}

section#diensten .container .dienstgalerij a img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section#diensten .container .dienstgalerij a:nth-child(1){
    width: 100%;
    height: 400px;
}

section#diensten .container .dienstgalerij a:nth-child(2){
    position: absolute;
    left: -150px;
    bottom: -50px;
    height: 300px;
    width: 70%;
    box-sizing: border-box;
    box-shadow: 0px 0px 14px 2px #00000052;
}

section#diensten .container .dienstgalerij a:nth-child(3){
    flex: 0 0 100%;
}

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


    section#diensten .container .dienstwrapper{
        flex: 0 0 100%;
    }
}

@media screen and (max-width: 1000px) {
    section#diensten h2{
        font-size: 30px;
        line-height: 30px;
    }

    section#diensten .container .content{
        flex: 0 0 100%;
        text-align: center;
    }

    section#diensten .container{
        gap: 20px;
    }

    section#diensten .container .dienstgalerij a:nth-child(2){
        position: static;
        width: 100%;
        height: 400px;
    }
    section#diensten .container{
        gap: 40px;
    }

    section#diensten .container .dienstgalerij a{
        height: 200px!important;
    }

    section#diensten .container{
        grid-template-columns: 1fr;
    }

    section#diensten::before{
        width: 100%;
    }

    section#diensten::after{
        display: none;
    }
}