/* ============================================
   DE BRIGADE CONTRACTORS
   Website Stylesheet
   ============================================ */

:root {
    /* Kleuren */
    --navy: #1a3a4a;
    --navy-dark: #0f252f;
    --navy-light: #2a5a6a;

    --teal: #14b8a6;
    --teal-dark: #0d9488;
    --teal-light: #2dd4bf;

    --orange: #f4a020;
    --orange-dark: #e8941c;

    --white: #ffffff;
    --off-white: #f8f9fa;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;

    /* Typography */
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing */
    --section-padding: clamp(56px, 7vw, 100px);
    --container-width: 1200px;
    --container-gutter: clamp(16px, 2.5vw, 28px);
    --card-padding: clamp(22px, 2.6vw, 32px);

    /* Radii */
    --radius-btn: 4px;
    --radius-card: 10px;
    --radius-card-lg: 14px;

    /* Shadows */
    --shadow-card: 0 4px 20px rgba(15, 37, 47, 0.05);
    --shadow-card-hover: 0 12px 32px rgba(15, 37, 47, 0.10);
    --shadow-cta: 0 10px 30px rgba(20, 184, 166, 0.28);

    /* Transitions */
    --transition: all 0.3s ease;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --t-quick: 120ms ease-out;
    --t-med: 180ms ease-out;
    --t-slow: 260ms ease-out;
}

/* Systeem-brede micro-interactions */
::selection {
    background: var(--teal);
    color: var(--white);
}
::-moz-selection {
    background: var(--teal);
    color: var(--white);
}
::placeholder {
    color: var(--gray-400);
    opacity: 1;
}
html {
    -webkit-tap-highlight-color: rgba(20, 184, 166, 0.15);
}

/* ============================================
   RESET & BASE
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-gutter);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
}

.btn-primary:hover {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--teal);
    border-color: var(--teal);
}

.btn-outline:hover {
    background: var(--teal);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn-white:hover {
    background: transparent;
    color: var(--white);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--navy);
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--white);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.logo-img {
    height: clamp(36px, 4.2vw, 44px);
    width: auto;
    display: block;
}

.logo-img-dark { display: none; }
.navbar.scrolled .logo-img-light { display: none; }
.navbar.scrolled .logo-img-dark { display: block; }

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2.6vw, 36px);
    list-style: none;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.navbar.scrolled .nav-menu a {
    color: var(--navy);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--teal);
    padding: 10px 24px !important;
    border-radius: 4px;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--teal-dark);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--navy);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: min(100dvh, 1000px);
    display: flex;
    align-items: center;
    padding: clamp(96px, 12vw, 140px) 0 clamp(120px, 14vw, 180px);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/hero-pattern.svg') repeat;
    opacity: 0.05;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-pre {
    display: block;
    font-size: clamp(13px, 1.2vw, 18px);
    font-weight: 500;
    color: var(--teal-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
    white-space: nowrap;
}

.hero-main {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(40px, 6.2vw, 72px);
    color: var(--white);
    letter-spacing: 4px;
    line-height: 1;
}

.hero-slogan {
    font-size: clamp(16px, 1.6vw, 20px);
    font-style: italic;
    color: var(--orange);
    margin: clamp(16px, 2vw, 24px) 0;
}

.hero-text {
    font-size: clamp(15px, 1.35vw, 18px);
    color: var(--gray-300);
    margin-bottom: clamp(28px, 3vw, 40px);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--gray-400);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: color 0.2s ease, transform 0.2s ease;
    user-select: none;
}
.hero-scroll:hover,
.hero-scroll:focus-visible {
    color: var(--teal-light);
    transform: translate(-50%, 4px);
    outline: none;
}
.hero-scroll:focus-visible {
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.35);
}
@media (max-width: 720px) {
    .hero-scroll { display: none; }
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--teal), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; height: 40px; }
    50% { opacity: 1; height: 60px; }
}

/* ============================================
   SECTION STYLING
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 3.4vw, 42px);
    color: var(--navy);
    margin-bottom: 16px;
    line-height: 1.15;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

/* Intro-sectie tussen hero en services — herkenningsmoment voor het merk */
.intro-section {
    position: relative;
    background: var(--off-white);
    padding: clamp(72px, 9vw, 120px) 0 clamp(80px, 10vw, 130px);
    overflow: hidden;
    isolation: isolate;
}

/* Subtiele dot-pattern op de achtergrond - rustig, niet schreeuwerig */
.intro-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(26, 58, 74, 0.04) 1px, transparent 1.5px);
    background-size: 28px 28px;
    z-index: -1;
}

/* Oranje accent-streep aan de top — sluit aan op de driehoeken in de illustratie */
.intro-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(60px, 8vw, 100px);
    height: 4px;
    background: var(--orange);
    border-radius: 0 0 2px 2px;
}

.intro-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(36px, 5vw, 56px);
}

.intro-content {
    max-width: 720px;
    text-align: center;
}

.intro-label {
    color: var(--orange-dark);
}

.intro-title {
    font-size: clamp(28px, 3.6vw, 42px);
    line-height: 1.15;
    margin: 14px 0 18px;
    color: var(--navy);
}

.intro-lead {
    font-size: clamp(16px, 1.7vw, 18px);
    line-height: 1.65;
    color: var(--gray-700);
    margin: 0;
}

/* Illustratie in een afgerond frame met diepe shadow voor premium gevoel.
   max-width houdt het centraal-geplaatst zonder full-bleed gevoel. */
.intro-figure {
    width: 100%;
    max-width: 1100px;
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    background: var(--white);
    box-shadow:
        0 1px 2px rgba(15, 37, 47, 0.04),
        0 20px 50px -10px rgba(15, 37, 47, 0.18),
        0 30px 90px -20px rgba(244, 160, 32, 0.12);
    position: relative;
}

/* Subtiele binnenring voor card-gevoel */
.intro-figure::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    box-shadow: inset 0 0 0 1px rgba(15, 37, 47, 0.06);
    pointer-events: none;
}

.intro-figure picture,
.intro-figure img {
    display: block;
    width: 100%;
    height: auto;
}

.intro-cta-wrap {
    display: flex;
    justify-content: center;
}

.intro-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
}

.intro-cta svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.intro-cta:hover svg,
.intro-cta:focus-visible svg {
    transform: translateX(3px);
}

@media (max-width: 720px) {
    .intro-figure { border-radius: 12px; }
    .intro-figure::after { border-radius: 12px; }
}

.services-section {
    padding: var(--section-padding) 0;
    background: var(--gray-100);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 2.2vw, 30px);
}

.service-card {
    background: var(--white);
    padding: clamp(24px, 2.8vw, 40px) clamp(20px, 2.2vw, 30px);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray-500);
    margin-bottom: 20px;
    font-size: 15px;
}

.service-link {
    color: var(--teal);
    font-weight: 600;
    font-size: 14px;
}

