/*
Theme Name: Zuyderhuis
Theme URI: https://www.zuyderhuis.nl
Author: Zuyderhuis
Author URI: https://www.zuyderhuis.nl
Description: WordPress theme voor Zuyderhuis - Voor kwaliteit in onderwijs
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zuyderhuis
Tags: education, business, one-page
*/

/* ===================================
   Focus Outline Reset
   =================================== */
*:focus,
*:focus-visible {
    outline: none;
}

/* ===================================
   CSS Variables - Color System
   =================================== */
:root {
    /* Brand Colors - Extracted from Zuyderhuis branding */
    --color-primary: #8B1E1E;
    --color-primary-dark: #6B1616;
    --color-primary-light: #A84545;
    --color-accent: #C94545;

    /* Neutrals - Warm tones to complement burgundy */
    --color-bg: #FAF8F5;
    --color-bg-alt: #F4F0EB;
    --color-surface: #FFFFFF;
    --color-text: #2A1810;
    --color-text-light: #6B5B52;
    --color-text-muted: #9B8B82;

    /* Borders & Lines */
    --color-border: #E5DDD5;
    --color-border-dark: #D4C8BE;

    /* Typography */
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'IBM Plex Sans', sans-serif;

    /* Spacing System */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;

    /* Animation */
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===================================
   Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Alleen op desktop is de header position:fixed — compenseer de body-flow */
@media (min-width: 1025px) {
    body {
        padding-top: var(--header-height, 108px);
    }
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-md);
}

.section-title.large {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.section-title.centered {
    text-align: center;
}

/* ===================================
   Container & Layout
   =================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ===================================
   Top Bar
   =================================== */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-primary);
    color: white;
    z-index: 1001;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.top-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: white;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
}

.social-link:hover {
    opacity: 0.7;
}

.top-bar-contact {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.top-contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    font-size: 0.875rem;
}

.top-contact-link:hover {
    opacity: 0.8;
}

.top-contact-link svg {
    flex-shrink: 0;
}

/* ===================================
   Navigation
   =================================== */
.nav {
    position: fixed;
    top: 38px;
    left: 0;
    right: 0;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    animation: slideDown 0.6s var(--transition-smooth);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

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

.logo-img {
    display: block;
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    flex: 1;
    gap: var(--space-md);
    justify-content: center;
}

.nav-link {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    color: var(--color-text);
    position: relative;
    transition: color 0.3s var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s var(--transition-smooth);
}

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

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

.nav-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

/* padding-bottom zodat underline dicht bij tekst zit (les #26) */
.nav-links > .nav-link,
.nav-item > .nav-link {
    display: inline-block;
    padding-bottom: 2px;
}

/* Admin bar offset */
body.admin-bar .top-bar { top: 32px; }
body.admin-bar .nav { top: calc(32px + 38px); }

/* ===================================
   Dropdown caret indicator
   =================================== */
.nav-caret {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    margin-left: 5px;
    vertical-align: middle;
    transition: transform 0.2s var(--transition-smooth);
}

/* Sub-menu items: caret points right */
.nav-dropdown-link .nav-caret {
    transform: rotate(-45deg) translateY(0);
}

/* ===================================
   Dropdown menus (desktop hover)
   =================================== */
.nav-item {
    position: relative;
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 220px;
    background: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 0.4rem 0;
    z-index: 999;
    flex-direction: column;
}

.nav-sub-item {
    position: relative;
}

.nav-sub-dropdown {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 220px;
    background: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 0.4rem 0;
    z-index: 998;
    flex-direction: column;
}

/* Flip naar links als het buiten het scherm valt (JS voegt klasse toe) */
.nav-sub-item.flip-left > .nav-sub-dropdown {
    left: auto;
    right: 100%;
}

@media (min-width: 1025px) {
    .nav-item:hover > .nav-dropdown,
    .nav-sub-item:hover > .nav-sub-dropdown {
        display: flex;
    }

    /* Transparante brug over de 6px gap zodat hover niet wegvalt */
    .nav-item:hover::before {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 0;
        right: 0;
        height: 8px;
    }

    .nav-sub-item:hover::before {
        content: '';
        position: absolute;
        top: 0;
        right: -8px;
        width: 8px;
        height: 100%;
    }

    .nav-item:hover > .nav-link .nav-caret {
        transform: rotate(-135deg) translateY(1px);
    }
}

.nav-dropdown-link,
.nav-sub-dropdown-link {
    display: block;
    padding: 0.55rem 1.1rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
}

.nav-dropdown-link:hover,
.nav-sub-dropdown-link:hover {
    color: var(--color-primary);
    background: rgba(139, 30, 30, 0.04);
}

/* ===================================
   Mobile hamburger button
   =================================== */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s var(--transition-smooth);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile sub-dropdown toggle button */
.nav-toggle-sub {
    display: none;
    width: 30px;
    height: 30px;
    background: none;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    cursor: pointer;
    color: var(--color-text);
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-caret-btn {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transition: transform 0.2s;
}

.nav-toggle-sub[aria-expanded="true"] .nav-caret-btn {
    transform: rotate(-135deg) translateY(1px);
}

/* ===================================
   Mobile nav styles (≤ 1024px)
   =================================== */
@media (max-width: 1024px) {
    .nav-toggle {
        display: flex;
    }

    .nav-container {
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0 0.75rem;
        border-top: 1px solid var(--color-border);
        margin-top: 0.5rem;
    }

    .nav.nav-open .nav-links {
        display: flex;
    }

    .nav-links > .nav-link,
    .nav-item {
        width: 100%;
        padding: 0.55rem 0;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-item {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .nav-item > .nav-link {
        flex: 1;
        padding-bottom: 0;
        border-bottom: none;
    }

    .nav-item > .nav-link .nav-caret {
        display: none;
    }

    .nav-toggle-sub {
        display: flex;
    }

    /* Mobile dropdown: static, indented */
    .nav-dropdown,
    .nav-sub-dropdown {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        background: transparent;
        width: 100%;
    }

    .nav-item.open > .nav-dropdown,
    .nav-sub-item.open > .nav-sub-dropdown {
        display: flex;
    }

    .nav-dropdown-link,
    .nav-sub-dropdown-link {
        padding: 0.5rem 1rem;
        border-bottom: 1px solid var(--color-border);
        font-size: 0.9rem;
    }

    /* Sub-items in mobile dropdown: zelfde layout als nav-item */
    .nav-sub-item {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        width: 100%;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-sub-item > .nav-dropdown-link {
        flex: 1;
        border-bottom: none;
        padding: 0.55rem 1rem;
    }

    /* Verberg pijltje op mobiel (toggle button neemt die rol over) */
    .nav-sub-item > .nav-dropdown-link .nav-caret {
        display: none;
    }

    /* Sub-sub-dropdown links: extra inspringing */
    .nav-sub-dropdown .nav-sub-dropdown-link {
        padding-left: 2rem;
    }
}


/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-height, 108px));
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: var(--space-lg) 0;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 30, 30, 0.04) 0%, rgba(201, 69, 69, 0.02) 100%);
    overflow: hidden;
    pointer-events: none;
}

