html {
    overflow-x: hidden;
    width: 100%;
}

/* --- CSS VARIABELEN --- */
:root {
    --bg-base: #000000;
    --bg-body: #050505;
    --glow-orange: #ffaa00;
    --text-white: #ffffff;
    --text-grey: #eaedf2;

    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    --glass-radius: 20px;

    --padding-section: 100px 20px;
    --max-width: 1200px;
}

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

body {
    background-color: var(--bg-body);
    color: var(--text-white);
    font-family: 'Lato', sans-serif;
    line-height: 1.8;
    font-weight: 300;
    /* CRITICALLY IMPORTANT FIXES FOR SCROLLING: */
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    /* Zorgt voor betere scroll ervaring op iOS/Safari */
    -webkit-overflow-scrolling: touch;
}

/* Prevent images from causing overflow */
img,
svg {
    max-width: 100%;
    height: auto;
}

/* Globale titels */
h1,
h2,
h3,
h4 {
    font-family: 'Comfortaa', cursive;
    color: var(--text-white);
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

section p {
    color: var(--text-grey);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

a {
    text-decoration: none;
}

/* --- NAVIGATIE --- */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    /* Transform zorgt voor de centrering */
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 10px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    max-width: 95%;
    /* Veiligheid voor mobiel */

    /* Hardware acceleratie forceren voor Safari */
    -webkit-transform: translateX(-50%) translateZ(0);

    /* Animatie instellingen voor het menu */
    opacity: 0;
    /* Start onzichtbaar */
    animation: nav-slide-down-desktop 1s ease-out forwards;
    animation-delay: 2.0s;
    /* Pas na alle hero animaties */
}

/* NIEUW: Deze klasse wordt toegevoegd na de animatie om de staat te bevriezen */
.navbar.nav-loaded {
    opacity: 1 !important;
    animation: none !important;
    margin-top: 0 !important;
}

/* Keyframes voor Desktop Menu */
@keyframes nav-slide-down-desktop {
    0% {
        opacity: 0;
        margin-top: -30px;
    }

    100% {
        opacity: 1;
        margin-top: 0;
    }
}

.nav-menu {
    display: flex;
    gap: 15px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Comfortaa', cursive;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    padding: 8px 18px;
    border: 1px solid transparent;
    border-radius: 50px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* HOVER: Oranje tekst */
.nav-link:hover {
    color: var(--glow-orange);
    background: rgba(255, 255, 255, 0.05);
}

/* ACTIVE: Omkadering en oranje stijl */
.nav-link.active {
    color: var(--glow-orange);
    border-color: var(--glow-orange);
    background: rgba(255, 170, 0, 0.1);
    box-shadow: 0 0 15px rgba(255, 170, 0, 0.1);
}

/* Hamburger Styles */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-white);
    transition: 0.3s;
    border-radius: 2px;
}

/* --- UNIFORME HEADER ELEMENTEN --- */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--glow-orange);
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid rgba(255, 170, 0, 0.2);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* --- LAYOUT UTILITIES --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}
.temp {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

/* FIX: Overflow hidden op secties zorgt dat animaties die van buiten het scherm komen geen scrollbar veroorzaken */
.section-std {
    padding: var(--padding-section);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
}

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

.text-col {
    padding-right: 20px;
}

/* Glass Panel (Original, used for standard cards) */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-radius: var(--glass-radius);
    padding: 40px;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease, border-color 0.3s ease;
    height: 100%;
}

.glass-panel:hover {
    border-color: rgba(255, 170, 0, 0.3);
    transform: translateY(-5px);
}

/* Buttons & Icons */
.btn {
    display: inline-block;
    background: linear-gradient(90deg, var(--glow-orange), #ff8800);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-family: 'Comfortaa', cursive;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 170, 0, 0.5);
}

.custom-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* --- 1. HERO --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Cruciaal voor glow effecten */
    background-color: var(--bg-base);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, transparent 60%, var(--bg-body) 100%);
    z-index: 2;
    pointer-events: none;
}

/* SAFARI FIX: translate3d */
.glow-orange {
    position: absolute;
    width: 90vw;
    height: 90vh;
    left: -20%;
    top: 0%;
    background: radial-gradient(circle, rgba(255, 170, 0, 0.6) 0%, transparent 70%);
    filter: blur(160px);
    z-index: 1;
    pointer-events: none;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
}

