/* Rihla Madinah — stylesheet
   Kleuren zijn gepipetteerd uit de mockup; contrasten staan in DESIGN.md. */

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Oppervlakken */
  --cream: #fbf8f2;
  --sand: #f5f1e9;
  --paper: #fffdf9;
  --line: #e7dfd1;
  --line-strong: #d8ccb6;
  --field-border: #948672;

  /* Groen */
  --green: #0b4033;
  --green-deep: #0c3d34;
  --green-hover: #0f5241;
  --dome: #1d6a4f;

  /* Goud */
  --gold: #a27c45;
  --gold-btn: #8c6a37;
  --gold-btn-hover: #7a5c2f;
  --gold-text: #86652f;
  --gold-soft: #efe4d0;
  --gold-on-green: #d9b97e;

  /* Tekst */
  --ink: #12312a;
  --text: #2c3330;
  --muted: #5d6461;
  --on-green: #fbf8f2;
  --on-green-muted: #c9d6cf;
  --line-on-green: rgb(251 248 242 / 0.14);
  --white: #fff;
  --placeholder: #6a706e;
  --focus-glow: 0 0 0 3px rgb(162 124 69 / 0.2);
  --error: #a3342b;
  --error-soft: #fbeeec;

  /* Typografie */
  --font-serif: "Newsreader", "Noto Naskh Arabic", "Iowan Old Style", Georgia, serif;
  --font-sans: "Figtree", "Noto Naskh Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.1875rem;
  --step-2: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  --step-3: clamp(1.75rem, 1.4rem + 1.3vw, 2.375rem);
  --step-5: clamp(2.75rem, 1.6rem + 4.4vw, 5rem);

  /* Ruimte */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: clamp(3.5rem, 2.5rem + 3vw, 5.5rem);
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2.5rem);
  --container: 75rem;

  /* Vorm en diepte */
  --radius-s: 6px;
  --radius: 10px;
  --radius-l: 16px;
  --shadow-card: 0 1px 2px rgb(18 49 42 / 0.05), 0 8px 24px -12px rgb(18 49 42 / 0.12);
  --shadow-lift: 0 2px 4px rgb(18 49 42 / 0.06), 0 18px 36px -16px rgb(18 49 42 / 0.22);

  /* Beweging */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

/* ---------- Basis ---------- */

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

/* iPhone: html en body dragen de kleur van de onderrand (groene footer),
   de crème inhoud zit op main. Zie DESIGN.md. */

html {
  background: var(--green-deep);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--green-deep);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}

main {
  display: block;
  background: var(--cream);
  padding-bottom: 0;
}

img { display: block; max-width: 100%; height: auto; }

figure { margin: 0; }

ul,
ol { margin: 0; padding: 0; list-style: none; }

p { margin: 0; }

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
  text-wrap: balance;
}

p { text-wrap: pretty; }

a { color: inherit; }

::selection { background: var(--gold-soft); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold-text);
  outline-offset: 3px;
  border-radius: 4px;
}

html { scrollbar-color: var(--line-strong) var(--cream); }

.icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  vertical-align: -0.15em;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  inset-inline-start: var(--space-4);
  top: -4rem;
  z-index: 100;
  padding: var(--space-3) var(--space-4);
  background: var(--green);
  color: var(--on-green);
  border-radius: var(--radius-s);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus { top: var(--space-4); }

/* Nog aan te leveren gegevens: bewust zichtbaar */

.todo {
  display: inline-block;
  padding: 0 0.4em;
  border: 1px dashed currentColor;
  border-radius: 4px;
  font-style: italic;
  font-size: 0.92em;
}

/* ---------- Knoppen ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  font: 600 0.9875rem/1.2 var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 160ms var(--ease-out);
}

.btn:active { transform: scale(0.97); }

.btn .icon { transition: transform 200ms var(--ease-out); }

.btn-green { background: var(--green); color: var(--white); }

.btn-gold { background: var(--gold-btn); color: var(--white); }

.btn-outline { background: transparent; color: var(--gold-text); border-color: var(--gold); }

@media (hover: hover) and (pointer: fine) {
.btn-green:hover { background: var(--green-hover); }

.btn-gold:hover { background: var(--gold-btn-hover); }

.btn-outline:hover { background: var(--paper); border-color: var(--gold-text); }

.btn:hover .icon { transform: translateX(3px); }
}

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  gap: 0.5em;
  color: var(--gold-text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  text-decoration-color: rgb(134 101 47 / 0.35);
  transition: text-decoration-color 180ms ease;
}

.text-link .icon { transition: transform 200ms var(--ease-out); }

@media (hover: hover) and (pointer: fine) {
.text-link:hover { text-decoration-color: currentColor; }

.text-link:hover .icon { transform: translateX(3px); }
}

/* ---------- Kop ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}

/* Bovenaan vormt de kop één geheel met de hero; de rand komt pas na scrollen.
   Zonder JavaScript blijft de rand altijd staan. */
.js .site-header {
  border-bottom-color: transparent;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.js .site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 18px -14px rgb(18 49 42 / 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}


.brand-name {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* Logo: Latijnse naam met de Arabische naam eronder (zoals het logo van de klant).
   Op de Arabische versie is de naam al Arabisch, dan vervalt de tweede regel. */
.brand-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.brand-text .brand-name { line-height: 1.05; }
.brand-ar {
  margin-top: -0.2rem;
  font-family: "Noto Naskh Arabic", "Traditional Arabic", serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--gold-text);
  white-space: nowrap;
}
.brand-light .brand-ar { color: var(--gold-on-green); }
html[lang="ar"] .brand-ar { display: none; }
.brand-mark { width: 2.6rem; height: 2.85rem; }

.brand-light { color: var(--on-green); }

/* De kop loopt even breed als de hero: logo links, talen en knop rechts. */
.site-header > .container { max-width: calc(94rem + 2 * var(--gutter)); }

.nav { display: none; margin-inline: auto; }

.nav-list { display: flex; gap: clamp(0.75rem, 1.6vw, 1.75rem); }

.nav-list a {
  position: relative;
  display: block;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease-out);
}

