/* PROTOTYPE styling. System fonts only: no external font requests. */
:root {
  --groen: #1f3a2d;
  --groen-licht: #e8efe9;
  --accent: #b5833a;
  --achtergrond: #faf8f4;
  --kaart: #ffffff;
  --tekst: #1d1d1b;
  --zacht: #6b6b66;
  --lijn: #e7e2d8;
  --radius: 14px;
  --schaduw: 0 1px 2px rgb(0 0 0 / .04), 0 8px 24px rgb(0 0 0 / .06);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 1.0625rem/1.65 var(--sans); color: var(--tekst); background: var(--achtergrond); min-height: 100vh; display: flex; flex-direction: column; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--groen); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 1rem; }
h2 { font-size: 1.6rem; margin: 2.5rem 0 1rem; }

.proef { background: #8c1d18; color: #fff; text-align: center; padding: .35rem 1rem; font-size: .8rem; letter-spacing: .02em; }

/* Header */
.kop { position: sticky; top: 0; z-index: 10; background: rgb(250 248 244 / .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--lijn); }
.kop-binnen { max-width: 68rem; margin: 0 auto; padding: .75rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.merk { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--groen); text-decoration: none; }
.merk span { color: var(--accent); }
nav { display: flex; gap: .25rem; flex-wrap: wrap; }
nav a { text-decoration: none; color: var(--tekst); padding: .4rem .8rem; border-radius: 999px; font-size: .95rem; }
nav a:hover { background: var(--groen-licht); }
nav a[aria-current] { background: var(--groen); color: #fff; }
@media (max-width: 40rem) {
  .kop-binnen { flex-direction: column; align-items: flex-start; gap: .4rem; }
  nav a { padding: .3rem .7rem; }
}

/* Hero */
.hero { position: relative; height: min(62vh, 34rem); overflow: hidden; background: var(--groen); }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .6), rgb(0 0 0 / 0) 60%); }
.hero h1 { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; max-width: 68rem; margin: 0 auto; padding: 1.5rem 1rem; color: #fff; }

main { flex: 1; width: 100%; max-width: 46rem; margin: 0 auto; padding: 2.5rem 1rem 4rem; }
main.breed { max-width: 68rem; }
main > p:first-of-type { font-size: 1.15rem; }
main img { border-radius: var(--radius); }

/* Cards */
.kaart { background: var(--kaart); border: 1px solid var(--lijn); border-radius: var(--radius); box-shadow: var(--schaduw); overflow: hidden; }
.kaart-tekst { padding: 1.25rem 1.5rem 1.5rem; }
.kaart h2 { margin: 0 0 .25rem; font-size: 1.4rem; }
.meta { color: var(--zacht); font-size: .9rem; margin: 0 0 .75rem; }
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 1.5rem; }
.raster .kaart > img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 0; }
.fotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: .75rem 0; }
.fotos img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.prijs { display: inline-block; background: var(--groen-licht); color: var(--groen); font-weight: 600; padding: .2rem .7rem; border-radius: 999px; font-size: .9rem; }