/* SVG swirl curves from logo */
.hero-swirl {
    position: absolute;
    top: 50%;
    right: -5%;
    width: 60%;
    height: auto;
    transform: translateY(-50%) rotate(-10deg);
    opacity: 0.7;
    pointer-events: none;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(201, 69, 69, 0.08) 0%, transparent 70%);
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(201, 69, 69, 0.06) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 30%, rgba(139, 30, 30, 0.08) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero-text {
    max-width: 650px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
    opacity: 0;
    animation: titleReveal 0.8s var(--transition-smooth) forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }
.title-line:nth-child(4) { animation-delay: 0.8s; }

.title-line.accent {
    color: var(--color-primary);
    position: relative;
}

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-text-light);
    max-width: 550px;
    margin-bottom: var(--space-md);
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 0.8s var(--transition-smooth) 1s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s var(--transition-smooth) 1.2s forwards;
}

/* Hero Image with Blob Mask */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 0.8s var(--transition-smooth) 0.8s forwards;
}

.image-blob {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: blobMorph 10s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(139, 30, 30, 0.3);
}

@keyframes blobMorph {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeInUp 0.8s var(--transition-smooth) 1.5s forwards;
}

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

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(10px);
    }
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 1rem 2rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 12px;
    border: 2px solid;
    transition: all 0.3s var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

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

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 30, 30, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-surface);
    transform: translateY(-2px);
}

.btn.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* ===================================
   Intro Section
   =================================== */
.intro {
    padding: var(--space-2xl) 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
}

.intro-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.label-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.intro-content {
    max-width: 700px;
}

.intro-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

.intro-text p {
    margin-bottom: 1em;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    transition: gap 0.3s var(--transition-smooth);
}

.text-link:hover {
    gap: var(--space-sm);
}

.text-link svg {
    transition: transform 0.3s var(--transition-smooth);
}

.text-link:hover svg {
    transform: translateX(4px);
}

/* ===================================
   Services Section
   =================================== */
.services {
    padding: var(--space-2xl) 0;
    /*background:
        linear-gradient(to bottom, var(--color-bg) 0%, var(--color-bg-alt) 100%);*/
}

.services-header {
    margin-bottom: 2rem;
}

