/* web/assets/css/main.css */

/* open-sans-300 - latin */
@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/open-sans-v44-latin-300.woff2') format('woff2');
}
/* open-sans-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v44-latin-regular.woff2') format('woff2');
}
/* open-sans-italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/open-sans-v44-latin-italic.woff2') format('woff2');
}
/* open-sans-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/open-sans-v44-latin-600.woff2') format('woff2');
}
/* open-sans-700 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/open-sans-v44-latin-700.woff2') format('woff2');
}
/* open-sans-800 - latin */
@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/open-sans-v44-latin-800.woff2') format('woff2');
}

:root {
    --font-body: 'Open Sans', system-ui, -apple-system, sans-serif;
    --clr-accent: #D81717; /* De rode kleur die we zagen */
    --clr-text: #0E0F14; /* Donkere tekstkleur uit de header */
    --clr-filter-what: #D81717;
    --clr-filter-where: #377ba6;
    --icon-mask-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    --icon-mask-arrow-right: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.92,11.62a1,1,0,0,0-.21-.33l-5-5a1,1,0,0,0-1.42,1.42L14.59,11H7a1,1,0,0,0,0,2h7.59l-3.3,3.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0l5-5a1,1,0,0,0,.21-.33A1,1,0,0,0,17.92,11.62Z' fill='currentColor'/%3E%3C/svg%3E");
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* -----------------------------------------------------------------------------
 * 1. Moderne CSS Reset
 * -------------------------------------------------------------------------- */

/* Maakt box-sizing intuïtiever */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Verwijder standaard marges */
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
    margin: 0;
}

/* Zet de basis font styles op de body voor overerving */
body {
    min-height: 100vh;
    line-height: 1.6;
    font-family: var(--font-body); /* We definiëren dit hieronder */
    text-rendering: optimizeSpeed;
}

/* Maak afbeeldingen responsive */
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

/* Verwijder standaard list styles */
ol, ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Verwijder standaard styling van formulierelementen voor consistentie */
input, button, textarea, select {
    font: inherit;
}

/* -----------------------------------------------------------------------------
 * 2. Globale Variabelen (Custom Properties)
 * -------------------------------------------------------------------------- */

:root {
    /* Kleuren - Gebruik de inspector op de ou om deze te vinden! */
    --clr-primary: #377ba6; /* Voorbeeld: donkerblauw */
    --clr-primary-dark: #2c658a; /* Een iets donkerdere tint voor hover-effecten */
    --clr-secondary: #fdb913; /* Voorbeeld: geel */
    --clr-accent: #e31c3d; /* Voorbeeld: rood */

    --clr-filter-what: #D81717; /* De rode 'accent' kleur */
    --clr-filter-where: #377ba6; /* De blauwe 'primary' kleur */
    --clr-cta: #f15b5b; /* Call-to-action kleur, bv. oranje-rood */
    --clr-cta-dark: #d94848; /* Donkerdere tint voor hover */
    
    --clr-text: #333333;
    --clr-background: #ffffff;
    --clr-light-gray: #f4f4f4;

    /* Fonts - Zoek ook op welke fonts de ou gebruikt */
    --font-body: 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --font-heading: 'Georgia', serif;

    /* Spatiëring */
    --space-xs: 0.5rem;  /* 8px */
    --space-s:  1rem;     /* 16px */
    --space-m:  1.5rem;   /* 24px */
    --space-l:  2rem;     /* 32px */
    --space-xl: 4rem;     /* 64px */

     --icon-mask-arrow-right: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.92,11.62a1,1,0,0,0-.21-.33l-5-5a1,1,0,0,0-1.42,1.42L14.59,11H7a1,1,0,0,0,0,2h7.59l-3.3,3.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0l5-5a1,1,0,0,0,.21-.33A1,1,0,0,0,17.92,11.62Z' fill='currentColor'/%3E%3C/svg%3E");

}

/* -----------------------------------------------------------------------------
 * 3. Basis & Toegankelijkheid
 * -------------------------------------------------------------------------- */

html {
    /* Zet de basis font-size op 100% voor respect voor browserinstellingen */
    font-size: 100%; 
}

body {
    background-color: var(--clr-background);
    color: var(--clr-text);
    font-family: var(--font-body);
    overflow-x: clip;
}

/* A11y: Toon focus outline alleen voor toetsenbordgebruikers ('what-input' polyfill is niet meer nodig) */
*:focus-visible {
    outline: 3px solid var(--clr-primary);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    background: var(--clr-primary);
    color: white;
    padding: var(--space-xs) var(--space-s);
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* -----------------------------------------------------------------------------
 * Layout: Container
 * -------------------------------------------------------------------------- */

.container {
    /* 1. Breedte en centreren */
    width: 100%;
    max-width: 1440px; /* Dit is je primaire 'desktop' breedte. 1280px is een veelgebruikte, moderne waarde. */
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-m);  
    padding-right: var(--space-m); 
}

/* -----------------------------------------------------------------------------
 * Component: Notification Bar
 * -------------------------------------------------------------------------- */

.notification-hidden-by-default .notification-bar {
    display: none;
}

.notification-bar {
    background-color: #F6F5F3;
    color: #333;
    padding: var(--space-s) 0;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* De inner-container gebruikt flexbox voor de layout */
.notification-bar__inner {
    display: flex;
    flex-direction: column; /* Mobile first: alles onder elkaar */
    align-items: center;
    gap: var(--space-s);
    text-align: center;
}

.notification-bar__text p {
    margin: 0;
    margin-top: var(--space-xs);
}

.notification-bar__text strong {
    font-size: 21px;
}

.notification-bar__close-btn {
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    padding: 5px;
    
    /* Positionering op mobiel */
    position: absolute;
    top: 5px;
    right: 5px;
}
.notification-bar__close-btn svg {
    width: 20px;
    height: 20px;
}

/* Stijl voor wanneer de balk verborgen wordt */
.notification-bar.is-hidden {
    transform: translateY(-100%);
    opacity: 0;
    /* Na de animatie mag hij echt weg */
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s 0.3s;
}

/* Desktop layout */
@media (min-width: 768px) {
    .notification-bar__inner {
        flex-direction: row; /* Naast elkaar op desktop */
        text-align: left;
    }
    .notification-bar__text {
        flex-grow: 1; /* Tekst neemt de meeste ruimte in */
    }
    .notification-bar__close-btn {
        position: static; /* Weer in de normale flow */
        margin-left: auto; /* Duwt de knop naar rechts */
    }
}

/* -----------------------------------------------------------------------------
 * Componen Header
 * -------------------------------------------------------------------------- */

 .site-header {
    width: 100%;
    z-index: 100;
    background-color: var(--clr-background);
    border-bottom: 1px solid #F0F0F0;
    padding: 20px 0; 
}

.home .site-header {
    position: absolute;
}

/* De inner container die de flexbox-layout aanstuurt */
.site-header__inner {
    display: flex;
    justify-content: space-between; /* Duwt logo (links) en nav-wrapper (rechts) uit elkaar */
    align-items: center;            /* Lijn logo en nav-blok verticaal in het midden uit */
    gap: 2rem;
}
  

.header-logo {
    flex-shrink: 0; /* Voorkomt dat het logo krimpt als er weinig ruimte is */
}


/* Wrapper voor alle navigatie-elementen */
.header-nav-wrapper {
    display: flex;
    flex-direction: column; /* Plaats de subnav en mainnav onder elkaar */
    align-items: flex-end;   /* Lijn beide navigaties rechts uit binnen de wrapper */
    gap: var(--space-s); /* Ruimte tussen de subnav-balk en mainnav-balk */
}

/* Wrapper voor de subnavigatie en de zoekknop */
.header-subnav-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-l); /* Ruimte tussen de subnav en de zoekknop */
}