.glow-blue {
    position: absolute;
    width: 80vw;
    height: 70vh;
    right: -15%;
    top: -15%;
    background: radial-gradient(circle, rgba(58, 83, 113, 0.944) 0%, transparent 70%);
    filter: blur(140px);
    z-index: 1;
    pointer-events: none;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 300;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
}

/* Highlight voor "keuzebegeleiding" */
.hero h1 span.highlight {
    font-weight: 700;
    color: var(--glow-orange);
}

/* --- TEKST ANIMATIES HERO --- */
/* Basis status verborgen */
.anim-word {
    display: inline-block;
    opacity: 0;
    white-space: nowrap;
}

/* 1. Pop-in animatie (voor Capaciteit & Kwaliteit) */
@keyframes pop-in {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.pop-effect {
    animation: pop-in 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* 2. Fade-in animatie (voor 'en') */
@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.fade-effect {
    animation: fade-in 0.5s ease-out forwards;
}

/* 3. Typewriter Effect (voor de rest) */
.typewriter {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    /* Begin verborgen */
    vertical-align: bottom;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.type-anim {
    animation: typing 0.8s steps(30, end) forwards;
}

/* --- TIMING SEQUENCE --- */
/* Stap 1: Capaciteit (Pop) */
.delay-1 {
    animation-delay: 0.2s;
}

/* Stap 2: en (Fade) */
.delay-2 {
    animation-delay: 0.8s;
}

/* Stap 3: Kwaliteit (Pop) */
.delay-3 {
    animation-delay: 1.0s;
}

/* Stap 4: voor persoonlijke (Type) */
.delay-type-1 {
    animation-delay: 1.7s;
}

/* Stap 5: keuzebegeleiding (Type) */
.delay-type-2 {
    animation-delay: 2.3s;
}

/* Paragraaf & Rechterkant Fade-in (Pas na alles van de titel) */
@keyframes hero-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-animate {
    animation: hero-fade-in 1s ease-out forwards;
    opacity: 0;
}

/* Timing: Start pas na 3.5s */

/* Paragraaf (Links) */
.hero-delay-paragraph {
    animation-delay: 3.5s;
}

/* Rechterkant (Checklist & Rating) - Start ietsje later dan paragraaf voor mooi effect */
.hero-delay-right-side {
    animation-delay: 3.7s;
}


/* --- AANGEPASTE CHECKLIST STIJLEN (Groter & Rond) --- */
.checklist li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.15rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.check-icon {
    background: rgba(58, 83, 113, 0.105);
    border: 1px solid var(--glow-orange);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    min-width: 45px;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    padding: 10px;
    flex-shrink: 0;
}

.content-wrapper {
    max-width: 450px;
    margin: 0 auto;
    text-align: left;
}

.hero-logo {
    display: block;
    margin: 0 auto 20px auto;
    width: 100%;
    max-width: 300px;
}

.rating-area {
    text-align: center;
    margin-top: 30px;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    color: white;
}

.scroll-down-btn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto 20px auto;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    animation: pulse-glow 2.5s infinite;
    padding: 18px;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
        transform: scale(1.05);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
        transform: scale(1);
    }
}

/* Mobile Only Logo Container - GEEN ANIMATIE MEER */
.mobile-hero-logo {
    display: none;
}

/* --- KENMERKEN GRID --- */
.features-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* NIEUWE GRID VOOR SALES TOOLKIT (2 kolommen) */
.features-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Aangepast voor uniformiteit: gebruik process-card-container ipv glass-panel in HTML, en feature-card voor layout */
.feature-card {
    text-align: center;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    position: relative;
    overflow: hidden;

    /* --- ALTIJD ZICHTBARE ORANJE RAND (GEEN HOVER MEER) --- */
    border: 1px solid var(--glow-orange);
    box-shadow: 0 0 25px rgba(255, 170, 0, 0.3);
}

.feature-icon-centered {
    position: relative;
    z-index: 2;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    margin-bottom: 25px;
    box-shadow: 0 0 20px rgba(255, 170, 0, 0.1);
}

.feature-card h3 {
    position: relative;
    z-index: 2;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.feature-card p {
    position: relative;
    z-index: 2;
}

/* --- SALES TOOLKIT SPECIFICS (COMPACT GRID) --- */
.toolkit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Compact Card Styles for Toolkit */
.toolkit-card {
    padding: 25px 20px !important;
    /* Compact padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* Align top */
}

.toolkit-card .feature-icon-centered {
    width: 50px;
    height: 50px;
    padding: 10px;
    margin-bottom: 15px;
    /* Smaller icon */
}

.toolkit-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.toolkit-card p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Mobile adjust toolkit grid */
@media (max-width: 768px) {
    .toolkit-grid {
        grid-template-columns: 1fr;
    }

    /* Stack on mobile */
}

/* --- WORKFLOW CARD & UNIFIED STYLE --- */
/* Dit is de "Master" class voor de donkere cards met gloed */
.process-card-container {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom right, #111, #0a0a0a);

    /* --- ALTIJD ZICHTBARE ORANJE RAND (GEEN HOVER MEER) --- */
    border: 1px solid var(--glow-orange);
    box-shadow: 0 0 25px rgba(255, 170, 0, 0.3);

    border-radius: 20px;
    padding: 40px;
    width: 100%;
}

.process-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 170, 0, 0.14) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

/* Process Time / Timeline logic */
.process-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 30px;
    padding-left: 20px;
}

