/* =========================================================
   PureCreations – basisstijl
   Donker thema met lichte tekst (zie webshop_uiterlijk.txt).
   Kleuren aanpassen? Alleen de variabelen hieronder wijzigen.
   ========================================================= */

:root {
    --bg: #111311;
    --surface: #1a1d1a;
    --surface-2: #222622;
    --border: rgba(255, 255, 255, 0.10);
    --text: #ecebe4;
    --muted: #a8aca2;
    --logo: #d9c886;       /* goud uit het PureCreations-logo */
    --honing: #e6ad42;
    --fruit: #9fc76b;
    --accent: var(--honing);
    --accent-text: #15130d;
    --fout: #ff8a7a;
    --succes: #9fc76b;

    --radius: 14px;
    --schaduw: 0 6px 20px rgba(0, 0, 0, 0.35);
    --breedte: 1180px;
    --kop-font: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    --tekst-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Accentkleur per onderdeel */
body.fruitteelt { --accent: var(--fruit); }
body.imkeren { --accent: var(--honing); }

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    font-family: var(--tekst-font);
    font-size: 1.125rem;          /* 18px: prettig leesbaar */
    line-height: 1.65;
}

h1, h2, h3 {
    font-family: var(--kop-font);
    line-height: 1.2;
    font-weight: 600;
    margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

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

/* Opslaan van foto's/video's lastiger maken (geen echte beveiliging: een screenshot kan altijd) */
img, video {
    -webkit-touch-callout: none;  /* geen opslaan-menu bij lang drukken op iPhone/iPad */
    -webkit-user-drag: none;
    user-select: none;
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.container {
    width: 100%;
    max-width: var(--breedte);
    margin: 0 auto;
    padding: 0 16px;
}

main.container { flex: 1; padding-top: 2.5rem; padding-bottom: 4rem; }

.muted { color: var(--muted); }

.sectie { margin-top: 4rem; }
.sectie-kop { max-width: 46rem; margin-bottom: 1.75rem; }
.sectie-kop p { color: var(--muted); }

.kicker {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ---------- Knoppen ---------- */
.knop, button[type="submit"] {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.75em 1.4em;
    border-radius: 999px;
    border: 2px solid var(--accent);
    background: var(--accent);
    color: var(--accent-text);
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: filter 0.2s, transform 0.2s;
}
.knop:hover, button[type="submit"]:hover { filter: brightness(1.1); }
.knop.secundair { background: transparent; color: var(--text); }

/* ---------- Navigatie ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(17, 19, 17, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4rem;
}
/* ---------- Logo ---------- */
.logo { display: block; color: var(--logo); flex: none; }

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--tekst-font);
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--logo);
    text-decoration: none;
}
.nav-brand .logo { width: 2rem; height: auto; }
.nav-brand:hover .logo { filter: drop-shadow(0 0 6px rgba(217, 200, 134, 0.6)); }

.intro-logo {
    width: clamp(4.5rem, 10vw, 6rem);
    height: auto;
    margin-bottom: 1.25rem;
    filter: drop-shadow(0 0 14px rgba(217, 200, 134, 0.45));
}
.nav ul {
    list-style: none;
    display: flex;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
}
.nav ul a {
    display: block;
    padding: 0.5rem 0.7rem;
    white-space: nowrap;
    border-radius: 999px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
}
.nav ul a:hover { background: var(--surface-2); }
.nav ul a[aria-current="page"] { background: var(--surface-2); color: var(--accent); }

.menu-knop {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 1.4rem;
    width: 2.75rem;
    height: 2.75rem;
    cursor: pointer;
}

/* Hamburgermenu zodra niet alle menu-items naast elkaar passen */
@media (max-width: 1180px) {
    .menu-knop { display: block; }
    .nav { flex-wrap: wrap; }
    .nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        padding-bottom: 1rem;
    }
    .nav.open ul { display: flex; }
    .nav ul a { padding: 0.75rem 1rem; }
}

