/* ==========================================================================
   ROOIJAKKERS - GEOPTIMALISEERDE CSS
   ==========================================================================
   Inhoudsopgave:
   1. CSS Variabelen
   2. Reset & Basis
   3. Typografie
   4. Layout & Grid
   5. Header & Navigatie
   6. Hero Secties
   7. Knoppen & Links
   8. Kaarten & Afbeeldingen
   9. Footer
   10. Formulieren
   11. Projecten Pagina
   12. Over Ons Pagina
   13. Disciplines Pagina
   14. Contact Pagina
   15. Single Project Pagina
   16. Componenten (Swiper, Timeline, etc.)
   17. Animaties
   18. Media Queries
   ========================================================================== */

/* ==========================================================================
   1. CSS VARIABELEN
   ========================================================================== */
:root {
    /* Kleuren */
    --color-primary: #e2341f;
    --color-primary-hover: #c42a18;
    --color-secondary: #58585a;
    --color-dark: #2a2a2a;
    --color-white: #fff;
    --color-light: #f3f3f3;
    --color-light-bg: #f5f5f5;
    --color-text: #4a4a4a;
    --color-text-light: #666;
    --color-text-muted: #e0e0e0;
    --color-border: #e0e0e0;
    
    /* Transparante kleuren */
    --color-white-90: rgba(255, 255, 255, 0.9);
    --color-white-80: rgba(255, 255, 255, 0.8);
    --color-white-70: rgba(255, 255, 255, 0.7);
    --color-white-20: rgba(255, 255, 255, 0.2);
    --color-white-15: rgba(255, 255, 255, 0.15);
    --color-white-10: rgba(255, 255, 255, 0.1);
    --color-white-05: rgba(255, 255, 255, 0.05);
    --color-black-70: rgba(0, 0, 0, 0.7);
    --color-black-30: rgba(0, 0, 0, 0.3);
    --color-black-20: rgba(0, 0, 0, 0.2);
    --color-black-10: rgba(0, 0, 0, 0.1);
    --color-primary-15: rgba(226, 52, 31, 0.15);
    
    /* Fonts */
    --font-primary: "Helvetica", sans-serif;
    --font-heading: "Special Gothic Expanded One", sans-serif;
    
    /* Spacing */
    --spacing-xs: 10px;
    --spacing-sm: 15px;
    --spacing-md: 20px;
    --spacing-lg: 30px;
    --spacing-xl: 40px;
    --spacing-xxl: 60px;
    --spacing-section: 80px;
    
    /* Border radius */
    --radius-full: 50%;
    --radius-pill: 999px;
    
    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-base: 0.3s ease;
    --transition-slow: 0.4s ease;
    --transition-slower: 0.5s ease;
    --transition-cubic: 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
    
    /* Shadows */
    --shadow-sm: 0 2px 10px var(--color-black-10);
    --shadow-md: 0 4px 20px var(--color-black-10);
    --shadow-lg: 0 20px 40px var(--color-black-10);
    --shadow-xl: 0 30px 60px var(--color-black-20);
    
    /* Corner clip size */
    --corner-size: 61px;
    --corner-size-lg: 71px;
}

/* ==========================================================================
   2. RESET & BASIS
   ========================================================================== */
body {
    font-size: 18px;
    background-color: var(--color-secondary);
    font-family: var(--font-primary);
}

ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
}

a {
    text-decoration: none;
}

/* ==========================================================================
   3. TYPOGRAFIE
   ========================================================================== */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    text-transform: uppercase;
}

h1 {
    line-height: 51px;
    font-size: 58px;
}

h2 {
    line-height: 41px;
    font-size: 32px;
}

h2.albert,
h2.reverse {
    color: var(--color-light);
}

h2.reverse {
    display: inline;
    color: var(--color-white);
}

.albert {
    font-family: var(--font-heading);
    font-weight: 400;
}

/* Section titles - gedeeld */
.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-dark);
    margin-bottom: var(--spacing-section);
    text-transform: uppercase;
}

/* ==========================================================================
   4. LAYOUT & GRID
   ========================================================================== */
.inner-container {
    max-width: 1720px;
    margin: 0 auto;
}

/* ==========================================================================
   5. HEADER & NAVIGATIE
   ========================================================================== */

/* Basis header stijlen */
.site-header,
.site-header-compact {
    position: relative;
    overflow: hidden;
    z-index: 999;
}

.site-header {
    height: 100vh;
    z-index: 999999;
    display: flex;
    flex-direction: column;
}

.site-header-compact {
    height: 60vh;
    min-height: 460px;
}

.site-header video,
.site-header-compact video {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.site-header ul li a {
    color: var(--color-white);
    text-decoration: none;
}

/* Header content positioning */
.header-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
}

.header-footer {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    white-space: nowrap;
}

/* Background overlay */
.bg-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

/* Compact header specifiek */
.header-compact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.header-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.header-compact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-black-20);
    z-index: 2;
}

.header-compact-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.header-compact-logo {
    height: 70px;
    transition: transform var(--transition-base);
}

.header-compact-logo:hover {
    transform: scale(1.05);
}

.header-compact-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
}

.header-compact-menu li {
    display: inline-block;
}

.header-compact-menu li a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all var(--transition-base);
}

.header-compact-menu li a:hover,
.header-compact-menu li.current-menu-item a {
    border-bottom-color: var(--color-white);
}

.header-compact-vaandel {
    width: 50px;
    margin-top: -20px;
}

.header-compact-title {
    flex: 1;
    display: flex;
    align-items: center;
    padding: var(--spacing-xl) 0;
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--color-white);
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 0 2px 10px var(--color-black-30);
}

/* Sticky header */
.site-header-compact.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    box-shadow: var(--shadow-sm);
    animation: slideDown var(--transition-base);
}

.site-header-compact.sticky .header-compact-title {
    display: none;
}

.site-header-compact.sticky .header-compact-logo {
    height: 50px;
}

.site-header-compact + .c-main {
    margin-top: 0;
}

/* ==========================================================================
   6. HERO SECTIES
   ========================================================================== */

/* Gedeelde hero stijlen */
.m-hero,
.projecten-hero,
.over-hero,
.disciplines-hero {
    position: relative;
    overflow: hidden;
}

.m-hero {
    background-color: var(--color-primary);
}

.over-hero, .disciplines-hero, .projecten-hero {
    background-color: var(--color-primary);
    padding: var(--spacing-section) 0 175px;
}

/* Hero background effects */
.m-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-color: var(--color-primary);
    pointer-events: none;
}

.projecten-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

/* Hero content containers */
.m-hero-top {
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    z-index: 2;
}

.projecten-hero-content,
.over-hero-content,
.disciplines-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.over-hero-content,
.disciplines-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Hero titles */
.c-title--big {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--color-white) 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.projecten-title,
.over-title,
.disciplines-title {
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.projecten-title {
    font-size: 58px;
    font-weight: 900;
    line-height: 1.1;
}

.over-title {
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: 1;
    margin-bottom: var(--spacing-lg);
}

.disciplines-title {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    line-height: 1;
    margin-bottom: var(--spacing-lg);
}

.projecten-title .title-line,
.over-title .title-line,
.disciplines-title .title-line {
    display: block;
    animation: fadeInUp 0.8s ease-out backwards;
}

.projecten-title .title-line:nth-child(1) { animation-delay: 0.1s; }
.projecten-title .title-line:nth-child(2) { animation-delay: 0.2s; }
.projecten-title .title-line.accent { animation-delay: 0.3s; }

.projecten-title .title-line.accent,
.over-title .accent,
.disciplines-title .accent {
    color: var(--color-light);
}

/* Hero subtitles & intros */
.projecten-subtitle,
.over-subtitle,
.disciplines-subtitle {
    display: inline-block;
    font-weight: 600;
}

.projecten-subtitle, .over-intro,
.disciplines-intro {
    font-size: 1.5rem;
    color: var(--color-white-90);
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
    text-transform: uppercase;
}

.over-subtitle,
.disciplines-subtitle {
    color: var(--color-white-80);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-md);
}

.disciplines-subtitle {
    font-size: 1rem;
    letter-spacing: 3px;
}

/* Hero bottom grid */
.m-hero-bottom {
    padding: 0 1rem;
    position: relative;
    z-index: 2;
    padding-bottom: 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    justify-content: center;
    padding: 0 1rem;
}

.hero-column {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    margin-bottom: 0px;
    transition: transform var(--transition-slower), filter var(--transition-base);
}

.hero-column:hover {
    transform: translateY(-10px);
    filter: brightness(1.1);
}

.hero-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slower);
}

.hero-column:hover img {
    transform: scale(1.05);
}

.hero-column:hover::before {
    opacity: 0.8;
}

.hero-caption {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 3;
}

/* Kleinere tegels -> compactere caption zodat lange labels (Projectontwikkeling) passen */
.hero-caption .btn-link {
    font-size: 0.95rem;
    align-items: flex-start;
}

.hero-caption .btn-link span {
    line-height: 1.15;
}

.hero-caption .btn-link svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==========================================================================
   7. KNOPPEN & LINKS
   ========================================================================== */

/* Basis button stijlen */
.btn-link {
    display: inline-flex;
    align-items: center;
    color: var(--color-white);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-base);
    font-size: 1.2rem;
    text-transform: uppercase;
}

.btn-link:hover {
    color: var(--color-white);
    transform: translateX(5px);
}

.btn-link svg {
    margin-right: 0.75rem;
    transition: transform var(--transition-base);
}

.btn-link:hover svg {
    transform: translateX(3px);
}

/* Primary & Secondary buttons - gedeelde basis */
.btn-primary-over,
.btn-secondary-over,
.btn-primary-disciplines,
.btn-secondary-disciplines,
.btn-quick-cta,
.btn-submit,
.cta-button,
.discipline-btn {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all var(--transition-base);
    font-family: var(--font-heading);
}

.btn-primary-over,
.btn-secondary-over {
    gap: 12px;
    padding: 20px 45px;
    font-size: 1.1rem;
}

.btn-primary-disciplines,
.btn-secondary-disciplines {
    gap: 12px;
    padding: 18px 40px;
    font-size: 1rem;
}

.btn-primary-over,
.btn-primary-disciplines {
    background: var(--color-primary);
    color: var(--color-white);
    border: 3px solid var(--color-primary);
}

.btn-primary-over:hover,
.btn-primary-disciplines:hover {
    background: transparent;
    color: var(--color-white);
}

.btn-secondary-over,
.btn-secondary-disciplines {
    background: var(--color-white);
    color: var(--color-dark);
    border: 3px solid var(--color-white);
}