.timeline-line {
    position: absolute;
    left: 29px;
    top: 20px;
    bottom: 40px;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.timeline-pulse {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #ffaa00);
    animation: flow-down 3s infinite ease-in-out;
}

.process-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    z-index: 2;
}

.step-icon-box {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    transition: 0.3s;
}

.process-step:hover .step-icon-box {
    border-color: #ffaa00;
    box-shadow: 0 0 25px rgba(255, 170, 0, 0.2);
}

.step-text h4 {
    color: #fff;
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

@keyframes flow-down {
    0% {
        top: 0;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Specific tweak for Feature List Timeline (smaller icons) */
.feature-timeline-adjustment .timeline-line {
    left: 24px;
    top: 10px;
    bottom: 10px;
}

/* --- MOTOR (PENSIOENBIJ AI) --- */
.motor-wrapper-center {
    width: 100%;
    display: flex;
    justify-content: center;
}

.motor-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 2 / 1;
    margin: 0;
}

.motor-icon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-box-main {
    width: 64px;
    height: 64px;
    background: #111;
    border-radius: 16px;
    border: 1px solid rgba(255, 170, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(255, 170, 0, 0.4), inset 0 0 20px rgba(255, 170, 0, 0.1);
    padding: 12px;
}

.icon-label-main {
    margin-top: 10px;
    font-size: 0.75rem;
    font-weight: bold;
    color: #ffaa00;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.motor-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    transform: translateZ(0);
    will-change: transform;
    max-width: 100%;
}

.motor-items-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.motor-item {
    position: absolute;
    top: 75%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
    pointer-events: auto;
    z-index: 5;
}

/* AANGEPASTE MOTOR ITEM STIJL: ALTIJD ORANJE (GEEN HOVER MEER) */
.icon-box-small {
    width: 50px;
    height: 50px;

    /* Aangepast: Altijd oranje gloed en border */
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid #ffaa00;

    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    padding: 12px;
}

.icon-label-small {
    font-size: 14px;
    color: #f0ecec;
    text-align: center;
}

.item-1 {
    left: 11.1111%;
}

.item-2 {
    left: 26.6666%;
}

.item-3 {
    left: 42.2222%;
}

.item-4 {
    left: 57.7777%;
}

.item-5 {
    left: 73.3333%;
}

.item-6 {
    left: 88.8888%;
}

/* --- FEATURES LIST --- */
.feature-item {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}

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

.feature-icon-small {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: #1a1a1a;
}

.feature-text-small h3 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: #fff;
}

/* --- CONTENT IMAGES --- */
.content-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 800px;
    border-radius: 20px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* AANGEPAST: Proud Logo Standaard */
.proud-logo {
    width: 100%;
    max-width: 350px;
    height: auto;
    display: block;
}

/* NIEUW: Klassen voor desktop/mobiel specifieke logo's */
.mobile-only-logo {
    display: none;
    /* Verberg mobiel logo op desktop */
}

/* --- REVIEWS --- */
.review-slider-window {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
}

.review-slider-window::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100px;
    z-index: 2;
    background: linear-gradient(to right, var(--bg-body), transparent);
    pointer-events: none;
}

.review-slider-window::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100px;
    z-index: 2;
    background: linear-gradient(to left, var(--bg-body), transparent);
    pointer-events: none;
}

