@media (min-width: 768px) {

.contact-content-laag .content-box:not(.animatie) .title-element:before {
    width: 26px;
    height: 31px;
    top: 8px;
    left: 0;
}

.footer-above .flexbox-wrapper.content-center .content-left {
    flex-basis: 100%;
    text-align: center;
}
    .footer-above h2 {
        font-size: 56px;
        line-height: 120%;
        margin-bottom: 16px !important;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0px 8px;
    }

.header-layer .buttons-box {
    margin-top: 40px;
}
.contact-content-laag form input, .contact-content-laag form textarea {
    font-size: 16px !important;
}
.content-box.slider .slide {
    height: 80px;
}
body.home .header-layer .content-box h1:before {
    height: 36px;
    width: 32px;
}
body.home .header-layer .content-box h1 {
    font-size: 48px;
}
body:not(.home) section.header-layer.with-image.with-video {
    height: 50vh;
}
.header-layer h1 {
    padding-left: 32px;
}

.header-layer h1:before {
    position: absolute;
    top: 10px;
    left: 0;
    height: 25px;
}
body.home .header-layer h1:before {
    position: relative;
}
section.footer-above a.btn {
    margin-left: auto !important;
    margin-right: auto !important;
}
form#search-filter-form-1691 > ul > li.sf-field-search input {
    height: 64px;
}
form#search-filter-form-1691 > ul > li {
    padding: 0;
    flex-basis: calc(33% - 10px);
    width: calc(33% - 10px);
    min-height: 64px;
}
.projecten-overzicht > .projecten-overzicht {
    width: 100%;
    flex-basis: 100%;
}
.projecten-overzicht > div.projecten-overzicht > div {
    flex-basis: calc(50% - 10px);
    width: calc(50% - 10px);
}
form#search-filter-form-1691 > ul {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}
.overzicht-laag form#search-filter-form-1691 > ul li.sf-field-post-meta-soort_project {
    margin-bottom: 0;
}

.overzicht-laag form#search-filter-form-1691 > ul {
    justify-content: flex-start;
}
.post-type-archive-projecten li.sf-field-search:before {
    top: 50%;
    transform: translateY(-50%);
}
.footer-above h2:before {
    position: relative;
    height: 51px;
    width: 40px;
}
section.footer-above p {
    font-size: 24px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.header-layer .content-box {
    margin: 0 auto;
}

/* CONTENT - LAAG */

@keyframes slideText {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-110% - 80%)); /* Moves left by its starting offset + its own width */
    }
}
.diensten-scroll-box .dienst-item {
    max-height: 592px;
     height: calc(80vh - 100px);
}
.diensten-scroll-box .dienst-item span.image-box {
    height: 100%;
}
.diensten-scroll-box .dienst-item a .title-element {
    font-size: 56px;
    line-height: 140%;
}

.diensten-scroll-box {
    gap: 264px;
}
.diensten-scroll-box .dienst-item {
    max-width: 1026px;
    margin-left: auto;
    margin-right: auto;
}
.diensten-scroll-box .dienst-item a .title-element:before {
    top: 17px;
    width: 40px;
    height: 43px;
    left: -20px;
}
.diensten-scroll-box .dienst-item:after {
    height: 32px;
}

.title-element {
    font-size: 32px;
    margin-bottom: 32px;
}
.gap-box .title-element {
    font-size: 32px;
}
.text-box * {
    font-size: 20px;
    line-height: 150%;
}
.text-box.grote_tekst p {
    font-size: 32px;
}
.gap-box {
    gap: 88px;
}
.two-images > div {
    flex-basis: calc(50% - 10px);
    width: calc(50% - 10px);
}

/*  AFB - TEKST LAAG */

.afb-tekst-laag .content-box {
    max-width: 430px;
    align-self: center;
}
.afb-tekst-laag .video-box {
    height: auto;
}
.afb-tekst-laag .flexbox-wrapper {
    flex-wrap: nowrap;
}

.afb-tekst-laag span.image-box.one-image {
    max-width: 882px;
    height: 500px;
}
.afb-tekst-laag .flexbox-wrapper.no-space span.image-box {
    height: auto;
    flex-basis: 50%;
    width: 50%;
}

.afb-tekst-laag .flexbox-wrapper.no-space div.content-box {
    padding: 40px;
    flex-basis: 50%;
    width: 50%;
}
.volle-afb-tekst-laag.Content.gecentreerd div.flexbox-wrapper h3.tag {
    margin-left: auto;
    margin-right: auto;
}

.volle-afb-tekst-laag.Content.gecentreerd div.flexbox-wrapper .button-box {
    justify-content: center;
}
.volle-afb-tekst-laag.Content.gecentreerd div.flexbox-wrapper .title-element {
    margin-bottom: 0;
    text-align: center;
}
.volle-afb-tekst-laag.Content.gecentreerd div.flexbox-wrapper {
    justify-content: center;
    text-align: center;
}
.volle-afb-tekst-laag.Content.gecentreerd {
    height: 100vh;
    display: flex;
    align-items: center;
}

/*  CIJFERS LAAG */

.cijfers-tekst-laag.afb-tekst-laag .flexbox-wrapper > .content-box:nth-of-type(1) {
    width: 100%;
    flex-basis: 100%;
    order: -1;
}
.cijfers-tekst-laag.afb-tekst-laag .flexbox-wrapper {
    flex-wrap: wrap;
}

/*  CTA - LAAG */

.cta-laag .person-box span.image-box {
    height: 224px;
    width: 224px;
}
.cta-laag .flexbox-wrapper {
    flex-wrap: wrap;
}