.services-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-top: var(--space-sm);
}

.services-list {
    display: grid;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.service-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--color-surface);
    border-left: 4px solid var(--color-border);
    border-radius: 12px;
    transition: all 0.4s var(--transition-smooth);
    opacity: 0;
    animation: slideInLeft 0.6s var(--transition-smooth) forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.service-item:hover {
    border-left-color: var(--color-primary);
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.service-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 200;
    color: var(--color-primary);
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
}

.services-note {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background: rgba(139, 30, 30, 0.05);
    border-left: 4px solid var(--color-accent);
    border-radius: 12px;
}

.services-note p {
    font-size: 1.1rem;
    color: var(--color-text-light);
}

/* ===================================
   Diensten Cards
   =================================== */
.diensten {
    padding: var(--space-2xl) 0;
    background: var(--color-surface);
}

.diensten-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.dienst-card {
    background: var(--color-bg);
    padding: var(--space-lg);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.6s var(--transition-smooth) forwards;
}

.dienst-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--color-primary);
}

.card-icon {
    width: 75px;
    height: 75px;
    margin-bottom: var(--space-md);
}

.icon-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    opacity: 0.9;
    background-size:cover!important;
    background-position:center;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.card-description {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    transition: gap 0.3s var(--transition-smooth);
}

.card-link:hover {
    gap: var(--space-sm);
}

/* ===================================
   CTA Section
   =================================== */
