/* BOM 2026: groen van de vest, goud en zwart van het logo, crème als achtergrond. */

:root {
  --groen-950: #141c12;
  --groen-900: #1d2a1a;
  --groen-800: #273824;
  --groen-700: #364c30;
  --groen-500: #5a7048;
  --goud-600: #a8780c;
  --goud-500: #e2a822;
  --goud-400: #f0c043;
  --creme-50: #fcf8ef;
  --creme-100: #f5ecd8;
  --creme-200: #e6d8b8;
  --inkt: #1c1b17;
  --inkt-zacht: #4b483f;
  --rood: #9c3417;

  --font-kop: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-tekst: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --breedte: 1120px;
  --radius: 8px;
  --schaduw: 0 14px 36px rgba(20, 28, 18, 0.22);
  --sectie-ruimte: clamp(3.5rem, 2rem + 5vw, 6rem);
  --foto-overlap: clamp(3rem, 1rem + 7vw, 8rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-tekst);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--inkt);
  background: var(--creme-50);
}

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

/* <picture> kiest alleen het bestandsformaat (AVIF, WebP); de opmaak zit op de <img> erin. */
picture {
  display: contents;
}

/* Anders telt Chrome de lege <source> mee als flex-item, met een extra gap ervoor. */
picture source {
  display: none;
}

a {
  color: var(--groen-700);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--goud-600);
}

:focus-visible {
  outline: 3px solid var(--goud-400);
  outline-offset: 2px;
}

h1,
h2,
h3 {
  font-family: var(--font-kop);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h2 {
  font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(100% - 2rem, var(--breedte));
  margin-inline: auto;
}

.naar-inhoud {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--goud-500);
  color: var(--inkt);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
}

.naar-inhoud:focus {
  top: 1rem;
}

.bovenkop {
  margin-bottom: 0.6rem;
  font-family: var(--font-tekst);
  line-height: 1.4;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--goud-600);
}

/* Topbalk */

.topbalk {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--groen-900);
  color: var(--creme-50);
  border-bottom: 2px solid var(--goud-500);
}

.topbalk__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.5rem;
  padding-block: 0.5rem;
}

.topbalk__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: auto;
  color: inherit;
  font-family: var(--font-kop);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.topbalk__logo:hover {
  color: var(--goud-400);
}

.topbalk__logo img {
  width: 44px;
  height: 44px;
}

.menu {
  order: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.25rem;
  width: 100%;
  padding-bottom: 0.25rem;
}

.menu a,
.talen a {
  color: var(--creme-100);
  text-decoration: none;
}

.menu a {
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.menu a:hover,
.talen a:hover,
.menu a[aria-current="page"] {
  color: var(--goud-400);
}

.talen {
  display: flex;
  gap: 0.25rem;
}

.talen a {
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
}

.talen a[aria-current="page"] {
  background: var(--goud-500);
  color: var(--inkt);
}

@media (min-width: 760px) {
  .menu {
    order: 0;
    width: auto;
    padding-bottom: 0;
  }
}

/* Hero */

.hero {
  /* flow-root: anders schuift de negatieve marge van de foto mee buiten de sectie
     en loopt het groen door tot onder de foto. */
  display: flow-root;
  padding-top: clamp(2rem, 1rem + 4vw, 4rem);
  background:
    radial-gradient(ellipse 80% 60% at 30% 0%, rgba(90, 112, 72, 0.55), transparent 70%),
    var(--groen-900);
  color: var(--creme-50);
}

.hero__inner {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  text-align: center;
}

.hero__logo {
  width: min(50vw, 210px);
  margin: 0;
}

.hero__logo img {
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.4));
}

.hero .bovenkop {
  color: var(--goud-400);
}

.sier {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 22rem;
  margin: 0 auto 1rem;
  color: var(--goud-500);
  font-size: 0.7rem;
}

.sier::before,
.sier::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.hero__tagline {
  max-width: 24ch;
  margin: 0 auto 1.75rem;
  font-family: var(--font-kop);
  font-size: clamp(1.4rem, 1rem + 1.6vw, 2.1rem);
  line-height: 1.3;
}

