/* Be a blessing for others - one stylesheet, mobile first */
:root {
  --bg: #fffaf3;
  --surface: #ffffff;
  --sand: #f6ead8;
  --text: #2b2620;
  --muted: #5c5248;
  --primary: #a8431e;      /* terracotta, 6:1 on white */
  --primary-dark: #7e3015;
  --green: #2f6b4f;
  --gold: #f2c063;
  --line: #e7d8c3;
  --radius: 14px;
  --btn-radius: 6px;       /* every button: see the single rule at the end of this file */
  --wrap: 68rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1.0625rem/1.65 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: .18em; }
a:hover { color: var(--primary-dark); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; color: #241d17; }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); margin: 1.6em 0 .5em; }
h3 { font-size: 1.2rem; margin: 1.2em 0 .3em; }
p, ul, ol, dl { margin: 0 0 1em; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 42rem; }
.lead { font-size: 1.2rem; color: var(--muted); }

.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--text); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 8px; z-index: 10; }
.skip-link:focus { top: 0; color: #fff; }
main:focus { outline: none; }

/* Header and navigation */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; padding-block: .6rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--text); flex: 1 1 0; min-width: 0; }
.brand img { flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; overflow-wrap: break-word; }
.brand-name { font-weight: 700; }
.brand-tag { font-size: .85rem; color: var(--muted); }
/* Burger toggle: always top right on the logo row (brand shrinks, toggle never does); 44x44 touch target */
.menu-toggle { display: none; flex-shrink: 0; margin-left: auto; align-self: center; width: 44px; height: 44px; padding: 0; align-items: center; justify-content: center; background: var(--sand); color: var(--text); border: 1px solid var(--line); cursor: pointer; }
.menu-toggle:hover { background: var(--line); }
.menu-toggle:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.menu-bars { position: relative; display: block; width: 22px; height: 16px; }
.menu-bars span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-bars span:nth-child(1) { top: 0; }
.menu-bars span:nth-child(2) { top: 7px; }
.menu-bars span:nth-child(3) { top: 14px; }
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .menu-bars span { transition: none; } }
.site-nav { width: 100%; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; }
.site-nav a { display: block; padding: .45rem .7rem; border-radius: 8px; text-decoration: none; color: var(--text); font-weight: 500; }
.site-nav a:hover { background: var(--sand); }
.site-nav a[aria-current="page"] { background: var(--primary); color: #fff; }
.lang-switch { display: inline-block !important; margin-top: .4rem; border: 1px solid var(--line); font-size: .95rem; }
/* Page without a menu (English one-pager): only the language switch, always visible, no toggle */
.site-nav.no-menu, .js .site-nav.no-menu { display: block; width: auto; }
.site-nav.no-menu .lang-switch { margin-top: 0; }
/* With JS, collapse the menu on small screens behind the toggle */
.js .menu-toggle { display: inline-flex; }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; padding-bottom: .5rem; }
.js .site-nav.is-open ul { flex-direction: column; }
@media (min-width: 60rem) {
  .header-inner { flex-wrap: nowrap; }
  .brand { flex: 0 1 auto; }
  .js .menu-toggle { display: none; }
  .site-nav, .js .site-nav { display: flex; align-items: center; gap: .5rem; width: auto; }
  .js .site-nav.is-open ul { flex-direction: row; }
  .lang-switch { margin-top: 0; }
}