.service-card:hover .service-link {
    color: var(--teal-dark);
}

.services-cta {
    text-align: center;
    margin-top: 50px;
}

/* ============================================
   WHY SECTION
   ============================================ */

.why-section {
    padding: var(--section-padding) 0;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
}

.why-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.why-content > p {
    color: var(--gray-500);
    margin-bottom: 30px;
    font-size: 17px;
}

.why-image {
    position: relative;
}

.why-image-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.why-image-wrapper picture,
.why-image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
}

/* Branded "intentional" image-placeholder.
   Geen leeg grijs vak: navy gradient, dot-pattern overlay,
   prominente teal-icoon, display-font label. Ziet eruit als
   designkeuze, niet als TODO. */
.image-placeholder {
    aspect-ratio: 4/3;
    position: relative;
    background:
        linear-gradient(135deg, rgba(20, 184, 166, 0) 0%, rgba(20, 184, 166, 0.12) 100%),
        linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: rgba(255, 255, 255, 0.92);
    overflow: hidden;
    isolation: isolate;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/images/hero-pattern.svg') repeat;
    opacity: 0.07;
    z-index: 0;
}

.image-placeholder::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal-dark), var(--teal), var(--teal-light));
    z-index: 1;
}

.image-placeholder svg {
    width: 72px;
    height: 72px;
    color: var(--teal-light);
    stroke-width: 1.2;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 12px rgba(20, 184, 166, 0.25));
}

.image-placeholder span {
    position: relative;
    z-index: 2;
    font-family: var(--font-display);
    font-size: clamp(20px, 2vw, 26px);
    letter-spacing: 3px;
    color: var(--white);
    text-transform: uppercase;
    text-align: center;
    padding: 0 16px;
    line-height: 1.15;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: clamp(56px, 6.5vw, 80px) 0;
    background: linear-gradient(135deg, var(--teal-dark), var(--teal));
}

.cta-content {
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    color: var(--white);
    font-size: clamp(26px, 3vw, 36px);
    margin-bottom: 16px;
    line-height: 1.15;
}

.cta-content p {
    font-size: clamp(15px, 1.4vw, 18px);
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--navy-dark);
    color: var(--gray-300);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    line-height: 0;
}

.footer-logo img {
    height: clamp(40px, 5vw, 52px);
    width: auto;
    display: block;
}

.footer-tagline {
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--gray-400);
    margin-bottom: 16px;
}

.footer-slogan {
    font-style: italic;
    color: var(--orange);
    font-size: 14px;
}

.footer-heading {
    color: var(--white);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--teal-light);
}

.footer-contact ul {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact a:hover {
    color: var(--teal-light);
}

.footer-area p {
    font-size: 14px;
    margin-bottom: 12px;
}

.area-list {
    color: var(--gray-300);
    font-size: 13px;
    line-height: 1.6;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    color: var(--gray-500);
}

.footer-bottom .footer-meta {
    margin-top: 6px;
    font-size: 12px;
    color: var(--gray-600);
    letter-spacing: 0.3px;
}
.footer-bottom .footer-meta a {
    color: var(--gray-400);
    text-decoration: none;
    border-bottom: 1px dotted var(--gray-500);
    transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-bottom .footer-meta a:hover,
.footer-bottom .footer-meta a:focus-visible {
    color: var(--teal-light);
    border-bottom-color: var(--teal-light);
}

/* ============================================
   PAGE HEADERS
   ============================================ */

.page-header {
    background: linear-gradient(135deg, var(--teal-dark), var(--teal));
    padding: clamp(110px, 14vw, 160px) 0 clamp(56px, 7vw, 80px);
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(34px, 4.6vw, 56px);
    color: var(--white);
    letter-spacing: 3px;
    margin-bottom: 16px;
    line-height: 1.1;
}

.page-header p {
    font-size: clamp(15px, 1.4vw, 18px);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   DIENSTEN PAGE — quick-jump nav + compact card grid
   ============================================ */

/* Sticky quicknav: scrollable chip-row, mobile-first */
.dienst-quicknav {
    position: sticky;
    top: 70px;
    z-index: 30;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--gray-200);
    padding: 10px 0;
}
.dienst-quicknav-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px 0;
}
.dienst-quicknav-scroll::-webkit-scrollbar { display: none; }
.dienst-quicknav-scroll a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    transition: border-color 0.15s ease, transform 0.15s ease;
    white-space: nowrap;
}
.dienst-quicknav-scroll a:hover {
    border-color: var(--teal);
    transform: translateY(-1px);
}
.dienst-chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Card grid: 1 / 2 / 2 columns */
.dienst-list-section {
    padding: clamp(32px, 4vw, 56px) 0 clamp(48px, 6vw, 80px);
}
.dienst-list-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(16px, 2vw, 24px);
    max-width: 1100px;
    margin: 0 auto;
}
@media (min-width: 820px) {
    .dienst-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.dienst-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: clamp(22px, 2.6vw, 30px);
    display: flex;
    flex-direction: column;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    scroll-margin-top: 140px;
}
.dienst-card:hover {
    border-color: var(--teal);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 37, 47, 0.06);
}
.dienst-card:target {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.18);
}
.dienst-card-head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 16px;
}
.dienst-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dienst-card-icon svg {
    width: 24px;
    height: 24px;
}
.dienst-card-head h2 {
    font-size: clamp(20px, 2vw, 24px);
    line-height: 1.2;
    margin: 0 0 4px;
    color: var(--navy);
}
.dienst-card-lead {
    font-size: 14px;
    line-height: 1.5;
    color: var(--gray-600);
    margin: 0;
}
.dienst-card-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    flex: 1;
}
.dienst-card-list li {
    position: relative;
    padding: 7px 0 7px 22px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}
.dienst-card-list li:last-child { border-bottom: none; }
.dienst-card-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(20, 184, 166, 0.15);
    border: 2px solid var(--teal);
    box-sizing: border-box;
}
.dienst-card-cta {
    align-self: flex-start;
}

.dienst-card-kosten {
    margin: 4px 0 20px;
    padding: 14px 16px;
    background: rgba(20, 184, 166, 0.06);
    border-left: 3px solid var(--teal);
    border-radius: 0 6px 6px 0;
}
.dienst-card-kosten-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--teal-dark);
    margin-bottom: 6px;
}
.dienst-card-kosten p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--gray-700);
}

.dienst-disclaimer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px auto;
    padding: 14px 18px;
    max-width: 900px;
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 13px;
    color: var(--gray-500);
    font-style: italic;
}
.dienst-disclaimer svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--teal);
}
.dienst-disclaimer p { margin: 0; }

/* Image placeholder gebruikt door werkgebied.ejs en over-ons.ejs blijft beschikbaar */
.dienst-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-section {
    padding: var(--section-padding) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 28px;
    margin-bottom: 24px;
}

