/* Kilani's Kaaswinkel — stijlblad
   Kleuren en lettertypes komen uit ontwerp A2 (canvas). */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-wdth.woff2") format("woff2-variations"),
       url("../fonts/archivo-latin-wdth.woff2") format("woff2");
}

:root {
  --navy: #1C2541;
  --navy-donker: #141B30;
  --tekst-zacht: #3A4260;
  --tekst-gedempt: #5A6280;
  --geel: #F2B32A;
  --steen: #F4F1EA;
  --lijn: #E7E3DA;
  --rand-veld: #C9C4B8;
  --placeholder: #6B6455;
  --wit: #FFFFFF;
  --licht-op-navy: #C9CEDD;
  --radius: 20px;
  --max: 1200px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--wit);
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--navy); }
a:hover { color: var(--navy-donker); }
:focus-visible { outline: 3px solid var(--geel); outline-offset: 3px; }

.visueel-verborgen {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--geel); color: var(--navy); padding: 12px 18px; border-radius: 999px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container { max-width: var(--max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---------- Typografie ---------- */
.display {
  margin: 0;
  font-weight: 800;
  font-stretch: 68%;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.005em;
}
.display--hero { font-size: clamp(48px, 7.4vw, 104px); line-height: 0.88; }
.display--pagina { font-size: clamp(56px, 10vw, 150px); line-height: 0.85; }
.display--xl { font-size: clamp(42px, 6vw, 84px); line-height: 0.9; }
.display--lg { font-size: clamp(38px, 5vw, 68px); }
.display--md { font-size: clamp(30px, 3.4vw, 40px); line-height: 1; }
.display--sm { font-size: 30px; line-height: 1; }
.display--schotel { font-size: 38px; line-height: 1; }
.display--formulier { font-size: 34px; line-height: 1; }
.lead { font-size: 19px; color: var(--tekst-zacht); max-width: 520px; }
.lead--groot { font-size: 22px; line-height: 1.45; font-weight: 500; color: var(--navy); }
.gedempt { color: var(--tekst-zacht); }
.accent-tekst { color: var(--geel); }
p { margin: 0; }
.link-vet { font-weight: 700; }

/* Losse foto naast tekst */
.beeld { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
.beeld--5x4 { aspect-ratio: 5 / 4; }

/* ---------- Knoppen ---------- */
.knop {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 14px 26px; border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease;
}
.knop:hover { transform: translateY(-1px); }
.knop--geel { background: var(--geel); color: var(--navy); }
.knop--geel:hover { background: #E9A21B; color: var(--navy); }
.knop--navy { background: var(--navy); color: var(--wit); }
.knop--navy:hover { background: var(--navy-donker); color: var(--wit); }
.knop--rand { border-color: var(--navy); color: var(--navy); background: transparent; }
.knop--rand-licht { border-color: var(--wit); color: var(--wit); background: transparent; }
.knoppen { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---------- Infobalk & navigatie ---------- */
.infobalk { background: var(--navy); color: var(--wit); font-size: 14px; }
.infobalk .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 28px; padding-top: 10px; padding-bottom: 10px; }
.infobalk a { color: var(--wit); text-decoration: none; font-weight: 700; }
.infobalk .infobalk__adres { font-weight: inherit; }
.infobalk a:hover { text-decoration: underline; }

.kop { background: var(--wit); border-bottom: 1px solid var(--lijn); position: sticky; top: 0; z-index: 40; }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-top: 14px; padding-bottom: 14px; }
.nav__logo img { height: 56px; width: auto; }
.nav__links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 30px; font-weight: 600; font-size: 16px; margin: 0; padding: 0; list-style: none; }
.nav__links a { text-decoration: none; display: inline-block; padding: 10px 0; border-bottom: 3px solid transparent; }
.nav__links a[aria-current="page"] { border-bottom-color: var(--geel); }
.nav__links .knop { padding: 10px 22px; min-height: 44px; border-bottom: 0; }
.nav__links .knop[aria-current="page"] { background: var(--navy); color: var(--wit); }
.nav__toggle {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
  font: inherit; font-weight: 700; color: var(--navy); background: var(--steen);
  border: 0; border-radius: 999px; cursor: pointer;
}
@media (max-width: 860px) {
  .js .nav__toggle { display: inline-flex; }
  .js .nav__links { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 4px; }
  .js .nav__links.is-open { display: flex; }
  .js .nav__links li { width: 100%; }
  .js .nav__links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--lijn); }
  .js .nav__links .knop { display: flex; width: 100%; }
  .js .nav__links a[aria-current="page"] { border-bottom: 1px solid var(--lijn); box-shadow: inset 4px 0 0 var(--geel); padding-left: 14px; }
  .js .nav__links .knop { margin-top: 12px; }
  .nav__logo img { height: 48px; }
}

