/* ============================================================
   Deel je energie – site.css
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --green-50:  #f0fdf4;
    --green-100: #dcfce7;
    --green-200: #bbf7d0;
    --green-600: #16a34a;
    --green-700: #15803d;
    --green-800: #166534;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --slate-50:  #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-700: #334155;
    --slate-900: #0f172a;
    --white:     #ffffff;

    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --radius-sm: 8px;
    --radius:    16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow:    0 4px 16px rgba(0,0,0,.10);
    --shadow-lg: 0 20px 60px rgba(0,0,0,.14);
    --transition: 200ms ease;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--slate-700);
    background: var(--white);
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Container ---------- */
.container {
    max-width: 1100px;
    margin-inline: auto;
    padding-inline: clamp(16px, 5vw, 48px);
}

/* ---------- Header / Nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.site-header.is-scrolled {
    border-bottom-color: var(--slate-200);
    box-shadow: var(--shadow-sm);
}
.site-header .container {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--slate-900);
    flex-shrink: 0;
}
.logo svg { width: 32px; height: 32px; }
.logo--white span { color: var(--white); }

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}
.main-nav a {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: .95rem;
    font-weight: 500;
    color: var(--slate-700);
    transition: color var(--transition), background var(--transition);
}
.main-nav a:hover { color: var(--green-600); background: var(--green-50); }
.main-nav .nav-cta {
    background: var(--green-600);
    color: var(--white);
    padding: 8px 20px;
}
.main-nav .nav-cta:hover { background: var(--green-700); color: var(--white); }

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    margin-left: auto;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 12px 16px 16px;
    border-top: 1px solid var(--slate-200);
    background: var(--white);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--slate-700);
    border-radius: var(--radius-sm);
}
.mobile-nav a:hover { background: var(--green-50); color: var(--green-600); }

@media (max-width: 680px) {
    .main-nav { display: none; }
    .mobile-menu-btn { display: flex; }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
    background: var(--green-600);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--green-700);
    box-shadow: 0 4px 20px rgba(22,163,74,.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
    background: rgba(255,255,255,.12);
    border-color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--green-700);
}
.btn-white:hover {
    background: var(--green-50);
    box-shadow: var(--shadow);
}

/* ---------- Section layout ---------- */
section { padding-block: clamp(60px, 10vw, 100px); }
.section-label {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--green-600);
    background: var(--green-50);
    padding: 4px 12px;
    border-radius: 99px;
    margin-bottom: 16px;
}
.section-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--slate-900);
    margin-bottom: 16px;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--slate-500);
    max-width: 560px;
    margin-bottom: 48px;
}

/* ---------- HERO ---------- */
.hero {
    padding-top: 0;
    padding-bottom: 0;
    background: linear-gradient(135deg, #0f3d1e 0%, #1a5c2e 50%, #0d4a35 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: min(90vh, 700px);
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 70% 40%, rgba(251,191,36,.12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 20% 70%, rgba(22,163,74,.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding-block: clamp(60px, 10vw, 100px);
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--amber-400);
    background: rgba(251,191,36,.1);
    border: 1px solid rgba(251,191,36,.25);
    padding: 6px 14px;
    border-radius: 99px;
    margin-bottom: 24px;
}
.hero-eyebrow::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: var(--amber-400);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(1.4); }
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 20px;
}
.hero h1 .accent { color: var(--amber-400); }

.hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,.75);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}
.hero-stat strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}
.hero-stat span {
    font-size: .8rem;
    color: rgba(255,255,255,.55);
    margin-top: 4px;
}