.contact-info > p {
    color: var(--gray-500);
    margin-bottom: 40px;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-details .icon-wrap {
    width: 50px;
    height: 50px;
    background: var(--teal);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details svg {
    width: 22px;
    height: 22px;
    color: var(--white);
}

.contact-details strong {
    display: block;
    color: var(--navy);
    margin-bottom: 4px;
}

.contact-details span,
.contact-details a {
    color: var(--gray-500);
}

.contact-details a:hover {
    color: var(--teal);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.contact-form-wrapper h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.contact-form-wrapper > p {
    color: var(--gray-500);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-submit {
    margin-top: 8px;
}

.form-submit .btn {
    width: 100%;
}

/* Map */
.map-section {
    position: relative;
    height: 460px;
    background: var(--gray-200);
    overflow: hidden;
}

.map-embed-host {
    width: 100%;
    height: 100%;
}

.map-frame {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: saturate(0.9);
}

.map-directions {
    position: absolute;
    bottom: 24px;
    right: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--white);
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    border-radius: 999px;
    box-shadow: 0 10px 25px rgba(15, 37, 47, 0.18);
    transition: var(--transition);
}

.map-directions svg {
    width: 18px;
    height: 18px;
    color: var(--teal);
}

.map-directions:hover {
    background: var(--teal);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 37, 47, 0.24);
}

.map-directions:hover svg {
    color: var(--white);
}

@media (max-width: 640px) {
    .map-section {
        height: 360px;
    }
    .map-directions {
        bottom: 16px;
        right: 16px;
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* ============================================
   OVER ONS PAGE
   ============================================ */

.about-intro {
    padding: var(--section-padding) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 32px;
    margin-bottom: 24px;
}

.about-content p {
    color: var(--gray-600);
    margin-bottom: 20px;
    font-size: 16px;
}

/* ============================================
   404 PAGE
   ============================================ */

.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(60px, 8vw, 120px) 20px;
}

.error-content {
    max-width: 520px;
}

.error-content .error-code {
    font-family: var(--font-display);
    font-size: clamp(80px, 14vw, 160px);
    color: var(--teal);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: 4px;
}

.error-content h1 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.6vw, 42px);
    color: var(--navy);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.error-content p {
    color: var(--gray-600);
    margin-bottom: 32px;
    font-size: 16px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablets / kleinere laptops: grids transformeren */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobiel: nav-menu, single column grids */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--navy-dark);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        transition: var(--transition);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        color: var(--white);
        font-size: 18px;
    }

    .nav-toggle {
        display: flex;
    }

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Korte landscape laptops (~768-900px hoog): voorkom dat de hero te krap wordt */
@media (max-height: 800px) and (min-width: 1024px) {
    .hero {
        min-height: 700px;
        padding-top: clamp(90px, 11vh, 120px);
        padding-bottom: clamp(110px, 14vh, 160px);
    }
    .hero-main {
        font-size: clamp(40px, 5.2vw, 64px);
    }
}

/* ============================================
   ACCESSIBILITY & UTILITIES
   ============================================ */

/* Skip-link: alleen zichtbaar bij focus */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--navy);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 4px;
    z-index: 9999;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 16px;
}

/* Honeypot: bot ziet en vult, mens ziet niet */
.hp-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Verplicht-asterisk */
.required {
    color: var(--orange);
    margin-left: 2px;
}

.contact-form-title {
    font-size: clamp(22px, 2.4vw, 28px);
    margin-bottom: 12px;
    color: var(--navy);
    line-height: 1.2;
}

/* Zichtbare focus voor toetsenbordgebruikers */
:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 2px;
    border-radius: 3px;
}
/* Buttons/links die zelf al een radius hebben */
.btn:focus-visible,
.map-directions:focus-visible {
    outline-offset: 3px;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline-offset: 0;
    border-color: var(--teal);
}
.nav-menu a:focus-visible {
    outline-offset: 4px;
}

/* Form-message slot wrapper */
.form-message-slot {
    min-height: 0;
}