.btn-secondary-over:hover,
.btn-secondary-disciplines:hover {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

/* Quick CTA buttons */
.btn-quick-cta {
    gap: 12px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 18px 40px;
    border: 3px solid var(--color-primary);
    font-size: 1rem;
}

.btn-quick-cta:hover {
    background: transparent;
    color: var(--color-primary);
    transform: translateY(-3px);
}

.btn-quick-cta.secondary {
    background: var(--color-white);
    border-color: var(--color-white);
    color: var(--color-dark);
}

.btn-quick-cta.secondary:hover {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

/* CTA button (projecten) */
.projecten-cta .cta-button {
    background: var(--color-white);
    color: var(--color-primary);
    padding: 18px 40px;
    font-size: 1.1rem;
    border: 3px solid var(--color-white);
}

.projecten-cta .cta-button:hover {
    background: transparent;
    color: var(--color-white);
}

.projecten-cta .cta-button svg {
    margin-right: 12px;
}

.projecten-cta .cta-button:hover svg path {
    fill: var(--color-white);
}

/* Discipline button */
.discipline-btn {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 14px 35px;
    font-size: 0.95rem;
}

.discipline-btn:hover {
    background: var(--color-primary-hover);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(226, 52, 31, 0.3);
}

/* Filter buttons */
.filter-btn {
    background: transparent;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
    font-family: var(--font-heading);
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    transition: left var(--transition-base);
    z-index: -1;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    left: 0;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* CTA buttons container */
.cta-buttons,
.cta-buttons-disciplines,
.quick-cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.cta-buttons {
    justify-content: center;
}

/* ==========================================================================
   8. KAARTEN & AFBEELDINGEN
   ========================================================================== */

/* Image with corner effect */
.image-with-corner {
    position: relative;
}

.image-with-corner::before {
    content: "";
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    background: var(--color-secondary);
    width: var(--corner-size);
    height: var(--corner-size);
    position: absolute;
    bottom: -1px;
    right: -1px;
}

.image-with-corner.top::before {
    clip-path: polygon(0 0, 100% 0, 0 100%);
    width: var(--corner-size-lg);
    height: var(--corner-size-lg);
    top: -1px;
    left: -1px;
    bottom: auto;
    right: auto;
}

.image-with-corner.arrow::after {
    content: "";
    background: url(/wp-content/themes/rooijakkers/assets/img/arrow.png) no-repeat center center;
    background-size: 30px auto;
    height: 30px;
    width: 30px;
    position: absolute;
    bottom: 0;
    right: 0;
    transition: transform var(--transition-fast);
}

.image-with-corner.arrow:hover::after {
    transform: rotate(-45deg);
}

.cornered::before {
    content: "";
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    background: var(--color-secondary);
    width: var(--corner-size);
    height: var(--corner-size);
    position: absolute;
    top: -1px;
    right: -1px;
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
footer,
footer a {
    color: var(--color-light);
}

footer a:hover {
    color: var(--color-white);
}

footer.site-footer {
    background-color: var(--color-primary);
}

footer .menu li::before {
    margin-right: var(--spacing-xs);
    content: '\F285';
    font-family: "bootstrap-icons";
    color: var(--color-white);
    font-size: 14px;
}

.social .bi {
    background-color: white;
    border-radius: var(--radius-full);
    padding: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #000;
}

/* ==========================================================================
   10. FORMULIEREN
   ========================================================================== */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: var(--color-white);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    background: var(--color-white-05);
    border: 2px solid var(--color-white-10);
    color: var(--color-white);
    font-size: 1rem;
    transition: all var(--transition-base);
    border-radius: 0;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid var(--color-white-10);
    outline: none;
    box-shadow: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 45px;
}

.form-check {
    padding-left: 0;
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    margin-left: 0 !important;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    float: left;
    margin-top: 2px;
}

.form-check-input:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.form-check-label {
    color: var(--color-white-80);
    font-size: 0.95rem;
    cursor: pointer;
    margin-left: 32px;
}

.form-check-label a {
    color: var(--color-white);
    text-decoration: underline;
}

/* Submit button */
.btn-submit {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 18px 45px;
    border: 3px solid var(--color-primary);
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 15px;
    justify-content: center;
    gap: 12px;
}

.btn-submit:hover {
    background: #000;
    border-color: #000;
    color: var(--color-white);
}

.btn-submit svg {
    transition: transform var(--transition-base);
}

.btn-submit:hover svg {
    transform: translateX(5px);
}

/* Form states */
.contact-form.loading {
    opacity: 0.6;
    pointer-events: none;
}

.contact-form.loading .btn-submit {
    position: relative;
}

.contact-form.loading .btn-submit::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid transparent;
    border-top-color: var(--color-white);
    border-radius: var(--radius-full);
    animation: spin 0.8s linear infinite;
}

.form-success-message {
    background: rgba(100, 255, 100, 0.1);
    border: 2px solid rgba(100, 255, 100, 0.3);
    color: var(--color-white);
    padding: var(--spacing-md);
    margin-bottom: 25px;
    text-align: center;
    display: none;
}

.form-success-message.show {
    display: block;
    animation: slideDownForm 0.4s ease-out;
}

/* Focus states for accessibility */
.form-control:focus,
.form-check-input:focus,
.btn-submit:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ==========================================================================
   11. PROJECTEN PAGINA
   ========================================================================== */

/* Filter section */
.projecten-filter {
    background: var(--color-white);
    padding: var(--spacing-xl) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.projecten-filter.scrolled {
    padding: var(--spacing-md) 0;
    box-shadow: var(--shadow-md);
}

.filter-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Projects grid */
.projecten-grid-section {
    background: var(--color-secondary);
    padding: var(--spacing-section) 0;
}

.projecten-masonry {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--spacing-lg);
    padding: 0 var(--spacing-lg);
}

/* Project card */
.project-card {
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slower);
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Project card sizes */
.project-card.large { grid-column: span 8; }
.project-card.medium { grid-column: span 4; }
.project-card.small { grid-column: span 4; }

/* Alternating pattern */
.project-card:nth-child(1) { grid-column: span 7; }
.project-card:nth-child(2) { grid-column: span 5; }
.project-card:nth-child(3) { grid-column: span 5; }
.project-card:nth-child(4) { grid-column: span 4; }
.project-card:nth-child(5) { grid-column: span 3; }
.project-card:nth-child(6) { grid-column: span 8; }
.project-card:nth-child(7) { grid-column: span 4; }
.project-card:nth-child(8) { grid-column: span 6; }
.project-card:nth-child(9) { grid-column: span 6; }

/* Animation delays */
.project-card:nth-child(1) { transition-delay: 0.05s; }
.project-card:nth-child(2) { transition-delay: 0.1s; }
.project-card:nth-child(3) { transition-delay: 0.15s; }
.project-card:nth-child(4) { transition-delay: 0.2s; }
.project-card:nth-child(5) { transition-delay: 0.25s; }
.project-card:nth-child(6) { transition-delay: 0.3s; }
.project-card:nth-child(7) { transition-delay: 0.35s; }
.project-card:nth-child(8) { transition-delay: 0.4s; }

/* Project link & image wrapper */
.project-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.project-image-wrapper {
    position: relative;
    background: #2a2a2a;
    flex-shrink: 0;
}

/* Vaste beeldhoogtes per kaarttype — alleen voor de oude masonry-layout,
   zodat ze niet doorlekken naar het nieuwe .projecten-grid */
.projecten-masonry .project-card.large .project-image-wrapper,
.projecten-masonry .project-card.medium .project-image-wrapper,
.projecten-masonry .project-card.small .project-image-wrapper,
.projecten-masonry .project-card:nth-child(1) .project-image-wrapper,
.projecten-masonry .project-card:nth-child(2) .project-image-wrapper,
.projecten-masonry .project-card:nth-child(3) .project-image-wrapper,
.projecten-masonry .project-card:nth-child(4) .project-image-wrapper,
.projecten-masonry .project-card:nth-child(5) .project-image-wrapper,
.projecten-masonry .project-card:nth-child(6) .project-image-wrapper,
.projecten-masonry .project-card:nth-child(7) .project-image-wrapper,
.projecten-masonry .project-card:nth-child(8) .project-image-wrapper {
    height: 300px;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Project info */
.project-info {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 0;
    flex-shrink: 0;
    margin-top: var(--spacing-md);
}

.project-category {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--color-white);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.project-title {
    font-size: 1.8rem;
    color: var(--color-white);
    margin-bottom: 8px;
    line-height: 1.2;
    transition: color var(--transition-base);
    flex-grow: 1;
}

.project-card:hover .project-title {
    color: var(--color-primary);
}

.project-location {
    font-size: 1rem;
    color: var(--color-white);
    margin: 0;
    flex-shrink: 0;
}

/* Project card animate */
.project-card.animate-in {
    animation: slideInUp 0.6s ease-out forwards;
}

/* Loading & empty states */
.projecten-masonry.loading .project-card {
    opacity: 0.3;
    pointer-events: none;
}

.no-results {
    grid-column: span 12;
    text-align: center;
    padding: var(--spacing-section) var(--spacing-md);
    color: var(--color-white);
}

.no-results h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--color-light);
}

.no-results p {
    font-size: 1.2rem;
    color: var(--color-white-70);
}

/* Projecten CTA */
.projecten-cta {
    background: var(--color-secondary);
    text-align: center;
    padding-top: var(--spacing-section);
    padding-bottom: 32px;
    position: relative;
    overflow: hidden;
}

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

.projecten-cta .cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    text-transform: uppercase;
}

.projecten-cta .cta-text {
    font-size: 1.3rem;
    color: var(--color-white-90);
    margin-bottom: var(--spacing-xl);
    font-weight: 300;
}

/* ==========================================================================
   12. OVER ONS PAGINA
   ========================================================================== */

/* Scroll indicator */
.scroll-indicator-over {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 3;
}

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

