:root {
    /* Kleuren (Updated User Request) */
    --color-brand-green: #61b01f;
    --color-brand-green-dark: #4a8a17;
    /* Auto-darkened */
    --color-brand-green-light: #f0f9eb;
    /* Auto-lightened */

    --color-accent-blue: #006b8c;
    /* User Specified Teal/Blue */
    --color-accent-blue-bright: #008cb8;
    /* Lighter variant */

    --color-brand-teal: #006b8c;
    --color-brand-teal-dark: #005570;

    --color-text-dark: #1F2937;
    --color-text-grey: #4B5563;
    --color-text-light: #9CA3AF;

    --color-topbar: var(--color-accent-blue);
    /* Solid Blue Topbar */

    --color-border: #e5e7eb;
    --color-bg-page: #f0f3f9;
    --color-bg-offset: #f0f3f9;
    --color-bg-subtle: #f0f3f9;

    /* Spacing System (4px base) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 120px;
    --space-24: 96px;

    /* Typography */
    --font-sans: 'Inter',
        sans-serif;
}

/* ================================================
   IMAGE FIT UTILITIES
   ================================================ */
.img-cover img,
.img-cover > img,
[class*="img-cover"] img {
    object-fit: cover !important;
}

.img-contain img,
.img-contain > img,
[class*="img-contain"] img {
    object-fit: contain !important;
    background-color: var(--color-bg-page);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* WordPress Block Gap Override */
.wp-site-blocks > * + * {
    margin-block-start: 0 !important;
}

.wp-site-blocks > .wp-block-acf-eicom-topbar,
.wp-site-blocks > .wp-block-acf-eicom-header,
.wp-site-blocks > .wp-block-acf-eicom-hero,
.wp-site-blocks > .wp-block-acf-eicom-usp-features,
.wp-site-blocks > .wp-block-acf-eicom-assortiment,
.wp-site-blocks > .wp-block-acf-eicom-content-media,
.wp-site-blocks > .wp-block-acf-eicom-cta-sectie,
.wp-site-blocks > .wp-block-acf-eicom-footer {
    margin: 0 !important;
    padding-top: 0 !important;
}

/* Remove all default WordPress block margins */
.entry-content > *,
.wp-block-post-content > * {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

body .is-layout-flow > * + * {
    margin-block-start: 0 !important;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    /* Will be triggered by JS intersection observer */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-dark);
    background-color: var(--color-bg-page);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Prevent text overflow on mobile */
h1, h2, h3, h4, h5, h6, p, span, a, li {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

@media (max-width: 768px) {
    h1, h2, h3, h4, h5, h6 {
        hyphens: auto;
        -webkit-hyphens: auto;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-4);
    box-sizing: border-box;
}

/* Ensure all sections don't overflow */
section, .wp-block-acf-usp-features, .wp-block-acf-cta-sectie, .wp-block-acf-page-hero {
    max-width: 100%;
    overflow-x: hidden;
}

.text-center {
    text-align: center;
}

.text-white {
    color: white;
}

.text-dark {
    color: var(--color-text-dark);
}

.text-grey {
    color: var(--color-text-grey);
}

.text-brand {
    color: var(--color-brand-green);
}

/* Background Utilities */
.bg-soft-green {
    background-color: var(--color-brand-green-light);
}

.bg-soft-grey {
    background-color: var(--color-bg-page);
    /* Light grey/blueish */
}

.bg-brand-blue {
    background-color: var(--color-accent-blue);
    color: white;
}

/* Section with Blue Overlay (Vercel Style) */
.section-overlay-blue {
    background-color: var(--color-accent-blue);
    color: white;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    /* Create stacking context */
}

.section-overlay-blue::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
}

.overlay-image-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    /* Subtle texture */
    mix-blend-mode: overlay;
    z-index: -1;
    pointer-events: none;
    /* object-fit wordt bepaald door inline style via ACF */
}

/* Responsive Spacing Utility */
.section-padding-large {
    padding: 120px 0;
}

@media (max-width: 768px) {
    .section-padding-large {
        padding: 60px 0;
    }

    :root {
        --space-20: 60px;
    }
}

/* Top Bar */
.top-bar {
    background-color: var(--color-topbar);
    color: white;
    /* White text on blue */
    font-size: 0.8125rem;
    /* Slightly smaller for elegance */
    padding: 10px 0;
    border-bottom: none;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    gap: var(--space-4);
    align-items: center;
}

.authority-badge {
    color: white;
    /* White on blue */
    font-weight: 600;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.top-contact {
    color: white;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.top-contact:hover {
    opacity: 1;
}

.top-bar-right a {
    color: white;
    opacity: 0.95;
    /* Increased contrast */
    font-weight: 600;
}

.top-bar-right a:hover {
    text-decoration: underline;
    opacity: 1;
}

/* Header */
.header {
    height: 100px;
    /* Taller for larger logo */
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-bg-page);
    transition: background-color 0.4s ease, box-shadow 0.4s ease, height 0.4s ease;
}

.header.scrolled {
    background: #fff;
    /* Match Hero Background Tint */
    height: 72px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /* Ensure full width */
    flex-wrap: nowrap;
    /* Prevent wrapping */
}

.logo img {
    height: 64px;
    width: auto;
}

/* Nav & Mega Menu */
.nav-links {
    display: flex;
    height: 100%;
    align-items: center;
    z-index: 1001;
}

.desktop-menu {
    display: flex;
    gap: var(--space-6);
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: 500;
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-2) 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-brand-green);
}

