:root {
    --primary-color: #f0f0f0;
    --secondary-color: #111;
    --accent-color: #FFAF46;
    --accent-color-2: #544998;
    --background-color: #FFFAF3;
    --background-color-2: #2E2B49;

    --h1-font-size: 3rem;
    --h2-font-size: 2.25rem;
    --h3-font-size: 2rem;
    --p-a-font-size: 1.25rem;
    --extra-info-font-size: 0.875rem;
}

@media (max-width: 768px) {
    :root {
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --p-a-font-size: 1rem;
    }
}

/* Poppins Bold */
@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Poppins Medium */
@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Inter Italic */
@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-Italic-VariableFont.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Inter Regular */
@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-VariableFont.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Inter bold */
@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-VariableFont.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: var(--h1-font-size);
    color: var(--secondary-color);
    line-height: 120%;
}

h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: var(--h2-font-size);
    color: var(--secondary-color);
    line-height: 120%;
    margin-bottom: 10px;
}

h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: var(--h3-font-size);
    color: var(--secondary-color);
    line-height: 120%;
    margin-bottom: 10px;
}

h4 {
    font-family: 'Inter', sans-serif;
    font-size: var(--p-a-font-size);
    font-weight: 700;
    color: var(--secondary-color);
}

p,
a {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: var(--p-a-font-size);
    color: var(--secondary-color);
    line-height: 120%;
    font-style: normal;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

q {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: var(--p-a-font-size);
    color: var(--secondary-color);
    line-height: 120%;
    font-style: italic;
    quotes: "“" "”" "‘" "’";
}

q::before {
    content: open-quote;
}

q::after {
    content: close-quote;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background-color);
    color: var(--secondary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

body.noscroll {
    overflow: hidden;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    padding: 22px;
    z-index: 1000;
    scale: 0.99;
    transition: all 0.3s ease;
}

header.scroll {
    scale: 1;
    box-shadow: 0px 2px 30px 0px rgba(0, 0, 0, 0.3);
}

header,
nav,
ul {
    background-color: var(--background-color);
    color: var(--secondary-color);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100px;
    box-sizing: border-box;
}

nav ul li a {
    text-decoration: none;
    font-size: var(--p-a-font-size);
}

nav ul li a:hover {
    color: var(--accent-color);
}

.logo-svg {
    height: 65px;
    width: auto;
}

.logo-svg.long {
    display: block;
}

.logo-svg.short {
    display: none;
}

header nav ul .right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
}

header nav ul .right li .workshop {
    padding: 10px 15px;
    background-color: var(--accent-color);
}

header nav ul .right li .workshop:hover {
    background-color: var(--secondary-color);
    color: var(--accent-color);
}

header nav ul .right .ham-menu {
    position: relative;
    display: none;
    background-color: var(--accent-color);
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: column;
}

header nav ul .right .ham-menu:hover {
    background-color: var(--secondary-color);
}

header nav ul .right .ham-menu:hover span {
    background-color: var(--accent-color);
}

header nav ul .right .ham-menu span {
    position: absolute;
    left: 10px;
    right: 10px;
    height: 3px;
    background-color: var(--secondary-color);
    transition: all 0.3s cubic-bezier(.77, 0, .18, 1);
}

.ham-menu span:nth-child(1) {
    top: 16px;
}

.ham-menu span:nth-child(2) {
    top: 24px;
}

.ham-menu span:nth-child(3) {
    top: 32px;
}

.ham-menu.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 24px;
}

.ham-menu.active span:nth-child(2) {
    opacity: 0;
}

.ham-menu.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 24px;
}

.ham-menu.active {
    background-color: var(--secondary-color);
}

@media (max-width: 1000px) {

    header nav ul .right li.over-ons,
    header nav ul .right li.workshop {
        display: none;
    }

    header nav ul .right .ham-menu {
        display: flex;
    }

    @media (max-width: 768px) {
        header nav ul .logo-svg {
            height: 50px;
            width: auto;
        }

        @media (max-width: 340px) {
            .logo-svg.long {
                display: none;
            }

            .logo-svg.short {
                display: block;
            }
        }
    }
}

.ham-menu-overlay {
    display: flex;
    position: fixed;
    top: -100vh;
    left: -6px;
    width: 102vw;
    height: 101vh;
    background-color: var(--background-color);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: all 0.3s ease;
    pointer-events: none;
}

.ham-menu-overlay.open {
    top: 0;
    pointer-events: auto;
}

.ham-menu-overlay ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.ham-menu-overlay ul li a {
    font-size: var(--h2-font-size);
    color: var(--secondary-color);
    text-decoration: none;
}

.ham-menu-overlay ul li.workshop {
    padding: 10px 15px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
}

.ham-menu-overlay ul li.workshop:hover {
    background-color: var(--secondary-color);
    color: var(--accent-color);
}

nav.desktop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    background-color: var(--background-color);
    box-sizing: border-box;
    height: 100px;
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* center de inner wrapper */
}

nav.desktop .nav-inner {
    width: 100%;
    max-width: 1240px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

@media (min-width: 1000px) {
    .ham-menu-overlay {
        display: none !important;
    }
}

/*      */
/* main */
/*      */
main {
    padding: 100px 50px;
    box-sizing: border-box;
}

section {
    max-width: 1240px;
    padding: 50px 0;
}

#hero-section,
#over-ons-section,
#workshops-section,
#contact-section {
    scroll-margin-top: 100px;
}

/* hero section */
section.hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 50px 0;
    gap: 50px;
}

@media (max-width: 1000px) {
    main {
        padding: 100px 0;
    }

    section.hero {
        padding: 100px 0;
    }

    section {
        padding: 50px 20px;
        max-width: none;
    }

    section.hero {
        padding: 50px 20px;
    }
}