/* ---------- Secties ---------- */
.sectie { padding-top: 96px; padding-bottom: 96px; }
.sectie--steen { background: var(--steen); }
.sectie--navy { background: var(--navy); color: var(--wit); }
.sectie--geel { background: var(--geel); }
.sectie-kop { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; margin-bottom: 44px; }
.sectie-kop p { max-width: 380px; }
.gecentreerd { text-align: center; }
@media (max-width: 640px) { .sectie { padding-top: 64px; padding-bottom: 64px; } }

.rij { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.rij > * { flex: 1 1 420px; min-width: 0; }
@media (max-width: 640px) { .rij { gap: 40px; } .rij > * { flex-basis: 100%; } }
.lopende-tekst p + p { margin-top: 14px; }

/* ---------- Hero ---------- */
.hero { padding-top: 80px; padding-bottom: 104px; overflow: hidden; }
.hero__beeld { display: flex; justify-content: center; }
.cirkel-compositie { position: relative; width: min(520px, 100%); aspect-ratio: 1 / 1; }
.cirkel-compositie::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--geel); }
.cirkel-compositie__hoofd { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: cover; border-radius: 50%; }
.cirkel-compositie__klein {
  position: absolute; left: -4%; bottom: -2%; width: 38%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 50%; border: 8px solid var(--wit);
}
@media (max-width: 640px) { .hero { padding-top: 48px; padding-bottom: 72px; } .cirkel-compositie__klein { left: 0; } }

/* ---------- Kaarten ---------- */
.kaarten { display: flex; flex-wrap: wrap; gap: 28px; }
.kaart { flex: 1 1 300px; background: var(--wit); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.kaart img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.kaart__body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; }
.kaart__body .knop { margin-top: auto; }
.kaart h3 { margin: 0; }
.kaart h3.display--md { font-size: clamp(26px, 2.5vw, 32px); }
/* Noodrem: een woord dat niet past, breekt liever af dan dat de pagina horizontaal scrolt.
   Lange samenstellingen in koppen krijgen daarom &shy; op de naad (vlees&shy;schotel). */
.display { overflow-wrap: break-word; }