/* De navigatielijsten zelf (ul) */
.header-subnav ul,
.header-mainnav ul {
    display: flex;
    gap: var(--space-l);
    align-items: center;
}

/* Navigatie links */
.header-subnav a,
.header-mainnav a {
    text-decoration: none;
    color: var(--clr-text);
    font-weight: 400; 
    padding: var(--space-xs) 0 2px;
    position: relative;
    transition: color 0.2s ease-in-out;
}

.header-subnav a::after,
.header-mainnav a::after {
  content: "";
  position: absolute;
  bottom: 0; 
  left: 0;
  width: 0%; 
  height: 2px; 
  background-color: #333; 
  transition: width 0.3s ease-in-out;
}

.header-subnav a:hover::after,
.header-mainnav a:hover::after {
  width: 100%;
}


.header-subnav a.active,
.header-mainnav a.active {
    color: #D81717;
    border-bottom: 2px solid #D81717;
}

.header-subnav a.active:hover::after,
.header-mainnav a.active:hover::after,
.header-mainnav a.button:hover::after {
      width: 0%; 
}


/* Hoofdnavigatie is groter/belangrijker */
.header-mainnav a {
    font-size: 1.125rem; /* ~18px */
    font-weight: 700;
}

/* De 'Apply' knop */
.header-mainnav .button--primary {
    transition: transform 0.25s ease-in-out;
    background-color: var(--clr-primary);
    color: white;
    padding: 9px 20px;
    border-radius: 5px;
    padding: 6px var(--space-m);
    border-radius: 20px;
    border: 2px solid var(--clr-primary);
    font-size: 16px;
    font-weight: normal;
}



/* Zoekknop */
.header-search-trigger {
    background: #f15b5b;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: white;
    border-radius: 50%;
    transition: transform 0.2s ease-out;
}

.header-search-trigger svg {
    width: 20px;
    height: 19px;
    transition: transform 0.25s ease-in-out;
}

.header-search-trigger:hover {
   transform: scale(1.1);
}


/* --- Hamburger-knop --- */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 200;
    flex-shrink: 0;
}

.hamburger__line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--clr-text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.hamburger[aria-expanded="true"] .hamburger__line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger[aria-expanded="true"] .hamburger__line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger[aria-expanded="true"] .hamburger__line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* --- Mobiel menu (onder 992px) --- */
.header-subnav,
.header-mainnav {
    display: none;
}

@media (max-width: 991px) {
    .site-header {
        position: relative;
    }

    .header-nav-wrapper {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 99;
        background-color: var(--clr-background);
        border-bottom: 1px solid #F0F0F0;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
        padding: var(--space-m);
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-m);
    }

    .site-header.is-open .header-nav-wrapper {
        display: flex;
    }

    .site-header.is-open .header-subnav,
    .site-header.is-open .header-mainnav {
        display: block;
        width: 100%;
    }

    .site-header.is-open .header-mainnav {
        display: flex;
    }

    /* Subnav en mainnav items verticaal stapelen */
    .header-subnav ul,
    .header-mainnav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-s);
    }

    .header-subnav-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-m);
        width: 100%;
    }

    /* Scheidingslijn tussen subnav en mainnav */
    .header-mainnav {
        border-top: 1px solid #F0F0F0;
        padding-top: var(--space-m);
    }
}

/* --- Desktop layout (vanaf 992px) --- */
@media (min-width: 992px) {
    .hamburger {
        display: none;
    }

    .header-subnav,
    .header-mainnav {
        display: block;
    }

    .header-subnav {
        margin-left: auto;
    }

    .header-mainnav {
        display: flex;
        justify-content: flex-start;
    }
}

/* -----------------------------------------------------------------------------
 * Component: Hero Section
 * -------------------------------------------------------------------------- */

.hero {
    position: relative;
    min-height: 80vh; 
    background-size: cover;
    background-position: top center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* Een subtiele overlay voor betere leesbaarheid */
}

.hero__content {
    position: relative; 
    z-index: 10;
    width: 90%;
    max-width: 1040px;
    text-align: center;
    margin-top: 14rem;
        padding: 0;
}

.hero__title {
    color: white;
    font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive font-size */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    margin-bottom: var(--space-l);
    letter-spacing: 0.1em;
}

/* --- De Filter Form (Mobile-first: Verticaal) --- */
.hero__filter {
    display: flex;
    flex-direction: column; /* Standaard op elkaar voor mobiel */
    background: white;
    border-radius: 15px;
    box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.25);
    overflow: hidden; /* Zorgt dat de randen van de wrappers binnen de form blijven */
}

.hero__filter__select-wrapper {
    position: relative;
    border-bottom: 1px solid var(--clr-light-gray);
    flex: 1;
    padding: var(--space-s); /* Ruimte voor mobiel */
}

/* Verwijder de border onder de laatste wrapper op mobiel */
.hero__filter__select-wrapper:last-of-type {
    border-bottom: none;
}

.hero__filter__label {
    font-size: 1.25rem;
    color: var(--clr-accent); /* Rood */
    font-weight: bold;
    display: block; /* Zorgt dat het label de ruimte inneemt */
    margin-bottom: 5px;
}

/* Stijl de select (dropdown) */
.hero__filter__select {
    /* Verwijder de standaard browserstijl */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    width: 100%;
    font-size: 1rem;
    color: var(--clr-text);
    padding-right: 25px; /* Ruimte voor de custom SVG-pijl */
    cursor: pointer;
    background: transparent;
}

/* Verberg de pijl van de select-input. */
.hero__filter__select::-ms-expand {
    display: none;
}

/* De Custom SVG Pijl */
.hero__filter__select-icon {
    position: absolute;
    right: var(--space-m);
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--clr-accent);
    pointer-events: none; /* Zorgt dat klikken op de pijl de select opent */
}

/* De Go knop (mobile) */
.hero__filter__btn {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(224deg, #F15B5B 0%, #B04343 100%);
    border: none;
    height: 100%;
    width: 100%;
    border-radius: 0 0 15px 15px; /* Alleen de onderste hoeken */
}

.hero__filter__btn__text {
    /* Op mobiel is de tekst nog verborgen */
    display: none;
}

.hero__filter__btn__icon {
    width: 32px;
    height: 32px;
    transition: transform 0.25s ease-in-out;
}

.hero__filter__btn:hover .hero__filter__btn__icon {
    transform: scale(1.3);
}

.filter-panel__footer {
    padding-top: 30px;
    border-top: 1px solid #F0F0F0;
    margin-top: 30px;
}

.main-content a.button--primary,
.button--primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-s); 
    background-color: var(--clr-cta-dark);
    color: white;
    font-weight: var(--fw-bold);
    text-decoration: none;
    border: none;
    cursor: pointer;
    padding: 0.75em 1.5em;
    border-radius: 50px; 
    transition: transform 0.2s ease-out;
}


