/* ====== Basis ====== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --color-bg: #F4E9FF;
    /* zacht lavendel */
    --color-surface: #ffffff;
    --color-primary: #6A3FF6;
    /* spirit purple */
    --color-primary-dark: #4120A9;
    --color-primary-soft: #8C65FF;
    --color-accent: #F9C80E;
    /* zonnig geel */
    --color-accent-2: #FF7A59;
    /* warm coral */
    --color-accent-3: #4DD6C5;
    /* aqua */
    --color-text-main: #1D1145;
    /* donkerpaars */
    --color-text-muted: #5F4A86;
    /* zachter paars */
    --color-border-soft: #e3d8f7;
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-soft: 0 18px 45px rgba(106, 63, 246, 0.18);
    --shadow-card: 0 10px 30px rgba(90, 50, 210, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--color-text-main);
    background: var(--color-bg);
}

/* Containers & sections */

.container {
    width: min(1120px, 100% - 2.5rem);
    margin: 0 auto;
}

.section {
    padding: 4.5rem 0;
}

.section-light {
    background: #edf1ff;
}

.section-accent {
    background: linear-gradient(135deg, #004e8c, #0078c8);
    color: #fdfdfd;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.75rem;
}

/* Headlines */

h1,
h2,
h3 {
    margin: 0 0 0.75rem;
    letter-spacing: -0.03em;
    color: #0f172a;
}

h1 {
    font-size: clamp(2.5rem, 4vw, 3.4rem);
    line-height: 1.05;
}

h2 {
    font-size: clamp(2rem, 3vw, 2.4rem);
}

h3 {
    font-size: 1.25rem;
}

/* Paragraphs */

p {
    margin: 0 0 1rem;
    color: var(--color-text-muted);
    font-size: 0.98rem;
}

/* Split layout */

.split {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.split-reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

@media (max-width: 880px) {

    .split,
    .split-reverse {
        grid-template-columns: 1fr;
    }
}

/* ====== Header & navigatie ====== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
    background: rgba(248, 250, 252, 0.94);
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    background: radial-gradient(circle at 30% 20%, #ffdda3, #ffb300);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #3b2a00;
    font-size: 1.2rem;
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.logo-text {
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.04em;
}

/* Nav */

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.2s ease;
}

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

/* Mobiel nav toggle */

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.2rem;
}

.nav-toggle-line {
    display: block;
    width: 20px;
    height: 2px;
    background: #111827;
    margin: 4px 0;
    border-radius: 999px;
}

/* ====== Hero ====== */

.hero {
    padding: 4.2rem 0 4.8rem;
    background: radial-gradient(circle at 30% 20%, #6A3FF6 0%, #8C65FF 35%, #FF7A59 75%, #F9C80E 100%);
    color: #ffffff;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 3.25rem;
    align-items: center;
}

.hero-text h1 {
    color: #f9fafb;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.9rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.18);
    color: #bfdbfe;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.9rem;
}

.hero-subtitle {
    font-size: 1rem;
    max-width: 34rem;
    margin-bottom: 1.5rem;
    color: #e5e7eb;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
    margin-bottom: 1.1rem;
}

.hero-meta {
    font-size: 0.82rem;
    color: #9ca3af;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.hero-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #22c55e;
}

.hero-sep {
    opacity: 0.6;
}

/* Hero media */

.hero-media {
    position: relative;
    min-height: 260px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.hero-image {
    position: relative;
    width: 92%;
    max-width: 360px;
    border-radius: 22px;
    /* kun je ook op 50% zetten als je het logo echt rond wilt tonen */
    object-fit: contain;
    /* zodat je logo niet wordt afgesneden */
    border: none;
    /* witte rand weg */
    background: transparent;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition:
        transform 0.12s ease,
        box-shadow 0.12s ease,
        background 0.12s ease,
        color 0.12s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent), #ff9c07);
    color: #2b1710;
    box-shadow: 0 16px 36px rgba(245, 158, 11, 0.6);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 44px rgba(245, 158, 11, 0.75);
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.7);
    color: #e5e7eb;
}

.btn-ghost:hover {
    background: rgba(15, 23, 42, 0.4);
}