/* ---------- Collage aanbod ---------- */
.collage { display: flex; flex-wrap: wrap; gap: 20px; }
.collage + .collage { margin-top: 20px; }
.collage__item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; min-height: 220px; }
.collage__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.collage__groot { flex: 2 1 520px; min-height: 460px; }
.collage__stapel { flex: 1 1 320px; display: flex; flex-direction: column; gap: 20px; }
.collage__stapel .collage__item { flex: 1 1 220px; }
.collage__klein { flex: 1 1 240px; height: 260px; min-height: 0; }
.label {
  position: absolute; left: 16px; bottom: 16px; background: var(--geel); color: var(--navy);
  padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 15px;
}
.label--kaart {
  left: 20px; bottom: 20px; background: var(--wit); border-radius: 14px; padding: 16px 20px; max-width: 340px; font-weight: 400;
}
.label--kaart strong { display: block; margin-bottom: 6px; font-size: 28px; }
@media (max-width: 640px) { .collage__groot { min-height: 340px; } }
/* Klikbare foto's: <details> opent de uitleg, name="aanbod" houdt er maar één tegelijk open. */
.collage__item summary { position: absolute; inset: 0; display: block; cursor: pointer; list-style: none; border-radius: inherit; }
.collage__item summary::-webkit-details-marker { display: none; }
.collage__item summary:focus-visible { outline-offset: -6px; }
.collage__item[open] .label { opacity: 0; }
.collage__uitleg {
  position: absolute; inset: 0; z-index: 1; overflow-y: auto; cursor: pointer;
  display: flex; flex-direction: column; border-radius: inherit;
  padding: 16px 24px; background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  font-size: 16px; line-height: 1.5;
}
/* Auto-marges centreren verticaal en blijven, anders dan justify-content, veilig als de tekst scrolt. */
.collage__uitleg h3 { margin: auto 0 10px; font-size: 26px; }
.collage__uitleg p { margin: 0 0 auto; }
@media (min-width: 641px) {
  .collage__groot .collage__uitleg { padding: 32px; font-size: 18px; }
  .collage__groot .collage__uitleg h3 { font-size: 34px; }
  .collage__groot .collage__uitleg p { max-width: 560px; }
}
@media (prefers-reduced-motion: no-preference) {
  .collage__item[open] .collage__uitleg { animation: uitleg-in .2s ease-out; }
}
@keyframes uitleg-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Beeldstrook ---------- */
.strook { display: flex; flex-wrap: wrap; gap: 16px; }
.strook img { flex: 1 1 200px; min-width: 0; height: 240px; object-fit: cover; border-radius: 16px; }

/* ---------- Team ---------- */
.team { display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; }
.team article { flex: 1 1 340px; max-width: 520px; }
.team img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.team h3 { margin: 22px 0 4px; }
.rol { font-size: 17px; color: var(--tekst-gedempt); }

/* ---------- Openingsuren ---------- */
.uren { border-collapse: collapse; width: 100%; max-width: 440px; font-size: 17px; }
.uren caption { text-align: left; margin-bottom: 14px; }
.uren tr { border-top: 1px solid rgba(255,255,255,0.2); }
.uren tr:last-child { border-bottom: 1px solid rgba(255,255,255,0.2); }
.uren th { text-align: left; font-weight: 600; padding: 12px 0; }
.uren td { text-align: right; padding: 12px 0; }
.uren tr.vandaag th, .uren tr.vandaag td { color: var(--geel); }
.adres { font-size: 19px; margin-bottom: 6px; }
.sectie--navy a { color: var(--wit); }
.sectie--navy .knop--geel { color: var(--navy); }
.sectie--navy .formulier a { color: var(--navy); }

/* ---------- Over ons ---------- */
.paginakop { padding-top: 72px; padding-bottom: 48px; }
.paginakop__tekst { display: flex; flex-wrap: wrap; gap: 24px 56px; margin-top: 32px; }
.paginakop__tekst > :first-child { flex: 1 1 440px; }
.paginakop__tekst > :last-child { flex: 1 1 360px; }
.breed-beeld { width: 100%; height: clamp(260px, 40vw, 540px); object-fit: cover; border-radius: 24px; }
.duo { position: relative; padding-bottom: 56px; }
.duo__hoofd { width: 82%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.duo__rond { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; border: 8px solid var(--wit); }
.duo--steen .duo__rond { border-color: var(--steen); }
.duo--spiegel .duo__hoofd { margin-left: auto; }
.duo--spiegel .duo__rond { right: auto; left: 0; }
.persoon { margin-bottom: 112px; }
.persoon:last-child { margin-bottom: 0; }
.persoon--spiegel { flex-direction: row-reverse; }
.persoon .rol { font-size: 19px; margin: 8px 0 24px; }
.persoon h3 { font-size: clamp(44px, 5vw, 68px); line-height: 0.9; }
.persoon .duo__hoofd { width: 88%; }
.persoon .duo__rond { width: 38%; }
.persoon .rol + p { margin-bottom: 24px; }
.feiten { margin: 0; }
.feiten div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 14px 0; border-top: 1px solid var(--lijn); }
.feiten div:last-child { border-bottom: 1px solid var(--lijn); }
.feiten dt { font-weight: 700; }
.feiten dd { margin: 0; color: var(--placeholder); }
.nog-in-te-vullen {
  padding: 18px 22px; border: 2px dashed #B8B2A3; border-radius: 14px; color: var(--placeholder); font-style: italic;
}
span.nog-in-te-vullen { padding: 1px 8px; border-width: 1px; border-radius: 8px; }