.form-message {
    padding: 14px 18px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.form-message-success {
    background: #d1fae5;
    color: #064e3b;
    border: 1px solid #6ee7b7;
}

.form-message-error {
    background: #fee2e2;
    color: #7f1d1d;
    border: 1px solid #fca5a5;
}

/* Scroll-animatie targets */
.animate-target {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-target.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Nav-toggle "X"-state */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Address element-reset in footer */
.footer-contact address {
    font-style: normal;
    color: inherit;
}

/* Respecteer reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .animate-target {
        opacity: 1;
        transform: none;
    }
    .scroll-line {
        animation: none;
    }
}

/* ============================================
   COOKIE CONSENT
   ============================================ */

/* Backdrop: solid dim, GEEN backdrop-filter blur (die veroorzaakt
   GPU re-composite bij elke hover op de banner-buttons en is
   verantwoordelijk voor perceived input lag). Dim alleen is genoeg
   voor visuele focus. */
.cookie-backdrop {
    position: fixed;
    inset: 0;
    z-index: 8900;
    background: rgba(15, 37, 47, 0.45);
    pointer-events: none;
    opacity: 0;
    transition: opacity 130ms ease;
    will-change: opacity;
}
.cookie-backdrop.is-visible {
    opacity: 1;
    transition: opacity 200ms ease;
}
.cookie-backdrop[hidden] {
    display: none !important;
}

.cookie-banner {
    position: fixed;
    bottom: 16px;
    left: 50%;
    width: calc(100% - 32px);
    max-width: 920px;
    z-index: 9000;
    background: var(--white);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
    border-top: 4px solid var(--teal);
    border-radius: 14px;
    box-shadow: 0 30px 80px rgba(15, 37, 47, 0.35), 0 10px 24px rgba(15, 37, 47, 0.2);
    padding: 26px 30px;
    opacity: 0;
    transform: translate(-50%, 120%);
    transition: opacity 150ms ease, transform 180ms ease-in;
    will-change: transform, opacity;
    /* Eigen composited layer; voorkomt dat hover van children paint van andere lagen triggert */
    contain: layout paint;
}
.cookie-banner.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
    transition: opacity 220ms ease, transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner[hidden] {
    display: none !important;
}

/* Snappere transitions specifiek voor cookie-UI (override global all 0.3s) */
.cookie-link,
.cookie-modal-close,
.cookie-toggle-slider,
.cookie-toggle-slider::before,
.footer-legal-btn {
    transition-duration: 0.15s !important;
}

.cookie-banner-inner {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cookie-banner-title {
    font-size: 18px;
    font-family: var(--font-body);
    color: var(--navy);
    margin-bottom: 6px;
    line-height: 1.3;
}

.cookie-banner-text p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--gray-700);
}

.cookie-banner-text a {
    color: var(--teal-dark);
    text-decoration: underline;
    font-weight: 600;
}
.cookie-banner-text a:hover {
    color: var(--teal);
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

/* Even prominent: reject + accept zelfde stijl */
.cookie-btn {
    padding: 11px 22px;
    font-size: 13px;
    border-radius: 6px;
    flex: 1 1 auto;
    min-width: 160px;
    justify-content: center;
}

/* Buttons: clean professional hover.
   - background: 60ms linear (color changes voelen direct, ease verspilt frames aan slow-start)
   - transform: 110ms ease-out (snel begin, vloeiend einde)
   - box-shadow: 130ms ease-out (zachte glow-uitbreiding zonder zwaar)
   - Geen teal-ring, geen kleur-shift op border (zou inconsistent zijn met brand) */
.cookie-btn-secondary {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
    transition:
        background-color 60ms linear,
        border-color 60ms linear,
        transform 110ms ease-out,
        box-shadow 130ms ease-out;
}
.cookie-btn-secondary:hover {
    background: var(--navy-dark);
    border-color: var(--navy-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(15, 37, 47, 0.28);
}
.cookie-btn-secondary:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(15, 37, 47, 0.22);
    transition-duration: 40ms, 40ms, 40ms, 60ms;
}

/* Snel linkje binnen banner-tekst (was 300ms via global) */
.cookie-banner-text a {
    transition: color 100ms linear;
}

.cookie-link {
    background: none;
    border: none;
    color: var(--gray-600);
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
    font-family: inherit;
    padding: 6px 4px;
}
.cookie-link:hover {
    color: var(--teal-dark);
}

@media (min-width: 720px) {
    .cookie-banner-inner {
        flex-direction: row;
        align-items: center;
    }
    .cookie-banner-text {
        flex: 1 1 auto;
    }
    .cookie-banner-actions {
        flex: 0 0 auto;
        flex-direction: column;
        align-items: stretch;
        min-width: 220px;
    }
    .cookie-btn {
        flex: 0 0 auto;
        min-width: 0;
        width: 100%;
    }
    .cookie-link {
        text-align: center;
    }
}

/* ----- Modal ----- */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 9500;
    background: rgba(15, 37, 47, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
    animation: cookieFade 0.25s ease;
}
@keyframes cookieFade {
    from { opacity: 0; }
    to { opacity: 1; }
}
.cookie-modal[hidden] {
    display: none !important;
}

.cookie-modal-card {
    background: var(--white);
    color: var(--gray-700);
    border-radius: 12px;
    width: 100%;
    max-width: 560px;
    max-height: calc(100dvh - 32px);
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.cookie-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px 12px;
    border-bottom: 1px solid var(--gray-200);
}
.cookie-modal-head h2 {
    font-size: 20px;
    color: var(--navy);
    font-family: var(--font-body);
}
.cookie-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: var(--gray-500);
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 4px;
}
.cookie-modal-close:hover {
    color: var(--navy);
    background: var(--gray-100);
}

.cookie-modal-body {
    padding: 18px 24px 8px;
    overflow-y: auto;
    flex: 1 1 auto;
}
.cookie-modal-body > p {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 18px;
    line-height: 1.55;
}

.cookie-cat {
    border-top: 1px solid var(--gray-200);
    padding: 16px 0;
}
.cookie-cat:last-child {
    padding-bottom: 4px;
}
.cookie-cat-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 6px;
}
.cookie-cat-head strong {
    color: var(--navy);
    font-size: 15px;
}
.cookie-cat-status {
    display: inline-block;
    margin-left: 8px;
    font-size: 12px;
    color: var(--teal-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.cookie-cat p {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.55;
    margin-left: 60px;
}

/* Toggle switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
    flex-shrink: 0;
}
.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}
.cookie-toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--gray-300);
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.cookie-toggle-slider::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 3px;
    left: 3px;
    background: var(--white);
    border-radius: 50%;
    transition: transform 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.cookie-toggle input:checked + .cookie-toggle-slider {
    background: var(--teal);
}
.cookie-toggle input:checked + .cookie-toggle-slider::before {
    transform: translateX(20px);
}
.cookie-toggle input:disabled + .cookie-toggle-slider {
    background: var(--teal-dark);
    cursor: not-allowed;
    opacity: 0.6;
}
.cookie-toggle input:focus-visible + .cookie-toggle-slider {
    outline: 3px solid var(--teal-light);
    outline-offset: 3px;
}

.cookie-modal-foot {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 18px 24px;
    border-top: 1px solid var(--gray-200);
    flex-wrap: wrap;
}

@media (max-width: 520px) {
    .cookie-modal-foot {
        flex-direction: column;
    }
    .cookie-modal-foot .btn {
        width: 100%;
    }
    .cookie-cat p {
        margin-left: 0;
        margin-top: 8px;
    }
}

/* ============================================
   EMBED CLICK-TO-LOAD PLACEHOLDER
   ============================================ */

.embed-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px 24px;
    gap: 14px;
    color: var(--gray-600);
}
.embed-placeholder svg {
    width: 48px;
    height: 48px;
    color: var(--teal-dark);
    opacity: 0.85;
}
.embed-placeholder-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    margin: 0;
}
.embed-placeholder p {
    max-width: 420px;
    font-size: 13px;
    line-height: 1.55;
    margin: 0;
}
.embed-placeholder-load {
    margin-top: 4px;
}

/* ============================================
   POLICY-PAGINA'S (privacy + cookies)
   ============================================ */

.policy-section {
    padding: clamp(48px, 6vw, 90px) 0;
}
.policy-content {
    max-width: 760px;
    margin: 0 auto;
}
.policy-content > p {
    font-size: 16px;
    color: var(--gray-700);
    margin-bottom: 18px;
    line-height: 1.7;
}
.policy-content h2 {
    font-size: clamp(20px, 2vw, 24px);
    color: var(--navy);
    margin-top: 36px;
    margin-bottom: 14px;
    line-height: 1.3;
}
.policy-content h3 {
    font-size: 17px;
    color: var(--navy);
    margin-top: 20px;
    margin-bottom: 10px;
}
.policy-content ul {
    margin: 0 0 18px 20px;
    color: var(--gray-700);
}
.policy-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}
.policy-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0 22px;
    font-size: 14px;
}
.policy-content th,
.policy-content td {
    border: 1px solid var(--gray-200);
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}
.policy-content th {
    background: var(--gray-100);
    color: var(--navy);
    font-weight: 700;
}
.policy-content a {
    color: var(--teal-dark);
    text-decoration: underline;
}
.policy-content a:hover {
    color: var(--teal);
}
.policy-meta {
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid var(--gray-200);
    font-size: 13px;
    color: var(--gray-500);
}

.footer-legal {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--gray-500);
}
.footer-legal a,
.footer-legal-btn {
    color: var(--gray-300);
    text-decoration: none;
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
    padding: 4px 2px;
}
.footer-legal a:hover,
.footer-legal-btn:hover {
    color: var(--teal-light);
    text-decoration: underline;
}