.knoppen {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.knop {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border: 2px solid var(--goud-500);
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.knop--goud {
  background: var(--goud-500);
  color: var(--inkt);
}

.knop--goud:hover {
  background: var(--goud-400);
  border-color: var(--goud-400);
  color: var(--inkt);
}

.knop--rand {
  background: transparent;
  color: var(--creme-50);
}

.knop--rand:hover {
  background: rgba(226, 168, 34, 0.15);
  color: var(--creme-50);
}

.knop--groen {
  background: var(--groen-700);
  border-color: var(--groen-700);
  color: var(--creme-50);
}

.knop--groen:hover {
  background: var(--groen-800);
  border-color: var(--groen-800);
  color: var(--creme-50);
}

.knop:disabled {
  opacity: 0.6;
  cursor: progress;
}

.hero__foto {
  width: min(100% - 2rem, var(--breedte));
  /* De foto ligt half over het groen en half over het crème. */
  margin: 0 auto calc(-1 * var(--foto-overlap));
  position: relative;
  border: 5px solid var(--creme-50);
  border-radius: 4px;
  box-shadow: 0 0 0 1px var(--goud-500), var(--schaduw);
}

/* Op brede schermen minder bomen, meer muzikanten. */
@media (min-width: 700px) {
  .hero__foto {
    aspect-ratio: 2 / 1;
    object-fit: cover;
    object-position: 50% 78%;
  }
}

@media (min-width: 860px) {
  .hero__inner {
    grid-template-columns: 290px 1fr;
    justify-items: start;
    align-items: center;
    gap: 3.5rem;
    text-align: left;
  }

  .hero__logo {
    width: 290px;
  }

  .sier {
    margin-left: 0;
  }

  .hero__tagline {
    margin-left: 0;
  }

  .knoppen {
    justify-content: flex-start;
  }
}

/* Secties */

.sectie {
  padding-block: var(--sectie-ruimte);
}

.sectie--creme {
  background: var(--creme-100);
}

.sectie--groen {
  background: var(--groen-800);
  color: var(--creme-50);
}

.sectie--groen .bovenkop {
  color: var(--goud-400);
}

.sectie__kop {
  margin-bottom: 2.5rem;
  text-align: center;
}

#over-ons {
  padding-top: calc(var(--foto-overlap) + var(--sectie-ruimte));
}

/* Over ons */

.over {
  display: grid;
  gap: 2.5rem;
}

.over__tekst p:last-child {
  margin-bottom: 0;
}

.stijlen {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stijlen li {
  padding: 1.1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--creme-200);
  border-left: 4px solid var(--goud-500);
  border-radius: var(--radius);
}

.stijlen h3 {
  margin-bottom: 0.25rem;
  color: var(--groen-700);
}

.stijlen p {
  margin: 0;
  color: var(--inkt-zacht);
}

@media (min-width: 860px) {
  .over {
    grid-template-columns: 1.25fr 1fr;
    align-items: start;
    gap: 4rem;
  }
}

/* Agenda */

.agenda {
  display: grid;
  gap: 1.5rem;
}

.uitgelicht {
  display: grid;
  overflow: hidden;
  background: var(--creme-50);
  color: var(--inkt);
  border: 1px solid var(--goud-500);
  border-radius: var(--radius);
  box-shadow: var(--schaduw);
}

.datum {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-kop);
  line-height: 1.1;
  text-align: center;
}

.datum__dag {
  font-size: 1.9rem;
  font-weight: 700;
}

.datum__maand {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.datum__jaar {
  font-size: 0.85rem;
}

.uitgelicht__datum {
  flex-direction: row;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem;
  background: var(--goud-500);
  color: var(--inkt);
}

.uitgelicht__datum .datum__dag {
  font-size: 2.2rem;
}

.uitgelicht__datum .datum__maand {
  font-size: 1.1rem;
}

.uitgelicht__datum .datum__jaar {
  font-size: 1rem;
}

.uitgelicht__info {
  padding: clamp(1.25rem, 1rem + 2vw, 2.25rem);
}

.uitgelicht__info h3 {
  font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.3rem);
  color: var(--groen-800);
}

.label {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--groen-700);
  color: var(--creme-50);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.meta {
  color: var(--inkt-zacht);
  font-weight: 600;
}

.meta + .adres {
  margin-top: -0.6em;
}

.adres a {
  font-weight: 600;
}

.prijs {
  margin-bottom: 0.25rem;
  font-family: var(--font-kop);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--groen-700);
}

@media (min-width: 700px) {
  .uitgelicht {
    grid-template-columns: 190px 1fr;
  }

  .uitgelicht__datum {
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 1.25rem;
  }

  .uitgelicht__datum .datum__dag {
    font-size: 3.5rem;
  }
}