/* ---------- Meldingen ---------- */
.meldingen { list-style: none; padding: 0; margin: 0 0 2rem; }
.meldingen li {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    background: rgba(159, 199, 107, 0.12);
    border: 1px solid rgba(159, 199, 107, 0.4);
}

/* ---------- Kaarten ---------- */
.kaart {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--schaduw);
    padding: 1.5rem;
}

/* ---------- Home: intro ---------- */
.intro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 2rem;
    align-items: center;
    padding: clamp(1.5rem, 4vw, 3rem);
}
.intro p { font-size: 1.2rem; color: var(--muted); max-width: 34rem; }
.intro .knoppen { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.intro-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }


.galerij {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 1rem;
}
.galerij figure img, .galerij video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: #000; display: block; }
.galerij .galerij-video { grid-column: span 2; }
.galerij .galerij-video video { aspect-ratio: 16 / 9; }
@media (max-width: 600px) { .galerij .galerij-video { grid-column: auto; } }

.onderdelen {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 1.25rem;
}
.onderdeel-kaart {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.2s, border-color 0.2s;
}
.onderdeel-kaart:hover { transform: translateY(-3px); border-color: var(--accent); }
.onderdeel-kaart .icoon { font-size: 2.2rem; line-height: 1; margin-bottom: 0.75rem; }
.onderdeel-kaart p { color: var(--muted); flex: 1; }
.onderdeel-kaart .meer { color: var(--accent); font-weight: 600; }
.onderdeel-kaart.fruitteelt { --accent: var(--fruit); }

.over-ons { max-width: 46rem; }

/* ---------- Pagina-kop ---------- */
.pagina-kop { max-width: 46rem; margin-bottom: 2.5rem; }
.pagina-kop p { font-size: 1.2rem; color: var(--muted); }

/* ---------- Horizontale scroller (processtappen + geschiedenis) ---------- */
.scroller-balk {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.scroller-hint { color: var(--muted); font-size: 0.95rem; margin: 0; }
.scroller-knoppen { display: flex; gap: 0.5rem; }
.scroller-knoppen button {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
}
.scroller-knoppen button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.scroller-knoppen button:disabled { opacity: 0.35; cursor: default; }

.scroller {
    display: flex;
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0.5rem 2px 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 2px;
    overscroll-behavior-x: contain;
    scrollbar-color: var(--surface-2) transparent;
    cursor: grab;
}
.scroller.sleept { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.scroller > li { scroll-snap-align: start; }
/* Dichte stappen niet laten meerekken met een geopende stap */
.scroller:has(.stap.open) { align-items: flex-start; }

/* Processtap */
.stap {
    position: relative;
    flex: 0 0 min(19rem, 82vw);
    display: flex;
    flex-direction: column;
    transition: flex-basis 0.35s ease;
}
.stap.open { flex-basis: min(40rem, 88vw); }
.stap-kop { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.stap-icoon {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--surface-2);
    border: 2px solid var(--accent);
    font-size: 1.4rem;
    flex: none;
}
.stap-nummer { font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.stap-periode { display: block; color: var(--accent); font-weight: 600; font-size: 0.95rem; }
.stap h3 { margin-bottom: 0.4rem; }
.stap > p { color: var(--muted); flex: 1; }

/* Pijltje naar de volgende stap */
.stap:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 2.9rem;
    right: -1.25rem;
    width: 1.25rem;
    border-top: 2px dashed var(--accent);
    opacity: 0.5;
}

details { margin-top: 0.5rem; }
summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--accent);
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    padding: 0.25rem 0;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.2em; transition: transform 0.2s; }
details[open] > summary::after { transform: rotate(45deg); }
.details-inhoud { padding-top: 0.75rem; border-top: 1px solid var(--border); margin-top: 0.5rem; }

