/*
 * 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;
    --radius: 14px;
    --schaduw: 0 6px 24px rgba(0, 19, 84, .08);
    --breed: 1120px;
}

* { 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: 18px;
    line-height: 1.65;
    color: var(--tekst);
    background: var(--wit);
}

h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
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); color: var(--wit); 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: var(--wit);
    transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.knop:hover { background: var(--groen-donker); border-color: var(--groen-donker); color: var(--wit); 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: var(--wit); border-color: var(--wit); }
.knop-rand-wit { background: transparent; border-color: rgba(255, 255, 255, .85); color: var(--wit); }
.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: rgba(255, 255, 255, .96);
    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); color: var(--wit); }

/* 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); color: var(--wit); }
.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(200px, 34vw, 340px);
    object-fit: cover;
    object-position: center 40%;
}
.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: var(--wit); }
.sectie-groen h2, .sectie-groen h3 { color: var(--wit); }
.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: var(--wit);
    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); }
.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: #eceef5; 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: var(--wit); }

.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: var(--wit);
    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 #c4c7cc;
    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: #fdecea; color: #b3261e; border: 1px solid #f5c2bd; }
.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: var(--wit);
    text-decoration: none;
    font-size: 2rem;
    line-height: 1;
}
.lichtbak-knop:hover { background: rgba(255, 255, 255, .28); color: var(--wit); }
.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); color: #d7dcef; padding: 56px 0 28px; font-size: .97rem; }
.voet a { color: var(--wit); }
.voet h3 { color: var(--wit); 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: var(--wit); 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; }
}
