﻿/* ==========================================================================
   1. BASIS RESET, DESIGN TOKENS & GLOBALE STYLES
   ========================================================================== */
:root {
    --groen: #4A6D52;
    --licht-groen: #E9F2E9;
    --wit: #FFFFFF;
    --grijs: #F9FCF9;
    --rood: #d32f2f;
    --zand: #F2F0EB;
    --sage-mist: #DDE4DD;
    --donker: #333333;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--grijs);
    color: var(--donker);
    overflow-x: hidden;
    line-height: 1.6;
}

.main-content {
    margin-top: 70px; /* Voorkomt dat content onder de fixed navbar verdwijnt */
}

/* Algemene klasse om foto's vloeibaar te laten schalen */
.responsive-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   2. HERBRUIKBARE COMPONENTEN & LAYOUT UTILITIES
   ========================================================================== */
.btn-primary {
    background: var(--groen);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s, background 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #3e5c45;
}

.btn-sos {
    background: #000;
    color: var(--wit) !important;
    padding: 8px 20px;
    border-radius: 5px;
}

.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.bg-sand {
    background-color: var(--zand) !important;
}

/* Typografie Utilities */
.title-xl {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1;
    color: var(--donker);
}

.subtitle-green {
    color: var(--groen);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.text-lead {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* ==========================================================================
   3. NAVIGATIEBALK (HEADER)
   ========================================================================== */
.nav-container {
    background: var(--wit);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
    transform: translateY(0);
    opacity: 1;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    height: 70px;
    padding: 10px 20px;
    width: 100%;
    box-sizing: border-box;
}

.nav-logo {
    height: 38px;
    width: auto;
    display: block;
}

/* Desktop menu */
.nav-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-links a {
    color: #1b4332;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: var(--licht-groen);
    color: var(--groen);
}

/* Menu trigger logica (Standaard verborgen op desktop) */
.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    z-index: 2100;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: var(--donker);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   4. HERO CAROUSEL SYSTEM
   ========================================================================== */
.hero-carousel-section {
    height: 100%;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 70vh;
    background-color: #222;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.carousel-content {
    position: absolute;
    text-align: center;
    color: #fff;
    max-width: 700px;
    padding: 0 20px;
    z-index: 2;
}

.carousel-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 1px;
}

.carousel-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.carousel-btn {
    display: inline-block;
    background-color: var(--groen);
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.carousel-btn:hover {
    background-color: #4a6d52;
    transform: scale(1.05);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 1.8rem;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 3;
    transition: background 0.2s ease;
    user-select: none;
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
}

.carousel-arrow.prev { left: 25px; }
.carousel-arrow.next { right: 25px; }

.carousel-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.1);
}

/* ==========================================================================
   5. APPLE-STYLE SCROLL STORY
   ========================================================================== */
.scroll-story {
    height: 400vh;
    background: linear-gradient(to bottom, var(--zand) 85%, var(--grijs) 100%);
    position: relative;
}

.sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.center-logo {
    width: 600px !important;
    max-width: 80vw !important;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.05));
}

.story-text {
    position: absolute;
    bottom: 20%;
    color: var(--groen);
    font-size: 2.2rem;
    font-weight: 600;
    text-align: center;
    width: 90%;
    max-width: 800px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.story-text.active {
    opacity: 1;
    transform: translateY(0);
}

.language-label {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 15px;
    color: var(--groen);
    opacity: 0.6;
    font-weight: 400;
}

/* ==========================================================================
   6. HOMEPAGE FEATURES GRID & HERO INTRO
   ========================================================================== */
.section-dost-hero {
    padding: 140px 20px 80px 20px;
    background-color: var(--zand);
    text-align: center;
}

.dost-huge-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--groen);
    margin-bottom: 15px;
    letter-spacing: -2px;
}

.dost-subtitle {
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(74, 109, 82, 0.4);
    margin-bottom: 40px;
    letter-spacing: -1px;
}

.dost-intro-text {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #555;
    max-width: 650px;
    margin: 0 auto;
}

