body * {
    position: relative;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--wit);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    color: var(--donkergroen);
}

html {
    overflow-x: hidden;
}

:root {
    --zwart           :#111111;
    --wit             :#ffffff;

    --donkergroen     :#243F1D;
    --groen           :#4C8031;

    --donkerorange    :#A34404;
    --orange          :#EB6608;
}

a, a:active, a:visited, a:focus, a:hover {
    color: inherit;
    font-family: inherit;
    text-decoration: none;
}

.btn { transition: all .3s ease; }
.btn:hover {
    cursor: pointer;
    transition: all .3s ease;
    transform: scale(1.05);
}

.btn .arrow {
    width: 25px;
    height: 25px;
    transform: rotate(45deg);
    border-top: 3px solid white;
    border-right: 3px solid white;
    border-radius: 0px 4px 0px 0px;
    right: 4px;
    top: 1px;
    position: relative;
}
.btn-holder {
    z-index: 1;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    column-gap: 30px;
    row-gap: 18px;
    align-items: center;
    position: relative;
    color: var(--wit);
}
    .btn {
        padding: 10px 14px;
        font-size: 18px;
        background-color: var(--orange);
        border-bottom: 3px solid var(--donkerorange);
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-width: 100px;
        transition: all .3s ease;
    }
    .btn-holder.large .btn {
        min-width: 300px;
        min-height: 40px;
        max-height: 60px;
    }