.button--primary::after {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background-color: white;
    -webkit-mask-image: var(--icon-mask-arrow-right);
    mask-image: var(--icon-mask-arrow-right);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    transition: transform 0.2s ease-out;
}

.button--primary:hover::after,
.button--primary:focus::after {
    transform: translateX(4px); /* Pijl schuift iets op naar rechts */
}

.xls {
  background: #44aff2;
}  

/* --- Desktop Layout (Filter op één lijn) --- */
@media (min-width: 768px) {

    /* Vanaf tablet/desktop zetten we de filter op één lijn */
    .hero__filter {
        flex-direction: row;
    }
    
    .hero__filter__select-wrapper {
        padding: 0;
        border-bottom: none; /* Verwijder de mobile border */
        border-right: 1px solid var(--clr-light-gray); /* Voeg een scheidingslijn toe tussen de velden */
    }

    .hero__filter__select-wrapper:last-of-type {
        border-right: none;
    }

    .hero__filter__label {
        position: absolute; /* Plaats het label boven de select */
        top: 24px;
        left: 40px;
    }

    .hero__filter__select {
        padding: 60px 40px 30px 40px;
        border-left: 1px solid rgba(14, 15, 20, 0.25);
    }

    /* Vanaf desktop is de knop smaller */
    .hero__filter__btn {
        width: 102px; /* De vaste breedte van de ou */
        border-radius: 0 15px 15px 0; /* Alleen de rechterhoeken */
        height: 116px;
    }
    
    /* Vanaf desktop is er wél een 'Go' tekst */
    .hero__filter__btn__text {
        display: none; /* De ou verborg de tekst ook op desktop, maar liet alleen de pijl zien. */
        /* Als je de tekst erbij wilt, verwijder dan de 'display: none' hierboven en pas de layout aan */
    }
}

/* Kleinere aanpassingen voor grotere schermen */
@media (min-width: 992px) {
    /* Zorg dat de hero wat meer ruimte krijgt */
    .hero {
        height: 80vh; 
    }
}

.home-badge {
    position: relative;
}

.home-badge img {
    border-radius: 20px;
}

.home-badge-content {
      position: absolute;
    top: 70px;
    right: 0;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.25);
    max-width: 50%;
    padding: 3rem;  
}

.home-badge-content .button--primary {
        margin-top: 30px;
    background-color: #377ba6;
}


.two-column-home {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 5rem;
    align-items: start;
    padding-top: var(--space-xl);
}

@media (max-width: 991px) {
    .two-column-home {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .home-badge-content {
        position: relative;
        top: auto;
        right: auto;
        max-width: 100%;
        margin-top: -3rem;
        padding: 2rem;
    }

    .home-badge img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 767px) {
    .home-badge-content {
        margin-top: -2rem;
        padding: 1.5rem;
    }
}



/*  .info-block  */

.info-blocks-section {
    margin-block: 0 6rem;
}

.info-block {
    display: flex;
    flex-direction: column; 
    align-items: center;
    gap: 6rem;
    margin-bottom: 8rem; 
}

.info-block:first-child {
    margin-top: 6rem;
}

.info-block__figure,
.info-block__text {
    width: 100%;
    max-width: 580px; 
}

.info-block__figure {
    position: relative;
}

.info-block__figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 15px;
    position: relative;
    z-index: 2;
 }

.info-block__figure::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background-color: #FDEEEE;
    z-index: 1;
    top: 70px;
    left: 110px;
} 

.info-block:nth-child(1n) .info-block__figure:before { background-color: #FDEEEE; }
.info-block:nth-child(2n) .info-block__figure:before { background-color: #ECF7FD; }
.info-block:nth-child(3n) .info-block__figure:before { background-color: #D8E5ED; }


.info-block__text {
    position: relative;
    z-index: 3;
}

.info-block__title {
    font-size: 36px;
     line-height: 1.1;
     margin-bottom: 1rem;
}

.info-block__bodytext {
       font-size: 20px;
    line-height: 1.3;
    margin-bottom: 2rem;
}

.info-block__figure,
.info-block__text {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.info-block__text {
    transition-delay: 0.3s;
}

.info-block:not(.is-animated) .info-block__figure,
.info-block:not(.is-animated) .info-block__text {
    opacity: 0;
}

@media (min-width: 992px) {
    .info-block {
        flex-direction: row;
        max-width: 1440px;
        margin-left: auto;
        margin-right: auto;
    }
    .info-block__figure,
    .info-block__text {
        flex-basis: 50%;
    }

    .info-block:nth-of-type(odd):not(.is-animated) .info-block__figure,
    .info-block:nth-of-type(odd):not(.is-animated) .info-block__text {
        transform: translateX(-200px);
    }
    
    .info-block:nth-of-type(even) {
        .info-block__figure { order: 2; }
        .info-block__text   { order: 1; }
        .info-block__figure::before {
            left: auto;
            right: 110px;
        }
    }
    
    .info-block:nth-of-type(even):not(.is-animated) .info-block__figure,
    .info-block:nth-of-type(even):not(.is-animated) .info-block__text {
        transform: translateX(200px);
    }
}

/* Styling voor de actieve filter "pills" */
.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    align-items: center;
}

/* Algemene stijl voor ALLE pills (outline) */
.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs); 
    background-color: transparent;
    border-width: 2px;
    border-style: solid;
    font-weight: var(--fw-bold);
    text-decoration: none;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 20px;
    text-align: left;
    font-size: 14px;
    transition: opacity 0.2s ease-in-out;
}

/* Specifieke kleuren met de BEM modifiers */
.filter-pill--what {
    border-color: var(--clr-filter-what);
    color: var(--clr-filter-what);
    transition: transform 0.25s ease-in-out;
}

.filter-pill--where {
    border-color: var(--clr-filter-where);
    color: var(--clr-filter-where);    
    transition: transform 0.25s ease-in-out;
}

/* Hover & Focus state */


.filter-pill:hover,
.filter-pill:focus {
    transform: scale(1.05);
}

/* Het 'x' icoontje in de pill */
.filter-pill__remove {
    font-weight: bold;
    line-height: 1;
}


/* -----------------------------------------------------------------------------
 * Component: Filter System
 * -------------------------------------------------------------------------- */

/* De buitenste wrapper die de witte achtergrond en schaduw krijgt */
.filter-system {
    background-color: var(--clr-background); /* Wit */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Zachte, moderne schaduw */
    margin: 2rem 0 4rem 0;
    border-radius: 16px;
}


.filter-bar {
    display: flex;
    align-items: center;
    gap: var(--space-l);
    padding: 30px;
    border-bottom: 1px solid #F0F0F0;
   flex-wrap: wrap; 
}

.filter-bar__controls {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.filter-panel {
    padding: 30px;
}

.filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background-color: var(--clr-primary);
    color: white;
    font-weight: var(--fw-bold);
    text-decoration: none;
    border: none;
    cursor: pointer;
    padding: 6px var(--space-m); 
    border-radius: 20px;
    border: 2px solid var(--clr-primary);
        transition: transform 0.25s ease-in-out;
}

.filter-toggle:hover {
    transform: scale(1.05);
}

/* Het icoon in de knop */
.filter-toggle__icon {
    /* Soepele overgang voor de rotatie-animatie */
    transition: transform 0.3s ease-in-out;
}

.clear-filters {
    /* Gebruik inline-flex om tekst en icoon netjes naast elkaar te krijgen */
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background-color: transparent;
    border: 2px solid rgba(14, 15, 20, 0.5); /* #0E0F14 met 50% opacity */
    color: var(--clr-text); /* #0E0F14 */
    
    font-weight: var(--fw-bold);
    text-decoration: none;
    cursor: pointer;
    
   
        padding: 6px var(--space-m);
    border-radius: 20px;

    /* Vloeiende overgang voor de border-kleur */
       transition: transform 0.25s ease-in-out;
}



.filter-active-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-xs); 
    flex-grow: 1;
    flex-wrap: wrap;
    margin-left: auto;
    min-height: 40px;
    justify-content: flex-end; 
}

