.banner--subpage {
    padding: 1rem;
}

.banner--subpage-box-outer {
    position: relative;
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
}

.gridbg {
    background: var(--bg-url) repeat;
    background-size: 512px auto;
    border-radius: 1rem;
}

.banner--subpage-box1, .banner--subpage-box2 {
    padding: 2rem 1rem;
    padding-left: calc(25% + 3rem);
}

.banner--subpage-box2 {
    padding-top: 1rem;
}

.banner--subpage-box1 img {
    display: block;
    position: absolute;
    top: 1rem;
    left: 2rem;
    max-width: 25%;
    height: auto;
    max-height: 350px;
}

.banner--subpage-box1 img.contactbanner-img {
    display: block;
    position: absolute;
    top: 50%;
    left: 3rem;
    max-width: 25%;
    height: auto;
    max-height: 120px;
    transform: translateY(-50%);
}

.banner--subpage-box1 h1 {
    font-size: clamp(1.3rem, 6vw, 4.5rem);
    font-weight: 700;
    font-family: var(--title-font);
    color: var(--green);
    text-transform: uppercase;
    line-height: 1.1;
}

.banner--subpage-box1 h1.white_title {
    color: var(--ivoor);
}

.banner--subpage-box1 p {
    font-size: clamp(1rem, 3vw, 2rem);
    color: var(--green);
    font-weight: 700;
}

.banner--subpage-box2 h2 {
    font-size: clamp(1rem, 2.85vw, 1.65rem);
    color: var(--green);
    font-weight: 700;
    margin-bottom: 1rem;
}

.banner--subpage-box2 p {
    max-width: 550px;
}

.contentcontainer--flex {
    display: flex;
    gap: 1rem;
    width: 100%;
    margin: 0 auto;
    max-width: var(--container-width);
    padding: 2.75rem 1rem;
}

.contentcontainer--flex-center {
    align-items: center;
}

.containerchild--flex-33 {
    width: 33%;
}

.containerchild--flex-67 {
    flex: 1;
}

.containerchild--flex-50 {
    width: 50%;
    flex: 1;
}

h3.diensten--titel {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.diensten-paragraaf {
    font-size: 1.2rem;
}

.sterdeco {
    height: auto;
    width: 100%;
    max-width: 75px;
    display: block;
    margin: 0 auto;
}

.sterdeco.right {
    margin-right: 0;
}

ul.list-redstar {
    padding-left: 2rem;
}

ul.list-redstar li {
    padding-left: 1.5em;
    background-image: url("../img/star-red-single.svg");
    background-repeat: no-repeat;
    background-position: 0 0.2em;
    background-size: 1em 1em;
}

.dienstenimagelarge {
    height: auto;
    max-width: 100%;
    width: 100%;
}

.scheveimage {
    transform: rotate(-17deg);
}

.large--right {
    text-align: right;
}

p.empty_subtitle {
    padding: 1rem 0;
}

@media(max-width:830px){
    .containerchild--flex-50 {
        width: 100%;
    }
    .contentcontainer--flex-center {
        flex-direction: column;
    }

    .scheveimage {
        transform: rotate(-17deg) scale(0.7);
        margin-top: 1rem;
    }

    .paragraaf-blok{
        max-width: none!important;
        padding-left: 0!important;
        margin: auto;
    }

    .contentcontainer--flex + .contentcontainer--flex {
        padding-top: 0rem;
    }
     .containerchild--flex-33 {
        width: 100%;
    }
}

@media(max-width:530px){
    .banner--subpage-box1, .banner--subpage-box2 {
        padding-left: 1rem;
    }

    .contactpage .banner--subpage-box1, .banner--subpage-box2 {
        
        padding-left: 0;
    }

    .contactpage .banner--subpage-box1 {
        padding-left: calc(25% + 3rem);
    }

    .contactpage .banner--subpage-box2, .faqpage .banner--subpage-box2 {
        display: none;
    }

    .banner--subpage-box1 img {
        position: static;
    }

    .banner--subpage-box1 {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .banner--subpage-box1 img {
        max-width: 65px;
    }
    .contentcontainer--flex {
        padding-top: 2rem;
    }

   
}

