/*
 * Opmaak openbare website Vocal Group Difference.
 * Zelfde huisstijl als de ledensite (groen, blauw, donkerblauw), maar ruimer en met grote foto's.
 */

:root {
    --groen: #3a880c;
    --groen-donker: #2d6a09;
    --groen-licht: #eef6e8;
    --blauw: #265aca;
    --blauw-licht: #e8eefb;
    --navy: #001354;
    --tekst: #2e2e2e;
    --zacht: #5f6368;
    --rand: #e2e2e2;
    --achtergrond: #f7f8f5;
    --wit: #ffffff;              /* vlakken en kaarten (in de donkere modus donker) */
    --navy-vlak: #001354;        /* donkerblauwe vlakken (voettekst), ook in de donkere modus donker */
    --kop-achtergrond: rgba(255, 255, 255, .96);
    --invoer-rand: #c4c7cc;
    --grijs-licht: #eceef5;
    --fout: #b3261e;
    --fout-licht: #fdecea;
    --fout-rand: #f5c2bd;
    --geel-licht: #fff4d6;
    --geel-tekst: #7a5a00;
    --paars: #7c4dcc;
    --oranje: #c25f00;
    --roze: #c93d72;
    --radius: 14px;
    --schaduw: 0 6px 24px rgba(0, 19, 84, .08);
    --breed: 1120px;
}

/* Koppen in Merriweather (staat zelf op de server; licentie in assets/fonts/OFL.txt) */
@font-face { font-family: "Merriweather"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/merriweather-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Merriweather"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/merriweather-latin-700-normal.woff2") format("woff2"); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--tekst);
    background: var(--wit);
}

h1, h2, h3 { color: var(--navy); line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.005em; font-family: "Merriweather", Georgia, "Times New Roman", serif; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--blauw); }
a:hover { color: var(--navy); }
img { max-width: 100%; height: auto; display: block; }

.binnen { width: 100%; max-width: var(--breed); margin: 0 auto; padding: 0 20px; }
.zacht { color: var(--zacht); }
.klein { font-size: .9rem; }

.overslaan {
    position: absolute; left: -9999px; top: 0;
    background: var(--navy-vlak); color: #fff; padding: 10px 16px; z-index: 100;
}
.overslaan:focus { left: 10px; top: 10px; }

/* ---------- Knoppen ---------- */

.knop {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid var(--groen);
    background: var(--groen);
    color: #fff;
    transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.knop:hover { background: var(--groen-donker); border-color: var(--groen-donker); color: #fff; transform: translateY(-1px); }
.knop-licht { background: transparent; color: var(--groen-donker); }
.knop-licht:hover { background: var(--groen-licht); color: var(--groen-donker); }
.knop-wit { background: var(--wit); border-color: var(--wit); color: var(--navy); }
.knop-wit:hover { background: transparent; color: #fff; border-color: var(--wit); }
.knop-rand-wit { background: transparent; border-color: rgba(255, 255, 255, .85); color: #fff; }
.knop-rand-wit:hover { background: var(--wit); color: var(--navy); border-color: var(--wit); }
.knoppen { display: flex; flex-wrap: wrap; gap: 12px; }
.knop-klein { padding: 8px 18px; font-size: .95rem; }
.knop span[aria-hidden] { transition: transform .15s; }
.knop:hover span[aria-hidden] { transform: translateX(3px); }

/* ---------- Kop en menu ---------- */

.kop {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--kop-achtergrond);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--rand);
}
.kop-binnen {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
}
.merk {
    display: flex;
    white-space: nowrap;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    text-decoration: none;
    font-weight: 800;
    line-height: 1.1;
}
.merk img { width: 48px; height: auto; }
.merk small { display: block; font-weight: 500; color: var(--zacht); font-size: .8rem; }

.menu { display: flex; align-items: center; gap: 4px; }
.menu a {
    padding: 8px 12px;
    white-space: nowrap;
    border-radius: 999px;
    text-decoration: none;
    color: var(--tekst);
    font-weight: 600;
    font-size: .98rem;
}
.menu a:hover { background: var(--groen-licht); color: var(--groen-donker); }
.menu a[aria-current="page"] { color: var(--groen-donker); background: var(--groen-licht); }
.menu .menu-leden {
    margin-left: 8px;
    border: 2px solid var(--navy);
    color: var(--navy);
    padding: 6px 14px;
}
.menu .menu-leden:hover { background: var(--navy-vlak); color: #fff; }

/* Telefoonmenu: werkt zonder JavaScript via <details> */
.menu-mobiel { display: none; }
.menu-mobiel summary {
    list-style: none;
    cursor: pointer;
    font-weight: 700;
    padding: 8px 14px;
    border: 2px solid var(--navy);
    border-radius: 999px;
    color: var(--navy);
}
.menu-mobiel summary::-webkit-details-marker { display: none; }
.menu-mobiel[open] summary { background: var(--navy-vlak); color: #fff; }
.menu-mobiel nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--wit);
    border-bottom: 1px solid var(--rand);
    box-shadow: var(--schaduw);
    padding: 8px 20px 16px;
    display: flex;
    flex-direction: column;
}
.menu-mobiel nav a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--rand);
    text-decoration: none;
    color: var(--navy);
    font-weight: 600;
    font-size: 1.1rem;
}
.menu-mobiel nav a[aria-current="page"] { color: var(--groen-donker); }
.menu-mobiel nav a.menu-leden { border-bottom: 0; color: var(--groen-donker); }