.lijst {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.optreden {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(245, 236, 216, 0.18);
  border-radius: var(--radius);
}

.optreden .datum {
  color: var(--goud-400);
}

.optreden__naam {
  margin: 0;
  font-family: var(--font-kop);
  font-size: 1.2rem;
  font-weight: 700;
}

.optreden__meta {
  margin: 0;
  color: var(--creme-200);
}

.optreden__adres {
  margin: 0;
}

.optreden__adres a {
  color: var(--creme-100);
}

.optreden__adres a:hover {
  color: var(--goud-400);
}

.optreden__omschrijving {
  margin: 0.35rem 0 0;
  color: var(--creme-100);
}

.optreden__link {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--goud-400);
}

.leeg {
  margin: 0;
  text-align: center;
  color: var(--creme-200);
}

.leeg a,
.sectie--groen .leeg a {
  color: var(--goud-400);
}

.voorbij {
  max-width: 640px;
  margin: 3.5rem auto 0;
}

.voorbij h3 {
  text-align: center;
  color: var(--goud-400);
}

.voorbij ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Op een gsm staan de gemeente en de link naar de foto's altijd onder de naam, zodat elke rij
   er hetzelfde uitziet. Vanaf 700 px staat alles op één regel: de link naast de naam, de gemeente rechts. */
.voorbij li {
  display: grid;
  grid-template-columns: 6rem auto 1fr;
  gap: 0.1rem 1rem;
  align-items: baseline;
  padding: 0.65rem 0;
  border-bottom: 1px dashed rgba(245, 236, 216, 0.25);
}

.voorbij .wanneer {
  grid-area: 1 / 1;
  /* Rechts uitgelijnd, zodat de jaartallen onder elkaar staan. */
  text-align: right;
  color: var(--goud-400);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.voorbij .naam {
  grid-area: 1 / 2 / auto / -1;
}

.voorbij .gemeente {
  grid-area: 2 / 2;
  color: var(--creme-200);
  font-size: 0.95rem;
}

.voorbij .fotolink {
  grid-area: 2 / 3;
  color: var(--goud-400);
  font-size: 0.9rem;
  font-weight: 700;
}

@media (min-width: 700px) {
  .voorbij li {
    grid-template-columns: 6rem auto 1fr auto;
  }

  .voorbij .naam {
    grid-area: 1 / 2;
  }

  .voorbij .fotolink {
    grid-area: 1 / 3;
    justify-self: start;
    margin-left: -0.5rem;
  }

  .voorbij .gemeente {
    grid-area: 1 / 4;
    font-size: inherit;
  }
}

/* Reservatie (ingebed in het uitgelichte concert) */

.reservatie {
  margin-top: 1.25rem;
}

.reservatie summary {
  display: inline-block;
  list-style: none;
}

.reservatie summary::-webkit-details-marker {
  display: none;
}

/* Aanvraag */

.aanvraag {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .aanvraag {
    grid-template-columns: 1fr 1.15fr;
    align-items: start;
    gap: 4rem;
  }
}

.gelegenheden {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.gelegenheden li {
  padding: 0.35rem 0.85rem;
  background: var(--creme-50);
  border: 1px solid var(--creme-200);
  border-radius: 999px;
  font-size: 0.95rem;
}

.contact {
  padding-top: 1.25rem;
  border-top: 1px solid var(--creme-200);
}

/* Formulieren */

.formulier {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 1rem + 2vw, 2rem);
  background: #fff;
  border-top: 5px solid var(--groen-700);
  border-radius: var(--radius);
  box-shadow: var(--schaduw);
}

.formulier--ingebed {
  margin-top: 1rem;
  background: var(--creme-100);
  border: 1px solid var(--creme-200);
  border-top: 5px solid var(--groen-700);
  box-shadow: none;
}

.form__uitleg,
.form__privacy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--inkt-zacht);
}

.velden-2 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .velden-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.veld {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.veld label,
.veld legend {
  padding: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.veld legend {
  margin-bottom: 0.35rem;
}

.veld input,
.veld textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid #c9bfa6;
  border-radius: 4px;
  background: var(--creme-50);
  color: var(--inkt);
  font: inherit;
}

.veld input:focus,
.veld textarea:focus {
  border-color: var(--groen-700);
  outline: 2px solid var(--goud-400);
  outline-offset: 0;
}

.veld--smal input {
  max-width: 10rem;
}

.keuzes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.keuzes label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 400;
}

.keuzes input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--groen-700);
}

.hint {
  font-weight: 400;
  color: var(--inkt-zacht);
}

.verplicht {
  color: var(--rood);
}

.formulier .knop {
  justify-self: start;
}

