@import url("/fonts/fonts.css");

/* ===== Basis ===== */
:root {
  --ink: #1d2827;
  --muted: #5a6866;
  --line: #e4ddd1;
  --bg: #faf6ef;
  --surface: #ffffff;
  --sand: #f1e9dc;
  --teal: #3d7c78;
  --teal-dark: #2a5754;
  --terra: #b8582a;
  --terra-dark: #964520;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(29, 40, 39, .25);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-underline-offset: 3px; }
a:hover { color: var(--terra); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 720px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

.eyebrow {
  display: inline-block;
  font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--terra); margin-bottom: .8rem;
}
.lead { font-size: 1.3rem; color: var(--muted); }

/* ===== Knoppen ===== */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  background: var(--terra); color: #fff; border: 2px solid var(--terra);
  transition: background .2s, color .2s, transform .2s;
  cursor: pointer; font-family: inherit;
}
.btn:hover { background: var(--terra-dark); border-color: var(--terra-dark); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--teal-dark); border-color: var(--teal); }
.btn--ghost:hover { background: var(--teal); border-color: var(--teal); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 239, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.logo img { height: 44px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.6rem; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1rem; white-space: nowrap; }
@media (max-width: 1180px) { .nav ul { gap: 1.05rem; } .nav a { font-size: .95rem; } .site-header .wrap { gap: .75rem; } }
.nav a:hover, .nav a[aria-current="page"] { color: var(--terra); }
.nav .btn { color: #fff; padding: .55rem 1.1rem; }
.nav .lang a { font-size: .8rem; letter-spacing: .08em; border: 1.5px solid var(--line); border-radius: 999px; padding: .2rem .6rem; }
.nav .lang a:hover { border-color: var(--terra); }
.lang-long { display: none; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 76px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); display: none; box-shadow: var(--shadow); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; }
  .nav li a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav .lang a { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: .85rem 0; font-size: 1.1rem; letter-spacing: 0; }
  .lang-short { display: none; } .lang-long { display: inline; }
  .nav li:last-child a { border: 0; margin-top: 1rem; justify-content: center; }
}

