/* --- THEMA VARIABELEN --- */
:root[data-theme="light"] {
  --bg-main: #ffffff; --bg-card: #f9f9f9; --text-main: #624734;
  --text-soft: rgba(98, 71, 52, 0.75); --accent: #f16e12; 
  --accent-hover: #d85f0f; --accent-pale: rgba(241, 110, 18, 0.08); --border: rgba(98, 71, 52, 0.15);
}
:root[data-theme="dark"] {
  --bg-main: #1a1512; --bg-card: #251e1a; --text-main: #f5f0ed;
  --text-soft: rgba(245, 240, 237, 0.85); --accent: #ff8b3d; 
  --accent-hover: #f16e12; --accent-pale: rgba(255, 139, 61, 0.15); --border: rgba(245, 240, 237, 0.2);
}
:root[data-theme="contrast"] {
  --bg-main: #000000; --bg-card: #000000; --text-main: #ffff00; 
  --text-soft: #00ffff; --accent: #ffff00; --accent-hover: #ffffff; 
  --accent-pale: #333333; --border: #ffffff;
}

/* --- BASE --- */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; padding: 0; font-family: 'Inter', sans-serif; background-color: var(--bg-main); color: var(--text-main); transition: 0.3s; line-height: 1.6; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* --- HEADER --- */
.theme-switcher { display: flex; gap: 8px; justify-content: flex-end; padding: 15px 0; border-bottom: 1px solid var(--border); margin-bottom: 30px; }
.theme-btn { background: var(--bg-card); color: var(--text-main); border: 1px solid var(--border); padding: 5px 12px; border-radius: 4px; font-size: 11px; cursor: pointer; text-transform: uppercase; font-weight: 700; }
header { padding: 20px 0; margin-bottom: 40px; border-bottom: 1px solid var(--border); }
.header-inner { display: flex; justify-content: space-between; align-items: flex-end; }
.brand img { height: 75px; width: auto; object-fit: contain; display: block; }
.brand small { display: block; margin-top: 5px; font-size: 13px; }
nav { display: flex; gap: 10px; align-items: center; }
nav a { text-decoration: none; color: var(--text-soft); padding: 8px 15px; font-size: 14px; font-weight: 500; }

/* --- KNOPPEN --- */
.cta, .read-more { 
    background: var(--accent) !important; color: #fff !important; 
    border-radius: 999px !important; padding: 12px 28px !important; 
    font-weight: 600 !important; text-decoration: none !important; 
    display: inline-block; border: 1px solid var(--accent) !important; transition: 0.3s; 
}
.cta-outline { 
    background: transparent !important; color: var(--accent) !important; 
    border: 1px solid var(--accent) !important; border-radius: 999px !important; 
    padding: 12px 28px !important; font-weight: 600 !important; 
    text-decoration: none !important; display: inline-block; transition: 0.3s; 
}
.cta:hover, .read-more:hover { background: var(--accent-hover) !important; transform: translateY(-2px); }
.cta-outline:hover { background: var(--accent-pale) !important; transform: translateY(-2px); }

/* --- HERO GENERIC & PEGGY SECTIE --- */
.hero { text-align: center; margin-bottom: 80px; }
.hero h1 { font-size: clamp(40px, 8vw, 70px) !important; color: var(--accent) !important; margin: 0 0 10px 0; font-weight: 800; }
.hero .tag { font-size: clamp(18px, 4vw, 24px) !important; color: var(--accent) !important; font-weight: 700 !important; }

/* --- INDEX PAGINA: HERO HOME & TEKST OP 1 LIJN --- */
.hero-home { display: flex; gap: 40px; align-items: center; padding: 50px 0; }
.hero-photo { flex: 0 0 45%; }
.hero-photo img { width: 100%; height: auto; display: block; border-radius: 0; box-shadow: none; }
.hero-text { flex: 1.2; }
.hero-text h1, .hero-text .subtitle { white-space: nowrap; margin-right: 0; margin-left: 0; }
.hero-text h1 { font-size: 2.2rem; margin-bottom: 10px; line-height: 1.1; color: var(--text-main); }
.hero-text .subtitle { font-size: 1.4rem; color: var(--text-soft); margin-bottom: 30px; }
.hero-buttons { display: flex; gap: 15px; margin-bottom: 10px; }