.nav-list a[aria-current="page"] { color: var(--ink); }

.nav-list a[aria-current="page"]::after { transform: scaleX(1); }

@media (hover: hover) and (pointer: fine) {
.nav-list a:hover::after { transform: scaleX(1); }
}

.header-cta { display: none; min-height: 2.75rem; padding: 0.6rem 1.1rem; font-size: 0.9375rem; }

/* Mobiel menu: zonder JS een gewone <details>, met JS een vaste laag in <body> */

.menu { margin-inline-start: auto; }

.menu-toggle {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.menu-toggle::-webkit-details-marker { display: none; }

.menu-toggle .icon { width: 1.35rem; height: 1.35rem; grid-area: 1 / 1; }

.menu-toggle .icon-shut { display: none; }

.menu:not(.is-enhanced)[open] .menu-toggle .icon-open { display: none; }

.menu:not(.is-enhanced)[open] .menu-toggle .icon-shut { display: block; }

.menu-overlay { display: none; }

.menu-panel { display: none; }

.menu:not(.is-enhanced)[open] .menu-panel {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: var(--space-4) var(--gutter) var(--space-6);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
}

.menu-head { display: none; }

.menu-list a {
  display: flex;
  align-items: center;
  min-height: 3.25rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: 1.375rem;
  color: var(--ink);
  text-decoration: none;
}

.menu-list a[aria-current="page"] { color: var(--gold-text); }

.menu-cta { width: 100%; margin-top: var(--space-5); }

.menu-layer {
  position: fixed;
  inset: 0;
  z-index: 80;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 220ms;
}

.menu-layer.is-open {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s;
}

.menu-layer .menu-overlay {
  display: block;
  position: absolute;
  inset: 0;
  background: rgb(12 61 52 / 0.45);
  opacity: 0;
  transition: opacity 200ms var(--ease-out);
}

.menu-layer .menu-panel {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  bottom: 0;
  width: min(24rem, 88vw);
  padding: calc(env(safe-area-inset-top) + var(--space-4)) var(--space-5) calc(env(safe-area-inset-bottom) + var(--space-6));
  background: var(--cream);
  box-shadow: -12px 0 40px -12px rgb(12 61 52 / 0.35);
  --drawer-from: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(var(--drawer-from));
  transition: transform 220ms var(--ease-out);
}

.menu-layer.is-open .menu-overlay { opacity: 1; transition-duration: 260ms; }

.menu-layer.is-open .menu-panel { transform: translateX(0); transition: transform 320ms var(--ease-drawer); }

.menu-layer .menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.5rem;
  margin-bottom: var(--space-3);
}

.menu-title { font-weight: 600; font-size: var(--step--1); color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

.menu-close {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-close .icon { width: 1.35rem; height: 1.35rem; }

.menu-layer .menu-cta { margin-top: auto; }

.menu-layer .menu-list { margin-bottom: var(--space-6); }

html.menu-open { overflow: hidden; }

html.menu-open,
html.menu-open body { background: var(--cream); }

@media (min-width: 1280px) {
.nav { display: block; }

.header-cta { display: inline-flex; }

.menu { display: none; }
}

@media (min-width: 640px) and (max-width: 1279.98px) {
.header-cta { display: inline-flex; margin-inline-start: auto; }

.menu { margin-inline-start: 0; }
}

/* ---------- Secties ---------- */

/* ---------- Hero ---------- */

/* ---------- Routes ---------- */

/* ---------- Studeren-band ---------- */

/* ---------- Wonen ---------- */

.tag {
  position: absolute;
  inset-inline-start: var(--space-3);
  bottom: var(--space-3);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgb(255 253 249 / 0.94);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: 0 1px 2px rgb(18 49 42 / 0.12);
}

/* ---------- Verhaal ---------- */

/* ---------- Ervaar ---------- */

/* ---------- Stappen ---------- */

/* ---------- Veelgestelde vragen ---------- */

.faq {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 3.25rem;
  padding: var(--space-3) var(--space-4);
  font-size: 0.9625rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary .icon { color: var(--gold-text); transition: transform 220ms var(--ease-out); }

.faq[open] summary .icon { transform: rotate(45deg); }

.faq p {
  padding: 0 var(--space-4) var(--space-4);
  font-size: 0.9375rem;
  color: var(--muted);
}

@media (hover: hover) and (pointer: fine) {
.faq summary:hover { color: var(--green-hover); }
}

/* ---------- Paginahero (binnenpagina's) ---------- */

.lead {
  margin-top: var(--space-4);
  max-width: 46ch;
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--text);
}

/* Donkere variant: witte tekst over de foto (Leven in Medina) */

/* ---------- Sectiekop met intro ---------- */

/* ---------- Beeldkaarten: 4 kolommen ---------- */

/* ---------- Feiten: icoon + titel + tekst ---------- */

/* ---------- Band met beeld rechts ---------- */

/* ---------- Vragen als één lijst ---------- */

.faq-list { display: grid; gap: var(--space-3); }

.faq-list + .btn { margin-top: var(--space-5); }

/* ---------- Mededeling ---------- */

/* ---------- Checklist ---------- */

/* ---------- Zoekbalk accommodaties ---------- */

.search-bar {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--space-3);
  margin-top: calc(-1 * var(--space-6));
  padding: var(--space-4);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
}

.search-field {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 3.5rem;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--field-border);
  border-radius: var(--radius-s);
  background: var(--white);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.search-field:focus-within { border-color: var(--gold); box-shadow: var(--focus-glow); }

.search-field > .icon { color: var(--gold-text); width: 1.25rem; height: 1.25rem; }

.search-field label { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--ink); line-height: 1.2; }

.search-field select,
.search-field input {
  display: block;
  width: 100%;
  min-height: 2.75rem;
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: 400 1rem/1.4 var(--font-sans);
  outline: none;
}

.search-field > span { flex: 1; min-width: 0; }

.search-bar .btn { min-height: 3.5rem; }