.scroll-text {
    color: var(--color-white-80);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Story sections */
.story-section {
    padding: var(--spacing-section) 0;
    position: relative;
}

.story-section:nth-child(odd) {
    background: var(--color-secondary);
}

.story-section:nth-child(even) {
    background: var(--color-light-bg);
}

.story-image-col {
    padding: 0 var(--spacing-xl);
}

.story-image-wrapper {
    position: relative;
    overflow: hidden;
}

.story-image-wrapper img {
    width: 100%;
    height: auto;
    min-height: 500px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.story-section:hover .story-image-wrapper img {
    transform: scale(1.05);
}

.story-content-col {
    padding: 0 60px;
    display: flex;
    align-items: center;
}

.story-content {
    max-width: 600px;
}

.story-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    font-family: var(--font-heading);
}

.story-section:nth-child(odd) .story-number {
    color: var(--color-white-10);
}

.story-section:nth-child(even) .story-number {
    color: var(--color-primary-15);
}

.story-title {
    margin-bottom: var(--spacing-lg);
    line-height: 41px;
    font-size: 44px;
    display: block !important;
    text-transform: uppercase;
}

.story-section:nth-child(odd) .story-title {
    color: var(--color-white);
}

.story-section:nth-child(even) .story-title {
    color: var(--color-dark);
}

.story-text {
    font-size: 1.2rem;
    line-height: 1.9;
    margin-bottom: var(--spacing-lg);
}

.story-section:nth-child(odd) .story-text {
    color: var(--color-text-muted);
}

.story-section:nth-child(even) .story-text {
    color: var(--color-text);
}

.story-text p {
    margin-bottom: var(--spacing-md);
}

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

/* Story highlights */
.story-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: 50px;
}

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

.highlight-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-heading);
}

.highlight-label {
    display: block;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-light);
}

/* Quote section */
.quote-section {
    background-color: var(--color-primary);
    padding: var(--spacing-section) 0;
    position: relative;
    overflow: hidden;
}

.quote-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.quote-mark {
    font-size: 10rem;
    line-height: 0.5;
    color: var(--color-white-15);
    font-family: Georgia, serif;
    margin-bottom: var(--spacing-lg);
}

.quote-text {
    font-size: 2rem;
    line-height: 1.6;
    color: var(--color-white);
    font-weight: 300;
    font-style: italic;
    margin-bottom: var(--spacing-xl);
    border: none;
    padding: 0;
}

.quote-author {
    display: block;
    font-style: normal;
}

.author-name {
    display: block;
    font-size: 1.3rem;
    color: var(--color-white);
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.author-title {
    display: block;
    font-size: 1rem;
    color: var(--color-white-70);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Process section */
.process-section {
    background: var(--color-white);
    transition: all var(--transition-base);
    position: relative;
    padding: 120px 0;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, var(--color-black-70) 100%);
    z-index: 2;
    transition: opacity var(--transition-base);
}

.process-section-content {
    position: relative;
    z-index: 2;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.process-step {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
    background: #f9f9f9;
    border: 2px solid transparent;
    transition: all var(--transition-base);
    position: relative;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.process-step:hover {
    border-color: var(--color-primary);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.process-step:hover::before {
    opacity: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0 auto 25px;
    font-family: var(--font-heading);
    transition: transform var(--transition-base);
}

.process-step:hover .step-number {
    transform: scale(1.1);
}

.step-title {
    font-size: 1.5rem;
    color: var(--color-dark);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.step-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin: 0;
}

/* Values section */
.values-section {
    background: var(--color-secondary);
    padding-top: var(--spacing-section);
}

.values-section .section-title {
    color: var(--color-white);
}

/* Onvolledige laatste rij (bijv. 5 kernwaarden: 3 + 2) netjes gecentreerd */
.values-section .row {
    justify-content: center;
}

.value-card {
    background: var(--color-white);
    padding: 50px var(--spacing-lg);
    text-align: center;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 60px 60px 0;
    border-color: transparent var(--color-primary) transparent transparent;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.value-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
}

.value-card:hover::before {
    opacity: 1;
}

.value-icon {
    margin-bottom: var(--spacing-lg);
    transition: transform 0.4s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
}

.value-icon svg {
    width: 60px;
    height: 60px;
}

.value-title {
    font-size: 1.2rem;
    color: var(--color-dark);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
}

.value-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin: 0;
}

/* Over CTA section */
.over-cta-section {
    padding-top: var(--spacing-section);
    position: relative;
    overflow: hidden;
}

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

.over-cta-section .cta-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--color-white);
    margin-bottom: 25px;
    line-height: 1.2;
    text-transform: uppercase;
}

.over-cta-section .cta-text {
    font-size: 1.4rem;
    color: var(--color-white-90);
    max-width: 700px;
    margin: 0 auto 40px;
    font-weight: 300;
    line-height: 1.7;
}

/* Inline link in CTA-tekst ("contact" -> contactpagina) */
.over-cta-section .cta-text .cta-text-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.over-cta-section .cta-text .cta-text-link:hover {
    color: var(--color-primary);
}

/* ==========================================================================
   13. DISCIPLINES PAGINA
   ========================================================================== */

/* Scroll line animated */
.scroll-line-animated {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

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

/* Disciplines intro section */
.disciplines-intro-section {
    background: var(--color-secondary);
    padding: 100px 0;
}

.intro-image-wrapper {
    position: relative;
    overflow: hidden;
}

.intro-image-wrapper img {
    width: 100%;
    height: auto;
    min-height: 500px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.intro-image-wrapper:hover img {
    transform: scale(1.05);
}

.intro-content {
    padding-left: 50px;
}

.intro-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-white);
    margin-bottom: var(--spacing-lg);
    line-height: 1.1;
    text-transform: uppercase;
}

.intro-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
}

/* Disciplines grid */
.disciplines-grid-section {
    background: var(--color-light-bg);
    padding: var(--spacing-section) 0;
}

/* ==========================================================================
   SIMPLE DISCIPLINE CARDS (Direct links, no flip)
   ========================================================================== */
.disciplines-grid-simple {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.discipline-card-simple {
    display: block;
    position: relative;
    height: 400px;
    overflow: hidden;
    text-decoration: none;
    background: #1a1a1a;
}

/* Alle kaarten gelijk van grootte -> 4 gelijke knoppen in een 2x2 vierkant */
.discipline-card-simple.large {
    grid-column: span 1;
}

.discipline-card-simple:first-child {
    grid-column: span 1;
    height: 400px;
}

.discipline-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.discipline-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.discipline-card-simple:hover .discipline-card-image img {
    transform: scale(1.08);
}

.discipline-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.1) 100%);
    transition: background 0.3s ease;
}

.discipline-card-simple:hover .discipline-card-overlay {
    background: linear-gradient(to top, rgba(226,52,31,0.9) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.2) 100%);
}

.discipline-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    z-index: 2;
}

.discipline-card-title {
    font-size: 2rem;
    color: #fff;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    line-height: 1.1;
}

.discipline-card-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin: 0;
    font-weight: 300;
}

.discipline-card-arrow {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: #e2341f;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-10px);
}

.discipline-card-simple:hover .discipline-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 991px) {
    .disciplines-grid-simple {
        grid-template-columns: 1fr;
    }
    
    .discipline-card-simple,
    .discipline-card-simple:first-child,
    .discipline-card-simple.large {
        grid-column: span 1;
        height: 350px;
    }
    
    .discipline-card-title {
        font-size: 2rem;
    }
    
    .discipline-card-content {
        padding: 30px;
    }
    
    .discipline-card-arrow {
        top: 30px;
        right: 30px;
    }
}

@media (max-width: 767px) {
    .discipline-card-simple,
    .discipline-card-simple:first-child {
        height: 300px;
    }
    
    .discipline-card-title {
        font-size: 1.8rem;
    }
    
    .discipline-card-desc {
        font-size: 1rem;
    }
}

/* ==========================================================================
   OLD FLIP CARDS (kept for backwards compatibility)
   ========================================================================== */
.disciplines-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--spacing-lg);
}

/* Discipline card sizes */
.discipline-card.large { grid-column: span 6; }
.discipline-card.medium { grid-column: span 4; }
.discipline-card.small { grid-column: span 3; }

/* Grid pattern */
.discipline-card:nth-child(1),
.discipline-card:nth-child(2) { grid-column: span 6; }
.discipline-card:nth-child(3),
.discipline-card:nth-child(4),
.discipline-card:nth-child(5) { grid-column: span 4; }
.discipline-card:nth-child(6) { grid-column: span 12; }

/* Flip card structure */
.discipline-card {
    perspective: 1000px;
    height: 450px;
    cursor: pointer;
}

.discipline-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform var(--transition-cubic);
    transform-style: preserve-3d;
}

.discipline-card.flipped .discipline-inner {
    transform: rotateY(180deg);
}

.discipline-front,
.discipline-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 0;
    overflow: hidden;
}

.discipline-back {
    transform: rotateY(180deg);
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Front side */
.discipline-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.discipline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.discipline-card:hover .discipline-image img {
    transform: scale(1.1);
}

.discipline-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-black-30);
    transition: opacity 0.4s ease;
}

.discipline-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-xl);
    z-index: 2;
    color: var(--color-white);
}

.discipline-icon {
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

.discipline-icon svg {
    filter: drop-shadow(0 2px 4px var(--color-black-30));
}

.discipline-title {
    font-size: 2.2rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    line-height: 1.2;
}

.discipline-excerpt {
    font-size: 1.1rem;
    color: var(--color-white-90);
    margin: 0;
    font-weight: 300;
}

.discipline-arrow {
    position: absolute;
    bottom: var(--spacing-xl);
    right: var(--spacing-xl);
    width: 40px;
    height: 40px;
    background: var(--color-white-20);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.discipline-card:hover .discipline-arrow {
    background: var(--color-white);
    transform: scale(1.1);
}

.discipline-card:hover .discipline-arrow svg path {
    fill: var(--color-primary);
}

/* Back side */
.discipline-back-content {
    padding: 50px var(--spacing-xl);
    text-align: center;
}

.discipline-back-content h3 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
}

.discipline-back-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 25px;
}

.discipline-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-lg) 0;
}

.discipline-features li {
    padding: var(--spacing-xs) 0;
    color: var(--color-text-light);
    font-size: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.discipline-features li:last-child {
    border-bottom: none;
}

.discipline-features li::before {
    content: '✓';
    color: var(--color-primary);
    font-weight: bold;
    margin-right: var(--spacing-xs);
}

/* Process timeline section */
.process-timeline-section {
    background: var(--color-primary);
    padding-top: var(--spacing-section);
}

.process-timeline-section .section-title {
    color: var(--color-white);
}

.timeline-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    padding: 50px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-white-20);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-section);
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item.active,
.timeline-item.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

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

/* Odd items: image left, content right */
.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(odd) .timeline-image {
    width: 45%;
    padding-right: 8%;
    text-align: right;
}

.timeline-item:nth-child(odd) .timeline-content {
    width: 45%;
    margin-left: 8%;
    text-align: left;
}