/* ============================================
   FAQ
   ============================================ */
.faq-section {
    padding: clamp(48px, 6vw, 90px) 0;
    background: var(--gray-100);
}
.faq-list {
    max-width: 820px;
    margin: 0 auto;
}
.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.faq-item[open] {
    border-color: var(--teal);
    box-shadow: 0 6px 20px rgba(15, 37, 47, 0.08);
}
.faq-item summary {
    cursor: pointer;
    padding: 20px 56px 20px 22px;
    font-weight: 600;
    color: var(--navy);
    font-size: 16px;
    position: relative;
    list-style: none;
    transition: background 0.15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover {
    background: var(--gray-100);
}
.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--teal);
    font-weight: 400;
    line-height: 1;
    transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
    content: "−";
    color: var(--teal-dark);
}
.faq-answer {
    padding: 4px 22px 22px;
    color: var(--gray-700);
    font-size: 15px;
    line-height: 1.65;
    animation: faqOpen 0.25s ease;
}
@keyframes faqOpen {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.footer-area-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-area-links li {
    margin-bottom: 8px;
}
.footer-area-links a {
    color: var(--gray-300);
    font-size: 13px;
    text-decoration: none;
}
.footer-area-links a:hover {
    color: var(--teal-light);
    text-decoration: underline;
}

.footer-fullname {
    margin-top: 14px;
    font-size: 12px;
    color: var(--gray-400);
    line-height: 1.5;
}

.werkgebied-section {
    padding: var(--section-padding) 0;
    background: var(--gray-100);
}
.werkgebied-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(16px, 2vw, 24px);
    margin-top: 12px;
}
.werkgebied-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: clamp(20px, 2.4vw, 28px);
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.12s ease;
    position: relative;
}
.werkgebied-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 37, 47, 0.12);
    border-color: var(--teal);
}
.werkgebied-card h3 {
    font-size: 22px;
    color: var(--navy);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
.werkgebied-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.55;
}
.werkgebied-card-featured {
    background: linear-gradient(135deg, var(--teal-dark), var(--teal));
    border-color: var(--teal-dark);
}
.werkgebied-card-featured h3,
.werkgebied-card-featured p {
    color: var(--white);
}
.werkgebied-card-featured p {
    color: rgba(255, 255, 255, 0.92);
}
.werkgebied-card-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

/* NL-statement: puur typografisch kader, centraal uitgelijnd */
.nl-statement {
    background: linear-gradient(180deg, var(--white), #f7fafc);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: clamp(28px, 4vw, 52px) clamp(20px, 3vw, 44px);
    margin: clamp(16px, 2.5vw, 28px) auto clamp(40px, 5vw, 64px);
    max-width: 820px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(15, 37, 47, 0.04);
}
.nl-statement-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--teal-dark);
    margin: 0 0 18px;
    padding: 6px 14px;
    background: rgba(20, 184, 166, 0.08);
    border-radius: 999px;
    line-height: 1.3;
}
.nl-statement-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.18);
}
.nl-statement-lead {
    font-size: clamp(20px, 2.6vw, 28px);
    line-height: 1.4;
    color: var(--navy);
    margin: 0 auto 24px;
    max-width: 640px;
    font-weight: 500;
}
.nl-statement-lead strong {
    color: var(--teal-dark);
    font-weight: 700;
}
.nl-statement-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 26px;
    max-width: 560px;
}
.nl-statement-tags span {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-700);
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 6px 12px;
    border-radius: 999px;
    line-height: 1.3;
}
@media (min-width: 600px) {
    .nl-statement-tags span { font-size: 13px; padding: 7px 14px; }
}
.nl-statement-cta {
    display: inline-block;
}

/* Lokale stadspagina's sub-blok */
.werkgebied-local {
    border-top: 1px solid var(--gray-200);
    padding-top: clamp(32px, 4vw, 48px);
}
.werkgebied-local-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto clamp(22px, 3vw, 32px);
}
.werkgebied-local-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--teal-dark);
    margin-bottom: 8px;
}
.werkgebied-local-head h3 {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 32px);
    color: var(--navy);
    letter-spacing: 2px;
    margin: 0 0 8px;
}
.werkgebied-local-head p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.55;
    margin: 0;
}

/* Language switcher: dedicated selectors below (search "LANG-SWITCHER") */
.nav-lang { display: flex; align-items: center; }

/* Compacte landelijk-callout op stadspagina's */
.city-nl-callout {
    display: block;
    margin: 20px 0 0;
    padding: 14px 18px;
    background: var(--gray-100);
    border-left: 3px solid var(--teal);
    border-radius: 6px;
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.55;
}
.city-nl-callout strong {
    color: var(--navy);
    margin-right: 6px;
}

/* City-page detail sections (long-form content blocks) */
.city-detail-section {
    padding: clamp(40px, 5vw, 70px) 0;
    background: var(--white);
}
.city-detail-content {
    max-width: 820px;
    margin: 0 auto;
}
.city-detail-content > p {
    color: var(--gray-700);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 18px;
}
.wijk-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
    list-style: none;
    margin: 18px 0;
    padding: 0;
}
.wijk-list li {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    border: 1px solid var(--gray-200);
}
.wijk-meta {
    font-size: 14px;
    color: var(--gray-600);
    margin-top: 18px;
}

.city-projects-section {
    padding: clamp(48px, 6vw, 80px) 0;
    background: var(--gray-100);
}
.city-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(14px, 1.8vw, 20px);
    max-width: 1000px;
    margin: 0 auto;
}
.city-project-card {
    background: var(--white);
    padding: 22px;
    border-radius: 8px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border: 1px solid var(--gray-200);
}
.city-project-card p {
    color: var(--gray-700);
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
}

/* City FAQ section */
.city-faq-section {
    padding: clamp(48px, 6vw, 80px) 0;
    background: var(--white);
}
.city-faq-list {
    max-width: 820px;
    margin: 32px auto 0;
}
.city-faq-item {
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    background: var(--white);
    margin-bottom: 12px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.city-faq-item[open] {
    border-color: var(--teal);
    box-shadow: 0 8px 24px rgba(20, 184, 166, 0.08);
}
.city-faq-item summary {
    cursor: pointer;
    padding: 18px 24px;
    font-weight: 600;
    color: var(--navy);
    font-size: clamp(15px, 1.6vw, 17px);
    list-style: none;
    position: relative;
    padding-right: 56px;
    line-height: 1.4;
}
.city-faq-item summary::-webkit-details-marker { display: none; }
.city-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 400;
    color: var(--teal);
    line-height: 1;
    transition: transform 0.2s ease;
}
.city-faq-item[open] summary::after {
    content: '−';
}
.city-faq-item summary:hover {
    color: var(--teal-dark);
}
.city-faq-item summary:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
    border-radius: 10px;
}
.city-faq-item p {
    padding: 0 24px 20px;
    margin: 0;
    color: var(--gray-700);
    font-size: 15px;
    line-height: 1.65;
}

