/* Fitrah Mentoring & Training — rustig, warm en professioneel; veel ruimte en goed leesbaar. */
@font-face { font-family: "Marcellus"; src: url("/fonts/marcellus-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Amiri"; src: url("/fonts/amiri-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+FB50-FDFF, U+FE70-FEFF; }

:root {
  --bg: #f7f4f1;
  --surface: #ffffff;
  --ink: #2a2230;
  --muted: #655c6c;
  --plum: #6e3a5e;
  --plum-deep: #2e1a2b;
  --lilac: #efe6ee;
  --sage: #4f6e5d;
  --sage-soft: #e6eee9;
  --gold: #b8904c;
  --gold-soft: #f3ead9;
  --line: #e5ddd8;
  --on-dark: #f5ecf3;
  --on-dark-muted: #cdbac8;
  --danger: #a3343a;
  --display: "Marcellus", "Iowan Old Style", Georgia, serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --arabic: "Amiri", "Traditional Arabic", serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17131a; --surface: #211b24; --ink: #efe7f0; --muted: #b0a4b6; --plum: #d7a1c6; --lilac: #2e2532;
    --sage: #9fc4b0; --sage-soft: #1f2a24; --gold: #d8b673; --gold-soft: #2c2519; --line: #352c39; --danger: #f08a8f;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #17131a; --surface: #211b24; --ink: #efe7f0; --muted: #b0a4b6; --plum: #d7a1c6; --lilac: #2e2532;
  --sage: #9fc4b0; --sage-soft: #1f2a24; --gold: #d8b673; --gold-soft: #2c2519; --line: #352c39; --danger: #f08a8f;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.7 var(--body); margin: 0; }
img { max-width: 100%; display: block; }
a { color: var(--plum); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 720px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
.ar { font-family: var(--arabic); direction: rtl; }

/* Balk "ontwerpvoorbeeld" */
.demo-bar { background: var(--gold-soft); color: var(--ink); font-size: .84rem; text-align: center; padding: 7px 16px; }

/* Kop en navigatie */
.top { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: grid; text-decoration: none; color: var(--ink); line-height: 1.2; }
.brand b { font-family: var(--display); font-weight: 400; font-size: 1.3rem; white-space: nowrap; }
.brand small { font-size: .78rem; color: var(--muted); letter-spacing: .04em; }
.menu { display: flex; align-items: center; gap: 22px; font-size: .96rem; }
.menu a { color: var(--muted); text-decoration: none; white-space: nowrap; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--plum); }
.menu a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 8px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: 8px 16px; font: 500 .95rem var(--body); cursor: pointer; }
.menu-kop, .menu-voet, .menu-scherm, .menu-sluit { display: none; }
.menu-streepjes { display: inline-grid; gap: 4px; }
.menu-streepjes i { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
@media (max-width: 1120px) {
  .menu-btn { display: inline-flex; align-items: center; gap: 10px; }
  .menu { position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); z-index: 30;
    display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0 22px 28px;
    background: var(--surface); box-shadow: -18px 0 40px rgba(20, 10, 18, .18); overflow-y: auto;
    transform: translateX(105%); visibility: hidden; transition: transform .28s ease, visibility 0s linear .28s; }
  .menu.open { transform: none; visibility: visible; transition: transform .28s ease; }
  .menu-kop { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
  .menu-naam { display: grid; line-height: 1.2; }
  .menu-naam b { font-family: var(--display); font-weight: 400; font-size: 1.15rem; color: var(--ink); }
  .menu-naam small { color: var(--muted); font-size: .8rem; }
  .menu-sluit { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-size: 1rem; cursor: pointer; flex: none; }
  .menu a { padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--ink); }
  .menu a[aria-current="page"] { color: var(--plum); text-decoration: none; font-weight: 600; }
  .menu a.btn { margin-top: 20px; border-bottom: 0; justify-content: center; }
  .menu-voet { display: grid; gap: 4px; margin-top: auto; padding-top: 24px; }
  .menu-voet a { border: 0; padding: 4px; font-size: .92rem; color: var(--muted); }
  .menu-scherm { display: block; position: fixed; inset: 0; z-index: 25; background: rgba(28, 16, 26, .45); }
  .menu-scherm[hidden] { display: none; }
  body.menu-open { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .menu, .menu.open { transition: none; } }
@media (max-width: 480px) {
  .menu-btn { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; flex: none; }
  .menu-btn > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .brand { min-width: 0; }
  .brand b { font-size: 1.12rem; white-space: normal; }
}

/* Knoppen */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font: 600 .97rem var(--body);
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--plum); color: #fff; }
.btn.gold { background: var(--gold); color: #24170f; }
.btn.outline { border-color: var(--plum); color: var(--plum); background: transparent; }
.btn.ghost-light { border-color: rgba(245,236,243,.45); color: var(--on-dark); background: transparent; }
.menu a.btn.primary { color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn.primary { color: #24151f; } :root:not([data-theme="light"]) .menu a.btn.primary { color: #24151f; } }

/* Algemeen */
.eyebrow { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--sage); }
section { padding-block: clamp(56px, 8vw, 96px) 0; }
.sec-head { display: grid; gap: 12px; max-width: 680px; margin-bottom: 32px; }
.sec-head h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.sec-head p { color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--muted); }
.prose { display: grid; gap: 18px; }
.prose h2 { font-size: clamp(1.7rem, 3.4vw, 2.2rem); margin-top: 26px; }
.prose h3 { font-size: 1.45rem; margin-top: 14px; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.quote { margin: 8px 0; padding: 22px 26px; border-left: 3px solid var(--gold); background: var(--surface); border-radius: 0 16px 16px 0; }
.quote p { font-family: var(--display); font-size: 1.22rem; line-height: 1.5; }
.quote cite { display: block; margin-top: 10px; font-style: normal; font-size: .88rem; color: var(--muted); }
.note { background: var(--gold-soft); border-radius: 14px; padding: 14px 18px; font-size: .92rem; }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold);
  border: 1px solid var(--gold); border-radius: 999px; padding: 2px 10px; }

/* Paginakop (subpagina's) */
.page-head { padding-block: clamp(48px, 7vw, 88px) 0; }
.page-head .wrap { display: grid; gap: 14px; }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); }
.page-head .lead { max-width: 60ch; }

/* Hero (home) */
.hero { background: var(--plum-deep); color: var(--on-dark); border-radius: 28px; margin-top: 28px; overflow: hidden; position: relative;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; padding: clamp(28px, 5vw, 64px); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23d8b673' stroke-width='1'%3E%3Cpath d='M40 6l9.9 24.1L74 40l-24.1 9.9L40 74l-9.9-24.1L6 40l24.1-9.9z'/%3E%3Crect x='22' y='22' width='36' height='36' transform='rotate(45 40 40)'/%3E%3C/g%3E%3C/svg%3E"); }
.hero > * { position: relative; }
.hero-text { display: grid; gap: 20px; align-content: center; min-width: 0; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); line-height: 1.08; }
.hero h1 em { font-style: normal; color: #d8b673; }
.hero .lead { color: var(--on-dark-muted); max-width: 52ch; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .gold { background: #d8b673; }
.arch { justify-self: center; width: min(100%, 340px); aspect-ratio: 3 / 4.1; border-radius: 999px 999px 18px 18px;
  border: 1.5px solid rgba(216,182,115,.6); padding: 12px; }
.arch-inner { width: 100%; height: 100%; border-radius: 999px 999px 10px 10px; display: grid; place-items: center; text-align: center;
  background: radial-gradient(120% 80% at 50% 20%, #5a2f4e 0%, #3a2137 60%, #2e1a2b 100%); padding: 22px; overflow: hidden; }
.arch-inner img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.arch .big { font-family: var(--arabic); font-size: clamp(3.6rem, 8vw, 5.4rem); color: #d8b673; line-height: 1; direction: rtl; }
.arch .ayah { font-family: var(--arabic); font-size: 1.15rem; color: var(--on-dark); direction: rtl; margin-top: 14px; line-height: 1.8; }
.arch .ref { font-size: .82rem; color: var(--on-dark-muted); margin-top: 8px; }
.arch .photo-note { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 16px; }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; } .arch { width: min(100%, 280px); } }

/* Kaarten */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .cards, .cards.two { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; gap: 12px; align-content: start; }
.card h3 { font-size: 1.45rem; }
.card p { color: var(--muted); }
.card .more { color: var(--plum); font-weight: 600; text-decoration: none; margin-top: 4px; }
.card .more:hover { text-decoration: underline; }
.card.arched { border-radius: 160px 160px 20px 20px; padding-top: 52px; text-align: center; justify-items: center; }
.ic { width: 52px; height: 52px; border-radius: 50%; background: var(--lilac); display: grid; place-items: center; color: var(--plum); }
.ic svg { width: 24px; height: 24px; }

/* Vragen-lijst */
.questions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 720px) { .questions { grid-template-columns: 1fr; } }
.questions li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px 14px 44px; position: relative; }
.questions li::before { content: ""; position: absolute; left: 18px; top: 22px; width: 9px; height: 9px; transform: rotate(45deg); background: var(--gold); }

/* Splitblok */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 44px); }
.panel.sage { background: var(--sage-soft); border-color: transparent; }
.portrait { aspect-ratio: 4 / 5; border-radius: 999px 999px 24px 24px; background: var(--lilac); display: grid; place-items: center; text-align: center;
  color: var(--muted); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; max-width: 380px; width: 100%; justify-self: center; }

/* Agenda */
.agenda { display: grid; border-top: 1px solid var(--line); }
.event { display: grid; grid-template-columns: 84px 1fr auto; gap: 20px; align-items: center; padding-block: 22px; border-bottom: 1px solid var(--line); }
.date { text-align: center; border: 1px solid var(--line); border-radius: 14px; padding: 8px 4px; background: var(--surface); }
.date b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.8rem; line-height: 1.1; }
.date span { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.event h3 { font-size: 1.3rem; }
.event h3 a { color: inherit; text-decoration: none; }
.event h3 a:hover { color: var(--plum); }
.event .meta { color: var(--muted); font-size: .92rem; }
.pill { display: inline-block; font-size: .78rem; font-weight: 600; border-radius: 999px; padding: 3px 10px; background: var(--sage-soft); color: var(--sage); margin-top: 6px; }
.pill.full { background: var(--lilac); color: var(--plum); }
@media (max-width: 640px) { .event { grid-template-columns: 64px 1fr; } .event .btn { grid-column: 1 / -1; justify-content: center; } }
.empty { color: var(--muted); padding: 22px 0; }

/* Ervaringen */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }
.quotes figure { margin: 0; background: var(--surface); border: 1px dashed var(--gold); border-radius: 20px; padding: 24px; display: grid; gap: 12px; }
.quotes blockquote { margin: 0; font-family: var(--display); font-size: 1.15rem; line-height: 1.5; }
.quotes .tag { justify-self: start; }
.quotes figcaption { font-size: .85rem; color: var(--muted); }
.quotes.echt { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.quotes.echt figure { border-style: solid; border-color: var(--line); }
.quotes .more { font-size: .9rem; }
.ervaring { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 4vw, 32px); margin-bottom: 18px; scroll-margin-top: 110px; }
.ervaring-kop { font-size: 1.35rem; margin-bottom: 12px; color: var(--plum); }
.ervaring-tekst { display: grid; gap: 12px; }
.ervaring-tekst p:first-child::before { content: "“"; font-family: var(--display); color: var(--gold); font-size: 1.6em; line-height: 0; margin-right: 2px; vertical-align: -0.25em; }
.ervaring-naam { margin-top: 16px; font-weight: 600; }
.ervaring-naam span { font-weight: 400; color: var(--muted); }

