/* De Zaanse Akker — landelijk, huiselijk, gezellig */

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-italic.woff2") format("woff2"); font-weight: 200 1000; font-style: italic; font-display: swap; }

:root {
  --cream: #FBF7EF;
  --paper: #FFFDF8;
  --linen: #F3EADB;
  --wheat: #EADBC0;
  --ink: #2A2A24;
  --ink-soft: #57544A;
  --green-900: #22361E;
  --green-800: #2C4626;
  --green-700: #345A2B;
  --green-600: #3E7031;
  --green-500: #5B9A3B;
  --green-100: #E5EEDA;
  --sun: #F4C431;
  --sun-soft: #FCEFC2;
  --clay: #A9542F;
  --clay-soft: #F5DFD2;
  --line: #E3D7C2;

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 28px;
  --shadow: 0 1px 2px rgba(60, 45, 20, .06), 0 10px 30px -8px rgba(60, 45, 20, .16);
  --shadow-s: 0 1px 2px rgba(60, 45, 20, .08), 0 4px 12px -4px rgba(60, 45, 20, .12);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
picture img { width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  color: var(--green-900);
  margin: 0 0 .5em;
  letter-spacing: -.01em;
  font-variation-settings: "SOFT" 100, "WONK" 0;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 800; }

a { color: var(--green-700); text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
a:hover { color: var(--clay); text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: 12px; top: -60px; background: var(--green-800); color: #fff; padding: 10px 16px; border-radius: var(--radius-s); z-index: 100; font-weight: 800; }
.skip:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }

/* ---------- Kop ---------- */
.ontwerp-band { background: var(--sun); color: var(--green-900); text-align: center; font-size: .85rem; font-weight: 800; padding: 4px 12px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(60, 45, 20, .5); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.brand { display: block; flex: none; }
.brand img { width: 190px; height: auto; }
@media (min-width: 1100px) { .brand img { width: 220px; } }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 10px 11px; border-radius: 999px; white-space: nowrap;
  color: var(--ink); font-weight: 700; text-decoration: none; font-size: 1.02rem;
}
.nav a:hover { background: var(--linen); color: var(--green-800); }
.nav a[aria-current="page"] { color: var(--green-800); background: var(--green-100); }
.nav .btn { margin-left: 10px; display: inline-flex; padding: .55em 1.05em; }
.nav .btn:hover { background: #F7CF4E; color: var(--green-900); }
.nav-toggle { display: none; }

@media (max-width: 1200px) {
  .site-header .wrap { min-height: 68px; }
  .brand img { width: 168px; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px; margin-left: auto;
    font: inherit; font-weight: 800; color: var(--green-900);
    background: var(--linen); border: 0; border-radius: 999px; padding: 10px 16px; cursor: pointer;
  }
  .nav-toggle svg { width: 22px; height: 22px; }
  .js .nav { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 6px;
    background: var(--paper); padding: 12px var(--gutter) 22px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .js .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; }
  .nav a { padding: 13px 14px; font-size: 1.12rem; border-radius: var(--radius-s); }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 800; font-size: 1.02rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s, background-color .15s, box-shadow .15s, color .15s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--green-700); color: #fff; box-shadow: 0 6px 16px -8px rgba(34, 54, 30, .8); }
.btn--primary:hover { background: var(--green-800); color: #fff; }
.btn--sun { background: var(--sun); color: var(--green-900); box-shadow: 0 6px 16px -8px rgba(150, 110, 0, .7); }
.btn--sun:hover { background: #F7CF4E; color: var(--green-900); }
.btn--ghost { background: transparent; color: var(--green-800); border-color: currentColor; }
.btn--ghost:hover { background: var(--green-100); color: var(--green-900); }
.btn--light { background: rgba(255, 253, 248, .95); color: var(--green-900); }
.btn--light:hover { background: #fff; color: var(--green-900); }
.btn--small { padding: .55em 1.05em; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row--center { justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; min-height: min(84vh, 760px); display: flex; align-items: flex-end; }
.hero__img, .hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__img img { object-position: 50% 60%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 30, 15, .05) 0%, rgba(20, 30, 15, 0) 35%, rgba(22, 34, 18, .72) 100%),
    linear-gradient(90deg, rgba(22, 34, 18, .55) 0%, rgba(22, 34, 18, 0) 70%);
}
.hero .wrap { padding-block: 120px 96px; }
.hero__kicker { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 253, 248, .16); border: 1px solid rgba(255, 253, 248, .35); padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: .95rem; backdrop-filter: blur(4px); }
.hero__kicker .sun-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(244, 196, 49, .3); }
.hero h1 { color: #fff; max-width: 15ch; margin-top: 18px; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.hero p { font-size: clamp(1.15rem, 1.8vw, 1.35rem); max-width: 40ch; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }

.page-hero { position: relative; isolation: isolate; color: #fff; min-height: 380px; display: flex; align-items: flex-end; }
.page-hero picture, .page-hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero picture img { object-position: 50% 40%; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22, 34, 18, .1), rgba(22, 34, 18, .7)); }
.page-hero .wrap { padding-block: 120px 64px; }
.page-hero h1 { color: #fff; margin: 0; text-shadow: 0 2px 20px rgba(0, 0, 0, .3); }
.page-hero p { margin: 10px 0 0; font-size: 1.25rem; max-width: 46ch; }

.page-head { padding-block: 72px 24px; }
.page-head p { font-size: 1.25rem; color: var(--ink-soft); max-width: 50ch; }

/* Golvende akkerrand */
.furrow { display: block; width: 100%; height: 44px; color: var(--cream); margin-top: -43px; position: relative; z-index: 1; }
.furrow--linen { color: var(--linen); }
.furrow--green { color: var(--green-900); }

.crumbs { font-size: .95rem; margin-bottom: 10px; }
.crumbs a { color: #fff; }
.page-head .crumbs a { color: var(--green-700); }

/* ---------- Secties ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--linen { background: var(--linen); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.eyebrow { display: block; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; font-size: .82rem; color: var(--clay); margin-bottom: 12px; }
.lead { font-size: clamp(1.2rem, 1.8vw, 1.35rem); color: var(--ink-soft); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head--center { text-align: center; margin-inline: auto; }

.split { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
  .split--wide-text { grid-template-columns: 1.15fr .85fr; }
}
.photo { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); background: var(--wheat); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tilt { transform: rotate(-1.5deg); }
.photo--tilt-r { transform: rotate(1.5deg); }

.photo-stack { position: relative; padding: 0 0 48px 48px; }
.photo-stack .photo:last-child { position: absolute; left: 0; bottom: 0; width: 44%; border: 6px solid var(--paper); transform: rotate(-4deg); }
.section--linen .photo-stack .photo:last-child { border-color: var(--linen); }

.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--green-500); }

.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 10px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23345A2B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Kaarten: wonen / logeren / dagbesteding ---------- */
.pillars { display: grid; gap: 24px; }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border-radius: var(--radius-l); overflow: hidden;
  box-shadow: var(--shadow-s); text-decoration: none; color: inherit;
  transition: transform .2s, box-shadow .2s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.pillar picture { aspect-ratio: 4 / 3; overflow: hidden; }
.pillar picture img { height: 100%; object-fit: cover; transition: transform .5s; }
.pillar:hover picture img { transform: scale(1.04); }
.pillar__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pillar h3 { margin: 0; }
.pillar p { color: var(--ink-soft); margin: 0; }
.pillar__more { margin-top: auto; padding-top: 12px; font-weight: 800; color: var(--green-700); display: inline-flex; align-items: center; gap: 6px; }
.pillar__more svg { width: 18px; height: 18px; transition: transform .2s; }
.pillar:hover .pillar__more svg { transform: translateX(4px); }
.pillar__tag { position: absolute; top: 16px; left: 16px; background: var(--sun); color: var(--green-900); font-weight: 900; font-size: .8rem; padding: 4px 12px; border-radius: 999px; letter-spacing: .03em; }

/* ---------- Kerngetallen ---------- */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { background: var(--paper); border-radius: var(--radius); padding: 18px 16px; text-align: center; box-shadow: var(--shadow-s); }
.section--linen .fact { background: var(--cream); }
.fact strong { display: block; font-family: var(--font-head); font-size: 2.2rem; line-height: 1; color: var(--green-700); font-weight: 600; }
.fact span { font-size: .95rem; color: var(--ink-soft); font-weight: 700; }

.quote { position: relative; margin: 28px 0 0; padding: 24px 28px; background: var(--sun-soft); border-radius: var(--radius); font-family: var(--font-head); font-size: 1.3rem; line-height: 1.45; color: var(--green-900); font-style: italic; }
.quote--long { font-size: 1.12rem; }
.quote--long p { margin: 0 0 .7em; }
.quote__title { display: block; font-style: normal; font-size: 1.3rem; margin-bottom: 8px; }
.quote--plek p { margin: 0 0 6px; }
.quote--plek a { font-family: var(--font-body); font-style: normal; font-size: 1rem; font-weight: 800; color: var(--green-700); display: inline-flex; align-items: center; gap: 6px; }
.quote--plek a svg { width: 18px; height: 18px; }
.quote footer { margin-top: 10px; font-family: var(--font-body); font-style: normal; font-size: 1rem; font-weight: 800; color: var(--ink-soft); }

/* ---------- Agenda ---------- */
.events { display: grid; gap: 18px; }
.event {
  display: grid; grid-template-columns: 84px 1fr; gap: 18px; align-items: start;
  background: var(--paper); border-radius: var(--radius); padding: 18px;
  box-shadow: var(--shadow-s); text-decoration: none; color: inherit;
  transition: transform .2s, box-shadow .2s;
}
.event:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
@media (min-width: 720px) { .event { grid-template-columns: 96px 1fr 170px; align-items: center; padding: 18px 18px 18px 22px; } }
.events--compact .event { grid-template-columns: 84px 1fr; align-items: center; }
.events--compact .event__img { display: none; }
.event__img { display: none; border-radius: var(--radius-s); overflow: hidden; aspect-ratio: 4 / 3; }
.event__img img { height: 100%; object-fit: cover; }
@media (min-width: 720px) { .event__img { display: block; } }
.event h3 { margin: 0 0 4px; font-size: 1.35rem; }
.event__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--ink-soft); font-size: 1rem; }
.event__meta span { display: inline-flex; align-items: center; gap: 6px; }
.event__meta svg { width: 16px; height: 16px; color: var(--green-600); flex: none; }

.datecard {
  width: 84px; text-align: center; border-radius: 14px; overflow: hidden;
  background: var(--cream); border: 1px solid var(--line); box-shadow: 0 2px 0 var(--line);
}
.datecard__month { display: block; background: var(--clay); color: #fff; font-weight: 900; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 0; }
.datecard__day { display: block; font-family: var(--font-head); font-size: 2.1rem; line-height: 1.1; padding-top: 6px; color: var(--green-900); font-weight: 600; }
.datecard__wd { display: block; font-size: .8rem; font-weight: 800; color: var(--ink-soft); padding-bottom: 6px; }
@media (min-width: 720px) { .datecard { width: 96px; } }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px; font-size: .85rem; font-weight: 800; background: var(--green-100); color: var(--green-800); }
.pill--sun { background: var(--sun-soft); color: #6b5100; }
.pill svg { width: 14px; height: 14px; }

.month-label { font-family: var(--font-head); font-size: 1.5rem; color: var(--green-800); margin: 40px 0 14px; display: flex; align-items: center; gap: 14px; }
.month-label::after { content: ""; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--wheat) 0 10px, transparent 10px 16px); }
.month-label:first-child { margin-top: 0; }

.past-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 720px) { .past-grid { grid-template-columns: repeat(3, 1fr); } }
.past { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); }
.past__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-s); margin-bottom: 6px; }
.past__img img, .past__img .act-noimg { height: 100%; object-fit: cover; filter: saturate(.85); transition: filter .2s; }
.past:hover .past__img img { filter: none; }
.past__date { font-size: .9rem; color: var(--ink-soft); }
.past:hover { color: var(--green-800); }
.act-noimg { width: 100%; height: 100%; min-height: 72px; background: var(--green-100) url("../img/icon-192.png") center / 46% no-repeat; }