.search-hint { grid-column: 1 / -1; font-size: 0.875rem; color: var(--muted); }

@media (min-width: 900px) {
.search-bar { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: center; }
}

@media (min-width: 600px) and (max-width: 899.98px) {
.search-bar { grid-template-columns: 1fr 1fr; }

.search-bar .btn { grid-column: 1 / -1; }
}

/* ---------- Accommodatiekaart ---------- */

/* ---------- Zandkleurige sectie ---------- */

/* ---------- Groen blok ---------- */

/* ---------- Over Imran ---------- */

.split {
  display: grid;
  gap: var(--space-6);
}

.split p { margin-top: var(--space-4); max-width: 52ch; }

.split .btn { margin-top: var(--space-5); }

@media (min-width: 900px) {
.split { grid-template-columns: 1.4fr 0.6fr; gap: var(--space-8); align-items: center; }
}

/* ---------- Contact ---------- */

.contact-grid { display: grid; gap: var(--space-6); align-items: start; }

@media (min-width: 960px) {
.contact-grid { grid-template-columns: 0.42fr 1fr; gap: var(--space-7); }
}

.contact-side h2 { font-size: var(--step-2); margin-bottom: var(--space-4); }

.contact-card {
  padding: var(--space-5);
  border-radius: var(--radius);
  background: var(--sand);
}

.contact-card + .contact-card { margin-top: var(--space-4); }

.contact-card-head { display: flex; align-items: center; gap: var(--space-3); }

.contact-card-head h3 { font-family: var(--font-sans); font-size: var(--step-1); font-weight: 600; }

.round-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
}

.round-icon .icon { width: 1.4rem; height: 1.4rem; }

.contact-card p { margin-top: var(--space-3); font-size: 0.9375rem; color: var(--text); }

.contact-card .contact-value { margin-top: var(--space-4); font-weight: 600; color: var(--ink); }

.form-card {
  padding: var(--space-6) var(--space-5);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

@media (min-width: 640px) {
.form-card { padding: var(--space-7) var(--space-6); }
}

.form-card > h2 { font-size: var(--step-3); }

.form-intro { margin-top: var(--space-2); color: var(--muted); font-size: 0.9375rem; }

.form { display: grid; gap: var(--space-5); margin-top: var(--space-6); }

.form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }

.form legend,
.field > label {
  display: block;
  margin-bottom: var(--space-2);
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}

.optional { font-weight: 400; color: var(--muted); }

.field-row { display: grid; gap: var(--space-5); }

@media (min-width: 640px) {
.field-row { grid-template-columns: 1fr 1fr; }
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form input[type="date"],
.form select,
.form textarea {
  display: block;
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--field-border);
  border-radius: var(--radius-s);
  background: var(--white);
  color: var(--text);
  font: 400 1rem/1.4 var(--font-sans);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form textarea { min-height: 8rem; resize: vertical; }

.form select {
  appearance: none;
  padding-inline-end: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386652f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1.1rem;
}

.form ::placeholder { color: var(--placeholder); }

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--gold-text);
  box-shadow: var(--focus-glow);
}

.form [aria-invalid="true"] { border-color: var(--error); }

.field-hint { margin-top: var(--space-2); font-size: 0.875rem; color: var(--muted); }

.field-error {
  display: flex;
  align-items: center;
  gap: 0.4em;
  margin-top: var(--space-2);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--error);
}

.field-error[hidden] { display: none; }

.choices { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.choice { position: relative; }

.choice input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--field-border);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.9375rem;
  color: var(--text);
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.choice input:checked + span {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.choice input:focus-visible + span { outline: 2px solid var(--gold-text); outline-offset: 2px; }

@media (hover: hover) and (pointer: fine) {
.choice input:not(:checked):hover + span { border-color: var(--gold); }
}

.conditional { display: grid; gap: var(--space-5); }

.conditional-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-text);
}

.js .conditional-label { display: none; }

.conditional[hidden] { display: none; }

.consent,
.field > .consent { display: flex; align-items: flex-start; gap: var(--space-3); margin: 0; font-size: 0.9375rem; font-weight: 400; color: var(--text); }

.consent input { flex: none; width: 1.25rem; height: 1.25rem; margin: 0.15rem 0 0; accent-color: var(--green); }

.consent a { color: var(--gold-text); text-underline-offset: 0.2em; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); }

.form-foot .btn { min-width: 12rem; }

.btn[aria-busy="true"] { opacity: 0.75; cursor: progress; }

.form-status {
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius);
  font-size: 0.9375rem;
}

.form-status[hidden] { display: none; }

.form-status--todo { border: 1px dashed var(--line-strong); color: var(--text); }

.form-status--error { background: var(--error-soft); color: var(--error); }

.form-success {
  padding: var(--space-6);
  border-radius: var(--radius);
  background: var(--sand);
  text-align: center;
}

.form-success h3 { font-size: var(--step-2); }

.form-success p { margin-top: var(--space-3); color: var(--text); }

/* ---------- Privacy ---------- */

.prose { max-width: 44rem; }

.prose h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.25rem); }

.prose h2 { margin-top: var(--space-7); font-size: var(--step-2); }

.prose p,
.prose ul { margin-top: var(--space-4); }

.prose ul { padding-inline-start: 1.25rem; list-style: disc; }

.prose li + li { margin-top: var(--space-2); }

.prose a { color: var(--gold-text); text-underline-offset: 0.2em; }

.prose .meta { margin-top: var(--space-3); color: var(--muted); font-size: 0.9375rem; }

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--green-deep);
  color: var(--on-green-muted);
  padding-bottom: env(safe-area-inset-bottom);
}

.footer-cta {
  display: grid;
  gap: var(--space-5);
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--line-on-green);
}

.footer-cta-title {
  font-family: var(--font-serif);
  font-size: var(--step-3);
  font-weight: 500;
  line-height: 1.15;
  color: var(--on-green);
  text-wrap: balance;
}

.footer-cta-copy p + p { margin-top: var(--space-2); }

.footer-cta .btn { justify-self: start; }