.hero .text {
    display: flex;
    flex-direction: column;
    max-width: 550px;
    width: 100%;
    box-sizing: border-box;
}

#cursor {
    animation: blink 1s infinite;
    color: var(--accent-color);
    font-weight: normal;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

#typing-word {
    color: var(--accent-color);
    display: inline-block;
}

.hero .text a {
    position: relative;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 30px;
    width: min-content;
    text-wrap: nowrap;
    background-color: var(--accent-color);
    padding: 15px 25px;
}

.after {
    position: absolute;
    right: -48px;
    top: 0;
    width: 50px;
    height: 100%;
    fill: var(--accent-color);
    transition: fill 0.3s ease;
    pointer-events: none;
}

.hero .text h2 {
    max-width: 400px;
}

.hero .text a:hover .after {
    fill: var(--secondary-color);
}

.hero .text a:hover {
    background-color: var(--secondary-color);
    color: var(--accent-color);
}

.hero .image {
    width: clamp(50px, 50%, 600px);
    min-height: 50px;
    max-height: 600px;
}

@media (max-width: 768px) {
    section {
        padding: 50px 20px;
        max-width: none;
    }

    section.hero {
        flex-direction: column-reverse;
        align-items: center;
        gap: 30px;
    }

    section.hero .text {
        max-width: 100%;
        width: 100%;
    }

    .hero .text h2 {
        max-width: 350px;
    }

    .hero .image {
        width: clamp(250px, 70%, 400px);
        margin-top: -20px;
    }

    .after {
        right: -46px;
    }
}

/* code belangrijk */
section.code-belangrijk {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
}

.code-belangrijk .group {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: calc(1240px - 140px);
    box-sizing: border-box;
    gap: 50px;
}

.code-belangrijk .group.g2,
.code-belangrijk .group.g4 {
    flex-direction: row-reverse;
}

.code-belangrijk .group .image {
    width: clamp(50px, 50%, 600px);
    height: auto;
}

.code-belangrijk .group .image svg {
    width: 100%;
    height: auto;
}

.code-belangrijk .group .text {
    display: flex;
    flex-direction: column;
    max-width: 550px;
    width: 50%;
    ;
}

@media (max-width: 1000px) {
    section.code-belangrijk .group {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    section.code-belangrijk .group.g2,
    section.code-belangrijk .group.g4 {
        flex-direction: column;
    }

    section.code-belangrijk .group .text {
        width: 100%;
    }

    section.code-belangrijk .group .image {
        width: 100%;
        max-width: 550px;
    }
}

/* Video Section */
section.video {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    max-width: 1240px;
    padding: 50px 0;
    width: 100%;
    overflow: hidden;
}

.video .text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 600px;
    width: 100%;
}

/* Video Player Container */
.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.tetris-video-player {
    position: relative;
    width: 80%;
    aspect-ratio: 16 / 9;
    background: var(--background-color-2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);

    touch-action: manipulation;

    /* Tetris shape met CSS clip-path */
    clip-path: polygon(91.8% 0%,
            94.7% 0%,
            94.7% 10.2%,
            100% 10.2%,
            100% 19.6%,
            100% 100%,
            0% 100%,
            0% 71.1%,
            5.2% 71.1%,
            5.2% 51.4%,
            0% 51.4%,
            0% 0%,
            91.8% 0%);
}

.tetris-video-player::-webkit-media-controls {
    display: none !important;
    opacity: 0;
}

.tetris-video-player::-webkit-media-controls-start-playback-button {
    display: none !important;
}

#tetris-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

/* Rest van je CSS blijft hetzelfde */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.tetris-video-player:hover .video-controls,
.video-controls.show {
    opacity: 1;
}

/* Play button */
.play-btn {
    background: var(--accent-color);
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary-color);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.play-btn:hover {
    background: var(--accent-color-2);
    transform: scale(1.05);
}

.play-btn svg {
    width: 18px;
    height: 18px;
    margin-left: 2px;
}

/* Fullscreen button - alleen mobiel */
.fullscreen-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    display: none; /* ✅ VERBORGEN OP DESKTOP */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary-color);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.fullscreen-btn:hover {
    background: var(--accent-color);
    color: var(--secondary-color);
    transform: scale(1.1);
}

.fullscreen-btn svg {
    width: 16px;
    height: 16px;
}

/* Progress container */
.progress-container {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    position: relative;
    margin: 0 15px;
}

.progress-container:hover {
    height: 12px;
    margin-top: -2px;
    margin-bottom: -2px;
}

.progress-bar {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent-color);
    width: 0%;
    transition: all 0.2s ease;
}

.progress-container:hover .progress-fill {
    background: var(--accent-color-2);
}

/* Time display */
.time-display {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 80px;
    text-align: center;
}

/* Volume button */
.volume-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.volume-btn svg {
    width: 20px;
    height: 20px;
    color: white;
    transition: all 0.3s ease;
}

.volume-btn:hover {
    background: var(--accent-color);
    color: var(--secondary-color);
    transform: scale(1.1);
}