.dost-intro-text strong {
    color: var(--groen);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
    margin-top: 40px;
}

.feature-box i {
    font-size: 40px;
    color: var(--groen);
    margin-bottom: 15px;
}

.zigzag-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 80px 0;
}

.zigzag-section.reverse {
    flex-direction: row-reverse;
}

.section-text {
    flex: 1;
}

.section-mockup {
    flex: 1;
    display: flex;
    justify-content: center;
}

.dost-mockup {
    max-width: 400px;
    border-radius: 40px;
    box-shadow: 0 25px 50px rgba(74, 109, 82, 0.15);
    border: 8px solid var(--wit);
}

.section-contrast {
    background-color: var(--sage-mist);
    padding: 128px 20px;
    display: flex;
    justify-content: center;
}

/* ==========================================================================
   7. RELAX SPLIT-SCREEN (GEOPTIMALISEERD)
   ========================================================================== */
.relax-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 80px 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* De interactieve tekstkolom */
.relax-interactive {
    flex: 1;
    display: flex;
    align-items: center;
}

.interactive-content {
    max-width: 550px;
    width: 100%;
}

/* De visuele kolom met de afgeronde hoeken zoals bij Sober */
.relax-visual {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 30px; /* Geeft die zachte, natuurlijke DØST look */
    aspect-ratio: 1 / 1; /* Maakt de afbeeldingen perfect vierkant zoals op de werkende pagina */
    max-width: 500px;    /* Voorkomt dat de afbeelding het scherm overneemt */
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.relax-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Overlay tekst netjes over de afbeelding */
.visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35); /* Iets subtieler voor betere integratie */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.visual-overlay h2 {
    color: var(--wit);
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Richting omdraaien voor de 'reverse' secties */
.relax-split.reverse {
    flex-direction: row-reverse;
}

/* Responsieve touch voor kleinere schermen */
@media (max-width: 992px) {
    .relax-split, .relax-split.reverse {
        flex-direction: column-reverse;
        gap: 40px;
        padding: 40px 20px;
    }
    
    .relax-visual {
        max-width: 100%;
        aspect-ratio: 4 / 3; /* Iets breder op mobiel/tablet */
    }
}

/* ==========================================================================
   8. WAARDENBOOM ASYMMETRISCH DASHBOARD (ZWEVEND)
   ========================================================================== */
.tree-dashboard-container {
    position: relative;
    max-width: 2300px;
    margin: 0 auto;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 0px;
}

.tree-base {
    width: 55%;
    text-align: center;
}

.main-tree-image {
    max-width: 100%;
    height: auto;
    max-height: 900px;
    filter: drop-shadow(0 20px 40px rgba(74, 109, 82, 0.1));
}

.tree-container {
    text-align: center;
    padding: 60px 20px;
}

/* De Zwevende Kaarten */
.value-card.floating {
    position: absolute;
    background: var(--wit);
    border-radius: 20px;
    padding: 24px;
    width: 320px;
    z-index: 18;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(74, 109, 82, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
}

.value-card.floating:hover {
    box-shadow: 0 15px 35px rgba(74, 109, 82, 0.12);
}

.value-card .card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.value-card .card-icon {
    background-color: var(--sage-mist);
    color: var(--groen);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.value-card .card-meta {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #888;
    text-transform: uppercase;
}

.value-card.floating h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    margin: 0 0 6px 0;
    color: var(--donker);
    font-weight: 700;
}

.value-card.floating p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

/* Coördinaten posities */
#card-zelfzorg { top: 5%; left: 55%; }
#card-verbinding { top: 20%; left: 82%; }
#card-prestatie { top: 40%; left: 55%; }
#card-rust { top: 52%; left: 82%; }
#card-dynamiek { top: 75%; left: 55%; }

/* ==========================================================================
   9. DØST WAARDEN QUIZ SECTIE & PHONE MOCKUP
   ========================================================================== */
.waarden-quiz-section {
    background-color: var(--zand);
    padding: 60px 20px;
    font-family: 'Arimo', sans-serif;
}

.quiz-intro-container {
    max-width: 1000px;
    margin: 0 auto;
}

.quiz-intro-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.quiz-intro-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: var(--donker);
    margin-bottom: 20px;
}

.quiz-intro-header p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--donker);
}