.btn-full {
    width: 100%;
}

/* ====== Feature lijst ====== */

.feature-list {
    display: grid;
    gap: 1rem;
}

.feature-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.8rem;
    align-items: flex-start;
    padding: 0.9rem 1.1rem;
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.feature-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #eff6ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ====== Cards / Thema's ====== */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.8rem;
}

@media (max-width: 960px) {
    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

.card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.card-image-wrapper {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    transition: transform 0.25s ease;
}

.card-body {
    padding: 1.25rem 1.5rem 1.4rem;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.card p {
    font-size: 0.95rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    margin-top: 0.4rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-primary-soft);
    text-decoration: none;
}

.card-link::after {
    content: "→";
    margin-left: 0.35rem;
    transition: transform 0.18s ease;
}

.card:hover .card-image {
    transform: scale(1.07);
}

.card:hover .card-link::after {
    transform: translateX(2px);
}

/* ====== Online leren ====== */

.section-accent p {
    color: #e5efff;
}

.checklist {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0 1.5rem;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.checklist li::before {
    content: "✔";
    font-size: 0.75rem;
    background: rgba(34, 197, 94, 0.18);
    color: #bbf7d0;
    border-radius: 999px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.online-illustration {
    display: grid;
    gap: 1.2rem;
    justify-items: center;
}

.online-icon-circle {
    width: 92px;
    height: 92px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, #ffebb6, #fbbf24 40%, #7c2d12);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7);
}

.online-icon {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.online-card {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 18px;
    padding: 1.1rem 1.2rem;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.9);
    max-width: 320px;
}

.online-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #93c5fd;
    margin-bottom: 0.25rem;
}

.online-title {
    font-size: 1.02rem;
    color: #e5e7eb;
    margin-bottom: 0.15rem;
}

.online-text {
    font-size: 0.86rem;
    color: #9ca3af;
}

/* ====== Testimonial ====== */

.section-testimonial {
    padding: 4rem 0;
}

.testimonial-inner {
    max-width: 740px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    position: relative;
    padding: 2rem 2.4rem;
    border-radius: 24px;
    background: #0f172a;
    color: #e5e7eb;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.85);
}

.testimonial-quote::before {
    content: "“";
    position: absolute;
    left: 18px;
    top: -32px;
    font-size: 4rem;
    color: rgba(148, 163, 184, 0.4);
    font-family: serif;
}

.testimonial-inner p {
    color: #e5e7eb;
}

.testimonial-name {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #9ca3af;
}


input,
textarea {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    border: 1px solid var(--color-border-soft);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;
    background: #f9fafb;
}

input:focus,
textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
    background: #ffffff;
}

/* ====== Footer ====== */

.site-footer {
    padding: 1.8rem 0;
    border-top: 1px solid rgba(148, 163, 184, 0.4);
    background: #9aacfd;
    color: #9ca3af;
    font-size: 0.85rem;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
}

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

/* ====== Responsiveness ====== */

@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-media {
        order: -1;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0.6rem 0;
    }

    .nav-links {
        position: absolute;
        inset-inline: 0;
        top: 56px;
        margin: 0;
        background: rgba(248, 250, 252, 0.98);
        border-bottom: 1px solid rgba(148, 163, 184, 0.4);
        flex-direction: column;
        align-items: center;
        padding: 0.75rem 1rem 1rem;
        transform: translateY(-130%);
        opacity: 0;
        pointer-events: none;
        transition:
            transform 0.18s ease,
            opacity 0.18s ease;
    }

    .nav-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-toggle {
        display: block;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 3.2rem 0;
    }

    .hero {
        padding: 3.3rem 0 3.8rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-form {
        padding: 1.3rem 1.3rem;
    }

    .testimonial-quote {
        padding: 1.6rem 1.5rem;
    }
}
input[type="radio"],
input[type="checkbox"] {
    width: auto;
}
@media (max-width: 640px) {
    footer {
        padding-top: 3rem !important;
        padding-bottom: 2.5rem !important;
        margin-top: 4rem !important;
    }
    footer p {
        font-size: 0.85rem;
    }
}