.volume-btn:hover svg {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.volume-btn.muted .volume-on {
    display: none;
}

.volume-btn.muted .volume-off {
    display: block !important;
}

/* Mobile fullscreen fallback */
.mobile-fullscreen-active {
  overflow: hidden !important;
}

.mobile-fullscreen {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 9999 !important;
  background: black !important;
}

.mobile-fullscreen video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* iOS Safari specifieke fixes */
@supports (-webkit-touch-callout: none) {
  .mobile-fullscreen {
    height: 100vh !important;
    height: -webkit-fill-available !important;
  }
}

/* Responsive aanpassingen voor video controls */
@media (max-width: 768px) {
    .video-controls {
        padding: 15px;
        gap: 10px;
    }

    .play-btn {
        width: 40px;
        height: 40px;
    }

    .play-btn svg {
        width: 16px;
        height: 16px;
    }

    .volume-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .time-display {
        font-size: 12px;
        min-width: 70px;
    }

    .progress-container {
        margin: 0 10px;
    }

    /* ✅ TOON FULLSCREEN KNOP OP MOBIEL */
    .fullscreen-btn {
        display: flex;
        width: 35px;
        height: 35px;
    }

    .shape {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .video-controls {
        padding: 12px;
        gap: 8px;
    }

    .play-btn {
        width: 36px;
        height: 36px;
    }

    .play-btn svg {
        width: 14px;
        height: 14px;
    }

    .volume-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .time-display {
        font-size: 11px;
        min-width: 60px;
    }

    .progress-container {
        margin: 0 8px;
        height: 6px;
    }

    .progress-container:hover {
        height: 8px;
        margin-top: -1px;
        margin-bottom: -1px;
    }

    /* ✅ FULLSCREEN KNOP NOG KLEINER */
    .fullscreen-btn {
        width: 32px;
        height: 32px;
    }

    .fullscreen-btn svg {
        width: 14px;
        height: 14px;
    }
}



/* Loading overlay */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(46, 43, 73, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: opacity 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-text {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.shape {
    fill: var(--accent-color) !important;
    position: absolute;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Normale posities */
.shape.shape1 {
    top: -60px;
    left: -100px;
    rotate: 39deg;
}

.shape.shape2 {
    top: -30px;
    right: -80px;
    rotate: -39deg;
}

.shape.shape3 {
    bottom: -50px;
    left: -120px;
    rotate: 39deg;
}

.shape.shape4 {
    bottom: -20px;
    right: -100px;
    rotate: -39deg;
}

.shape.shape5 {
    top: -80px;
    left: -150px;
    rotate: 39deg;
}

.shape.shape6 {
    top: 120px;
    right: -90px;
    rotate: 340deg;
}

.shape.shape7 {
    bottom: 80px;
    left: -160px;
    rotate: 97deg;
}

.shape.shape8 {
    bottom: -30px;
    right: -140px;
    rotate: -39deg;
}

.shape.shape9 {
    top: -100px;
    left: -18px;
    rotate: 12deg;
}

.shape.shape10 {
    top: 50px;
    right: -190px;
    rotate: 148deg;
}

.video-playing .shape.shape1 {
    top: -200px;
    left: -50vw;
    rotate: 120deg;
    transform: scale(1.5);
}

.video-playing .shape.shape2 {
    top: -180px;
    right: -50vw;
    rotate: -120deg;
    transform: scale(1.3);
}

.video-playing .shape.shape3 {
    bottom: -200px;
    left: -50vw;
    rotate: 180deg;
    transform: scale(1.4);
}

.video-playing .shape.shape4 {
    bottom: -150px;
    right: -50vw;
    rotate: -150deg;
    transform: scale(1.2);
}

.video-playing .shape.shape5 {
    top: -250px;
    left: -50vw;
    rotate: 200deg;
    transform: scale(1.6);
}

.video-playing .shape.shape6 {
    top: 300px;
    right: -50vw;
    rotate: 500deg;
    transform: scale(1.3);
}

.video-playing .shape.shape7 {
    bottom: 250px;
    left: -50vw;
    rotate: 300deg;
    transform: scale(1.5);
}

.video-playing .shape.shape8 {
    bottom: -180px;
    right: -50vw;
    rotate: -200deg;
    transform: scale(1.4);
}

.video-playing .shape.shape9 {
    top: -280px;
    left: -50vw;
    rotate: 150deg;
    transform: scale(1.2);
}

.video-playing .shape.shape10 {
    top: 200px;
    right: -50vw;
    rotate: 400deg;
    transform: scale(1.7);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive design voor video */
@media (max-width: 768px) {
    .tetris-video-player {
        width: 100%;
        max-width: 500px;
        height: auto;
        aspect-ratio: 16/9;
    }

    .play-btn {
        width: 50px;
        height: 50px;
    }

    .play-btn svg {
        width: 16px;
        height: 16px;
    }

    .loading-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .tetris-video-player {
        max-width: 100%;
        margin: 0 10px;
    }

    .play-btn {
        width: 45px;
        height: 45px;
    }

    .play-btn svg {
        width: 14px;
        height: 14px;
    }

    .loading-text {
        font-size: 14px;
    }

    .loading-spinner {
        width: 30px;
        height: 30px;
    }
}

/* workshops */
section.workshops {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.workshops img {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-bottom: 15px;
}

.workshops h2 {
    margin-bottom: 30px;
}

.workshops .workshop-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 110px 50px;
    max-width: 1240px;
    width: 100%;
}

.workshops .workshop-list .workshop-item {
    position: relative;
    display: flex;
    width: 290px;
    padding: 30px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    background-color: var(--accent-color);
}

.workshops .workshop-list .workshop-item h3 {
    font-size: var(--h3-font-size);
    margin-bottom: 10px;
}

.workshops .workshop-list .workshop-item p {
    font-size: var(--p-a-font-size);
    font-style: italic;
    font-weight: 400;
    margin-bottom: 20px;
}

.little-info p {
    font-size: var(--extra-info-font-size);
    font-style: italic;
    margin-bottom: 20px;
}

.workshops .workshop-list .workshop-item a {
    text-decoration: none;
    color: var(--primary-color);
    background-color: var(--accent-color-2);
    padding: 5px 0;
    width: 100%;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: auto;
    transition: all 0.3s ease;
}

.workshops .workshop-list .workshop-item a:hover {
    background-color: var(--secondary-color);
    color: var(--accent-color);
}

.little-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: var(--p-a-font-size);
    color: var(--secondary-color);
    margin-top: 20px;
    width: 100%;
}

.little-info .age,
.little-info .time,
.little-info .location {
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
}

.little-info .age p,
.little-info .time p,
.little-info .location p {
    margin-bottom: 0 !important;
}

.little-info p {
    margin: 0;
    padding: 0;
    text-wrap: nowrap;
}

.workshops .workshop-list .workshop-item svg {
    fill: var(--secondary-color);
}

.workshops .workshop-list .workshop-item svg.bottom {
    position: absolute;
    width: 100%;
    height: 60px;
    fill: var(--accent-color);
    bottom: -58px;
    left: 0;
}

.workshops .workshop-list .workshop-item svg.bottom path {
    width: 100%;
}

/* mentor review */
section.mentor-review {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    padding: 50px 0;
    background-color: var(--background-color-2);
    width: 100%;
}

.mentor-review-bg {
    width: 100vw;
    background-color: var(--background-color-2);
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    display: flex;
    margin-top: 60px;
    justify-content: center;
}

.mentor-review .text {
    display: flex;
    flex-direction: column;
    max-width: 550px;
    width: 100%;
    gap: 15px;
}

.mentor-review h2 {
    margin-bottom: 30px;
    color: var(--primary-color);
}

.mentor-review .review-cards-slider {
    display: flex;
    flex-direction: row;
    gap: 30px;
    width: 100%;
    height: 100%;
    max-width: 1240px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 50vw;
    box-sizing: border-box;
    flex: 1 1 auto;
    --webkit-scrollbar-width: none;
    /* Firefox */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* Internet Explorer and Edge */
    scrollbar-width: none;
    /* Internet Explorer and Edge */
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
}


.review-cards-slider.no-snap {
    scroll-snap-type: none !important;
}

.mentor-review .review-cards-slider .review-card {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    /* Prevents flex items from shrinking */
    width: 300px;
    height: 100%;
    padding: 30px;
    background-color: var(--accent-color-2);
    color: var(--primary-color);
    gap: 20px;
    position: relative;
    box-sizing: border-box;
    scroll-snap-align: center;
    transition: transform 0.4s cubic-bezier(.77, 0, .18, 1), opacity 0.4s;
    opacity: 1;
    z-index: 1;
}

.mentor-review .review-cards-slider .review-card h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
    font-size: var(--h2-font-size);
    font-weight: 700;
}

.mentor-review .review-cards-slider .review-card q,
.mentor-review .review-cards-slider .review-card h4 {
    color: var(--primary-color);
}

.mentor-review .review-cards-slider .review-card .img-review {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.mentor-review .review-cards-slider .review-card .img-review .cookies {
    display: flex;
    flex-direction: row;
    gap: 4px;
}

.mentor-review #slider-n-btns {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    gap: 10px;
}

.mentor-review .prev,
.mentor-review .next {
    background: none;
    border: none;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    position: absolute;
}

.mentor-review .prev {
    left: 120px;
    transform: translateX(-50%);
}

.mentor-review .next {
    right: 120px;
    transform: translateX(50%);
}

.review-card.center {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
    z-index: 3;
}

.mentor-review .review-cards-slider .review-card.left,
.mentor-review .review-cards-slider .review-card.right {
    opacity: 1;
    pointer-events: auto;
    transform: scale(0.85);
    z-index: 2;
}

.mentor-review .review-cards-slider .review-card.hidden {
    opacity: 0;
    pointer-events: none;
    scale: 0.1;
}

.bottom.mentor-review {
    margin-top: -2px;
    fill: var(--background-color-2);
}

@media (max-width: 1240px) {

    .mentor-review .prev,
    .mentor-review .next {
        display: none;
    }

    @media (max-width: 450px) {
        .mentor-review .review-cards-slider .review-card {
            width: 225px;
        }

        .mentor-review .review-cards-slider .review-card .img-review {
            flex-direction: column;
            align-items: center;
        }
    }
}

.mentor-review .review-cards-slider .review-card .img-review .cookies svg,
.mentor-review .review-cards-slider .review-card .img-review .cookies path {
    fill: var(--accent-color);
    width: 100%;
}

/* Cookie ranking systeem - sommige kaarten krijgen verschillende ratings */
.mentor-review .review-cards-slider .review-card:nth-child(2) .img-review .cookies svg:nth-last-child(-n+2) path {
    fill: var(--background-color-2) !important;
}

.mentor-review .review-cards-slider .review-card:nth-child(3) .img-review .cookies svg:last-child path {
    fill: var(--background-color-2) !important;
}

.mentor-review .review-cards-slider .review-card:nth-child(5) .img-review .cookies svg:nth-last-child(-n+2) path {
    fill: var(--background-color-2) !important;
}

.mentor-review .review-cards-slider .review-card:nth-child(7) .img-review .cookies svg:nth-last-child(-n+2) path {
    fill: var(--background-color-2) !important;
}

.mentor-review .review-cards-slider .review-card:nth-child(9) .img-review .cookies svg:last-child path {
    fill: var(--background-color-2) !important;
}

.mentor-review .review-cards-slider .review-card img {
    width: 85px;
    height: 85px;
    /* border-radius: 50%; */
}

/* Wie zijn wij? */
section.wie-zijn-wij {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    overflow: hidden;
}

.wie-zijn-wij .text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 550px;
    width: 100%;
}

.wie-zijn-wij .text h2 {
    margin-bottom: 30px;
}

.wie-zijn-wij .persons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 50px 30px;
    max-width: 850px;
    width: 100%;
    padding: 0 20px;
}

.wie-zijn-wij .persons .person {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
}

.wie-zijn-wij .persons .person img {
    width: 150px;
    height: 150px;
}

.wie-zijn-wij .persons .person h3 {
    font-size: var(--h3-font-size);
    margin-bottom: 5px;
    font-weight: 700;
}

/* Pixels verdwijnen als ze over tekst komen */
.wie-zijn-wij .text,
.wie-zijn-wij .persons {
    position: relative;
    z-index: 2;
    background: transparent;
}

.pixels-bg {
    z-index: 1;
}

/* Optioneel: pixels alleen tonen buiten tekstvlakken */
@media (min-width: 0px) {
    .pixel {
        /* standaard zichtbaar */
        opacity: 1;
    }

    .wie-zijn-wij .text:before,
    .wie-zijn-wij .persons:before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 3;
        background: #fff;
        opacity: 0;
        pointer-events: none;
    }
}

.pixel {
    position: absolute;
    background: var(--background-color-2);
    animation: pixel-move 2s ease-in-out infinite alternate;
}

.pixel1 {
    top: 30px;
    left: 40px;
    width: 38px;
    height: 38px;
    animation-delay: 0s;
}

.pixel2 {
    top: 80px;
    right: 60px;
    width: 30px;
    height: 30px;
    animation-delay: 0.5s;
}

.pixel3 {
    top: 160px;
    left: 180px;
    width: 24px;
    height: 24px;
    animation-delay: 1s;
}

.pixel4 {
    top: 220px;
    right: 180px;
    width: 20px;
    height: 20px;
    animation-delay: 1.5s;
}

.pixel5 {
    top: 300px;
    left: 80px;
    width: 16px;
    height: 16px;
    animation-delay: 2s;
}

.pixel6 {
    top: 380px;
    right: 120px;
    width: 12px;
    height: 12px;
    animation-delay: 2.5s;
}

.pixel7 {
    bottom: 120px;
    left: 60px;
    width: 10px;
    height: 10px;
    animation-delay: 3s;
}

.pixel8 {
    bottom: 90px;
    right: 40px;
    width: 8px;
    height: 8px;
    animation-delay: 3.5s;
}

.pixel9 {
    bottom: 50px;
    left: 120px;
    width: 6px;
    height: 6px;
    animation-delay: 4s;
}

.pixel10 {
    bottom: 30px;
    right: 100px;
    width: 5px;
    height: 5px;
    animation-delay: 4.5s;
}

@keyframes pixel-move {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
    }

    100% {
        transform: translateY(-15px) scale(1.25) rotate(3deg);
    }
}