/* Hover & Focus state */
.clear-filters:hover,
.clear-filters:focus {
    transform: scale(1.05);
}

/* De magie: draai de pijl als het paneel open is */
/* We richten ons op het aria-expanded attribuut dat door JavaScript wordt gewijzigd */
.filter-toggle[aria-expanded="true"] .filter-toggle__icon {
    transform: rotate(180deg);
}

.filter-panel__choices {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl); /* Flinke verticale ruimte tussen de secties op mobiel */
}

/* 
 * Desktop Layout: Vanaf een bepaald breekpunt (bv. 992px)
 * gaan we naar een grid van 3 kolommen.
*/
@media (min-width: 992px) {
    .filter-panel__choices {
        /* Verander de display-methode naar Grid */
        display: grid;

        /* De magie: creëer 3 kolommen die elk 1 fractie (1fr)
           van de beschikbare ruimte innemen. */
        grid-template-columns: repeat(3, 1fr);
        
        /* De 'gap' is nu de horizontale ruimte tussen de kolommen. */
        gap: var(--space-l);
    }
}


/* --- Styling voor de kolommen (de fieldsets) zelf --- */
.filter-column {
    /* Verwijder de standaard browser-styling van fieldset */
    border: none;
    padding: 0;
    margin: 0;
}

.filter-column__title {
    font-size: 23px;
    font-weight: bold;
    margin-bottom: var(--space-m);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--clr-primary);
}