.cta {
    padding: var(--space-2xl) 0;
    background:
        linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.cta-shapes svg {
    position: absolute;
    left: 0;
    top: 0;
    width: 45%;
    height: 100%;
}

.cta-shapes circle {
    transform-box: fill-box;
    transform-origin: center;
    animation: ctaBreathe 8s ease-in-out infinite;
}
.cta-shapes circle:nth-child(1) { animation-duration: 9s;  animation-delay: 0s; }
.cta-shapes circle:nth-child(2) { animation-duration: 11s; animation-delay: 1.5s; }
.cta-shapes circle:nth-child(3) { animation-duration: 7s;  animation-delay: 3s; }

.cta-shapes path {
    stroke-dasharray: 900;
    stroke-dashoffset: 900;
    animation: ctaDrawLine 3s ease-out forwards, ctaDrift 12s 3s ease-in-out infinite;
}
.cta-shapes path:nth-child(4) { animation-delay: 0.3s, 3.3s; }
.cta-shapes path:nth-child(5) { animation-delay: 0.8s, 3.8s; }

@keyframes ctaBreathe {
    0%, 100% { transform: scale(1);    opacity: 1; }
    50%       { transform: scale(1.06); opacity: 0.7; }
}
@keyframes ctaDrawLine {
    to { stroke-dashoffset: 0; }
}
@keyframes ctaDrift {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-title {
    color: var(--color-surface);
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: var(--space-md);
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    margin-bottom: var(--space-lg);
}
.cta-subtitle p { margin-bottom: 0.5em; }
.cta-subtitle p:last-child { margin-bottom: 0; }

.cta .btn-primary {
    background: var(--color-surface);
    color: var(--color-primary);
    border-color: var(--color-surface);
}

.cta .btn-primary:hover {
    background: var(--color-bg);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* ===================================
   Referenties Section
   =================================== */
.referenties {
    padding: var(--space-2xl) 0;
    background: var(--color-bg-alt);
}

.referentie-slider {
    max-width: 900px;
    margin: var(--space-xl) auto;
}

.referentie-card {
    background: var(--color-surface);
    padding: var(--space-lg);
    border: 1px solid var(--color-border);
    border-radius: 16px;
}

.referentie-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.referentie-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

.referentie-name {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.referentie-role {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.referentie-quote {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-text-light);
    font-style: italic;
    border-left: 4px solid var(--color-primary);
    padding-left: var(--space-md);
}

.klanten-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
   /* margin-top: var(--space-xl);*/
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    min-height: 100px;
}

.logo-placeholder {
    color: var(--color-text-muted);
    font-family: var(--font-display);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--color-bg);
    color: var(--color-text);
    padding: var(--space-xl) 0 var(--space-md);
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-logo {
    height: 50px;
    margin-bottom: var(--space-sm);
}

.footer-tagline {
    color: var(--color-text-muted);
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.footer-col p,
.footer-col a {
    display: block;
    color: var(--color-text-muted);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
}

.footer-bottom a {
    color: var(--color-primary);
    text-decoration:none;
}

/* ===================================
   Responsive Design
   =================================== */
@media (min-width: 1025px) {
    .intro-label {
        position: sticky;
        top: calc(var(--header-height, 108px) + 80px);
        z-index: 1;
        align-self: start;
    }
}
       
@media (max-width: 1024px) {
    .top-bar {
        position: relative;
    }

    /* Top-bar: single rij met iconen, tekst verborgen */
    .top-bar-container {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        padding: 0.4rem var(--space-sm);
    }

    .top-bar-social,
    .top-bar-contact {
        gap: 0.75rem;
    }

    .contact-text {
        display: none;
    }

    .nav {
        position: sticky;
        top: 0; /* top-bar scrollt mee, nav sticky bovenaan */
        z-index: 1002; /* boven top-bar (1001) */
    }

    /* Admin bar op tablet */
    body.admin-bar .nav { top: 32px; }

    .nav-container {
        padding: 0.75rem var(--space-sm);
    }

    .hero {
        padding-top: var(--space-lg);
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .label-text {
        writing-mode: horizontal-tb;
        transform: none;
    }

    .service-item {
        grid-template-columns: 60px 1fr;
        padding: var(--space-sm) var(--space-md);
    }

    .service-number {
        font-size: 1.5rem;
    }

    .service-title {
        font-size: 1.1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

@media (max-width: 768px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 4rem;
        --space-2xl: 5rem;
    }

    .hero {
        min-height: auto;
        height: auto;
        padding-top: var(--space-md);
        padding-bottom: var(--space-md);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .hero-image {
        order: -1;
    }

    .image-blob {
        max-width: 280px;
        margin: 0 auto;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: var(--space-sm);
    }

    .scroll-indicator {
        display: none;
    }

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

    .diensten-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .dienst-card {
        padding: var(--space-md);
    }

    .nav-links {
        flex-wrap: wrap;
        gap: var(--space-sm);
        justify-content: center;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .logo-img {
        height: 40px;
    }

    .intro-text {
        font-size: 1.1rem;
    }

    .services-note {
        padding: var(--space-sm);
    }

    .services-note p {
        font-size: 1rem;
    }

    .cta-title {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }

    .cta-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }

    .top-bar {
        font-size: 0.75rem;
        padding: 0.4rem 0;
    }

    .top-bar-container {
        padding: 0.4rem var(--space-sm);
    }

    .top-contact-link {
        font-size: 0.75rem;
    }

    .nav-container {
        padding: 0.75rem var(--space-sm);
    }

    .nav-links {
        width: 100%;
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 0.25rem 0;
    }

    .hero {
        padding-top: var(--space-sm);
        padding-bottom: var(--space-sm);
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: var(--space-sm);
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: var(--space-sm);
    }

    .image-blob {
        max-width: 200px;
    }

    .section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .section-title.large {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .service-item {
        grid-template-columns: 50px 1fr;
        padding: var(--space-sm);
    }

    .service-number {
        font-size: 1.2rem;
    }

    .service-title {
        font-size: 1rem;
    }

    .card-title {
        font-size: 1.3rem;
    }

    .card-description {
        font-size: 0.95rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .btn.large {
        padding: 1rem 1.75rem;
        font-size: 1rem;
    }

    .footer-logo {
        height: 40px;
    }

    .footer-title {
        font-size: 1.1rem;
    }
}

/* ===================================
   Dienstpagina — Herbruikbare stijlen
   (page-audit-onderwijs, page-bestuurlijke-audit, etc.)
   =================================== */

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}
.breadcrumb a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb a:hover {
    color: var(--color-primary);
}
.breadcrumb span[aria-current="page"] {
    color: var(--color-text);
    font-weight: 500;
}

/* Section label (klein bovenschrift boven titels) */
.section-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

/* ===================================
   Page Hero (C2-stijl, dienst-pagina's)
   =================================== */

/* SVG animaties */
@keyframes heroFlowLine {
    from { stroke-dashoffset: 1200; }
    to   { stroke-dashoffset: 0; }
}
@keyframes heroFlowLineRev {
    from { stroke-dashoffset: 0; }
    to   { stroke-dashoffset: -1200; }
}
@keyframes heroBreathe {
    0%, 100% { transform: scale(1);    opacity: var(--op, .08); }
    50%       { transform: scale(1.06); opacity: calc(var(--op, .08) * 1.6); }
}
@keyframes heroDrift {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-14px); }
}

.page-hero {
    position: relative;
    background-color: var(--color-bg);
    padding: var(--space-xl) 0;
    overflow: hidden;
    min-height: calc(100vh - var(--header-height, 108px));
    display: flex;
    align-items: center;
}
.page-hero > .container {
    width: 100%;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 42%;
    height: 100%;
    background: #F0E8E0;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
    pointer-events: none;
}

/* SVG decoratieve vormen */
.page-hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.page-hero-shapes svg {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    animation: heroDrift 18s ease-in-out infinite;
}
.page-hero-shapes path {
    stroke-dasharray: 1200;
    animation: heroFlowLine 6s ease-out forwards,
               heroFlowLineRev 20s 6s linear infinite;
}
.page-hero-shapes path:nth-child(1) { animation-delay: 0s,   6s;   }
.page-hero-shapes path:nth-child(2) { animation-delay: .4s,  6.4s; }
.page-hero-shapes path:nth-child(3) { animation-delay: .8s,  6.8s; }
.page-hero-shapes circle {
    transform-box: fill-box;
    transform-origin: center;
    animation: heroBreathe 7s ease-in-out infinite;
}
.page-hero-shapes circle:nth-child(4) { animation-delay: 0s;   --op: .08; }
.page-hero-shapes circle:nth-child(5) { animation-delay: 1.5s; --op: .10; }

/* Inner grid: tekst links, aside rechts */
.page-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: end;
    width: 100%;
}
.page-hero-text {
    max-width: 700px;
}

/* Aside: "Aanpak / Luisteren, kijken en verbinden" */
.page-hero-aside {
    text-align: right;
    padding-bottom: 0.5rem;
    flex-shrink: 0;
}
.page-hero-aside-label {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.4rem;
}
.page-hero-aside-text {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.55;
    max-width: 180px;
    text-align: right;
}
.page-hero-aside-text p { margin: 0; }

.page-hero-label {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1rem;
}
.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.05;
    margin-bottom: var(--space-sm);
    max-width: 700px;
}
.page-hero-title .accent {
    color: var(--color-primary);
}
.page-hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    font-weight: 400;
}
.page-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s var(--transition-smooth);
    border: 2px solid var(--color-border-dark);
    color: var(--color-text);
    background: transparent;
    letter-spacing: 0.01em;
}
.btn-ghost:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 30, 30, 0.12);
}