.wie-zijn-wij>*:not(.pixels-bg) {
    position: relative;
    z-index: 1;
}

/* contact */
section.contact {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.contact h2 {
    margin-bottom: 30px;
}

.contact .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    max-width: 1240px;
    padding: 0 20px;
    box-sizing: border-box;
}

.contact .left {
    width: calc(60% - 15px);
}

.contact form {
    display: grid;
    grid-template-areas:
        "n b"
        "e b"
        "o b"
        "s s";
    grid-template-columns: 1fr 1.5fr;
    grid-template-rows: repeat(3, auto);
    gap: 1rem;
    background-color: var(--accent-color);
    padding: 25px;
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.contact .name {
    grid-area: n;
}

.contact .email {
    grid-area: e;
}

.contact .subject {
    grid-area: o;
}

.contact .message {
    grid-area: b;
}

.contact .submit {
    grid-area: s;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 22px 14px;
    border: none;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-size: var(--p-a-font-size);
    box-sizing: border-box;
}

.contact input:focus,
.contact textarea:focus {
    outline: none;
    box-shadow: 0 0 10px var(--primary-color);
}

.contact input::placeholder,
.contact textarea::placeholder {
    color: var(--secondary-color);
    opacity: 0.6;
    font-weight: 400;
}

.contact button {
    background-color: var(--accent-color-2);
    color: var(--primary-color);
    padding: 15px 25px;
    border: none;
    font-size: var(--p-a-font-size);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact button:hover {
    background-color: var(--secondary-color);
    color: var(--accent-color);
}

.contact-form-container {
    max-width: 1200px;
    width: 100%;
}

.contact-form-container .bottom {
    max-width: 1200px;
    width: 100%;
    pointer-events: none;
    fill: var(--accent-color);
    margin-top: -2px;
}

.contact .right {
    width: calc(40% - 15px);
    object-fit: cover;
}

@media (max-width: 1250px) {
    section.contact {
        flex-direction: column;
        align-items: center;
    }

    .contact .container {
        flex-direction: column;
        align-items: center;
    }

    .contact .left,
    .contact .right {
        width: 100%;
    }

    .contact .left form {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .contact .right {
        display: none;
    }
}

/*               */
/* WORKSHOP PAGE */
/*               */

/* WORKSHOP PAGE */
main.workshop-page {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow-x: hidden;
}

.workshop-page .hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100vw;
    max-width: 100%;
    padding: 25px 0 50px 0;
    box-sizing: border-box;
}

.workshop-page .hero .text {
    align-items: center;
}

.workshop-page .hero .text h2 {
    align-self: flex-start;
}

.workshop-page .hero .little-info {
    margin-top: 30px;
    gap: 30px;
    width: min-content;
}

.workshop-page .hero .little-info svg {
    fill: var(--secondary-color);
}

.workshop-page .hero svg.mobile {
    display: none;
}

@media (max-width: 768px) {
    .workshop-page .hero {
        flex-direction: column-reverse;
        padding: 20px 20px 50px 20px;
    }

    .workshop-page .hero svg.desktop {
        display: none;
    }

    .workshop-page .hero svg.mobile {
        display: block;
    }
}

/* ONZE WORKSHOP */
section.onze-workshop {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 50px 20px;
    width: 100%;
    max-width: 1240px;
    box-sizing: border-box;
}

.onze-workshop .text {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    width: 100%;
}

.onze-workshop svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}

@media (max-width: 768px) {
    section.onze-workshop {
        flex-direction: column;
        align-items: center;
    }

    section.onze-workshop svg {
        max-width: 60%;
    }
}

/* PROGRAMMA */
section.programma {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
}

.programma .group {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: calc(1240px - 140px);
    box-sizing: border-box;
    gap: 50px;
}

.programma .group.g2,
.programma .group.g4 {
    flex-direction: row-reverse;
}

.programma .group .image {
    width: clamp(50px, 50%, 600px);
    height: auto;
}

.programma .group .image svg {
    width: 100%;
    height: auto;
}

.programma .group .text {
    display: flex;
    flex-direction: column;
    max-width: 550px;
    width: 50%;
    ;
}

@media (max-width: 1000px) {
    section.programma .group {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    section.programma .group.g2,
    section.programma .group.g4 {
        flex-direction: column;
    }

    section.programma .group .text {
        width: 100%;
    }

    section.programma .group .image {
        width: 100%;
        max-width: 550px;
    }
}

.workshop-page .programma .group h3 span {
    /* background-color: var(--secondary-color); */
    border: 3px solid var(--secondary-color);
    color: var(--secondary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
    align-items: center;
    justify-content: center;
    display: inline-flex;
}

/* GALLERIJ */
section.galerij {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px;
}

.galerij h2 {
    margin-bottom: 30px;
}

.galerij .images {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1240px;
    width: 100%;
}

.galerij .images img {
    transition: all 0.3s ease;
    max-width: 100%;
}

.galerij .images img:hover {
    transform: scale(0.95);
}

.galerij a {
    position: relative;
    background-color: var(--accent-color);
    text-transform: uppercase;
    color: var(--secondary-color);
    font-weight: 700;
    padding: 10px 20px;
    margin-top: 30px;
    transition: all 0.3s ease;
}

.galerij a .after {
    position: absolute;
    right: -44px;
    top: 0;
    width: 50px;
    height: 100%;
    fill: var(--accent-color);
    transition: fill 0.3s ease;
    pointer-events: none;
}

.galerij a:hover .after {
    fill: var(--secondary-color);
}

.galerij a:hover {
    background-color: var(--secondary-color);
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .galerij a .after {
        right: -40px;
    }
}

/* BOOK */
section.book {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px;
    width: 100%;
    background-color: var(--accent-color);
}

section.book::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100vw;
    width: 100vw;
    height: 100%;
    background-color: var(--accent-color);
    z-index: -1;
}

section.book::after {
    content: '';
    position: absolute;
    top: 0;
    right: -100vw;
    width: 100vw;
    height: 100%;
    background-color: var(--accent-color);
    z-index: -1;
}

.book h2 {
    margin-bottom: 30px;
}

.book form {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    width: 100%;
    padding: 0 20px;
    gap: 20px;
    box-sizing: border-box;
}

.book form input,
.book form textarea {
    width: 100%;
    padding: 15px;
    border: none;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-size: var(--p-a-font-size);
    box-sizing: border-box;
}

.book form input:focus,
.book form textarea:focus {
    outline: none;
    box-shadow: 0 0 10px var(--primary-color);
}

.book form input::placeholder,
.book form textarea::placeholder {
    color: var(--secondary-color);
    opacity: 0.6;
    font-weight: 400;
}

.book form button {
    position: relative;
    background-color: var(--accent-color-2);
    color: var(--primary-color);
    padding: 15px 25px;
    border: none;
    font-size: var(--p-a-font-size);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.book form button:hover {
    background-color: var(--secondary-color);
    color: var(--accent-color);
}

.book form button .after {
    position: absolute;
    right: -46px;
    top: 0;
    width: 50px;
    height: 100%;
    fill: var(--accent-color-2);
    transition: fill 0.3s ease;
    pointer-events: none;
}

.book form button:hover .after {
    fill: var(--secondary-color);
}

.bottom.book-form {
    margin-top: -2px;
    fill: var(--accent-color);
}

/* Pop-up Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: #FFFAF3;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.8) translateY(50px);
    transition: all 0.3s ease;
}

.popup-overlay.show .popup-content {
    transform: scale(1) translateY(0);
}

.popup-header {
    background: var(--accent-color);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.popup-cookie {
    width: 50px;
    height: 50px;
}

.popup-cookie svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

.popup-close {
    background: none;
    border: none;
    color: #1D1E1C;
    font-size: 30px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: rgba(29, 30, 28, 0.1);
    transform: rotate(90deg);
}

.popup-body {
    padding: 40px 30px;
    text-align: center;
}

.popup-body h3 {
    font-size: 2rem;
    color: #1D1E1C;
    margin-bottom: 20px;
    line-height: 1.2;
}

.popup-body p {
    font-size: 1.1rem;
    color: #1D1E1C;
    line-height: 1.6;
    margin-bottom: 0;
}

.popup-footer {
    padding: 0 30px 30px;
    text-align: center;
}

.popup-btn {
    background: var(--accent-color);
    color: var(--secondary-color);
    border: none;
    padding: 15px 40px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.popup-btn:hover {
    background: var(--secondary-color);
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(193, 150, 86, 0.4);
}

.popup-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(193, 150, 86, 0.4);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .popup-content {
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .popup-body {
        padding: 30px 20px;
    }
    
    .popup-body h3 {
        font-size: 1.5rem;
    }
    
    .popup-body p {
        font-size: 1rem;
    }
    
    .popup-footer {
        padding: 0 20px 20px;
    }
}

/* Animation keyframes */
@keyframes cookieBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    40% {
        transform: translateY(-10px) rotate(5deg);
    }
    60% {
        transform: translateY(-5px) rotate(-3deg);
    }
}

.popup-overlay.show .popup-cookie svg {
    animation: cookieBounce 2s ease-in-out;
}

/* REVIEW KINDEREN */
section.mentor-review.review-kinderen {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px;
    width: 100%;
    background-color: transparent;
}

.mentor-review-bg.kinderen {
    background-color: transparent;
    left: auto;
    right: auto;
}

.review-kinderen h2 {
    margin-bottom: 30px;
    color: var(--secondary-color);
}
.review-kinderen .review-cards-slider .review-card {
    background-color: var(--accent-color);
}
.review-kinderen .review-cards-slider .review-card h3, 
.review-kinderen .review-cards-slider .review-card q,
.review-kinderen .review-cards-slider .review-card h4 {
    color: var(--secondary-color);
}
.review-kinderen .review-cards-slider .review-card .img-review .cookies svg,
.review-kinderen .review-cards-slider .review-card .img-review .cookies path {
    fill: var(--accent-color-2);
}

.review-kinderen .review-cards-slider .review-card:nth-child(2) .img-review .cookies svg:nth-last-child(-n+2) path {
    fill: #A96000 !important;
}

.review-kinderen .review-cards-slider .review-card:nth-child(3) .img-review .cookies svg:last-child path {
    fill: #A96000 !important;
}

.review-kinderen .review-cards-slider .review-card:nth-child(5) .img-review .cookies svg:nth-last-child(-n+2) path {
    fill: #A96000 !important;
}

.review-kinderen .review-cards-slider .review-card:nth-child(7) .img-review .cookies svg:nth-last-child(-n+2) path {
    fill: #A96000 !important;
}

.review-kinderen .review-cards-slider .review-card:nth-child(9) .img-review .cookies svg:last-child path {
    fill: #A96000 !important;
}

.review-kinderen .prev svg,
.review-kinderen .next svg {
    fill: var(--accent-color);
}

/* Optioneel: pixels alleen tonen buiten tekstvlakken */
@media (min-width: 0px) {
    .pixel {
        /* standaard zichtbaar */
        opacity: 1;
    }

    .wie-zijn-wij .text:before,
    .wie-zijn-wij .persons:before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 3;
        background: #fff;
        opacity: 0;
        pointer-events: none;
    }
}

.workshop-page .pixel {
    position: absolute;
    background: var(--accent-color);
    animation: pixel-move-2 2s ease-in-out infinite alternate;
}

.review-kinderen .pixel1 {
    top: 30px;
    left: 40px;
    width: 38px;
    height: 38px;
    animation-delay: 0s;
}

.review-kinderen .pixel2 {
    top: 80px;
    right: 60px;
    width: 30px;
    height: 30px;
    animation-delay: 0.5s;
}

.review-kinderen .pixel3 {
    top: 160px;
    left: 180px;
    width: 24px;
    height: 24px;
    animation-delay: 1s;
}

.review-kinderen .pixel4 {
    top: 220px;
    right: 180px;
    width: 20px;
    height: 20px;
    animation-delay: 1.5s;
}

.review-kinderen .pixel5 {
    top: 300px;
    left: 80px;
    width: 16px;
    height: 16px;
    animation-delay: 2s;
}

.review-kinderen .pixel6 {
    top: 380px;
    right: 120px;
    width: 12px;
    height: 12px;
    animation-delay: 2.5s;
}

.review-kinderen .pixel7 {
    bottom: 120px;
    left: 60px;
    width: 10px;
    height: 10px;
    animation-delay: 3s;
}

.review-kinderen .pixel8 {
    bottom: 90px;
    right: 40px;
    width: 8px;
    height: 8px;
    animation-delay: 3.5s;
}

.review-kinderen .pixel9 {
    bottom: 50px;
    left: 120px;
    width: 6px;
    height: 6px;
    animation-delay: 4s;
}

.review-kinderen .pixel10 {
    bottom: 30px;
    right: 100px;
    width: 5px;
    height: 5px;
    animation-delay: 4.5s;
}

@keyframes pixel-move-2 {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
    }

    100% {
        transform: translateY(-15px) scale(1.25) rotate(3deg);
    }
}