/* ---------- Tekstpagina (privacy) ---------- */
.tekstpagina { max-width: 760px; padding-bottom: 96px; font-size: 18px; hyphens: auto; overflow-wrap: break-word; }
.tekstpagina h2 { margin: 48px 0 16px; }
.tekstpagina p + p, .tekstpagina p + ul, .tekstpagina ul + p { margin-top: 14px; }
.tekstpagina ul { margin: 0; padding-left: 22px; }
.tekstpagina li + li { margin-top: 4px; }
.tekstpagina a { font-weight: 600; }

.rondjes { display: flex; justify-content: center; align-items: flex-start; gap: 20px; }
.rondjes img { width: 46%; max-width: 240px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; border: 6px solid var(--wit); }
.rondjes img + img { margin-top: 48px; }
@media (max-width: 640px) { .persoon { margin-bottom: 72px; } }

/* ---------- Stappen ---------- */
.stappen { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 32px; }
.stappen li { flex: 1 1 280px; border-top: 3px solid var(--navy); padding: 24px 0; }
.stappen__nr { font-weight: 800; font-stretch: 68%; font-size: 84px; line-height: 0.9; color: var(--geel); }
.stappen h3 { margin: 12px 0 8px; }

/* ---------- Bestelformulier ---------- */
.bestel { align-items: flex-start; }
.bestel__info { flex: 1 1 340px; }
.bestel__info img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-top: 32px; }
.infolijst { margin-top: 28px; font-size: 16px; }
.infolijst p { padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.2); }
.infolijst p:last-child { border-bottom: 1px solid rgba(255,255,255,0.2); }
.infolijst span { color: var(--licht-op-navy); }