.cta-laag .content-box {
    max-width: initial;
    width: 100%;
    padding: 80px;
}
.cta-laag .title-element {
    margin-bottom: 64px;
}

.person-box > .person-contact {
    width: calc(100% - 256px);
    clear: initial;
}
.person-box > .person-info {
    width: calc(100% - 256px);
    padding-top: 24px;
}
.person-box {
    margin-bottom: 64px;
}

/*  DIENSTEN OVERZICHT */

.diensten-overzicht .content-box .title-element {
        justify-content: center;
        text-align: center;
        width: fit-content;
        max-width: 430px;
        margin-left: auto;
}
.diensten-overzicht .content-box {
    margin-left: auto;
    margin-right: auto;
}
.diensten-overzicht .diensten-dropdown, .diensten-overzicht .diensten-items {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}
.diensten-overzicht .content-box .tag {
    margin-left: auto;
    margin-right: auto;
}
.diensten-overzicht .title-element:before {
    position: relative;
 
}
.diensten-overzicht .content-box .title-element {
    display: flex;
    flex-wrap: wrap;
    gap: 0px 8px;
}

/*  POP UP LAAG */

.modal-content .content-box h3 {
    font-size: 24px;
}
.modal-content .content-box p {
    font-size: 18px;
}
.form-box form input {
    min-height: 64px;
}

/*  FAQ LAAG */

.faq-laag .content-box .text-box * {
    font-size: 18px;
}
.faq-laag .content-box:not(.animatie) .title-element:before {
    width: 33px;
    height: 42px;
    top: 17px;
    left: -8px;
}
.faq-laag .content-box .text-box {
    text-align: center;
}
.faq-laag .content-box .title-element {
    justify-content: center;
    font-size: 56px;
    margin-bottom: 40px;
}
.faq-laag .content-box h3.title-element {
    font-size: 28px;
}
section.content-laag .afb-slider .image-box {
    height: 420px;
}
.faq-laag .content-box h1.title-element {
    font-size: 64px;
    padding-left: 44px;
}
.faq-laag .content-box:not(.animatie) h1.title-element:before {
    height: 50px;
    width: 38px;
    top: 18px;
    left: 0;
}
.faq-laag .content-box {
    margin-left: auto;
    margin-right: auto;
}
.footer-above h2:before, .diensten-overzicht .title-element:before, .dienst-content h4:before, .contact-content-laag .title-element:before, .faq-laag .title-element:before, .vestigingen-laag .title-element:before {
    width: 33px;
    height: 42px;
    left: -16px;
    top: 17px;
}
.uitklap-box.vragen-box {
    max-width: 882px;
    margin-left: auto;
    margin-right: auto;
}

/*  VESTIGINGEN LAAG */

.vestigingen-laag .title-element {
    font-size: 56px;
    margin-bottom: 40px;
}

/* PROJECT/ACTUEEL */

.nieuws-overzicht > .nieuws-item {
    flex-basis: calc(50% - 10px);
    width: calc(50% - 10px);
}
li.sf-field-search {
    max-width: 292px;
}

/*  FOOTER */

.footer-under .flexbox-wrapper {
    flex-direction: column;
}
.footer .flexbox-wrapper>div:first-of-type {
    border-top: 1px solid rgba(255, 255, 255, 0.60);
    padding-top: 16px;
}

/* 4 DELING LAAG */

.blokken-items.vier--deling div.blok-item, .blokken-items > div {
    flex-basis: calc(50% - 16px);
    width: calc(50% - 16px);
}

.content-box.slider .title-element {
    height: 60px;
    background: url(https://www.kbkbouwgroep.nl/wp-content/uploads/2025/12/tagline.svg) no-repeat;
    background-size: contain;
}
.content-box.slider .title-element, .content-box.slider .title-element strong {
    color: transparent !important;
}
.diensten-overzicht .dienst-item h4:before {
    height: 26px;
    top: 7px;
    left: 0;
    width: 24px;
}

#wpsl-result-list {
    width: 100%;
    margin-right: 0 !important;
}
div#wpsl-search-wrap form .wpsl-search-btn-wrap, div#wpsl-search-wrap form .wpsl-search-btn-wrap input {
    height: 64px !important;
}
div#wpsl-search-wrap form {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}
div#wpsl-gmap {
    width: 100%;
    flex-basis: 100%;
}
.vestigingen-laag h3.title-element:before {
    height: 30px;
    top: 12px;
}

.vestigingen-laag h3.title-element {
    font-size: 40px;
    padding-left: 32px;
}
.contact-content-laag .content-box:not(.animatie) h2.title-element::before {
    height: 26px;
    top: 6px;
}

.zoeken-item a:after {
    content: '';
    display: block;
    position: absolute;
    width: 48px;
    height: 48px;
    border: 1px solid #013B67;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: url(https://www.kbkbouwgroep.nl/wp-content/uploads/2025/11/arrow-right-blue.svg) no-repeat;
    background-position: center center;
}
.zoeken-item a {
    min-height: 80px;
    display: flex !important;
    align-items: center;
}
.resultaten .zoeken-item a {
    flex-wrap: wrap;
}
.resultaten .zoeken-item a span {
    flex-basis: 100%;
    width: 100%;
}

.resultaten .zoeken-item a h4 {
    width: calc(100% - 40px);
}

.zoeken-box li.sf-field-search {
    max-width: initial;
}
header .search {
    display: none;
}
section.footer-above.custom-content h2:before {
    top: 10px;
    left: 0;
}

}