/* Styling voor de checkbox + label combinatie */
.checkbox-label {
    display: flex; /* Zorgt dat elk item op een nieuwe regel staat */
    align-items: center;
    gap: var(--space-s);
    position: relative; /* Noodzakelijk voor de positionering van de input */
    cursor: pointer;
    margin-bottom: var(--space-s);
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-label::before {
    content: '';
    display: block;
    width: 22px;
    height: 22px;
    border: 2px solid #ccc; /* Standaard grijze rand */
    border-radius: 4px;
    background-color: white;
    transition: all 0.2s ease-in-out;
}

.checkbox-label::after {
    content: '';
    display: block;
    width: 22px;
    height: 22px;

    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scale(0.5); 
    -webkit-mask-image: var(--icon-mask-check); 
    mask-image: var(--icon-mask-check);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-color: var(--checkbox-color, black);
    opacity: 0;
    transition: all 0.2s ease-in-out;
}

.checkbox-label input[type="checkbox"]:checked + *::before, 
.checkbox-label:has(input[type="checkbox"]:checked)::before {
    border-color: var(--checkbox-color); 
}


.checkbox-label input[type="checkbox"]:checked + *::after, 
.checkbox-label:has(input[type="checkbox"]:checked)::after {
    opacity: 1;
    transform: translateY(-50%) scale(.65);
}


/* Stap 5: Pas de kleuren toe met onze modifier classes */
.checkbox-label--what {
    --checkbox-color: var(--clr-filter-what);
}

.checkbox-label--where {
    --checkbox-color: var(--clr-filter-where);
}

fieldset.sub-category-fieldset {
    border: none;
}


/* -----------------------------------------------------------------------------
 * Component: Project Grid
 * -------------------------------------------------------------------------- */

 .projects-intro h1 {
    margin-bottom: 2rem;
 }

.project-grid-wrapper {
    /* padding-top: var(--space-xl); */
    padding-bottom: var(--space-xl);
}

/* De grid container */
.project-grid {
    display: grid;
    gap: 50px;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .project-grid.experience {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (min-width: 1024px) {
    .project-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .project-grid.experience,
    .project-grid.contact {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* De individuele projectkaart */
.project-card {
    display: flex;
    flex-direction: column; /* Stapel header, body, footer netjes onder elkaar */
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0 0 40px 0 rgb(32 71 75 / 10%), 0 6px 6px 0px rgb(32 71 75 / 5%);
    overflow: hidden; 
    transition: all .25s linear;
}

/* .project-card:nth-child(even) {
    background-color: #ECF7FD;
} */

.project-card:hover,
.project-card:focus-within { /* focus-within is geweldig voor a11y */
    transform: translateY(-8px);
    box-shadow: 0 15px 25px 0 rgba(0, 0, 0, 0.25);
}

/* Header, Body en Footer van de kaart */
/* .project-card__header,
.project-card__body,
.project-card__footer {
    padding: var(--space-m);
} */

.project-card__body,
.project-card__footer {
    padding:2rem 3rem;
}

.project-card__header {
    padding: 0;
    border-bottom: 1px solid var(--clr-light-gray);
    /* Dwing een vaste aspect ratio af voor een uniform grid */
    aspect-ratio: 16 / 10; 
    background-color: var(--clr-light-gray); /* Zichtbaar als afbeelding niet laadt */
}

.location-card__header {
    padding: 0;
    border-bottom: 1px solid var(--clr-light-gray);
    aspect-ratio: 16 / 10; 
}

.location__country {
    font-weight: bold;
    color: var(--clr-accent);
    margin-bottom: var(--space-s);
}

/* De afbeelding zelf */
.project-card__image {
    display: block;
    width: 100%;
    height: 100%; /* Vul de volledige hoogte van de header */
    object-fit: cover; /* Zorgt dat de afbeelding de ruimte vult zonder te vervormen */
}

.location-card__image {
    max-width: 80%;
    margin: 60px auto;
}

/* De placeholder voor als er geen afbeelding is */
.project-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 0.875rem;
}

.project-card__body {
    /* Dit element moet kunnen groeien om de kaarten even hoog te maken */
    flex-grow: 1; 
        padding-bottom: 0;
}

.project-card__footer {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.project-card__title {
    line-height: 1.1;
    margin: 0;
    font-size: 30px;
}

.project-card__title a {
    text-decoration: none;
    color: var(--clr-text);
}
.project-card__title a::after {
    /* Maak de hele kaart klikbaar (voor a11y) */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.project-card {
    position: relative; /* Noodzakelijk voor de ::after hierboven */
}


/* Styling voor de tags in de footer van de kaart */
.project-card__tag {
    display: inline-block;
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 20px;
}

/* Geef de tags de herkenbare kleuren */
.project-card__tag--what {

        color: var(--clr-filter-what);
    border: 2px solid var(--clr-filter-what);
}

.project-card__tag--where {
   color: var(--clr-filter-where); /* Blauw */
   border: 2px solid var(--clr-filter-where);
}

.project-grid.contact strong {
    color: var(--clr-accent);
}

/* Styling voor als er geen resultaten zijn */
.no-results {
    text-align: center;
    padding: var(--space-xl) var(--space-m);
    border: 2px dashed var(--clr-light-gray);
    border-radius: 8px;
}

/* -----------------------------------------------------------------------------
 * Component: Project Hero
 * -------------------------------------------------------------------------- */
.project-hero {
    background-color: #FDEEEE;
    overflow-x: hidden; 
}

.project-hero__grid {
    display: flex;          /* Gebruik Flexbox voor mobiel */
    flex-direction: column; /* Stapel de elementen onder elkaar */
    gap: var(--space-l);
}

.project-hero__image-wrapper {
    order: 1; /* Toon de afbeelding als EERSTE */
        margin-left: calc(-1 * var(--space-m));
    margin-right: calc(-1 * var(--space-m));
}
.project-hero__content {
    order: 2; /* Toon de content als TWEEDE */
    padding: 0 var(--space-m) 3rem;
}



.project-hero__image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
}

.main__title {
    font-size: clamp(2rem, 5vw, 3.5rem); 
    margin: var(--space-m) 0 12px;
    line-height: 1;
}

.project-hero__meta {
    font-size: 16px;
    color: #D81717;
    margin-bottom: 20px;
    font-weight: bold;
}

.intro__text {
    margin-bottom: var(--space-l);
    max-width: 60ch; 
    font-size: 24px;
}

@media (min-width: 992px) {
    .project-hero__grid {
        display: grid; /* Schakel over naar Grid voor desktop */
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

     .project-hero__content {
        order: 0;
        padding:40px 0;
    }

    .project-hero__image-wrapper {
          order: 0;
        margin-right: calc(-1 * ((100vw - 180%) / 2));
    }
    
    .project-hero__image-wrapper img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        border-radius: 0 0 0 15px;
    }
}



/* --- Styling voor de Breadcrumbs --- */
.breadcrumbs {
    font-size: 0.875rem;
}
.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}
.breadcrumbs__item {
    display: flex;
    align-items: center;
}
.breadcrumbs__item:not(:last-child)::after {
    content: '>'; 
    margin: 0 var(--space-xs);
    color: #888;
}
.breadcrumbs__item a {
    color: var(--clr-text);
    text-decoration: none;
}
.breadcrumbs__item a:hover {
     text-decoration: underline; 
}
.breadcrumbs__item span {
    color: var(--clr-text);
    font-weight: bold;
}


/* -----------------------------------------------------------------------------
 * Component: Pagination
 * -------------------------------------------------------------------------- */

.pagination {
    margin-top: var(--space-xl);
    width: 100%;
}

.pagination__list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--clr-light-gray);
    padding-top: var(--space-l);
}

.pagination__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 6px var(--space-m);
    border: 2px solid var(--clr-primary);
    border-radius: 50px; /* Pill shape */
    color: var(--clr-primary);
    background-color: transparent;
    text-decoration: none;
    font-weight: var(--fw-bold);
    transition: all 0.2s ease-in-out;
}

.pagination__link:hover,
.pagination__link:focus {
    background-color: var(--clr-primary);
    color: white;
}

/* Styling voor de uitgeschakelde staat */
.pagination__link.is-disabled {
    color: #aaa;
    border-color: #ddd;
    cursor: not-allowed;
    background-color: transparent;
}

.pagination__text {
    color: #666;
    font-size: 0.875rem;
}


/* -----------------------------------------------------------------------------
 * Component: Search Container (Expandable)
 * -------------------------------------------------------------------------- */

.search-container {
    background-color: var(--clr-background);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden; /* Cruciaal voor de max-height animatie */

    /* Standaard verborgen, zonder hoogte */
    max-height: 0;
    
    /* Vloeiende overgang voor de 'slide down' animatie */
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
}

/* 
 * Stijl voor wanneer de container ZICHTBAAR is.
 * We geven het een grote max-height zodat het de content kan bevatten.
 */
.search-container.is-active {
        background: #FDEEEE;
    max-height: 200px; /* Een waarde die zeker groter is dan de content */
    padding-top: var(--space-l);
    padding-bottom: var(--space-l);
}

.search-container label {
    display: none;
}

.search-container__form {
    display: flex;
    align-items: center;
    width: 100%;
}

.search-container__input {
      flex-grow: 1;
      font-family: Open sans;
    border: none;
    font-size: 16px;
    padding: 7px 30px;
    background: #ffffff;
    border-radius: 60px;
}
.search-container__input:focus {
    outline: none;
}

.search-container__submit {
    background: #f15b5b;
     border-radius: 20px;
    border: 2px solid #f15b5b;
    cursor: pointer;
    color: #fff;
        border-radius: 20px;
       padding: 6px var(--space-m);
    margin-left: var(--space-m);
}

/* -----------------------------------------------------------------------------
 * Component: Search results page
 * -------------------------------------------------------------------------- */

.search-header {
    margin: 3rem auto;
    max-width: 900px;
    background: #FDEEEE;
    padding: 3rem;
    border-radius: 20px;
}

.search-header p {
    margin-block: 2rem;
    font-weight: 600;
}

.search-results {
    max-width: 900px;
    margin: 3rem auto;  
}

.search-result-item h2 {
    margin-bottom: 14px;
}

.search-result-item a {
    background-color: var(--clr-background);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin: 2rem 0; 
    text-decoration: none;
    border-radius: 16px;
    color: var(--clr-text);
    display: block;
    padding: 2rem 3rem;
    transition: all .25s linear;
}

.search-result-item a:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 25px 0 rgba(0, 0, 0, 0.25);
}

/* -----------------------------------------------------------------------------
 * Component: Footer
 * -------------------------------------------------------------------------- */

.footer {
    background-color: var(--clr-background); /* #fff */
    border-top: 1px solid var(--clr-light-gray); /* #F0F0F0 is heel licht, onze var is een goede match */
    padding: var(--space-xl) 0; /* 50px is ongeveer 3rem, we gebruiken een grotere variabele */
}

/* --- Mobile First Layout (verticaal) --- */
.footer__content {
    display: flex;
    flex-direction: column; /* Alles onder elkaar op mobiel */
    align-items: center;   /* Centreer alles horizontaal */
    gap: var(--space-l);     /* Ruimte tussen de blokken */
    text-align: center;
}

/* De drie hoofdsecties van de footer */
.footer__contact,
.footer__links,
.footer__newsletter {
    width: 100%;
}

.footer__contact {
    flex: 2;
}

.footer__links,
.footer__newsletter {
    flex: 1;
}

/* Contact & Links secties */
.footer__contact ul,
.footer__links ul {
    display: flex;
    flex-direction: column; /* Contact-items ook onder elkaar op mobiel */
    align-items: center;
    gap: var(--space-s);
}

.footer__contact ul li a,
.footer__contact ul li span,
.contact-email,
.contact-phone {
    display: flex; /* Zorgt dat icoon en tekst naast elkaar staan */
    align-items: center;
    gap: var(--space-xs);
    color: var(--clr-text);
    text-decoration: none;
    font-weight: 700;
}

.footer__links a {
      font-size: 1rem;
    color: var(--clr-text);
    text-decoration: none;
}