/* Sections */
/* Full-width hero banner: photo (object-fit: cover, focal point from manifest.json) + dark gradient + title */
.page-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(15rem, 34vw, 24rem); background: #2b2620; color: #fff; overflow: hidden; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: var(--pos-d, 50% 50%); z-index: -2; max-width: none; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20, 12, 6, .15) 0%, rgba(20, 12, 6, .45) 45%, rgba(20, 12, 6, .82) 100%); }
.page-hero-text { position: relative; padding-block: 3rem 1.8rem; }
.page-hero h1 { color: #fff; margin-bottom: .3em; text-shadow: 0 2px 12px rgba(0, 0, 0, .45); }
.page-hero .lead { color: #fbefe3; max-width: 42rem; margin-bottom: 0; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.hero-home { min-height: clamp(30rem, 62vw, 40rem); }
.hero-home::before { background: linear-gradient(90deg, rgba(20, 12, 6, .85) 0%, rgba(20, 12, 6, .6) 55%, rgba(20, 12, 6, .25) 100%), linear-gradient(0deg, rgba(20, 12, 6, .5), transparent 50%); }
.hero-home .page-hero-text { max-width: none; padding-block: 4rem 2.5rem; }
.hero-home .page-hero-text > * { max-width: 38rem; }
.hero-home .lead { margin-bottom: 0; }
.hero-home blockquote.verse { background: rgba(255, 250, 243, .94); color: var(--text); }
.hero-home .buttons { margin-bottom: 0; }
.page-hero .btn-ghost { color: #fff; border-color: #fff; }
.page-hero .btn-ghost:hover { background: rgba(255, 255, 255, .15); color: #fff; }
@media (max-width: 40em) {
  .hero-media img { object-position: var(--pos-m, 50% 40%); }
  .page-hero::before, .hero-home::before { background: linear-gradient(180deg, rgba(20, 12, 6, .3) 0%, rgba(20, 12, 6, .7) 40%, rgba(20, 12, 6, .9) 100%); }
  .page-hero-text { padding-top: 6rem; }
}
/* small in-page section menu (Voorbeelden) */
.page-toc { background: var(--surface); border-bottom: 1px solid var(--line); }
.page-toc ul { list-style: none; margin: 0; padding: .5rem 0; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.page-toc a { display: inline-block; padding: .3rem 0; font-weight: 600; }
[id] { scroll-margin-top: 5rem; }
.section { padding: 1.5rem 0 2.5rem; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
@media (min-width: 50rem) {
  .split { grid-template-columns: 1.1fr 1fr; }
  .split.reverse > :first-child { order: 2; }
}
.split { display: grid; gap: 2rem; align-items: start; }
.split img, figure img { border-radius: var(--radius); }
figure { margin: 0 0 1.5rem; }
figcaption { font-size: .9rem; color: var(--muted); margin-top: .4rem; }

blockquote.verse { margin: 0 0 1.5rem; padding: 1.2rem 1.4rem; background: var(--surface); border-left: 5px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--serif); font-size: 1.25rem; }
blockquote.verse cite, .pull cite { display: block; margin-top: .5rem; font: 600 .95rem var(--font); font-style: normal; color: var(--muted); }
.pull { margin: 2rem 0; padding: 0 0 0 1.2rem; border-left: 5px solid var(--primary); font-family: var(--serif); font-size: 1.45rem; line-height: 1.35; color: #3a2b20; }

.buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 3rem; margin: 0; padding: .55rem 1.2rem; font: 700 1rem/1.25 var(--font); text-align: center; text-decoration: none; vertical-align: middle; border: 2px solid var(--primary); background: var(--primary); color: #fff; cursor: pointer; -webkit-appearance: none; appearance: none; }
.btn[hidden] { display: none; }
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--primary); }
.btn-ghost:hover { background: var(--sand); color: var(--primary-dark); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.cards { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1rem; align-items: stretch; }
.cards > .card { height: 100%; }
@media (min-width: 46rem) { .cards { grid-template-columns: repeat(3, 1fr); } .cards.two { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; position: relative; }
.card h3 { margin-top: 0; }
.card .num { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--gold); font-weight: 700; margin-bottom: .5rem; }
.steps { padding-left: 1.2rem; }
.steps li { margin-bottom: .7rem; }

.gallery { list-style: none; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }

.placeholder { background: #fff3cd; border: 1px dashed #b8860b; padding: 0 .35em; border-radius: 4px; font-weight: 700; }
.bank-box { background: var(--surface); border: 2px solid var(--gold); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.bank-box dl, .bank { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; }
.bank-box dt, .bank dt { font-weight: 600; }
.bank-box dd, .bank dd { margin: 0; }

.share-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.notice { background: var(--sand); border-left: 5px solid var(--green); padding: 1rem 1.2rem; border-radius: 0 10px 10px 0; }


.cta-trio { background: var(--primary); color: #fff; padding: 2rem 0 2.5rem; margin-top: 2rem; }
.cta-trio h2 { color: #fff; margin-top: 0; }
.cta-trio .lead { color: #fde9dc; }
.cta-trio .card { background: #fffaf3; color: var(--text); border: 0; }
.cta-grid { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 60rem) { .cta-grid { grid-template-columns: 1fr 1.7fr 1fr; } }
/* Equal-height cards; the action row sits at the bottom so all buttons line up */
.cta-grid { align-items: stretch; }
.cta-trio .card { display: flex; flex-direction: column; }
.cta-trio .card .card-actions { margin-top: auto; margin-bottom: 0; padding-top: .5rem; }
.cta-trio .card p:last-child { margin-bottom: 0; }
.cta-trio label { font-weight: 600; display: block; margin-bottom: .25rem; }
/* Share buttons: same height as every other .btn; X stays compact but not tiny */
.share-list { align-items: stretch; }
.share-list li { display: flex; }
.share-list { gap: .5rem; }
.share-list .btn { min-width: 3.5rem; padding-inline: .9rem; }
/* Voorbeelden */
.example-num { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--gold); font-weight: 700; margin: 1rem 0 0; }
.example h2 { margin-top: .5em; }
.example figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 33%; }

.site-footer { background: #2b2620; color: #efe6da; padding: 2rem 0 1.5rem; font-size: .95rem; }
.site-footer a { color: #ffd9a3; }
.footer-grid { display: grid; gap: 1.5rem; }
@media (min-width: 46rem) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-name { font-weight: 700; color: #fff; margin-bottom: .4rem; }
.verse-small { font-family: var(--serif); font-style: italic; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media print { .site-header, .cta-trio, .site-footer, .page-toc { display: none; } .page-hero { min-height: 0; color: var(--text); background: none; } .hero-media, .page-hero::before { display: none; } .page-hero h1, .page-hero .lead { color: var(--text); text-shadow: none; } }

/* Buttons: one radius for every button (links styled as buttons, <button>s, share/copy, menu toggle, language switch).
   Keep this rule last and don't set border-radius on buttons anywhere else. */
.btn, button, input[type="submit"], input[type="button"], .menu-toggle, .site-nav a.lang-switch { border-radius: var(--btn-radius); }