/* Header UI Elements Visibility Defaults (Desktop) */
.header-right-mobile {
    display: none;
    /* Hidden on desktop */
}

.desktop-contact-btn {
    display: inline-flex;
    /* Visible on desktop */
}

.mobile-menu-toggle {
    display: none;
}

/* Mobile Navigation Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    background: white;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) var(--space-4);
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}

.mobile-logo img {
    height: 52px;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--color-text-dark);
    cursor: pointer;
    padding: var(--space-2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    border-radius: 8px;
}

.mobile-menu-close:hover {
    color: var(--color-brand-green);
}

.mobile-menu-body {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-2) 0;
}

/* Mobile Menu List (WordPress menu) */
.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-item {
    border-bottom: 1px solid var(--color-border);
}

.mobile-menu-item > a,
.mobile-menu-link-row > a {
    display: block;
    padding: var(--space-4) var(--space-4);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-dark);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.mobile-menu-item > a:hover,
.mobile-menu-link-row > a:hover {
    background: var(--color-bg-offset);
    color: var(--color-brand-green);
}

.mobile-menu-link-row {
    display: flex;
    align-items: center;
}

.mobile-menu-link-row > a {
    flex: 1;
}

.toggle-submenu {
    background: none;
    border: none;
    padding: var(--space-4) var(--space-4);
    font-size: 1.25rem;
    color: var(--color-text-grey);
    cursor: pointer;
    transition: transform 0.3s ease, color 0.2s;
}

.toggle-submenu:hover {
    color: var(--color-brand-green);
}

.toggle-submenu.open i {
    transform: rotate(180deg);
}

.mobile-submenu {
    display: none;
    background: var(--color-bg-offset);
    padding: var(--space-2) 0;
}

.mobile-submenu.open {
    display: block;
}

.mobile-submenu a {
    display: block;
    padding: var(--space-3) var(--space-4) var(--space-3) var(--space-8);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-grey);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.mobile-submenu a:hover {
    background: var(--color-border);
    color: var(--color-brand-green);
}

.mobile-menu-footer {
    padding: var(--space-5) var(--space-4);
    border-top: 1px solid var(--color-border);
    background: var(--color-bg-soft);
}

.mobile-menu-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
}

.mobile-contact-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--color-text-dark);
    text-decoration: none;
    font-size: 1.0625rem;
    font-weight: 500;
    transition: color 0.2s;
    padding: var(--space-2) 0;
}

.mobile-contact-link:hover {
    color: var(--color-brand-green);
}

.mobile-contact-link i {
    font-size: 1.5rem;
    color: var(--color-brand-green);
}

.mobile-cta-btn {
    width: 100%;
    justify-content: center;
    padding: var(--space-4) var(--space-6);
    font-size: 1.0625rem;
}