/* Formulieren */
form.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label, fieldset legend { font-weight: 500; font-size: .95rem; }
.field small { color: var(--muted); font-size: .85rem; }
input[type="text"], input[type="search"], input[type="email"], input[type="tel"], input[type="number"], input[type="datetime-local"], input[type="date"], input[type="time"], input[type="password"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.choices { display: grid; gap: 8px; }
.choice { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; }
.choice input { margin-top: 5px; accent-color: var(--plum); }
.choice:has(input:checked) { border-color: var(--plum); }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; }
.check-line input { margin-top: 5px; accent-color: var(--plum); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 14px; padding: 14px 18px; }
.alert.ok { background: var(--sage-soft); color: var(--ink); }
.alert.err { background: var(--lilac); color: var(--danger); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .two-col { grid-template-columns: 1fr; } }

/* Contactpagina */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.side { display: grid; gap: 14px; }
.side .card { gap: 8px; }
.wa { background: #1f7a4d; color: #fff; }

/* Oproep */
.cta { background: var(--plum-deep); color: var(--on-dark); border-radius: 28px; padding: clamp(28px, 5vw, 56px);
  display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta h2 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); }
.cta p { color: var(--on-dark-muted); max-width: 56ch; margin-top: 10px; }

/* Voettekst */
footer.foot { margin-top: clamp(64px, 9vw, 110px); border-top: 1px solid var(--line); padding-block: 44px 36px; font-size: .94rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
.foot h3 { font-family: var(--body); font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--plum); }
.foot p { color: var(--muted); }
.foot .legal { margin-top: 30px; color: var(--muted); font-size: .84rem; display: flex; gap: 16px; flex-wrap: wrap; }