/* --- INDEX PAGINA: AANBOD SECTIE --- */
.growth-section { padding: 60px 0; background: var(--bg-card); text-align: center; border-top: none; margin-top: 0; }
.growth-section h2 { font-size: 2rem; margin-bottom: 5px; color: var(--text-main); }

.growth-section p.intro { color: var(--text-soft); margin-bottom: 35px; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; text-align: left; }

/* --- 1. HOVER EFFECT: CIJFER BLOKJES (VOLLEDIG ORANJE) --- */
.stat-box { 
    padding: 20px 10px; border-radius: 8px; text-align: center; flex: 1; min-width: 120px; 
    border: 1px solid var(--border); background-color: var(--bg-main); transition: all 0.3s ease; cursor: pointer;
}
.stats-container { display: flex; gap: 15px; margin-bottom: 35px; flex-wrap: wrap; }
.stat-box h3 { margin: 0; font-size: 24px; font-weight: 800; color: var(--accent); transition: color 0.3s; }
.stat-box p { margin: 5px 0 0 0; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--text-soft); transition: color 0.3s; }

.stat-box:hover {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(241, 110, 18, 0.3);
}
.stat-box:hover h3, .stat-box:hover p { color: #ffffff !important; }

/* --- 2. HOVER EFFECT: SERVICE KADERS (SPECIALE BUITENRAND GLOED) --- */
.service-card {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    border: 1px solid var(--border);
    background-color: var(--bg-main) !important; /* Blijft wit */
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: visible; /* Nodig voor de glow outside */
}
.service-card h3 { color: var(--accent); font-size: 1.6rem; margin-bottom: 20px; margin-top: 0; }
.service-card p { color: var(--text-soft); line-height: 1.6; margin-bottom: 30px; }

.service-card:hover {
    transform: translateY(-8px);
    /* Dit is het speciale effect in de randen: een harde oranje outline + zachte gloed */
    box-shadow: 0 0 0 3px var(--accent), 0 15px 35px rgba(241, 110, 18, 0.2) !important;
    border-color: transparent !important;
}

/* Coming Soon Badge */
.badge-coming {
    position: absolute; top: 20px; right: 20px; background: var(--accent);
    color: white; padding: 4px 8px; font-size: 10px; font-weight: 800;
    border-radius: 4px; text-transform: uppercase; z-index: 10;
}

/* Call to action onderaan */
.final-cta { text-align: center; padding: 60px 0; }
.final-cta h2 { margin-bottom: 10px; color: var(--text-main); }
.final-cta p { margin-bottom: 30px; color: var(--text-soft); }

/* --- OVERIGE SECTIES VAN DE OUDE CSS --- */
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 60px; }
.traject { display: flex !important; gap: 60px; align-items: center; margin-bottom: 100px; }
.traject.reverse { flex-direction: row-reverse !important; }
.traject-content { flex: 1.5; }
.offer-image { flex: 1; max-width: 450px; aspect-ratio: 1/1 !important; overflow: hidden; border-radius: 8px; }
.offer-image img { width: 100%; height: 100%; object-fit: cover; }
.highlight-title { color: var(--accent); font-weight: 800; }
.meta-time { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent) !important; margin-bottom: 15px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.meta-time svg { width: 20px; height: 20px; stroke: currentColor; }
.traject-doelgroep { margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.traject-doelgroep span { background: var(--bg-card); border: 1px solid var(--border); padding: 4px 12px; border-radius: 6px; font-size: 12px; color: var(--text-soft); font-weight: 600; }
.traject-cta { margin-top: 30px; }

/* NEI & MASTERCLASSES */
.symptoms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin: 60px 0; }
.symptom-card { background: var(--bg-card); padding: 30px; border-radius: 12px; border: 1px solid var(--border); transition: transform 0.3s ease, box-shadow 0.3s; cursor:pointer;}
.symptom-card:hover { transform: translateY(-7px); box-shadow: 0 0 0 3px var(--accent), 0 15px 35px rgba(241, 110, 18, 0.2); border-color:transparent;}
.symptom-title { color: var(--accent); font-weight: 800; margin-bottom: 20px; font-size: 18px; text-transform: uppercase; border-bottom: 2px solid var(--accent-pale); padding-bottom: 10px; display: inline-block; }
.symptom-list { list-style: none; padding: 0; margin: 0; }
.symptom-list li { position: relative; padding-left: 20px; margin-bottom: 10px; color: var(--text-soft); }
.symptom-list li::before { content: '•'; color: var(--accent); font-weight: bold; position: absolute; left: 0; }