/* Header Adjustments */
@media (max-width: 960px) {
    .header {
        top: 0 !important;
    }

    .nav-links {
        display: none !important;
    }

    .desktop-contact-btn {
        display: none !important;
    }

    .header-right-mobile {
        display: flex !important;
        gap: var(--space-4);
        align-items: center;
    }

    /* Force Row Layout */
    .header-inner {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        padding-left: var(--space-4) !important;
        padding-right: var(--space-4) !important;
    }

    .logo {
        flex-shrink: 0;
        margin-right: auto;
    }

    .logo img {
        height: 52px;
        width: auto;
    }

    /* Visible Toggle */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: none;
        border: 1px solid var(--color-border);
        border-radius: 4px;
        font-size: 1.5rem;
        color: var(--color-text-dark);
        cursor: pointer;
        height: 40px;
        width: 40px;
        padding: 0;
    }
}

/* Dropdown Logic */
.mega-menu,
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    border-radius: var(--space-2);
    z-index: 999;
}

/* Mega Menu specific (assortiment) */
.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    top: 110px;
    padding: var(--space-8) 0;
    border-top: 1px solid var(--color-border);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
}

.mega-column h4 {
    color: var(--color-brand-green);
    margin-bottom: var(--space-3);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mega-column a {
    display: block;
    margin-bottom: var(--space-2);
    color: var(--color-text-grey);
}

.mega-column a:hover {
    color: var(--color-text-dark);
    text-decoration: underline;
}

/* Normal Dropdown */
.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu {
    min-width: 200px;
    padding: var(--space-4);
}

.dropdown-menu a {
    display: block;
    padding: var(--space-2) 0;
    color: var(--color-text-grey);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--space-2);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--color-brand-green);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-brand-green-dark);
}

.btn-secondary {
    border: 2px solid var(--color-brand-green);
    color: var(--color-brand-green);
    font-weight: 700;
}

.btn-secondary:hover {
    background-color: var(--color-brand-green-light);
}

.btn-large {
    padding: var(--space-4) var(--space-8);
    font-size: 1.125rem;
}

.btn-white {
    background: white;
    color: var(--color-brand-green);
}

.btn-outline-white {
    border: 2px solid white;
    color: white;
}

/* Hero (Updated: Full Width Overlay) */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-color: #1F2937;
    background-color: var(--color-text-dark);
    overflow: hidden;
    color: white;
}

.hero-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    /* object-fit wordt bepaald door utility class op parent */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* Linksonder (45deg start) Blue 100% -> Rechtsmidden (approx end) 20% */
    background: linear-gradient(45deg, rgba(0, 107, 140, 1) 5%, rgba(0, 107, 140, 0.2) 60%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text {
    max-width: 45%;
    text-align: left;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: var(--space-6);
}

.hero-text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-8);
    max-width: 60ch;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
    flex-wrap: wrap;
}

/* Trust Bar in Hero */
.hero .trust-bar {
    border-left: 4px solid var(--color-brand-green);
    padding-left: var(--space-4);
    margin-top: var(--space-8);
}

.hero .trust-text {
    color: rgba(255, 255, 255, 0.8);
}

.hero .trust-logos img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* Responsive Hero & Mobile Overrides */
@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
    }

    .hero-bg-wrapper {
        position: absolute !important;
        z-index: 0 !important;
    }

    .hero-text {
        max-width: 100%;
        padding: 0 var(--space-4);
        text-align: left;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    /* Mobile Buttons Row */
    .hero-buttons {
        display: flex;
        justify-content: flex-start;
        flex-wrap: nowrap !important;
        gap: 8px;
        width: 100%;
        overflow-x: visible;
    }

    /* Robust override for buttons on mobile */
    .hero-buttons .btn,
    .hero-buttons .btn.btn-large {
        padding: 10px 14px !important;
        font-size: 0.85rem !important;
        white-space: nowrap;
        width: auto;
        flex: 0 0 auto;
        min-width: 0;
    }

    /* Remove green line on mobile */
    .hero .trust-bar {
        border-left: none;
        padding-left: 0;
        display: flex;
        justify-content: flex-start;
        width: 100%;
    }
}

/* Trust Bar Base Styles */
.organic-shape-2 {
    border-radius: 40% 60% 70% 30% / 50% 30% 70% 50% !important;
    box-shadow: -20px 20px 0px rgba(97, 176, 31, 0.1);
}

.trust-bar {
    border-left: 4px solid var(--color-brand-green);
    padding-left: var(--space-4);
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.trust-logos img {
    height: 32px;
    filter: grayscale(100%);
    opacity: 0.7;
}

.trust-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Features Split */
.features {
    padding: var(--space-20) 0;
    cursor: default;
}

.features-split {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-16);
    align-items: start;
}