.footer-main {
  position: relative;
  display: grid;
  gap: var(--space-5);
  padding-block: var(--space-4);
}

.footer-ornament {
  display: none;
  width: 10rem;
  height: 5rem;
  color: var(--gold);
  opacity: 0.75;
}

.footer-bottom {
  display: grid;
  gap: var(--space-3);
  padding-block: var(--space-5) var(--space-5);
  border-top: 1px solid var(--line-on-green);
  font-size: 0.9375rem;
}

.footer-nav { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--on-green);
  text-decoration: none;
}

.footer-nav a[aria-current="page"] { color: var(--gold-on-green); }

.footer-contact { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }

.footer-contact li { display: inline-flex; align-items: center; gap: 0.45em; }

.footer-contact .icon { color: var(--gold-on-green); }

.footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--on-green);
  text-decoration: underline;
  text-underline-offset: 0.25em;
  text-decoration-color: rgb(251 248 242 / 0.35);
}

@media (hover: hover) and (pointer: fine) {
.footer-nav a:hover { color: var(--gold-on-green); }

.footer-legal a:hover { text-decoration-color: currentColor; }
}

.site-footer :focus-visible { outline-color: var(--gold-on-green); }

@media (min-width: 900px) {
.footer-cta { grid-template-columns: auto 1fr; align-items: center; gap: var(--space-5) var(--space-7); }

.footer-cta .contact-ways { grid-column: 2; }

.footer-cta-title { font-size: clamp(1.5rem, 1.1rem + 0.8vw, 1.875rem); }

.footer-main { display: flex; align-items: center; gap: var(--space-7); }

.footer-main nav { flex: 1; }

.footer-ornament { display: block; }

.footer-bottom { grid-template-columns: 1fr auto; align-items: center; }
}

/* ---------- Hulpklassen ---------- */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.success-icon { width: 2.75rem; height: 2.75rem; margin: 0 auto var(--space-3); color: var(--green); }

/* ---------- Homepage: eerste scherm (mockup 3 okt 2026) ----------
   Kop + hero + strook vullen samen precies één schermhoogte op desktop.
   Alle maten binnen .fold schalen mee met de schermhoogte (vh), zodat het
   ook op 1366×768 past. Op telefoons stapelt alles gewoon onder elkaar. */

.hero2 {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  padding-block: var(--space-6) var(--space-7);
}

.hero2-grid { position: relative; display: grid; gap: var(--space-6); }

.hero2 .kicker {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.hero2 .kicker::after { content: ""; width: 3.5rem; height: 1px; background: var(--gold); }

.hero2 h1 {
  margin-top: var(--space-4);
  font-size: clamp(2.75rem, 1.4rem + 5vw, 6.5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 13.5ch;
}

.hero2 h1 em { font-style: italic; font-weight: 500; letter-spacing: -0.02em; }

.hero2-lead {
  margin-top: var(--space-5);
  max-width: 40ch;
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--text);
}

.hero2 .btn-row { margin-top: var(--space-6); gap: var(--space-4); }

.btn-lg { min-height: 3.5rem; padding-inline: 2rem; font-size: 1.0625rem; }

.hero2 .btn-outline { color: var(--ink); border-color: var(--gold); background: transparent; }

.hero2-points {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-7);
}

.hero2-points li { display: flex; align-items: center; gap: var(--space-3); }

.hero2-points strong { display: block; white-space: nowrap; font-weight: 600; color: var(--ink); line-height: 1.3; }

.hero2-points strong + span { display: block; white-space: nowrap; font-size: 0.9375rem; color: var(--muted); line-height: 1.4; }

.ring-gold {
  display: grid;
  place-items: center;
  flex: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-text);
  background: var(--paper);
}

.ring-gold .icon { width: 1.35rem; height: 1.35rem; }

.hero2-media { position: relative; margin: 0; }

.hero2 .arch {
  position: relative;
  height: min(118vw, 34rem);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V40C0 22 24 9 50 0 76 9 100 22 100 40v57a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V40C0 22 24 9 50 0 76 9 100 22 100 40v57a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  background: var(--sand);
}

.hero2 .arch img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; }

.hero2 .arch-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
}

.hero2 .arch-line path { vector-effect: non-scaling-stroke; }

.hero2-place {
  position: absolute;
  inset-inline-end: var(--space-3);
  bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  max-width: calc(100% - 1.5rem);
  padding: var(--space-3) var(--space-5) var(--space-3) var(--space-4);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-lift);
  font-size: 0.875rem;
  line-height: 1.4;
}

.hero2-place > .icon { width: 1.4rem; height: 1.4rem; color: var(--gold-text); }

.hero2-place strong { display: block; font-weight: 600; color: var(--ink); }

.hero2-place strong + span { display: block; color: var(--muted); }

.deco-pattern {
  position: absolute;
  top: -3rem;
  inset-inline-end: -5rem;
  width: 30rem;
  height: 30rem;
  color: var(--gold);
  opacity: 0.12;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
}

.hero2-edge {
  display: none;
  position: absolute;
  inset-inline-start: 0;
  top: 30%;
  width: 1.75rem;
  height: 9rem;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.2;
  opacity: 0.7;
}

[dir="rtl"] .hero2-edge { transform: scaleX(-1); }

[dir="rtl"] .hero2 .kicker { letter-spacing: 0; font-size: 1rem; }

html[lang="ar"] .hero2 h1 { line-height: 1.25; letter-spacing: 0; }

html[lang="ar"] .hero2 h1 em { font-style: normal; }

.strip {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding-block: var(--space-6);
}

.strip-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
  text-align: center;
}

html[lang="ar"] .strip-title { letter-spacing: 0; font-size: 1rem; }

.strip-title::before,
.strip-title::after { content: ""; flex: 0 1 4rem; height: 1px; background: var(--gold); }

.strip-cards {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.strip-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  height: 100%;
  padding: var(--space-4) var(--space-5);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  text-decoration: none;
  transition: border-color 200ms ease, box-shadow 240ms var(--ease-out), transform 160ms var(--ease-out);
}