/* ===================================
   Dienst Intro
   =================================== */
.dienst-intro {
    padding: var(--space-xl) 0;
    background: var(--color-surface);
}
.dienst-intro-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-lg);
    align-items: start;
}
.dienst-intro-text {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}
.dienst-intro-text:last-child {
    margin-bottom: 0;
}
.dienst-intro-text p { margin-bottom: 1em; }
.dienst-intro-text p:last-child { margin-bottom: 0; }
.quote-block {
    background: var(--color-surface);
    border-left: 4px solid var(--color-primary);
    padding: var(--space-md);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 24px rgba(139, 30, 30, 0.06);
    position: sticky;
    top: 120px;
}
.quote-icon {
    color: var(--color-primary);
    opacity: 0.3;
    margin-bottom: 1rem;
}
.quote-heading {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}
.quote-text {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}
.quote-text p { margin: 0; }
.quote-source {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-style: italic;
}

/* ===================================
   Dienst Voordelen
   =================================== */
.dienst-voordelen {
    padding: var(--space-xl) 0;
    background: var(--color-bg-alt);
}
.dienst-voordelen-header {
    margin-bottom: var(--space-lg);
}
.voordelen-intro {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.75;
    margin-top: -0.5rem;
}
.voordelen-outro {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.75;
    margin-top: var(--space-lg);
    max-width: 100%;
}
.voordelen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}
.voordeel-kaart {
    background: var(--color-surface);
    padding: var(--space-md);
    border-radius: 8px;
    border: 1px solid var(--color-border);
    transition: box-shadow 0.3s var(--transition-smooth), transform 0.3s var(--transition-smooth);
}
.voordeel-kaart:hover {
    box-shadow: 0 8px 32px rgba(139, 30, 30, 0.08);
    transform: translateY(-2px);
}
.voordeel-icon {
    width: 52px;
    height: 52px;
    background: rgba(139, 30, 30, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--color-primary);
}
.voordeel-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}
.voordeel-text {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.75;
    margin-bottom: 0.75rem;
}
.voordeel-text p { margin-bottom: 0.75em; }
.voordeel-text p:last-child { margin-bottom: 0; }
.voordeel-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.voordeel-list li {
    font-size: 0.9rem;
    color: var(--color-text-light);
    padding-left: 1.25rem;
    position: relative;
}
.voordeel-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}
.voordeel-outro {
    font-size: 0.88rem;
    color: var(--color-text-light);
    font-style: italic;
    margin-top: 0.6rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* ===================================
   Dienst Werkwijze
   =================================== */
.dienst-werkwijze {
    padding: var(--space-xl) 0;
    background: var(--color-surface);
}
.werkwijze-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}
.werkwijze-text {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}
.werkwijze-text p { margin-bottom: 1em; }
.werkwijze-text p:last-child { margin-bottom: 0; }
.werkwijze-highlight {
    display: flex;
    align-items: center;
}
.werkwijze-highlight-inner {
    background: var(--color-bg-alt);
    border-left: 4px solid var(--color-primary);
    padding: var(--space-md);
    border-radius: 0 8px 8px 0;
}
.werkwijze-highlight-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.6;
    font-style: italic;
}
.werkwijze-highlight-text p { margin: 0; }