@media (max-width: 960px) {
    .features-split {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .content-row {
        flex-direction: column !important;
    }

    .content-image-wrapper,
    .content-text {
        width: 100% !important;
    }
}

.features-intro h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.features-intro p {
    font-size: 1.125rem;
    color: var(--color-text-grey);
    margin-bottom: var(--space-8);
}

.link-arrow {
    color: var(--color-brand-green);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.features-list {
    display: grid;
    gap: var(--space-4);
}

.feature-card {
    display: flex;
    gap: var(--space-6);
    padding: var(--space-6);
    border-radius: var(--space-4);
    background: white;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background-color: var(--color-bg-offset);
    border-color: transparent;
    box-shadow: none;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--color-accent-blue);
    background: rgba(0, 107, 140, 0.05);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.feature-card:hover .feature-icon {
    background: rgba(0, 107, 140, 0.1);
    color: var(--color-accent-blue);
    transform: scale(1.05);
}

.feature-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-1);
}

.feature-content p {
    color: var(--color-text-grey);
    font-size: 0.95rem;
}

/* Brand Cards (Vercel Style) */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.brand-card {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.brand-card:hover .brand-bg {
    transform: scale(1.05);
}

.brand-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
    z-index: -2;
    /* object-fit wordt bepaald door inline style via ACF */
}

.brand-overlay {
    position: absolute;
    inset: 0;
    /* Gradient from bottom (Dark Blue) to Top (Transparent) */
    background: linear-gradient(to top, rgba(0, 107, 140, 0.95) 0%, rgba(0, 107, 140, 0.5) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: -1;
}

.brand-content {
    padding: var(--space-6);
    color: white;
    position: relative;
    z-index: 1;
}

.brand-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-2);
    color: white;
}

.brand-badge.green {
    background: var(--color-brand-green);
    color: white;
}

.brand-content h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: var(--space-2);
    line-height: 1.1;
}

.brand-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .brand-grid {
        grid-template-columns: 1fr;
    }
}

/* Restoring Products Section */
.products-section {
    padding: var(--space-20) 0;
    background: var(--color-bg-offset);
}

.section-header {
    margin-bottom: var(--space-12);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: var(--space-2);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-grey);
    margin-bottom: var(--space-12);
}