/* Hero visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.price-card-stack {
    position: relative;
    width: 300px;
    height: 280px;
}
.price-card {
    position: absolute;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.15);
    backdrop-filter: blur(12px);
    border-radius: var(--radius);
    padding: 20px 24px;
    width: 220px;
}
.price-card--producer {
    top: 0;
    left: 0;
}
.price-card--consumer {
    bottom: 0;
    right: 0;
}
.price-card-label {
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255,255,255,.55);
    margin-bottom: 8px;
}
.price-card-value {
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}
.price-card-value .unit {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255,255,255,.65);
}
.price-card--producer .price-card-value { color: var(--amber-400); }
.price-card--consumer .price-card-value { color: #86efac; }
.price-card-desc {
    font-size: .8rem;
    color: rgba(255,255,255,.55);
    margin-top: 8px;
    line-height: 1.4;
}
.price-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: var(--green-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    box-shadow: 0 0 0 8px rgba(22,163,74,.2);
}

@media (max-width: 760px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
}

/* ---------- STATS BAR ---------- */
.stats-bar {
    background: var(--slate-900);
    padding-block: 32px;
}
.stats-bar .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
    text-align: center;
}
.stat-item strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}
.stat-item .stat-accent { color: var(--amber-400); }
.stat-item span {
    font-size: .85rem;
    color: var(--slate-400);
    margin-top: 4px;
}

/* ---------- HOW IT WORKS ---------- */
.how-it-works { background: var(--white); }
.how-it-works .container { text-align: center; }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    position: relative;
}
.step-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
    position: relative;
}
.step-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--green-50);
    border: 2px solid var(--green-200);
    color: var(--green-700);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 20px;
}
.step-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    line-height: 1;
}
.step-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 8px;
}
.step-card p {
    font-size: .95rem;
    color: var(--slate-500);
    line-height: 1.6;
}

/* ---------- VOORDELEN ---------- */
.voordelen { background: var(--slate-50); }

.voordelen-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 0;
}
.voordeel-card {
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}
.voordeel-card--producent {
    background: linear-gradient(135deg, #0f3d1e 0%, #166534 100%);
    color: var(--white);
}
.voordeel-card--ontvanger {
    background: linear-gradient(135deg, #1e3a5f 0%, #1d4ed8 100%);
    color: var(--white);
}
.voordeel-card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    line-height: 1;
}
.voordeel-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.voordeel-card .voordeel-sub {
    font-size: .95rem;
    opacity: .75;
    margin-bottom: 24px;
}
.voordeel-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.voordeel-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .95rem;
    line-height: 1.5;
    opacity: .9;
}
.voordeel-list li::before {
    content: '✓';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: rgba(255,255,255,.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700;
    margin-top: 1px;
}
.voordeel-highlight {
    margin-top: 24px;
    padding: 12px 16px;
    background: rgba(255,255,255,.1);
    border-radius: var(--radius-sm);
    border-left: 3px solid rgba(255,255,255,.4);
    font-size: .9rem;
    font-weight: 600;
}

@media (max-width: 680px) {
    .voordelen-grid { grid-template-columns: 1fr; }
}

/* ---------- HOE HET PLATFORM WERKT (technisch) ---------- */
.platform-tech { background: var(--white); }

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.tech-card {
    padding: 24px;
    border-radius: var(--radius);
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    text-align: center;
    transition: background var(--transition), border-color var(--transition);
}
.tech-card:hover {
    background: var(--green-50);
    border-color: var(--green-200);
}
.tech-card-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    line-height: 1;
}
.tech-card h4 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 6px;
}
.tech-card p {
    font-size: .85rem;
    color: var(--slate-500);
    line-height: 1.5;
}

/* ---------- EV MODULE ---------- */
.ev-module {
    background: linear-gradient(160deg, #1a1a2e 0%, #0d1b2a 100%);
    color: var(--white);
}
.ev-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.ev-badge {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--amber-400);
    background: rgba(251,191,36,.1);
    border: 1px solid rgba(251,191,36,.25);
    padding: 4px 12px;
    border-radius: 99px;
    margin-bottom: 16px;
}
.ev-module .section-title { color: var(--white); margin-bottom: 16px; }
.ev-module .section-subtitle { color: rgba(255,255,255,.65); }