.masterclass-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; margin-bottom: 80px; }
.mc-card { background: var(--bg-main); border: 1px solid var(--border); border-radius: 12px; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; transition: all 0.3s; cursor:pointer;}
.mc-card:hover { transform: translateY(-8px); box-shadow: 0 0 0 3px var(--accent), 0 15px 35px rgba(241, 110, 18, 0.2); border-color:transparent; }
.mc-number { position: absolute; top: -10px; right: 10px; font-size: 80px; font-weight: 900; color: var(--accent); opacity: 0.05; z-index: 0; transition: color 0.3s; }
.mc-content { position: relative; z-index: 1; }
.mc-title { font-size: 20px; font-weight: 700; margin-bottom: 5px; text-transform: uppercase; }
.mc-subtitle { color: var(--accent); font-size: 14px; font-weight: 600; margin-bottom: 20px; display: block; }
.mc-hook { font-style: italic; color: var(--text-soft); margin-bottom: 20px; border-left: 3px solid var(--accent-pale); padding-left: 15px; }
.bundle-section { background-color: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 40px; margin-top: 60px; }

/* MODAL (STORY & POPUP SCROLLBAR ORANJE) */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); z-index: 3000; justify-content: center; align-items: center; padding: 20px; backdrop-filter: blur(4px); }
.modal-overlay.active { display: flex; }
.story-modal-box { background: var(--bg-main); padding: 50px; border-radius: 12px; max-width: 800px; width: 90%; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.3); max-height: 90vh; overflow-y: auto; text-align: left; }

/* ORANJE SCROLLBAR VOOR DE POPUP */
.story-modal-box::-webkit-scrollbar { width: 10px; }
.story-modal-box::-webkit-scrollbar-track { background: var(--border); border-radius: 6px; }
.story-modal-box::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 6px; }

.close-modal { position: absolute; top: 20px; right: 20px; font-size: 30px; cursor: pointer; color: var(--text-soft); transition: 0.2s; }
.close-modal:hover { color: var(--accent); }

/* FOOTER */
footer { background-color: var(--bg-card); border-top: 1px solid var(--border); padding-top: 60px !important; margin-top: 100px; font-size: 15px; color: var(--text-main); }
.footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; text-align: center; }
.footer-col { flex: 1; min-width: 250px; display: flex; flex-direction: column; align-items: center; }
.footer-col h4 { color: var(--accent); font-weight: 800; text-transform: uppercase; margin-bottom: 20px; letter-spacing: 1px; font-size: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-soft); text-decoration: none; transition: 0.2s; font-weight: 500; }
.footer-links a:hover { color: var(--accent); }
.review-box { background: var(--bg-main); border: 1px solid var(--border); padding: 15px 20px; border-radius: 8px; text-decoration: none; box-shadow: 0 4px 10px rgba(0,0,0,0.05); transition: 0.3s; display: inline-block; margin-top: 10px; }
.review-box:hover { transform: translateY(-3px); border-color: var(--accent); }
.stars { color: #F4B400; letter-spacing: 3px; font-size: 18px; display: block; margin: 5px 0; }
.footer-bottom { margin-top: 60px; border-top: 1px solid var(--border); padding: 20px 0; text-align: center; font-size: 13px; color: var(--text-soft); background: rgba(0,0,0,0.02); }

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 900px) {
    .hero-home { flex-direction: column; text-align: center; }
    .hero-text h1, .hero-text .subtitle { white-space: normal; }
    .hero-text h1 { font-size: 2.2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .peggy, .offer-grid, .traject, .traject.reverse { flex-direction: column !important; grid-template-columns: 1fr; text-align: center; }
    .peggy-photo, .offer-image { max-width: 100%; }
}