/* About Section Fix */
.about-section {
    padding: var(--space-20) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

@media (max-width: 960px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.about-actions {
    display: flex;
    gap: var(--space-4);
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: var(--space-4);
}

/* 404 Error Page */
.error-404-section {
    background: linear-gradient(180deg, var(--color-bg-page) 0%, white 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-404-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.error-404-title {
    color: rgba(97, 176, 31, 0.25) !important;
    text-shadow: none;
    line-height: 1 !important;
    margin-bottom: var(--space-4) !important;
}

.error-404-section .wp-block-buttons {
    gap: var(--space-4);
}

.error-404-section .wp-block-button {
    margin: 0;
    background: transparent !important;
}

.error-404-section .wp-block-button__link {
    padding: var(--space-3) var(--space-6) !important;
    border-radius: 6px !important;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
    outline: none !important;
    box-shadow: none !important;
}

.error-404-section .wp-block-button.btn-primary {
    background: transparent !important;
}

.error-404-section .wp-block-button.btn-primary .wp-block-button__link {
    background: var(--color-brand-green) !important;
    color: white !important;
    border: none !important;
}

.error-404-section .wp-block-button.btn-primary .wp-block-button__link:hover {
    background: var(--color-brand-green-dark) !important;
}

.error-404-section .wp-block-button.btn-secondary,
.error-404-section .wp-block-button.btn-secondary .wp-block-button__link {
    background: white !important;
    color: var(--color-text-dark) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 6px !important;
}

.error-404-section .wp-block-button.btn-secondary {
    border: none !important;
}

.error-404-section .wp-block-button.btn-secondary .wp-block-button__link:hover {
    border-color: var(--color-brand-green) !important;
    color: var(--color-brand-green) !important;
}

/* Footer (Light Theme) */
.footer {
    background: white;
    color: var(--color-text-grey);
    padding: var(--space-20) 0 var(--space-8);
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-12);
    margin-bottom: var(--space-16);
}

.footer h4 {
    color: var(--color-text-dark);
    margin-bottom: var(--space-4);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Footer Accordion - Desktop: altijd open, geen toggle zichtbaar */
.footer-accordion-toggle {
    display: block;
    background: none;
    border: none;
    padding: 0;
    cursor: default;
    width: 100%;
    text-align: left;
}

.footer-accordion-toggle i {
    display: none;
}

.footer-accordion-content {
    display: block;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: var(--space-2);
}

.footer ul li a {
    color: var(--color-text-grey);
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}

.footer ul li a:hover {
    color: var(--color-brand-green);
    padding-left: 4px;
}

.footer-certs {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
    overflow: visible;
}

.footer-cert-logo {
    display: flex;
    align-items: center;
}

.footer-cert-logo img {
    height: 32px !important;
    width: auto !important;
    max-width: none;
    object-fit: contain;
}

.footer-cert-name {
    color: #666;
    font-family: monospace;
    font-size: 0.875rem;
}

.footer-cert-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: var(--space-3);
    font-size: 0.875rem;
    color: var(--color-brand-green);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-cert-link:hover {
    color: var(--color-brand-green-dark);
}

.footer-cert-link i {
    transition: transform 0.2s ease;
}

.footer-cert-link:hover i {
    transform: translateX(3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-6);
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.footer-credits {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-credits:hover {
    color: var(--color-brand-green);
}

/* Responsive Global */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .features-split {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* Hide contact links on mobile - they are in hamburger menu */
    .top-bar-right {
        display: none;
    }

    .top-bar-inner {
        justify-content: center;
    }

    .top-bar-left {
        justify-content: center;
    }

    .header-inner {
        flex-direction: column;
        height: auto;
        padding: var(--space-4) 0;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .header.scrolled {
        height: auto;
    }

    /* Homepage Logic Additions */
    .hero {
        padding: var(--space-10) 0;
    }

    .hero-content {
        gap: var(--space-8);
        text-align: left;
    }

    .hero-text h1 {
        font-size: 2.25rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        text-align: left;
    }

    .footer-certs {
        justify-content: flex-start;
    }

    /* Footer Accordion voor mobiel */
    .footer-accordion-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0;
        background: none;
        border: none;
        border-bottom: 1px solid var(--color-border);
        padding-bottom: var(--space-3);
        margin-bottom: var(--space-3);
        cursor: pointer;
    }

    .footer-accordion-toggle h4 {
        margin: 0;
    }

    .footer-accordion-toggle i {
        display: block;
        color: var(--color-text-light);
        transition: transform 0.3s ease;
        font-size: 1.25rem;
    }

    .footer-accordion-toggle[aria-expanded="true"] i {
        transform: rotate(180deg);
    }

    .footer-accordion-content {
        display: none;
        padding-top: var(--space-2);
    }

    .footer-accordion-content.is-open {
        display: block;
    }

    .footer-grid {
        gap: var(--space-4);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-2);
        text-align: center;
    }

    .trust-bar {
        border-left: none;
        border-top: 4px solid var(--color-brand-green);
        padding-left: 0;
        padding-top: var(--space-4);
        margin-top: var(--space-4);
    }

    .trust-logos {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

/* WordPress Admin Bar Fix */
body.admin-bar .header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .header {
        top: 46px;
    }
}

/* Content Row Layout */
.content-section {
    padding: 64px 0;
}

.content-section.bg-soft-grey {
    background-color: var(--color-bg-page);
}

.content-row {
    display: flex;
    align-items: center;
    gap: var(--space-12);
}

.content-text {
    flex: 1;
    padding-top: 40px;
    padding-bottom: 40px;
}

.content-image-wrapper {
    flex: 1;
    position: relative;
    border-radius: var(--space-4);
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    background: #f1f5f9;
}

.content-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    /* object-fit wordt bepaald door inline style via ACF */
}

@media (max-width: 900px) {
    .content-row {
        flex-direction: column;
        gap: var(--space-8);
    }

    .content-image-wrapper {
        order: -1;
        width: 100%;
        min-height: 280px;
        aspect-ratio: 16/10;
    }

    .content-text {
        order: 1;
        padding-top: 0;
        padding-bottom: 0;
    }
}

@media (max-width: 640px) {
    .content-image-wrapper {
        min-height: 220px;
        aspect-ratio: 4/3;
    }
}

/* ================================================
   PAGE HERO - Inner Pages (exact match original)
   ================================================ */
.page-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero.small {
    min-height: 400px;
    padding: 120px 0;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
    color: white;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.page-hero-content {
    max-width: 600px;
    text-align: left;
}

.page-hero .breadcrumbs {
    font-size: 0.875rem;
    margin-bottom: var(--space-4);
    opacity: 0.9;
}

.page-hero .breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.page-hero .breadcrumbs li {
    display: flex;
    align-items: center;
}

.page-hero .breadcrumbs a {
    color: white;
    text-decoration: none;
}

.page-hero .breadcrumbs a:hover {
    text-decoration: underline;
}

.page-hero .breadcrumbs .separator {
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.page-hero .breadcrumbs .current {
    color: white;
    font-weight: 500;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-4);
    color: white;
}

.page-hero p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: var(--space-6);
    line-height: 1.6;
    color: white;
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 300px;
        padding: 80px 0;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero .container {
        max-width: 100%;
    }
}

/* ================================================
   VOOR WIE SECTIE
   ================================================ */
.voor-wie-section {
    padding: 64px 0;
    background: white;
}

.voor-wie-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.voor-wie-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-8);
    color: var(--color-text-dark);
}

.voor-wie-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.voor-wie-item {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.voor-wie-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--color-brand-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.voor-wie-item-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-1);
    color: var(--color-text-dark);
}

.voor-wie-item-content p {
    font-size: 0.9375rem;
    color: var(--color-text-grey);
    line-height: 1.5;
}

.voor-wie-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
}

/* Content image wrapper - rounded corners */
.content-image-wrapper {
    border-radius: 16px;
    overflow: hidden;
}

.content-image-wrapper img {
    border-radius: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    /* object-fit wordt bepaald door inline style via ACF */
}

/* Market items (Voor wie sectie) */
.market-list {
    flex: 1;
}

.market-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.market-item {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.market-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--color-brand-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.market-item-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-1);
    color: var(--color-text-dark);
}