/* ---------- Hero ---------- */

/*
 * Foto's altijd in hun echte kleuren: geen gekleurde laag eroverheen.
 * De tekst staat in een eigen kaart die over de onderrand van de foto valt.
 */
.hero { background: var(--achtergrond); padding-bottom: 8px; }
.hero-foto {
    display: block;
    width: 100%;
    height: min(68vh, 600px);
    object-fit: cover;
    object-position: center 42%;
}
.hero-tekst {
    position: relative;
    margin-top: -110px;
    background: var(--wit);
    border-radius: var(--radius);
    box-shadow: var(--schaduw);
    padding: 32px 36px 36px;
    max-width: 760px;
    margin-left: max(20px, calc((100% - var(--breed)) / 2 + 20px));
}
.hero h1 { margin-bottom: .15em; }
.hero-slogan { font-size: clamp(1.15rem, 2.5vw, 1.45rem); font-weight: 700; color: var(--groen); margin-bottom: .5em; }
.hero-sub { font-size: 1.05rem; color: var(--zacht); max-width: 620px; margin-bottom: 1.4em; }

/* Kopfoto voor de andere pagina's: foto als band, titel eronder */
.paginakop { background: var(--wit); }
.paginakop img {
    display: block;
    width: 100%;
    height: clamp(220px, 30vw, 460px);
    object-fit: cover;
    object-position: center 35%;
}
.paginakop .binnen { padding-top: 40px; padding-bottom: 8px; }
.paginakop h1 { margin-bottom: .2em; }
.paginakop p { font-size: 1.15rem; max-width: 640px; margin: 0; color: var(--zacht); }

/* ---------- Secties ---------- */

.sectie { padding: 72px 0; }
.sectie-licht { background: var(--achtergrond); }
.sectie-groen { background: var(--groen); color: #fff; }
.sectie-groen h2, .sectie-groen h3 { color: #fff; }
.sectie-kop { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.sectie-kop h2 { margin: 0; }
.bovenregel {
    display: inline-block;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--groen);
    margin-bottom: 8px;
}
.sectie-groen .bovenregel { color: #d6f0c4; }

.twee-kolommen {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
}
.twee-kolommen.omgekeerd > :first-child { order: 2; }
.foto-rond { border-radius: var(--radius); box-shadow: var(--schaduw); width: 100%; object-fit: cover; }
.lees { max-width: 70ch; }
.lees p { margin-bottom: 1.1em; }

/* ---------- Agenda-kaarten ---------- */

.agendakaarten {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}
.agendakaart {
    display: flex;
    gap: 16px;
    background: var(--wit);
    border: 1px solid var(--rand);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--schaduw);
    height: 100%;
}
.datumblok {
    flex: none;
    width: 64px;
    height: 70px;
    border-radius: 12px;
    background: var(--groen);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.05;
}
.soort-open_repetitie .datumblok { background: var(--blauw); }
.soort-overig .datumblok { background: var(--navy-vlak); }
.datumblok-dag { font-size: 1.6rem; font-weight: 800; }
.datumblok-maand { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.agendakaart h3 { margin: 2px 0 4px; font-size: 1.1rem; }
.agendakaart .soortlabel {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--groen-licht);
    color: var(--groen-donker);
    margin-bottom: 4px;
}
.soort-open_repetitie .soortlabel { background: var(--blauw-licht); color: var(--blauw); }
.soort-overig .soortlabel { background: var(--grijs-licht); color: var(--navy); }
.agendakaart p { margin: 0; font-size: .95rem; color: var(--zacht); }
.agendakaart .omschrijving { margin-top: 8px; color: var(--tekst); overflow-wrap: anywhere; }
.leeg { padding: 24px; border: 2px dashed var(--rand); border-radius: var(--radius); color: var(--zacht); }

/* ---------- Lijsten met vinkjes en kenmerken ---------- */

.vinkjes { list-style: none; padding: 0; margin: 0 0 1.4em; }
.vinkjes li { position: relative; padding-left: 34px; margin-bottom: 10px; }
.vinkjes li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--groen-licht);
    color: var(--groen-donker);
    font-weight: 800;
    font-size: .85rem;
    display: grid;
    place-items: center;
}
.sectie-groen .vinkjes li::before { background: rgba(255, 255, 255, .2); color: #fff; }

.kenmerken {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.kenmerk {
    background: var(--wit);
    border-radius: var(--radius);
    padding: 22px;
    border: 1px solid var(--rand);
}
.kenmerk-icoon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--groen-licht);
    color: var(--groen);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    margin-bottom: 12px;
}
.kenmerk h3 { margin-bottom: 4px; }
.kenmerk p { margin: 0; color: var(--zacht); font-size: .97rem; }

