:root {
            --red-primary: #FF1F1F; /* Neon Red */
            --bg-body: #050505;
            --bg-panel: #0f0f0f;
            --text-main: #ffffff;
            --text-muted: #a0a0a0;
            --border-light: rgba(255, 255, 255, 0.1);
            --nav-glass: rgba(5, 5, 5, 0.98);
        }

        /* --- BASIS --- */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        
        body {
            font-family: 'Manrope', sans-serif;
            background-color: var(--bg-body);
            color: var(--text-main);
            line-height: 1.8;
            overflow-x: hidden;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        h1, h2, h3, h4 {
            font-family: 'Montserrat', sans-serif;
            text-transform: uppercase;
            letter-spacing: -0.02em;
            color: white;
            word-break: normal;
            overflow-wrap: normal;
            hyphens: manual;
        }

        a { text-decoration: none; color: inherit; transition: 0.3s; }
        ul { list-style: none; }
        img { width: 100%; height: auto; display: block; }

        .skip-link {
            position: absolute;
            left: -9999px;
            top: auto;
            width: 1px;
            height: 1px;
            overflow: hidden;
            z-index: 2000;
        }

        .skip-link:focus-visible {
            left: 16px;
            top: 16px;
            width: auto;
            height: auto;
            padding: 10px 14px;
            background: #111;
            color: #fff;
            border: 1px solid var(--red-primary);
            box-shadow: 0 0 0 2px rgba(255, 31, 31, 0.25);
        }

        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        a:focus-visible,
        button:focus-visible,
        [role="button"]:focus-visible,
        input:focus-visible,
        textarea:focus-visible {
            outline: 2px solid var(--red-primary);
            outline-offset: 2px;
        }

        /* --- UTILS --- */
        .container { max-width: 1400px; margin: 0 auto; padding: 0 5%; }
        .text-red { color: var(--red-primary); }
        .fade-in { animation: fadeIn 0.8s ease forwards; opacity: 0; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

        /* --- HEADER & NAVIGATIE --- */
        header {
            position: fixed; top: 0; width: 100%; z-index: 1000;
            background: var(--nav-glass);
            border-bottom: 1px solid var(--border-light);
            backdrop-filter: blur(10px);
            height: 90px;
        }

        .nav-wrapper {
            display: flex; justify-content: space-between; align-items: center; height: 100%;
        }

        .logo { display: flex; align-items: center; gap: 15px; font-weight: 700; font-size: 1.1rem; letter-spacing: 0.05em; }

        /* New image logo */
        .logo-img {
            height: 66px; /* was 44px */
            width: auto;
            display: block;
            object-fit: contain;
        }

        .logo-text {
            display: flex;
            flex-direction: column;
            line-height: 1.05;
        }

        .logo-tagline {
            font-size: 0.8rem; /* was inline 0.6rem */
            color: var(--red-primary);
            font-weight: 500;
            letter-spacing: 2px;
        }

        @media (max-width: 900px) {
            .logo-img { height: 54px; } /* was 38px */
            .logo { gap: 12px; }
            .logo-tagline { font-size: 0.75rem; }
        }

        @media (max-width: 520px) {
            .logo-img { height: 48px; } /* was 34px */
            .logo { gap: 10px; }
            .logo-text span:first-child { font-size: 1rem; }
            .logo-tagline { font-size: 0.72rem; letter-spacing: 1.6px; }
        }
        
        .nav-menu { display: flex; gap: 40px; height: 100%; align-items: center; }

        .menu-toggle {
            display: none;
            width: 44px;
            height: 44px;
            border: 1px solid var(--border-light);
            background: #101010;
            color: #fff;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: 0.3s;
        }

        .menu-toggle:hover {
            border-color: var(--red-primary);
            color: var(--red-primary);
        }
        
        .nav-item { position: relative; height: 100%; display: flex; align-items: center; cursor: pointer; }
        .nav-link { 
            font-size: 0.9rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px;
            position: relative; transition: color 0.3s; display: flex; align-items: center; gap: 5px; height: 100%;
        }
        
        /* Underline Effect */
        .nav-link::after {
            content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px;
            background: var(--red-primary); transition: width 0.3s ease; box-shadow: 0 -2px 10px var(--red-primary);
        }
        .nav-link.active { color: white; }
        .nav-link.active::after { width: 100%; }
        .nav-link:hover { color: white; }
        .nav-chevron { font-size: 0.7em; margin-left: 5px; }

        /* --- DROPDOWN MENU OPTIMIZED --- */
        .dropdown {
            position: absolute; 
            top: 100%; /* Plaatst het direct onder de header */
            left: 0;   /* Lijnt strak uit met de linkerkant van 'Diensten' */
            background: #0a0a0a; 
            border: 1px solid var(--border-light); 
            border-top: 2px solid var(--red-primary);
            width: 260px; 
            opacity: 0; 
            visibility: hidden; 
            transform: translateY(10px); 
            transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1); /* Soepelere animatie */
            box-shadow: 0 20px 40px rgba(0,0,0,0.9); /* Diepere schaduw voor leesbaarheid */
            display: flex; 
            flex-direction: column;
            z-index: 1001;
            padding: 5px 0;
        }
        
        /* Dropdown Trigger */
        .nav-item:hover .dropdown, .dropdown:hover { 
            opacity: 1; 
            visibility: visible; 
            transform: translateY(0); 
        }
        
        .dropdown-link {
            padding: 15px 25px; 
            border-bottom: 1px solid rgba(255,255,255,0.03); 
            font-size: 0.85rem; 
            color: #ccc;
            display: flex; 
            align-items: center; 
            justify-content: space-between;
            background: #0a0a0a;
            transition: all 0.2s ease;
        }
        .dropdown-link:last-child { border-bottom: none; }
        .dropdown-link:hover { background: #151515; color: white; padding-left: 30px; }
        .dropdown-link i { font-size: 0.8em; color: var(--red-primary); opacity: 0; transition: 0.3s; }
        .dropdown-link:hover i { opacity: 1; transform: translateX(5px); }

        .cta-header {
            border: 1px solid var(--red-primary); color: var(--red-primary); padding: 10px 24px;
            font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
            display: flex; align-items: center; gap: 8px; transition: 0.3s;
        }
        .cta-header:hover { background: var(--red-primary); color: white; box-shadow: 0 0 20px rgba(255, 31, 31, 0.3); }
        .cta-header-primary { background: var(--red-primary); color: white; cursor: pointer; }
        .cta-header-light { border-color: white; color: white; cursor: pointer; }
        .cta-header-inline {
            display: inline-flex;
            width: auto;
            justify-content: center;
        }

        .mobile-menu {
            position: fixed;
            top: 90px;
            left: 0;
            width: 100%;
            height: calc(100vh - 90px);
            background: rgba(4, 4, 4, 0.72);
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            backdrop-filter: blur(4px);
            transition: opacity 0.25s ease, visibility 0.25s ease;
            overflow: hidden;
        }

        .mobile-menu.open {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }

        .mobile-menu-inner {
            width: min(360px, 92vw);
            height: 100%;
            margin-left: auto;
            border-left: 1px solid rgba(255,255,255,0.12);
            background: linear-gradient(180deg, #0b0b0b 0%, #090909 100%);
            box-shadow: -24px 0 40px rgba(0,0,0,0.5);
            transform: translateX(16px);
            opacity: 0;
            transition: transform 0.28s ease, opacity 0.28s ease;
            overflow-y: auto;
        }

        .mobile-menu.open .mobile-menu-inner {
            transform: translateX(0);
            opacity: 1;
        }

        .mobile-menu-close {
            width: 100%;
            border: 0;
            border-bottom: 1px solid rgba(255,255,255,0.08);
            background: rgba(255,255,255,0.02);
            color: #fff;
            padding: 13px 16px;
            text-align: left;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.9px;
            font-size: 0.78rem;
            cursor: pointer;
        }

        .mobile-link {
            display: block;
            padding: 12px 16px;
            border-bottom: 1px solid rgba(255,255,255,0.05);
            color: #d7d7d7;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.6px;
            font-size: 0.8rem;
        }

        .mobile-link:hover {
            color: #fff;
            background: #121212;
            padding-left: 20px;
        }

        .mobile-link.group-title {
            color: var(--red-primary);
            background: rgba(255, 31, 31, 0.04);
            font-size: 0.73rem;
            letter-spacing: 1.2px;
            cursor: default;
        }

        .mobile-link.group-title:hover {
            padding-left: 16px;
        }

        @media (prefers-reduced-motion: reduce) {
            * {
                animation: none !important;
                transition: none !important;
            }
            html { scroll-behavior: auto; }
        }

        main { padding-top: 90px; flex-grow: 1; }

        /* --- HERO SECTIONS --- */
        .page-hero {
            height: 50vh; position: relative; display: flex; align-items: center; overflow: hidden;
            border-bottom: 1px solid var(--border-light);
        }
        .hero-full { height: 100vh; }
        
        .hero-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
            pointer-events: none;
        }
        .hero-bg img {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;
            filter: brightness(0.4) grayscale(100%) contrast(1.2);
            animation: slowZoom 20s infinite alternate;
        }
        @keyframes slowZoom { from { transform: scale(1); } to { transform: scale(1.1); } }

        .hero-content { position: relative; z-index: 2; max-width: 900px; }
        .hero-label { color: var(--red-primary); font-weight: 700; letter-spacing: 3px; font-size: 0.8rem; margin-bottom: 20px; display: block; }
        .hero-title { font-size: clamp(3rem, 5vw, 5rem); line-height: 1.08; margin-bottom: 30px; font-weight: 300; }
        .hero-title strong { font-weight: 800; color: white; }
        .subpage-hero .hero-content { max-width: 1100px; }
        .subpage-hero .hero-title strong { display: block; font-size: 0.72em; font-weight: 700; line-height: 1.02; margin-top: 0.08em; }
        .gallery-hero .hero-content { max-width: 1100px; }
        .gallery-hero .hero-title strong { display: block; font-size: 0.72em; font-weight: 700; line-height: 1.02; margin-top: 0.08em; }

        .home-hero-actions {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
        }
        .home-hero-lead { font-size: 1.2rem; color: #ccc; max-width: 680px; margin-bottom: 40px; }
        .home-hero-support { font-size: 1rem; color: #b8b8b8; max-width: 760px; margin: -12px 0 40px 0; }
        .sticky-title-copy { color: var(--text-muted); }
        .process-intro { color: #b8b8b8; max-width: 900px; }
        .defer-render { content-visibility: auto; contain-intrinsic-size: 1px 900px; }

        /* --- CONTENT --- */
        .section-padding { padding: 120px 0; } /* Meer witruimte voor high-end look */
        .bg-dark { background: var(--bg-body); }
        .bg-panel { background: var(--bg-panel); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
        .bg-machine {
            background: linear-gradient(135deg, #0f0f0f 0%, #181818 52%, #111111 100%);
            border-top: 1px solid rgba(255, 31, 31, 0.25);
            border-bottom: 1px solid rgba(255, 31, 31, 0.25);
        }
        .bg-industrie {
            background: linear-gradient(135deg, #101010 0%, #1a1a1a 45%, #121212 100%);
            border-top: 1px solid rgba(255, 31, 31, 0.3);
            border-bottom: 1px solid rgba(255, 31, 31, 0.3);
        }
        .bg-keuring {
            background: linear-gradient(135deg, #121212 0%, #1c1c1c 50%, #141414 100%);
            border-top: 1px solid rgba(255, 31, 31, 0.3);
            border-bottom: 1px solid rgba(255, 31, 31, 0.3);
        }
        .bg-renovatie {
            background: linear-gradient(135deg, #101010 0%, #191919 50%, #121212 100%);
            border-top: 1px solid rgba(255, 31, 31, 0.3);
            border-bottom: 1px solid rgba(255, 31, 31, 0.3);
        }
        .bg-qbus {
            background: linear-gradient(135deg, #111111 0%, #1b1b1b 50%, #141414 100%);
            border-top: 1px solid rgba(255, 31, 31, 0.35);
            border-bottom: 1px solid rgba(255, 31, 31, 0.35);
        }

        .content-split { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
        .content-split-start { align-items: flex-start; gap: 80px; }
        .content-image-frame { border: 1px solid #333; filter: grayscale(100%) brightness(0.75) contrast(1.1); }
        .text-block h3 { font-size: 2rem; margin-bottom: 25px; line-height: 1.12; max-width: none; }
        .text-block p { color: var(--text-muted); margin-bottom: 30px; font-size: 1.05rem; }
        
        .feature-list li {
            display: flex; gap: 15px; margin-bottom: 20px; align-items: flex-start;
            border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 20px;
        }
        .feature-list i { color: var(--red-primary); margin-top: 5px; }
        .feature-list h4 { font-size: 1rem; margin-bottom: 5px; letter-spacing: 0; }
        .feature-list p { margin-bottom: 0; font-size: 0.9rem; }

        /* --- SERVICES GRID --- */
        .services-wrapper { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; }
        .sticky-title { position: sticky; top: 120px; height: fit-content; }
        .sticky-title h2 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1; max-width: none; }
        .accent-line { width: 50px; height: 4px; background: var(--red-primary); margin: 20px 0 30px; box-shadow: 0 0 15px var(--red-primary); }
        .accent-line-centered { margin: 20px auto; }
        .section-heading {
            font-size: clamp(2rem, 4vw, 3rem);
            line-height: 1.08;
            margin-bottom: 10px;
            max-width: none;
        }
        .section-copy { color: #b8b8b8; }
        .section-copy-wide { max-width: 980px; margin-bottom: 28px; }
        .section-copy-medium { max-width: 960px; margin-bottom: 28px; }
        .section-copy-compact { max-width: 900px; }
        .service-intro-copy { color: var(--text-muted); }
        
        .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
        .seo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
        .seo-card {
            background: #111;
            border: 1px solid var(--border-light);
            padding: 28px;
            transition: 0.3s;
        }
        .seo-card:hover {
            border-color: var(--red-primary);
            transform: translateY(-4px);
        }
        .seo-card h3 { font-size: 1.05rem; margin-bottom: 12px; }
        .seo-card p { color: #b0b0b0; font-size: 0.95rem; margin: 0; }
        .local-presence-layout {
            gap: 70px;
            align-items: stretch;
        }
        .local-presence-visual {
            position: relative;
            min-height: 560px;
            overflow: hidden;
            border: 1px solid rgba(255,255,255,0.08);
            background: #0a0a0a;
        }
        .local-presence-visual img {
            height: 100%;
            object-fit: cover;
            filter: grayscale(100%) brightness(0.52) contrast(1.08);
        }
        .local-presence-visual::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(5,5,5,0.08) 0%, rgba(5,5,5,0.68) 72%, rgba(5,5,5,0.92) 100%);
        }
        .local-presence-badge {
            position: absolute;
            left: 24px;
            right: 24px;
            bottom: 24px;
            z-index: 1;
            display: grid;
            gap: 6px;
            padding: 20px 22px;
            background: rgba(8,8,8,0.84);
            border-left: 3px solid var(--red-primary);
            backdrop-filter: blur(6px);
        }
        .local-presence-badge span {
            color: var(--red-primary);
            font-size: 0.76rem;
            font-weight: 700;
            letter-spacing: 1.6px;
            text-transform: uppercase;
        }
        .local-presence-badge strong {
            color: #fff;
            font-size: 1.25rem;
            font-family: 'Montserrat', sans-serif;
            text-transform: uppercase;
            line-height: 1.1;
        }
        .local-presence-copy {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .local-presence-title {
            max-width: 12ch;
            margin-bottom: 20px;
        }
        .local-presence-copy .section-copy {
            max-width: 58ch;
            margin-bottom: 28px;
        }
        .local-action-row {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
            margin-bottom: 28px;
        }
        .local-action-row .cta-header {
            width: auto;
            justify-content: center;
            min-width: 0;
        }
        .local-service-strip {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 14px;
            margin-bottom: 24px;
        }
        .local-service-item {
            padding: 16px 18px;
            border-top: 1px solid rgba(255,255,255,0.14);
            background: rgba(255,255,255,0.02);
        }
        .local-service-item strong {
            display: block;
            margin-bottom: 6px;
            color: #fff;
            font-size: 0.95rem;
            text-transform: uppercase;
            font-family: 'Montserrat', sans-serif;
            line-height: 1.2;
        }
        .local-service-item span {
            color: #b4b4b4;
            font-size: 0.9rem;
        }
        .local-region-nav {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 12px 16px;
            padding-top: 22px;
            border-top: 1px solid rgba(255,255,255,0.08);
        }
        .local-region-label {
            color: #8f8f8f;
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 1.2px;
            text-transform: uppercase;
        }
        .local-region-link {
            color: #fff;
            font-weight: 700;
            font-size: 0.95rem;
            padding-bottom: 3px;
            border-bottom: 1px solid rgba(255,255,255,0.16);
        }
        .local-region-link:hover {
            color: var(--red-primary);
            border-bottom-color: var(--red-primary);
        }
        .local-region-note {
            color: #8d8d8d;
            font-size: 0.9rem;
            flex-basis: 100%;
            margin-top: 6px;
        }
        .local-intro-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 32px;
            align-items: start;
            margin-bottom: 32px;
        }
        .local-panel {
            border: 1px solid rgba(255,255,255,0.1);
            background: rgba(255,255,255,0.02);
            padding: 32px;
        }
        .local-panel .section-heading,
        .local-panel h3 {
            margin-bottom: 18px;
        }
        .local-panel .section-copy {
            margin-bottom: 0;
        }
        .local-panel .section-copy + .section-copy,
        .local-panel .section-copy + .feature-list,
        .local-panel .feature-list + .section-copy {
            margin-top: 20px;
        }
        .local-panel .feature-list {
            margin-top: 18px;
        }
        .local-pill-row {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 24px;
        }
        .local-pill {
            display: inline-flex;
            align-items: center;
            padding: 10px 14px;
            border: 1px solid rgba(255,255,255,0.12);
            background: #101010;
            color: #f2f2f2;
            font-size: 0.82rem;
            font-weight: 700;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            line-height: 1;
        }
        .region-link-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 18px;
        }
        .region-link-card {
            display: block;
            background: rgba(255,255,255,0.02);
            border: 1px solid rgba(255,255,255,0.08);
            padding: 24px;
            transition: 0.25s ease;
        }
        .region-link-card:hover {
            transform: translateY(-4px);
            border-color: rgba(255,31,31,0.6);
            background: rgba(255,255,255,0.035);
            box-shadow: 0 10px 32px rgba(0,0,0,0.35);
        }
        .region-link-card h3 {
            font-size: 1.05rem;
            margin-bottom: 8px;
        }
        .region-link-card p {
            color: #b0b0b0;
            margin: 0 0 18px;
            font-size: 0.95rem;
        }
        .region-link-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--red-primary);
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 1.2px;
            text-transform: uppercase;
            margin-bottom: 14px;
        }
        .region-link-meta {
            margin-top: auto;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 0.8rem;
            font-weight: 700;
            letter-spacing: 0.8px;
            text-transform: uppercase;
            color: #fff;
        }
        .region-link-card:hover .region-link-meta {
            color: var(--red-primary);
        }
        .homepage-route-grid {
            margin-top: 0;
        }
        .link-card {
            display: block;
            color: inherit;
        }
        .link-card h3,
        .link-card p {
            transition: 0.3s;
        }
        .link-card:hover h3 {
            color: var(--red-primary);
        }
        .text-link {
            color: #fff;
            border-bottom: 1px solid rgba(255, 31, 31, 0.35);
        }
        .text-link:hover {
            color: var(--red-primary);
            border-bottom-color: var(--red-primary);
        }
        .homepage-region-intro {
            margin-bottom: 18px;
        }
        .homepage-region-links {
            margin-bottom: 64px;
        }

        .process-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 18px;
            margin-top: 20px;
        }
        .process-step {
            border: 1px solid rgba(255,255,255,0.12);
            background: #101010;
            padding: 24px;
        }
        .process-step .step-no {
            display: inline-block;
            color: var(--red-primary);
            font-weight: 700;
            letter-spacing: 1px;
            margin-bottom: 10px;
        }
        .process-step h4 { font-size: 1rem; margin-bottom: 8px; }
        .process-step p { color: #b0b0b0; font-size: 0.92rem; margin: 0; }

        .faq-wrap { max-width: 980px; margin: 0 auto; }
        .faq-item {
            border: 1px solid rgba(255,255,255,0.14);
            background: #0f0f0f;
            margin-bottom: 14px;
            padding: 0;
        }
        .faq-item summary {
            cursor: pointer;
            list-style: none;
            padding: 18px 20px;
            font-weight: 600;
            color: #fff;
        }
        .faq-item summary::-webkit-details-marker { display: none; }
        .faq-item p {
            color: #b0b0b0;
            padding: 0 20px 18px;
            margin: 0;
        }
        .faq-search-panel {
            border: 1px solid rgba(255,255,255,0.12);
            background: linear-gradient(180deg, #111 0%, #0d0d0d 100%);
            padding: 28px;
            margin-bottom: 32px;
        }
        .faq-search-label {
            display: block;
            color: var(--red-primary);
            font-weight: 700;
            letter-spacing: 1.4px;
            text-transform: uppercase;
            font-size: 0.76rem;
            margin-bottom: 10px;
        }
        .faq-search-panel h3 {
            font-size: 1.35rem;
            margin-bottom: 12px;
        }
        .faq-search-copy {
            color: #b8b8b8;
            margin-bottom: 20px;
        }
        .faq-search-row {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 12px;
            align-items: center;
        }
        .faq-search-input {
            width: 100%;
            background: #101010;
            border: 1px solid rgba(255,255,255,0.14);
            color: #fff;
            padding: 16px 18px;
            font: inherit;
        }
        .faq-search-input::placeholder {
            color: #8f8f8f;
        }
        .faq-search-count {
            color: #cfcfcf;
            font-size: 0.92rem;
            white-space: nowrap;
        }
        .faq-topic-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 18px;
        }
        .faq-topic-chip {
            border: 1px solid rgba(255,255,255,0.14);
            background: #121212;
            color: #fff;
            padding: 10px 14px;
            font: inherit;
            font-size: 0.82rem;
            cursor: pointer;
            transition: 0.25s;
        }
        .faq-topic-chip:hover,
        .faq-topic-chip:focus-visible {
            border-color: var(--red-primary);
            color: var(--red-primary);
        }
        .faq-group {
            margin-top: 42px;
        }
        .faq-group:first-of-type {
            margin-top: 0;
        }
        .faq-group-header {
            margin-bottom: 18px;
        }
        .faq-group-header h3 {
            font-size: 1.35rem;
            margin-bottom: 8px;
        }
        .faq-group-header p {
            color: #aaaaaa;
            margin: 0;
        }
        .faq-contrast-section {
            position: relative;
            background: linear-gradient(180deg, #111111 0%, #0a0a0a 100%);
            border-top: 1px solid rgba(255,31,31,0.45);
        }
        .faq-contrast-section::before {
            content: "";
            position: absolute;
            top: -1px;
            left: 50%;
            transform: translateX(-50%);
            width: min(180px, 32vw);
            height: 3px;
            background: var(--red-primary);
            box-shadow: 0 0 18px rgba(255,31,31,0.35);
        }
        .faq-item[hidden],
        .faq-group[hidden] {
            display: none !important;
        }
        .faq-no-results {
            display: none;
            border: 1px solid rgba(255,255,255,0.12);
            background: #0f0f0f;
            padding: 22px;
            color: #cfcfcf;
            margin-top: 24px;
        }
        .faq-no-results.show {
            display: block;
        }
        .faq-support-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 18px;
            margin-top: 26px;
        }
        .faq-support-card {
            border: 1px solid rgba(255,255,255,0.12);
            background: #101010;
            padding: 22px;
        }
        .faq-support-card h3 {
            font-size: 1rem;
            margin-bottom: 10px;
        }
        .faq-support-card p {
            color: #b0b0b0;
            margin: 0;
            font-size: 0.94rem;
        }
        @media (max-width: 980px) {
            .local-intro-grid {
                grid-template-columns: 1fr;
            }
        }
        
        .service-card {
            background: var(--bg-panel); padding: 40px; border: 1px solid var(--border-light);
            transition: 0.4s; position: relative; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; min-height: 320px;
        }
        .service-card:hover { transform: translateY(-5px); border-color: var(--red-primary); box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
        .service-card i { font-size: 2.5rem; color: var(--red-primary); margin-bottom: 20px; transition: 0.3s; }
        .service-card:hover i { text-shadow: 0 0 15px var(--red-primary); color: white; }
        .service-card-copy { color: #888; font-size: 0.9rem; }
        .service-card-more { margin-top: 20px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }
        .inline-arrow { font-size: 0.8em; margin-left: 5px; }
        
        .corner-accent { position: absolute; top: 0; right: 0; width: 0; height: 0; border-style: solid; border-width: 0 40px 40px 0; border-color: transparent var(--red-primary) transparent transparent; opacity: 0; transition: 0.3s; }
        .service-card:hover .corner-accent { opacity: 1; }

        /* --- PROJECT CASES --- */
        .project-row { 
            display: grid; grid-template-columns: 1fr 1.5fr; gap: 0; 
            border: 1px solid var(--border-light); margin-bottom: 80px; background: var(--bg-panel);
        }
        .project-info { padding: 80px; display: flex; flex-direction: column; justify-content: center; }
        .project-images { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: black; min-height: 320px; }
        .project-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: 0.4s; aspect-ratio: 1/1; }
        .project-img:hover { opacity: 1; transform: scale(1.02); z-index: 2; }
        .project-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            width: fit-content;
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 1.2px;
            text-transform: uppercase;
            border: 1px solid var(--red-primary);
            color: #fff;
            background: rgba(255, 31, 31, 0.12);
            padding: 6px 10px;
            margin-bottom: 14px;
        }
        
        .client-name { font-size: 0.8rem; letter-spacing: 2px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 10px; }
        .project-divider { width: 40px; height: 2px; background: var(--red-primary); margin: 20px 0; }
        .project-summary { color: #aaa; }
        .project-related { color: #cfcfcf; margin-top: 18px; }
        .project-tags { color: #888; margin-top: 18px; }
        .seo-grid-top { margin-top: 48px; }

        /* --- GALLERY --- */
        .masonry-grid { column-count: 3; column-gap: 20px; }
        .gallery-item { break-inside: avoid; margin-bottom: 20px; position: relative; overflow: hidden; }
        .gallery-hero-short { height: 40vh; }
        .gallery-item img { transition: 0.5s; width: 100%; display: block; }
        .gallery-item.size-square img { aspect-ratio: 1 / 1; object-fit: cover; }
        .gallery-item.size-tall img { aspect-ratio: 3 / 4; object-fit: cover; }
        .gallery-item.size-wide img { aspect-ratio: 4 / 3; object-fit: cover; }
        .gallery-item.size-panorama img { aspect-ratio: 16 / 9; object-fit: cover; }
        .gallery-item:hover img { transform: scale(1.1); filter: brightness(1.1); }
        .overlay { 
            position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px;
            background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
            opacity: 0; transition: 0.3s; transform: translateY(10px);
        }
        .overlay-label { color: #fff; font-weight: 700; font-size: 1rem; letter-spacing: 0.02em; }
        .gallery-item:hover .overlay { opacity: 1; transform: translateY(0); }

        /* --- CONTACT --- */
        .map-container {
            width: 100%;
            height: 500px;
            filter: grayscale(100%) invert(92%) contrast(83%);
            border-bottom: 3px solid var(--red-primary);
            border: 0;
            outline: none;
            display: block;
        }

        .map-wrap {
            position: relative;
        }

        /* iframe embedded map: disable interactions until clicked */
        .map-wrap iframe {
            pointer-events: none;
        }
        .map-wrap.active iframe {
            pointer-events: auto;
        }

        .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: -80px; position: relative; z-index: 2; background: var(--bg-body); padding: 60px; border: 1px solid var(--border-light); max-width: 1200px; margin-left: auto; margin-right: auto; }
        .contact-intro-title { margin-bottom: 20px; }
        .contact-intro-copy { margin-bottom: 40px; }
        .contact-meta-item { margin-bottom: 20px; }
        .contact-meta-label { display: block; margin-bottom: 5px; }
        .contact-submit-button { background: var(--red-primary); color: white; width: 100%; justify-content: center; padding: 15px; }
        .contact-secondary-layout { align-items: flex-start; gap: 70px; }
        .faq-intro { color: #b8b8b8; margin-bottom: 24px; max-width: 860px; }
        
        .form-input { width: 100%; background: #111; border: 1px solid #333; padding: 18px; color: white; margin-bottom: 20px; font-family: inherit; }
        .form-input:focus { border-color: var(--red-primary); outline: none; background: #161616; }

        .form-feedback {
            display: none;
            margin-bottom: 18px;
            padding: 14px 16px;
            border: 1px solid;
            font-size: 0.9rem;
            line-height: 1.5;
            background: #101010;
        }

        .form-feedback.show { display: block; }
        .form-feedback.success { border-color: #2e8b57; color: #b8f0ce; }
        .form-feedback.warning { border-color: #ad8b2b; color: #ffe7a4; }
        .form-feedback.error { border-color: #a33a3a; color: #ffc6c6; }

        .hp-field {
            position: absolute;
            left: -9999px;
            opacity: 0;
            pointer-events: none;
            height: 0;
            width: 0;
            overflow: hidden;
        }

        /* Contact panel typography (avoid black-on-black) */
        #view-contact .contact-grid {
            color: var(--text-main);
        }
        #view-contact .contact-grid h2,
        #view-contact .contact-grid h3,
        #view-contact .contact-grid h4 {
            color: #fff;
        }
        #view-contact .contact-grid p,
        #view-contact .contact-grid span {
            color: #bdbdbd;
        }
        #view-contact .contact-grid strong {
            color: #fff;
        }

        /* --- SEO FOOTER --- */
        footer { 
            background: #080808; 
            border-top: 1px solid var(--border-light); 
            padding: 80px 0 30px; 
            font-size: 0.9rem; 
            color: #888; 
            margin-top: auto; 
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 60px;
        }

        .footer-title {
            color: white;
            margin-bottom: 25px;
            font-size: 1rem;
            letter-spacing: 1px;
        }

        .footer-col p { line-height: 1.8; margin-bottom: 20px; }
        .footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: white; font-weight: 700; }
        .footer-meta { display: block; margin-top: 10px; color: #666; }
        .cta-band-copy { max-width: 760px; margin: 0 auto 40px auto; color: #bdbdbd; }
        
        .footer-links a {
            display: block;
            margin-bottom: 12px;
            color: #888;
            transition: 0.3s;
        }
        .footer-links a:hover { color: var(--red-primary); padding-left: 5px; }

        .footer-socials { display: flex; gap: 15px; margin-top: 20px; }
        .footer-socials a { 
            width: 40px; height: 40px; border: 1px solid #333; 
            display: flex; align-items: center; justify-content: center; 
            border-radius: 50%; color: white; transition: 0.3s; 
        }
        .footer-socials a:hover { background: var(--red-primary); border-color: var(--red-primary); }

        .footer-bottom {
            border-top: 1px solid #1a1a1a;
            padding-top: 30px;
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 20px;
            font-size: 0.8rem;
        }

        .cta-band {
            position: relative;
            text-align: center;
            overflow: hidden;
            border-top: 1px solid var(--border-light);
            border-bottom: 1px solid var(--border-light);
            background: #050505;
        }

        .cta-band-bg {
            position: absolute;
            inset: 0;
            background-image: url('../assets/algemene-fotos/algemene-elektriciteitswerken-5.jpg');
            background-size: cover;
            background-position: center;
            filter: grayscale(100%) brightness(0.22) contrast(1.15);
            transform: scale(1.04);
        }

        .cta-band::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(5,5,5,0.55) 0%, rgba(5,5,5,0.82) 100%);
        }

        .cta-band .container {
            position: relative;
            z-index: 1;
        }
        .cta-band .cta-header-inline {
            width: auto;
            margin: 0 auto;
            justify-content: center;
        }
        .cta-band-copy { max-width: 760px; margin: 0 auto 40px; color: #bdbdbd; }

        .service-hub-section {
            border-top: 1px solid rgba(255,255,255,0.08);
        }
        .service-hub-intro {
            max-width: 760px;
            color: #b8b8b8;
            margin-bottom: 28px;
        }
        .service-hub-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 18px;
        }
        .service-hub-card {
            display: block;
            min-height: 188px;
            padding: 24px;
            background: #101010;
            border: 1px solid rgba(255,255,255,0.12);
            transition: 0.3s;
        }
        .service-hub-card:hover {
            transform: translateY(-4px);
            border-color: var(--red-primary);
        }
        .service-hub-card.is-current {
            border-color: var(--red-primary);
            background: linear-gradient(180deg, rgba(255,31,31,0.12) 0%, rgba(16,16,16,1) 100%);
        }
        .service-hub-eyebrow {
            display: inline-block;
            margin-bottom: 12px;
            color: var(--red-primary);
            font-size: 0.74rem;
            font-weight: 700;
            letter-spacing: 1.2px;
            text-transform: uppercase;
        }
        .service-hub-card h3 {
            font-size: 1rem;
            margin-bottom: 10px;
        }
        .service-hub-card p {
            margin: 0;
            color: #b0b0b0;
            font-size: 0.92rem;
        }
        .service-hub-meta {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-top: 18px;
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 0.8px;
            text-transform: uppercase;
            color: #fff;
        }

        @media (max-width: 1180px) {
            .logo-text { display: none; }
            .logo { gap: 0; }
            .logo-img { height: 52px; }
            .nav-menu { display: none; }
            .menu-toggle { display: inline-flex; }
            .header-phone { display: none; }
            .content-split, .project-row, .contact-grid, .services-wrapper, .footer-grid { grid-template-columns: 1fr; }
            .local-presence-layout { gap: 30px; }
            .local-presence-visual { min-height: 420px; }
            .local-presence-title { max-width: none; }
            .local-service-strip { grid-template-columns: 1fr; }
            .hero-title { font-size: 2.5rem; }
            .masonry-grid { column-count: 1; }
            .sticky-title { position: relative; top: 0; margin-bottom: 40px; }
            .sticky-title h2 { max-width: none; }
            .section-heading { font-size: clamp(1.9rem, 4vw, 2.6rem); max-width: none; }
            .project-images { grid-template-columns: 1fr; min-height: auto; }
            .section-padding { padding: 90px 0; }
            .project-info { padding: 42px 28px; }
            .contact-grid { padding: 34px 24px; margin-top: -40px; gap: 40px; }
            .footer-bottom { justify-content: center; text-align: center; }
            .home-hero-actions { flex-direction: column; align-items: stretch; max-width: 320px; }
            .home-hero-actions .cta-header { width: 100%; justify-content: center; }
        }

        @media (max-width: 1200px) {
            .project-images { grid-template-columns: repeat(2, 1fr); }
            .content-split { gap: 60px; }
        }

        @media (max-width: 768px) {
            .hero-title { font-size: clamp(1.45rem, 6vw, 2rem); }
            .subpage-hero .hero-title strong { font-size: 0.8em; }
            .gallery-hero .hero-title strong { font-size: 0.8em; }
            .sticky-title h2 { font-size: 1.7rem; margin-bottom: 14px; max-width: none; }
            .text-block h3 { font-size: 1.3rem; margin-bottom: 18px; max-width: none; }
            .section-heading { font-size: 1.7rem; max-width: none; }
            .process-step h4 { font-size: 0.9rem; line-height: 1.2; }
            .content-split { gap: 36px; }
            .service-hub-card { min-height: 0; }
        }

        @media (max-width: 520px) {
            h1, h2, h3, h4 { letter-spacing: -0.03em; overflow-wrap: break-word; hyphens: auto; }
            .contact-grid { padding: 26px 18px; }
            .hero-title { font-size: clamp(1.45rem, 7vw, 2rem); line-height: 1.08; }
            .sticky-title h2 { font-size: clamp(1.3rem, 6vw, 1.7rem); margin-bottom: 12px; max-width: none; }
            .text-block h3 { font-size: clamp(1.15rem, 5.4vw, 1.45rem); line-height: 1.2; margin-bottom: 14px; max-width: none; }
            .section-heading { font-size: clamp(1.3rem, 6vw, 1.75rem); line-height: 1.12; max-width: none; }
            .process-step h4 { font-size: 0.78rem; }
            .services-wrapper, .content-split { gap: 26px; }
            .section-padding { padding: 74px 0; }
            .region-link-card { padding: 22px; }
            .local-presence-badge { left: 18px; right: 18px; bottom: 18px; padding: 16px 18px; }
            .local-action-row .cta-header { width: 100%; }
        }

        @media (max-width: 768px) {
            .cta-band-bg { background-image: url('../assets/algemene-fotos/algemene-elektriciteitswerken-5-mobile.jpg'); }
        }
.page-content {
    flex-grow: 1;
    animation: pageFadeIn 0.6s ease forwards;
}

.dropdown-link.active {
    background: #151515;
    color: #fff;
    padding-left: 30px;
}

.mobile-link.active {
    color: #fff;
    background: #121212;
    padding-left: 20px;
}

.footer-links a.active {
    color: var(--red-primary);
}