.market-item-content p {
    font-size: 0.9375rem;
    color: var(--color-text-grey);
    line-height: 1.5;
}

@media (max-width: 900px) {
    .voor-wie-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .voor-wie-image {
        order: -1;
    }
}

/* ================================================
   KWALITEIT SECTIE
   ================================================ */
.kwaliteit-section {
    padding: 64px 0;
    background: transparent;
}

.kwaliteit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.kwaliteit-image img {
    width: 100%;
    height: auto;
    border-radius: var(--space-4);
}

.kwaliteit-content {
    flex: 1;
    padding-top: 40px;
    padding-bottom: 40px;
}

.kwaliteit-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--color-text-dark);
}

.kwaliteit-content p {
    font-size: 1rem;
    color: var(--color-text-grey);
    line-height: 1.6;
    margin-bottom: var(--space-6);
}

.kwaliteit-logos {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.kwaliteit-logos img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.cert-badge {
    background: var(--color-bg-offset);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--space-1);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

@media (max-width: 900px) {
    .kwaliteit-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .kwaliteit-image {
        order: -1;
    }
}

/* ================================================
   TIMELINE / HISTORIE SECTIE - CORPORATE STYLE
   ================================================ */
.timeline-section-corporate {
    background: var(--color-bg-page);
    padding: 120px 0;
}

.section-header-center {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-header-center h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--color-text-dark);
}

.section-header-center p {
    font-size: 1.125rem;
    color: var(--color-text-grey);
}

.timeline-container-scroll {
    position: relative;
    padding: var(--space-12) 0;
    overflow-x: auto;
    scrollbar-width: none;
    height: fit-content;
}

.timeline-container-scroll::-webkit-scrollbar {
    display: none;
}

.timeline-track {
    position: relative;
    display: flex;
    justify-content: space-between;
    min-width: 900px;
    padding: 180px var(--space-8);
}

.timeline-track::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: black;
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-node {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.timeline-node::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    background: var(--color-brand-green);
    border: 4px solid white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 1px black;
}

.timeline-content-wrapper {
    position: absolute;
    width: 200px;
    text-align: left;
}