/* Even items: content left, image right */
.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .timeline-image {
    width: 45%;
    padding-left: 8%;
    text-align: left;
}

.timeline-item:nth-child(even) .timeline-content {
    width: 45%;
    margin-right: 8%;
    text-align: right;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--color-white);
    border-radius: var(--radius-full);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    animation: pulse 2s infinite;
}

.timeline-image {
    overflow: hidden;
}

.timeline-image img {
    width: 100%;
    max-width: 350px;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.timeline-item:nth-child(odd) .timeline-image img {
    margin-left: auto;
}

.timeline-item:hover .timeline-image img {
    transform: scale(1.05);
}

.timeline-content {
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: 0;
    position: relative;
}

.timeline-number {
    display: inline-block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-primary-15);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-heading);
}

.timeline-title {
    font-size: 1.8rem;
    color: var(--color-dark);
    margin-bottom: 12px;
    text-transform: uppercase;
    line-height: 26px;
}

.timeline-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin: 0;
}

/* Disciplines CTA section */
.disciplines-cta-section {
    background-color: var(--color-secondary);
    padding: 100px 0 48px;
    position: relative;
    overflow: hidden;
}

.cta-content-disciplines {
    position: relative;
    z-index: 2;
}

.disciplines-cta-section .cta-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    text-transform: uppercase;
}

.disciplines-cta-section .cta-text {
    font-size: 1.3rem;
    color: var(--color-white-90);
    margin-bottom: var(--spacing-xl);
    font-weight: 300;
    line-height: 1.7;
    max-width: 600px;
}

/* Stats */
.cta-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--color-white-05);
    border: 2px solid var(--color-white-10);
    transition: all var(--transition-base);
}

.stat-item:hover {
    background: var(--color-white-10);
    border-color: var(--color-white);
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-heading);
}

.stat-label {
    display: block;
    font-size: 1.1rem;
    color: var(--color-white-80);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   14. CONTACT PAGINA
   ========================================================================== */

/* Contact hero */
.contact-hero {
    position: relative;
}

.contact-hero .row {
    min-height: auto;
}

/* Contact info side */
.contact-info-side {
    background-color: var(--color-primary);
    padding: 100px 60px;
    display: flex;
    position: relative;
    overflow: hidden;
    min-height: 700px;
}

.contact-info-content {
    position: relative;
    z-index: 2;
}

.contact-subtitle {
    display: inline-block;
    color: var(--color-white-80);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.contact-title .title-line {
    display: block;
}

.contact-title .accent {
    color: var(--color-light);
}

.contact-intro {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: var(--spacing-xxl);
    text-transform: uppercase;
}

/* Contact details */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.contact-detail-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.detail-icon {
    width: 60px;
    height: 60px;
    background: var(--color-white);
    border: 2px solid var(--color-white-20);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-base);
}

.contact-detail-item .detail-icon:hover {
    transform: scale(1.1);
}

.contact-detail-item .detail-icon svg path {
    stroke: var(--color-primary);
}

.detail-content {
    flex: 1;
}

.detail-label {
    font-size: 0.9rem;
    color: var(--color-white-70);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

.detail-value {
    font-size: 1.1rem;
    color: var(--color-white);
    margin: 0;
    line-height: 1.6;
}

.detail-value a {
    color: var(--color-white);
    text-decoration: none;
    transition: opacity var(--transition-base);
}

.detail-value a:hover {
    opacity: 0.8;
}

/* Contact form side */
.contact-form-side {
    background: var(--color-secondary);
    padding: 100px 60px;
    display: flex;
    align-items: center;
    min-height: 700px;
}

.contact-form-wrapper {
    width: 100%;
    margin: 0 auto;
}

.form-header {
    margin-bottom: var(--spacing-xl);
}

.form-title {
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.form-subtitle {
    font-size: 1.05rem;
    color: var(--color-white-80);
    margin: 0;
}

.contact-form {
    width: 100%;
}

/* Map section */
.contact-map-section {
    position: relative;
    height: 450px;
}

.map-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.map-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(88, 88, 90, 0.3) 0%, transparent 20%, transparent 80%, rgba(88, 88, 90, 0.3) 100%);
    pointer-events: none;
    z-index: 1;
}

.map-wrapper iframe {
    filter: grayscale(1) contrast(1.2);
    transition: filter var(--transition-base);
}

.map-wrapper:hover iframe {
    filter: grayscale(0.3) contrast(1);
}

/* Quick CTA section */
.contact-quick-cta {
    padding-top: var(--spacing-section);
    padding-bottom: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quick-cta-content {
    position: relative;
    z-index: 2;
}

.quick-cta-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--color-white);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.quick-cta-text {
    font-size: 1.2rem;
    color: var(--color-white-80);
    margin-bottom: var(--spacing-xl);
    font-weight: 300;
}

/* ==========================================================================
   15. SINGLE PROJECT PAGINA
   ========================================================================== */

/* Project hero */
.project-single .project-hero {
    background: var(--color-secondary);
    padding: var(--spacing-section) 0;
}

.project-hero-content {
    padding-right: var(--spacing-xl);
}

.project-categories {
    margin-bottom: var(--spacing-md);
}

.project-category-badge {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 6px 16px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    margin-right: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
    transition: all var(--transition-base);
}

.project-category-badge:hover {
    background: var(--color-primary-hover);
    color: var(--color-white);
}

.project-single .project-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.project-subtitel {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    margin-bottom: var(--spacing-lg);
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-white-90);
}

.meta-icon {
    opacity: 0.7;
}

.meta-value {
    font-size: 1rem;
}

.project-hero-image {
    position: relative;
    overflow: hidden;
}

.project-hero-image img {
    width: 100%;
    height: auto;
}

.project-hero-image::before {
    content: "";
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    background: var(--color-secondary);
    width: var(--corner-size);
    height: var(--corner-size);
    position: absolute;
    bottom: -1px;
    right: -1px;
}

/* Project content section */
.project-content-section {
    background: var(--color-light-bg);
    padding: var(--spacing-section) 0;
}

.project-description {
    margin-bottom: 50px;
}

.project-description h2 {
    font-size: 2rem;
    color: var(--color-dark);
    margin-bottom: 25px;
    text-transform: uppercase;
}

.project-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
}

.project-werkzaamheden {
    background: var(--color-white);
    padding: var(--spacing-lg);
}

.project-werkzaamheden h3 {
    font-size: 1.5rem;
    color: var(--color-dark);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
}

.werkzaamheden-list {
    color: var(--color-text);
    line-height: 2;
}

/* Sidebar cards */
.project-kenmerken-card,
.project-types-card {
    background: var(--color-white);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.project-kenmerken-card h3,
.project-types-card h4 {
    font-size: 1.3rem;
    color: var(--color-dark);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: var(--spacing-xs);
}

.kenmerken-list {
    margin: 0;
}

.kenmerk-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.kenmerk-item:last-child {
    border-bottom: none;
}

.kenmerk-item dt {
    font-weight: 600;
    color: var(--color-dark);
}

.kenmerk-item dd {
    margin: 0;
    color: var(--color-text-light);
}

.types-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.type-tag {
    display: inline-block;
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 8px 16px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all var(--transition-base);
}

.type-tag:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Gallery section */
.project-gallerij-section {
    background: var(--color-primary);
    padding: var(--spacing-section) 0;
}

.project-gallerij-section .section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xl);
    text-transform: uppercase;
}

.gallerij-item {
    display: block;
    position: relative;
    overflow: hidden;
}

.gallerij-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallerij-item:hover img {
    transform: scale(1.1);
}

.gallerij-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(226, 52, 31, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
    color: var(--color-white);
}

.gallerij-item:hover .gallerij-overlay {
    opacity: 1;
}

/* Video section */
.project-video-section {
    background: var(--color-light-bg);
    padding: var(--spacing-section) 0;
}

.project-video-section .section-title {
    font-size: 2rem;
    color: var(--color-dark);
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
}

.project-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.project-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Related projects */
.project-gerelateerd-section {
    background: var(--color-secondary);
    padding: var(--spacing-section) 0;
}

.project-gerelateerd-section .section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xl);
    text-transform: uppercase;
}

.project-card-link {
    display: block;
    text-decoration: none;
}

.project-card-link .image-with-corner {
    margin-bottom: 15px;
}

.project-card-link .image-with-corner img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-card-title {
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 5px;
    text-transform: uppercase;
    transition: color var(--transition-base);
}

.project-card-link:hover .project-card-title {
    color: var(--color-light);
}

.project-card-locatie {
    color: var(--color-white-70);
    font-size: 1rem;
    margin: 0;
}

/* Project CTA section */
.project-cta-section {
    background: var(--color-primary);
    padding: var(--spacing-section) 0;
}

.project-cta-section .cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.project-cta-section .cta-text {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.project-cta-section .cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Project navigation */
.project-navigation {
    background: var(--color-dark);
    padding: var(--spacing-lg) 0;
}

.nav-link {
    display: inline-block;
    text-decoration: none;
}

.nav-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5px;
}

.nav-title {
    display: block;
    font-size: 1.1rem;
    color: var(--color-white);
    text-transform: uppercase;
    transition: color var(--transition-base);
}

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

/* ==========================================================================
   16. COMPONENTEN (Swiper, Scroll, CTA, etc.)
   ========================================================================== */

/* Scroll indicator */
.scroll-indicator {
    cursor: pointer;
    position: absolute;
    width: 30px;
    height: 50px;
    border: 1px solid var(--color-white);
    border-radius: var(--radius-pill);
    left: 50%;
    transform: translateX(-50%);
    bottom: 40px;
    z-index: 9;
}

.scroll-indicator .bullit {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: var(--radius-full);
    background-color: var(--color-white);
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s cubic-bezier(0.645, 0.045, 0.355, 1) infinite;
}

.icon-scroll-down-wrapper {
    margin-top: 3rem;
    animation: bounce 2s infinite;
}

.icon-scroll-down {
    width: 61px;
    height: 61px;
    transition: transform var(--transition-base);
    cursor: pointer;
}

.icon-scroll-down:hover {
    transform: scale(1.1);
}

/* Product Swiper */
.productSwiper img {
    transition: transform var(--transition-fast), opacity var(--transition-fast);
    transform-origin: center bottom;
    display: block;
}

.productSwiper .swiper-slide:hover img {
    transform: scale(1.165);
}

.productSwiper .swiper-slide {
    overflow-x: clip;
}

.productSwiper .image-card {
    position: relative;
    overflow: hidden;
}

.productSwiper .image-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 16/9;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
    transform-origin: center bottom;
    display: block;
}