/* --- Nieuwsbrief Succes --- */
@keyframes newsletter-fade-out {
    0%, 75%  { opacity: 1; }
    100%     { opacity: 0; pointer-events: none; }
}

.newsletter-success {
   position: fixed;
    top: 190px;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 9999;
    background-color: #ffffff;
    color: #554040;
    text-align: center;
    font-size: 22px;
    font-weight: 400;
    padding: 40px;
    animation: newsletter-fade-out 4s ease forwards;
    max-width: 30%;
    border-radius: 20px;
    box-shadow: 0px 5px 25px 0px rgba #00000040 (0, 0, 0, 0.25);
    overflow-wrap: break-word;
}

.newsletter-error {
    position: fixed;
    top: 190px;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 9999;
    background-color: #ffffff;
    color: #554040;
    text-align: center;
    font-size: 22px;
    font-weight: 400;
    padding: 40px;
    animation: newsletter-fade-out 4s ease forwards;
    max-width: 30%;
    border-radius: 20px;
    box-shadow: 0px 5px 25px 0px rgba #00000040 (0, 0, 0, 0.25);
    overflow-wrap: break-word;
}

/* --- Nieuwsbrief Formulier --- */
.footer__newsletter {
    max-width: 380px; /* Iets breder voor betere weergave op mobiel */
}

.footer__newsletter fieldset {
    border: none;
}

.footer__newsletter label {
    display: none;
}

.footer__newsletter-title {
    font-size: 0.875rem; /* ~14px */
    margin-bottom: var(--space-s);
    font-weight: var(--fw-regular);
}

.footer__form-group {
    position: relative;
}

.footer__form-group input[type="email"] {
    height: 44px;
    width: 100%; /* Volledige breedte van de container */
    border: 1px solid #CECECE;
    border-radius: 22px; /* Perfecte ronde zijkanten */
    padding: 0 var(--space-m);
    padding-right: 54px; /* Ruimte voor de knop aan de rechterkant */
    font-size: 0.875rem;
}

.footer__submit-btn {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0; /* Centreert de knop verticaal binnen de input */
    
    width: 44px;
    height: 44px;
    background: var(--clr-primary); /* Gebruik je primaire kleur */
    border: none;
    border-radius: 50%; /* Maak de knop perfect rond */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease-in-out;
}

.footer__submit-btn:hover,
.footer__submit-btn:focus {
    transform: scale(1.1);
}

.footer__submit-btn svg {
    width: 20px;
    height: 20px;
    stroke: white; /* Kleur van het icoon */
}

/* Het input veld */
.footer__newsletter .freeform-input {
    height: 44px;
    width: 100%;
    border: 1px solid #CECECE;
    border-radius: 22px;
    padding: 0 var(--space-m);
    padding-right: 54px; /* Ruimte voor de knop */
    font-size: 0.875rem;
}

/* De submit knop */
.footer__newsletter button[type="submit"] {
    /* Plaats de knop binnen de input, net als voorheen */
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    
    width: 44px;
    height: 44px;
    background: var(--clr-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Verberg de tekst 'Submit' die Freeform genereert */
    font-size: 0;
    color: transparent;
}


/* --- Desktop Layout (naast elkaar) --- */
@media (min-width: 992px) {
    .footer__content {
        flex-direction: row; /* Naast elkaar op desktop */
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .footer__contact ul,
    .footer__links ul {
        flex-direction: row; /* Items ook naast elkaar */
        gap: var(--space-l);
    }
    
    .footer__newsletter {
        /* De `min/max-width` uit de oude code. `flex-shrink: 0` is belangrijk
           om te voorkomen dat dit element krimpt als er weinig ruimte is. */
        min-width: 300px;
        flex-shrink: 0;
    }
}




/* =========================================
   13. ANIMATIONS
   ========================================= */
/* Animation Utilities */
.delay-1 {
  --animation-delay: 0.2s;
}
.delay-2 {
  --animation-delay: 0.4s;
}
.delay-3 {
  --animation-delay: 0.6s;
}
.delay-4 {
  --animation-delay: 0.8s;
}
.delay-5 {
  --animation-delay: 1s;
}
.delay-6 {
  --animation-delay: 1.2s;
}

/* Text Reveal Up */
.text-reveal-up > span {
  display: block;
  overflow: hidden;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.8s ease-out var(--animation-delay, 0s),
    transform 0.8s ease-out var(--animation-delay, 0s);
}
.text-reveal-up.is-animated > span {
  opacity: 1;
  transform: translateY(0);
}

/* Fade In */
.fade-in {
  opacity: 0;
  transition: opacity 1s ease-in var(--animation-delay, 0s);
  transform: none;
}
.fade-in.is-animated {
  opacity: 1;
}

/* Slide from Left */
.slide-from-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 0.8s ease-out var(--animation-delay, 0s),
    transform 0.8s ease-out var(--animation-delay, 0s);
}
.slide-from-left.is-animated {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from Right */
.slide-from-right {
  opacity: 0;
  transform: translateX(200px);
  transition: opacity 0.8s ease-out var(--animation-delay, 0s),
    transform 0.8s ease-out var(--animation-delay, 0s);
}
.slide-from-right.is-animated {
  opacity: 1;
  transform: translateX(0);
}

/* Grow In */
.grow-in {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.7s ease-out var(--animation-delay, 0s),
    transform 0.7s ease-out var(--animation-delay, 0s);
}
.grow-in.is-animated {
  opacity: 1;
  transform: scale(1);
}

/* Zoom In Scroll */
.zoom-in-scroll > img {
  transform: scale(1.5);
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    var(--animation-delay, 0s);
}
.zoom-in-scroll.is-animated img {
  transform: scale(1);
}

/* =========================================
   15. MAIN CONTENT
   ========================================= */
 
.main-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-l); 
    padding-top: var(--space-xl);
    /* padding-bottom: var(--space-xl); */
}


@media (min-width: 992px) {
    .main-content {
        grid-template-columns: 1fr minmax(0, 720px) 1fr; 
        gap: var(--space-l);
    }
    .main-content__right {
        grid-column: 2;
    }
    .main-content__left {
        grid-column: 1; 
    }
}


.main-content h2 {
    margin: 4rem 0 1rem 0;
}

.main-content p {
    font-size: 20px;
    margin: 1rem 0;
}
.main-content ul,
.main-content ol {
    font-size: 20px;
    list-style: none;
    padding-left: 0;
    margin-top: var(--space-m);
    margin-bottom: var(--space-m);
}

.main-content li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 8px;
}

.main-content ul > li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 24px;
    height: 24px;
    background-color: var(--clr-accent);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.92,11.62a1,1,0,0,0-.21-.33l-5-5a1,1,0,0,0-1.42,1.42L14.59,11H7a1,1,0,0,0,0,2h7.59l-3.3,3.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0l5-5a1,1,0,0,0,.21-.33A1,1,0,0,0,17.92,11.62Z' fill='black'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.92,11.62a1,1,0,0,0-.21-.33l-5-5a1,1,0,0,0-1.42,1.42L14.59,11H7a1,1,0,0,0,0,2h7.59l-3.3,3.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0l5-5a1,1,0,0,0,.21-.33A1,1,0,0,0,17.92,11.62Z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.main-content ol {
    counter-reset: list-counter;
}