.city-cost-section {
    padding: clamp(40px, 5vw, 70px) 0;
    background: var(--white);
}
.city-cost-card {
    background: linear-gradient(135deg, #0f252f, #1a3a4a);
    color: var(--white);
    border-radius: 12px;
    padding: clamp(28px, 4vw, 48px);
    max-width: 820px;
    margin: 0 auto;
}
.city-cost-card h2 {
    color: var(--white);
    font-size: clamp(22px, 2.6vw, 28px);
    margin: 8px 0 14px;
}
.city-cost-card .section-label {
    color: var(--teal-light);
}
.city-cost-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 22px;
}

/* Werkwijze pagina */
.werkwijze-steps {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 2.4vw, 32px);
}
.werkwijze-step {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: clamp(16px, 2vw, 28px);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: clamp(20px, 2.4vw, 32px);
    box-shadow: 0 2px 8px rgba(15, 37, 47, 0.04);
    transition: box-shadow 0.18s ease;
}
.werkwijze-step:hover {
    box-shadow: 0 8px 24px rgba(15, 37, 47, 0.08);
}
.werkwijze-step-num {
    font-family: var(--font-display);
    font-size: clamp(36px, 4.5vw, 56px);
    color: var(--teal);
    line-height: 1;
    letter-spacing: 2px;
}
.werkwijze-step-content h3 {
    font-size: clamp(18px, 1.9vw, 22px);
    color: var(--navy);
    margin-bottom: 10px;
}
.werkwijze-step-content p {
    color: var(--gray-700);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 10px;
}
.werkwijze-step-meta {
    color: var(--gray-500) !important;
    font-size: 13px !important;
    font-style: italic;
    margin-top: 4px;
}
@media (max-width: 600px) {
    .werkwijze-step {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Bouwbegrippen glossarium */
.glossary-nav {
    position: sticky;
    top: 90px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 14px 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 20px 0 32px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(15, 37, 47, 0.04);
}
.glossary-nav a {
    display: inline-block;
    background: var(--gray-100);
    color: var(--navy);
    font-weight: 700;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    min-width: 32px;
    text-align: center;
    transition: background 0.12s ease, color 0.12s ease;
}
.glossary-nav a:hover {
    background: var(--teal);
    color: var(--white);
}
.glossary-letter {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    color: var(--teal);
    letter-spacing: 4px;
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--teal);
    scroll-margin-top: 100px;
}
.glossary-item {
    margin-bottom: 18px;
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    transition: border-color 0.12s ease;
}
.glossary-item:hover {
    border-color: var(--teal);
}
.glossary-item h3 {
    font-size: 17px;
    color: var(--navy);
    margin-bottom: 6px;
}
.glossary-item p {
    color: var(--gray-700);
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}

/* ============================================
   BACK-TO-TOP KNOP
   ============================================ */
.back-to-top {
    position: fixed;
    right: clamp(16px, 3vw, 28px);
    bottom: clamp(16px, 3vw, 28px);
    z-index: 900;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(15, 37, 47, 0.25);
    transition: opacity 180ms ease, transform 180ms ease, background 150ms ease;
}
.back-to-top svg {
    width: 20px;
    height: 20px;
}
.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.back-to-top:hover,
.back-to-top:focus-visible {
    background: var(--teal-dark);
    outline: none;
}
.back-to-top:focus-visible {
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.45), 0 10px 30px rgba(15, 37, 47, 0.25);
}
@media (prefers-reduced-motion: reduce) {
    .back-to-top { transition: opacity 0ms; transform: none; }
}

/* Body scroll-lock zodra mobile-menu open staat */
body.nav-open { overflow: hidden; }

/* ============================================
   404 - HELPFUL LINKS
   ============================================ */
.error-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 28px;
    max-width: 520px;
    text-align: left;
}
.error-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.error-links a:hover,
.error-links a:focus-visible {
    border-color: var(--teal);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 37, 47, 0.08);
    outline: none;
}
.error-links svg {
    width: 18px;
    height: 18px;
    color: var(--teal);
    flex-shrink: 0;
}

/* ============================================
   POLISH PASS 2 - Cross-cutting overrides
   ============================================ */

/* Buttons: alleen animeer wat verandert (was: all 0.3s ease) */
.btn {
    transition:
        background-color var(--t-quick),
        border-color var(--t-quick),
        color var(--t-quick),
        transform var(--t-med),
        box-shadow var(--t-med);
}
.btn:active { transform: translateY(0); box-shadow: inset 0 2px 4px rgba(0,0,0,0.12); }
.btn-outline:hover { box-shadow: 0 8px 22px rgba(20, 184, 166, 0.18); }
.btn-outline-white:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(255,255,255,0.18); }

/* Focus-visible op alle card-links (was ontbrekend) */
.service-card:focus-visible,
.dienst-card:focus-visible,
.werkgebied-card:focus-visible,
.city-project-card:focus-visible,
.error-links a:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 4px;
    border-radius: var(--radius-card);
}

/* Skip-link krijgt een teal focus-outline zodat het duidelijk zichtbaar is */
.skip-link:focus {
    outline: 3px solid var(--teal-light);
    outline-offset: 2px;
}

/* Symmetrischer overshoot voor cookie-banner (was 320ms enter, 180ms exit) */
.cookie-banner {
    transition: opacity 220ms ease, transform 280ms var(--ease-out);
}

/* Reduced-motion respect ook voor cookie-modal fade */
@media (prefers-reduced-motion: reduce) {
    .cookie-modal { animation: none !important; }
    .cookie-banner { transition: opacity 0ms !important; transform: none !important; }
}

/* City-FAQ open-state: kleur symmetrisch met global FAQ */
.city-faq-item[open] summary::after { color: var(--teal-dark); }

/* Consistent card-shadow via variabele (harmoniseert intensiteit) */
.service-card { box-shadow: var(--shadow-card); }
.service-card:hover { box-shadow: var(--shadow-card-hover); }

/* Anchors op city-page nearby-list krijgen fatsoenlijk hover ipv rauwe underline */
.werkgebied-nearby-link {
    color: var(--teal-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--t-quick);
}
.werkgebied-nearby-link:hover { color: var(--teal); }

/* ============================================
   PRINT STYLESHEET
   ============================================ */