.productSwiper .image-card::before {
    content: '';
    display: block;
    padding-top: 10%;
}

.productSwiper .swiper-slide:hover .c-node-project-teaser-large__title {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.c-node-project-teaser-large__title {
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    position: absolute;
    top: 56%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    z-index: 10;
}

.c-node-project-teaser-large__title h3 {
    font-size: 40px;
}

/* CTA Section */
.m-cta {
    background: var(--color-white);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
}

.cta-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    text-transform: uppercase;
    line-height: 1.4;
    animation: fadeInUp 1s ease-out 0.3s both;
    color: var(--color-primary);
    font-family: var(--font-primary);
}

/* Banner Section */
.m-banner {
    position: relative;
    overflow: hidden;
}

.banner-wrapper {
    position: relative;
}

.banner-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform var(--transition-slower);
}

.banner-wrapper:hover img {
    transform: scale(1.02);
}

/* Rich Text Section */
.m-rich-text {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.rich-text-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.rich-text-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.rich-text-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

/* ==========================================================================
   17. ANIMATIES
   ========================================================================== */

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

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

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

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 0;
    }
    15%, 85% {
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(22px);
        opacity: 0;
    }
}

@keyframes scrollLineMove {
    0%, 100% {
        opacity: 0;
        transform: translateY(-20px);
    }
    50% {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* AOS animation enhancements */
[data-aos] {
    pointer-events: auto;
}

.story-section [data-aos] {
    transition-duration: 1s;
}

/* ==========================================================================
   18. MEDIA QUERIES
   ========================================================================== */

/* ===== TABLET LANDSCAPE (max-width: 1200px) ===== */
@media (max-width: 1200px) {
    .project-card.large,
    .project-card.medium,
    .project-card.small,
    .project-card:nth-child(n),
    .discipline-card.large,
    .discipline-card.medium,
    .discipline-card.small,
    .discipline-card:nth-child(n) {
        grid-column: span 6;
    }
}

/* ===== TABLET PORTRAIT (min-width: 769px) and (max-width: 1024px) ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 0 1.5rem;
    }
    
    .project-card:nth-child(3n+1) {
        grid-column: span 12;
    }
    
    .project-card:nth-child(3n+2),
    .project-card:nth-child(3n+3) {
        grid-column: span 6;
    }
}

/* ===== TABLET (max-width: 991px) ===== */
@media (max-width: 991px) {
    /* Header compact */
    .site-header-compact {
        height: 44vh;
        min-height: 300px;
    }
    
    .header-compact-logo {
        height: 60px;
    }
    
    .header-compact-menu {
        gap: 25px;
    }
    
    .header-compact-menu li a {
        font-size: 0.9rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    /* Over ons & Disciplines hero */
    .over-hero,
    .disciplines-hero {
        padding: 100px 0 150px;
    }
    
    .disciplines-hero {
        padding: 100px 0 80px;
    }
    
    /* Story sections */
    .story-section {
        padding: var(--spacing-section) 0;
    }
    
    .story-image-col,
    .story-content-col {
        padding: 0 var(--spacing-md);
    }
    
    .story-image-wrapper {
        margin-bottom: var(--spacing-xl);
    }
    
    .story-content {
        max-width: 100%;
    }
    
    .story-highlights {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
    }
    
    .highlight-number {
        font-size: 2.5rem;
    }
    
    /* Quote section */
    .quote-section {
        padding: var(--spacing-section) 0;
    }
    
    .quote-text {
        font-size: 1.6rem;
    }
    
    /* Process & values sections */
    .process-section,
    .values-section,
    .over-cta-section {
        padding: var(--spacing-section) 0;
    }
    
    .process-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: var(--spacing-lg);
    }
    
    /* Disciplines intro */
    .disciplines-intro-section,
    .disciplines-grid-section {
        padding: var(--spacing-section) 0;
    }
    
    .intro-content {
        padding-left: 0;
        margin-top: var(--spacing-xl);
    }
    
    .intro-image-wrapper img {
        min-height: 350px;
    }
    
    /* Timeline */
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        text-align: left;
        padding-left: 80px;
        padding-right: 0;
    }
    
    .timeline-dot {
        left: 0;
        transform: translateX(0);
    }
    
    .timeline-line {
        left: 10px;
    }
    
    .timeline-wrapper {
        max-width: 700px;
    }
    
    .timeline-image img {
        max-width: 280px;
        height: 180px;
    }
    
    .timeline-content {
        padding: 25px;
    }
    
    .timeline-title {
        font-size: 1.5rem;
    }
    
    /* Contact pagina */
    .contact-hero .row {
        min-height: auto;
    }
    
    .contact-info-side,
    .contact-form-side {
        padding: 60px 40px;
        min-height: auto;
    }
    
    .contact-info-side {
        order: 2;
    }
    
    .contact-form-side {
        order: 1;
    }
    
    /* Single project */
    .project-hero-content {
        padding-right: 0;
        margin-bottom: var(--spacing-xl);
    }
    
    .project-content-section .col-lg-4 {
        margin-top: var(--spacing-xl);
    }
}

/* ===== MOBILE (max-width: 768px) ===== */
@media (max-width: 768px) {
    /* Hero grid */
    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0 1rem;
    }
    
    .hero-column {
        aspect-ratio: 1/1;
    }
    
    .m-hero-top {
        padding: 4rem 1rem 3rem;
    }
    
    .hero-caption {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
    }
    
    .btn-link {
        font-size: 0.8rem;
    }
    
    .rich-text-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Header compact */
    .site-header-compact {
        height: 300px;
    }
    
    .header-compact-content .row {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-compact-content .col-2,
    .header-compact-content .col-8 {
        width: 100%;
    }
    
    .header-compact-logo {
        height: 50px;
    }
    
    .header-compact-menu {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .header-compact-vaandel {
        width: 40px;
        margin-top: 0;
    }
    
    .page-title {
        font-size: 2rem;
        text-align: center;
    }
    
    /* Projecten pagina */
    .projecten-hero {
        padding: 80px 0 60px;
    }
    
    .projecten-title,
    .over-title,
    .disciplines-title {
        font-size: 3rem;
    }
    
    .projecten-subtitle,
    .over-intro,
    .disciplines-intro {
        font-size: 1.2rem;
    }
    
    .filter-wrapper {
        gap: var(--spacing-xs);
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .projecten-masonry {
        gap: var(--spacing-md);
        padding: 0 15px;
    }
    
    .project-card.large,
    .project-card.medium,
    .project-card.small,
    .project-card:nth-child(n) {
        grid-column: span 12;
    }
    
    .project-card.large .project-image-wrapper,
    .project-card.medium .project-image-wrapper,
    .project-card.small .project-image-wrapper,
    .project-card:nth-child(n) .project-image-wrapper {
        height: 300px;
    }
    
    .project-title {
        font-size: 1.5rem;
    }
    
    .projecten-cta,
    .disciplines-cta-section {
        padding: 60px 0;
    }
    
    .projecten-cta .cta-title {
        font-size: 2rem;
    }
    
    .projecten-cta .cta-text {
        font-size: 1.1rem;
    }
    
    /* Over ons pagina */
    .over-hero {
        padding: 80px 0 120px;
    }
    
    .story-section {
        padding: 60px 0;
    }
    
    .story-image-wrapper img {
        min-height: 300px;
    }
    
    .story-number {
        font-size: 3rem;
    }
    
    .story-title {
        font-size: 2rem;
    }
    
    .story-text {
        font-size: 1.05rem;
    }
    
    .story-highlights {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .quote-mark {
        font-size: 6rem;
    }
    
    .quote-text {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: var(--spacing-xl);
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons,
    .cta-buttons-disciplines,
    .quick-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-primary-over,
    .btn-secondary-over,
    .btn-primary-disciplines,
    .btn-secondary-disciplines,
    .btn-quick-cta {
        justify-content: center;
        width: 100%;
    }
    
    /* Disciplines pagina */
    .disciplines-hero {
        padding: 80px 0 60px;
    }
    
    .discipline-card.large,
    .discipline-card.medium,
    .discipline-card.small,
    .discipline-card:nth-child(n) {
        grid-column: span 12;
        height: 400px;
    }
    
    .disciplines-grid {
        gap: var(--spacing-md);
    }
    
    .discipline-content {
        padding: var(--spacing-lg);
    }
    
    .discipline-title {
        font-size: 1.8rem;
    }
    
    .process-timeline-section {
        padding: var(--spacing-section) 0;
    }
    
    .timeline-item {
        flex-direction: column !important;
        margin-bottom: var(--spacing-xxl);
    }
    
    .timeline-item:nth-child(odd) .timeline-image,
    .timeline-item:nth-child(even) .timeline-image {
        width: 100%;
        padding: 0;
        text-align: center;
        margin-bottom: var(--spacing-md);
        order: 1;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: 100%;
        margin: 0;
        text-align: center;
        order: 2;
    }
    
    .timeline-item:nth-child(odd) .timeline-image img,
    .timeline-item:nth-child(even) .timeline-image img {
        margin: 0 auto;
        max-width: 100%;
    }
    
    .timeline-line,
    .timeline-dot {
        display: none;
    }
    
    .cta-stats {
        margin-top: var(--spacing-xl);
    }
    
    /* Contact pagina */
    .contact-info-side,
    .contact-form-side {
        padding: 50px 30px;
    }
    
    .contact-title {
        font-size: 2.5rem;
        margin-bottom: var(--spacing-md);
    }
    
    .contact-intro {
        font-size: 1.1rem;
        margin-bottom: var(--spacing-xl);
    }
    
    .contact-details {
        gap: var(--spacing-lg);
    }
    
    .detail-icon {
        width: 50px;
        height: 50px;
    }
    
    .form-title {
        font-size: 2rem;
    }
    
    .btn-submit {
        padding: 16px 35px;
        font-size: 1rem;
    }
    
    .contact-map-section {
        height: 350px;
    }
    
    .contact-quick-cta {
        padding: 60px 0;
    }
    
    /* Single project */
    .project-single .project-hero {
        padding: 60px 0;
    }
    
    .project-single .project-title {
        font-size: 2rem;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    .gallerij-item img {
        height: 200px;
    }
    
    .project-cta-section .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .project-navigation .col-6 {
        width: 100%;
        margin-bottom: var(--spacing-md);
    }
    
    .project-navigation .text-end {
        text-align: left !important;
    }
}

/* ===== TOUCH DEVICE IMPROVEMENTS ===== */
@media (hover: none) {
    .discipline-card {
        cursor: default;
    }
    
    .discipline-card .discipline-arrow {
        background: var(--color-white);
    }
    
    .discipline-card .discipline-arrow svg path {
        fill: var(--color-primary);
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .disciplines-hero,
    .disciplines-cta-section,
    .contact-map-section,
    .contact-quick-cta,
    .btn-submit {
        break-inside: avoid;
    }
    
    .discipline-card,
    .contact-hero {
        break-inside: avoid;
        height: auto;
        min-height: auto;
    }
    
    .contact-info-side {
        background: var(--color-white);
        color: #000;
    }
}

/* ==========================================================================
   CONTACT FORM 7 - STYLING
   Compatible met bestaande Bootstrap form styling
   ========================================================================== */

/* Reset CF7 default styling om conflicts te voorkomen */
.wpcf7 .wpcf7-form-control-wrap {
    display: block;
}

/* Form group spacing */
.wpcf7 .form-group {
    margin-bottom: 25px;
}

/* Labels - direct boven input, geen extra spacing */
.wpcf7 .form-group > label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-dark, #2a2a2a);
    font-size: 0.95rem;
}

/* Verwijder eventuele <br> die CF7 toevoegt */
.wpcf7 .form-group br {
    display: none;
}

/* Input velden met .form-control class */
.wpcf7 .form-control {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
    height: auto;
    line-height: 1.5;
}

.wpcf7 .form-control:focus {
    outline: none;
    border-color: var(--color-primary, #e2341f);
    box-shadow: 0 0 0 3px rgba(226, 52, 31, 0.1);
}

/* Placeholder styling */
.wpcf7 .form-control::placeholder {
    color: var(--color-text-light, #999);
    opacity: 1;
}

/* Select dropdown */
.wpcf7 select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
    cursor: pointer;
}

/* Textarea */
.wpcf7 textarea.form-control {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

/* ==========================================================================
   PRIVACY CHECKBOX - .form-check styling
   ========================================================================== */

.wpcf7 .form-check {
    margin-top: 30px;
    margin-bottom: 25px;
    color: #fff;
}

/* CF7 acceptance wrapper */
.wpcf7 .form-check .wpcf7-form-control-wrap {
    display: inline;
}

.wpcf7 .form-check .wpcf7-list-item {
    margin: 0;
    display: inline;
}

.wpcf7 .form-check .wpcf7-list-item label {
    display: inline;
    font-weight: 400;
}

/* Checkbox input */
.wpcf7 .form-check-input,
.wpcf7 .form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    vertical-align: middle;
    cursor: pointer;
    accent-color: var(--color-primary, #e2341f);
}

.wpcf7 .form-check a {
    color: #fff;
    text-decoration: underline;
}

.wpcf7 .form-check a:hover {
    text-decoration: none;
}

/* ==========================================================================
   SUBMIT BUTTON
   ========================================================================== */

.wpcf7 .btn-submit,
.wpcf7 input.btn-submit,
.wpcf7 button.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--color-primary, #e2341f);
    color: var(--color-white, #fff);
    padding: 16px 36px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
}

.wpcf7 .btn-submit:hover {
    background: var(--color-primary-hover, #c42a18);
    transform: translateY(-2px);
}

.wpcf7 .btn-submit:active {
    transform: translateY(0);
}

.wpcf7 .btn-submit:disabled {
    background: var(--color-text-light, #666);
    cursor: not-allowed;
    transform: none;
}

/* Spinner naast button */
.wpcf7-spinner {
    margin-left: 15px;
    vertical-align: middle;
}

/* ==========================================================================
   VALIDATIE & FOUTMELDINGEN
   ========================================================================== */

/* Ongeldig veld */
.wpcf7 .wpcf7-not-valid {
    border-color: #dc3232 !important;
    background-color: #fff8f8 !important;
}

/* Foutmelding tekst */
.wpcf7 .wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 0.85rem;
    margin-top: 6px;
    display: block;
}

/* ==========================================================================
   RESPONSE BERICHTEN
   ========================================================================== */

.wpcf7 .wpcf7-response-output {
    margin: 25px 0 0 !important;
    padding: 18px 22px !important;
    border: none !important;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Succesvol verzonden */
.wpcf7-form.sent .wpcf7-response-output {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745 !important;
}

/* Mislukt */
.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.aborted .wpcf7-response-output {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545 !important;
}

/* Ongeldige invoer */
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output {
    background: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107 !important;
}

/* Spam gedetecteerd */
.wpcf7-form.spam .wpcf7-response-output {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545 !important;
}

/* ==========================================================================
   LOADING STATE
   ========================================================================== */

.wpcf7-form.submitting {
    pointer-events: none;
}

.wpcf7-form.submitting .btn-submit {
    opacity: 0.7;
}

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

@media (max-width: 767px) {
    .wpcf7 .form-group {
        margin-bottom: 20px;
    }
    
    .wpcf7 .form-control {
        padding: 12px 14px;
        font-size: 16px; /* Voorkomt zoom op iOS */
    }
    
    .wpcf7 .btn-submit {
        width: 100%;
        padding: 14px 24px;
    }
}

/* ==========================================================================
   PROJECT VIDEO STYLES
   ========================================================================== */

/* Transparante Overlay Header voor projecten met video */
.site-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
}

.header-overlay-content {
    padding: 20px 0;
}

.header-overlay-logo {
    height: 80px;
    width: auto;
}

.header-overlay-vaandel {
    width: 60px;
    margin-top: -20px;
}

.header-overlay-menu li a {
    color: #fff !important;
}

.header-overlay-menu li a:hover {
    color: #e2341f !important;
}

/* Project Hero met Video Background */
.project-hero.has-video-header {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 0 !important;
    padding-bottom: 80px;
    margin-top: 0;
}

.project-hero.has-video-header .project-hero-content {
    padding-top: 120px; /* Ruimte voor de overlay header */
}

.project-hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.project-hero-video-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.project-hero-video-bg .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.65) 0%, rgba(26, 26, 26, 0.5) 100%);
}

.project-hero.has-video-header .container {
    position: relative;
    z-index: 1;
}

/* Project Card Video Hover */
.project-card .project-image-wrapper {
    position: relative;
    overflow: hidden;
}

.project-card .project-hover-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.project-card.has-video:hover .project-hover-video {
    opacity: 1;
}

.project-card.has-video:hover .project-image {
    opacity: 0;
}

.project-card .project-image {
    transition: opacity 0.4s ease, transform 0.5s ease;
}

/* Video Play Badge */
.video-play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: rgba(226, 52, 31, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all 0.3s ease;
}

.video-play-badge svg {
    margin-left: 3px;
}

.project-card.has-video:hover .video-play-badge {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
}

/* Responsive Video */
@media (max-width: 991px) {
    .project-hero.has-video-header {
        min-height: 80vh;
    }
    
    .project-hero.has-video-header .project-hero-content {
        padding-top: 100px;
    }
    
    .header-overlay-logo {
        height: 60px;
    }
    
    .header-overlay-vaandel {
        width: 50px;
    }
}

@media (max-width: 767px) {
    .project-hero.has-video-header {
        min-height: 70vh;
    }
    
    .project-hero.has-video-header .project-hero-content {
        padding-top: 80px;
    }
    
    .header-overlay-logo {
        height: 50px;
    }
    
    .header-overlay-vaandel {
        width: 40px;
        margin-top: -10px;
    }
}
/* ==========================================================================
   Lokale heading-font (voorheen via Google Fonts geladen)
   ========================================================================== */
@font-face {
    font-family: 'Special Gothic Expanded One';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../font/special-gothic/special-gothic-expanded-one-latin-400-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Special Gothic Expanded One';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../font/special-gothic/special-gothic-expanded-one-latin-ext-400-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   Projecten — gegroepeerd overzicht per type
   ========================================================================== */
.projecten-group {
    margin-bottom: var(--spacing-section);
}
.projecten-group:last-child {
    margin-bottom: 0;
}
.projecten-group-header {
    padding: 0 var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}
.projecten-group-title {
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    color: var(--color-dark);
    text-transform: uppercase;
    margin: 0;
    padding-bottom: var(--spacing-sm);
    position: relative;
}
.projecten-group-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64px;
    height: 4px;
    background-color: var(--color-primary);
}

/* Gevarieerd projecten-raster: speels ritme met wisselende kaartbreedtes,
   volledige (niet-afgekapte) titels, en rijen die altijd de volle breedte
   vullen. De PHP kent per kaart een kolomspan (pc-*) toe die per rij optelt
   tot 12, zodat er nooit witruimte rechts overblijft. */
.projecten-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--spacing-lg);
    padding: 0 var(--spacing-lg);
    align-items: stretch;
}
.projecten-grid .project-card {
    grid-column: span 4;    /* fallback; wordt overschreven door pc-* */
    min-width: 0;           /* voorkomt horizontale overflow */
    display: flex;
    opacity: 1;             /* altijd zichtbaar, los van JS-reveal */
    transform: none;
}
.projecten-grid .pc-1  { grid-column: span 1; }
.projecten-grid .pc-2  { grid-column: span 2; }
.projecten-grid .pc-3  { grid-column: span 3; }
.projecten-grid .pc-4  { grid-column: span 4; }
.projecten-grid .pc-5  { grid-column: span 5; }
.projecten-grid .pc-6  { grid-column: span 6; }
.projecten-grid .pc-7  { grid-column: span 7; }
.projecten-grid .pc-8  { grid-column: span 8; }
.projecten-grid .pc-9  { grid-column: span 9; }
.projecten-grid .pc-10 { grid-column: span 10; }
.projecten-grid .pc-11 { grid-column: span 11; }
.projecten-grid .pc-12 { grid-column: span 12; }
.projecten-grid .project-card .project-link {
    width: 100%;
}
.projecten-grid .project-image-wrapper {
    height: 260px;          /* uniforme beeldhoogte; variatie zit in de breedte */
    width: 100%;
}
.projecten-grid .project-info {
    flex-grow: 1;           /* vult de kaart -> locatie lijnt onderaan uit */
}
.projecten-grid .project-title {
    overflow-wrap: break-word;   /* volledige titel; breekt alleen te lange woorden af */
}
/* Pijl blijft in de hoek (rechtsonder). Alleen tijdens de hover schuift hij
   minimaal mee naar binnen, zodat de -45°-rotatie binnen het beeld blijft
   (geen uitsteken, geen afknippen) */
.projecten-grid .image-with-corner.arrow:hover::after {
    transform: translate(-8px, -8px) rotate(-45deg);
}

/* Tablet: 2 gelijke kolommen */
@media (max-width: 991px) {
    .projecten-group-header {
        padding: 0 var(--spacing-md);
    }
    .projecten-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 var(--spacing-md);
    }
    .projecten-grid .project-card {
        grid-column: span 1;     /* overschrijft de pc-* spans */
    }
}
/* Mobiel: 1 kolom */
@media (max-width: 575px) {
    .projecten-grid {
        grid-template-columns: 1fr;
    }
    .projecten-grid .project-card {
        grid-column: span 1;
    }
    .projecten-grid .project-image-wrapper {
        height: 220px;
    }
}

/* ============================================================
   Homepage projecten-blok (front-page.php, layout 'projecten_grid')
   Gelijke afbeeldingshoogte zodat de titels onder elkaar uitlijnen.
   De bronafbeeldingen hebben wisselende verhoudingen (o.a. portret);
   img-fluid behield die hoogte. Vaste verhouding + cover maakt ze gelijk.
   ============================================================ */
.home-project-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

/* ============================================================
   Smooth scroll naar de categorie-secties op de projecten-pagina.
   De filter-knoppen linken naar #categorie-<slug> (in-page anchor)
   i.p.v. een aparte taxonomie-pagina. scroll-margin-top houdt
   rekening met de vaste header (100px) zodat de titel zichtbaar blijft.
   ============================================================ */
html {
    scroll-behavior: smooth;
}
.projecten-group {
    scroll-margin-top: 120px;
}

/* ============================================================
   Partner / keurmerk-logo's onderaan de homepage
   ============================================================ */
.partner-logos-section {
    background: var(--color-white);
    padding: var(--spacing-section) 0;
}
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(2rem, 5vw, 4rem);
}
.partner-logo img {
    height: 64px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
}
@media (max-width: 767px) {
    .partner-logos { gap: 2.5rem; }
    .partner-logo img { height: 48px; }
}

/* ============================================================
   Mobiele typografie-vangnet: voorkomt dat losse (niet-geclasste)
   koppen op kleine schermen te groot worden / overlopen. Koppen met
   een eigen class (hogere specificiteit) behouden hun eigen grootte.
   ============================================================ */
@media (max-width: 767px) {
    h1 {
        font-size: 2.4rem;
        line-height: 1.1;
    }
    h2 {
        font-size: 1.6rem;
        line-height: 1.25;
    }
}
@media (max-width: 400px) {
    h1 {
        font-size: 2rem;
    }
}

/* ============================================================
   Mobiele navigatie (offcanvas) + hamburger-knop  [v3.3]
   Modern drill-down paneel in de huisstijl.
   ============================================================ */

/* ---- Hamburger ---- */
.nav-toggle {
    display: none; /* alleen zichtbaar op mobiel/tablet */
    position: fixed;
    top: 20px;
    right: calc(18px + env(safe-area-inset-right, 0px));
    z-index: 1000002;
    width: 52px;
    height: 52px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: var(--color-primary);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}
.nav-toggle:active { transform: scale(0.94); }
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--color-white);
    transition: transform 0.3s ease, opacity 0.2s ease, width 0.3s ease;
}
.nav-toggle span:nth-child(2) { width: 17px; margin-right: 7px; }
.nav-toggle:hover span:nth-child(2) { width: 24px; margin-right: 0; }
/* Hamburger vervaagt wanneer het paneel open is (kruisje in paneel neemt het over) */
body.nav-open .nav-toggle { opacity: 0; pointer-events: none; }