.review-kinderen>*:not(.pixels-bg) {
    position: relative;
    z-index: 1;
}

/* WERKBOEKJE DOWNLOAD */
section.werkboekje-download {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 50px 20px;
    gap: 50px;
    width: 100%;
    background-color: var(--accent-color-2);
    box-sizing: border-box;
}

section.werkboekje-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100vw;
    width: 100vw;
    height: 100%;
    background-color: var(--accent-color-2);
    z-index: -1;
}

section.werkboekje-download::after {
    content: '';
    position: absolute;
    top: 0;
    right: -100vw;
    width: 100vw;
    height: 100%;
    background-color: var(--accent-color-2);
    z-index: -1;
}

.werkboekje-download h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}
.werkboekje-download .text {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    width: 100%;
}
.werkboekje-download .text p {
    margin-bottom: 20px;
    color: var(--primary-color);
}
.werkboekje-download .text a {
    text-decoration: none;
    position: relative;
    color: var(--primary-color);
    background-color: var(--accent-color);
    padding: 10px 20px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    width: min-content;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}
.werkboekje-download .text a:hover {
    background-color: var(--secondary-color);
    color: var(--accent-color);
}
.werkboekje-download .text a .after {
    position: absolute;
    right: -44px;
    top: 0;
    width: 50px;
    height: 100%;
    fill: var(--accent-color);
    transition: fill 0.3s ease;
    pointer-events: none;
}
.werkboekje-download .text a:hover .after {
    fill: var(--secondary-color);
}
.werkboekje-download .text a .svg-download {
    fill: var(--primary-color);
    transition: all 0.3s ease;
}
.werkboekje-download .text a:hover .svg-download {
    fill: var(--accent-color);
}