/* ===================================
   Werkwijze Duo (2 kolommen)
   =================================== */
.werkwijze-duo {
    padding: var(--space-xl) 0;
    background: var(--color-surface);
}
.werkwijze-duo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}
.werkwijze-duo-kolom {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}
.werkwijze-duo-kolom .section-title {
    margin-bottom: 0;
}

/* ===================================
   Dienst Ervaring
   =================================== */
.dienst-ervaring {
    padding: var(--space-xl) 0;
    background: var(--color-bg-alt);
}
.ervaring-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--space-lg);
    row-gap: 0;
    margin-top: var(--space-md);
}
.ervaring-kolom {
    display: flex;
    flex-direction: column;
}
.ervaring-kolom--full {
    grid-column: 1 / -1;
}
.ervaring-text {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}
.ervaring-text p { margin-bottom: 1em; }
.ervaring-text p:last-child { margin-bottom: 0; }
.ervaring-text:last-child { margin-bottom: 0; }

/* Link-styling in alle content areas */
.intro-text a, .dienst-intro-text a,
.werkwijze-text a, .ervaring-text a,
.voordeel-tekst a, .voor-wie-intro a,
.voordelen-outro a {
    color: var(--color-primary);
    text-decoration: underline;
}
.intro-text a:hover, .dienst-intro-text a:hover,
.werkwijze-text a:hover, .ervaring-text a:hover,
.voordeel-tekst a:hover, .voor-wie-intro a:hover,
.voordelen-outro a:hover {
    color: var(--color-primary-dark);
}

/* Lijst-styling in alle content areas */
.intro-text ol, .intro-text ul,
.dienst-intro-text ol, .dienst-intro-text ul,
.werkwijze-text ol, .werkwijze-text ul,
.ervaring-text ol, .ervaring-text ul,
.voordeel-tekst ol, .voordeel-tekst ul {
    padding-left: 1.25em;
    margin-bottom: 1em;
    list-style-position: outside;
}

.intro-text li, .dienst-intro-text li,
.werkwijze-text li, .ervaring-text li,
.voordeel-tekst li {
    margin-bottom: 0.5em;
    padding-left: 0.25em;
}

.intro-text li:last-child, .dienst-intro-text li:last-child,
.werkwijze-text li:last-child, .ervaring-text li:last-child,
.voordeel-tekst li:last-child {
    margin-bottom: 0;
}

/* ===================================
   Dienst Voor Wie
   =================================== */
.dienst-voor-wie {
    padding: var(--space-xl) 0;
    background: var(--color-surface);
}
.voor-wie-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}
.voor-wie-intro {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.75;
    margin-top: var(--space-sm);
}
.voor-wie-intro p { margin-bottom: 1em; }
.voor-wie-intro p:last-child { margin-bottom: 0; }
.voor-wie-intro ul,
.voor-wie-intro ol {
    padding-left: 1.5em;
    margin-bottom: 1em;
}
.voor-wie-intro ul { list-style: disc; }
.voor-wie-intro ol { list-style: decimal; }
.voor-wie-intro li { margin-bottom: 0.4em; }
.dienst-voor-wie .btn-primary,
.dienst-intro .btn-primary,
.dienst-werkwijze .btn-primary,
.dienst-ervaring .btn-primary { margin-top: 1rem; }
.voor-wie-lijst {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-self: center;
}
.voor-wie-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.5;
}
.voor-wie-item:last-child {
    border-bottom: none;
}
.voor-wie-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: rgba(139, 30, 30, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-top: 0.1rem;
}

/* ===================================
   Foto-varianten (heeft-foto modifier)
   =================================== */

/* Foto-element — gedeeld door intro, werkwijze */
.dienst-foto {
    border-radius: 12px;
    overflow: hidden;
    align-self: start;
}
.dienst-foto img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    aspect-ratio: var(--foto-ratio, 4/3);
    border-radius: inherit;
}

/* Intro: foto schaalt mee met de teksthoogte links, maar nooit hoger dan 560px */
.dienst-intro.heeft-foto .dienst-intro-grid {
    align-items: stretch;
}
.dienst-intro .dienst-foto {
    align-self: stretch;
    max-height: 560px;
}
.dienst-intro .dienst-foto img {
    height: auto;
    max-height: 560px;
    /* aspect-ratio erft var(--foto-ratio) van de basisregel */
}