.timeline-node:nth-child(odd) .timeline-content-wrapper {
    bottom: 50%;
    margin-bottom: var(--space-8);
}

.timeline-node:nth-child(even) .timeline-content-wrapper {
    top: 50%;
    margin-top: var(--space-8);
}

.timeline-year {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    background: var(--color-brand-green);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: var(--space-2);
}

.timeline-title {
    font-weight: 700;
    color: var(--color-brand-green-dark);
    margin-bottom: var(--space-1);
}

.timeline-desc {
    font-size: 0.9rem;
    color: var(--color-text-grey);
    line-height: 1.5;
}

/* Sub-hoogtepunten */
.timeline-sub-items {
    margin-top: var(--space-3);
    padding-top: var(--space-2);
    border-top: 1px dashed var(--color-border);
}

.timeline-sub-item {
    display: block;
    margin-bottom: var(--space-1);
    font-size: 0.8rem;
    color: var(--color-text-grey);
    line-height: 1.4;
}

.timeline-sub-item:last-child {
    margin-bottom: 0;
}

.timeline-sub-year {
    font-weight: 600;
    color: var(--color-brand-green);
    margin-right: var(--space-1);
}

.timeline-sub-text {
    color: var(--color-text-grey);
}

@media (max-width: 768px) {
    .timeline-container-scroll {
        padding-top: 0;
        padding-right: 0;
        padding-bottom: 0;
        margin: 0 calc(var(--space-6) * -1);
        width: calc(100% + var(--space-12));
        padding-left: var(--space-6);
    }

    .timeline-track {
        min-width: 1000px;
        padding-top: 150px;
        padding-bottom: 150px;
        height: 400px;
    }

    .timeline-track::before {
        top: 50%;
    }
}

/* ================================================
   POPUP
   ================================================ */
.eicom-popup {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.eicom-popup.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.eicom-popup .popup-content {
    position: relative;
    background: white;
    border-radius: 8px;
    padding: var(--space-6);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    max-width: 420px;
    width: calc(100vw - var(--space-16));
}

.eicom-popup .popup-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-light);
    transition: color 0.2s ease;
}

.eicom-popup .popup-close:hover {
    color: var(--color-text-dark);
}

.eicom-popup .popup-close i {
    font-size: 1.125rem;
}

.eicom-popup .popup-titel {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin: 0 0 var(--space-2) 0;
    padding-right: var(--space-8);
    line-height: 1.25;
}

.eicom-popup .popup-tekst {
    font-size: 1rem;
    color: var(--color-text-grey);
    margin: 0 0 var(--space-5) 0;
    line-height: 1.6;
}

.eicom-popup .popup-tekst p {
    margin: 0 0 var(--space-3) 0;
}

.eicom-popup .popup-tekst p:last-child {
    margin-bottom: 0;
}

.eicom-popup .popup-tekst a {
    color: var(--color-brand-green);
    text-decoration: underline;
}

.eicom-popup .popup-tekst a:hover {
    color: var(--color-brand-green-dark);
}

.eicom-popup .popup-tekst strong {
    font-weight: 600;
    color: var(--color-text-dark);
}

.eicom-popup .popup-buttons {
    display: flex;
    gap: var(--space-3);
}

.eicom-popup .popup-btn-primair {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-5);
    font-size: 0.9375rem;
    font-weight: 600;
    background: var(--color-brand-green);
    color: white;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.eicom-popup .popup-btn-primair:hover {
    background: var(--color-brand-green-dark);
}

.eicom-popup .popup-btn-secundair {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-5);
    font-size: 0.9375rem;
    font-weight: 500;
    background: none;
    border: none;
    color: var(--color-text-grey);
    border-radius: 6px;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
    text-decoration: none;
}

.eicom-popup .popup-btn-secundair:hover {
    background: var(--color-background-gray, #f5f5f5);
    color: var(--color-text-dark);
}

/* Responsive Popup */
@media (max-width: 640px) {
    .eicom-popup {
        bottom: var(--space-4);
        right: var(--space-4);
        left: var(--space-4);
    }

    .eicom-popup .popup-content {
        max-width: none;
        width: 100%;
        padding: var(--space-5);
    }

    .eicom-popup .popup-titel {
        font-size: 1.25rem;
    }

    .eicom-popup .popup-buttons {
        flex-direction: column;
    }
}