/* Beheer */
.admin table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.admin th, .admin td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin th { font-weight: 600; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.admin .scroll { overflow-x: auto; }
.admin nav.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.admin nav.tabs a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); }
.admin nav.tabs a[aria-current="page"] { background: var(--plum); color: #fff; border-color: var(--plum); }
.admin .msg { white-space: pre-wrap; }
.admin .done { opacity: .55; }
.linkbtn { background: none; border: 0; color: var(--plum); font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }
.linkbtn.danger { color: var(--danger); }
.inline { display: inline; }

/* Nieuwsbrief in de voettekst */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.news { margin-top: 34px; padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px 24px; align-items: center; }
.news-fields { display: flex; gap: 10px; }
.news-fields input { flex: 1; min-width: 0; }
.news-note { grid-column: 1 / -1; font-size: .84rem; }
@media (max-width: 760px) {
  .news { grid-template-columns: 1fr; } .news-fields { flex-direction: column; }
  /* Op de telefoon staat de nieuwsbrief bovenaan de voettekst, vóór de kolommen met links. */
  footer.foot > .wrap { display: flex; flex-direction: column; }
  footer.foot .news { order: -1; margin: 0 0 34px; }
}

/* Artikelen */
.articles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 760px) { .articles { grid-template-columns: 1fr; } }
.articles .card h3 a { color: inherit; text-decoration: none; }
.articles .card h3 a:hover { color: var(--plum); }
.meta-line { font-size: .88rem; color: var(--muted); }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts li:last-child { border-bottom: 0; }
.facts b { font-weight: 600; white-space: nowrap; }