.quiz-mockup-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.phone-mockup-wrapper {
    flex: 1;
    min-width: 320px;
    max-width: 380px;
    background: #ffffff;
    border-radius: 32px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(74, 109, 82, 0.08);
}

.phone-mockup-container {
    width: 100%;
}

.phone-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.back-link {
    color: var(--groen);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.phone-title {
    flex: 1;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--donker);
    margin-right: 45px;
}

.phone-meta {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 4px;
}

.phone-subtitle {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--donker);
    margin-bottom: 15px;
}

.mockup-progress-bar {
    width: 100%;
    height: 5px;
    background: #EBEAE4;
    border-radius: 10px;
    margin-bottom: 35px;
}

.mockup-progress-fill {
    width: 8%;
    height: 100%;
    background: var(--groen);
    border-radius: 10px;
}

.mockup-quiz-card {
    background: #ffffff;
}

.mockup-question {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--donker);
    line-height: 1.4;
    text-align: center;
    margin-bottom: 30px;
}

.mockup-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mockup-opt-btn {
    background: #F4F5F2;
    border: 1px solid transparent;
    border-radius: 16px;
    padding: 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--donker);
    cursor: pointer;
    transition: all 0.2s ease;
}

.mockup-opt-btn:hover {
    background: #ffffff;
    border-color: var(--groen);
    box-shadow: 0 4px 12px rgba(74, 109, 82, 0.08);
}

.quiz-explanation-text {
    flex: 1.2;
    min-width: 300px;
    max-width: 450px;
}

.explanation-title-group {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.quiz-explanation-text h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--donker);
    margin: 0;
}

.explanation-icon {
    font-size: 1.8rem;
    color: var(--groen);
    opacity: 0.7;
}

.quiz-explanation-text p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #444;
}

/* ==========================================================================
   10. WAARDEN SELECTION & CATEGORIES GRID
   ========================================================================== */
.waarden-manual-section {
    background-color: var(--zand);
    padding: 60px 20px;
    font-family: 'Arimo', sans-serif;
}

.manual-container {
    max-width: 1000px;
    margin: 0 auto;
}

.manual-mockup-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.manual-explanation-text {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
}

.manual-explanation-text h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--donker);
    margin: 0;
}

.swipe-mockup-wrapper {
    flex: 0 0 350px;
    background: #ffffff;
    border-radius: 32px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(74, 109, 82, 0.08);
}

.swipe-header {
    margin-bottom: 40px;
}

.stop-link {
    color: var(--donker);
    font-weight: 700;
    cursor: pointer;
}

.swipe-card {
    text-align: center;
    padding: 20px;
}

.card-icon-avatar {
    font-size: 3rem;
    color: var(--groen);
    margin-bottom: 20px;
}

.card-value-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: var(--donker);
    margin-bottom: 30px;
}

.card-navigation {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-weight: 700;
    color: var(--groen);
}

.waarden-categories-section {
    padding-top: 60px;
}

.waarden-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    color: var(--groen);
    margin-bottom: 30px;
    text-align: center;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    align-items: start;
}

.category-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--groen);
}

.category-header i { font-size: 1.3rem; }

.category-header h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 700;
}

.category-description {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
    line-height: 1.4;
}

.values-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.value-tag {
    background: #F2F0EB;
    color: #444;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.toggle-btn {
    font-size: 0.8rem;
    color: var(--groen);
    padding: 5px 5px;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
}

.extra-values {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    margin-top: 8px;
}

.category-card.is-open .extra-values {
    display: flex;
}