.main-content ol > li {
    counter-increment: list-counter;
}

.main-content ol > li::before {
    content: counter(list-counter);
    position: absolute;
    left: 0;
    font-weight: var(--fw-bold);
    color: var(--clr-accent);
    font-size: 1em;
    line-height: 1.6;
}

.main-content a {
        color: #D81717;
    text-decoration: underline;
}

 .main-content a.back-btn,
 a.back-btn  {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--clr-text);
    text-decoration: none;
    font-weight: bold;
    padding: var(--space-s) 0;
    transition: color 0.2s ease-in-out;
}

.back-btn:hover,
.back-btn:focus {
    color: var(--clr-primary);
    text-decoration: underline;
}

.back-btn__icon {
    width: 24px;
    height: 24px;
    transform: rotate(180deg);
    transition: transform 0.2s ease-in-out;
}

.back-btn:hover .back-btn__icon,
.back-btn:focus .back-btn__icon {
    transform: rotate(180deg) translateX(3px); 
}

/* -----------------------------------------------------------------------------
 * Layout: Page with Sidebar
 * -------------------------------------------------------------------------- */

/* 
 * MOBILE-FIRST: Standaard (op kleine schermen) staat alles onder elkaar.
 * De subnavigatie komt BOVEN de hoofdcontent.
 */
.page-layout {
    padding-top: var(--space-l);
    padding-bottom: var(--space-xl);
}

.page-sidebar {
    background-color: #FDEEEE; /* Jouw achtergrondkleur */
    padding: var(--space-m);
    margin-bottom: var(--space-l); /* Ruimte tussen nav en content op mobiel */
}

/* De content op mobiel krijgt de normale container-padding */
.page-content {
    padding: 0 var(--space-m);
}


/* 
 * DESKTOP LAYOUT: Vanaf bv. 1024px schakelen we over naar de sidebar-layout.
 */
@media (min-width: 1024px) {
    .page-layout {
        display: grid;
        grid-template-columns: 25vw 2% minmax(0, 960px) 1fr;
        gap: var(--space-xl); 
        padding-top: var(--space-xl);
        align-items: start;
    }

    /* Plaats de sidebar in de EERSTE kolom */
    .page-sidebar {
        grid-column: 1;
        /* padding: var(--space-l) var(--space-l) var(--space-l) calc((100vw - 1280px) / 2 + var(--space-m)); */
        /* De complexe padding zorgt dat de *inhoud* van de sidebar uitlijnt met de hoofd-container */
        margin-bottom: 0;
            border-radius: 0 15px 15px 0;
    }

    /* Plaats de content in de DERDE kolom */
    .page-content {
        grid-column: 3;
        padding: 0; /* Verwijder de mobiele padding */
        max-width: 960px;
    }

    .page-content > * {
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: var(--space-l); 
    }

    .page-content > .isWide {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .page-content > .isWider {
        max-width: 840px;
        margin-left: auto;
        margin-right: auto;
    }

}




/* -----------------------------------------------------------------------------
 * Component: Sub-Navigation Sidebar
 * -------------------------------------------------------------------------- */

/* De titel boven de navigatie */
.subnav__title {
    font-size: 1.5rem; /* ~24px */
    font-weight: var(--fw-bold);
    margin: 0;
    margin-bottom: var(--space-m);
    padding-bottom: var(--space-s);
    border-bottom: 2px solid var(--clr-accent); /* Rode accentkleur */
}

/* De <ul> lijsten in de navigatie */
.subnav__list,
.subnav__list ul {
    list-style: none; /* Verwijder de standaard bullets */
    padding: 0;
    margin: 0;
}

/* De geneste <ul> (niveau 3) krijgt een inspringing */
.subnav__list ul {
    padding-left: var(--space-m); /* Inspringing voor sub-items */
}



/* De <a> links - dit is het belangrijkste stijlelement */
.subnav__list a {
    display: flex; 
    align-items: flex-start;
    padding: var(--space-s) var(--space-m);
    text-decoration: none;
    color: var(--clr-text);
    font-size: 21px;
    font-weight: 600;
    line-height: 1.25;
}

/* Creëer de pijl voor ALLE items */
.subnav__list a::before {
    content: '';
    display: inline-block; /* Zorg dat hij altijd gerenderd wordt */
    width: 24px;
    height: 24px;
    flex-shrink: 0; 
    margin-right: 8px;
    background-color: currentColor;
    -webkit-mask-image: var(--icon-mask-arrow-right);
    mask-image: var(--icon-mask-arrow-right);
    -webkit-mask-size: contain;
    mask-size: contain;
}


.subnav__list a:hover,
.subnav__list a:focus {
    color: #D81717;
}

.subnav__list a.is-active,
.subnav__list a.is-ancestor {
    color: #D81717;
}

.button-container,
.download-container {
    margin-block: 3rem;
}


.download {
    display: flex;
    background: #FDEEEE;
    border-radius: 15px;
    padding: 30px;
    color: #D81717;
    text-decoration: none;
    gap: 30px;
    align-items: center;
}

@media (max-width: 768px) {
    .download {
        flex-wrap: wrap;
    }
}

.download-icon {
    width: 40px;
}

.download p {
    color: #333;
}

.download span.button {
    margin-left: auto;
}

.widget {
    display: flex;
    flex-direction: column; 
    align-items: stretch;
    border-radius: 15px;
    overflow: hidden; 
    background-color: var(--widget-bg-color);
}

.widget__figure {
    margin: 0;
    line-height: 0; 
}

.widget__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.widget__content {
    padding: 2rem 4rem;
}

.widget__title {
    font-size: 1.75rem;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: var(--space-s);
}
.widget__text {
    margin-bottom: var(--space-l);
    font-size: 20px;
}

.quote-text {
        font-style: italic;
    font-size: 20px;
    margin-bottom: 20px;
    display: inline-block;
}

.quote-location {
        display: block;
     margin-top: -20px;
}

.widget--blue {
    --widget-bg-color: #D8E5ED;
    margin-block: 3rem;
}
.widget--red {
    --widget-bg-color: #FDEEEE;
     margin-top: 3rem;
}


@media (min-width: 768px) {
    .widget {
        flex-direction: row; /* Naast elkaar op desktop */
    }
    
  .widget__figure {
        flex-basis: 33.333%; /* Ongeveer 1/3 */
        flex-shrink: 0;      /* Voorkom dat de afbeelding krimpt */
         display: flex; 
    }
    /* .widget__content {
        flex-basis: 66.667%; 
    } */
    .widget--image-left .widget__image {
        border-top-left-radius: 15px;
        border-bottom-left-radius: 15px;
    }

    .widget--image-right {
        .widget__figure {
            order: 2;
        }
        .widget__content {
            order: 1;
        }
    }
    .widget--image-right .widget__image {
        border-top-right-radius: 15px;
        border-bottom-right-radius: 15px;
    }
}

.swiper {
    border-radius: 20px;
    margin-top: 3rem;
}

.swiper.slider-container {
    border: 1px solid #d2d2d2;
}

.swiper-container-wrapper {
    position: relative;
}

.swiper-pagination-bullet {
    width: 16px;
    height: 16px;
}

.project-swiper-button-prev,
.project-swiper-button-next {
  color: var(--clr-accent);
  top: 40%;
  width: 44px;
  height: 44px;
  &::after {
    display: none;
  }
}

.project-swiper-button-prev,
.project-swiper-button-next {
  background-color: currentColor;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 90%;
}

.project-swiper-button-prev {
  left: 0;
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='arcs'%3E%3Cpath%20d='M9%2018l6-6-6-6'/%3E%3C/svg%3E");
  transform: rotate(180deg);
}

.project-swiper-button-next {
  right: 0;
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='arcs'%3E%3Cpath%20d='M9%2018l6-6-6-6'/%3E%3C/svg%3E");
}

.project-swiper-pagination {
  position: static;
  margin-top: 16px;
}
.project-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--clr-primary);
}