section.werkboekje-download .text .download-info {
        margin-top: 20px;
        margin-bottom: 0;
        font-size: calc(var(--p-a-font-size) * 0.75);
        color: var(--primary-color);
        font-style: italic;
    }

.werkboekje-download .werkboekje-img {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    margin-top: 120px;
    box-sizing: border-box;
    margin-left: 5%;
}
.werkboekje-download .img-werkboekje-1 {
    transform: rotate(-15deg);
    width: 50%;
    margin-top: -35%;
    transition: all 0.3s ease;
}
.werkboekje-download .img-werkboekje-2 {
    transform: rotate(15deg);
    width: 50%;
    margin-left: -10%;
    transition: all 0.3s ease;
}
.werkboekje-download .img-werkboekje-1:hover,
.werkboekje-download .img-werkboekje-2:hover {
    transform: rotate(0deg) scale(1.05);
    width: 55%;
    z-index: 1;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    section.werkboekje-download {
        flex-direction: column;
        align-items: center;
    }

    section.werkboekje-download .werkboekje-img {
        flex-direction: column;
        align-items: center;
        margin-top: 20%;
        margin-bottom: 10%;
    }

    section.werkboekje-download .text {
        text-align: center;
        align-items: center;
        width: 100%;
        max-width: 500px;
        margin-top: 20px;
    }

    section.werkboekje-download .img-werkboekje-1,
    section.werkboekje-download .img-werkboekje-2 {
        width: 30%;
    }

    section.werkboekje-download .img-werkboekje-1 {
        margin-top: -60%;
        margin-left: -15%;
    }
    section.werkboekje-download .img-werkboekje-2 {
        margin-left: 15%;
    }
}