.stappen { counter-reset: stap; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.stappen li {
    counter-increment: stap;
    position: relative;
    padding: 18px 20px 18px 72px;
    background: var(--wit);
    border: 1px solid var(--rand);
    border-radius: var(--radius);
}
.stappen li::before {
    content: counter(stap);
    position: absolute;
    left: 20px;
    top: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--groen);
    color: #fff;
    font-weight: 800;
    display: grid;
    place-items: center;
}
.stappen strong { display: block; color: var(--navy); }

.repertoire { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.repertoire li {
    background: var(--wit);
    border: 1px solid var(--rand);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: .97rem;
}
.repertoire li span { color: var(--zacht); }

/* ---------- Infoblok (repetitie, adres) ---------- */

.infoblok {
    background: var(--wit);
    border-radius: var(--radius);
    box-shadow: var(--schaduw);
    padding: 28px;
    color: var(--tekst);
}
.infoblok dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; }
.infoblok dt { font-weight: 700; color: var(--navy); }
.infoblok dd { margin: 0; }
.infoblok-voet { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--rand); }
.kaartknoppen { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
#route { scroll-margin-top: 96px; }

.fotostrook {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.fotostrook a { display: block; border-radius: 10px; overflow: hidden; }
.fotostrook img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .25s; }
.fotostrook a:hover img { transform: scale(1.04); }

/* ---------- Agendapagina ---------- */

.maandkop {
    max-width: 820px;
    font-size: 1.3rem;
    margin: 36px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--groen-licht);
}
.maandkop:first-child { margin-top: 0; }
.agenda-breed { grid-template-columns: 1fr; max-width: 820px; }

.eerderlijst { list-style: none; margin: 0; padding: 0; }
.eerderlijst li {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--rand);
}
.eerder-datum { color: var(--zacht); min-width: 170px; }
.eerder-titel { font-weight: 600; color: var(--navy); }

/* ---------- Contactformulier ---------- */

.contact { align-items: start; grid-template-columns: 1.4fr 1fr; }
.formulier { display: flex; flex-direction: column; max-width: 620px; }
.formulier label { font-weight: 700; color: var(--navy); margin: 16px 0 6px; }
.formulier .optioneel { font-weight: 400; color: var(--zacht); }
.formulier input,
.formulier select,
.formulier textarea {
    width: 100%;
    font: inherit;
    padding: 12px 14px;
    border: 1px solid var(--invoer-rand);
    border-radius: 10px;
    background: var(--wit);
    color: var(--tekst);
}
.formulier textarea { resize: vertical; min-height: 160px; line-height: 1.5; }
.formulier input:focus,
.formulier select:focus,
.formulier textarea:focus {
    outline: 3px solid rgba(58, 136, 12, .3);
    border-color: var(--groen);
}
.formulier .knoppen { margin-top: 8px; }
.formulier button.knop { cursor: pointer; font-family: inherit; }
.privacy { font-size: .9rem; color: var(--zacht); margin: 18px 0 8px; }

/* Verborgen veld tegen spamrobots: buiten beeld, maar niet met display:none (robots herkennen dat) */
.honingpot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.melding { padding: 14px 18px; border-radius: 10px; margin: 0 0 8px; }
.melding-fout { background: var(--fout-licht); color: var(--fout); border: 1px solid var(--fout-rand); }
.bedankt h2 { margin-top: 4px; }

/* ---------- Galerij ---------- */

.galerij {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}
.galerij li { scroll-margin-top: 96px; }
.galerij a { display: block; border-radius: 10px; overflow: hidden; background: var(--achtergrond); }
.galerij img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .25s;
}
.galerij a:hover img,
.galerij a:focus-visible img { transform: scale(1.04); }

/* Vergrote foto (lichtbak) */
.lichtbak {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    align-items: center;
    justify-content: center;
    background: rgba(8, 10, 20, .97);
}
.lichtbak:target { display: flex; }
.lichtbak img {
    position: relative;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 110px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}