.ev-flow {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.ev-flow-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.ev-flow-step:last-child { border-bottom: none; }
.ev-flow-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: rgba(251,191,36,.15);
    border: 1px solid rgba(251,191,36,.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    font-weight: 800;
    color: var(--amber-400);
}
.ev-flow-text h4 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}
.ev-flow-text p {
    font-size: .875rem;
    color: rgba(255,255,255,.55);
    line-height: 1.5;
}

.ev-comparison {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius);
    padding: 28px;
}
.ev-comparison h4 {
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255,255,255,.4);
    margin-bottom: 20px;
}
.ev-compare-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
    font-size: .9rem;
}
.ev-compare-row:last-child { border-bottom: none; }
.ev-compare-row span { color: rgba(255,255,255,.6); }
.ev-compare-row strong { color: var(--white); }
.ev-compare-row .better { color: #86efac; }
.ev-compare-row .worse { color: #fca5a5; }

@media (max-width: 760px) {
    .ev-grid { grid-template-columns: 1fr; }
}

/* ---------- ROADMAP ---------- */
.roadmap { background: var(--slate-50); }
.roadmap .container { text-align: center; }

.roadmap-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0;
    margin-top: 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--slate-200);
}
.roadmap-item {
    padding: 28px 24px;
    background: var(--white);
    border-right: 1px solid var(--slate-200);
    text-align: left;
    position: relative;
}
.roadmap-item:last-child { border-right: none; }
.roadmap-item--active { background: var(--green-600); color: var(--white); }
.roadmap-period {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--slate-400);
    margin-bottom: 8px;
}
.roadmap-item--active .roadmap-period { color: rgba(255,255,255,.65); }
.roadmap-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 8px;
}
.roadmap-item--active h4 { color: var(--white); }
.roadmap-item p {
    font-size: .85rem;
    color: var(--slate-500);
    line-height: 1.5;
}
.roadmap-item--active p { color: rgba(255,255,255,.75); }
.roadmap-item--active::before {
    content: 'Nu bezig';
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: .7rem;
    font-weight: 700;
    background: rgba(255,255,255,.2);
    padding: 2px 8px;
    border-radius: 99px;
    color: rgba(255,255,255,.9);
}

@media (max-width: 680px) {
    .roadmap-list { grid-template-columns: 1fr; }
    .roadmap-item { border-right: none; border-bottom: 1px solid var(--slate-200); }
    .roadmap-item:last-child { border-bottom: none; }
}

/* ---------- CTA / AANMELDEN ---------- */
.cta-section {
    background: linear-gradient(135deg, #0f3d1e 0%, #1a5c2e 100%);
    color: var(--white);
    text-align: center;
}
.cta-section .section-title { color: var(--white); max-width: 600px; margin-inline: auto; }
.cta-section .section-subtitle { color: rgba(255,255,255,.7); max-width: 500px; margin-inline: auto; margin-bottom: 40px; }

.cta-form {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 500px;
    margin-inline: auto;
}
.cta-form input[type="email"] {
    flex: 1;
    min-width: 220px;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.1);
    color: var(--white);
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition), background var(--transition);
}
.cta-form input[type="email"]::placeholder { color: rgba(255,255,255,.45); }
.cta-form input[type="email"]:focus {
    border-color: rgba(255,255,255,.6);
    background: rgba(255,255,255,.15);
}

.cta-note {
    margin-top: 16px;
    font-size: .85rem;
    color: rgba(255,255,255,.5);
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--slate-900);
    color: var(--slate-400);
    padding-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p {
    margin-top: 12px;
    font-size: .9rem;
    line-height: 1.6;
    max-width: 280px;
    color: var(--slate-400);
}
.footer-links h4 {
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--white);
    margin-bottom: 16px;
}
.footer-links a {
    display: block;
    font-size: .9rem;
    color: var(--slate-400);
    margin-bottom: 10px;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-block: 24px;
    font-size: .85rem;
}
.footer-tagline { color: rgba(255,255,255,.25); }

@media (max-width: 760px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