.strip-card:active { transform: scale(0.985); }

@media (hover: hover) and (pointer: fine) {
.strip-card:hover { border-color: var(--gold); box-shadow: var(--shadow-card); }
}

.strip-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--sand);
  color: var(--ink);
}

.strip-icon .icon { width: 1.6rem; height: 1.6rem; }

.strip-card-title { display: block; font-family: var(--font-serif); font-size: 1.375rem; font-weight: 500; color: var(--ink); line-height: 1.2; }

.strip-card-text { display: block; margin-top: 0.3rem; font-size: 0.9375rem; color: var(--muted); line-height: 1.45; }

@media (min-width: 640px) {
.hero2-points { grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; }

.hero2-points li { padding-inline: var(--space-5); }

.hero2-points li:first-child { padding-inline-start: 0; }

.hero2-points li + li { border-inline-start: 1px solid var(--line-strong); }

.strip-cards { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 640px) and (max-width: 899.98px) {
.strip-card { flex-direction: column; align-items: flex-start; }
}

@media (min-width: 900px) {
.hero2-grid {
    grid-template-columns: fit-content(50%) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 3.5vw, 4rem);
    max-width: calc(94rem + 2 * var(--gutter));
  }

.hero2 .arch { height: min(46vw, 40rem); }

.hero2-place { inset-inline-end: calc(-1 * var(--space-5)); }

.strip .container { max-width: calc(80rem + 2 * var(--gutter)); }
}

@media (min-width: 1200px) {
.hero2-edge { display: block; }
}

/* Precies één schermhoogte: kop (4.5rem + 1px rand) + hero + strook. */

@media (min-width: 900px) and (min-height: 600px) {
.fold {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    height: calc(100vh - 4.5rem - 1px);
    height: calc(100svh - 4.5rem - 1px);
  }

.hero2 { display: grid; align-items: center; min-height: 0; padding-block: 0.8vh 3vh; }

.hero2-copy { padding-inline-start: clamp(0rem, 4vw - 2.5rem, 3.25rem); }

.hero2-grid { height: 100%; }

.hero2-media { height: 100%; display: flex; align-items: center; }

.hero2 .arch { width: 100%; height: 100%; max-height: none; }

.hero2 .kicker { font-size: min(0.8125rem, 1.6vh); }

.hero2 h1 { margin-top: 2vh; font-size: min(5.3vw, 9.6vh, 6.25rem); }

.hero2-lead { margin-top: 2.6vh; font-size: min(1.25rem, 2.3vh); }

.hero2 .btn-row { margin-top: 3.6vh; }

.hero2 .btn-lg { min-height: max(2.9rem, 6vh); }

.hero2-points { margin-top: 5vh; }

.hero2-points li { padding-inline: clamp(0.7rem, 1.3vw, 1.4rem); gap: 0.7rem; }

.hero2-points strong { font-size: min(1rem, 1.9vh); }

.hero2-points strong + span { font-size: min(0.9rem, 1.7vh); }

.hero2 .btn-lg { padding-inline: clamp(1.1rem, 1.7vw, 2rem); font-size: min(1.0625rem, 2.15vh); }

.hero2 .btn-row { flex-wrap: nowrap; }

.ring-gold { width: max(2.4rem, 4.8vh); height: max(2.4rem, 4.8vh); }

.strip { padding-block: 2.2vh 2.6vh; }

.strip-cards { margin-top: 2vh; }

.strip-card { padding-block: 1.6vh; }

.strip-icon { width: max(2.75rem, 6.2vh); height: max(2.75rem, 6.2vh); }

.strip-card-title { font-size: min(1.5rem, 2.6vh); }
}

/* ---------- Citaten: hadith en uitspraken van geleerden ----------
   Arabisch origineel boven, vertaling eronder, bron als onderschrift.
   Op de Arabische versie staat het origineel al; de vertaling vervalt. */

.saying {
  position: relative;
  margin: 0;
  padding: var(--space-7) var(--space-5);
  border-radius: var(--radius-l);
  background: var(--sand);
  text-align: center;
}

.saying::before,
.saying::after {
  content: "";
  position: absolute;
  inset-inline: 50%;
  width: 3rem;
  height: 1px;
  margin-inline-start: -1.5rem;
  background: var(--gold);
}

.saying::before { top: var(--space-5); }

.saying::after { bottom: var(--space-5); }