.navbar {
    background-color: var(--wit);
    width: 100%;
    min-height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}
    
    .navbar-inner {
        width: 100%;
        max-width: 1400px;
        height: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .navbar-right {
        z-index: 3;
    }
    .navbar-right ul {
        display: flex;
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .navbar-right ul li.nav-item {
        display: inline-block;
        position: relative;
    }
    
    /* Navbar Links */
    .navbar-right ul>li.nav-item>a {
        width: 100%;
        text-align: center;
        color: var(--donkergroen);
        font-size: 16px;
        padding: 40px 20px;
        text-decoration: none;
        font-weight: 500;
        display: inline-block;
        position: relative;
    }
    .navbar-right ul>li.nav-item>a:hover {
        color: var(--orange);
    }

    .navbar-right ul ul {
        overflow: hidden;
        padding: 10px 0 20px;
    }
    .navbar-right ul ul li {
        width: 100%;
        white-space: nowrap;
    }
    .navbar-right ul ul li a {
        width: 100%;
        text-align: center;
        color: var(--donkergroen);
        font-size: 14px;
        padding: 10px 30px;
        text-decoration: none;
        font-weight: 500;
        display: inline-block;
        position: relative;
    }
    .navbar-right ul ul li.dropdown-header {
        width: 100%;
        text-align: center;
        color: var(--groen);
        font-size: 16px;
        padding: 24px 30px;
        text-decoration: none;
        font-weight: bold;
        display: inline-block;
        position: relative;
    }

    /* Orange underline effect */
    .navbar-right .desktop-navbar > ul > li {
        border-bottom: 4px solid transparent;
        transition: all 0.3s ease;
    }
        .navbar-right .desktop-navbar > ul > li.nav-item:hover {
            border-bottom: 4px solid var(--orange);
        }

    .navbar-right .nav-icons {
        display: flex;
        flex-direction: row;
        align-items: center;
        column-gap: 16px;
        margin-left: 10px;
    }
        .nav-icons img {
            top: -2px;
            width: 28px;
            height: 28px;
            object-fit: contain;
            transition: all .3s ease;
        }
        .nav-icons a:hover img {
            transform: scale(1.05);
            transition: all .3s ease;
        }

    /* Dropdown Menu */
    .dropdown-menu-container {
        width: 100%;
        top: 100%;
        position: absolute;
        padding-bottom: 20px;
    }
    .navbar-right ul.dropdown-menu {
        display: block;
        position: absolute;
        min-width: 200px;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        padding-bottom: 30px;
        background: rgba(255, 255, 255, 0.8);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        border-radius: 5px;
        z-index: 2;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
        .dropdown-menu li {
            display: block;
            width: 100%;
        }
            .dropdown-menu li a {
                display: block;
                width: 100%;
                padding: 10px 15px;
                color: var(--donkergroen) !important;
                text-decoration: none;
                text-align: left;
                font-size: 14px;
                font-weight: 400;
            }
            .navbar-right ul li.has-dropdown:hover .dropdown-menu {
                display: block;
                opacity: 1;
                visibility: visible;
                transform: translateX(-50%);
            }
            .dropdown-menu li:hover a {
                color: var(--orange) !important;
            }
        
        .navbar-right ul li.has-dropdown:hover::after {
            content: "";
            position: absolute;
            left: 50%;
            bottom: -9px;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 6px solid transparent;
            border-right: 6px solid transparent;
            border-top: 6px solid var(--orange);
            z-index: 2;
        }

    /* actief menu-item: oranje en vet (zie ook de regel onderaan) */
    .navbar-right ul>li a.currentPage {
        text-shadow: none;
    }
    
    .navbar-right li.socials {
        margin-top: 8px;
        display: flex;
        justify-content: center;
        column-gap: 12px;
    }
        .navbar-right li.socials a {
            width: auto;
            font-size: 20px;
            padding: 0;
        }

a.back-link {
    font-size: 14px;
    margin-bottom: 30px;
}
    a.back-link:hover {
        text-decoration: underline;
    }
    a.back-link i.fa-chevron-left {
        font-size: 12px;
        margin-right: 6px;
    }


.page-banner {
    width: 100%;
    max-width: calc(100% - 120px);
    min-height: 500px;
    height: calc(100vh - 152px);
    max-height: 1000px;
    overflow: hidden;
    position: relative;
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--wit);
    border-radius: 30px;
} .page-banner.small { min-height: 400px; height: unset; max-height: 1400px; justify-content: center; }
    .page-banner .header {
        z-index: 1;
        width: 100%;
        max-width: 1400px;
        position: relative;
        padding: 200px 15px 50px;
        text-shadow: 2px 2px 5px var(--zwart);
        word-break: break-word;
    } .page-banner.small .header { max-width: 1200px; padding: 50px 15px 50px 15px; }
        .page-banner .header .title {
            font-size: 64px;
            font-weight: bold;
        } .page-banner.small .header .title { font-size: 42px; }
        .page-banner .header .text {
            font-size: 34px;
        }
        .page-banner .scroll-btn {
            z-index: 1;
            position: absolute;
            bottom: 50px;
            left: 50%;
            transform: translateX(-50%);
            animation-duration: 4s;
            animation-iteration-count: infinite;
            cursor: pointer;
        }
        .scroll-btn.bounce {
            animation-name: bounce;
            animation-timing-function: ease;
        }
        @keyframes bounce {
            0%   { transform: translateY(0)     translateX(-50%); }
            30%  { transform: translateY(-20px) translateX(-50%); }
            50%  { transform: translateY(0)     translateX(-50%); }
            100% { transform: translateY(0)     translateX(-50%); }
        }
        .banner-img {
            z-index: -1;
            position: absolute; 
            height: 100%;
            width: 100%;
            background-position: center;
            background-size: cover;
            background-repeat: no-repeat;
        }


.page-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    min-height: 400px;
    overflow: hidden;
}
    .page-content .content-section {
        position: relative;
        display: flex;
        justify-content: center; 
        flex-direction: column;
        width: 100%;
        height: auto;
        padding: 80px 0;
        row-gap: 50px;
    }
        .content-section .content-block {
            position: relative;
            width: 100%;
            max-width: 1200px;
            display: flex;
            justify-content: center;
            align-self: center;
            flex-wrap: wrap;
            column-gap: 50px;
            row-gap: 30px;
        }
            .content-section .content-block.reverse {

            }
                .content-section .content-block.reverse .content-img {
                    order: 2;
                }
                .content-section .content-block.reverse .content {
                    order: 1;
                    text-align: right;
                }
        /* .content-section .content-txt-block {
            position: relative;
            display: block;
            justify-content: center;
            align-self: center;
            width: 100%;
            max-width: 1200px;
        } */
        .content-block .content-img {
            width: 35%;
        }
            .content-block .content-img .img {
                height: 300px;
                width: 300px;
                background-repeat: no-repeat;
                background-size: cover;
                background-position: center;
                margin: 0 auto;
                border-radius: 400px;
            }
        .content-block .content {
            /* width: 65%; */
            flex: 1;
        }
            .content-header-sm {
                font-size: 18px;
            }
            .content-header-lg {
                font-size: 22px;
                margin-bottom: 30px;
                color: var(--orange);
                font-weight: bold;
            }
            /* .content-block  */
            .content .content-text {
                width: 100%;
                line-height: 25px;
                font-size: 16px;
            }
                .content-text ul {
                    list-style: none;
                    margin-top: 10px;
                    margin-bottom: 10px;
                    margin-left: 14px;
                }
                    .content-text ul li {
                        position: relative;
                        padding-left: 20px;
                    }
                    .content-text ul li::before {
                        content: "";
                        position: absolute;
                        left: 0px;
                        top: 14px;
                        width: 8px;
                        height: 8px;
                        background-color: var(--orange);
                        border-radius: 50%;
                        transform: translateY(-50%);
                    }

        .content-block .content .btn-holder {
            font-size: 16px;
            margin-bottom: 0;
            display: flex;
        }
            .content-block .content .btn-holder a.btn {
                margin: 0 12px;
                min-width: 0;
                min-height: 50px;
                max-height: 50px;
                font-size: 16px;
                padding: 8px 14px;
                margin-top: 30px;
            }
                .btn-holder a.btn {
                    border-radius: 4px;
                }
                .btn-holder a.btn .arrow {
                    width: 15px;
                    height: 15px;
                    top: 0px;
                    margin-left: 12px;
                }
                .btn-holder a.btn:has(.arrow) {
                    
                }
            .content-block .content .btn-holder a.btn:first-child {
                margin-left: 0px;
            }
            .content-block .content .btn-holder a.btn:last-child {
                margin-right: 0px;
            }
            .content-block .content .btn-holder {
                justify-content: flex-start;
            }
            .content-block.reverse .content .btn-holder {
                justify-content: flex-end;
            }

            .bg-logo {
                z-index: -1;
                position: absolute; 
                background-size: contain;
                height: 500px;
                width: 500px;
                right: -50px;
                top: -50px;
                background-position: center;
                background-repeat: no-repeat;
                background-image: url('../images/wazig-logo.webp');
            }

a.btn {
    text-shadow: unset;   
}

.wrapper-section {
    min-height: 350px;
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
    .wrapper-inner {
        width: 100%;
        max-width: 1400px;
        padding: 150px 15px;
    }
    .wrapper-img {
        height: 100%;
        width: 100%;
        position: absolute;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat; 
    }
    .wrapper-header {
        z-index: 1;
        position: relative;
        margin-bottom: 50px;
        text-shadow: 5px 5px 10px var(--zwart);
        color: var(--wit);
        word-break: break-word;
    }
        .wrapper-header .title {
            font-size: 64px;
            font-weight: bold;
        }
        .wrapper-header .text {
            font-size: 34px;
        }
        .wrapper-inner .btn-holder {
            display: inline-block;
            margin-bottom: 0;            
        }
        .wrapper-inner a.btn {
            margin-left: 0;
            padding-left: 25px;
        }

.showcase-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 50px;
    padding: 80px 0;
}

.showcase-block {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 80px 15px 100px;
} .showcase-block.no-padding { padding-top: 0; padding-bottom: 0; }
    .showcase-block-inner {
        position: relative;
        width: 100%;
        max-width: 1400px;
        display: flex;
        flex-direction: column;
    }
    .showcase-block .content {
        margin: 0 10px;
    }
    .showcase-holder {
        /* display: grid;
        grid-template-columns: 1fr 1fr 1fr; */
        width: 100%;
        grid-gap: 20px;
    } .showcase-holder.slider {
            width: 100%;
            display: flex;
            gap: 20px;
            justify-content: center;
        }
        .showcase-holder.slider .showcase-item {
            flex: 1;
        }
        .showcase-item {
            min-height: 280px;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: flex-end;
            text-decoration: none;
            padding: 10px 26px 26px;
            background-color: #e6e6e6;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            color: var(--wit);
            border-radius: 10px;
            overflow: hidden;
            cursor: pointer;
            transition: all .3s ease;
        }
            .showcase-item h1 {
                color: var(--wit);
                font-size: 18px;
                /* text-align: center; */
                font-weight: 400;
            }
            .showcase-item h2 {
                color: var(--wit);
                font-size: 20px;
                margin-bottom: 10px;
            }
            
            .showcase-item-text {
                transition: opacity 0.5s ease;
            }
            .showcase-alt-header {
                position: absolute;
                opacity: 0;
                transform: translateX(-100px);
                transition: opacity 0.5s ease, transform 0.5s ease;
            }
            .showcase-item:not(.no-opacity):hover .showcase-item-text {
                opacity: 0;
            }
            .showcase-item:not(.no-opacity):hover .showcase-alt-header {
                opacity: 1;
                transform: translateX(0);
            }


            

.mio-container {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #F1F5EF;
}
    .mio-container-inner {
        width: 100%;
        max-width: 1200px;
    }

    .mio-container:not(.stacked) .content .content-text {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-right: 20px;
    }
    .page-content .mio-container .content-section {
        /* padding-bottom: 20px; */
    }

/* Blog styling */
.blog{
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 60px 15px;
}
    .blog-inner {
        width: 100%;
        max-width: 1200px;
        display: flex;
        flex-direction: column;
        row-gap: 30px;
    }
        .blog-showcase-item{
            width: 100%;
            display: flex;
            column-gap: 40px;
            row-gap: 20px;
            padding: 20px 14px;
            background-color: #fafafa;
            border-radius: 10px;
        }
        .blog-showcase-item .img-holder {
            flex: 1 auto;
            flex-shrink: 0;
            width: 100%;
            max-width: 400px;
            max-height: 250px;
            overflow: hidden;
            border-radius: 10px;
        }
            .blog-showcase-item .img-holder img{
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        .blog-showcase-item .content{
            display: flex;
            flex-direction: column;
        }
            .blog-showcase-item .content h1 {
                font-size: 18px;
                margin-bottom: 4px;
                color: var(--orange);
                font-weight: bold;
            }
            .blog-showcase-item .content h2 {
                font-size: 16px;
            }
            .blog-showcase-item .content .text{
                height: 100px;
                max-height: 100px;
                line-height: 25px;
                margin-top: 30px;
                font-size: 16px;
                display: -webkit-box;
                -webkit-line-clamp: 4;
                -webkit-box-orient: vertical;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            .blog-showcase-item .content .date {
                font-size: 12px;
                font-style: italic;
                color: #adadad;
            }
            .blog-showcase-item .btn-holder {
                /* margin-top: auto; zodat die onderaan staat */
                margin-top: 10px;
            }

.blog-info {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 60px 15px;
}
    .blog-info-inner {
        width: 100%;
        max-width: 1000px;
        display: flex;
        flex-direction: column;
    }
    .blog-info-inner .btn-holder {
        margin-bottom: 30px;
    }

    .blog-info-inner .content{
        display: flex;
        flex-direction: column;
    }
        .blog-info-inner .content h1 {
            font-size: 18px;
            margin-bottom: 4px;
            color: var(--orange);
            font-weight: bold;
        }
        .blog-info-inner .content h2 {
            font-size: 16px;
        }
        .blog-info-inner .content .text{
            /* height: 100px;
            max-height: 100px; */
            line-height: 25px;
            margin-top: 30px;
            font-size: 16px;
        }
        .blog-info-inner .content .date {
            font-size: 12px;
            font-style: italic;
            color: #adadad;
        }



.team-block {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 60px 15px;
    padding-top: 0;
}
    .team-block-inner {
        width: 100%;
        max-width: 1200px;
        display: flex;
        flex-direction: column;
    }
        .team-cards {
            display: flex;
            justify-content: center;
            /* align-items: flex-start; */
            flex-wrap: wrap;
            column-gap: 30px;
            row-gap: 20px;
        }
            .team-card {
                flex: 0 auto;
                width: 350px;
                max-width: 100%;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: flex-start;
                padding: 20px;
                background-color: #F1F5EF;
                border-radius: 10px;
                margin: 10px;
                transition: all 0.3s;
            }
                .team-card img {
                    width: 160px;
                    height: 160px;
                    object-fit: cover;
                    object-position: top center;
                    border-radius: 1000px;
                    margin-bottom: 10px;
                }
                .team-card .card-content {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    border-radius: 10px;
                    /* background-color: #FAFAFA; */
                    padding: 10px;
                    transition: all 0.3s;
                }
                .team-card .name {
                    font-size: 20px;
                    margin-bottom: 5px;
                    color: var(--orange);
                    font-weight: bold;
                }
                .team-card .function {
                    font-size: 14px;
                    color: var(--donkergroen);
                    margin-bottom: 20px;
                }
                .team-card .text {
                    font-size: 14px;
                    color: var(--donkergroen);
                }




.footer-section {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background-color: var(--donkergroen);
    padding: 60px 15px;
}
    .footer-inner {
        display: flex;
        width: 100%;
        max-width: 1500px;
        justify-content: space-evenly;
        flex-wrap: wrap;
        column-gap: 30px;
        row-gap: 50px;
    }
        .footer-item {
            flex: 0 auto;
            color: var(--wit);
        }
            .footer-item .footer-header {
                margin-bottom: 6px;
                font-size: 16px;
                text-transform: uppercase;
            }
                .footer-item .footer-header ~ .footer-header {  
                    margin-top: 12px;
                }
                .footer-item ul {
                    list-style-type: none;
                }
                    .footer-item ul li {
                        padding: 6px 0;
                        font-size: 14px;
                    }
                        .footer-item ul li a, .footer-item ul li a:active, .footer-item ul li a:visited {
                            color: var(--wit);
                            text-decoration: none;
                            transition: all .3s ease;
                        }
                        .footer-item ul li a:hover {
                            text-shadow: 1px 0px 2px var(--wit);
                            transition: all .3s ease;
                        }
                        .footer-item img {
                            width: 14px;
                            margin-right: 6px;
                            position: relative;
                            top: 2px;
                        }
                        .footer-item .footer-sub {
                            padding-left: 0px;
                        }
                        .footer-sub.footer-logos {
                            max-width: 160px;
                            display: grid;
                            grid-template-columns: repeat(3, 3fr);
                            column-gap: 10px;
                            row-gap: 4px;
                            padding: 6px 4px;
                            background-color: var(--wit);
                            border-radius: 4px;
                            margin-top: 20px;
                        }
                            .footer-sub a {
                                
                            }
                                .footer-sub a>img {
                                    width: 38px;
                                    height: 38px;
                                    object-fit: contain;
                                }

                            .footer-sub.socials {
                                margin-top: 8px;
                                display: flex;
                                flex-wrap: wrap;
                                column-gap: 10px;
                            }
                                .footer-sub.socials a {
                                    width: auto;
                                    font-size: 22px;
                                    padding: 0;
                                }

                            .contact-info .socials {
                                margin-top: 8px;
                                display: flex;
                                flex-wrap: wrap;
                                column-gap: 10px;
                            }
                                .contact-info .socials a {
                                    width: auto;
                                    font-size: 18px;
                                    color: var(--orange);
                                    padding: 0;
                                }

.signature-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}
    .signature-inner {
        width: 100%;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        column-gap: 50px;
        row-gap: 8px;
        font-size: 12px;
        color: var(--donkergroen);
        background-color: var(--groen);
        padding: 8px 10px;
    }
        .signature-inner .left,
        .signature-inner .right {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            row-gap: 8px;
        }
        .signature-inner .left {
            font-style: italic;
        }
        .signature-inner span {
            padding: 2px 0px;
            color: #d3ebc6;
        }
            .signature-inner span:after {
                content: "  |  ";
                font-style: normal;
                padding: 0 15px;
            }
            .signature-inner span:last-child:after {
                content: "";
                padding: 0 0;
            }
            .signature-inner span a:hover {
                text-decoration: underline;
            }


/* Contactformulier styling */
.contact-form-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 60px 15px;
    background-color: #F1F5EF;
}
.contact-form {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    column-gap: 14px;
    row-gap: 14px;
    /* row-gap: 20px; */
    width: 100%;
    max-width: 1200px;
}
    .contact-form input,
    .contact-form textarea {
        min-width: 200px;
        min-height: 50px;
        font-size: 14px;
        padding: 8px 18px;
        outline: none;
        color: #1A1A1A;
        background-color: #ffffff;
        border: 1px solid #E2E2E2;
        border-radius: 10px;
    }
        .contact-form input:focus,
        input:-webkit-autofill {
            background: #ffffff;
        }
        .contact-form input::placeholder,
        .contact-form textarea::placeholder {
            color: #A1A1A1;
        }
        .contact-form .input-holder {
            position: relative;
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            column-gap: 10px;
        }
        .contact-form .input-holder span {
            font-size: 14px;
            color: #4d4d4d;
            padding-left: 10px;
            margin-bottom: 8px;
        }
        .contact-form .input-holder span a {
            text-decoration: underline;
        }
    .contact-form textarea {
        width: 100%;
        max-width: 800px;
        resize: vertical;
    }
    .contact-form .btn-holder a.btn {
        margin-top: 0 !important;
    }
    .contact-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
        .contact-info span {
            line-height: 25px;
            font-size: 16px;
        }
            .contact-info img {
                height: 16px;
                margin-right: 10px;
                object-fit: contain;
            }
    #form_error {
        color: var(--orange);
    }
    .form_succes {
        color: var(--groen);
    }

    
    .form-header {
        font-size: 22px;
        color: var(--orange);
        font-weight: bold;
    }
    .form-subheader {
        font-size: 16px;
        margin-bottom: 30px;
        color: var(--donkergroen);
    }