@media print {
    .navbar, .back-to-top, .cookie-banner, .cookie-backdrop, .cookie-modal,
    .hero-scroll, .nav-toggle, .footer-legal-btn, .whatsapp-fab,
    .dienst-quicknav, .map-directions, .services-cta { display: none !important; }
    body { color: #000; background: #fff; font-size: 12pt; line-height: 1.5; }
    a { color: #000; text-decoration: underline; }
    .page-header, .cta-section, .hero-bg, .hero-overlay { background: none !important; color: #000 !important; }
    .hero, .page-header { padding: 20pt 0 !important; min-height: auto !important; }
    .hero-main, .page-header h1, h1, h2, h3 { color: #000 !important; }
    .btn { display: none !important; }
    img, picture { max-width: 100%; page-break-inside: avoid; }
    section { page-break-inside: avoid; }
}

/* ============================================
   WHATSAPP-FAB (floating action button)
   ============================================ */
.whatsapp-fab {
    position: fixed;
    left: clamp(16px, 3vw, 28px);
    bottom: clamp(16px, 3vw, 28px);
    z-index: 900;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
    transition: transform var(--t-med), box-shadow var(--t-med), background var(--t-quick);
    text-decoration: none;
}
.whatsapp-fab svg { width: 26px; height: 26px; }
.whatsapp-fab:hover, .whatsapp-fab:focus-visible {
    transform: translateY(-3px);
    background: #1DA851;
    outline: none;
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.45);
}
.whatsapp-fab:focus-visible {
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.45), 0 14px 32px rgba(37, 211, 102, 0.45);
}
@media (max-width: 720px) {
    .whatsapp-fab { width: 48px; height: 48px; }
    .whatsapp-fab svg { width: 22px; height: 22px; }
}

/* ============================================
   FORM RESPONSE-TIME HINT
   ============================================ */
.form-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 14px;
    background: rgba(20, 184, 166, 0.06);
    border-left: 3px solid var(--teal);
    border-radius: 0 6px 6px 0;
    font-size: 13px;
    color: var(--gray-700);
    line-height: 1.4;
}
.form-hint svg {
    width: 16px;
    height: 16px;
    color: var(--teal-dark);
    flex-shrink: 0;
}

/* ============================================
   A11Y CONTRAST FIXES (footer)
   ============================================ */
.footer-tagline { color: var(--gray-300); }
.footer-links a { color: var(--gray-300); }
.footer-links a:hover { color: var(--teal-light); }
.footer-bottom { color: var(--gray-300); }
.footer-bottom .footer-meta { color: var(--gray-300); }
.footer-bottom .footer-meta a { color: var(--gray-200); border-bottom-color: var(--gray-400); }
.footer-legal { color: var(--gray-300); }
.footer-legal a, .footer-legal-btn { color: var(--gray-200); }
.area-list { color: var(--gray-200); }
.footer-fullname { color: var(--gray-300); }
.footer-area-links a { color: var(--gray-300); }

/* Trust-line onder KVK/BTW */
.footer-trust-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 12px;
    color: var(--gray-300);
    flex-wrap: wrap;
    letter-spacing: 0.3px;
}
.footer-trust-line svg {
    width: 14px;
    height: 14px;
    color: var(--teal-light);
    flex-shrink: 0;
}

/* ============================================
   LANG-SWITCHER
   Segmented pill die op iedere navbar-context leesbaar is:
   - Dark hero (navy gradient)
   - Teal page-header (teal gradient)
   - Wit gescrollde navbar
   - Mobile menu overlay (navy-dark)

   Aanpak: donker-getinte glazen pil met witte actieve slider.
   De pil geeft zichzelf een leesbare ondergrond op elk vlak;
   actief item is een sterk-contrasterende witte capsule met
   navy-tekst. Wisselbare kant is witte tekst op de dark pill.
   ============================================ */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border-radius: 999px;
    /* Default (fallback) — wordt per context overschreven hieronder */
    background: rgba(15, 37, 47, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.22);
    -webkit-backdrop-filter: blur(6px) saturate(140%);
    backdrop-filter: blur(6px) saturate(140%);
    transition:
        background var(--t-med),
        border-color var(--t-med),
        box-shadow var(--t-med);
}

/* --- Context: dark hero (homepage) — donkere glazen pil --- */
body[data-header-ctx="hero"] .lang-switcher {
    background: rgba(15, 37, 47, 0.35);
    border-color: rgba(255, 255, 255, 0.22);
}
/* --- Context: teal page-header (sub-pagina's) — teal-getinte pil zodat de rand zichtbaar blijft --- */
body[data-header-ctx="page"] .lang-switcher {
    background: rgba(13, 148, 136, 0.28);
    border-color: rgba(255, 255, 255, 0.32);
    box-shadow: 0 2px 6px rgba(15, 37, 47, 0.12);
}
/* --- Context: plain (404 / geen page-header) --- */
body[data-header-ctx="plain"] .lang-switcher {
    background: rgba(15, 37, 47, 0.08);
    border-color: rgba(15, 37, 47, 0.15);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
body[data-header-ctx="plain"] .nav-menu .lang-item { color: var(--gray-700); }
body[data-header-ctx="plain"] .nav-menu .lang-item.is-active {
    background: var(--navy);
    color: var(--white);
}

/* Specificity: prefix .nav-menu om bestaande .nav-menu a regel (font-size/color)
   te overrulen zonder !important */
.nav-menu .lang-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.92);
    position: static;
    transition:
        background var(--t-quick),
        color var(--t-quick),
        transform var(--t-quick),
        box-shadow var(--t-quick);
}

/* Active tab: witte pil, navy tekst — sterk contrast op alle donkere/teal vlakken */
.nav-menu .lang-item.is-active {
    background: var(--white);
    color: var(--navy);
    cursor: default;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

/* Wisselbare kant: hover geeft subtiele highlight, focus toont teal-ring */
.nav-menu .lang-item-link:hover,
.nav-menu .lang-item-link:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    color: var(--white);
    outline: none;
}
.nav-menu .lang-item-link:focus-visible {
    box-shadow: 0 0 0 2px var(--teal-light);
}
.nav-menu .lang-item-link:active {
    transform: scale(0.96);
}

/* Reset default nav-underline (lang-switcher items should niet de teal bar krijgen) */
.nav-menu .lang-item::after {
    display: none !important;
    content: none !important;
}