/* ---- Overlay ---- */
.offcanvas-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    background: rgba(0, 0, 0, 0.55);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.32s ease, visibility 0.32s ease;
}
body.nav-open .offcanvas-nav-overlay { opacity: 1; visibility: visible; }

/* ---- Paneel ---- */
.offcanvas-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1000001;
    display: flex;
    flex-direction: column;
    width: min(88vw, 390px);
    background: linear-gradient(165deg, #2e2e2e 0%, #222 100%);
    color: var(--color-white);
    transform: translateX(102%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    overflow: hidden;
}
/* Rode accentlijn aan de linkerzijde van het paneel */
.offcanvas-nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: var(--color-primary);
}
body.nav-open .offcanvas-nav { transform: translateX(0); }

/* ---- Paneel-header: logo + sluitknop ---- */
.offcanvas-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 14px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}
.offcanvas-nav-logo img { height: 46px; width: auto; display: block; }
.offcanvas-nav-close {
    position: relative;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.offcanvas-nav-close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--color-white);
    transition: background 0.25s ease;
}
.offcanvas-nav-close span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.offcanvas-nav-close span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }
.offcanvas-nav-close:hover,
.offcanvas-nav-close:active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: rotate(90deg);
}

/* ---- Scrollgebied ---- */
.offcanvas-nav-scroll {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 14px 28px 20px;
}