.certificeringen {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #F1F5EF;
    padding: 60px 15px;
    margin-top: 50px;
}
    .certificeringen-slider {
        width: 100%;
        max-width: 1200px;
    }
        .certificeringen-slider img {
            height: 100px;
            width: 300px;
            object-fit: contain;
            margin: 0 30px;
        }

.content-section.green-bg {
    background-color: #F1F5EF;
}

#videos {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
    /* padding: 60px 15px; */
}
    #videos .videos-inner {
        width: 100%;
        max-width: 1200px;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(45%, 1fr));
        gap: 30px;
        justify-content: center;
    }
        #videos iframe {
            width: 100%;
            height: 315px;
            border-radius: 20px;
        }
        

.vimeo-container {
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
}
    .vimeo-container iframe {
        z-index: 1;
        box-sizing: border-box;
        width: 177.77777778vh;
        height: 56.25vw;
        min-width: 100%;
        min-height: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

.mobile-logo {
    display: none;
    height: 85px;
}
.desktop-logo {
    height: 90px;
}

#mobile-navbar {
	position: fixed;
    top: 35px;
	right: 30px;
	z-index: 999999;
}
#mobile-navbar .burger:hover {
	cursor: pointer;
}
	#mobile-navbar .burger {
		position: relative;
	}
		#mobile-navbar .menu-bar {
			background-color: var(--donkergroen);
			width: 40px;
			height: 4px;
			display: block;
			margin-bottom: 8px;
			opacity: 1;
		}
		#mobile-navbar.navbar-open .menu-bar { 
			background-color: #ffffff;
		}
		#mobile-navbar.navbar-open .bar1 {
			transform: translateY(-2px) rotate(45deg);
		}
		#mobile-navbar.navbar-open .bar2 {
			opacity: 0;
		}
		#mobile-navbar.navbar-open .bar3 {
			transform: translateY(2px) rotate(-45deg);
		}
		#mobile-navbar .burger .bar1, #mobile-navbar .burger .bar2, #mobile-navbar .burger .bar3 {
			transform-origin: left;
			transition: all .6s ease;
		}