/* Class schedule */
.lessen { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.les { display: flex; align-items: center; gap: 1rem; background: var(--kaart); border: 1px solid var(--lijn); border-radius: var(--radius); padding: .75rem 1rem; box-shadow: var(--schaduw); }
.datumtegel { flex: none; width: 4rem; text-align: center; background: var(--groen); color: #fff; border-radius: 10px; padding: .35rem 0; line-height: 1.1; }
.datumtegel small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.datumtegel strong { display: block; font-size: 1.5rem; font-family: var(--serif); }
.les-info { flex: 1; min-width: 0; }
.les-info strong { display: block; }
.les-uur { color: var(--zacht); font-size: .95rem; }
.label { flex: none; font-size: .8rem; color: var(--groen); background: var(--groen-licht); padding: .2rem .6rem; border-radius: 999px; }
@media (max-width: 30rem) { .les .label { display: none; } }
.knop { display: inline-block; background: var(--groen); color: #fff; text-decoration: none; padding: .7rem 1.3rem; border-radius: 999px; font-weight: 600; }
.knop:hover { background: #2d5240; }

footer { background: var(--groen); color: #dfe7e1; text-align: center; font-size: .9rem; padding: 2.5rem 1rem; }
footer strong { font-family: var(--serif); color: #fff; font-size: 1.1rem; }

/* Month grid */
.kalender { padding: 1rem; margin-bottom: 2rem; }
.kal-kop { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.kal-titel { display: block; font-family: var(--serif); font-size: 1.25rem; }
.kal-titel::first-letter, .kal-dag h3::first-letter { text-transform: uppercase; }
.kal-kop button { width: 2.5rem; height: 2.5rem; border: 1px solid var(--lijn); border-radius: 50%; background: var(--kaart); font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--groen); }
.kal-kop button:disabled { opacity: .3; cursor: default; }
.kal-weekdagen, .kal-raster { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .25rem; text-align: center; }
.kal-weekdagen { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--zacht); margin-bottom: .25rem; }
.kal-raster button { position: relative; aspect-ratio: 1; border: 0; border-radius: 10px; background: transparent; font: inherit; font-size: .95rem; color: var(--tekst); cursor: pointer; }
.kal-raster button:hover { background: var(--groen-licht); }
.kal-raster button.voorbij { color: #b9b5ac; }
.kal-raster button.vandaag { outline: 2px solid var(--accent); outline-offset: -2px; font-weight: 700; }
.kal-raster button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
.kal-raster button.gesloten { background: repeating-linear-gradient(135deg, #ece8df 0 6px, #f4f1ea 6px 12px); color: var(--zacht); }
.kal-raster button[aria-pressed="true"] { background: var(--groen); color: #fff; }
.stippen { display: flex; gap: 3px; height: 6px; }
.stip { display: inline-block; width: 6px; height: 6px; border-radius: 50%; }
.stip-les { background: var(--groen); }
.stip-act { background: var(--accent); }
.kal-raster button[aria-pressed="true"] .stip-les { background: #fff; }
.kal-legende { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; font-size: .8rem; color: var(--zacht); margin: .75rem 0 0; }
.kal-legende .stip { margin-left: .4rem; }
.kal-legende .vlak { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-left: .4rem; background: repeating-linear-gradient(135deg, #ece8df 0 3px, #f4f1ea 3px 6px); border: 1px solid var(--lijn); }
.kal-item { padding: .4rem 0; }
.kal-item p { margin: 0; }
.les-uitleg { display: block; font-size: .9rem; color: var(--zacht); }
a.les-uitleg { color: var(--groen); font-weight: 600; }
.label:empty { display: none; }
.les.type-wedstrijd .datumtegel, .les.type-evenement .datumtegel { background: var(--accent); }
.les.type-gesloten .datumtegel { background: #8a867d; }
.les.type-wedstrijd .label, .les.type-evenement .label, .kal-item.type-wedstrijd .label, .kal-item.type-evenement .label { background: #f5ead8; color: #7a5520; }
.les.type-gesloten .label, .kal-item.type-gesloten .label { background: #ece8df; color: #5d5a53; }
.kal-dag { border-top: 1px solid var(--lijn); margin-top: .75rem; padding-top: .75rem; min-height: 4.5rem; }
.kal-dag h3 { margin: 0 0 .5rem; font-size: 1.1rem; }
.kal-les { margin: .25rem 0; }
.kal-dag .meta { margin: 0; }
@media (min-width: 40rem) { .kal-raster button { aspect-ratio: auto; height: 3.25rem; } }

/* Tables in page text (prices) */
main table { width: 100%; border-collapse: collapse; background: var(--kaart); border: 1px solid var(--lijn); border-radius: var(--radius); overflow: hidden; margin: 1rem 0 1.5rem; }
main th, main td { text-align: left; padding: .6rem 1rem; border-bottom: 1px solid var(--lijn); }
main th { background: var(--groen-licht); color: var(--groen); font-size: .9rem; }
main td:last-child, main th:last-child { text-align: right; font-weight: 600; }
main tr:last-child td { border-bottom: 0; }
main ul { padding-left: 1.2rem; }
main li { margin: .3rem 0; }