/* Werkwijze: foto onder het highlight-blok in de rechterkolom */
.werkwijze-right {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}
.werkwijze-right .werkwijze-highlight {
    margin: 0;
}
.werkwijze-right .dienst-foto img {
    aspect-ratio: var(--foto-ratio, 16/9);
}

/* Ervaring met portret: foto links, tekst rechts */
.ervaring-met-foto-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: var(--space-xl);
    align-items: center;
}
.ervaring-portret {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(139, 30, 30, 0.1);
}
.ervaring-portret img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: var(--foto-ratio, 3/4);
    object-fit: cover;
    border-radius: inherit;
}

/* ===================================
   Responsive: Dienstpagina's
   =================================== */
@media (max-width: 1024px) {
    .dienst-intro-grid,
    .dienst-intro.heeft-foto .dienst-intro-grid {
        grid-template-columns: 1fr;
    }
    .quote-block {
        position: static;
    }
    .voordelen-grid {
        grid-template-columns: 1fr 1fr;
    }
    .werkwijze-grid,
    .werkwijze-duo-grid {
        grid-template-columns: 1fr;
    }
    .ervaring-grid,
    .ervaring-met-foto-grid {
        grid-template-columns: 1fr;
    }
    .ervaring-portret {
        max-width: 340px;
    }
    .ervaring-portret img {
        aspect-ratio: 3 / 2;
    }
    .voor-wie-grid {
        grid-template-columns: 1fr;
    }
    .page-hero::before {
        width: 38%;
    }
    .page-hero-aside {
        display: none;
    }
    .page-hero-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: auto;
        padding: var(--space-lg) 0;
    }
    .page-hero::before {
        display: none;
    }
    .page-hero-shapes {
        display: none;
    }
    .page-hero-inner {
        grid-template-columns: 1fr;
    }
    .page-hero-aside {
        display: none;
    }
    .voordelen-grid {
        grid-template-columns: 1fr;
    }
    .page-hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    .page-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .werkwijze-grid {
        gap: var(--space-md);
    }
    .ervaring-grid {
        gap: var(--space-md);
    }
    .voor-wie-grid {
        gap: var(--space-md);
    }
    /* Portret: landscape ratio op mobile zodat het niet te hoog wordt */
    .ervaring-portret img {
        aspect-ratio: 16 / 9;
        max-height: 260px;
    }
    /* Intro foto: vaste ratio bij gestapelde layout */
    .dienst-intro .dienst-foto {
        align-self: auto;
    }
    .dienst-intro .dienst-foto img {
        height: auto;
        aspect-ratio: 4 / 3;
    }
}

/* ===================================
   Sectie achtergrondkeuze (ACF block)
   =================================== */