/* Even stilstaan bij jezelf (reflectievragen op home) */
.check { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 24px; padding: clamp(22px, 4vw, 44px); }
@media (max-width: 860px) { .check { grid-template-columns: 1fr; } }
.check-intro { display: grid; gap: 14px; align-content: start; }
.check-intro h2 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); }
.check-intro p { color: var(--muted); }
.small-note { font-size: .86rem; color: var(--muted); }
.check .q { display: grid; grid-template-columns: 60px 1fr; gap: 14px; align-items: start; padding: 14px 0; }
.check .q + .q { border-top: 1px solid var(--line); }
.q .w { font-family: var(--arabic); font-size: 1.9rem; color: var(--plum); text-align: center; line-height: 1.2; direction: rtl; }
.q .ql { font-family: inherit; font-size: 1rem; font-weight: 600; margin: 4px 0 4px; }
.q .ql small { font-weight: 400; color: var(--muted); font-size: .85rem; }
.q p { color: var(--muted); }
.result { margin-top: 18px; background: var(--lilac); border-radius: 16px; padding: 20px; display: grid; gap: 10px; }
.result .ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.check > * { min-width: 0; }
.check .q > div { min-width: 0; }
@media (max-width: 520px) {
  .check .q { grid-template-columns: 40px 1fr; gap: 10px; }
  .q .w { font-size: 1.5rem; }
}