.slider-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll-left 50s linear infinite;
}

.slider-track:hover {
    animation-play-state: paused;
}

.review-card {
    flex: 0 0 300px;
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 12px;
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #eee;
    border-top: 1px solid #ffaa00;
    display: flex;
    align-items: center;
    height: auto;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- FOOTER --- */
.section-contact {
    padding: 80px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    /* Fixes animation scrollbar */
}

.contact-content {
    max-width: 800px;
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    text-align: left;
}

.huge-text {
    font-family: 'Comfortaa', cursive;
    font-weight: 800;
    font-size: 5rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.05);
    text-transform: uppercase;
}

.huge-text span {
    color: var(--glow-orange);
    opacity: 0.8;
}

/* --- ANIMATIES BIJ SCROLLEN --- */
.on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.anim-from-right {
    transform: translateX(50px);
}

.anim-from-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.anim-from-top {
    transform: translateY(-50px);
}

.anim-from-top.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.anim-from-left {
    transform: translateX(-50px);
}

.anim-from-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.anim-fade {
    transform: translateY(20px);
}

.anim-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

@keyframes hero-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-animate {
    animation: hero-fade-in 1s ease-out forwards;
    opacity: 0;
}

/* --- RESPONSIVE TABLET --- */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
        text-align: center;
    }

    .hero-left {
        text-align: center;
    }

    /* DEZE REGEL IS TOEGEVOEGD OM DE TEKST TE CENTREREN */
    .hero-grid,
    .split-grid,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Zorg dat de 2-koloms features grid ook naar 1 kolom gaat */
    .features-2-col {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        display: flex;
        flex-direction: column;
    }

    .hero-left {
        order: 1;
    }

    .hero-right {
        order: 2;
        width: 100%;
    }

    .split-grid>.text-col {
        padding-right: 0;
        text-align: center;
    }

    .huge-text {
        font-size: 3rem;
        text-align: center;
    }

    .contact-content {
        text-align: center;
    }

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

    /* Zorg dat de proud-logo geen extra margin probleem geeft op tablet */
    .proud-logo {
        margin: 30px auto 0 auto;
    }

    /* AANGEPAST: LOGO LOGICA VOOR MOBIEL/TABLET */

    /* 1. Verberg de linker kolom (waar het desktop logo in zit) */
    #keuzebegeleiders .split-grid>div:first-child {
        display: none;
    }

    /* 2. Toon en stijl het mobiele logo (dat in de HTML tussen de tekst staat) */
    /* AANGEPAST: MARGIN-BOTTOM VERGROOT NAAR 40PX */
    .mobile-only-logo {
        display: block !important;
        margin: 30px auto 40px auto;
        /* Ruimte boven en onder */
        max-width: 250px;
        width: 100%;
    }

    /* Mobiele Navigatie & Hamburger */
    .navbar {
        top: 20px;
        right: 20px;
        left: auto;
        /* Reset left centering */
        transform: none;
        /* Reset transform desktop */
        width: 60px;
        /* Aangepaste grootte omkadering */
        height: 60px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
        /* Override animatie voor mobiel (geen translate X nodig) */
        animation-name: nav-slide-down-mobile;
    }

    /* Keyframes voor Mobiel Menu */
    @keyframes nav-slide-down-mobile {
        0% {
            opacity: 0;
            transform: translateY(-30px);
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        /* Net onder de knop */
        right: 0;
        left: auto;
        width: 300px;
        /* Vaste breedte voor dropdown */
        flex-direction: column;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        padding: 20px;
        text-align: center;
        gap: 15px;
    }

    .nav-menu.active {
        display: flex;
    }

    /* --- Mobiel Logo Logica (Boven de tekst) --- */
    .mobile-hero-logo {
        display: block;
        text-align: center;
        width: 100%;
        margin-top: 0px;
        /* AANGEPAST NAAR 0px ZOALS GEVRAAGD */
        margin-bottom: 15px;
        order: -1;
        /* Zorgt dat het logo helemaal bovenaan de flex-container komt */
    }

    .mobile-hero-logo img {
        width: 220px;
        height: auto;
        display: inline-block;
    }

    /* Verberg het originele logo in de rechterkolom op mobiel */
    .hero-right .hero-logo {
        display: none;
    }
}