#mobile-menu {
	z-index: 99999;
	position: fixed;
	display: none;
	opacity: 0;
	left: 50%;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
	background-color: #243f1de7;
	width: 100%;
	height: 100%;
}
	.mobile-menu-inner {
		position: relative;
        display: flex;
        align-items: center;
        height: 100%;
        justify-content: center;
	}
	.mobile-menu-inner ul {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        row-gap: 30px;
		list-style-type: none;
		text-align: center;
        height: 100%;
		margin: 0;
		padding: 0;
	}
	.mobile-menu-inner ul li {
		padding: 6px 0;
		font-size: 25px;
        width: 100%;
        border: none;
	}
	.mobile-menu-inner ul li a {
		text-decoration: none;
		color: #ffffff !important;
		font-family: 'Montserrat', sans-serif;
		letter-spacing: 2px;
	}
	/* .mobile-menu-inner ul li a.button {
		padding: 10px 20px;
		background-color: var(--groen);
	} */

	#mobile-menu.mobile-menu-open {
		display: none;
		opacity: 0;
		transition: opacity .6s ease;
	}

	#mobile-navbar {
		display: none;
	}

    .project-intro {
        width: 100%;
        display: flex;
        justify-content: center;
    }
        .project-intro-inner {
            width: 100%;
            max-width: 1400px;
            display: flex;
            flex-direction: column;
        }
        .project-intro-inner.small {
            max-width: 1000px;
        }

    .page-banner ~ .project-intro.offset-top {
        z-index: 1;
        margin-top: -100px;
        min-height: 150px;
    }
    .page-banner ~ .project-intro .project-intro-inner {
        background-color: #F1F5EF;
        padding: 30px;
        border-radius: 10px;
    }


.project-images {
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
    padding: 30px 15px;
}
    .project-images .image-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        grid-auto-rows: 280px;
        grid-gap: 30px;
        width: 100%;
        box-sizing: border-box;
    }
    .project-images .image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        overflow: hidden;
        box-shadow: inset 0px 0px 1px -4px black;
        border-radius: 10px;
    }
    .project-images .image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: all 0.3s ease;
    }
        .project-images .image:hover img {
            transform: scale(1.05);
            transition: all 0.3s ease;
        }
    .project-images .standard {
        grid-row: span 2;
        grid-column: span 3;
    }
    .project-images .small {
        grid-row: span 1;
        grid-column: span 2;
    }
    .project-images .medium {
        grid-row: span 1;
        grid-column: span 4;
    }
    .project-images .large {
        grid-row: span 2;
        grid-column: span 6;
    }

.page-error {
    padding: 80px 15px;
    color: var(--zwart);
    font-size: 16px;
}
    .page-error a {
        text-decoration: underline;
    }

.header-carousel {
    position: relative;
    top: 20px;
}
.header-item {
    position: absolute;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    width: 100%;
}
.header-item .btn-holder {
    margin-top: 36px;
}
    .header-item .btn-holder a.btn {
        text-transform: uppercase;
    }
.header-item.active {
    opacity: 1;
}
.carousel-bullets {
    display: flex;
    justify-content: flex-start;
}
.carousel-bullet {
    width: 10px;
    height: 10px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.carousel-bullet.active {
    background-color: #555;
}

@media only screen and (max-width: 1800px){
    .navbar-inner {
        padding: 0 15px;
    }

}

@media only screen and (max-width: 1500px){
    
    .page-banner {
        max-width: calc(100% - 80px);
    }

}

@media only screen and (max-width: 1450px) {
    .desktop-logo {
        display: none;
    }
    .mobile-logo {
        display: inline-block;
    }
}

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

    .mio-container .content-section .content-block {
        padding: 0 30px;
    }



}

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

    .signature-inner {
        justify-content: center;
    }

}

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

    .page-banner {
        max-width: calc(100% - 50px);
    }

    .navbar-inner .navbar-right ul li.nav-item a,
    .navbar-inner .navbar-right ul li.nav-item a:active,
    .navbar-inner .navbar-right ul li.nav-item a:visited {
        padding: 30px 15px;
    }

    .content-section .content-block {
        width: 100%;
        max-width: 100%;
    }
    .content-block .content-img {
        width: 100%;
        margin-bottom: 25px;
    }
    .page-content {
        width: 100%;
    }

    .content-section .content-block.reverse .content-img {
        order: 1;
    }
    .content-section .content-block.reverse .content {
        order: 2;
        text-align: left;
    }

    .content-block.reverse .content .btn-holder {
        justify-content: flex-start;
    }

    .footer-section {
        padding: 75px 15px;
    }

    .mio-container .content-section .content-block {
        padding: 0;
        justify-content: unset;
    }

}

.page-content .content-section {
    padding-left: 15px;
    padding-right: 15px;
}

@media only screen and (max-width: 1000px){
    
    .header-buttons {
        display: none;
    }
    .blog-showcase-item .img-holder {
        max-width: 320px;
        max-height: 230px;
    }

}

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

    #mobile-navbar {
        display: block;
    }
    #mobile-menu.mobile-menu-open {
        display: block;
        opacity: 1;
    }
    .desktop-navbar ul li.nav-item {
        display: none;
    }

    .desktop-navbar {
        padding-right: 85px;
    }
    .nav-icons img {
        top: 2px;
    }

    
}