/* --- Scrolled navbar (wit) — DUIDELIJKE flip: witte pil met crisp shadow --- */
/* Body-attribute overrides + high specificity zodat het over alle contexten wint */
body[data-header-ctx] .navbar.scrolled .lang-switcher {
    background: var(--white);
    border-color: var(--gray-200);
    box-shadow: 0 1px 3px rgba(15, 37, 47, 0.10);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
body[data-header-ctx] .navbar.scrolled .nav-menu .lang-item {
    color: var(--gray-600);
}
body[data-header-ctx] .navbar.scrolled .nav-menu .lang-item.is-active {
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 1px 3px rgba(15, 37, 47, 0.28);
}
body[data-header-ctx] .navbar.scrolled .nav-menu .lang-item-link:hover,
body[data-header-ctx] .navbar.scrolled .nav-menu .lang-item-link:focus-visible {
    background: var(--gray-100);
    color: var(--navy);
}
body[data-header-ctx] .navbar.scrolled .nav-menu .lang-item-link:focus-visible {
    box-shadow: 0 0 0 2px var(--teal);
}

/* --- Mobile: alleen als menu-overlay open is (nav-menu.active) donker maken --- */
@media (max-width: 768px) {
    .nav-menu.active .lang-switcher {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.24);
        box-shadow: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
    .nav-menu.active .lang-item { color: rgba(255, 255, 255, 0.92); }
    .nav-menu.active .lang-item.is-active {
        background: var(--white);
        color: var(--navy);
    }
    .nav-menu.active .lang-item-link:hover,
    .nav-menu.active .lang-item-link:focus-visible {
        background: rgba(255, 255, 255, 0.16);
        color: var(--white);
    }
    /* Scrolled + open mobile menu: menu-overlay blijft donker, dus overschrijft de wit-scrolled regel */
    body[data-header-ctx] .navbar.scrolled .nav-menu.active .lang-switcher {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.24);
        box-shadow: none;
    }
    body[data-header-ctx] .navbar.scrolled .nav-menu.active .lang-item { color: rgba(255, 255, 255, 0.92); }
    body[data-header-ctx] .navbar.scrolled .nav-menu.active .lang-item.is-active {
        background: var(--white);
        color: var(--navy);
    }
    .nav-lang { justify-content: center; margin: 4px 0; }
}

/* Prefers-reduced-transparency (Safari 18+): geef solid navy op non-scrolled, wit op scrolled */
@media (prefers-reduced-transparency: reduce) {
    body[data-header-ctx="hero"] .lang-switcher { background: var(--navy-dark); }
    body[data-header-ctx="page"] .lang-switcher { background: var(--teal-dark); }
    body[data-header-ctx="plain"] .lang-switcher { background: var(--gray-100); }
    .lang-switcher {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}

/* Logo picture-wrapper (nieuw webp fallback pattern) */
.logo-picture { display: block; line-height: 0; }
.logo-picture-dark { display: none; }
.navbar.scrolled .logo-picture-light { display: none; }
.navbar.scrolled .logo-picture-dark { display: block; }

/* ============================================
   CROSSLINK-CARDS (contextual internal links)
   ============================================ */
.crosslink-section {
    padding: clamp(48px, 6vw, 80px) 0;
    background: var(--white);
}
.crosslink-section .section-label {
    display: block;
    text-align: center;
    margin-bottom: 24px;
}
.crosslink-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(14px, 2vw, 22px);
    max-width: 820px;
    margin: 0 auto;
}
.crosslink-card {
    display: block;
    padding: clamp(20px, 2.4vw, 28px);
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-card);
    text-decoration: none;
    color: inherit;
    transition:
        border-color var(--t-quick),
        transform var(--t-med),
        box-shadow var(--t-med);
}
.crosslink-card:hover,
.crosslink-card:focus-visible {
    border-color: var(--teal);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
    outline: none;
}
.crosslink-card h3 {
    color: var(--navy);
    font-size: 18px;
    margin: 0 0 8px;
}
.crosslink-card h3::after {
    content: ' →';
    color: var(--teal);
    transition: transform var(--t-quick);
    display: inline-block;
}
.crosslink-card:hover h3::after,
.crosslink-card:focus-visible h3::after {
    transform: translateX(3px);
}
.crosslink-card p {
    margin: 0;
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.55;
}

/* ============================================
   WERKEN BIJ (careers) - pagina-specifieke stijlen
   ============================================ */

.careers-intro {
    padding: clamp(48px, 6vw, 80px) 0 clamp(40px, 5vw, 60px);
    background: var(--white);
}
.careers-intro-inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}
.careers-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(244, 160, 32, 0.10);
    color: var(--orange-dark);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.careers-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 3px rgba(244, 160, 32, 0.18);
    animation: careersPulse 2.4s ease-in-out infinite;
}
@keyframes careersPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(244, 160, 32, 0.18); }
    50%      { box-shadow: 0 0 0 5px rgba(244, 160, 32, 0.28); }
}
@media (prefers-reduced-motion: reduce) {
    .careers-badge-dot { animation: none; }
}
.careers-intro .section-title {
    color: var(--navy);
    text-align: center;
    margin-bottom: 16px;
}
.careers-intro-cta {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.careers-why {
    padding: var(--section-padding) 0;
    background: var(--gray-100);
}
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(18px, 2.2vw, 28px);
    max-width: 1100px;
    margin: 0 auto;
}
.value-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-card);
    padding: clamp(22px, 2.6vw, 30px);
    box-shadow: var(--shadow-card);
    transition:
        border-color var(--t-quick),
        transform var(--t-med),
        box-shadow var(--t-med);
}
.value-card:hover {
    border-color: var(--teal);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}
.value-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.value-icon svg { width: 22px; height: 22px; }
.value-card h3 {
    font-size: 18px;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.3;
}
.value-card p {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.careers-forwho {
    padding: var(--section-padding) 0;
    background: var(--white);
}
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(18px, 2.2vw, 26px);
    max-width: 1100px;
    margin: 0 auto;
}
.profile-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: clamp(22px, 2.6vw, 32px);
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-card);
    border-top: 3px solid var(--teal);
    transition:
        border-color var(--t-quick),
        transform var(--t-med),
        box-shadow var(--t-med);
}
.profile-card:hover {
    border-color: var(--gray-200);
    border-top-color: var(--orange);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}
.profile-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-dark);
}
.profile-icon svg { width: 26px; height: 26px; }
.profile-card:hover .profile-icon { color: var(--orange-dark); }
.profile-card h3 {
    font-size: 17px;
    color: var(--navy);
    margin: 0;
    line-height: 1.3;
}
.profile-card p {
    color: var(--gray-700);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.careers-process {
    padding: var(--section-padding) 0;
    background: var(--gray-100);
}

.careers-form-section {
    padding: var(--section-padding) 0;
    background: var(--white);
    scroll-margin-top: 90px;
}
.careers-form-wrapper {
    max-width: 720px;
    margin: 0 auto;
    background: var(--white);
    padding: clamp(28px, 3.5vw, 44px);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-card-lg);
    box-shadow: 0 12px 32px rgba(15, 37, 47, 0.06);
}
.careers-form-wrapper .form-submit .btn {
    width: 100%;
}
.form-field-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--gray-500);
    line-height: 1.5;
}
.form-privacy {
    margin-top: 14px;
    font-size: 12px;
    color: var(--gray-500);
    line-height: 1.6;
    text-align: center;
}
.form-privacy a {
    color: var(--teal-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.form-privacy a:hover { color: var(--teal); }

/* Mobiele stack: form-row al 1-kolom in bestaande breakpoint (768) */
@media (max-width: 640px) {
    .careers-intro-cta { flex-direction: column; align-items: stretch; }
    .careers-intro-cta .btn { width: 100%; }
    .careers-form-wrapper { padding: 22px 18px; }
}