.fotos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
    gap: 0.75rem;
    margin: 1rem 0;
}
figure { margin: 0; }
figure img { width: 100%; border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; }
figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.35rem; }

.video { margin-top: 1rem; }
.video video { width: 100%; border-radius: 10px; background: #000; display: block; }

/* Geschiedenis-tijdlijn */
.geschiedenis {
    position: relative;
}
.geschiedenis::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 1.7rem;
    border-top: 2px solid var(--border);
}
.moment {
    position: relative;
    flex: 0 0 min(20rem, 82vw);
    padding-top: 3.25rem;
}
.moment::before {
    content: "";
    position: absolute;
    top: 1.25rem;
    left: 1.5rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 5px var(--bg);
}
.moment .jaartal {
    position: absolute;
    top: 0.65rem;
    left: 3.25rem;
    font-family: var(--kop-font);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
}
.moment .kaart { height: 100%; }
.moment img { border-radius: 10px; margin-bottom: 1rem; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.moment p { color: var(--muted); margin: 0; }

/* ---------- Opendagen ---------- */
.opendagen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 1.5rem;
    align-items: start;
}
.opendag img { border-radius: 10px; margin-bottom: 1rem; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.opendag > p { color: var(--muted); }
.opendag.actief { grid-column: 1 / -1; }
.opendag.algemeen { border-style: dashed; }

.formulier { display: grid; gap: 1rem; margin-top: 1.25rem; }
.formulier .rij { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1rem; }
.veld label { display: block; font-weight: 600; margin-bottom: 0.3rem; font-size: 1rem; }
.veld input, .veld textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: var(--bg);
    color: var(--text);
    font: inherit;
}
.veld input:focus, .veld textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(230, 173, 66, 0.25); }
.veld .fout, .formulier .fout { color: var(--fout); font-size: 0.95rem; margin: 0.3rem 0 0; }
.veld.heeft-fout input, .veld.heeft-fout textarea { border-color: var(--fout); }
.formulier .klein { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ---------- Leeg / binnenkort ---------- */
.leeg { text-align: center; padding: 3rem 1.5rem; }
.leeg .icoon { font-size: 3rem; }
.leeg p { color: var(--muted); max-width: 32rem; margin: 0 auto 1.5rem; }

/* ---------- Tekstpagina's (privacy, voorwaarden) ---------- */
.tekstpagina { max-width: 46rem; }
.tekstpagina h2 { margin-top: 2rem; font-size: 1.4rem; }

/* ---------- Shop ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.verborgen { position: absolute; left: -9999px; }
.klein { font-size: 0.9rem; }

.filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.filter a {
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
}
.filter a[aria-current] { border-color: var(--accent); color: var(--accent); background: var(--surface-2); }

.productraster {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 1.25rem;
}
.productkaart {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    color: var(--text);
    text-decoration: none;
    transition: transform 0.2s, border-color 0.2s;
}
.productkaart:hover { transform: translateY(-3px); border-color: var(--accent); }
.productkaart-foto { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); }
.productkaart-foto img { width: 100%; height: 100%; object-fit: cover; }
.productkaart-leeg { display: grid; place-items: center; height: 100%; }
.productkaart-leeg .logo, .product-geen-foto .logo { width: 30%; max-width: 120px; opacity: 0.5; }
.badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--accent);
    color: var(--accent-text);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
}
.badge-binnenkort { background: var(--fruit); }
.badge-volgend_jaar { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.productkaart.niet-beschikbaar .productkaart-foto img { filter: grayscale(0.6) brightness(0.8); }
.productkaart.niet-beschikbaar .prijs { color: var(--muted); }
.niet-beschikbaar-blok .badge { position: static; display: inline-block; margin-bottom: 0.75rem; }
.niet-beschikbaar-tekst { margin-bottom: 0.5rem; }
.productkaart-tekst { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.25rem 1.25rem; }
.productkaart-tekst h3 { margin-bottom: 0.3rem; }
.productkaart-tekst p { color: var(--muted); font-size: 1rem; flex: 1; margin-bottom: 0.75rem; }
.productkaart-score { font-size: 0.95rem; margin-bottom: 0.5rem; }
.productkaart-voet { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; }
.prijs { font-weight: 700; font-size: 1.15rem; }
.beschikbaar { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.label {
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--muted);
}

.sterren { color: var(--border); letter-spacing: 0.05em; white-space: nowrap; }
.sterren .vol { color: var(--honing); }

.kruimelpad { font-size: 0.95rem; color: var(--muted); margin-bottom: 1.5rem; }

.product {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
    gap: 2.5rem;
    align-items: start;
}
.product-hoofdfoto { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); aspect-ratio: 4 / 3; }
.product-hoofdfoto img { width: 100%; height: 100%; object-fit: cover; }
.product-geen-foto { display: grid; place-items: center; }
.product-duimnagels { display: flex; gap: 0.5rem; margin-top: 0.75rem; overflow-x: auto; padding-bottom: 0.25rem; }
.product-duimnagels button {
    flex: 0 0 4.5rem;
    aspect-ratio: 1;
    padding: 0;
    border-radius: 8px;
    border: 2px solid transparent;
    overflow: hidden;
    background: none;
    cursor: pointer;
}
.product-duimnagels button[aria-pressed="true"] { border-color: var(--accent); }
.product-duimnagels img { width: 100%; height: 100%; object-fit: cover; }
.product-score { display: inline-block; color: var(--muted); text-decoration: none; margin-bottom: 0.75rem; }
.product-samenvatting { font-size: 1.2rem; color: var(--muted); }

.bestelblok { margin: 1.5rem 0; }
.bestelblok fieldset { border: 0; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.5rem; }
.bestelblok legend { font-weight: 600; margin-bottom: 0.5rem; }
.variant {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.25rem 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
}
.variant:has(input:checked) { border-color: var(--accent); background: var(--surface-2); }
.variant input { accent-color: var(--accent); width: 1.2rem; height: 1.2rem; }
.variant-prijs { font-weight: 700; }
.variant-voorraad { grid-column: 2 / -1; font-size: 0.85rem; color: var(--muted); }
.variant.uitverkocht { opacity: 0.55; cursor: not-allowed; }
.bestelregel { display: flex; flex-wrap: wrap; align-items: end; gap: 1rem; }
.aantal { display: grid; gap: 0.3rem; font-weight: 600; font-size: 1rem; }
.aantal input {
    width: 5rem;
    padding: 0.7rem 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: var(--bg);
    color: var(--text);
    font: inherit;
}
.verkrijgbaar ul { list-style: none; padding: 0; margin: 0 0 0.5rem; display: grid; gap: 0.4rem; }
.verkrijgbaar h2, .afrekenen h2, .bedankt h2 { font-size: 1.25rem; }

.product-omschrijving { max-width: 46rem; }

.reviewlijst { list-style: none; padding: 0; display: grid; gap: 1rem; margin: 0 0 1.5rem; }
.review p { margin: 0.5rem 0; }
.review footer { font-size: 0.9rem; }
.review-schrijven summary { font-size: 1.1rem; }
.sterkeuze { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
.sterkeuze legend { font-weight: 600; margin-bottom: 0.4rem; font-size: 1rem; }
.sterkeuze label { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--honing); cursor: pointer; }
.sterkeuze input { accent-color: var(--honing); }

.wagen-teller {
    display: inline-block;
    min-width: 1.4em;
    padding: 0 0.4em;
    border-radius: 999px;
    background: var(--accent);
    color: var(--accent-text);
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
}
.wagenregels { list-style: none; padding: 0; margin: 0; }
.wagenregel {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr) auto auto auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}
.wagenregel-foto { display: grid; place-items: center; width: 4rem; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.wagenregel-foto img { width: 100%; height: 100%; object-fit: cover; }
.wagenregel-foto .logo { width: 60%; opacity: 0.5; }
.wagenregel-naam { display: grid; }
.wagenregel-naam a { color: var(--text); font-weight: 600; }
.wagenregel-naam .muted, .wagenregel-naam .fout { font-size: 0.9rem; }
.wagenregel-bedrag { font-weight: 700; min-width: 5rem; text-align: right; }
button.knop-link {
    background: none;
    border: 0;
    border-radius: 6px;
    color: var(--muted);
    font-size: 1.1rem;
    font-weight: normal;
    cursor: pointer;
    padding: 0.5rem;
}
button.knop-link:hover { color: var(--fout); filter: none; }
.wagen-voet { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1rem; }
.wagen-totaal { font-size: 1.2rem; }
.wagen-acties { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.5rem; }
@media (max-width: 600px) {
    .wagenregel { grid-template-columns: 3.5rem minmax(0, 1fr) auto; }
    .wagenregel-foto { width: 3.5rem; }
    .wagenregel .aantal { grid-column: 2; }
    .wagenregel-bedrag { grid-column: 3; grid-row: 1; }
    .wagenregel .knop-link { grid-column: 3; grid-row: 2; justify-self: end; }
}

.afrekenen {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(min(100%, 300px), 2fr);
    gap: 1.5rem;
    align-items: start;
}
.afrekenen aside { display: grid; gap: 1.5rem; }
@media (max-width: 800px) { .afrekenen { grid-template-columns: 1fr; } }
.besteloverzicht { width: 100%; border-collapse: collapse; margin-bottom: 0.75rem; font-size: 1rem; }
.besteloverzicht th, .besteloverzicht td { text-align: left; padding: 0.4rem 0; border-bottom: 1px solid var(--border); }
.besteloverzicht .getal { text-align: right; padding-left: 1rem; white-space: nowrap; }
.besteloverzicht tfoot th { border-bottom: 0; font-size: 1.1rem; }

.ophaalkeuze { border: 0; padding: 0; margin: 0.5rem 0 0; display: grid; gap: 0.75rem; }
.ophaalkeuze legend { font-weight: 600; font-size: 1.1rem; margin-bottom: 0.5rem; }
.ophaaldag { display: grid; grid-template-columns: minmax(9rem, auto) 1fr; gap: 0.5rem 1rem; align-items: center; }
@media (max-width: 600px) { .ophaaldag { grid-template-columns: 1fr; } }
.ophaaldag-naam { font-weight: 600; }
.ophaaltijden { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ophaaltijd {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
}
.ophaaltijd:has(input:checked) { border-color: var(--accent); background: var(--surface-2); }
.ophaaltijd input { accent-color: var(--accent); }
.ophaaltijd small { color: var(--muted); }
.ophaaltijd.vol { opacity: 0.5; cursor: not-allowed; text-decoration: line-through; }
.ophaalkeuze.heeft-fout .ophaaltijd { border-color: var(--fout); }
.melding-geen { color: var(--muted); margin: 0; }
.onthoud-keuze { display: flex; align-items: center; gap: 0.5rem; font-size: 1rem; cursor: pointer; }
.onthoud-keuze input { accent-color: var(--accent); width: 1.1rem; height: 1.1rem; }
.onthoud-vergeet { margin: 0; }
button[type="submit"]:disabled { opacity: 0.5; cursor: not-allowed; filter: none; }
.ophaal-bevestiging { font-size: 1.15rem; }

.status-kolom { display: grid; gap: 1.5rem; }
.statusbalk { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.statusbalk li { display: grid; justify-items: center; text-align: center; gap: 0.4rem; font-size: 0.9rem; color: var(--muted); position: relative; }
.statusbalk li::before {
    content: ""; position: absolute; top: 0.95rem; left: -50%; right: 50%;
    border-top: 2px solid var(--border); z-index: 0;
}
.statusbalk li:first-child::before { display: none; }
.statusbalk li.gedaan::before { border-color: var(--accent); }
.statuspunt {
    position: relative; z-index: 1;
    display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
    border: 2px solid var(--border); background: var(--surface); font-weight: 700; color: var(--accent-text);
}
.statusbalk li.gedaan .statuspunt { background: var(--accent); border-color: var(--accent); }
.statusbalk li.huidig { color: var(--text); font-weight: 600; }
.status-geannuleerd { color: var(--fout); }
.meldingen li.warning { background: rgba(255, 138, 122, 0.12); border-color: rgba(255, 138, 122, 0.4); }

.bedankt { max-width: 40rem; margin: 0 auto; }
.bedankt .icoon { font-size: 2.5rem; }
.verkooppunten { max-width: 46rem; }

/* ---------- Activiteiten ---------- */
.activiteitenraster {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 1.25rem;
}
.activiteitkaart { display: flex; flex-direction: column; padding: 0; overflow: hidden; color: var(--text); text-decoration: none; transition: transform 0.2s, border-color 0.2s; }
.activiteitkaart:hover { transform: translateY(-3px); border-color: var(--accent); }
.activiteitkaart-foto { aspect-ratio: 4 / 3; background: var(--surface-2); }
.activiteitkaart-foto img { width: 100%; height: 100%; object-fit: cover; }
.activiteitkaart-tekst { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.25rem 1.25rem; }
.activiteitkaart-tekst time { color: var(--accent); font-size: 0.9rem; font-weight: 600; }
.activiteitkaart-tekst h3 { margin: 0.25rem 0 0.4rem; }
.activiteitkaart-tekst p { color: var(--muted); font-size: 1rem; flex: 1; }
.activiteitkaart .meer { color: var(--accent); font-weight: 600; }
.sectie-kop-met-link { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1rem; max-width: none; }
.paginering { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; }

.activiteit { max-width: 52rem; }
.activiteit-omslag { margin: 0 0 2rem; }
.activiteit-omslag img { border-radius: var(--radius); }
.activiteit-tekst { font-size: 1.15rem; }
.galerij-knop { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 10px; }

.vergroting { max-width: min(1200px, 96vw); max-height: 94vh; padding: 0; border: 0; border-radius: var(--radius); background: var(--bg); color: var(--text); overflow: hidden; }
.vergroting::backdrop { background: rgba(0, 0, 0, 0.85); }
.vergroting img { display: block; max-width: 100%; max-height: 84vh; margin: 0 auto; }
.vergroting-bijschrift { margin: 0; padding: 0.75rem 1rem; color: var(--muted); }
.vergroting-bijschrift:empty { display: none; }
.vergroting-sluit {
    position: absolute; top: 0.5rem; right: 0.5rem; width: 2.5rem; height: 2.5rem;
    border-radius: 50%; border: 0; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 1.1rem; cursor: pointer;
}

/* ---------- Spel ---------- */
.spel { max-width: 900px; scroll-margin-top: 5rem; }
.spel-veld { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--schaduw); }
.spel-veld canvas { display: block; width: 100%; aspect-ratio: 4 / 3; touch-action: manipulation; cursor: crosshair; background: #9fd0e8; }
.spel-scherm {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem;
    padding: 1.5rem; text-align: center;
    background: rgba(17, 19, 17, 0.86);
}
.spel-scherm[hidden] { display: none; }
.spel-scherm h2 { margin: 0; }
.spel-scherm p { margin: 0.25rem 0; max-width: 34rem; }
.spel-feitje { margin-top: 0.75rem !important; padding: 0.6rem 0.9rem; border-radius: 10px; background: rgba(230, 173, 66, 0.15); color: var(--text); font-style: italic; }
/* Kleine schermen: start-/eindscherm onder het speelveld in plaats van eroverheen */
@media (max-width: 700px) {
    .spel-veld { overflow: visible; box-shadow: none; }
    .spel-veld canvas { border-radius: var(--radius); box-shadow: var(--schaduw); }
    .spel-scherm {
        position: static;
        margin-top: 0.75rem;
        padding: 1rem;
        gap: 0.5rem;
        border-radius: var(--radius);
        background: var(--surface);
        border: 1px solid var(--border);
        font-size: 0.95rem;
    }
    .spel-scherm h2 { font-size: 1.25rem; }
    .spel-veld .spel-melding {
        bottom: 0.35rem; top: auto;
        width: auto; max-width: 78%;
        padding: 0.25rem 0.6rem;
        font-size: 0.72rem; line-height: 1.3;
        background: rgba(17, 19, 17, 0.78);
    }
}
.spel-melding {
    pointer-events: none;   /* alleen informatie: tikken gaan erdoorheen naar het speelveld */
    position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%);
    width: min(90%, 32rem); margin: 0; padding: 0.6rem 1rem; border-radius: 10px;
    background: rgba(17, 19, 17, 0.9); color: var(--text); text-align: center; font-size: 0.95rem;
}
.spel-tip { margin-top: 0.75rem; }
.spel-knoppen { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-top: 1rem; }
.spel-knoppen .knop { -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none; }
.spel-knoppen .knop[hidden] { display: none; }
.spel-knoppen .knop[aria-pressed="true"] { background: var(--accent); color: var(--accent-text); }
kbd { border: 1px solid var(--border); border-radius: 4px; padding: 0 0.35em; font-family: inherit; }
.hoornaar-vergelijking { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; margin-bottom: 1.25rem; }
.hoornaar-vergelijking ul { padding-left: 1.2rem; margin: 0; }
.hoornaars .melden p:last-child { margin-bottom: 0; }
.spel-uitnodiging { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.spel-uitnodiging .icoon { font-size: 2.5rem; }
.spel-uitnodiging > div { flex: 1 1 18rem; }
.spel-uitnodiging p { color: var(--muted); margin: 0; }

/* ---------- Cursussen ---------- */
.cursuskaart .prijs { margin-top: 0.5rem; }
.cursus-omslag { border-radius: var(--radius); margin-bottom: 1.5rem; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cursus-koop { position: sticky; top: 5.5rem; }
.cursus-prijs { font-size: 1.8rem; display: block; margin-bottom: 0.25rem; }
.lessenlijst { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; counter-reset: les; }
.lessenlijst li > a, .lessenlijst .les-dicht {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.8rem 1rem; border-radius: 10px; border: 1px solid var(--border); background: var(--surface);
    color: var(--text); text-decoration: none;
}
.lessenlijst li > a:hover { border-color: var(--accent); }
.lessenlijst .les-dicht { color: var(--muted); }
.lessenlijst .label { margin-left: auto; }
.les-icoon { width: 1.5rem; text-align: center; }
.les-navigatie { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.mijn-cursussen { display: grid; gap: 1rem; }
.mijn-cursus { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.mijn-cursus h2 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.mijn-cursus h2 a { color: var(--text); }
.voortgang { width: min(22rem, 70vw); height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.voortgang span { display: block; height: 100%; background: var(--accent); }
.inlogkaart { max-width: 30rem; margin: 0 auto; }
.inlogkaart h1 { font-size: 1.8rem; }
.code-invoer { font-size: 1.6rem !important; letter-spacing: 0.3em; }

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--border);
    background: var(--surface);
    color: var(--muted);
    font-size: 0.95rem;
    padding: 2rem 0;
}
.footer-content { padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.footer-content h2 { font-family: var(--tekst-font); font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.4rem; }
.footer-content p { max-width: 52rem; line-height: 1.6; }
.footer-onder { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.site-footer p { margin: 0; }
.footer-merk { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-merk .logo { width: 1.4rem; height: auto; }
.site-footer a { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