/* ---- Hoofdmenu ---- */
.offcanvas-menu,
.offcanvas-menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.offcanvas-menu > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* items schuiven gestaffeld in bij openen */
    opacity: 0;
    transform: translateX(28px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
body.nav-open .offcanvas-menu > li { opacity: 1; transform: translateX(0); }
body.nav-open .offcanvas-menu > li:nth-child(1) { transition-delay: 0.07s; }
body.nav-open .offcanvas-menu > li:nth-child(2) { transition-delay: 0.12s; }
body.nav-open .offcanvas-menu > li:nth-child(3) { transition-delay: 0.17s; }
body.nav-open .offcanvas-menu > li:nth-child(4) { transition-delay: 0.22s; }
body.nav-open .offcanvas-menu > li:nth-child(5) { transition-delay: 0.27s; }
body.nav-open .offcanvas-menu > li:nth-child(6) { transition-delay: 0.32s; }
body.nav-open .offcanvas-menu > li:nth-child(7) { transition-delay: 0.37s; }
body.nav-open .offcanvas-menu > li:nth-child(8) { transition-delay: 0.42s; }

/* Genummerde hoofd-items in huisstijl */
.offcanvas-menu > li > a,
.offcanvas-menu > li > .offcanvas-item-row > a {
    position: relative;
    display: block;
    flex: 1 1 auto;
    padding: 16px 0;
    color: var(--color-white);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: color 0.22s ease, padding-left 0.22s ease;
}
.offcanvas-menu > li > a:hover,
.offcanvas-menu > li > .offcanvas-item-row > a:hover,
.offcanvas-menu > li.current-menu-item > a,
.offcanvas-menu > li.current-menu-item > .offcanvas-item-row > a,
.offcanvas-menu > li.current-menu-ancestor > .offcanvas-item-row > a { color: var(--color-primary); }

/* Rij met uitklap-knop */
.offcanvas-item-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.submenu-toggle {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    background: transparent;
    color: var(--color-white);
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.submenu-toggle svg { transition: transform 0.3s ease; }
.submenu-toggle[aria-expanded="true"] {
    background: var(--color-primary);
    border-color: var(--color-primary);
}
.submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

/* ---- Submenu (drill-down, animatie via max-height in JS) ---- */
.offcanvas-menu .sub-menu {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-4px);
    transition: max-height 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease, transform 0.28s ease;
    margin: 0 0 0 4px;
    border-left: 2px solid var(--color-primary);
}
li.submenu-open > .sub-menu {
    opacity: 1;
    transform: translateY(0);
}
.offcanvas-menu .sub-menu li:first-child { margin-top: 4px; }
.offcanvas-menu .sub-menu li:last-child { margin-bottom: 14px; }
.offcanvas-menu .sub-menu li a {
    position: relative;
    display: block;
    padding: 10px 0 10px 20px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 1.02rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.offcanvas-menu .sub-menu li a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 2px;
    background: var(--color-primary);
    transform: translateY(-50%) scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
}
.offcanvas-menu .sub-menu li a:hover,
.offcanvas-menu .sub-menu li.current-menu-item > a {
    color: var(--color-white);
    padding-left: 26px;
}
.offcanvas-menu .sub-menu li a:hover::before,
.offcanvas-menu .sub-menu li.current-menu-item > a::before { transform: translateY(-50%) scaleX(1); }

/* ---- Paneel-footer: CTA + contactgegevens ---- */
.offcanvas-nav-footer {
    flex-shrink: 0;
    padding: 18px 28px calc(20px + env(safe-area-inset-bottom, 0px)) 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.18);
}
.offcanvas-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    background: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 1.02rem;
    letter-spacing: 0.03em;
    border-radius: 4px;
    transition: background 0.25s ease, transform 0.25s ease;
}
.offcanvas-cta:hover { background: var(--color-primary-hover); color: var(--color-white); }
.offcanvas-cta:active { transform: scale(0.97); }
.offcanvas-contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    margin-top: 13px;
}
.offcanvas-contact-links a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}
.offcanvas-contact-links a:hover { color: var(--color-white); }

/* ---- Compacte variant voor lage schermen (telefoon liggend) ---- */
@media (max-height: 540px) {
    .offcanvas-nav { width: min(70vw, 420px); }
    .offcanvas-nav-header { padding: 10px 16px 8px 24px; }
    .offcanvas-nav-logo img { height: 34px; }
    .offcanvas-nav-close { width: 40px; height: 40px; }
    .offcanvas-nav-scroll { padding: 8px 24px 12px; }
    .offcanvas-menu > li > a,
    .offcanvas-menu > li > .offcanvas-item-row > a { padding: 10px 0; font-size: 1.12rem; }
    .submenu-toggle { width: 36px; height: 36px; }
    .offcanvas-nav-footer { padding: 10px 24px 12px 24px; }
    .offcanvas-cta { padding: 10px 16px; font-size: 0.95rem; }
    .offcanvas-contact-links { margin-top: 8px; }
}

/* Toon hamburger + verberg het horizontale menu en vaandel op mobiel/tablet */
@media (max-width: 991px) {
    .nav-toggle { display: flex; }
    .header-content .col-8,
    .header-overlay-content .col-8,
    .header-compact-content .col-8 { display: none !important; }
    .header-content [class*="vaandel"],
    .header-content img[src*="vaandel"],
    .header-overlay-content [class*="vaandel"],
    .header-overlay-content img[src*="vaandel"],
    .header-compact-content [class*="vaandel"],
    .header-compact-content img[src*="vaandel"] { display: none !important; }
}