[class*="dienst-"].sectie-bg--cream,
.dienst-faq.sectie-bg--cream,
.services.sectie-bg--cream,
.intro.sectie-bg--cream,
.werkwijze-duo.sectie-bg--cream { background-color: var(--color-bg, #FAF8F5); }
[class*="dienst-"].sectie-bg--wit,
.dienst-faq.sectie-bg--wit,
.services.sectie-bg--wit,
.intro.sectie-bg--wit,
.werkwijze-duo.sectie-bg--wit   { background-color: var(--color-surface, #FFFFFF); }
[class*="dienst-"].sectie-bg--zand,
.dienst-faq.sectie-bg--zand,
.services.sectie-bg--zand,
.intro.sectie-bg--zand,
.werkwijze-duo.sectie-bg--zand  { background-color: #F0E8E0; }

/* ===================================
   FAQ Accordion
   =================================== */
.dienst-faq {
    padding: var(--space-xl) 0;
}
.faq-label {
    font-family: var(--font-display);
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--color-accent);
    margin-bottom: .5rem;
}
.dienst-faq .section-title {
    margin-bottom: var(--space-lg);
}
.faq-list {
    max-width: 800px;
}
.faq-item {
    border-bottom: 1px solid var(--color-border, #e5e0db);
}
.faq-item:first-child {
    border-top: 1px solid var(--color-border, #e5e0db);
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    list-style: none;
}
.faq-question::-webkit-details-marker {
    display: none;
}
.faq-question::marker {
    display: none;
    content: '';
}
.faq-chevron {
    flex-shrink: 0;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}
.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 0 1.5rem 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-light);
}
.faq-answer p:last-child {
    margin-bottom: 0;
}

@media (max-width: 480px) {
    .page-hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    .voordelen-grid,
    .werkwijze-grid,
    .ervaring-grid,
    .voor-wie-grid,
    .dienst-intro-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}
/* ===================================
   Klanten Logo Carousel (ACF Block)
   =================================== */
@keyframes logo-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.klanten-logos {
    padding: var(--space-xl) 0;
    background-color: #ffffff;
    overflow: hidden;
}
.klanten-logos.sectie-bg--cream {
    background-color: var(--color-bg, #FAF8F5);
}
.klanten-logos__header {
    text-align: center;
    margin-bottom: var(--space-lg);
}
.klanten-logos__titel {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted, #aaa);
    margin: 0;
}
.klanten-logos__track-wrap {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    overflow: hidden;
}
.klanten-logos__track {
    display: flex;
    width: max-content;
    animation: logo-marquee 40s linear infinite;
}
.klanten-logos__track:hover {
    animation-play-state: paused;
}
.klanten-logos__item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 32px;
    flex-shrink: 0;
}
.klanten-logos__item img {
    height: 60px;
    max-width: 188px;
    width: auto;
    object-fit: contain;
    user-select: none;
}
@media (max-width: 640px) {
    .klanten-logos__item {
        padding: 8px 20px;
    }
    .klanten-logos__item img {
        height: 45px;
        max-width: 138px;
    }
}

/* ===================================
   Testimonials Block
   =================================== */
.testimonials {
    padding: var(--space-xl) 0;
}
.testimonials.sectie-bg--cream { background-color: var(--color-bg, #FAF8F5); }
.testimonials.sectie-bg--wit   { background-color: var(--color-surface, #FFFFFF); }
.testimonials.sectie-bg--zand  { background-color: #F0E8E0; }

.testimonials-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--space-lg);
}
.testimonials-intro {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-top: var(--space-sm);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.testimonial-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    box-shadow: 0 2px 12px rgba(42, 24, 16, 0.04);
    transition: box-shadow 0.2s var(--transition-smooth);
}
.testimonial-card:hover {
    box-shadow: 0 6px 24px rgba(42, 24, 16, 0.09);
}

.testimonial-quote-mark {
    color: var(--color-primary);
    opacity: 0.25;
    line-height: 1;
}

.testimonial-text {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-text);
    font-style: italic;
    margin: 0;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-top: auto;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--color-border);
}

.testimonial-photo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--color-bg-alt);
}
.testimonial-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.testimonial-photo--initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.testimonial-name {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}
.testimonial-role-org {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin: 0;
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-card {
        padding: var(--space-sm);
    }
}

/* ── Referenties ─────────────────────────────────────────────────────────────── */
.referenties {
    padding: var(--space-xl) 0;
}
.referenties.sectie-bg--cream { background-color: var(--color-bg, #FAF8F5); }
.referenties.sectie-bg--wit   { background-color: var(--color-surface, #FFFFFF); }
.referenties.sectie-bg--zand  { background-color: #F0E8E0; }

.referenties-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--space-lg);
}
.referenties-intro {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-top: var(--space-sm);
}

.referenties-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.referentie-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    box-shadow: 0 2px 12px rgba(42, 24, 16, 0.04);
    transition: box-shadow 0.2s var(--transition-smooth);
}
.referentie-card:hover {
    box-shadow: 0 6px 24px rgba(42, 24, 16, 0.09);
}

.referentie-logo {
    max-height: 48px;
    margin-bottom: var(--space-xs);
}
.referentie-logo img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
    max-width:100%;
}

.referentie-quote-mark {
    color: var(--color-primary);
    opacity: 0.25;
    line-height: 1;
}

.referentie-text {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-text);
    font-style: italic;
    flex-grow: 1;
}
.referentie-text p {
    margin: 0 0 0.5em;
}
.referentie-text p:last-child {
    margin-bottom: 0;
}

.referentie-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-top: auto;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--color-border);
}

.referentie-photo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--color-bg-alt);
}
.referentie-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.referentie-photo--initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.referentie-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.referentie-name {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}
.referentie-name a {
    color: var(--color-primary);
    text-decoration: none;
}
.referentie-name a:hover {
    text-decoration: underline;
}
.referentie-role-org {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin: 0;
}

@media (max-width: 768px) {
    .referenties-grid {
        grid-template-columns: 1fr;
    }
    .referentie-card {
        padding: var(--space-sm);
    }
}


/* cookie banner */

#cc--main {
  --cc-btn-primary-bg: #8b1e1e;
  --cc-btn-primary-hover-bg: #8b1e1e;
  /*--cc-btn-primary-text: #6b5b52;*/
  --cc-btn-secondary-bg:#f4f0eb;
  --cc-btn-secondary-hover-bg:#f4f0eb;
  --cc-cookie-category-block-bg: #f4f0eb;
  --cc-cookie-category-block-bg-hover: #f4f0eb;
  --cc-bg: #fff;
  --cc-text: #2a1810;
}