.formulier {
  flex: 1 1 540px; background: var(--wit); color: var(--navy); border-radius: 24px; padding: 40px;
  display: flex; flex-direction: column; gap: 22px;
}
@media (max-width: 640px) { .formulier { padding: 28px 20px; } }
.velden { display: flex; flex-wrap: wrap; gap: 22px; }
.veld { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.velden > .veld { flex: 1 1 200px; }
.velden > .veld--dubbel { flex: 2 1 260px; }
.velden > .veld--smal { flex: 1 1 160px; }
.veld--breed { flex-basis: 100%; }
.veld label { font-weight: 700; }
.veld .optioneel { font-weight: 400; color: var(--placeholder); }
.veld input, .veld select, .veld textarea {
  font: inherit; color: var(--navy); background: var(--wit);
  padding: 13px 16px; border: 1.5px solid var(--rand-veld); border-radius: 12px; width: 100%; min-height: 50px;
}
.veld textarea { resize: vertical; min-height: 120px; }
.veld input:focus, .veld select:focus, .veld textarea:focus { border-color: var(--navy); outline: 3px solid rgba(242,179,42,0.6); outline-offset: 0; }
.veld .hint { font-size: 14px; color: var(--placeholder); }
.veld .fout { font-size: 14px; color: #A3261C; font-weight: 600; }
.veld [aria-invalid="true"] { border-color: #A3261C; }

.schatting { background: var(--steen); border-radius: 18px; padding: 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.schatting__kop { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.schatting__bedrag { font-weight: 800; font-stretch: 68%; font-size: 48px; line-height: 1; }
.schatting__detail { font-size: 15px; color: var(--tekst-zacht); }
.schatting__plank { border-top: 1px solid #DDD7CA; padding-top: 14px; font-size: 15px; color: var(--tekst-zacht); display: flex; flex-direction: column; gap: 8px; }
.schatting__plank ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.schatting__plank strong { color: var(--navy); }
.schatting__voetnoot { font-size: 13px; color: var(--placeholder); }
.formulier__status { padding: 16px 18px; border-radius: 14px; font-weight: 600; }
.formulier__status--fout { background: #FBE9E7; color: #8A1F16; }
.formulier__status--ok { background: #E8F3EA; color: #1E5B2C; }
.bevestiging { display: flex; flex-direction: column; gap: 16px; }

/* ---------- Galerij ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--lijn); }
.filters button {
  font: inherit; font-weight: 600; font-size: 16px; min-height: 44px; padding: 10px 20px; cursor: pointer;
  background: var(--wit); color: var(--navy); border: 2px solid #D9D4C8; border-radius: 999px;
}
.filters button[aria-pressed="true"] { background: var(--navy); color: var(--wit); border-color: var(--navy); font-weight: 700; }
.filters__aantal { margin-left: auto; color: var(--tekst-gedempt); font-size: 15px; }
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.fotocredits { padding: 24px 0 96px; font-size: 14px; color: var(--tekst-gedempt); }
.raster a { display: block; border-radius: 16px; overflow: hidden; background: var(--steen); cursor: zoom-in; }
.raster img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s ease; }
.raster a:hover img { transform: scale(1.03); }
.raster [hidden] { display: none; }

.lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(15,21,41,0.95); color: var(--wit); }
.lightbox::backdrop { background: rgba(15,21,41,0.95); }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; }
.lightbox img { max-width: min(1200px, 100%); max-height: 78vh; object-fit: contain; border-radius: 12px; }
.lightbox__balk { display: flex; align-items: center; gap: 20px; }
.lightbox__tekst { text-align: center; min-width: 64px; font-size: 16px; color: #AEB4C8; }
.ronde-knop {
  width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; border: 2px solid var(--wit); background: transparent; color: var(--wit);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.ronde-knop--sluit { position: absolute; top: 16px; right: 16px; background: var(--wit); color: var(--navy); border: 0; }

/* ---------- Footer ---------- */
.voet { background: var(--navy-donker); color: var(--licht-op-navy); font-size: 15px; }
.voet .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-top: 48px; padding-bottom: 48px; }
.voet img { height: 52px; width: auto; }
.voet nav ul { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; }
.voet a { color: var(--wit); text-decoration: none; }
.voet a:hover { color: var(--geel); }
.voet__info { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }

/* ---------- Admin ---------- */
.admin { max-width: 980px; margin: 0 auto; padding: 48px 24px 96px; }
.admin table { width: 100%; border-collapse: collapse; margin: 16px 0 8px; }
.admin th, .admin td { padding: 10px 8px; border-bottom: 1px solid var(--lijn); text-align: left; vertical-align: middle; }
.admin thead th { font-size: 14px; color: var(--tekst-gedempt); font-weight: 700; }
.admin input[type="number"], .admin input[type="text"], .admin input[type="password"], .admin input[type="date"] {
  font: inherit; padding: 10px 12px; border: 1.5px solid var(--rand-veld); border-radius: 10px; width: 100%; max-width: 180px; color: var(--navy);
}
.admin .euro { display: flex; align-items: center; gap: 6px; }
.admin fieldset { min-width: 0; border: 1px solid var(--lijn); border-radius: 16px; padding: 20px 24px; margin: 28px 0 0; }
.admin legend { font-weight: 800; font-stretch: 68%; text-transform: uppercase; font-size: 26px; padding: 0 8px; }
.admin .tabel-scroll { overflow-x: auto; }
.volzet-lijst { list-style: none; margin: 16px 0 0; padding: 0; }
.volzet-lijst li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 10px 0; border-bottom: 1px solid var(--lijn); }
.volzet-lijst .knop { padding: 8px 16px; font-size: 14px; }