.saying-title {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.saying-intro {
  max-width: 52ch;
  margin: var(--space-3) auto 0;
  color: var(--text);
}

.saying blockquote { margin: var(--space-5) 0 0; }

.saying-ar {
  font-family: "Noto Naskh Arabic", "Traditional Arabic", serif;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
  font-weight: 600;
  line-height: 1.7;
  color: var(--ink);
  text-wrap: balance;
}

.saying-tr {
  max-width: 40ch;
  margin: var(--space-3) auto 0;
  font-family: var(--font-serif);
  font-size: clamp(1.1875rem, 1rem + 0.7vw, 1.5rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--gold-text);
  text-wrap: balance;
}

.saying figcaption {
  max-width: 60ch;
  margin: var(--space-4) auto 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

.saying [lang="ar"] { font-family: "Noto Naskh Arabic", "Traditional Arabic", serif; }

html[lang="ar"] .saying-tr { display: none; }

html[lang="ar"] .saying-title { letter-spacing: 0; font-size: 1.0625rem; }

@media (min-width: 900px) {
.saying { padding-inline: var(--space-8); }
}

/* De dadelfoto is staand; in de liggende kaart moet het bakje in beeld blijven. */

/* ---------- Telefoon liggend en lage schermen ----------
   Een foto in 16:10 is op 844×390 hoger dan het hele scherm; de kop zou
   onder de vouw verdwijnen. Liggend krijgen de heroes twee kolommen. */

/* ==========================================================================
   Bouwstenen (redesign 4 okt 2026)
   De hele site gebruikt alleen deze onderdelen:
   paginakop · sectie met sectiekop · kaarten (foto, icoon, verblijf) ·
   citaat · notitie · vragen · formulier · footer.
   ========================================================================== */

/* ---------- Label boven een kop (goud, kapitalen, lijn erachter) ---------- */

.kicker {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.kicker::after { content: ""; flex: none; width: 3rem; height: 1px; background: var(--gold); }

html[lang="ar"] .kicker { letter-spacing: 0; font-size: 1rem; text-transform: none; }

/* ---------- Spitsboog met foto (homepage en paginakoppen) ---------- */

.arch {
  position: relative;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V40C0 22 24 9 50 0 76 9 100 22 100 40v57a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V40C0 22 24 9 50 0 76 9 100 22 100 40v57a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  background: var(--sand);
}

.arch img { width: 100%; height: 100%; object-fit: cover; }

.arch-line { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--gold); stroke-width: 1.5; }

.arch-line path { vector-effect: non-scaling-stroke; }

.deco-pattern {
  position: absolute;
  top: -3rem;
  inset-inline-end: -5rem;
  width: 30rem;
  height: 30rem;
  color: var(--gold);
  opacity: 0.12;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
}

/* ---------- Paginakop (alle pagina's behalve home) ---------- */

.page-head {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  padding-block: var(--space-6) var(--space-7);
}

.page-head-grid { position: relative; display: grid; gap: var(--space-6); align-items: center; }

.page-head h1 {
  margin-top: var(--space-4);
  font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4.5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 14ch;
}

.page-head .lead { margin-top: var(--space-5); max-width: 44ch; }

.page-head .btn-row { margin-top: var(--space-6); }

.page-head .arch { height: min(80vw, 24rem); }

html[lang="ar"] .page-head h1 { line-height: 1.3; letter-spacing: 0; }

@media (min-width: 900px) {
.page-head { padding-block: var(--space-7) var(--space-8); }

.page-head-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 5rem); }

.page-head .arch { height: clamp(22rem, 36vw, 30rem); }
}

/* ---------- Secties ---------- */

.sec { padding-block: var(--space-8); background: var(--cream); }

.sec--paper { background: var(--paper); border-block: 1px solid var(--line); }

.sec--paper + .sec--paper { border-top: 0; }

.sec--tight { padding-block: var(--space-7); }

.sec-head { max-width: 48rem; margin-bottom: var(--space-6); }

.sec-head .kicker { margin-bottom: var(--space-3); }

.sec-head h2 { font-size: var(--step-3); letter-spacing: -0.015em; }

.sec-head p { margin-top: var(--space-3); max-width: 62ch; color: var(--muted); }

.sec-more { margin-top: var(--space-6); }

.sec-note { margin-top: var(--space-5); max-width: 70ch; font-size: 0.9375rem; color: var(--muted); }

/* ---------- Kaarten ---------- */

.cards { display: grid; gap: var(--space-4); }

.cards--2,
.cards--3,
.cards--4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
.cards--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 760px) {
.cards--2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
.cards--3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1100px) {
.cards--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.sec--paper .card { background: var(--cream); }

.card-title {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--step-2);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}

.card-text { display: block; margin-top: var(--space-2); font-size: 0.9375rem; line-height: 1.55; color: var(--muted); }

/* foto bovenaan, hele kaart is een link */

.card--media {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 200ms ease, box-shadow 240ms var(--ease-out);
}

.card--media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.card--media img.img-dadels { object-position: 50% 40%; }

.card-body { display: flex; flex-direction: column; flex: 1; padding: var(--space-5); }

.card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: auto;
  padding-top: var(--space-4);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gold-text);
}

.card-more .icon { transition: transform 220ms var(--ease-out); }

@media (hover: hover) and (pointer: fine) {
.card--media:hover { border-color: var(--gold); box-shadow: var(--shadow-card); }

.card--media:hover .card-more .icon { transform: translateX(3px); }
}

/* rond icoon + tekst */

.card--icon { display: flex; align-items: flex-start; gap: var(--space-4); padding: var(--space-5); }

.card--icon .card-title { font-size: 1.25rem; }

.card-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--sand);
  color: var(--ink);
}

.sec--paper .card-icon { background: var(--paper); border: 1px solid var(--line); }

.card-icon .icon { width: 1.4rem; height: 1.4rem; }

.card-icon.card-icon--num,
.sec--paper .card-icon.card-icon--num { background: var(--green); border: 0; color: var(--white); font-family: var(--font-serif); font-size: 1.25rem; font-weight: 500; }

/* verblijfstype: foto, titel, feiten, knop */

.card--tier { display: flex; flex-direction: column; overflow: hidden; }

.card-figure { position: relative; margin: 0; }

.card-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.card--tier .card-body { gap: 0; }

.card-facts { display: grid; gap: var(--space-2); margin: var(--space-4) 0 var(--space-5); font-size: 0.9375rem; color: var(--text); }

.card-facts li { display: flex; align-items: center; gap: 0.5rem; }

.card-facts .icon { color: var(--gold-text); }

.card--tier .btn { margin-top: auto; width: 100%; }

/* ---------- Notitie ---------- */

.note {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
}

.sec--paper .note { background: var(--cream); }

.note p { color: var(--text); }

.note strong { color: var(--ink); }

.note-icon { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-text); }

.note-icon .icon { width: 1.25rem; height: 1.25rem; }

/* ---------- Citaat zonder kader ---------- */

.sec .saying { background: none; padding-block: var(--space-7); }

/* ---------- Zoekbalk als kaart ---------- */

.search-bar.card { margin-top: 0; box-shadow: none; }

/* ---------- Vragen ---------- */

.faq-list { display: grid; gap: var(--space-3); align-items: start; }
@media (min-width: 900px) {
  .faq-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3) var(--space-4); }
}

/* ---------- Telefoon liggend: paginakop in twee kolommen ---------- */

@media (min-width: 600px) and (max-width: 899.98px) and (orientation: landscape) {
.page-head-grid { grid-template-columns: 1.2fr 0.8fr; }

.page-head .arch { height: calc(100vh - 7rem); }

.page-head h1 { font-size: clamp(2rem, 1rem + 5vh, 2.75rem); max-width: 22ch; }
}