/*        */
/* FOOTER */
/*        */

footer {
    background-color: var(--background-color-2);
    display: flex;
    flex-direction: row;
    padding: 100px 50px;
    width: 100vw;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

footer .text {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

footer .text p,
footer .text a {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

footer .text .left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
}

footer .text .right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

footer .text .right a,
footer .text .right p {
    opacity: 0.5;
}

footer svg {
    width: 35%;
    max-width: 375px;
}

footer .text p:hover,
footer .text a:hover {
    opacity: 1;
    color: var(--accent-color);
}

@media (max-width: 768px) {
    footer {
        flex-direction: column;
        align-items: center;
        padding: 50px 20px;
    }

    footer svg {
        margin-bottom: 30px;
        width: 60%;
    }

    footer .text {
        flex-direction: column;
        align-items: center;
        gap: 60px;
    }

    footer .text .left,
    footer .text .right {
        align-items: center;
        text-align: center;
    }
}

/* ✅ PRELOAD TRANSITION OVERLAY */
.transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 1002;
    pointer-events: none;
    /* ✅ VERBORGEN STANDAARD */
    opacity: 0;
    visibility: hidden;
}

/* ✅ ACTIEVE STATE - ZICHTBAAR */
.transition.active {
    opacity: 1;
    visibility: visible;
}

.transition-row {
    flex: 1;
    display: flex;
    margin: -1px 0;
}

.transition-row.row-1 .block {
    transform-origin: top;
}

.transition-row.row-2 .block {
    transform-origin: bottom;
}

.block {
    flex: 1;
    background-color: var(--accent-color);
    /* ✅ BLOCKS STARTEN VOLLEDIG ZICHTBAAR (PRELOAD STATE) */
    transform: scaleY(1);
    will-change: transform;
    margin: 0 -1px;
    position: relative;
}

/* ✅ TIJDENS REVEAL */
.transition.revealing {
    pointer-events: none;
}

/* ✅ NA REVEAL - VOLLEDIG VERBORGEN */
.transition.hidden {
    opacity: 0;
    visibility: hidden;
}

/* ✅ LOADING COOKIE ANIMATIE - LINKS IN DE HOEK */
.loading-cookie {
    position: absolute;
    bottom: 20px;
    left: 20px;
    transform: none;
    width: 40px;
    height: 42px;
    opacity: 0.8;
    animation: spin-left 2s linear infinite;
    /* ✅ VERWIJDER BOX-SHADOW */
}

.loading-cookie svg {
    width: 100%;
    height: 100%;
    /* ✅ MEERDERE DROP-SHADOWS VOOR STERKERE GLOW */
    filter: drop-shadow(0 0 5px var(--primary-color))
            drop-shadow(0 0 10px var(--primary-color))
            drop-shadow(0 0 15px var(--primary-color))
            drop-shadow(0 0 20px var(--primary-color));
}

/* ✅ DRAAI ANIMATIE - AANGEPAST VOOR LINKER HOEK */
@keyframes spin-left {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ✅ VERBERG TIJDENS REVEAL ANIMATIE */
.transition.revealing .loading-cookie {
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

/* ✅ RESPONSIVE SIZING - AANGEPAST VOOR LINKER HOEK */
@media (max-width: 768px) {
    .loading-cookie {
        width: 32px;
        height: 34px;
        bottom: 15px;
        left: 15px;
    }
    
    .loading-cookie svg {
        /* ✅ KLEINERE GLOW VOOR MOBIEL */
        filter: drop-shadow(0 0 3px var(--primary-color))
                drop-shadow(0 0 6px var(--primary-color))
                drop-shadow(0 0 10px var(--primary-color));
    }
}

@media (max-width: 480px) {
    .loading-cookie {
        width: 28px;
        height: 29px;
        bottom: 12px;
        left: 12px;
    }
    
    .loading-cookie svg {
        /* ✅ NOG KLEINERE GLOW VOOR KLEINE SCHERMEN */
        filter: drop-shadow(0 0 2px var(--primary-color))
                drop-shadow(0 0 4px var(--primary-color))
                drop-shadow(0 0 6px var(--primary-color));
    }
}