/* ===== Hero ===== */
.hero {
  position: relative; color: #fff; isolation: isolate;
  min-height: min(88vh, 760px); display: grid; align-items: end;
  padding: 8rem 0 5rem;
}
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20, 30, 29, .15) 0%, rgba(20, 30, 29, .35) 45%, rgba(20, 30, 29, .82) 100%); }
.hero h1 { max-width: 16ch; }
.hero p { max-width: 58ch; font-size: 1.25rem; color: rgba(255, 255, 255, .92); }
.hero .eyebrow { color: #f4c9a8; }
.hero--page { min-height: 52vh; padding: 7rem 0 3.5rem; }
.credit { position: absolute; right: 1rem; bottom: .7rem; font-size: .78rem; color: rgba(255, 255, 255, .75); }
.credit a { color: inherit; }

/* ===== Secties ===== */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--sand { background: var(--sand); }
.section--teal { background: var(--teal-dark); color: #eef5f4; }
.section--teal h2, .section--teal h3 { color: #fff; }
.section--teal .eyebrow { color: #f4c9a8; }
.section--teal a:not(.btn) { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.center { text-align: center; margin-inline: auto; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split img, .photo { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 4 / 3; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}

/* Bijbeltekst */
.verse {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.4;
  margin: 0; padding: 0;
}
.verse cite { display: block; margin-top: 1rem; font-family: var(--sans); font-style: normal; font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.pull {
  border-left: 4px solid var(--terra); padding: .4rem 0 .4rem 1.4rem; margin: 2rem 0;
  font-family: var(--serif); font-size: 1.35rem; font-style: italic; line-height: 1.45;
}

/* Kaarten */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 1.5rem; }
.card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 0 var(--line), var(--shadow); display: flex; flex-direction: column;
}
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 1.5rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); font-size: 1.05rem; }
.card-body .btn, .card-body .link { margin-top: auto; align-self: flex-start; }
.card-img { display: block; }
.card-img--leeg { aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--sand); }
.card .card-img--leeg img { width: 30%; aspect-ratio: auto; object-fit: contain; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--terra); }
.post-meta { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--terra); margin-bottom: .5rem; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.section-head--row h2 { margin-bottom: 0; }
.back-link { display: table; font-weight: 600; text-decoration: none; margin-bottom: 1.5rem; }
.post h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.post .photo { margin: 1.5rem 0 2rem; }
.link { font-weight: 700; text-decoration: none; color: var(--terra); }
.link::after { content: " →"; }

/* Tijdlijn */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 54px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.milestone { display: grid; grid-template-columns: 110px 1fr; gap: 2rem; padding-bottom: 4rem; position: relative; }
.milestone:last-child { padding-bottom: 0; }
.date {
  width: 110px; height: 110px; border-radius: 50%; background: var(--teal-dark); color: #fff;
  display: grid; place-content: center; text-align: center; line-height: 1.05; position: relative; z-index: 1;
  box-shadow: 0 0 0 8px var(--bg);
}
.date b { font-family: var(--serif); font-size: 2rem; display: block; }
.date span { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.milestone-body .gallery { margin-top: 1.5rem; }
@media (max-width: 640px) {
  .timeline::before { left: 36px; }
  .milestone { grid-template-columns: 72px 1fr; gap: 1.2rem; }
  .date { width: 72px; height: 72px; }
  .date b { font-size: 1.4rem; }
  .date span { font-size: .7rem; }
}

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.gallery img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* Steun-voortgang */
.progress { background: rgba(255, 255, 255, .18); border-radius: 999px; height: 18px; overflow: hidden; margin: 1rem 0 .6rem; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, #e9a46e, var(--terra)); border-radius: inherit; }
.progress-label { display: flex; justify-content: space-between; font-weight: 700; }
.big-number { font-family: var(--serif); font-size: clamp(3.5rem, 8vw, 5.5rem); line-height: 1; color: #fff; }

.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.way { background: var(--surface); border-radius: var(--radius); padding: 2rem; box-shadow: 0 1px 0 var(--line), var(--shadow); display: flex; flex-direction: column; }
.way .icon { width: 52px; height: 52px; border-radius: 14px; background: var(--sand); display: grid; place-items: center; color: var(--terra); margin-bottom: 1.2rem; }
.way .icon svg { width: 26px; height: 26px; }
.way p { color: var(--muted); }
.way .btn-row { margin-top: auto; padding-top: 1rem; }

/* Video's (laden pas na klik: privacyvriendelijk) */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem 1.5rem; }
.video { margin: 0; }
.video figcaption { margin-top: .8rem; font-weight: 600; line-height: 1.35; }
.yt {
  position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #111 center / cover no-repeat;
  border: 0; padding: 0; width: 100%; cursor: pointer; display: block; box-shadow: var(--shadow);
}
.yt::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .18); transition: background .2s; }
.yt:hover::after { background: rgba(0, 0, 0, .05); }
.yt .play { position: absolute; z-index: 1; left: 50%; top: 50%; translate: -50% -50%; width: 68px; height: 68px; border-radius: 50%; background: rgba(184, 88, 42, .95); display: grid; place-items: center; border: 0; cursor: pointer; }
.yt .play svg { width: 26px; height: 26px; margin-left: 4px; fill: #fff; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-note { font-size: .9rem; color: var(--muted); margin-top: 2rem; }

/* Formulier */
.form { display: grid; gap: 1.1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; font-size: .98rem; margin-bottom: .35rem; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 1rem; background: var(--surface); color: var(--ink);
}
.form input:focus, .form textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(61, 124, 120, .2); }
.form textarea { min-height: 150px; resize: vertical; }
.check { display: flex !important; gap: .7rem; align-items: flex-start; font-weight: 400 !important; font-size: .95rem !important; color: var(--muted); }
.check input { margin-top: .35rem; width: 18px; height: 18px; accent-color: var(--teal); flex-shrink: 0; }
.form-status { font-weight: 600; margin: 0; }
.form-status.ok { color: var(--teal-dark); }
.form-status.err { color: var(--terra-dark); }
.hidden { display: none; }

.contact-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; color: var(--terra); flex-shrink: 0; margin-top: .3rem; }
.contact-list strong { display: block; }

/* Partners */
.partners { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center; justify-content: center; }

/* Footer */
.site-footer { background: #17201f; color: #c9d3d1; padding: 4.5rem 0 2rem; font-size: 1rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #f4c9a8; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-grid h3 { font-family: var(--sans); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-brand p { max-width: 32ch; }
.footer-verse { font-family: var(--serif); font-style: italic; color: #fff; font-size: 1.15rem; }
.social { display: flex; gap: .8rem; margin-top: 1.2rem; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); display: grid; place-items: center; }
.social a:hover { background: rgba(255, 255, 255, .1); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 3.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .9rem; color: #93a19f; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Hulpklassen */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 2rem; }
.update { background: var(--sand); border-left: 4px solid var(--terra); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.4rem 1.6rem .4rem; margin: 1.5rem 0 2rem; }
.update-label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); margin-bottom: .5rem; }

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