/* ---------- Contactlinks ---------- */
.footer-contact a,
.contact-value a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  unicode-bidi: isolate;
}
.footer-contact a { color: var(--on-green); text-decoration-color: rgb(251 248 242 / 0.4); }
.contact-value a { color: var(--ink); text-decoration-color: var(--gold); }
.contact-value--sub { margin-top: var(--space-1); font-weight: 400; font-size: 0.9375rem; color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .footer-contact a:hover { color: var(--gold-on-green); }
  .contact-value a:hover { color: var(--gold-text); }
}

/* Makersvermelding: bewust stil, wordt pas duidelijk bij hover of focus. */
/* #8fa89e haalt 4,77:1 op het footergroen (AA); doorzichtigheid zou eronder zakken. */
.footer-credit-line { font-size: 0.875rem; }
/* Desktop: rechts, op dezelfde regel als de privacyverklaring. Mobiel: eigen laatste regel. */
@media (min-width: 900px) {
  .footer-credit-line { justify-self: end; text-align: end; font-size: inherit; }
  .footer-bottom > .taal { justify-self: end; }
}
.footer-credit { color: #8fa89e; transition: color 200ms ease; }
.footer-credit:hover, .footer-credit:focus-within { color: var(--on-green-muted); }
.footer-credit a { color: inherit; text-decoration: underline; text-underline-offset: 0.25em; text-decoration-color: rgb(143 168 158 / 0.5); }

/* ---------- Homepage-hero op mobiel en tablet: geen foto, alles gecentreerd ---------- */
@media (max-width: 899.98px) {
  .hero2-media { display: none; }
  .hero2 { padding-block: var(--space-7) var(--space-7); }
  .hero2-copy { text-align: center; }
  .hero2 .kicker { justify-content: center; }
  .hero2 .kicker::before { content: ""; flex: none; width: 2rem; height: 1px; background: var(--gold); }
  .hero2 .kicker::after { width: 2rem; }
  .hero2 h1 { margin-inline: auto; }
  .hero2-lead { margin-inline: auto; }
  .hero2 .btn-row { flex-direction: column; align-items: stretch; max-width: 22rem; margin-inline: auto; }
  .hero2-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-3);
    max-width: 30rem;
    margin-inline: auto;
  }
  .hero2-points li,
  .hero2-points li:first-child { flex-direction: column; gap: var(--space-2); padding-inline: 0; text-align: center; border: 0; }
  .hero2-points strong,
  .hero2-points strong + span { white-space: normal; }
  .hero2-points strong { font-size: 0.9375rem; }
  .hero2-points strong + span { font-size: 0.8125rem; }
}
@media (max-width: 380px) {
  .hero2 .kicker { letter-spacing: 0.14em; font-size: 0.75rem; }
}