.form__status {
  margin: 0;
  font-weight: 600;
}

.form__status:empty {
  display: none;
}

.form__status--ok {
  color: var(--groen-700);
}

.form__status--fout {
  color: var(--rood);
}

.botcheck {
  display: none;
}

/* Tekstpagina's (privacy) */

.tekstpagina {
  max-width: 46rem;
}

.tekstpagina h1 {
  font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem);
}

.tekstpagina h2 {
  margin-top: 2rem;
  font-size: 1.4rem;
}

/* Foto's */

.fotopagina h1 {
  font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem);
}

.fotopagina .sectie__kop p:last-child {
  max-width: 40rem;
  margin: 0 auto;
  color: var(--inkt-zacht);
}

.melding {
  margin: 0;
  text-align: center;
  color: var(--inkt-zacht);
}

.albums {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.albumkaart {
  display: block;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--creme-200);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(20, 28, 18, 0.1);
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.albumkaart:hover {
  color: inherit;
  transform: translateY(-3px);
  box-shadow: var(--schaduw);
}

.albumkaart img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--creme-200);
}

.albumkaart__tekst {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 4px solid var(--goud-500);
}

.albumkaart h2 {
  margin-bottom: 0.25rem;
  font-size: 1.35rem;
  color: var(--groen-700);
}

.albumkaart__meta,
.album__meta {
  margin: 0;
  color: var(--inkt-zacht);
  font-weight: 600;
}

.album__terug {
  display: inline-block;
  margin-bottom: 1rem;
  font-weight: 600;
}

.album h2:focus {
  outline: none;
}

.album__meta {
  margin-bottom: 1.5rem;
}

.album__raster {
  display: grid;
  /* Op een gsm twee kolommen, op een groot scherm vier of vijf. */
  grid-template-columns: repeat(auto-fill, minmax(min(200px, calc(50% - 0.25rem)), 1fr));
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.album__raster a {
  display: block;
  overflow: hidden;
  border-radius: 4px;
}

.album__raster img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--creme-200);
  transition: transform 0.2s;
}

.album__raster a:hover img {
  transform: scale(1.04);
}

/* Grote weergave van een foto */

html:has(.lightbox[open]) {
  overflow: hidden;
}

.lightbox {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(14, 20, 12, 0.94);
  color: var(--creme-50);
  /* Vegen gaat naar ons script; inzoomen met twee vingers blijft werken. */
  touch-action: pinch-zoom;
}

.lightbox__figuur {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: 100%;
  margin: 0;
  padding: 4rem 1rem 5rem;
}

.lightbox__foto {
  width: auto;
  max-height: calc(100dvh - 11rem);
  object-fit: contain;
  border-radius: 4px;
  box-shadow: var(--schaduw);
}

.lightbox__teller {
  color: var(--creme-200);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0 0 0.2rem;
  border: 2px solid var(--goud-500);
  border-radius: 50%;
  background: rgba(20, 28, 18, 0.7);
  color: var(--creme-50);
  font: inherit;
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox button:hover {
  background: var(--goud-500);
  color: var(--inkt);
}

.lightbox__sluit {
  top: 0.75rem;
  right: 0.75rem;
}

/* Op een gsm staan de pijltjes onderaan, zodat ze de foto niet bedekken. */
.lightbox__vorige,
.lightbox__volgende {
  bottom: 1rem;
}

.lightbox__vorige {
  left: calc(50% - 4.5rem);
}

.lightbox__volgende {
  right: calc(50% - 4.5rem);
}

@media (min-width: 700px) {
  .lightbox__figuur {
    padding: 4rem 5.5rem 3rem;
  }

  .lightbox__foto {
    max-height: calc(100dvh - 8rem);
  }

  .lightbox__vorige,
  .lightbox__volgende {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
  }

  .lightbox__vorige {
    left: 1rem;
  }

  .lightbox__volgende {
    right: 1rem;
  }
}

/* Voet */

.voet {
  padding-block: 2.5rem;
  background: var(--groen-950);
  border-top: 3px solid var(--goud-500);
  color: var(--creme-200);
  text-align: center;
}

.voet img {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.75rem;
}

.voet p {
  margin: 0;
}

.voet a {
  color: var(--goud-400);
}

.voet nav {
  display: flex;
  /* Anders loopt het e-mailadres op een gsm buiten het scherm en zoomt de hele pagina uit. */
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.25rem;
  margin: 0.75rem 0;
}

.voet small {
  opacity: 0.7;
}