/* Afbeeldingen */
.admin-thumb { max-width: 220px; max-height: 260px; border-radius: 12px; border: 1px solid var(--line); margin: 4px 0 8px; }
.poster { width: 100%; border-radius: 18px; border: 1px solid var(--line); }
.event .thumb { width: 84px; height: 84px; object-fit: cover; border-radius: 14px; }
.article-hero { width: 100%; max-height: 460px; object-fit: cover; border-radius: 20px; }
.card .card-img { width: calc(100% + 56px); margin: -28px -28px 6px; height: 200px; object-fit: cover; border-radius: 20px 20px 0 0; max-width: none; }

/* Verfijning (14 okt): portret, tarieven, organisaties zonder foto */
.portrait-img { width: 100%; max-width: 380px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 24px 24px; justify-self: center; }
.org-panel { display: grid; gap: 12px; background: var(--sage-soft); border-color: transparent; }
.org-panel h2 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); }
.org-panel p { color: var(--muted); max-width: 70ch; }
.facts li > span small { display: block; color: var(--muted); font-size: .85rem; margin-top: 2px; }

/* Telefoon */
@media (max-width: 640px) {
  .hero { margin-top: 16px; border-radius: 22px; padding: 26px 20px; gap: 22px; }
  .hero .ctas { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero .ctas .btn { justify-content: center; width: 100%; }
  .arch { width: 190px; aspect-ratio: 3 / 3.6; padding: 8px; }
  .arch .big { font-size: 3.2rem; }
  .arch .ayah { font-size: .8rem; margin-top: 8px; white-space: nowrap; }
  .org-panel .btn { width: 100%; justify-content: center; }
  section { padding-top: 52px; }
  .sec-head { margin-bottom: 22px; }
  .questions li { padding: 10px 14px 10px 36px; }
  .questions li::before { left: 15px; top: 18px; width: 8px; height: 8px; }
  .panel { padding: 22px 18px; border-radius: 20px; }
  .card { padding: 22px; }
  .card.arched { border-radius: 26px; padding-top: 24px; gap: 8px; }
  .cards { gap: 12px; }
  .event { gap: 14px; padding-block: 18px; }
  .event h3 { font-size: 1.15rem; }
  .cta { border-radius: 22px; padding: 26px 20px; }
  .cta .btn { width: 100%; justify-content: center; }
  .foot .legal { flex-direction: column; gap: 6px; }
  .page-head h1 { font-size: 2.1rem; }
}

/* ================= Beheer ================= */
.btn.small { padding: 8px 14px; font-size: .88rem; }
.adm { background: var(--bg); }
.adm-top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.adm-top > .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 64px; }
.adm-brand { display: grid; text-decoration: none; color: var(--ink); line-height: 1.2; }
.adm-brand b { font-family: var(--display); font-weight: 400; font-size: 1.15rem; }
.adm-brand small { color: var(--sage); font-weight: 600; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.adm-acties { display: flex; align-items: center; gap: 14px; }
.adm-nav { border-top: 1px solid var(--line); }
.adm-nav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 6px; }
.adm-nav .wrap::-webkit-scrollbar { display: none; }
.adm-nav a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: .94rem; }
.adm-nav a:hover { background: var(--lilac); color: var(--ink); }
.adm-nav a[aria-current="page"] { background: var(--plum); color: #fff; }
.badge { display: inline-block; font-size: .72rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--lilac); color: var(--plum); vertical-align: middle; }
.adm-nav a[aria-current="page"] .badge { background: #fff; }
.badge.groen { background: var(--sage-soft); color: var(--sage); }
.badge.oranje { background: var(--gold-soft); color: #8a5a12; }
.badge.grijs { background: var(--line); color: var(--muted); }
.adm-main { padding-block: 28px 120px; }
.adm-kop { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.adm-kop h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
.adm-kop .lead { font-size: 1rem; margin-top: 6px; max-width: 62ch; }
.adm-kop-knoppen { display: flex; gap: 8px; flex-wrap: wrap; }
.adm-kop-knoppen form { margin: 0; }
.adm-h2 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; margin: 34px 0 14px; }
.adm .alert { margin-bottom: 18px; }

.adm-tellers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.adm-tellers a { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; text-decoration: none; color: var(--ink);
  display: grid; gap: 4px; transition: border-color .15s, transform .15s; }
.adm-tellers a:hover { border-color: var(--plum); transform: translateY(-1px); }
.adm-tellers b { font-family: var(--display); font-weight: 400; font-size: 2.6rem; line-height: 1; color: var(--plum); }
.adm-tellers a span { color: var(--ink); font-weight: 600; font-size: 1rem; margin-top: 6px; }
.adm-tellers a small { color: var(--muted); font-size: .85rem; }

.adm-kaarten { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
.adm-kaart { display: grid; grid-template-columns: 96px 1fr; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 14px; }
.adm-kaart.voorbij { opacity: .7; }
.adm-kaart-img { width: 96px; height: 128px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.adm-kaart-datum { width: 96px; height: 96px; border-radius: 14px; background: var(--lilac); display: grid; place-content: center; text-align: center; }
.adm-kaart-datum b { font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--plum); }
.adm-kaart-datum span { text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; color: var(--muted); }
.adm-kaart-tekst { display: grid; gap: 3px; align-content: start; min-width: 0; }
.adm-kaart-tekst h3 { font-size: 1.15rem; line-height: 1.25; margin: 4px 0 2px; }
.adm-kaart-tekst p { font-size: .9rem; color: var(--muted); }
.adm-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.adm-kaart-knoppen { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.adm-kaart-knoppen form { margin: 0; }
.adm-voorbij { margin-top: 28px; }
.adm-voorbij summary { cursor: pointer; color: var(--muted); font-weight: 500; margin-bottom: 14px; }

.adm-bericht { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; margin-bottom: 12px; display: grid; gap: 10px; }
.adm-bericht.done { opacity: .6; }
.adm-bericht-kop { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.adm-bericht-acties { display: flex; gap: 6px; flex-wrap: wrap; align-items: flex-start; }
.adm-bericht-acties form { margin: 0; }
.adm .msg { white-space: pre-wrap; }

.adm-form { max-width: 820px; gap: 14px; }
.adm-sectie { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px 20px; display: grid; gap: 12px; }
.adm-sectie > legend { font-family: var(--display); font-size: 1.3rem; padding: 0 6px; margin-left: -6px; float: left; width: 100%; }
.adm-sectie > legend + * { clear: both; }
.three-col { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; }
.upload-rij { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.upload-knoppen { display: grid; gap: 8px; justify-items: start; flex: 1; min-width: 200px; }
.upload-knop { position: relative; overflow: hidden; cursor: pointer; }
.upload-knop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.admin-thumb[hidden] { display: none; }
.schakelaar { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 500; }
.schakelaar input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.schuif { width: 48px; height: 28px; border-radius: 999px; background: var(--line); position: relative; transition: background .2s; flex: none; }
.schuif::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.schakelaar input:checked + .schuif { background: var(--sage); }
.schakelaar input:checked + .schuif::after { transform: translateX(20px); }
.schakelaar input:focus-visible + .schuif { outline: 2px solid var(--gold); outline-offset: 2px; }
.adm-opslaan { position: sticky; bottom: 0; display: flex; gap: 10px; padding: 14px 0; background: linear-gradient(to top, var(--bg) 70%, transparent); z-index: 3; }
.adm-opslaan .btn { min-width: 140px; justify-content: center; }
.adm-aanmeldingen { max-width: 820px; }
.adm-persoon { display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 8px; }
.adm-persoon .nr { width: 28px; height: 28px; border-radius: 50%; background: var(--lilac); color: var(--plum); display: grid; place-items: center; font-size: .82rem; font-weight: 600; }
.adm-persoon form { margin: 0; }
.adm-gevaar { margin-top: 40px; }
.adm-uitleg { max-width: 760px; }
.adm-uitleg ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.adm-uitleg ul { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.uitleg-zoek { margin-bottom: 16px; }
.uitleg-item { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; scroll-margin-top: 140px; }
.uitleg-item summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 20px; font-weight: 600; position: relative; }
.uitleg-item summary::-webkit-details-marker { display: none; }
.uitleg-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--plum); }
.uitleg-item[open] summary::after { content: "−"; }
.uitleg-item[open] summary { border-bottom: 1px solid var(--line); }
.uitleg-item summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 16px; }
.uitleg-item .prose { padding: 14px 20px 18px; display: grid; gap: 10px; }
.adm table { width: 100%; border-collapse: collapse; font-size: .93rem; background: var(--surface); border-radius: 14px; overflow: hidden; }
.adm th, .adm td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.adm th { font-weight: 600; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.adm .scroll { overflow-x: auto; }
.adm .form.panel { max-width: 820px; }

.adm-login { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; background: var(--plum-deep); }
.login-card { width: min(100%, 400px); background: var(--surface); border-radius: 24px; padding: 32px 28px; display: grid; gap: 14px; text-align: center; }
.login-card h1 { font-size: 2rem; }
.login-card .form { text-align: left; }
.login-card .btn { justify-content: center; width: 100%; }
.login-ar { font-size: 2.6rem; color: var(--gold); line-height: 1.2; margin: 0; }

@media (max-width: 720px) {
  .adm-acties .btn { display: none; }
  .adm-tellers { grid-template-columns: 1fr 1fr; }
  .adm-kop-knoppen { width: 100%; }
  .adm-kop-knoppen .btn { flex: 1 1 auto; justify-content: center; }
  .adm-kaarten { grid-template-columns: 1fr; }
  .adm-kaart { grid-template-columns: 72px 1fr; gap: 12px; }
  .adm-kaart-img { width: 72px; height: 96px; }
  .adm-kaart-datum { width: 72px; height: 72px; }
  .three-col { grid-template-columns: 1fr 1fr; }
  .three-col .field:first-child { grid-column: 1 / -1; }
  .adm-sectie { padding: 16px; }
  .adm-opslaan .btn { flex: 1; min-width: 0; }
}

/* Lesdata bij een cursus */
.lesdata { margin: 6px 0 0; padding-left: 1.1em; display: grid; gap: 2px; }

/* Extra lessen en deelnemers (beheer) */
.les-rij { display: grid; grid-template-columns: 56px 1.3fr 1fr 1fr 32px; gap: 8px; align-items: center; margin-bottom: 8px; }
.les-nr { font-size: .85rem; color: var(--muted); font-weight: 600; }
.les-weg { font-size: 1rem; }
.adm-persoon-knoppen { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.adm-persoon-knoppen form { margin: 0; }
@media (max-width: 720px) {
  .les-rij { grid-template-columns: 1fr 1fr 32px; }
  .les-rij .les-nr { grid-column: 1 / -1; }
  .les-rij input[type=date] { grid-column: 1 / -1; }
  .adm-persoon { grid-template-columns: 28px 1fr; }
  .adm-persoon-knoppen { grid-column: 2; justify-content: flex-start; }
}

.three-col input, .les-rij input, .two-col input { min-width: 0; width: 100%; }
input[type="date"], input[type="time"] { min-height: 46px; -webkit-appearance: none; appearance: none; }