.lichtbak-achtergrond { position: absolute; inset: 0; }
.lichtbak-knop {
    position: absolute;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    text-decoration: none;
    font-size: 2rem;
    line-height: 1;
}
.lichtbak-knop:hover { background: rgba(255, 255, 255, .28); color: #fff; }
.lichtbak-vorige { left: 14px; top: 50%; transform: translateY(-50%); }
.lichtbak-volgende { right: 14px; top: 50%; transform: translateY(-50%); }
.lichtbak-sluiten { top: 14px; right: 14px; font-size: 1.4rem; }
.lichtbak-teller {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    color: #c9cde0;
    font-size: .9rem;
}

/* ---------- Voet ---------- */

.voet { background: var(--navy-vlak); color: #d7dcef; padding: 56px 0 28px; font-size: .97rem; }
.voet a { color: #fff; }
.voet h3 { color: #fff; font-size: 1.05rem; margin-bottom: 10px; }
.voet-kolommen { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.voet ul { list-style: none; padding: 0; margin: 0; }
.voet li { margin-bottom: 6px; }
.voet-merk { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: #fff; font-weight: 800; }
.voet-merk img { width: 52px; background: var(--wit); border-radius: 12px; padding: 4px; }
.voet-onder { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 36px; padding-top: 18px; font-size: .85rem; color: #aab3d6; }

/* ---------- Telefoon en tablet ---------- */

@media (max-width: 900px) {
    .menu { display: none; }
    .menu-mobiel { display: block; }
}

@media (max-width: 900px) {
    .twee-kolommen { grid-template-columns: 1fr; gap: 28px; }
    .twee-kolommen.omgekeerd > :first-child { order: 0; }
    .voet-kolommen { grid-template-columns: 1fr 1fr; }
    .fotostrook { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    body { font-size: 17px; }
    .sectie { padding: 52px 0; }
    .hero-foto { height: 44vh; min-height: 260px; }
    .hero-tekst { margin: -48px 12px 0; padding: 22px 20px 24px; }
    .paginakop .binnen { padding-top: 28px; }
    .knoppen .knop { width: 100%; justify-content: center; }
    .voet-kolommen { grid-template-columns: 1fr; }
    .infoblok { padding: 20px; }
    .infoblok dl { grid-template-columns: 1fr; gap: 2px; }
    .infoblok dd { margin-bottom: 10px; }
    .merk small { display: none; }
    .galerij { grid-template-columns: repeat(2, 1fr); gap: 6px; }

    .eerder-datum { min-width: 0; width: 100%; font-size: .9rem; }
    .lichtbak img { max-height: calc(100vh - 160px); }
    .lichtbak-vorige, .lichtbak-volgende { top: auto; bottom: 14px; transform: none; }
}

/* ---------- Animaties ----------
 * Alles wat beweegt staat hieronder, binnen "no-preference": wie in het
 * besturingssysteem "beweging verminderen" aan heeft, krijgt een rustige site.
 * De JavaScript staat in assets/site-animaties.js en assets/feest.js.
 */
.feest-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1000; }

@media (prefers-reduced-motion: no-preference) {
    /* Zwevende muzieknoten over de grote foto */
    .hero { position: relative; }
    .noten-lucht {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: min(68vh, 600px);
        overflow: hidden;
        pointer-events: none;
        z-index: 1;
    }
    .zweefnoot {
        position: absolute;
        bottom: -2rem;
        font-weight: 700;
        text-shadow: 0 0 2px #fff, 0 0 6px #fff, 0 0 14px rgba(255, 255, 255, .9);
        opacity: 0;
        animation: zweef 8s linear forwards;
    }
    .zweefnoot.kleur-1 { color: var(--groen); }
    .zweefnoot.kleur-2 { color: #e0a100; }
    .zweefnoot.kleur-3 { color: var(--blauw, #265aca); }
    @keyframes zweef {
        0%   { transform: translate(0, 0) rotate(-10deg); opacity: 0; }
        12%  { opacity: .9; }
        50%  { transform: translate(calc(var(--drift, 0px) / 2), -40vh) rotate(12deg); }
        85%  { opacity: .7; }
        100% { transform: translate(var(--drift, 0px), -75vh) rotate(-6deg); opacity: 0; }
    }
    .hero-tekst { z-index: 2; animation: hero-in .7s ease-out both; }
    @keyframes hero-in { from { opacity: 0; transform: translateY(24px); } }

    /* Inschuiven bij scrollen */
    .onthul { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
    .onthul.zichtbaar { opacity: 1; transform: none; }

    /* Knoppen veren in bij klikken */
    .knop:active { transform: translateY(0) scale(.97); }

    /* Agendakaarten en foto's komen iets omhoog bij hover */
    .agendakaart { transition: transform .2s ease, box-shadow .2s ease; }
    .agendakaart:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 19, 84, .12); }

    /* Galerij: zoom met wat meer licht, en de vergrote foto opent vloeiend */
    .galerij img, .fotostrook img { transition: transform .35s ease, filter .35s ease; }
    .galerij a:hover img, .galerij a:focus-visible img,
    .fotostrook a:hover img, .fotostrook a:focus-visible img { transform: scale(1.08); filter: brightness(1.06) saturate(1.1); }
    .fotostrook a { overflow: hidden; }
    .lichtbak:target { animation: lichtbak-in .25s ease-out; }
    .lichtbak:target img { animation: foto-in .35s cubic-bezier(.2, .9, .3, 1.1); }
    @keyframes lichtbak-in { from { opacity: 0; } }
    @keyframes foto-in { from { opacity: 0; transform: scale(.92); } }

    /* Bedankt na het contactformulier: het vinkje springt erin */
    .bedankt .kenmerk-icoon { animation: vinkje-pop .5s cubic-bezier(.3, 1.6, .5, 1) .2s both; }
    @keyframes vinkje-pop { from { transform: scale(0) rotate(-30deg); } }
}

/* Notenbalk onderin de kop, met nootjes die langzaam voorbij schuiven */
.kop { padding-bottom: 26px; }
.kop::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 26px;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='26'%3E%3Cg stroke='%233a880c' stroke-opacity='.3' stroke-width='1'%3E%3Cpath d='M0 4.5h300M0 8.5h300M0 12.5h300M0 16.5h300M0 20.5h300'/%3E%3C/g%3E%3Cg fill='%233a880c' fill-opacity='.5'%3E%3Cellipse cx='30' cy='16.5' rx='2.5' ry='1.8' transform='rotate(-20 30 16.5)'/%3E%3Crect x='31.8' y='5' width='.9' height='11.2'/%3E%3Cellipse cx='90' cy='10.5' rx='2.5' ry='1.8' transform='rotate(-20 90 10.5)'/%3E%3Crect x='87.3' y='10.8' width='.9' height='11.2'/%3E%3Cellipse cx='150' cy='18.5' rx='2.5' ry='1.8' transform='rotate(-20 150 18.5)'/%3E%3Crect x='151.8' y='6' width='.9' height='12.2'/%3E%3Cellipse cx='168' cy='14.5' rx='2.5' ry='1.8' transform='rotate(-20 168 14.5)'/%3E%3Crect x='169.8' y='6' width='.9' height='8.2'/%3E%3Crect x='151.8' y='5.2' width='18.9' height='1.8'/%3E%3Cellipse cx='230' cy='8.5' rx='2.5' ry='1.8' transform='rotate(-20 230 8.5)'/%3E%3Crect x='227.3' y='8.8' width='.9' height='11.2'/%3E%3C/g%3E%3C/svg%3E") repeat-x 0 0 / 300px 26px;
}

@media (prefers-reduced-motion: no-preference) {
    .kop::after { animation: notenbalk 40s linear infinite; }
    @keyframes notenbalk { to { background-position: -300px 0; } }

    @view-transition { navigation: auto; }
    ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .2s; }
    .kop { view-transition-name: kop; }
}

/* Afgelaste afspraak */
.soortlabel.afgelast { background: var(--fout-licht); color: var(--fout); margin-left: 4px; }
.afgelast-titel { text-decoration: line-through; opacity: .7; }

/* =====================================================================
 * Uitbreiding website (update 12)
 * ===================================================================== */

p { text-wrap: pretty; }
.lees { max-width: 66ch; }

/* Laadbalk */
.laadbalk { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: var(--groen); opacity: 0; pointer-events: none; }
.laadbalk.bezig { opacity: 1; width: 85%; transition: width 6s cubic-bezier(.1, .9, .2, 1), opacity .2s; }

/* Kleur per pagina: streepje onder de paginatitel en de bovenregels */
body { --accent: var(--groen); }
.sectie-over-ons { --accent: var(--roze); }
.sectie-agenda { --accent: var(--oranje); }
.sectie-meezingen { --accent: var(--groen); }
.sectie-contact { --accent: var(--paars); }
.paginakop h1, .sectie > .binnen > h1 { position: relative; padding-bottom: 10px; }
.paginakop h1::after, .sectie > .binnen > h1::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 5px; border-radius: 3px; background: var(--accent);
}
.bovenregel { color: var(--accent); }
.sectie-groen .bovenregel { color: #d6f0c4; }

/* Golvende overgang tussen secties (en boven de voettekst) */
.golf { height: 40px; background: var(--achtergrond); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V22c120-18 240-24 360-12s240 30 360 18 240-30 360-24c60 3 120 10 120 10v26z'/%3E%3C/svg%3E") center / 100% 100%; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V22c120-18 240-24 360-12s240 30 360 18 240-30 360-24c60 3 120 10 120 10v26z'/%3E%3C/svg%3E") center / 100% 100%; margin-bottom: -1px; }
.golf-voet { background: var(--navy-vlak); margin-top: -40px; position: relative; }
.voet { position: relative; }

/* Hero met wisselende foto's */
.hero { position: relative; }
.hero-fotos { position: relative; overflow: hidden; }
.hero-fotos picture + picture { position: absolute; inset: 0; opacity: 0; }
.hero-fotos img { display: block; width: 100%; height: min(68vh, 600px); object-fit: cover; object-position: center 42%; }
.seizoensgroet { margin: 0 0 4px; font-weight: 700; color: #c62828; }
@media (prefers-reduced-motion: no-preference) {
    .hero-fotos picture + picture { animation: hero-wissel 24s ease-in-out infinite; }
    .hero-fotos picture:nth-child(3) { animation-delay: 12s; }
    @keyframes hero-wissel { 0%, 4% { opacity: 0; } 12%, 46% { opacity: 1; } 54%, 100% { opacity: 0; } }
}
.sneeuw { position: absolute; inset: 0; pointer-events: none; overflow: hidden; transition: opacity 2s; }
.sneeuw.stopt { opacity: 0; }
.sneeuw span { position: absolute; top: -10px; border-radius: 50%; background: #fff; box-shadow: 0 0 3px rgba(0, 19, 84, .3); animation: vallen linear infinite; }
@keyframes vallen { to { transform: translate(30px, min(70vh, 620px)); } }

/* Eerstvolgend concert */
.volgend-concert { padding: 28px 0 0; }
.concertbanner {
    display: flex; align-items: center; gap: 20px; padding: 18px 22px; border-radius: var(--radius);
    background: var(--wit); border: 1px solid var(--rand); border-left: 6px solid var(--oranje); box-shadow: var(--schaduw);
    color: var(--tekst); text-decoration: none;
}
.concertbanner:hover { color: var(--tekst); border-color: var(--oranje); }
.concertbanner-aftelling { flex: none; display: grid; place-items: center; min-width: 86px; padding: 10px; border-radius: 12px; background: var(--oranje); color: #fff; line-height: 1.05; text-align: center; }
.concertbanner-aftelling strong { font-size: 2rem; font-family: "Merriweather", Georgia, serif; }
.concertbanner-aftelling span { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.concertbanner-tekst { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.concertbanner-tekst .bovenregel { margin: 0; color: var(--oranje); }
.concertbanner-titel { font-size: 1.3rem; color: var(--navy); font-family: "Merriweather", Georgia, serif; }
.concertbanner-pijl { font-size: 1.8rem; color: var(--oranje); transition: transform .2s; }
.concertbanner:hover .concertbanner-pijl { transform: translateX(6px); }
.label { display: inline-block; width: fit-content; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.label-uitverkocht, .soortlabel.label-uitverkocht { background: var(--fout-licht); color: var(--fout); }
.label-bijna, .soortlabel.label-bijna { background: var(--geel-licht); color: var(--geel-tekst); }

/* Kerncijfers */
.cijfers-sectie { padding: 40px 0 8px; }
.kerncijfers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kerncijfers li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 10px; border-radius: var(--radius); background: var(--achtergrond); }
.kerncijfers strong { font-family: "Merriweather", Georgia, serif; font-size: clamp(2rem, 5vw, 2.8rem); color: var(--groen); line-height: 1.1; font-variant-numeric: tabular-nums; }
.kerncijfers span { color: var(--zacht); font-size: .95rem; }

/* Luisterfragment */
.luister-blok { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center; }
.luisterspeler { padding: 22px; border-radius: var(--radius); background: var(--wit); box-shadow: var(--schaduw); }
.luisterspeler audio { width: 100%; }
.opnames { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.opnames li { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--rand); border-radius: var(--radius); background: var(--wit); }
.opnames audio { width: 100%; margin-top: 6px; }

/* Citaten */
.citaten { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.citaten li { position: relative; padding: 26px 24px 20px; border-radius: var(--radius); background: var(--achtergrond); }
.citaten li::before { content: "“"; position: absolute; top: -18px; left: 18px; font-family: "Merriweather", Georgia, serif; font-size: 4.2rem; line-height: 1; color: var(--accent); }
.citaten blockquote { margin: 0 0 10px; font-size: 1.1rem; font-style: italic; }
.citaat-wie { color: var(--zacht); font-weight: 700; font-size: .95rem; }

/* Nieuwsbrief */
.nieuwsbrief-blok { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; align-items: center; }
.nieuwsbrief-form { display: flex; flex-wrap: wrap; gap: 8px; }
.nieuwsbrief-form input[type="email"] { flex: 1 1 180px; min-width: 0; font: inherit; padding: 11px 14px; border-radius: 999px; border: 1px solid var(--invoer-rand); background: var(--wit); color: var(--tekst); }
.voet .nieuwsbrief-form input[type="email"] { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); color: #fff; }
.voet .nieuwsbrief-form input::placeholder { color: #aab3d6; }

/* Delen */
.delen { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.deelknop { padding: 5px 14px; border: 1px solid var(--rand); border-radius: 999px; background: var(--wit); color: var(--tekst); font: inherit; font-size: .9rem; text-decoration: none; cursor: pointer; }
.deelknop:hover { border-color: var(--groen); color: var(--groen-donker); }

/* Social in de voettekst */
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.social a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; text-decoration: none; font-size: .92rem; }
.social a:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* Over ons: tijdlijn, stemgroepen, woordwolk, repetitiefoto's */
.tijdlijn { list-style: none; margin: 20px 0 0; padding: 0 0 0 26px; position: relative; max-width: 760px; }
.tijdlijn::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: var(--accent); opacity: .35; }
.tijdlijn li { position: relative; display: flex; gap: 18px; padding: 10px 0; }
.tijdlijn li::before { content: ""; position: absolute; left: -26px; top: 18px; width: 17px; height: 17px; border-radius: 50%; background: var(--wit); border: 4px solid var(--accent); }
.tijdlijn-jaar { flex: none; width: 3.6em; font-family: "Merriweather", Georgia, serif; font-weight: 700; color: var(--accent); }
.stemgroepen-uitleg { list-style: none; margin: 20px 0 14px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.stemgroepen-uitleg li { padding: 22px; border-radius: var(--radius); background: var(--wit); border-top: 5px solid var(--roze); box-shadow: var(--schaduw); }
.stemgroepen-uitleg li.stem-2 { border-top-color: var(--oranje); }
.stemgroepen-uitleg li.stem-3 { border-top-color: var(--blauw); }
.stem-icoon { font-size: 1.8rem; }
.woordwolk { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.woordwolk li { padding: 6px 16px; border-radius: 999px; background: var(--wit); border: 1px solid var(--rand); font-family: "Merriweather", Georgia, serif; color: var(--navy); }
.woordwolk li span { font-family: inherit; color: var(--zacht); font-size: .8em; }
.woordwolk .wolk-0 { font-size: 1.35rem; }
.woordwolk .wolk-1 { font-size: 1rem; }
.woordwolk .wolk-2 { font-size: 1.15rem; border-color: var(--accent); }
.woordwolk .wolk-3 { font-size: .95rem; }
.woordwolk .wolk-4 { font-size: 1.25rem; }
.repetitiefotos { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.repetitiefotos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }

/* Meezingen: vragen en formulier */
.vragen details { border-bottom: 1px solid var(--rand); padding: 14px 0; }
.vragen summary { cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.vragen summary::-webkit-details-marker { display: none; }
.vragen summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); transition: transform .2s; }
.vragen details[open] summary::after { transform: rotate(45deg); }
.vragen details div { padding-top: 8px; }
.formulierkaart { padding: 26px; border-radius: var(--radius); background: var(--wit); color: var(--tekst); box-shadow: 0 10px 34px rgba(0, 0, 0, .18); }
.formulierkaart h3 { color: var(--navy); }
.sectie-groen .formulierkaart a { color: var(--blauw); }
.hulp-blok { margin: 8px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--groen-licht); font-size: .95rem; }

/* Concertpagina */
.concert-kop { display: flex; align-items: center; gap: 20px; margin: 10px 0 24px; }
.concert-kop h1 { margin: 6px 0 2px; }
.concert-wanneer { font-size: 1.15rem; color: var(--zacht); margin: 0; }
.datumblok.groot { width: 84px; padding: 12px 0; }
.datumblok.groot .datumblok-dag { font-size: 2.2rem; }
.concert-inhoud { align-items: start; margin-bottom: 30px; }
.kruimelpad { font-size: .92rem; color: var(--zacht); margin-bottom: 8px; }
.agendakaart h3 a { color: inherit; text-decoration: none; }
.agendakaart h3 a:hover { text-decoration: underline; }
.agendakaart-links { font-size: .95rem; }
.agendakaart.is-afgelast { opacity: .75; }
.abonneren { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 32px; padding: 18px 22px; border-radius: var(--radius); background: var(--achtergrond); }
.abonneren > span { font-size: 1.8rem; }
.abonneren p { flex: 1 1 280px; margin: 0; }
.eerder-titel { font-weight: 700; }

/* Galerij: albums, video's, lichtbak */
.albumkaarten { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.albumkaart { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--achtergrond); color: #fff; text-decoration: none; box-shadow: var(--schaduw); }
.albumkaart img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.albumkaart:hover img { transform: scale(1.05); }
.albumkaart-leeg { display: grid; place-items: center; height: 100%; font-size: 3rem; }
.albumkaart-tekst { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .72)); }
.albumkaart-tekst strong { font-family: "Merriweather", Georgia, serif; font-size: 1.15rem; }
.albumkaart-tekst span { font-size: .88rem; opacity: .9; }
.albumkaart:hover { color: #fff; }
.videos { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.video, .video-speler { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); background: linear-gradient(135deg, var(--navy-vlak), #2a3c78); color: #fff; text-decoration: none; text-align: center; padding: 16px; }
.video:hover { color: #fff; }
.video-afspelen { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #e53935; font-size: 1.5rem; padding-left: 4px; transition: transform .2s; }
.video:hover .video-afspelen { transform: scale(1.1); }
.video-titel { font-weight: 700; }
.video-uitleg { font-size: .8rem; opacity: .75; }
.video-speler { padding: 0; }
.lichtbak-figuur { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 92vw; max-height: 86vh; position: relative; z-index: 1; }
.lichtbak-figuur img { max-width: 92vw; max-height: 78vh; object-fit: contain; border-radius: 6px; }
.lichtbak-figuur figcaption { color: #eef0f6; font-size: .95rem; text-align: center; max-width: 70ch; }
html.lichtbak-open { overflow: hidden; }

/* Fotoband die langzaam voorbijschuift */
.fotoband-sectie { padding: 40px 0; overflow: hidden; }
.fotoband { overflow: hidden; margin-bottom: 18px; }
.fotoband-rij { display: flex; gap: 12px; width: max-content; }
.fotoband-rij a { flex: none; display: block; height: 220px; border-radius: 12px; overflow: hidden; }
.fotoband-rij img { height: 220px; width: auto; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
    .fotoband-rij { animation: fotoband 70s linear infinite; }
    .fotoband:hover .fotoband-rij { animation-play-state: paused; }
    @keyframes fotoband { to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) {
    .fotoband { overflow-x: auto; }
}

/* Vaste knop "Kom een keer meezingen" op de telefoon */
.meezing-knop { display: none; }
@media (max-width: 700px) {
    .meezing-knop {
        display: block; position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 60; transform: translateX(-50%);
        padding: 12px 22px; border-radius: 999px; background: var(--groen); color: #fff; font-weight: 800; text-decoration: none;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .25); white-space: nowrap;
    }
    .meezing-knop:hover { color: #fff; }
    .voet { padding-bottom: 90px; }
    .kerncijfers { grid-template-columns: repeat(2, 1fr); }
    .luister-blok, .nieuwsbrief-blok { grid-template-columns: 1fr; }
    .concertbanner { flex-wrap: wrap; }
    .concertbanner-pijl { display: none; }
    .fotoband-rij a, .fotoband-rij img { height: 160px; }
}

/* Foutpagina */
.foutpagina { text-align: center; }
.foutpagina .lees { margin: 0 auto; }
.foutpagina .knoppen { justify-content: center; }
.fout-icoon { display: block; font-size: 3.4rem; }

/* ---------- Donkere modus (volgt het apparaat; afdrukken blijft licht) ---------- */
@media screen and (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
        --groen-donker: #8fd65f; --groen-licht: #1d3014; --blauw: #8cb0ff; --blauw-licht: #18223c; --navy: #e3e8fb;
        --navy-vlak: #0c1226; --tekst: #e3e5ea; --zacht: #a4a9b4; --rand: #2f3542; --achtergrond: #161a22; --wit: #1c212b;
        --schaduw: 0 6px 24px rgba(0, 0, 0, .45); --kop-achtergrond: rgba(20, 24, 31, .96); --invoer-rand: #4a5160;
        --grijs-licht: #282d38; --fout: #ff8f85; --fout-licht: #3a1c1a; --fout-rand: #5e2c27; --geel-licht: #352c10; --geel-tekst: #f0c967;
        --paars: #b597ef; --oranje: #f0a050; --roze: #ec82aa;
    }
    body { background: #14181f; }
    img { filter: brightness(.94); }
    .knop-licht { color: var(--groen-donker); }
    .sectie-groen { background: #2a6609; }
    .concertbanner-aftelling, .meezing-knop { color: #111; }
    .formulierkaart { box-shadow: 0 10px 34px rgba(0, 0, 0, .5); }
}

/* Stappen op een groene achtergrond (Meezingen: "Zin gekregen?") */
.sectie-groen .stappen { margin-top: 20px; }
.sectie-groen .stappen li { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); color: #fff; padding: 14px 18px 14px 64px; }
.sectie-groen .stappen li::before { background: #fff; color: var(--groen-donker); top: 14px; left: 16px; }
.sectie-groen .stappen strong { color: #fff; }