.category-card.card-zelf.is-open { border-color: var(--groen); background-color: #fafbfc; }
.category-card.card-verbinding.is-open { border-color: #5d7e68; background-color: #fbfbfa; }
.category-card.card-prestatie.is-open { border-color: #4a6d52; }
.category-card.card-harmonie.is-open { border-color: var(--groen); }
.category-card.card-dynamiek.is-open { border-color: #3b5742; }

/* ==========================================================================
   11. BRANDED 404 ERROR PAGE
   ========================================================================== */
.error-page-body {
    background-color: #F2F0EB;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    padding: 20px;
}

.error-container {
    text-align: center;
    max-width: 500px;
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.error-code {
    font-size: 6rem;
    font-weight: 800;
    color: var(--groen, #3c5a45);
    margin: 0;
    line-height: 1;
    letter-spacing: -2px;
}

.error-title {
    font-size: 1.6rem;
    color: #333;
    margin-top: 10px;
    margin-bottom: 15px;
    font-weight: 700;
}

.error-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.error-divider {
    font-size: 1.5rem;
    color: var(--groen, #3c5a45);
    margin-bottom: 20px;
    opacity: 0.7;
}

.error-back-btn {
    display: inline-block;
    background-color: var(--groen, #3c5a45);
    color: #ffffff;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 4px 12px rgba(60, 90, 69, 0.2);
}

.error-back-btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* ==========================================================================
   12. FOOTER & CONTACT SYSTEM
   ========================================================================== */
.footer {
    background: var(--licht-groen);
    padding: 60px 20px;
}

.info-card,
.contact-card {
    background: var(--wit);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
}

/* ==========================================================================
   13. CONTACT PAGINA & DYNAMISCHE SWITCH
   ========================================================================== */
.contact-container {
    max-width: 600px;
    margin: 40px auto 100px auto;
    padding: 0 20px;
}

.switch-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.switch-label {
    font-weight: 600;
    font-size: 1rem;
    color: #a3b899;
    transition: color 0.3s ease;
}

.switch-label.active {
    color: var(--groen);
}

.dost-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.dost-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #d8e2dc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

input:checked + .slider { background-color: var(--groen); }
input:checked + .slider:before { transform: translateX(26px); }
.slider.round { border-radius: 34px; }
.slider.round:before { border-radius: 50%; }

.contact-form-box {
    background: var(--wit);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.form-group label {
    font-weight: 600;
    color: var(--donker);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #fafbfc;
    font-family: inherit;
    font-size: 1rem;
    color: var(--donker);
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s, background-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--groen);
    background-color: var(--wit);
}

.btn-primary-form {
    background-color: var(--groen);
    color: var(--wit);
    border: none;
    padding: 16px 32px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    letter-spacing: 0.5px;
    transition: background-color 0.2s;
}

.btn-primary-form:hover { background-color: #1b4332; }

.org-only { display: none; }
.user-only { display: flex; }

.contact-form-box.show-org .org-only { display: flex; }
.contact-form-box.show-org .user-only { display: none; }

.dynamic-country-label:before { content: "Land (optioneel)"; }
.dynamic-region-label:before { content: "Jouw provincie (optioneel)"; }

.contact-form-box.show-org .dynamic-country-label:before { content: "Land van de organisatie (optioneel)"; }
.contact-form-box.show-org .dynamic-region-label:before { content: "Provincie van de organisatie (optioneel)"; }

.form-disclaimer {
    font-size: 0.82rem;
    color: #6c757d;
    line-height: 1.4;
    margin-top: -2px;
    margin-bottom: 4px;
}

.form-disclaimer i { color: #a3b899; margin-right: 4px; }

.form-group-checkbox {
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 32px;
    cursor: pointer;
    font-size: 0.92rem;
    line-height: 1.4;
    color: var(--donker);
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0; width: 0;
}

.checkmark {
    position: absolute;
    top: 2px; left: 0;
    height: 20px; width: 20px;
    background-color: #fafbfc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    transition: background-color 0.2s, border-color 0.2s;
}

.checkbox-container:hover input ~ .checkmark { border-color: var(--groen); }
.checkbox-container input:checked ~ .checkmark { background-color: var(--groen); border-color: var(--groen); }

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after { display: block; }
.checkbox-container .checkmark:after {
    left: 7px; top: 3px;
    width: 5px; height: 10px;
    border: solid var(--wit);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text.class-user-text { display: inline; }
.checkbox-text.class-org-text { display: none; }

.contact-form-box.show-org .checkbox-text.class-user-text { display: none; }
.contact-form-box.show-org .checkbox-text.class-org-text { display: inline; }

/* ==========================================================================
   14. FOTOGALLERY & SLIDESHOW (DØST BACKUP)
   ========================================================================== */
.backup-grid-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

.category-title {
    font-size: 1.5rem;
    color: #2b2b2b;
    font-weight: 700;
    margin: 2.5rem 0 1rem 0;
    border-left: 4px solid #eadecc;
    padding-left: 12px;
    font-family: 'Poppins', sans-serif;
}

.backup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 2rem;
}

.backup-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.backup-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.card-img-wrapper {
    background: #fbf9f6;
    border-radius: 8px;
    height: 165px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.backup-card h3 {
    font-size: 1.05rem;
    color: #2b2b2b;
    font-weight: 600;
    margin: 5px 0 0 0;
}

.responsive-view-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.view-column {
    background: #ffffff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.view-column h4 { margin-bottom: 10px; color: #555; font-weight: 600; }

.dost-modal {
    display: none; 
    position: fixed;
    z-index: 9999;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    align-items: center; justify-content: center;
}

.modal-content {
    background-color: #fbf9f6;
    padding: 30px;
    border-radius: 16px;
    width: 92%;
    max-width: 1000px;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.close-modal {
    position: absolute;
    right: 20px; top: 15px;
    color: #888; font-size: 32px; font-weight: bold;
    cursor: pointer; z-index: 10;
}

.close-modal:hover { color: #000; }

#modal-title {
    margin-bottom: 20px;
    font-weight: 700;
    color: #2b2b2b;
    border-bottom: 2px solid #eadecc;
    padding-bottom: 10px;
    text-align: center;
}

.modal-carousel-wrapper {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.02);
}

.device-slide { display: none; width: 100%; text-align: center; }

.device-badge {
    display: inline-block;
    background: #eadecc;
    color: #2b2b2b;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.device-screen {
    border: 12px solid #2b2b2b;
    border-radius: 12px;
    overflow-y: auto;
    background: #fdfdfd;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.device-desktop .device-screen { width: 95%; height: 380px; }
.device-tablet .device-screen { width: 320px; height: 420px; }
.device-mobile .device-screen { width: 210px; height: 420px; }
.device-screen img { width: 100%; display: block; }

.pure-image-container { max-width: 100%; display: flex; justify-content: center; margin: 0 auto; }
.pure-image-container img {
    max-width: 100%; max-height: 62vh; height: auto;
    display: block; border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.modal-prev, .modal-next {
    cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%);
    color: #2b2b2b; font-weight: bold; font-size: 24px; transition: 0.2s ease;
    user-select: none; background-color: rgba(234, 222, 204, 0.5);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
}

.modal-prev { left: 15px; }
.modal-next { right: 15px; }
.modal-prev:hover, .modal-next:hover { background-color: rgba(234, 222, 204, 0.9); }

.modal-dots-container { text-align: center; margin-top: 20px; }
.modal-dot {
    cursor: pointer; height: 10px; width: 10px; margin: 0 6px;
    background-color: #d1c7bd; border-radius: 50%; display: inline-block;
    transition: background-color 0.3s ease;
}
.active-modal-dot, .modal-dot:hover { background-color: #2b2b2b; }

.fade { animation-name: modalFade; animation-duration: 0.25s; }
@keyframes modalFade { from { opacity: 0.6 } to { opacity: 1 } }

/* ==========================================================================
   15. MEDIA QUERIES (RESPONSIVE LAYOUTS)
   ========================================================================== */

/* --- TABLET INTERFACES (max-width: 992px) --- */
@media (max-width: 992px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .dost-huge-title { font-size: 3.5rem; }
    .dost-subtitle { font-size: 2.5rem; }

    .relax-split, .relax-split.reverse { flex-direction: column !important; }
    .relax-visual { min-height: 300px; order: 1; }
    .relax-interactive { padding: 60px 20px; order: 2; }

    .tree-dashboard-container { flex-direction: column; padding-left: 0; }
    .tree-base { width: 100%; text-align: center; margin-bottom: 40px; }

    .value-card.floating {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100%;
        max-width: 450px;
        margin-bottom: 20px;
    }
}

/* --- SMARTPHONES & HAMBURGER MENU (max-width: 768px) --- */
@media (max-width: 768px) {
    .hamburger { display: flex; }

    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 80%; max-width: 300px; height: 100vh;
        background-color: var(--wit);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 30px; gap: 20px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links a { font-size: 1.2rem; width: 100%; padding: 12px 16px; }
    .menu-toggle:checked ~ .nav-links { right: 0; }

    .menu-toggle:checked + .hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); background-color: var(--groen); }
    .menu-toggle:checked + .hamburger span:nth-child(2) { opacity: 0; }
    .menu-toggle:checked + .hamburger span:nth-child(3) { transform: rotate(-45deg) translate(6px, -7px); background-color: var(--groen); }

    .zigzag-section, .zigzag-section.reverse, .contact-form { flex-direction: column !important; text-align: center; }
    .title-xl { font-size: 2.8rem; }
    .story-text { font-size: 1.5rem; }
    .center-logo { width: 300px !important; }
    .features-grid { grid-template-columns: 1fr; }

    .carousel-container { height: 50vh; }
    .carousel-content h2 { font-size: 2rem; }
    .carousel-content p { font-size: 1rem; }
    .carousel-arrow { padding: 10px 15px; font-size: 1.3rem; }

    .quiz-mockup-flex { flex-direction: column; text-align: center; gap: 40px; }
    .explanation-title-group { justify-content: center; }
    .phone-title { margin-right: 0; }
    .manual-mockup-flex { flex-direction: column-reverse; text-align: center; }
}

@media (max-width: 500px) {
    .contact-form-box { padding: 24px; }
}

/* ==========================================================================
   16. VISIBILITEIT RESPONSIVE AFBEELDINGEN (MOCKUPS)
   ========================================================================== */
/* Standaard Desktop: toon enkel desk, verberg de rest */
.img-desk { display: block !important; }
.img-tablet, .img-phone { display: none !important; }

/* Tablet breakpoints (Schermen tussen 768px en 1024px) */
@media (max-width: 1024px) {
    .img-desk { display: none !important; }
    .img-tablet { display: block !important; }
    .img-phone { display: none !important; }
}

/* Mobiel breakpoints (Schermen kleiner dan 768px) */
@media (max-width: 767px) {
    .img-desk, .img-tablet { display: none !important; }
    .img-phone { display: block !important; }
}

/* ==========================================================================
   16. FIX: AFBEELDINGEN BEGRENZEN TOT ORIGINELE GROOTTE (dostapp.be)
   ========================================================================== */

/* Algemene container-fix voor de mockups om alles netjes te centreren */
.image-container, 
.quiz-mockup-flex, 
.section-mockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

/* Zorg dat de afbeeldingen in de logboek/quiz containers compact blijven op desktop */
.image-container img,
.quiz-mockup-flex img,
.section-mockup img,
.quiz-intro-container img {
    width: 100%;
    max-width: 380px;      /* Dit dwingt de originele live grootte af */
    height: auto;
    object-fit: contain;
    border-radius: 24px;   /* Behoudt de vloeiende, afgeronde hoeken */
    display: block;
    margin: 0 auto;
}

/* --- MEDIA QUERIES VOOR GOEDE RESPONSIVENESS IN DE CONTAINERS --- */

/* Tablet optimalisatie */
@media (max-width: 992px) {
    .image-container img,
    .quiz-mockup-flex img,
    .section-mockup img {
        max-width: 320px;  /* Iets compacter voor tablets */
    }
}

/* Mobiele optimalisatie */
@media (max-width: 576px) {
    .image-container img,
    .quiz-mockup-flex img,
    .section-mockup img {
        max-width: 260px;  /* Perfect handzaam formaat op smartphones */
    }
}

/* ==========================================================================
   RESPONSIVE LOGO UPDATE
   ========================================================================== */
.center-logo-responsive {
    display: block;
    max-width: 450px; /* Maximale breedte op desktop */
    width: 85%;       /* Schaalt vloeiend mee op mobiel */
    height: auto;
    margin: 0 auto 40px auto;
    object-fit: contain;
    transition: max-width 0.3s ease;
}

/* Aanpassing voor mobiele weergave van het logo */
@media (max-width: 768px) {
    .center-logo-responsive {
        max-width: 280px; /* Compacter op telefoons */
    }
}

/* ==========================================================================
   DØST HUISSTIJL TYPOGRAFIE (KOPPEN & SUBTITELS)
   ========================================================================== */
.section-title {
    font-family: 'Poppins', sans-serif;
    color: #4A6D52; /* Het herkenbare diepe DØST saliegroen */
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

.section-subtitle {
    font-family: 'Raleway', sans-serif;
    color: #7A8B7B; /* Iets zachter groen/grijs voor subtiele hiërarchie */
    font-size: 1.15rem;
    font-weight: 400;
    max-width: 650px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
}

/* Specifieke uitzondering voor de contact-card titel (witte tekst op donkere kaart) */
.contact-card .section-title.white-text {
    color: var(--wit, #ffffff);
    margin-bottom: 20px;
}

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

/* Algemene reset / helper voor nette padding tussen secties */
.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}


/* ==========================================================================
   1. RESPONSIVE CAROUSEL AFBEELDINGEN BEHEER
   ========================================================================== */
/* Standaard verbergen we de mobiele en tablet varianten */
.carousel-image.show-tablet,
.carousel-image.show-phone {
    display: none !important;
}

/* Desktop: toon alleen desktop variant */
.carousel-image.show-desktop {
    display: block !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tablet weergave */
@media (max-width: 1024px) and (min-width: 481px) {
    .carousel-image.show-desktop,
    .carousel-image.show-phone {
        display: none !important;
    }
    .carousel-image.show-tablet {
        display: block !important;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Mobiele weergave */
@media (max-width: 480px) {
    .carousel-image.show-desktop,
    .carousel-image.show-tablet {
        display: none !important;
    }
    .carousel-image.show-phone {
        display: block !important;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* ==========================================================================
   2. SINGLE RESPONSIVE LOGO (SCROLL STORY)
   ========================================================================== */
.center-logo-responsive {
    display: block;
    max-width: 400px; /* Maximale grootte op grote schermen */
    width: 80%;       /* Schaalt netjes mee op kleinere schermen */
    height: auto;
    margin: 0 auto 30px auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .center-logo-responsive {
        max-width: 250px; /* Wordt compacter op mobiel */
    }
}

/* ==========================================================================
   3. CONTACT SECTION STYLING & CENTRERING
   ========================================================================== */
.section-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    width: 100%;
    box-sizing: border-box;
}

.contact-card {
    background-color: #4A6D52; /* DØST Saliegroen brandkleur */
    padding: 50px 40px;
    border-radius: 16px;
    max-width: 750px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.contact-lead {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Raleway', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-cta-wrapper {
    display: flex;
    justify-content: center;
}

/* Typografie hulps */
.section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.section-title.white-text {
    color: #ffffff !important;
}

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

/* ==========================================================================
   GLOBAL RESPONSIVE UTILITIES (CAROUSEL, NAVBAR & SCROLL-STORY)
   ========================================================================== */

/* 1. Standaard Desktop Weergave (Groter dan 1024px) */
.show-desktop {
    display: block !important;
}
.show-tablet,
.show-phone {
    display: none !important;
}

/* 2. Tablet Weergave (Tussen 481px en 1024px) */
@media (max-width: 1024px) and (min-width: 481px) {
    .show-desktop,
    .show-phone {
        display: none !important;
    }
    .show-tablet {
        display: block !important;
    }
    
    /* Specifieke styling voor het logo in de scroll-story op tablet */
    .center-logo-responsive.show-tablet {
        max-width: 320px;
        height: auto;
        margin: 0 auto 30px auto;
    }
}

/* 3. Mobiele Weergave (Kleiner of gelijk aan 480px) */
@media (max-width: 480px) {
    .show-desktop,
    .show-tablet {
        display: none !important;
    }
    .show-phone {
        display: block !important;
    }

    /* Specifieke styling voor het logo in de scroll-story op mobiel */
    .center-logo-responsive.show-phone {
        max-width: 220px;
        height: auto;
        margin: 0 auto 20px auto;
    }
    
    /* Zorgt dat het navbar logo compact blijft op mobiel */
    .nav-logo.show-phone {
        max-height: 40px;
        width: auto;
    }
}

/* ==========================================================================
   BASE LOGO STYLING SPECIFICS
   ========================================================================== */
.center-logo-responsive {
    max-width: 420px;
    width: 100%;
    height: auto;
    margin: 0 auto 40px auto;
    object-fit: contain;
}

.nav-logo {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

/* ==========================================================================
   CONTACT CARD GECENTREERD
   ========================================================================== */
.section-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
}

.contact-card {
    background-color: #4A6D52; /* DØST Groen */
    padding: 50px 40px;
    border-radius: 16px;
    max-width: 750px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.contact-lead {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Raleway', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-cta-wrapper {
    display: flex;
    justify-content: center;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.section-title.white-text {
    color: #ffffff !important;
}

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

/* ==========================================================================
   RESPONSIVE MOCKUP & TEXT ALIGNMENT (QUIZ & MANUAL METHOD)
   ========================================================================== */

.waarden-quiz-section,
.waarden-manual-section {
    margin-bottom: 60px;
    width: 100%;
}

/* Flex containers voor de twee methodes */
.quiz-mockup-flex,
.manual-mockup-flex {
    display: flex;
    flex-direction: row;
    align-items: center;    /* Lijnt de elementen verticaal gecentreerd uit */
    justify-content: space-between;
    gap: 40px;              /* Ruimte tussen de afbeelding en de tekst */
    width: 100%;
}

/* Zorg dat de afbeeldingen en teksten evenveel ruimte opeisen */
.quiz-mockup-flex .image-container,
.quiz-mockup-flex .quiz-explanation-text,
.manual-mockup-flex .image-container,
.manual-mockup-flex .manual-explanation-text {
    flex: 1;
    min-width: 0;           /* Voorkomt dat flex-items buiten de container breken */
}

/* Afbeeldingscontainers optimalisatie */
.quiz-mockup-flex .image-container,
.manual-mockup-flex .image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.quiz-mockup-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;    /* Matcht met de zachte, afgeronde hoeken van DØST */
}

/* Typografie binnen de introductiemethodes */
.explanation-title-group {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.explanation-title-group h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #4A6D52;         /* DØST Groen */
    margin: 0;
}

.explanation-icon {
    font-size: 1.4rem;
    color: #4A6D52;
}

.quiz-explanation-text p,
.manual-explanation-text p {
    font-family: 'Raleway', sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Responsive Media Queries */
@media (max-width: 868px) {
    /* Schakel over naar een verticale layout op kleinere schermen/tablets */
    .quiz-mockup-flex,
    .manual-mockup-flex {
        flex-direction: column !important;
        gap: 30px;
        text-align: center;
    }

    /* Zorg dat bij de handmatige sectie de tekst alsnog BOVEN de afbeelding komt te staan op mobiel */
    .manual-mockup-flex {
        flex-direction: column-reverse !important;
    }

    .explanation-title-group {
        justify-content: center;
    }
    
    .quiz-mockup-image {
        max-width: 80%; /* Iets compacter op tablets/mobiel */
    }
}

@media (max-width: 480px) {
    .quiz-mockup-image {
        max-width: 100%;
    }
}