/* ---------- Contact: drie wegen (WhatsApp, e-mail, aanvraag) ---------- */
.contact-ways { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.btn-ghost-light { background: transparent; color: var(--on-green); border-color: rgb(251 248 242 / 0.45); }
@media (hover: hover) and (pointer: fine) {
  .btn-ghost-light:hover { border-color: var(--on-green); background: rgb(251 248 242 / 0.08); }
}
.site-footer .btn .icon { width: 1.15rem; height: 1.15rem; }
.contact-btn { margin-top: var(--space-4); width: 100%; }
@media (max-width: 639.98px) {
  .contact-ways { flex-direction: column; align-items: stretch; }
  .page-head .btn-row { flex-direction: column; align-items: stretch; }
}

/* Zwevende WhatsApp-knop: altijd binnen handbereik, wijkt voor het geopende menu. */
.wa-float {
  position: fixed;
  z-index: 60;
  inset-inline-end: max(1rem, env(safe-area-inset-right));
  bottom: calc(1rem + env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3.25rem;
  padding: 0.75rem 1.2rem 0.75rem 1rem;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 1px solid rgb(251 248 242 / 0.4);
  box-shadow: 0 10px 28px -10px rgb(12 61 52 / 0.55), 0 2px 6px rgb(12 61 52 / 0.18);
  transition: background-color 180ms ease, transform 160ms var(--ease-out);
}
.wa-float .icon { width: 1.35rem; height: 1.35rem; }
.wa-float:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .wa-float:hover { background: var(--green-hover); }
}
html.menu-open .wa-float { visibility: hidden; }
@media (max-width: 639.98px) {
  .wa-float { padding: 0; width: 3.5rem; height: 3.5rem; justify-content: center; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wa-float .icon { width: 1.6rem; height: 1.6rem; }
}
/* Zonder JS blijft de zwevende knop staan, dus houdt de footer ruimte vrij.
   Met JS verdwijnt de knop zodra de footer in beeld is (daar staan al WhatsApp-knoppen). */
.site-footer { padding-bottom: calc(env(safe-area-inset-bottom) + 4.5rem); }
.js .site-footer { padding-bottom: env(safe-area-inset-bottom); }
.wa-float { transition: background-color 180ms ease, transform 160ms var(--ease-out), opacity 200ms ease, visibility 0s linear 0s; }
.wa-float.is-hidden { opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 200ms ease, transform 200ms var(--ease-out), visibility 0s linear 200ms; }

.saying-offer { margin-top: var(--space-4); font-weight: 600; color: var(--ink); }
.saying-offer .text-link { margin-inline-start: 0.5rem; }

/* ---------- Taalkeuze ---------- */

.taal {
  display: none;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
}

.taal a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding-inline: 0.3rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease;
}

.taal a.is-actief {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.4em;
}

.taal span { opacity: 0.5; }

/* De link "العربية" heeft lang="ar"; zonder deze regel laadt elke pagina het Arabische font. */

.taal a[lang="ar"] { font-family: system-ui, "Segoe UI", Tahoma, sans-serif; font-weight: 600; }

@media (hover: hover) and (pointer: fine) {
.taal a:hover { color: var(--ink); }
}

@media (min-width: 1280px) {
.header-inner { gap: var(--space-4); }

.header-inner > .taal { display: flex; gap: 0.1rem; }

.header-inner > .taal a { min-width: 2.25rem; }
}

.header-cta { white-space: nowrap; }

.taal--menu { display: flex; margin-top: var(--space-5); font-size: 1rem; }

.taal--voet { display: flex; color: var(--on-green-muted); }

.taal--voet a { color: var(--on-green-muted); }

.taal--voet a.is-actief { color: var(--on-green); text-decoration-color: var(--gold-on-green); }

@media (hover: hover) and (pointer: fine) {
.taal--voet a:hover { color: var(--on-green); }
}

/* ---------- Arabisch (fusha) en rechts-naar-links ---------- */

@font-face {
  font-family: "Noto Naskh Arabic";
  src: url("../fonts/naskh-arabic.woff2") format("woff2");
  font-weight: 500 600;
  font-display: swap;
  unicode-range: U+600-6FF, U+750-77F, U+870-88E, U+890-891, U+897-8E1, U+8E3-8FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/plex-arabic-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+600-6FF, U+750-77F, U+870-88E, U+890-891, U+897-8E1, U+8E3-8FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/plex-arabic-600.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
  unicode-range: U+600-6FF, U+750-77F, U+870-88E, U+890-891, U+897-8E1, U+8E3-8FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

/* Latijnse tekens (zoals de merknaam) blijven Newsreader/Figtree,
   Arabische tekens vallen door naar Naskh en Plex Arabic. */

html[lang="ar"] {
  --font-serif: "Newsreader", "Noto Naskh Arabic", "Traditional Arabic", serif;
  --font-sans: "Figtree", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}

html[lang="ar"] body { font-size: 1.125rem; line-height: 1.85; }

html[lang="ar"] :is(h1,
h2,
h3,
.footer-cta-title,
.brand-name,
.menu-list a) {
  letter-spacing: 0;
  line-height: 1.45;
}

html[lang="ar"] .lead { line-height: 1.8; }

html[lang="ar"] .menu-title { text-transform: none; letter-spacing: 0; }

[dir="rtl"] .menu-layer .menu-panel { --drawer-from: -100%; box-shadow: 12px 0 40px -12px rgb(12 61 52 / 0.35); }

[dir="rtl"] .nav-list a::after { transform-origin: right; }

[dir="rtl"] .form select { background-position: left 0.85rem center; }

/* Pijlen wijzen in leesrichting */

[dir="rtl"] :is(.btn, .text-link, .card-more) .icon { transform: scaleX(-1); }

@media (hover: hover) and (pointer: fine) {
  [dir="rtl"] .btn:hover .icon,
  [dir="rtl"] .text-link:hover .icon,
  [dir="rtl"] .card--media:hover .card-more .icon { transform: scaleX(-1) translateX(3px); }
}

/* Telefoonnummers en e-mailadressen blijven links-naar-rechts */

[dir="rtl"] input[type="tel"],
[dir="rtl"] input[type="email"] { direction: ltr; text-align: right; }

/* ---------- Beweging ----------
   Alleen waar het iets uitlegt: vervolgvragen, antwoorden, fouten, de bedankmelding,
   en één entree op de homepage. Alles met transform en opacity. */

/* Vervolgvragen in het formulier schuiven zacht in beeld */

.conditional {
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}

@starting-style {
.conditional { opacity: 0; transform: translateY(-6px); }
}

/* Foutmeldingen */

.field-error {
  transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out);
}

@starting-style {
.field-error { opacity: 0; transform: translateY(-3px); }
}

/* Bedankmelding na versturen */

.form-success {
  transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out);
}

.form-success .success-icon {
  transition: opacity 320ms var(--ease-out) 60ms, transform 320ms var(--ease-out) 60ms;
}

@starting-style {
.form-success { opacity: 0; transform: translateY(8px); }

.form-success .success-icon { opacity: 0; transform: scale(0.9); }
}

/* Antwoorden bij veelgestelde vragen klappen open in plaats van te springen.
   Browsers zonder ::details-content openen gewoon direct. */

@supports selector(::details-content) {
:root { interpolate-size: allow-keywords; }

.faq::details-content {
    block-size: 0;
    opacity: 0;
    overflow: clip;
    transition: block-size 220ms var(--ease-out), opacity 220ms var(--ease-out), content-visibility 220ms allow-discrete;
  }

.faq[open]::details-content { block-size: auto; opacity: 1; }
}

/* Homepage: het ene bewuste moment bij binnenkomst */

@media (prefers-reduced-motion: no-preference) {
  .hero2 .arch { animation: hero-reveal 700ms var(--ease-out) both; }
  .hero2 .arch img { animation: hero-settle 700ms var(--ease-out) both; }
  .hero2-copy > * { animation: rise-in 500ms var(--ease-out) both; }
  .hero2-copy > :nth-child(2) { animation-delay: 60ms; }
  .hero2-copy > :nth-child(3) { animation-delay: 120ms; }
  .hero2-copy > :nth-child(4) { animation-delay: 180ms; }
  .hero2-copy > :nth-child(5) { animation-delay: 240ms; }
}

@keyframes hero-reveal {
  from { clip-path: inset(3% 0 0 5%); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes hero-settle {
  from { transform: scale(1.04); }
  to { transform: scale(1); }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Minder beweging: fades en kleurwissels blijven, verplaatsingen vallen weg */

@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
    transition-property: opacity, color, background-color, border-color, text-decoration-color, visibility !important;
    scroll-behavior: auto !important;
  }

.faq::details-content { transition-property: opacity, content-visibility !important; }

.btn:active,
.btn:hover .icon,
.text-link:hover .icon { transform: none; }

.card--media:hover .card-more .icon { transform: none; }
  [dir="rtl"] :is(.btn, .text-link, .card-more) .icon,
  [dir="rtl"] :is(.btn:hover, .text-link:hover, .card--media:hover .card-more) .icon { transform: scaleX(-1); }
}