@media only screen and (max-width: 900px) {
    
    #videos .videos-inner {
        gap: 20px;
    }

    .content-section .content-block.contact-block {
        flex-direction: column-reverse;
    }

}

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

    .project-video + .project-images {
        padding-top: 20px;
    }
    
    .project-images .image-grid  {        
        grid-auto-rows: 200px; 
        grid-gap: 20px;    
    }

    .footer-item {
        flex: 1 calc(50% - 30px);
    }

}

@media only screen and (max-width: 800px) {
    .navbar-inner {
        padding: 0 15px;
    }
    .page-banner .header {
        padding: 125px 15px 0 15px;
    }
        .page-banner .header .title {
            font-size: 35px;
        }
        .page-banner .header .text {
            font-size: 28px;
        }

    .wrapper-inner .wrapper-header {
        margin-bottom: 50px;
    }
        .wrapper-inner .wrapper-header .title {
            font-size: 35px;
        }
        .wrapper-inner .wrapper-header .text {
            font-size: 28px;
        }

    .signature-inner {
        row-gap: 20px;
    }
    .signature-inner span {
        width: 100%;
        text-align: center;
    }
        .signature-inner span:after {
            content: "";
            padding: unset;
        }
}

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

    .page-banner {
        max-width: calc(100% - 30px);
    }
    .blog-showcase-item {
        flex-wrap: wrap;
    }

    #videos .videos-inner {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }
}

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

    .footer-section {
        padding: 75px 15px;
    }
    .footer-item:last-child {
        margin-bottom: 0px;
    }



    
    .project-images .image-grid  {        
        grid-auto-rows: 160px;
        grid-gap: 15px;
    }

}

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

    .project-images .image-grid  {        
        grid-auto-rows: 140px;
    }
    .page-banner {
        max-width: calc(100% - 10px);
    }

    .search-input-holder {
        column-gap: 14px;
    }
}

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

    .footer-inner {
        row-gap: 30px;
    }
        .footer-item {
            flex: 1 100%;
        }

}

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

    .showcase-item {
        min-height: 220px;
    }

    .project-images .image-grid  {        
        grid-auto-rows: 100px;
    }
}
/* =========================================================================
   CMS v5 — aanvullingen op de oorspronkelijke GreentoGrow-stijl
   (sliders zonder slick, componenten, mobiel submenu, lightbox, formulieren)
   ========================================================================= */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.website-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
}
body.stop-scrolling {
    overflow: hidden;
}
.btn.disabled {
    opacity: .6;
    pointer-events: none;
}
.btn-holder.center {
    justify-content: center;
}
#after-banner {
    width: 100%;
    height: 0;
}

/* --- Banner --- */
.page-banner .header h1.title {
    font-family: inherit;
}
.page-banner .header .banner-text {
    font-size: 18px;
    margin-top: 20px;
    max-width: 800px;
}
.page-banner .header .btn-holder {
    margin-top: 36px;
}
.page-banner .header .btn-holder a.btn {
    text-transform: uppercase;
}
.banner-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.vimeo-container {
    z-index: 0;
}
.page-banner .banner-img {
    z-index: -1;
}
.page-banner .header-carousel .header-item {
    left: 0;
}

/* --- Generieke slider (functions/slider.js) --- */
.slider-container {
    position: relative;
    width: 100%;
}
.slider {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    /* proximity i.p.v. mandatory: de pijlen mikken exact op een tegel, en het
       eind van de rij (waar geen snappunt ligt) wordt niet teruggetrokken */
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    column-gap: 20px;
    cursor: grab;
    user-select: none;
}
.slider::-webkit-scrollbar {
    display: none;
}
.slider.active {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
}
.slider > * {
    scroll-snap-align: start;
    flex-shrink: 0;
}
.slider-container > .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--wit);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
    cursor: pointer;
    color: var(--orange);
    font-size: 30px;
    transition: transform .3s ease, opacity .3s ease;
}
.slider-container > .arrow > i {
    display: block;
}
.slider-container > .arrow-left  { left: -20px; }
.slider-container > .arrow-right { right: -20px; }
.slider-container > .arrow:hover { transform: translateY(-50%) scale(1.1); }
.slider-container > .arrow.disabled {
    opacity: .3;
    pointer-events: none;
}
.dots-container {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding-bottom: 20px;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #cfd8cc;
    cursor: pointer;
    transition: background-color .3s;
}
.dot.active {
    background-color: var(--orange);
}

/* --- Showcase-tegels (component showcase-block, blogfoto's, projecten) --- */
.showcase-block .content {
    margin-bottom: 20px;
}
.showcase-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}
.showcase-items .showcase-item {
    min-width: 0;
}
.showcase-items.slider {
    display: flex;
    padding: 4px 0 24px;
}
/* Maximaal 3 tegels naast elkaar; bij een klik op de pijl schuift er precies één op.
   De breedte is een derde van de zichtbare ruimte, met de tussenruimtes eraf gerekend. */
.showcase-items.slider .showcase-item {
    flex: 0 0 calc((100% - 40px) / 3);
    min-width: 0;
}
.showcase-item:hover {
    transform: none;
}

/* --- Mio-slider (component mio-block) --- */
.mio-container-inner {
    padding: 0 60px;
}
.mio-container .mio-header {
    padding: 60px 0 0;
}
.mio-slider {
    column-gap: 0;
}
.mio-slider > .content-section {
    flex: 0 0 100%;
    width: 100%;
}
.mio-container .slider-container > .arrow-left  { left: 0; }
.mio-container .slider-container > .arrow-right { right: 0; }
.mio-container:not(.stacked) .content .content-text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 20px;
}

/* --- Certificeringen (component certificeringen-block) --- */
.certificeringen-inner {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    row-gap: 30px;
}
.certificeringen-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 40px;
    width: 100%;
}
.certificeringen-slider img {
    height: 100px;
    width: 180px;
    flex-shrink: 0;
    object-fit: contain;
    margin: 0;
}
.certificeringen-slider.slider {
    justify-content: flex-start;
    padding: 0 10px;
}

/* --- Blog --- */
.blog-grid {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
}
.load-more-holder {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
.blog-info-inner .content .btn-holder {
    margin-top: 30px;
}

/* --- Contact / vacature --- */
.contact-info i,
.footer-item .footer-sub i {
    width: 16px;
    margin-right: 8px;
    text-align: center;
}
.footer-item .footer-sub i {
    color: var(--wit);
    font-size: 13px;
}
.contact-info i {
    color: var(--orange);
}
.form-intro {
    margin-bottom: 20px;
    max-width: 800px;
}
.contact-form input[type="file"] {
    min-height: 0;
    padding: 10px;
    background-color: transparent;
    border: none;
}
.project-location {
    margin-top: 16px;
    color: var(--groen);
}
.project-intro-inner .back-link {
    margin-bottom: 20px;
}
.project-intro .filter-holder {
    margin-top: 20px;
}

/* --- Lightbox --- */
.image-lightbox {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, .85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999999;
    cursor: zoom-out;
}
.image-lightbox.open {
    display: flex;
}
.image-lightbox img {
    max-width: 92vw;
    max-height: 92vh;
    border-radius: 10px;
    object-fit: contain;
}
.image-lightbox .lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 34px;
    cursor: pointer;
}