/* Homepage hero-tekst laten meeschalen op mobiel (voorkomt overlopen) */
@media (max-width: 768px) {
    .site-header .header-footer h1 {
        font-size: 2.6rem !important;
        line-height: 1.05 !important;
    }
    .site-header .header-footer h1 span {
        font-size: inherit !important;
    }
    .site-header .header-footer h2 {
        font-size: 1.5rem !important;
        line-height: 1.15 !important;
        padding-left: 0 !important;
    }
}
@media (max-width: 400px) {
    .site-header .header-footer h1 { font-size: 2.1rem !important; }
    .site-header .header-footer h2 { font-size: 1.25rem !important; }
}

/* Achtergrond niet meescrollen wanneer het mobiele menu open is */
body.nav-open { overflow: hidden; }

/* ============================================================
   Partner-logo's als Swiper-carrousel
   ============================================================ */
.partner-swiper {
    width: 100%;
    padding: 0 8px;
}
.partner-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
}
.partner-swiper .swiper-slide img {
    margin: 0 auto;
}

/* ============================================================
   Desktop dropdown-menu (Max Mega Menu) in huisstijl  [v3.3]
   Vervangt het standaard witte vlak door een donker paneel
   met rode accentlijn, passend bij de rest van de site.
   ============================================================ */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > ul.mega-sub-menu {
    background: #262626 !important;
    border: 0 !important;
    border-top: 3px solid var(--color-primary) !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.38) !important;
    padding: 10px 0 12px !important;
    min-width: 290px !important;
    overflow: hidden;
}

#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item > ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link {
    display: block !important;
    color: var(--color-white) !important;
    font-family: var(--font-heading) !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    letter-spacing: 0.05em !important;
    line-height: 1.35 !important;
    height: auto !important;
    padding: 13px 30px 13px 25px !important;
    border-left: 3px solid transparent !important;
    background: transparent !important;
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, padding-left 0.22s ease !important;
}

#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item > ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item > ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link:focus {
    background: rgba(255, 255, 255, 0.06) !important;
    border-left-color: var(--color-primary) !important;
    padding-left: 32px !important;
    color: var(--color-white) !important;
}

#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item > ul.mega-sub-menu li.mega-current-menu-item > a.mega-menu-link {
    border-left-color: var(--color-primary) !important;
    color: var(--color-primary) !important;
    background: rgba(255, 255, 255, 0.04) !important;
}

/* Hoofd-items: hover/actief in merk-rood, geen plugin-achtergrond */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    background: transparent !important;
    transition: color 0.2s ease !important;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item:hover > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-current-menu-item > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-current-menu-ancestor > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-current-page-ancestor > a.mega-menu-link {
    color: var(--color-primary) !important;
    background: transparent !important;
}

/* Stabiele viewport-hoogte op mobiel (adresbalk telt niet mee) */
@supports (height: 100svh) {
    .site-header { height: 100svh; }
    .project-hero.has-video-header { min-height: 100svh; }
    .site-header-compact { height: 60svh; }

    @media (max-width: 991px) {
        .site-header-compact { height: 44svh; }
    }
}

/* ============================================================
   Gerelateerde projecten swiper op dienst-pagina's  [v3.5]
   ============================================================ */
.discipline-projecten-swiper {
    overflow: hidden;
}

.discipline-projecten-swiper .swiper-slide {
    height: auto;
}

.discipline-projecten-swiper .project-card-link {
    display: block;
}

/* ============================================================
   "Andere diensten"-kaarten met projectfoto  [v3.5]
   ============================================================ */
.andere-discipline-card {
    position: relative;
    overflow: hidden;
}

.andere-discipline-card.has-foto {
    min-height: 235px;
    display: flex;
    align-items: flex-end;
    padding: 0;
}

.andere-discipline-foto {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.001);
    transition: transform 0.5s ease;
}

.andere-discipline-card:hover .andere-discipline-foto {
    transform: scale(1.06);
}

.andere-discipline-foto-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.12) 0%, rgba(20, 20, 20, 0.55) 55%, rgba(20, 20, 20, 0.88) 100%);
    transition: background 0.3s ease;
}

.andere-discipline-card.has-foto .andere-discipline-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 26px 30px 24px;
}

.andere-discipline-card.has-foto .andere-discipline-subtitel {
    margin-bottom: 12px;
}

/* ============================================================
   Sticky navigatiebalk  [v3.5]
   ============================================================ */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999990; /* onder de offcanvas (1000000+), boven al het andere */
    background: rgba(30, 30, 30, 0.88);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

body.sticky-nav-visible .sticky-nav {
    transform: translateY(0);
    opacity: 1;
}

.sticky-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 28px;
}

.sticky-nav-logo img {
    height: 40px;
    width: auto;
    display: block;
    transform: translateY(6px) scale(0.94);
    opacity: 0;
    transition: transform 0.5s ease 0.12s, opacity 0.5s ease 0.12s;
}

body.sticky-nav-visible .sticky-nav-logo img {
    transform: none;
    opacity: 1;
}

.sticky-nav-menu > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 4px;
}

.sticky-nav-menu li { position: relative; }

.sticky-nav-menu li > a {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 11px 14px;
    color: var(--color-white);
    text-decoration: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.04em;
    transition: color 0.2s ease;
}

.sticky-nav-menu li > a:hover,
.sticky-nav-menu li.is-current > a { color: var(--color-primary); }

.sticky-nav-menu li > a svg { transition: transform 0.25s ease; }
.sticky-nav-menu li:hover > a svg { transform: rotate(180deg); }

/* Dropdown in de vaste balk (zelfde stijl als het mega-dropdown) */
.sticky-sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: block;          /* verticale lijst, niet de flex van de hoofdbalk */
    min-width: 250px;
    max-width: calc(100vw - 32px);
    margin: 0;
    padding: 8px 0 10px;
    list-style: none;
    background: #262626;
    border-top: 3px solid var(--color-primary);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.38);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.sticky-sub-menu li {
    display: block;
    width: 100%;
}

/* Laatste menu-items: dropdown rechts uitlijnen zodat hij niet buiten beeld valt */
.sticky-nav-menu > ul > li:last-child .sticky-sub-menu,
.sticky-nav-menu > ul > li:nth-last-child(2) .sticky-sub-menu {
    left: auto;
    right: 0;
}

.sticky-nav-menu li:hover > .sticky-sub-menu,
.sticky-nav-menu li:focus-within > .sticky-sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sticky-sub-menu li a {
    display: block;
    padding: 11px 26px 11px 21px;
    color: var(--color-white);
    text-decoration: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.05em;
    border-left: 3px solid transparent;
    transition: background 0.22s ease, border-color 0.22s ease, padding-left 0.22s ease;
}

.sticky-sub-menu li a:hover {
    background: rgba(255, 255, 255, 0.06);
    border-left-color: var(--color-primary);
    padding-left: 27px;
}

/* Rode scroll-voortgangsbalk onderaan de vaste balk */
.sticky-nav-progress {
    display: block;
    height: 3px;
    width: 0;
    background: var(--color-primary);
    transition: width 0.1s linear;
}

@media (max-width: 991px) {
    /* Op mobiel/tablet: alleen logo (hamburger blijft rechtsboven zweven) */
    .sticky-nav-menu { display: none; }
    .sticky-nav-inner { padding: 8px calc(84px + env(safe-area-inset-right, 0px)) 8px 18px; }
    .sticky-nav-logo img { height: 36px; }
}

/* ============================================================
   Losse afbeelding-bouwsteen op Ons Verhaal  [v3.6]
   ============================================================ */
.story-afbeelding-section {
    padding: 50px 0;
}

.story-afbeelding-section .story-afbeelding-figuur {
    margin: 0;
}

.story-afbeelding-section img {
    width: 100%;
    height: auto;
    display: block;
}

.story-afbeelding-section figcaption {
    margin-top: 12px;
    color: var(--color-white-70);
    font-size: 0.95rem;
}

.story-afbeelding-section.is-breed {
    padding: 60px 0;
}

/* ==========================================================================
   COMPACT DROPDOWN HOOFDMENU (bv. Diensten)
   Werkt op de theme-eigen wp_nav_menu-uitvoer. Als de mega-menu-plugin het
   primaire menu op desktop overneemt, zet die dan op "standaard menu" (of
   deactiveer 'm — de theme regelt het mobiele menu zelf) zodat dit toegepast wordt.
   ========================================================================== */

/* Ouder-item met submenu: anker voor de dropdown + chevron */
.header-compact-menu .menu-item-has-children,
.header-overlay-menu .menu-item-has-children,
.header-content .menu .menu-item-has-children {
    position: relative;
}

.header-compact-menu .menu-item-has-children > a::after,
.header-overlay-menu .menu-item-has-children > a::after,
.header-content .menu .menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform var(--transition-base);
}

.header-compact-menu .menu-item-has-children:hover > a::after,
.header-overlay-menu .menu-item-has-children:hover > a::after,
.header-content .menu .menu-item-has-children:hover > a::after {
    transform: translateY(1px) rotate(-135deg);
}

/* De dropdown zelf: compact, donkere kaart met rode accentrand */
.header-compact-menu .sub-menu,
.header-overlay-menu .sub-menu,
.header-content .menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 230px;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: rgba(18, 18, 18, 0.98);
    border-top: 3px solid #e2341f;
    border-radius: 5px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: 1000030;
}

/* Tonen bij hover of toetsenbordfocus */
.header-compact-menu .menu-item-has-children:hover > .sub-menu,
.header-compact-menu .menu-item-has-children:focus-within > .sub-menu,
.header-overlay-menu .menu-item-has-children:hover > .sub-menu,
.header-overlay-menu .menu-item-has-children:focus-within > .sub-menu,
.header-content .menu .menu-item-has-children:hover > .sub-menu,
.header-content .menu .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Items in de dropdown */
.header-compact-menu .sub-menu li,
.header-overlay-menu .sub-menu li,
.header-content .menu .sub-menu li {
    display: block;
    width: 100%;
}

.header-compact-menu .sub-menu li a,
.header-overlay-menu .sub-menu li a,
.header-content .menu .sub-menu li a {
    display: block;
    padding: 10px 16px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 0;
    border-radius: 4px;
    transition: background var(--transition-base), color var(--transition-base), padding-left var(--transition-base);
}

.header-compact-menu .sub-menu li a:hover,
.header-overlay-menu .sub-menu li a:hover,
.header-content .menu .sub-menu li a:hover,
.header-compact-menu .sub-menu li.current-menu-item a,
.header-overlay-menu .sub-menu li.current-menu-item a,
.header-content .menu .sub-menu li.current-menu-item a {
    background: #e2341f;
    color: #fff;
    border-bottom: 0;
    padding-left: 21px;
}