.activity { display: grid; gap: 40px; }
@media (min-width: 900px) { .activity { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.activity__img { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 28px; aspect-ratio: 4 / 3; }
.activity__img img { height: 100%; object-fit: cover; }
.side-card { background: var(--paper); border-radius: var(--radius-l); padding: 28px; box-shadow: var(--shadow-s); }
.side-card + .side-card { margin-top: 20px; }
.side-card h2, .side-card h3 { font-size: 1.4rem; }
.side-card--signup { background: var(--green-100); box-shadow: none; border: 2px dashed color-mix(in srgb, var(--green-600) 45%, transparent); }
.info-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 14px; }
.info-list li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.info-list svg { width: 22px; height: 22px; color: var(--green-600); margin-top: 3px; }
.info-list strong { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }

/* ---------- Kangoeroe-kalender ---------- */
.cal-legend { display: flex; flex-wrap: wrap; gap: 18px; margin: 0 0 24px; padding: 0; list-style: none; font-weight: 700; }
.cal-legend li { display: inline-flex; align-items: center; gap: 8px; }
.cal-legend i { width: 20px; height: 20px; border-radius: 6px; display: inline-block; }
.months { display: grid; gap: 24px; }
@media (min-width: 760px) { .months { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .months { grid-template-columns: repeat(3, 1fr); } }
.month { background: var(--paper); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-s); }
.month h3 { font-size: 1.3rem; margin-bottom: 12px; text-transform: capitalize; }
.month table { width: 100%; border-collapse: separate; border-spacing: 4px; table-layout: fixed; }
.month th { font-size: .8rem; font-weight: 800; color: var(--ink-soft); padding-bottom: 4px; }
.month td { text-align: center; font-weight: 700; font-size: .98rem; padding: 0; }
.month td span { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 8px; }
.d-free, .cal-legend .d-free { background: var(--green-100); color: var(--green-800); }
.d-busy, .cal-legend .d-busy { background: var(--clay-soft); color: #7a3518; text-decoration: line-through; text-decoration-thickness: 2px; }
.d-past { color: #b9b2a3; }
.d-today { box-shadow: inset 0 0 0 2px var(--green-700); }
.cal-note { font-size: .95rem; color: var(--ink-soft); margin-top: 18px; }

/* ---------- Meldingen & formulieren ---------- */
.notice { display: flex; gap: 14px; align-items: flex-start; background: var(--sun-soft); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 28px; }
.notice svg { width: 26px; height: 26px; flex: none; color: #8a6a00; margin-top: 2px; }
.notice--ok { background: var(--green-100); }
.notice--ok svg { color: var(--green-700); }
.notice--error { background: var(--clay-soft); }
.notice--error svg { color: var(--clay); }

.form { display: grid; gap: 20px; }
.form-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 800; margin-bottom: 6px; }
.field .opt { font-weight: 600; color: var(--ink-soft); font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius-s);
  padding: 12px 14px; min-height: 52px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(91, 154, 59, .2); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--clay); }
.field .error { color: var(--clay); font-weight: 700; font-size: .95rem; margin-top: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form small { color: var(--ink-soft); }

.contact-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.3fr; align-items: start; } }
.contact-card { background: var(--paper); border-radius: var(--radius-l); padding: 28px; box-shadow: var(--shadow-s); }
.contact-card + .contact-card { margin-top: 20px; }
.contact-card h2 { font-size: 1.45rem; }
.contact-card address { font-style: normal; }
.form-card { background: var(--paper); border-radius: var(--radius-l); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }

/* ---------- Video (pas laden na klik, privacyvriendelijk) ---------- */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); background: var(--green-900); }
.video picture, .video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video__play {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: linear-gradient(180deg, rgba(22, 34, 18, .15), rgba(22, 34, 18, .6));
  color: #fff; border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 1.1rem; width: 100%;
}
.video__play span.circle { width: 84px; height: 84px; border-radius: 50%; background: var(--sun); color: var(--green-900); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .2s; }
.video__play:hover span.circle { transform: scale(1.08); }
.video__play svg { width: 34px; height: 34px; margin-left: 5px; }
.video__note { font-size: .85rem; font-weight: 600; opacity: .9; max-width: 34ch; text-align: center; }

/* ---------- CTA-band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-l);
  background: var(--green-800); color: #F3EEDF; padding: clamp(32px, 6vw, 64px);
  display: grid; gap: 24px; align-items: center;
}
@media (min-width: 860px) { .cta { grid-template-columns: 1.4fr 1fr; } }
.cta h2 { color: #fff; }
.cta p { color: #E4DECB; }
.cta .btn-row { margin-top: 0; }
@media (min-width: 860px) { .cta .btn-row { justify-content: flex-end; } }
.cta::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--sun); opacity: .9; }
.cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; box-shadow: 0 0 0 26px rgba(244, 196, 49, .18), 0 0 0 52px rgba(244, 196, 49, .08); }
.cta > * { position: relative; z-index: 1; }

.tiles { display: grid; gap: 20px; }
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
.tile { background: var(--paper); border-radius: var(--radius-l); padding: 28px; box-shadow: var(--shadow-s); display: flex; flex-direction: column; gap: 10px; }
.tile__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--sun-soft); display: grid; place-items: center; color: var(--green-800); }
.tile__icon svg { width: 28px; height: 28px; }
.tile h3 { margin: 4px 0 0; }
.tile .btn { align-self: flex-start; margin-top: auto; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 860px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery .photo { aspect-ratio: 3 / 4; border-radius: var(--radius); }
.gallery .photo:nth-child(even) { transform: translateY(18px); }
@media (min-width: 860px) { .gallery--two { grid-template-columns: repeat(2, 1fr); } }
.gallery .photo--wide { grid-column: 1 / -1; aspect-ratio: 4 / 3; margin-top: 18px; transform: none; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li { counter-increment: step; position: relative; padding: 18px 20px 18px 74px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-s); }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 16px; width: 40px; height: 40px; border-radius: 50%; background: var(--sun); color: var(--green-900); font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; display: grid; place-items: center; }
.steps strong { display: block; color: var(--green-900); }

.groups { display: grid; gap: 20px; }
@media (min-width: 860px) { .groups { grid-template-columns: repeat(3, 1fr); } }
.group { background: var(--paper); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-s); }
.group picture { aspect-ratio: 4 / 3; overflow: hidden; }
.group picture img { height: 100%; object-fit: cover; }
.group div { padding: 22px 24px 26px; }
.group h3 { font-size: 1.3rem; }
.group p { color: var(--ink-soft); }

.lock-card { max-width: 640px; margin-inline: auto; text-align: center; background: var(--paper); border-radius: var(--radius-l); padding: clamp(28px, 5vw, 52px); box-shadow: var(--shadow); }
.lock-card .tile__icon { margin: 0 auto 18px; width: 72px; height: 72px; border-radius: 22px; }
.lock-card .tile__icon svg { width: 36px; height: 36px; }
.lock-card ul { text-align: left; display: inline-block; }

/* ---------- Voet ---------- */
.site-footer { background: var(--green-900); color: #DCD6C3; margin-top: 0; }
.site-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); }
.site-footer a:hover { color: var(--sun); }
.site-footer .wrap { padding-block: 64px 32px; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.site-footer h2 { color: #fff; font-size: 1.15rem; font-family: var(--font-body); font-weight: 900; letter-spacing: .02em; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer address { font-style: normal; }
.footer-logo { background: var(--cream); border-radius: var(--radius); padding: 14px 18px; display: inline-block; margin-bottom: 18px; }
.footer-logo img { width: 180px; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .92rem; color: #B9B39F; }

.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 24px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }

/* ---------- Mijn Zaanse Akker ---------- */
.small-text { font-size: .92rem; }
.mijn-head { padding-bottom: 8px; }
.mijn-actions { display: grid; gap: 14px; margin-bottom: 12px; }
@media (min-width: 640px) { .mijn-actions { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .mijn-actions { grid-template-columns: repeat(4, 1fr); } }
.mijn-action { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; row-gap: 2px; align-items: center; background: var(--paper); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-s); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.mijn-action:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.mijn-action .tile__icon { grid-row: span 2; align-self: start; }
.mijn-action strong { font-size: 1.1rem; color: var(--green-900); }
.mijn-action span:last-child { color: var(--ink-soft); font-size: .95rem; }

.mijn-acts { display: grid; gap: 18px; }
.mijn-act { display: grid; grid-template-columns: 72px 1fr; gap: 16px; background: var(--paper); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-s); scroll-margin-top: 110px; }
.mijn-act:target { box-shadow: 0 0 0 3px var(--sun), var(--shadow); }
@media (min-width: 720px) { .mijn-act { grid-template-columns: 96px 1fr; padding: 22px 24px; } }
.mijn-act .datecard { width: 72px; align-self: start; }
@media (min-width: 720px) { .mijn-act .datecard { width: 96px; } }
.mijn-act h3 { margin: 0 0 6px; font-size: 1.35rem; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mijn-act h3 a { color: inherit; text-decoration: none; }
.mijn-act h3 a:hover { text-decoration: underline; }
.mijn-act__desc { margin-top: 10px; color: var(--ink-soft); }
.mijn-act__info { display: grid; gap: 6px 24px; margin: 14px 0 0; padding: 12px 16px; background: var(--cream); border-radius: var(--radius-s); }
@media (min-width: 720px) { .mijn-act__info { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.mijn-act__info dt { font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.mijn-act__info dd { margin: 0; font-weight: 700; }
.mijn-act__signup { display: grid; gap: 8px; margin-top: 14px; }
.signup-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 10px 14px; border: 2px solid var(--line); border-radius: var(--radius-s); }
.signup-row__name { font-weight: 800; min-width: 90px; }
.signup-row .pill svg { width: 15px; height: 15px; }
.mijn-logout { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }

.choice { border: 0; padding: 0; margin: 0; }
.choice legend { font-weight: 800; margin-bottom: 8px; }
.choice__item, .field .choice__item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--radius-s); margin-bottom: 8px; cursor: pointer; background: var(--paper); }
.choice__item input { width: 20px; height: 20px; accent-color: var(--green-700); }
.choice__item:has(input:checked) { border-color: var(--green-600); background: var(--green-100); }

.msg { background: var(--paper); border-radius: var(--radius-s); box-shadow: var(--shadow-s); margin-bottom: 12px; }
.msg summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 14px 18px; cursor: pointer; }
.msg__body { padding: 0 18px 16px; color: var(--ink-soft); }
.center-block { margin-inline: auto; }

/* Agenda van een bewoner */
.cal-cards { display: grid; gap: 14px; margin-bottom: 8px; }
@media (min-width: 720px) { .cal-cards { grid-template-columns: repeat(2, 1fr); } }
.cal-card { display: flex; flex-direction: column; gap: 8px; background: var(--paper); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-s); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.cal-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.cal-card strong { display: flex; align-items: center; gap: 8px; color: var(--green-900); font-size: 1.1rem; }
.cal-card strong svg { width: 20px; height: 20px; color: var(--green-600); }
.cal-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.cal-card li { font-size: .98rem; }
.cal-card li span { display: inline-block; min-width: 92px; font-weight: 800; color: var(--clay); }
.cal-card .pillar__more { padding-top: 4px; }
.cal-card--signups:hover { transform: none; box-shadow: var(--shadow-s); }
.cal-card--signups strong .pill { font-size: .75rem; font-weight: 700; }
.cal-card--signups li a { color: var(--ink); }
.cal-card--signups .pillar__more { margin-top: auto; }
.cal-list { display: grid; gap: 12px; }
.cal-day { display: grid; gap: 8px 20px; background: var(--paper); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-s); }
@media (min-width: 640px) { .cal-day { grid-template-columns: 150px 1fr; } }
.cal-day--today { box-shadow: 0 0 0 3px var(--sun), var(--shadow-s); }
.cal-day__date { display: flex; flex-direction: column; gap: 2px; }
.cal-day__date strong { color: var(--green-900); }
.cal-day__date span { color: var(--ink-soft); }
.cal-day__date .pill { align-self: flex-start; margin-top: 4px; color: var(--green-800); }
.cal-day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cal-day li { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.cal-item__time { font-weight: 800; color: var(--clay); font-size: .95rem; }
.cal-item__text svg { width: 14px; height: 14px; display: inline; vertical-align: -2px; }

/* Gaat niet mee */
.signup-row form { margin: 0; }
.signup-row--no { border-color: var(--clay-soft); background: #FFF8F3; }
.pill--no { background: var(--clay-soft); color: #7a3518; }
.signup-row__note { flex-basis: 100%; margin: 0; color: var(--ink-soft); font-style: italic; }
.decline { flex-basis: auto; }
.decline[open] { flex-basis: 100%; }
@media (max-width: 719px) { .signup-row__name { flex-basis: 100%; } }
.decline > summary { list-style: none; display: inline-flex; }
.decline > summary::-webkit-details-marker { display: none; }
.decline[open] > summary { display: none; }
.decline__form { display: grid; gap: 8px; margin-top: 4px; }
.decline__form label { font-weight: 700; font-size: .95rem; }
.decline__form textarea { font: inherit; width: 100%; border: 2px solid var(--line); border-radius: var(--radius-s); padding: 10px 12px; background: var(--paper); }
.decline__form textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(91, 154, 59, .2); }
.decline__form .btn { justify-self: start; }
@media (max-width: 719px) { .mijn-act { grid-template-columns: 1fr; } .mijn-act .datecard { display: none; } }
.signup-row:has(.decline[open]) > form, .signup-row:has(.decline[open]) > .muted { display: none; }
.decline__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.event__meta .event__deadline { color: var(--clay); font-weight: 700; }
.event__meta .event__deadline svg { color: var(--clay); }

/* ---------- Fotoshow (zachte overgang, zonder JavaScript) ----------
   Elke foto staat 4 seconden in beeld. Rondje = aantal x 4 s. */
.slides { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--wheat); }
.slides picture { position: absolute; inset: 0; opacity: 0; }
.slides picture img { width: 100%; height: 100%; object-fit: cover; }
.slides picture:first-child { opacity: 1; }
.slides picture:nth-child(1) { animation-delay: -1s; }
.slides picture:nth-child(2) { animation-delay: 3s; }
.slides picture:nth-child(3) { animation-delay: 7s; }
.slides picture:nth-child(4) { animation-delay: 11s; }
.slides--4 picture { animation: slide-fade-4 16s infinite; }
@keyframes slide-fade-4 {
  0% { opacity: 0; }
  6% { opacity: 1; }
  25% { opacity: 1; }
  31% { opacity: 0; }
  100% { opacity: 0; }
}
.slides:hover picture { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .slides picture { animation: none; opacity: 0; }
  .slides picture:first-child { opacity: 1; }
}

/* ---------- Vakantie (kerstvakantie): waar is de bewoner? ---------- */
.vak--th { --vak: #CFEDB4; --vak-ink: #24451a; }
.vak--werk { --vak: #FFF4B8; --vak-ink: #5c4a00; }
.vak--familie { --vak: #F5C3CA; --vak-ink: #6d1f2b; }
.vak--wissel { --vak: #D3E2F4; --vak-ink: #1f3d63; }
.vak--leeg { --vak: #fff; --vak-ink: var(--ink-soft); }
.vak--uitje { --vak: #E6DDF3; }
.vak-dot { display: inline-block; width: 14px; height: 14px; border-radius: 4px; background: var(--vak); border: 1px solid rgba(0, 0, 0, .15); margin-right: 6px; vertical-align: -2px; }

.vak-banner { display: grid; grid-template-columns: 52px 1fr; gap: 16px; background: var(--sun-soft); border: 3px solid var(--sun); border-radius: var(--radius); padding: 22px; margin-bottom: 24px; scroll-margin-top: 110px; }
.vak-banner .tile__icon { background: var(--sun); color: var(--green-900); }
.vak-banner h2 { font-size: 1.35rem; margin: 0 0 6px; }
.vak-banner p { margin: 0 0 12px; }
.vak-banner__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vak-banner__list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; background: var(--paper); border-radius: var(--radius-s); padding: 10px 14px; }
.vak-banner__list li > span { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
@media (max-width: 520px) { .vak-banner { grid-template-columns: 1fr; } }

.vak-legend { background: var(--paper); border-radius: var(--radius-s); padding: 12px 16px; margin-bottom: 16px; box-shadow: var(--shadow-s); }
.vak-legend summary { font-weight: 800; cursor: pointer; color: var(--green-800); }
.vak-legend dl { margin: 10px 0 0; display: grid; gap: 6px; }
.vak-legend dt { font-weight: 800; display: inline; }
.vak-legend dd { display: inline; margin: 0 0 0 6px; color: var(--ink-soft); }

.vak-form { display: grid; gap: 12px; }
.vak-day { border: 0; margin: 0; background: var(--paper); border-radius: var(--radius); padding: 14px 16px 12px; box-shadow: var(--shadow-s); border-left: 6px solid var(--line); scroll-margin-top: 110px; }
.vak-day--set { border-left-color: var(--green-500); }
.vak-day.has-error { border-left-color: var(--clay); box-shadow: 0 0 0 2px var(--clay); }
.vak-day--locked { background: #F8F4EB; }
.vak-day__date { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0; margin-bottom: 10px; font-size: 1.05rem; }
.vak-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.vak-opt { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 2px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .95rem; font-weight: 700; background: #fff; }
.vak-opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--green-700); }
.vak-opt:has(input:checked) { background: var(--vak); color: var(--vak-ink); border-color: var(--vak-ink); }
.vak-opt:has(input:focus-visible) { outline: 3px solid var(--sun); outline-offset: 2px; }
.vak-note { margin-top: 10px; }
.vak-note input { width: 100%; font: inherit; font-size: .95rem; padding: 8px 12px; border: 2px solid var(--line); border-radius: var(--radius-s); background: #fff; }
.vak-note input:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(91, 154, 59, .2); }
.vak-day:has(input[value="wissel"]:checked) .vak-note input { border-color: #1f3d63; background: #F4F8FD; }
.vak-day.has-error .vak-note input { border-color: var(--clay); }
.vak-note .error { color: var(--clay); font-weight: 700; font-size: .95rem; margin: 6px 0 0; }
.vak-ro { margin: 0; }
.vak-tag { display: inline-block; padding: 3px 12px; border-radius: 999px; font-weight: 800; font-size: .9rem; background: var(--vak); color: var(--vak-ink); }
.vak-by { margin: 8px 0 0; font-size: .82rem; color: var(--ink-soft); }
.vak-save { display: flex; flex-wrap: wrap; gap: 12px; position: sticky; bottom: 0; padding: 16px 0; background: linear-gradient(transparent, var(--cream) 35%); }
.beheer .vak-save { background: linear-gradient(transparent, #F6F1E6 35%); }
.vak-admin-form { max-width: 760px; }

/* Overzicht beheer */
.vak-legend-row { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .88rem; margin: 0 0 10px; }
.vak-scroll { overflow-x: auto; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-s); }
.vak-grid { border-collapse: collapse; font-size: .85rem; min-width: 100%; }
.vak-grid th, .vak-grid td { border: 1px solid var(--line); padding: 4px 6px; text-align: center; vertical-align: middle; }
.vak-grid thead th { background: var(--linen); font-weight: 700; line-height: 1.2; min-width: 58px; }
.vak-grid thead th span, .vak-grid thead th strong, .vak-grid thead th em { display: block; }
.vak-grid thead th em { font-style: normal; font-size: .72rem; color: #8a2a1a; font-weight: 800; }
.vak-grid thead th.is-uitje { background: #E6DDF3; }
.vak-grid thead th.is-feest { background: #F7D9C9; }
.vak-grid__name { text-align: left !important; white-space: nowrap; position: sticky; left: 0; background: var(--paper); z-index: 1; min-width: 110px; }
.vak-grid thead .vak-grid__name { background: var(--linen); }
.vak-grid tbody th a { color: var(--green-900); font-weight: 800; }
.vak-grid td[class*="vak--"] { background: var(--vak); color: var(--vak-ink); }
.vak-code { font-weight: 800; display: block; }
.vak-cellnote { display: block; font-size: .72rem; line-height: 1.2; max-width: 90px; margin-inline: auto; overflow-wrap: anywhere; }
.vak-grid tfoot td, .vak-grid tfoot th { background: var(--linen); font-size: .82rem; }
.vak-todo { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.vak-todo a { color: var(--green-900); }
.vak-switch { font-size: 1.05rem; }
.print-page--wide { max-width: none; margin: 16px; }
.print-page--wide .vak-scroll { box-shadow: none; overflow: visible; }
.print-page--wide .vak-grid th, .print-page--wide .vak-grid td { border-color: #999; padding: 3px 4px; text-align: center; }
@media print {
  @page { size: A4 landscape; margin: 10mm; }
  .print-page--wide { margin: 0; font-size: 11px; }
  .vak-grid, .vak-grid td, .vak-grid th, .vak-dot { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .vak-grid__name { position: static; }
}

/* Beheerder bekijkt Mijn Zaanse Akker als familielid */
.mijn-admin { text-align: left; max-width: 100%; }
.mijn-admin__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 6px; }
.mijn-admin select { font: inherit; padding: 8px 12px; border: 2px solid var(--line); border-radius: var(--radius-s); background: #fff; max-width: 100%; }
.mijn-admin small { display: block; color: var(--ink-soft); }