/* --- Mobiel menu met submenu's --- */
.mobile-menu-inner ul {
    overflow-y: auto;
    justify-content: flex-start;
    padding: 110px 15px 40px;
    row-gap: 22px;
}
.mobile-menu-inner ul li .mobile-nav-item {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 14px;
}
.mobile-nav-arrow {
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: transform .3s ease;
}
.mobile-menu-inner ul li.open .mobile-nav-arrow {
    transform: rotate(180deg);
}
.mobile-nav-sub {
    display: none;
    flex-direction: column;
    row-gap: 10px;
    padding: 14px 0 0;
    margin: 0;
    list-style: none;
}
.mobile-menu-inner ul li.open .mobile-nav-sub {
    display: flex;
}
.mobile-nav-sub li {
    font-size: 16px;
    padding: 0;
    letter-spacing: 0;
}
.mobile-nav-sub li a {
    letter-spacing: 0;
    font-size: 16px;
}
.mobile-nav-sub li.socials {
    display: flex;
    justify-content: center;
    column-gap: 18px;
    font-size: 20px;
    color: #fff;
}
.mobile-nav-icons {
    display: flex;
    justify-content: center;
    column-gap: 26px;
    font-size: 22px;
    color: #fff;
    margin-top: 10px;
}
.mobile-nav-icons a {
    color: #fff;
}

/* --- Responsief --- */
@media only screen and (max-width: 1250px) {
    .slider-container > .arrow-left  { left: 6px; }
    .slider-container > .arrow-right { right: 6px; }
}
@media only screen and (max-width: 800px) {
    .mio-container-inner {
        padding: 0 15px;
    }
    .slider-container > .arrow {
        width: 44px;
        height: 44px;
        font-size: 24px;
    }
    .page-banner .header .btn-holder {
        margin-top: 24px;
    }
}
@media only screen and (max-width: 600px) {
    .showcase-items.slider .showcase-item {
        flex-basis: 86%;
    }
    .certificeringen-slider img {
        width: 140px;
        height: 80px;
    }
}

/* --- Ons team: kaarten in huisstijl (vervangt de oude .team-card-opmaak) --- */
.team-block {
    padding: 0 15px 90px;
}
.team-block-inner {
    max-width: 1400px;
}
.team-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: stretch;
}
.team-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 40px 28px 34px;
    justify-content: flex-start;
    background-color: #F1F5EF;
    border-radius: 16px;
    transition: transform .3s ease, box-shadow .3s ease;
}
.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 30px -20px rgba(36, 63, 29, .45);
}
.team-card img {
    width: 150px;
    height: 150px;
    margin-bottom: 22px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 4px solid var(--wit);
    box-shadow: 0 0 0 3px var(--orange);
    background-color: var(--wit);
}
.team-card .card-content {
    padding: 0;
    width: 100%;
}
.team-card .name {
    font-size: 21px;
    font-weight: 700;
    color: var(--donkergroen);
    margin-bottom: 8px;
}
.team-card .function {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--orange);
    padding: 0;
    margin-bottom: 20px;
}
.team-card .text {
    width: 100%;
    font-size: 14px;
    line-height: 24px;
    color: var(--donkergroen);
    text-align: left;
}
.team-card .text:empty {
    display: none;
}
.team-card .text p {
    margin: 0 0 10px;
}
.team-card .text p:last-child {
    margin-bottom: 0;
}
@media only screen and (max-width: 600px) {
    .team-cards {
        grid-template-columns: 1fr;
    }
    .team-card {
        max-width: 100%;
        padding: 32px 22px 28px;
    }
}

/* --- Showcase-tegels: rustiger hover (foto zoomt licht in, tekst schuift van onderen omhoog) --- */
.showcase-items .showcase-item {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease;
}
.showcase-items .showcase-item::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
    transition: transform .8s ease;
}
.showcase-items .showcase-item::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    /* de donkere leesbaarheids-gradient blijft staan; de groene tint komt van background-color,
       want een gradient zelf kan de browser niet vloeiend animeren (die klapte direct om) */
    background-image: linear-gradient(180deg, rgba(17, 17, 17, 0) 30%, rgba(17, 17, 17, .7) 100%);
    background-color: rgba(36, 63, 29, 0);
    transition: background-color .5s ease;
}
.showcase-items .showcase-item:hover {
    transform: none;
    box-shadow: 0 14px 28px -16px rgba(0, 0, 0, .55);
}
.showcase-items .showcase-item:hover::before {
    transform: scale(1.06);
}
.showcase-items .showcase-item:hover::after {
    background-color: rgba(36, 63, 29, .55);
}
.showcase-items .showcase-item h1,
.showcase-items .showcase-item h2 {
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .35);
}
.showcase-items .showcase-item .showcase-item-text {
    margin-bottom: 0;
    padding-bottom: 12px;
    transition: none;
}
.showcase-items .showcase-item .showcase-item-text::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    margin-top: 10px;
    border-radius: 3px;
    background-color: var(--orange);
    transition: width .4s ease;
}
.showcase-items .showcase-item:hover .showcase-item-text {
    opacity: 1;
}
.showcase-items .showcase-item:hover .showcase-item-text::after {
    width: 70px;
}
.showcase-items .showcase-item .showcase-alt-header {
    position: relative;
    max-height: 0;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(12px);
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    transition: max-height .45s ease, opacity .35s ease .05s, transform .45s ease;
}
.showcase-items .showcase-item:hover .showcase-alt-header {
    max-height: 120px;
    opacity: 1;
    transform: translateY(0);
}
@media (hover: none) {
    .showcase-items .showcase-item .showcase-alt-header {
        max-height: 120px;
        opacity: 1;
        transform: none;
    }
}

/* =========================================================================
   Sticky navbar + mobiel menu
   ========================================================================= */

:root {
    --nav-h: 100px;        /* hoogte bovenaan de pagina */
    --nav-h-sm: 74px;      /* hoogte zodra er gescrolld wordt */
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    height: var(--nav-h);
    min-height: 0;
    background-color: var(--wit);
    box-shadow: 0 2px 14px rgba(36, 63, 29, 0);
    transition: height .3s ease, box-shadow .3s ease;
}
.navbar.sticky {
    height: var(--nav-h-sm);
    box-shadow: 0 2px 14px rgba(36, 63, 29, .14);
}
/* houdt de ruimte vrij die de vaste navbar inneemt, zodat de pagina niet verspringt */
.navbar-spacer {
    width: 100%;
    height: var(--nav-h);
    flex-shrink: 0;
}
.navbar .navbar-inner {
    height: 100%;
}
.navbar .navbar-left .logo {
    display: flex;
    align-items: center;
    height: 100%;
}
.desktop-logo,
.mobile-logo {
    height: calc(var(--nav-h) - 20px);
    width: auto;
    transition: height .3s ease;
}
.navbar.sticky .desktop-logo,
.navbar.sticky .mobile-logo {
    height: calc(var(--nav-h-sm) - 16px);
}
/* menu-items vullen de volle hoogte, zodat het uitklapmenu direct onder de balk hangt */
.navbar .navbar-right ul > li.nav-item > a {
    padding: 0 20px;
    line-height: var(--nav-h);
    transition: line-height .3s ease, color .3s ease;
}
.navbar.sticky .navbar-right ul > li.nav-item > a {
    line-height: var(--nav-h-sm);
}
.navbar .navbar-right .desktop-navbar > ul > li {
    display: flex;
    align-items: center;
}
.navbar .navbar-right .nav-icons {
    height: var(--nav-h);
    transition: height .3s ease;
}
.navbar.sticky .navbar-right .nav-icons {
    height: var(--nav-h-sm);
}