.full-text h2 {
    margin: 0 0 1rem 0;
}

.full-text p {
    font-size: 20px;
    margin: 1rem 0;
}
.full-text ul,
.full-text ol {
    font-size: 20px;
    list-style: none;
    padding-left: 0;
    margin-top: var(--space-m);
    margin-bottom: var(--space-m);
}

.full-text li {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 6px;
    align-items: self-start;
    margin-bottom: 8px;
}

.full-text li > a,
.full-text li > strong,
.full-text li em {
    display: contents;
}

.full-text ul > li::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-top: 5px;
    background-color: var(--clr-accent); 
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.92,11.62a1,1,0,0,0-.21-.33l-5-5a1,1,0,0,0-1.42,1.42L14.59,11H7a1,1,0,0,0,0,2h7.59l-3.3,3.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0l5-5a1,1,0,0,0,.21-.33A1,1,0,0,0,17.92,11.62Z' fill='black'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.92,11.62a1,1,0,0,0-.21-.33l-5-5a1,1,0,0,0-1.42,1.42L14.59,11H7a1,1,0,0,0,0,2h7.59l-3.3,3.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0l5-5a1,1,0,0,0,.21-.33A1,1,0,0,0,17.92,11.62Z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.full-text ol {
    counter-reset: list-counter;
}

.full-text ol > li {
    counter-increment: list-counter;
}

.full-text ol > li::before {
    content: counter(list-counter);
    font-weight: var(--fw-bold);
    color: var(--clr-accent);
    font-size: 1em;
    line-height: 1.6;
    font-weight: bold;
}

.full-text a {
    color: #D81717;
    text-decoration: underline;
}

.full-text a:hover {
    text-decoration: none;
}

.full-image img {
    border-radius: 20px;
}

/* -----------------------------------------------------------------------------
 * Component: Text & Image Block
 * -------------------------------------------------------------------------- */

.textImage {
    display: flex;
    gap: var(--space-l);
    align-items: center; 
    margin: 3rem auto;
}

.textImage {
    flex-direction: column;
}

.textImage__figure,
.textImage__content {
    width: 100%;
}

.textImage__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.textImage__figure figcaption {
    font-size: 14px;
    padding: 8px 20px;
}

.textImage__title {
    font-size: 1.75rem;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: var(--space-s);
}

.textImage__text {
    margin-bottom: var(--space-l);
    font-size: 20px;
}


@media (min-width: 768px) {
    .textImage {
        flex-direction: row; 
    }
    .textImage__figure,
    .textImage__content {
        flex: 1; 
    }
    
    .textImage-right .textImage__figure {
        order: 2;
    }
   .textImage-right .textImage__content {
        order: 1; 
    }
}

.gallery-slide {
    aspect-ratio: 16 / 9; 
}

.gallery-slide__figure {
    width: 100%;
    height: 100%;
    margin: 0; 
    overflow: hidden; 
}

.gallery-slide__image {
    display: block; 
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.two-column {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: clamp(2rem, 5vw, 15rem);
    align-items: start;
    padding-top: var(--space-xl);
}


.badge {
    margin-top: 40px;
    padding: 30px 40px;
    display: block;
    background-image: linear-gradient(180deg, #F6F6F6 0%, #fff 99%);
    border-radius: 15px;
}

.badge p {
    margin: 1rem 0;
}


/* in main.css */

/* -----------------------------------------------------------------------------
 * Component: Responsive Video (oEmbed)
 * -------------------------------------------------------------------------- */

/* De buitenste wrapper (voor spatiëring) */
.video-block {
    margin: var(--space-l) 0;
    /* Optioneel: geef het een maximale breedte als het in een brede kolom staat */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 
 * De "Aspect Ratio Box". Deze container doet al het werk.
 */
.responsive-video-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background-color: #000; /* Zwarte achtergrond voor tijdens het laden */
}

/* 
 * DE AANGEPASTE SELECTOR:
 * We richten ons op ELKE iframe die een DIRECT kind is van onze wrapper.
 */
.responsive-video-wrapper > iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0; /* Verwijder de standaard rand */
}

/* -----------------------------------------------------------------------------
 * Pagebuilder Block: Two Column Block
 * -------------------------------------------------------------------------- */

/* De buitenste <article> wrapper voor het hele blok */
.two-column-block {
    /* Verticale ruimte om het blok te scheiden van andere content */
    margin-top: var(--space-xl);
    margin-bottom: var(--space-xl);
}

/* De grid-container die de kolommen vasthoudt */
.two-column-block__grid {
    display: grid;
    
    /* 
     * MOBILE-FIRST: Standaard is er maar één kolom.
     * De twee '.two-column-block__column' divs komen netjes onder elkaar.
     */
    grid-template-columns: 1fr;
    
    /* Ruimte tussen de gestapelde kolommen op mobiel */
    gap: var(--space-l); 
}

/* 
 * De individuele kolom-div. 
 * Op mobiel is hier geen speciale styling voor nodig.
 */
/* .two-column-block__column { */
    /* Deze class is onze 'haak' voor de desktop-layout */
/* } */

/* Styling voor de content BINNEN de kolommen */
/* .two-column-block__column .text-content { */
    /* Je kunt hier specifieke tekst-styling toevoegen als dat nodig is */
/* } */

.two-column-block__column img {
    display: block;
    max-width: 100%; /* Maakt de afbeelding responsive */
    height: auto;
    border-radius: 15px;
}


/* 
 * DESKTOP LAYOUT: Vanaf 768px (of een breekpunt naar keuze)
 * schakelen we over naar de twee-koloms weergave.
 */
@media (min-width: 768px) {
    .two-column-block__grid {
        /* Schakel over naar twee gelijke kolommen */
        grid-template-columns: 1fr 1fr;
        
        /* De horizontale ruimte tussen de kolommen */
        gap: var(--space-xl); 
        
        /* Lijn de bovenkant van de kolommen uit, wat er ook in staat */
        align-items: start; 
    }
}


/* 404 Error Page */
.error-page {
    padding: var(--space-3xl, 6rem) 0;
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.error-page__inner {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.error-page__code {
    font-size: clamp(5rem, 15vw, 10rem);
    font-weight: 700;
    line-height: 1;
    color: var(--color-primary, #003366);
    margin: 0 0 var(--space-md, 1rem);
    opacity: 0.15;
}

.error-page__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: 0 0 var(--space-md, 1rem);
}

.error-page__text {
    color: var(--color-text-muted, #555);
    margin: 0 0 var(--space-xl, 2rem);
    font-size: 1.125rem;
    line-height: 1.6;
}