/* De eerste noot - huisstijl
   Speels en kleurrijk (inspiratie PiMM!), maar rustig en leesbaar voor alle leeftijden. */

:root {
    --blue: #12406b;
    --blue-dark: #0d2f50;
    --blue-light: #e8f0f8;
    --amber: #f5a623;
    --amber-dark: #d98a0a;
    --coral: #ef6a5a;
    --teal: #1fa39a;
    --ink: #20242c;
    --muted: #6b7280;
    --line: #e3e7ee;
    --bg: #ffffff;
    --bg-soft: #f6f8fb;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(18, 64, 107, .10);
    --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    font-size: 17px;
}

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

a { color: var(--blue); }
a:hover { color: var(--amber-dark); }

h1, h2, h3 { line-height: 1.2; color: var(--blue-dark); margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

.container { width: min(1120px, 92%); margin: 0 auto; }

.skip-link {
    position: absolute; left: -999px; top: 0; background: var(--blue);
    color: #fff; padding: .6em 1em; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex; align-items: center; gap: 1rem;
    padding: .7rem 0;
}
.brand {
    display: flex; align-items: center; gap: .7rem;
    text-decoration: none; color: var(--blue);
    margin-right: auto;
}
.brand-mark { color: var(--amber); display: inline-flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.25rem; color: var(--blue-dark); }
.brand-text em { font-style: normal; font-size: .8rem; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; }
.site-nav a {
    text-decoration: none; color: var(--ink); font-weight: 600;
    padding: .5rem .7rem; border-radius: 999px; font-size: .95rem;
}
.site-nav a:hover { background: var(--blue-light); color: var(--blue-dark); }
.site-nav a.active { color: var(--blue); background: var(--blue-light); }
.nav-cta { margin-left: .4rem; }

.nav-toggle-label { display: none; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block; font-weight: 700; text-decoration: none;
    padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
    cursor: pointer; font-size: 1rem; transition: transform .1s ease, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: #3a2a00; }
.btn-primary:hover { background: var(--amber-dark); color: #fff; }
.btn-outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-outline:hover { background: var(--blue); color: #fff; }

/* ---------- Flash ---------- */
.flashes { margin-top: 1rem; }
.flash {
    padding: .8rem 1rem; border-radius: 10px; margin-bottom: .6rem; font-weight: 600;
}
.flash-success { background: #e6f7ec; color: #14663a; border: 1px solid #b7e4c7; }
.flash-error { background: #fdecea; color: #8a1c12; border: 1px solid #f5c2bd; }
.flash-info { background: var(--blue-light); color: var(--blue-dark); border: 1px solid #c6dcf0; }

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(135deg, var(--blue) 0%, #1a5da0 55%, var(--teal) 130%);
    color: #fff; padding: clamp(2.5rem, 6vw, 5rem) 0;
    position: relative; overflow: hidden;
}
.hero h1 { color: #fff; }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 40ch; color: #eaf2fa; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero-badges { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-badge { display: flex; flex-direction: column; }
.hero-badge strong { font-size: 1.8rem; color: var(--amber); }
.hero-badge span { font-size: .85rem; color: #cfe0f0; }
.hero-art {
    background: rgba(255, 255, 255, .12); border-radius: 24px;
    padding: 2rem; text-align: center; border: 2px dashed rgba(255,255,255,.35);
}
.hero-art .muzieknoot { font-size: 5rem; line-height: 1; }

/* ---------- Secties ---------- */
section { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-soft { background: var(--bg-soft); }
.section-title { text-align: center; max-width: 60ch; margin: 0 auto 2.5rem; }
.section-title p { color: var(--muted); }

.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.6rem; box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card-icon { font-size: 2rem; margin-bottom: .4rem; }

.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.photo-strip figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--blue-light); aspect-ratio: 4/3; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    color: var(--blue); font-weight: 600; text-align: center; padding: 1rem;
    background: repeating-linear-gradient(45deg, #e8f0f8, #e8f0f8 12px, #dbe8f5 12px, #dbe8f5 24px);
}

/* ---------- Lessen / tijdlijn ---------- */
.lessons { list-style: none; padding: 0; margin: 0; }
.lesson {
    display: grid; grid-template-columns: auto 1fr; gap: 1.2rem;
    padding: 1.1rem 0; border-bottom: 1px solid var(--line);
}
.lesson:last-child { border-bottom: none; }
.lesson-num {
    width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto;
    background: var(--blue); color: #fff; display: flex; align-items: center;
    justify-content: center; font-weight: 700;
}
.lesson h3 { margin: 0 0 .2rem; }
.lesson-meta { color: var(--amber-dark); font-weight: 600; font-size: .9rem; }
.lesson.done .lesson-num { background: var(--teal); }

.optreden-box {
    background: var(--blue-dark); color: #fff; border-radius: var(--radius);
    padding: 2rem; display: flex; gap: 2rem; align-items: center; flex-wrap: wrap;
}
.optreden-box h2, .optreden-box h3 { color: #fff; }
.optreden-meta { font-size: 1.1rem; color: var(--amber); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-item {
    border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .8rem;
    background: #fff; overflow: hidden;
}
.faq-item summary {
    cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; color: var(--blue-dark);
    list-style: none; display: flex; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--amber-dark); font-size: 1.4rem; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-a { padding: 0 1.2rem 1.1rem; color: var(--muted); }

/* ---------- Formulieren ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.4rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field-full { grid-column: 1 / -1; }
label { font-weight: 600; color: var(--blue-dark); font-size: .95rem; }
.hint { font-weight: 400; color: var(--muted); font-size: .82rem; }
input[type=text], input[type=email], input[type=tel], input[type=number],
input[type=password], input[type=date], select, textarea {
    font: inherit; padding: .7rem .8rem; border: 1px solid #cfd6e0;
    border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
}
input:focus, select:focus, textarea:focus {
    outline: 3px solid rgba(31, 163, 154, .3); border-color: var(--teal);
}
textarea { resize: vertical; min-height: 110px; }
.check { display: flex; gap: .6rem; align-items: flex-start; }
.check input { width: auto; margin-top: .35rem; }
.form-card { max-width: 720px; margin: 0 auto; }
.required { color: var(--coral); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Content pages ---------- */
.prose { max-width: 70ch; margin: 0 auto; }
.prose p:first-child { font-size: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-dark); color: #cfe0f0; padding: 3rem 0 1.5rem; margin-top: 2rem; }
.site-footer h3 { color: #fff; }
.site-footer a { color: #eaf2fa; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-bottom {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
    border-top: 1px solid rgba(255,255,255,.15); margin-top: 2rem; padding-top: 1.2rem;
    font-size: .85rem; color: #9fb8cf;
}

/* ---------- Responsief ---------- */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .grid-3, .grid-4, .grid-2, .form-grid, .photo-strip { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .nav-toggle-label {
        display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
        width: 44px; height: 44px; cursor: pointer; border: 1px solid var(--line);
        border-radius: 10px; padding: 10px;
    }
    .nav-toggle-label span,
    .nav-toggle-label::before,
    .nav-toggle-label::after {
        content: ""; height: 3px; background: var(--blue); border-radius: 2px;
    }
    .site-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; background: #fff;
        border-bottom: 1px solid var(--line); padding: .6rem 4%;
    }
    .nav-toggle:checked ~ .site-nav { display: flex; }
    .header-inner { position: relative; flex-wrap: wrap; }
    .site-nav a { padding: .7rem .8rem; border-radius: 10px; }
    .nav-cta { text-align: center; margin: .4rem 0 0; }
}