/* --- Burger --- */
#mobile-navbar {
    position: relative;
    top: auto;
    right: auto;
    z-index: 1;
    display: none;
    align-items: center;
    height: var(--nav-h);
    transition: height .3s ease;
}
.navbar.sticky #mobile-navbar {
    height: var(--nav-h-sm);
}
#mobile-navbar .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 6px 0;
}
#mobile-navbar .menu-bar {
    width: 32px;
    height: 3px;
    margin: 0;
    border-radius: 3px;
    background-color: var(--donkergroen);
    transition: transform .3s ease, opacity .2s ease;
}

/* --- Mobiel menu: schermvullende overlay --- */
#mobile-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    transform: none;
    opacity: 0;
    visibility: hidden;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background-color: rgba(36, 63, 29, .97);
    transition: opacity .3s ease, visibility 0s linear .3s;
    z-index: 10000;
}
#mobile-menu.mobile-menu-open {
    display: flex;
    opacity: 1;
    visibility: visible;
    transition: opacity .3s ease, visibility 0s;
}
.mobile-menu-header {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    padding: 16px 20px;
    background-color: rgba(36, 63, 29, .97);
}
.mobile-menu-header .menu-logo {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
}
.mobile-menu-header .menu-exit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--wit);
    font-size: 24px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, .1);
    transition: background-color .3s ease;
}
.mobile-menu-header .menu-exit:hover {
    background-color: var(--orange);
}
#mobile-menu .mobile-menu-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: auto;
    padding: 20px 0 50px;
}
#mobile-menu .mobile-menu-inner > ul {
    display: block;
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0;
    row-gap: 0;
    text-align: center;
}
#mobile-menu .mobile-menu-inner > ul > li {
    width: 100%;
    padding: 0;
    border: none;
    font-size: 20px;
}
#mobile-menu .mobile-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
}
#mobile-menu .mobile-nav-item > a {
    flex: 0 1 auto;
    padding: 15px 0;
    font-size: 20px;
    letter-spacing: 2px;
    color: var(--wit) !important;
}
#mobile-menu .mobile-nav-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
    cursor: pointer;
    transition: transform .3s ease, color .3s ease;
}
#mobile-menu li.open > .mobile-nav-item > .mobile-nav-arrow {
    transform: rotate(180deg);
    color: var(--orange);
}
#mobile-menu .mobile-nav-sub {
    display: block;
    max-height: 0;
    row-gap: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}
#mobile-menu li.open > .mobile-nav-sub {
    display: block;
    max-height: 460px;
}
#mobile-menu .mobile-nav-sub li {
    width: 100%;
    padding: 0;
    font-size: 16px;
}
#mobile-menu .mobile-nav-sub li a {
    display: block;
    padding: 10px 20px;
    font-size: 16px;
    letter-spacing: 0;
    text-align: center;
    overflow-wrap: anywhere;
    color: rgba(255, 255, 255, .8) !important;
}
#mobile-menu .mobile-nav-sub li a:hover {
    color: var(--wit) !important;
}
#mobile-menu .mobile-nav-sub li.socials {
    display: flex;
    justify-content: center;
    column-gap: 20px;
    padding: 10px 20px 14px;
    font-size: 22px;
    color: var(--wit);
}
#mobile-menu .mobile-nav-icons {
    display: flex;
    justify-content: center;
    column-gap: 28px;
    padding: 26px 20px 0;
    font-size: 22px;
    border: none !important;
}
#mobile-menu .mobile-nav-icons a {
    color: var(--wit);
}

@media only screen and (max-width: 1450px) {
    :root {
        --nav-h: 92px;
        --nav-h-sm: 70px;
    }
}
@media only screen and (max-width: 950px) {
    :root {
        --nav-h: 82px;
        --nav-h-sm: 66px;
    }
    #mobile-navbar {
        display: flex;
    }
    /* alleen de iconen blijven in de balk staan; de menu-items zitten in het uitschuifmenu */
    .navbar .navbar-right .desktop-navbar > ul > li.nav-item {
        display: none;
    }
    .desktop-navbar {
        padding-right: 0;
    }
    .navbar .navbar-right {
        display: flex;
        align-items: center;
        column-gap: 18px;
    }
    /* de burger vervangt het menu: geen kruis meer nodig in de balk zelf */
    #mobile-navbar.navbar-open .bar1,
    #mobile-navbar.navbar-open .bar2,
    #mobile-navbar.navbar-open .bar3 {
        transform: none;
        opacity: 1;
    }
}
@media only screen and (max-width: 600px) {
    :root {
        --nav-h: 74px;
        --nav-h-sm: 62px;
    }
    .mobile-menu-header .menu-logo {
        height: 46px;
    }
}

/* --- Iconen in de navigatiebalk: compacter en netjes op de tekstlijn --- */
.navbar .navbar-right .nav-icons {
    display: flex;
    align-items: center;
    column-gap: 20px;
    margin-left: 16px;
    padding: 0;
}
.navbar .navbar-right .nav-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0;
}
.navbar .navbar-right .nav-icons img {
    top: 0;
    width: 21px;
    height: 21px;
    display: block;
    object-fit: contain;
}
.navbar .navbar-right .nav-icons a:hover img {
    transform: scale(1.08);
}

/* --- Navigatiebalk: alles op één lijn verticaal centreren --- */
.navbar .navbar-right,
.navbar .navbar-right .desktop-navbar,
.navbar .navbar-right .desktop-navbar > ul,
.navbar .navbar-right .desktop-navbar > ul > li {
    display: flex;
    align-items: center;
    height: 100%;
}
.navbar .navbar-right .desktop-navbar > ul > li.nav-icons {
    height: 100%;
    margin-top: 0;
}
/* de link vult de volle balkhoogte, zodat het uitklapmenu er strak onder hangt */
.navbar .navbar-right ul > li.nav-item > a,
.navbar.sticky .navbar-right ul > li.nav-item > a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    line-height: 1;
}

.search-loading {
    display: flex;
    align-items: center;
    column-gap: 10px;
    padding: 26px 0;
    font-size: 15px;
    color: #6b6b6b;
}
.search-loading i {
    color: var(--groen);
}

/* =========================================================================
   Zoekpagina (opzet zoals de oorspronkelijke site, met wat nette details)
   ========================================================================= */

.search-container {
    width: 100%;
    max-width: 1200px;
    align-self: center;
    display: flex;
    flex-direction: column;
    row-gap: 30px;
    padding: 60px 15px 80px;
}
.search-input-holder {
    width: 100%;
    display: flex;
    align-items: center;
    column-gap: 20px;
    row-gap: 14px;
    flex-wrap: wrap;
}
#searchInput {
    flex: 1 1 260px;
    min-width: 200px;
    min-height: 50px;
    font-size: 14px;
    padding: 8px 18px;
    outline: none;
    color: #1A1A1A;
    background-color: #ffffff;
    border: 1px solid #E2E2E2;
    border-radius: 10px;
    transition: border-color .3s ease;
}
#searchInput:focus {
    border-color: var(--groen);
}
.search-input-holder .btn-holder a.btn {
    min-height: 50px;
    margin: 0;
}

