/* VBS De Frères – globale styles */
/* Styleguide: #a8cf8c (primair groen), #fffffb (off-white), #000 (zwart) */
/* Font: ABeeZee */

@import url('https://fonts.googleapis.com/css2?family=ABeeZee:ital@0;1&display=swap');

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

body {
    margin: 0;
    font-family: 'ABeeZee', sans-serif;
    color: #000;
    background-color: #fffffb;
    line-height: 1.6;
    overflow-x: hidden;
}

main {
    overflow-x: hidden;
}

/* Dropdown Navigation - Modern Redesign */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    padding: 0;
}

/* No underline under the Opvang toggle while the mega-menu is open/hovered */
.nav-dropdown-toggle::after,
.nav-dropdown:hover .nav-dropdown-toggle::after {
    display: none !important;
    width: 0 !important;
}

.nav-dropdown-toggle svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.nav-dropdown:hover .nav-dropdown-toggle svg,
.nav-dropdown.active .nav-dropdown-toggle svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    min-width: 540px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border: 1px solid #e8f5e0;
    margin-top: 16px;
    overflow: hidden;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #fff;
    filter: drop-shadow(0 -2px 2px rgba(0,0,0,0.05));
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.active .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-header {
    background: linear-gradient(135deg, #f9fcf7 0%, #e8f5e0 100%);
    padding: 24px 28px 20px;
    border-bottom: 1px solid #e8f5e0;
}

.dropdown-tag {
    display: inline-block;
    background: #a8cf8c;
    color: #000;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.dropdown-desc {
    margin: 0;
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

.dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 20px 24px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

.dropdown-item:hover {
    background: #f9fcf7;
    border-color: #e8f5e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 207, 140, 0.15);
}

.dropdown-item-full {
    grid-column: 1 / -1;
}

.dropdown-icon {
    display: none;
}

.dropdown-number {
    font-size: 20px;
    font-weight: 700;
    color: #a8cf8c;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f7ec;
    border-radius: 10px;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.dropdown-item:hover .dropdown-number {
    background: #a8cf8c;
    color: #000;
}

.dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown-title {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    line-height: 1.3;
}

.dropdown-subtitle {
    font-size: 12px;
    color: #888;
    font-weight: 400;
}

.dropdown-footer {
    background: #f9fcf7;
    padding: 16px 24px;
    border-top: 1px solid #e8f5e0;
    text-align: center;
}

.dropdown-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #a8cf8c;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dropdown-cta:hover {
    color: #7cb342;
    gap: 12px;
}

.dropdown-cta svg {
    transition: transform 0.2s ease;
}

/* Mobile dropdown */
@media (max-width: 992px) {
    /* Hide the dropdown submenu entirely on mobile — Opvang becomes a simple link */
    .nav-dropdown-menu,
    .nav-dropdown.active .nav-dropdown-menu {
        display: none !important;
    }

    .nav-dropdown-toggle svg {
        display: none;
    }
    
    .dropdown-header {
        padding: 16px 20px;
        background: #f9fcf7;
    }
    
    .dropdown-grid {
        grid-template-columns: 1fr;
        padding: 12px 16px;
        gap: 4px;
    }
    
    .dropdown-item {
        padding: 12px;
    }
    
    .dropdown-item:hover {
        transform: none;
        box-shadow: none;
    }
    
    .dropdown-number {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .dropdown-footer {
        padding: 12px 16px;
    }
}

/* Header & Navigation */
.site-header {
    background: #ffffff;
    border-bottom: 2px solid #a8cf8c;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    max-width: 1300px;
    margin: 0 auto;
}

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

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-links {
    display: flex;
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #a8cf8c;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #a8cf8c;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: #a8cf8c;
    font-weight: 600;
}

.nav-links a.active::after {
    width: 100%;
    background-color: #a8cf8c;
}

.nav-cta {
    background-color: #a8cf8c;
    color: #000;
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(168, 207, 140, 0.3);
}

.nav-cta:hover {
    background-color: #96bb7a;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(168, 207, 140, 0.4);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: #000;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #000;
    transition: all 0.3s ease;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* Mobile Menu Active State (Hamburger Animation) */
.mobile-toggle.active .hamburger { background: transparent; }
.mobile-toggle.active .hamburger::before { top: 0; transform: rotate(45deg); }
.mobile-toggle.active .hamburger::after { top: 0; transform: rotate(-45deg); }

/* Responsive Header */
@media (max-width: 992px) {
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 100vw;
        height: 100vh;
        background: #fffffb;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        transition: right 0.4s ease-in-out;
        z-index: 1001;
        padding: 5rem 1.25rem 2rem;
        overflow-y: auto;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        width: 100%;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        font-size: 1.25rem;
        display: block;
        text-align: center;
    }

    .nav-cta {
        width: 100%;
        text-align: center;
        padding: 16px;
        font-size: 1.2rem;
    }
}

.hero,
.page-section {
    max-width: 1120px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.contact-form {
    max-width: 600px;
    margin: 2rem 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #a8cf8c;
    box-shadow: 0 0 0 3px rgba(168, 207, 140, 0.2);
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    background-color: #a8cf8c;
    color: #000;
    padding: 12px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'ABeeZee', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #96bb7a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 207, 140, 0.4);
}

.btn-submit:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 0.375rem;
    display: none;
}

.form-message.success {
    display: block;
    background-color: rgba(168, 207, 140, 0.2);
    color: #000;
    border: 1px solid #a8cf8c;
}

.form-message.error {
    display: block;
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Footer */
.site-footer {
    background: #000;
    color: #fffffb;
    padding: 3rem 1.5rem 2rem;
}

.footer-content {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: #a8cf8c;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-section p,
.footer-section a {
    color: #fffffb;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: #a8cf8c;
}

/* Uitgelichte documentlinks in de footer (reglement + maandmenu) */
.footer-doc-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-section .footer-doc-link {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(168, 207, 140, 0.1);
    border: 1px solid rgba(168, 207, 140, 0.3);
    border-radius: 12px;
    padding: 12px 14px;
    color: #fffffb;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1.35;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.footer-section .footer-doc-link:hover {
    background: rgba(168, 207, 140, 0.2);
    border-color: #a8cf8c;
    transform: translateY(-2px);
    color: #fffffb;
}

.footer-doc-link svg {
    flex-shrink: 0;
    color: #a8cf8c;
}

.footer-doc-sub {
    display: block;
    font-weight: 400;
    font-size: 0.75rem;
    color: #9e9e98;
    margin-top: 2px;
}

.footer-bottom {
    max-width: 1120px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 0.8125rem;
    color: #999;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-bottom-links a {
    color: #777;
    text-decoration: none;
    font-size: 0.8125rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #a8cf8c;
}

.footer-bottom-links .dot {
    color: #555;
    user-select: none;
}

.footer-bottom-links .cms-icon {
    color: #777;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-bottom-links .cms-icon:hover {
    color: #a8cf8c;
}

/* Homepage Hero - Split Layout */
.hero-split-section {
    background: linear-gradient(135deg, #a8cf8c 0%, #96bb7a 100%);
    padding: 64px 24px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-text-col {
    color: #000;
}

.hero-text-col h1 {
    font-size: 48px;
    margin-bottom: 24px;
    line-height: 1.1;
    font-weight: 700;
}

.hero-lead {
    font-size: 20px;
    margin-bottom: 32px;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

/* Hero Form Card */
.hero-form-card {
    background: #fffffb;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hero-form-card h2 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #000;
}

.hero-form-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 24px;
}

.compact-form .form-group {
    margin-bottom: 16px;
}

.compact-form label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.compact-form input,
.compact-form select {
    padding: 10px;
    font-size: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #f9f9f9;
}

.compact-form input:focus,
.compact-form select:focus {
    background: #fff;
    border-color: #a8cf8c;
}

.compact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: #999;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eee;
}

.form-divider span {
    padding: 0 10px;
}

.btn-hero {
    width: 100%;
    margin-top: 8px;
    padding: 14px;
    font-size: 16px;
    font-weight: 700;
}

/* Classes Section */
.classes-section {
    background: #fffffb;
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    margin-top: 48px;
}

.class-group h3 {
    font-size: 24px;
    color: #a8cf8c;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.class-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.class-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 16px;
    color: #333;
    transition: padding-left 0.2s;
}

.class-list li:last-child {
    border-bottom: none;
}

.class-list li:hover {
    padding-left: 8px;
    color: #000;
    border-left: 3px solid #a8cf8c;
}

/* Spotlight Section */
.spotlight-section {
    background: #111;
    color: #fffffb;
    padding: 100px 24px;
    text-align: center;
}

.spotlight-inner {
    max-width: 800px;
    margin: 0 auto;
}

.spotlight-content h2 {
    color: #a8cf8c;
    font-size: 32px;
    margin-bottom: 8px;
}

.spotlight-content h3 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 32px;
    font-weight: 400;
}

.spotlight-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: #ddd;
}

.btn-outline {
    display: inline-block;
    border: 2px solid #a8cf8c;
    color: #a8cf8c;
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 32px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #a8cf8c;
    color: #000;
}

/* Image Gallery Grid */
.image-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    aspect-ratio: 4/3;
    background-color: #eee;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
}

.placeholder-img {
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%22800%22%20height%3D%22600%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20width%3D%22800%22%20height%3D%22600%22%20fill%3D%22%23eeeeee%22%2F%3E%3Ctext%20x%3D%2250%25%22%20y%3D%2250%25%22%20dominant-baseline%3D%22middle%22%20text-anchor%3D%22middle%22%20font-family%3D%22sans-serif%22%20font-size%3D%2224%22%20fill%3D%22%23cccccc%22%3EImage%3C%2Ftext%3E%3C%2Fsvg%3E');
}

/* Contact Footer Section */
.contact-footer-section {
    background: #f9f9f9;
    padding: 80px 24px;
    border-top: 1px solid #eee;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-info-block h2 {
    font-size: 36px;
    color: #000;
    margin-bottom: 8px;
}

.contact-info-block h3 {
    font-size: 24px;
    color: #a8cf8c;
    margin-bottom: 48px;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: left;
}

.contact-group h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 12px;
}

.contact-group p {
    font-size: 16px;
    color: #333;
    margin: 4px 0;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .hero-trust-badges {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-text-col h1 {
        font-size: 36px;
    }
    
    .classes-grid {
        grid-template-columns: 1fr;
    }
    
    .image-gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-details {
        text-align: center;
    }
}

/* Playful & Loose Design System Additions */

/* Organic Shapes & Dividers */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-divider .shape-fill {
    fill: #fffffb;
}

.wave-divider-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-divider-top .shape-fill {
    fill: #fffffb;
}

/* Playful Buttons */
.btn-pill {
    border-radius: 50px;
    padding: 12px 32px;
}

.btn-playful {
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-playful:hover {
    transform: translateY(-4px) scale(1.02);
}

/* Floating Cards */
.card-loose {
    background: #fffffb;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(168, 207, 140, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-loose:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: #a8cf8c;
}

/* Hero Update */
.hero-playful {
    background: linear-gradient(180deg, #f9fcf7 0%, #fffffb 100%);
    padding: 80px 24px 120px;
    position: relative;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.4; /* Fade image so text pops */
}

/* Background decorations */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    opacity: 0.2;
}

.blob-1 {
    top: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: #d4e8c4;
}

.blob-2 {
    bottom: 10%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: #d4e8c4;
}

.hero-content-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

/* Hero entrance animations */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-text-col h1 {
    opacity: 0;
    animation: heroFadeUp 0.8s ease-out 0.2s forwards;
}

.hero-text-col .hero-lead {
    opacity: 0;
    animation: heroFadeUp 0.8s ease-out 0.45s forwards;
}

.hero-text-col .hero-actions {
    opacity: 0;
    animation: heroFadeUp 0.8s ease-out 0.7s forwards;
}

.hero-form-col {
    opacity: 0;
    animation: heroFadeIn 1s ease-out 0.6s forwards;
}

.hero-highlight {
    color: #a8cf8c;
    position: relative;
    display: inline-block;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(168, 207, 140, 0.3);
    z-index: -1;
    border-radius: 4px;
    transform: rotate(-1deg);
}

/* USP Strip */
.usp-strip {
    background: transparent;
    padding: 48px 24px;
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.usp-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 100px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    padding: 32px 48px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.usp-icon {
    width: 48px;
    height: 48px;
    background: #f5f9f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a8cf8c;
    flex-shrink: 0;
}

.usp-text {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Quote Section */
.quote-section {
    padding: 80px 24px;
    text-align: center;
    position: relative;
}

.quote-card {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    position: relative;
}

.quote-mark {
    position: absolute;
    top: -20px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: #a8cf8c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 32px;
    font-family: serif;
}

/* Values Grid */
.values-section {
    padding: 80px 24px;
    background: #fffffb;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.tag-pill {
    background: #000;
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 16px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: #fff;
    padding: 32px;
    border-radius: 24px;
    transition: all 0.3s ease;
    border: 1px solid #f5f5f5;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: #e8f5e0;
}

.value-icon {
    width: 56px;
    height: 56px;
    background: #f7fbf4;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a8cf8c;
    margin-bottom: 24px;
}

/* Story Section */
.story-section {
    padding: 80px 24px;
}

.story-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.story-card-large {
    height: 400px;
    background-color: #f5f5f5;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 32px;
}

.story-card-large::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    z-index: 1;
}

.story-card-small {
    height: 400px;
    background-color: #f5f5f5;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 32px;
}

.story-card-small::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    z-index: 1;
}

.story-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.5s ease;
}

.story-card-large:hover .story-bg-img,
.story-card-small:hover .story-bg-img {
    transform: scale(1.05);
}

.story-badge {
    background: #a8cf8c;
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
    display: inline-block;
    position: relative; /* Ensure it stays above overlay if needed, though z-index 2 on content handles it */
}

.story-content {
    position: relative;
    z-index: 2;
    color: #fff; /* Changed to white for better contrast on overlay */
    width: 100%;
}

.story-content h3 {
    font-size: 28px;
    margin: 0;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* CTA Section */
.cta-wrapper {
    max-width: 1000px;
    margin: 0 auto 80px;
    padding: 0 24px;
}

.cta-card {
    background: #051a05; /* Dark Green/Black mix */
    background-image: linear-gradient(135deg, #0a260a 0%, #000000 100%);
    border-radius: 32px;
    padding: 64px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: repeating-linear-gradient(45deg, #a8cf8c 0, #a8cf8c 1px, transparent 0, transparent 50%);
    background-size: 10px 10px;
}

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

.cta-card h2 {
    font-size: 42px;
    margin-bottom: 16px;
    color: #fff;
}

.cta-card p {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-cta-primary {
    background: #a8cf8c;
    color: #000;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-primary:hover {
    background: #96bb7a;
    transform: scale(1.05);
}

.btn-cta-secondary {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background: #fff;
    color: #000;
}

/* Responsive for new elements */
@media (max-width: 992px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
    }

    .usp-container {
        justify-content: center;
        border-radius: 24px;
    }

    .story-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cta-card {
        padding: 40px 24px;
    }
    
    .cta-card h2 {
        font-size: 32px;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

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

/* Play Button Pulse Animation */
@keyframes pulse-green {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(168, 207, 140, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(168, 207, 140, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(168, 207, 140, 0);
    }
}

.btn-pulse {
    animation: pulse-green 2s infinite;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: #a8cf8c;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(168, 207, 140, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #96bb7a;
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(168, 207, 140, 0.5);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    stroke: #000;
    stroke-width: 2.5;
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* ===== Scroll Reveal Animations ===== */

/* Default: slide up */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-animate].is-visible {
    opacity: 1;
    transform: none;
    filter: none;
}

/* Fade only -- no movement */
[data-animate="fade"] {
    transform: none;
}

/* Slide from left */
[data-animate="slide-left"] {
    transform: translateX(-40px);
}

/* Slide from right */
[data-animate="slide-right"] {
    transform: translateX(40px);
}

/* Scale up */
[data-animate="scale"] {
    transform: scale(0.92);
}

/* Blur in -- element starts blurred and fades sharp */
[data-animate="blur"] {
    transform: none;
    filter: blur(8px);
}

/* Clip up -- content reveals upward like a curtain */
[data-animate="clip"] {
    transform: none;
    clip-path: inset(100% 0 0 0);
}
[data-animate="clip"].is-visible {
    clip-path: inset(0 0 0 0);
}

/* Stagger children */
[data-stagger] > * {
    transition-delay: calc(var(--stagger-index, 0) * 100ms);
}

/* ===== Hover Micro-interactions ===== */

/* Cards lift on hover */
.card-loose {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-loose:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

/* Image zoom on hover */
.gallery-item img,
.story-card-large img,
.story-card-small img {
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Quote card subtle glow */
.quote-card {
    transition: box-shadow 0.4s ease;
}

.quote-card:hover {
    box-shadow: 0 12px 40px rgba(168, 207, 140, 0.12);
}

/* Tag pill lift */
.tag-pill {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tag-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
}

/* Smooth button transitions */
a[style*="border-radius: 50px"] {
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Parallax layer -- moves slower on scroll (controlled by JS) */
[data-parallax] {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* ===== Reduce motion ===== */
@media (prefers-reduced-motion: reduce) {
    [data-animate] {
        opacity: 1;
        transform: none;
        filter: none;
        clip-path: none;
        transition: none;
    }
    [data-animate].is-visible {
        transform: none;
    }
    .card-loose,
    .quote-card,
    .value-card,
    .story-bg-img,
    [data-parallax] {
        transition: none;
        transform: none !important;
    }
}

/* Aanbod Grid Cards */
.aanbod-item {
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.aanbod-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(168, 207, 140, 0.25);
}

.aanbod-item:hover h3 {
    color: #4a8a2a !important;
}

/* Dropdown in de huisstijl (zie assets/js/components/select.js).
   De native select zit onzichtbaar over de knop heen: die houdt de waarde bij
   en toont het browserballonnetje bij een verplicht veld. */
.field-select {
    position: relative;
}

/* Het extra veld bij "Ander" wordt met het hidden-attribuut verborgen */
.form-group[hidden] {
    display: none;
}

.field-select select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
}

.field-select__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: #f9fafb;
    border: 2px solid #e8f5e0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    color: #000;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s;
}

.field-select__trigger:hover {
    border-color: #cfe7c1;
}

.field-select__trigger:focus-visible,
.field-select.is-open .field-select__trigger {
    outline: none;
    background: #fff;
    border-color: #a8cf8c;
    box-shadow: 0 0 0 3px rgba(168, 207, 140, 0.2);
}

.field-select.is-empty .field-select__label {
    color: #999;
}

.field-select.has-error .field-select__trigger {
    border-color: #fca5a5;
}

.field-select__chevron {
    flex: none;
    color: #a8cf8c;
    transition: transform 0.25s ease;
}

.field-select.is-open .field-select__chevron {
    transform: rotate(180deg);
}

.field-select__list {
    position: absolute;
    z-index: 40;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    max-height: 260px;
    overflow-y: auto;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: #fff;
    border: 2px solid #e8f5e0;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.field-select__option {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    cursor: pointer;
}

.field-select__option.is-active {
    background: #f5f9f2;
}

.field-select__option[aria-selected="true"] {
    background: #a8cf8c;
    color: #000;
    font-weight: 700;
}

/* "Ander" staat onderaan, los van de jaartallen erboven */
.field-select__option--other {
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid #eee;
    border-radius: 0 0 8px 8px;
    color: #666;
}

.compact-form .field-select__trigger {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
}

.compact-form .field-select__list {
    border-radius: 8px;
}

.compact-form .field-select__option {
    padding: 8px 10px;
    font-size: 14px;
}

/* CMS Content Loading - Prevent Flash */
[data-cms] {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

body.cms-loaded [data-cms],
body.cms-fallback [data-cms] {
    opacity: 1;
}