/* --- RESPONSIVE MOBIEL (KLEINER GEMAAKT & HOGER GEPLAATST) --- */
@media (max-width: 768px) {

    /* -- OPTIMALISATIE VOOR MEER RUIMTE -- */
    .hero {
        /* Was 100px, nu 80px om logo hoger te krijgen onder de navbar */
        padding-top: 80px;
        padding-bottom: 30px;
        min-height: auto;
    }

    /* Logo kleiner en minder marge */
    .mobile-hero-logo {
        margin-bottom: 10px;
        /* Was 15px */
    }

    .mobile-hero-logo img {
        width: 160px;
        /* Kleiner logo om ruimte te besparen */
    }

    /* -- TEKSTGROOTTES VERKLEINEN & COMPACTER MAKEN -- */
    .hero h1 {
        font-size: 1.5rem;
        /* Iets kleiner */
        margin-bottom: 10px;
        /* Minder marge */
    }

    .hero-animate.hero-delay-paragraph {
        margin-bottom: 15px;
        /* Minder witruimte onder paragraaf */
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    h3,
    h4 {
        font-size: 1.2rem;
    }

    p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }

    /* Checklist compacter */
    .checklist li {
        font-size: 0.9rem;
        margin-bottom: 8px;
        /* Dichter op elkaar */
    }

    .check-icon {
        width: 30px;
        height: 30px;
        min-width: 30px;
        min-height: 30px;
        margin-right: 10px;
        padding: 6px;
    }

    /* Rating sectie hoger plaatsen */
    .rating-area {
        margin-top: 15px;
        /* Minder afstand tot checklist */
    }

    .rating-number {
        font-size: 2rem;
    }

    .huge-text {
        font-size: 2rem;
    }

    /* Scroll knop dichterbij */
    .scroll-down-btn {
        margin: 15px auto 10px auto;
        width: 45px;
        height: 45px;
        padding: 12px;
    }

    /* -- KADERS (FRAMES) VERKLEINEN -- */
    .section-std {
        padding: 50px 15px;
    }

    .process-card-container,
    .glass-panel,
    .feature-card {
        padding: 25px 15px !important;
        border-radius: 15px;
    }

    .features-3-col {
        gap: 20px;
    }

    .features-2-col {
        gap: 20px;
    }

    /* -- OVERIGE AANPASSINGEN -- */
    .feature-icon-centered {
        width: 50px;
        height: 50px;
        padding: 10px;
        margin-bottom: 15px;
    }

    .step-icon-box {
        width: 45px;
        height: 45px;
        padding: 10px;
    }

    .process-timeline {
        gap: 30px;
    }

    /* Motor sectie mobiel */
    .motor-container {
        width: 100%;
        aspect-ratio: auto;
        height: auto;
        margin-top: 20px;
    }

    .motor-lines {
        display: none;
    }

    .motor-icon {
        position: relative;
        left: auto;
        transform: none;
        margin-bottom: 30px;
    }

    .motor-items-wrapper {
        position: relative;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        height: auto;
    }

    .motor-item {
        position: relative;
        top: auto;
        left: auto !important;
        transform: none;
        width: 100%;
        z-index: 1;
    }

    .divider-line {
        display: none;
    }

    .review-card {
        flex: 0 0 260px;
        padding: 20px;
        font-size: 0.85rem;
    }

    /* --- AANPASSING PROUD LOGO MOBIEL --- */
    .proud-logo {
        max-width: 180px;
        margin: 30px auto 5 auto;
    }

    /* Centreer de badge en tekst in Keuzebegeleiders sectie op mobiel */
    #keuzebegeleiders .text-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #keuzebegeiders .badge-pill {
        margin-left: auto;
        margin-right: auto;
    }
}

/* AANGEPASTE CSS VOOR PROUD EXPERTS SPLIT VIEW */
@media (min-width: 993px) {
    #keuzebegeleiders .proud-logo {
        margin: 0;
        /* Left align in grid cell voor desktop */
        max-width: 400px;
    }
}