#searchResult {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
}
.search-resultcount {
    order: 1;
    width: 100%;
    font-size: 16px;
    color: var(--orange);
    font-weight: bold;
    text-align: left;
}
.search-row {
    order: 3;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: #F1F5EF;
    padding: 20px;
    border-radius: 10px;
    transition: box-shadow .3s ease;
}
.search-row.priority {
    order: 2;
}
.search-row:hover {
    box-shadow: 0 10px 22px -18px rgba(36, 63, 29, .6);
}
.search-row .search-link {
    font-size: 14px;
    font-weight: bold;
    color: var(--groen);
    margin-bottom: 10px;
}
.search-row .search-link:hover {
    text-decoration: underline;
}
.search-row h4 {
    margin-bottom: 6px;
    font-size: 17px;
    color: var(--donkergroen);
}
.search-row .search-text {
    font-size: 15px;
    line-height: 24px;
    color: #4d4d4d;
}
.search-row .search-text mark {
    background-color: transparent;
    color: var(--groen);
    font-weight: 700;
}
.search-row .btn-holder {
    margin-top: 20px;
}
.search-row a.btn {
    padding: 8px 12px;
    font-size: 14px;
}
.search-loading {
    display: flex;
    align-items: center;
    column-gap: 10px;
    padding: 10px 0;
    font-size: 15px;
    color: #6b6b6b;
}
.search-loading i {
    color: var(--groen);
}

@media only screen and (max-width: 450px) {
    .search-input-holder {
        column-gap: 14px;
    }
    .search-input-holder .btn-holder,
    .search-input-holder .btn-holder a.btn {
        width: 100%;
    }
}

/* --- Video's: skeleton-laadblok tot de YouTube-speler geladen is --- */
#videos .video-holder {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 20px;
    background-color: #E4EBE1;
}
#videos .video-holder iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 20px;
    opacity: 0;
    transition: opacity .4s ease;
}
#videos .video-holder.loaded iframe {
    opacity: 1;
}
#videos .video-skeleton {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #C3D2BD;
    background: linear-gradient(100deg, #E4EBE1 20%, #F2F6F0 40%, #E4EBE1 60%);
    background-size: 250% 100%;
    animation: skeleton-shine 1.6s ease-in-out infinite;
    transition: opacity .4s ease, visibility 0s linear .4s;
}
#videos .video-holder.loaded .video-skeleton {
    opacity: 0;
    visibility: hidden;
}
@keyframes skeleton-shine {
    from { background-position: 150% 0; }
    to   { background-position: -50% 0; }
}
@media (prefers-reduced-motion: reduce) {
    #videos .video-skeleton {
        animation: none;
    }
}

/* oude vaste hoogte is niet meer nodig: de houder bepaalt de verhouding */
#videos iframe {
    height: auto;
}

/* --- Projectfilter (pagina Ons werk) --- */
.project-intro .filter-holder {
    margin-top: 24px;
}
/* label boven de knoppen, zonder scheidingslijn */
.project-intro .filter {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 12px;
}
.filter-header {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--groen);
    white-space: nowrap;
}
.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.filter-option {
    display: inline-flex;
    align-items: center;
    column-gap: 8px;
    margin: 0;
    padding: 9px 16px;
    font-size: 14px;
    line-height: 1.2;
    color: var(--donkergroen);
    background-color: var(--wit);
    border: 1px solid #DCE4D8;
    border-radius: 30px;
    box-shadow: none;
    cursor: pointer;
    user-select: none;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}
.filter-option:hover {
    border-color: var(--groen);
    color: var(--groen);
}
.filter-option:focus-visible {
    outline: 2px solid var(--groen);
    outline-offset: 2px;
}
.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 20px;
    background-color: #F1F5EF;
    color: var(--groen);
    font-size: 11px;
    font-weight: 700;
    transition: background-color .25s ease, color .25s ease;
}
.filter-option.active {
    background-color: var(--orange);
    border-color: var(--orange);
    color: var(--wit);
    box-shadow: none;
}
.filter-option.active .filter-count {
    background-color: rgba(255, 255, 255, .25);
    color: var(--wit);
}
.filter-option.active:hover {
    color: var(--wit);
}

@media only screen and (max-width: 700px) {
    .filter-option {
        padding: 8px 14px;
        font-size: 13px;
    }
}

/* Tegelrijen: 3 naast elkaar op desktop, 2 op tablet, 1 (met randje van de volgende) op mobiel */
@media only screen and (max-width: 1000px) {
    .showcase-items {
        grid-template-columns: repeat(2, 1fr);
    }
    .showcase-items.slider .showcase-item {
        flex-basis: calc((100% - 20px) / 2);
    }
}
@media only screen and (max-width: 700px) {
    .showcase-items {
        grid-template-columns: 1fr;
    }
    .showcase-items.slider .showcase-item {
        flex-basis: 86%;
    }
}

/* --- Actief menu-item: oranje en vetgedrukt, zonder gloed --- */
.navbar .navbar-right ul > li > a.currentPage,
.navbar .navbar-right .dropdown-menu li a.currentPage {
    color: var(--orange) !important;
    font-weight: 700;
    text-shadow: none;
}

/* --- Verhalen onder elkaar (pagina Ervaringen, blokclass 'stacked') --- */
.mio-container.stacked {
    background-color: transparent;
}
.mio-container.stacked .mio-container-inner {
    max-width: 1200px;
    padding: 0 15px;
}
.mio-stack {
    display: flex;
    flex-direction: column;
}
.mio-stack > .content-section {
    padding: 50px 0;
    border-bottom: 1px solid rgba(36, 63, 29, .12);
}
.mio-stack > .content-section:last-child {
    border-bottom: none;
}
.mio-stack .content-block .content-img .img {
    height: 320px;
    width: 320px;
}
.mio-stack .content-text {
    display: block;
    padding-right: 0;
}
@media only screen and (max-width: 1100px) {
    .mio-stack > .content-section {
        padding: 34px 0;
    }
    .mio-stack .content-block .content-img .img {
        height: 260px;
        width: 260px;
    }
}

/* --- Portfolio: projecten onder elkaar in een raster (geen slider) --- */
.showcase-items.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.showcase-items.projects-grid .showcase-item {
    min-height: 300px;
}
@media only screen and (max-width: 1000px) {
    .showcase-items.projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media only screen and (max-width: 700px) {
    .showcase-items.projects-grid {
        grid-template-columns: 1fr;
    }
    .showcase-items.projects-grid .showcase-item {
        min-height: 260px;
    }
}

/* --- Font Awesome: tekst direct tonen tijdens het laden van het icoonfont ---
   De stylesheet van de CDN zet font-display op 'block', waardoor iconen (en de
   tekst ernaast) even onzichtbaar blijven. Deze regels overschrijven dat met
   'swap'; ze staan bewust ná de CDN-stylesheet in index.php. */
@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/webfonts/fa-solid-900.woff2") format("woff2"),
         url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/webfonts/fa-solid-900.ttf") format("truetype");
}
@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/webfonts/fa-regular-400.woff2") format("woff2"),
         url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/webfonts/fa-regular-400.ttf") format("truetype");
}
@font-face {
    font-family: "Font Awesome 6 Brands";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/webfonts/fa-brands-400.woff2") format("woff2"),
         url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/webfonts/fa-brands-400.ttf") format("truetype");
}
