:root {
  color-scheme: light;
  --paper: #f6f3eb;
  --paper-deep: #eee9dd;
  --white: #fcfbf7;
  --ink: #22323f;
  --ink-soft: #55626b;
  --muted: #7a827d;
  --line: #e1dccf;
  --blue: #155f8b;
  --blue-deep: #173f5d;
  --blue-night: #102f47;
  --blue-light: #3c83aa;
  --gold: #c69a5b;
  --gold-light: #e1c89d;
  --green: #17b23c;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --display: "Manrope", system-ui, sans-serif;
  --arabic: "Amiri", serif;
  --gutter: max(24px, 6vw);
  --content: 1180px;
  --header: 78px;
  --topbar: 40px;
  --radius: 6px;
  --radius-sm: 3px;
  --hairline: rgba(198, 154, 91, .35);
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='72' viewBox='0 0 56 72'%3E%3Cg fill='none' stroke='%23d7bd93' stroke-opacity='.1' stroke-width='1'%3E%3Cpath d='M0 36C14 36 14 0 28 0C42 0 42 36 56 36C42 36 42 72 28 72C14 72 14 36 0 36Z'/%3E%3Cpath d='M28 22C33 26 34 31 34 36C34 41 33 46 28 50C23 46 22 41 22 36C22 31 23 26 28 22Z'/%3E%3C/g%3E%3C/svg%3E");
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.is-intro, body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
p { margin: 0; }
::selection { color: var(--white); background: var(--blue); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }
[lang="ar"] { font-family: var(--arabic); }

.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 18px; transform: translateY(-160%); color: white; background: var(--blue); }
.skip-link:focus { transform: translateY(0); }

/* ---------- Typografie ---------- */
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: -.04em; line-height: 1.08; }
h1 em, h2 em, h3 em { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; }
h2 { font-size: clamp(34px, 4.4vw, 56px); }
h2 em { color: var(--blue-light); }
.eyebrow { margin: 0 0 16px; color: var(--blue-light); font-size: 12px; font-weight: 700; letter-spacing: .2em; line-height: 1.5; text-transform: uppercase; }
.eyebrow--gold { color: var(--gold-light); }
.eyebrow:not(.hero-eyebrow)::before { display: inline-block; width: 28px; height: 1px; margin-right: 14px; vertical-align: middle; background: var(--gold); content: ""; }
.lead { color: var(--ink); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; }
.fine-print { margin-top: 20px; color: var(--muted); font-size: 14px; }
.fine-print a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.section-pad { padding-right: max(var(--gutter), calc((100% - var(--content)) / 2)); padding-left: max(var(--gutter), calc((100% - var(--content)) / 2)); }
.section-head { margin-bottom: 44px; }
.section-head--split { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ---------- Knoppen & links ---------- */
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 22px; padding: 0 28px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: background .25s ease, transform .25s var(--ease), box-shadow .25s ease; }
.button:hover { transform: translateY(-2px); }
.button span { transition: transform .25s var(--ease); }
.button:hover span { transform: translateX(3px); }
.button--light { color: var(--ink); background: var(--paper); }
.button--light:hover { background: white; box-shadow: 0 10px 30px rgba(6, 24, 39, .25); }
.button--blue { color: white; background: var(--blue-deep); }
.button--blue span, .button--light span { color: var(--gold); }
.button--blue:hover { background: var(--blue-night); box-shadow: 0 10px 30px rgba(21, 95, 139, .25); }
.text-link { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.text-link--light { color: rgba(255, 255, 255, .92); }
.text-link span { margin-left: 8px; color: var(--gold-light); }
.underlined-link { display: inline-flex; align-items: center; gap: 14px; padding-bottom: 7px; border-bottom: 1px solid var(--hairline); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: gap .25s ease, border-color .25s ease; }
.underlined-link:hover { gap: 20px; border-color: var(--gold); }
.underlined-link span { color: var(--gold); }
.underlined-link--light { color: white; border-color: rgba(255, 255, 255, .35); }
.underlined-link--light span { color: var(--gold-light); }
.icon-button { min-width: 44px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s; }
.icon-button:hover { border-color: var(--gold); background: white; }

/* ---------- Intro ---------- */
/* Intro: het embleem tekent zich in het midden en zoomt daarna naar zijn plek in de hero. */
.intro { position: fixed; z-index: 60; inset: 0; display: grid; place-items: center; overflow: hidden; animation: intro-failsafe 0s 9s forwards; }
.intro-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 42%, rgba(60, 131, 170, .5), transparent 62%), var(--pattern), var(--blue-deep); transition: opacity 1s .3s ease; }
.intro-stage { position: relative; width: min(74vmin, 560px); transform-origin: center; transition: transform 1.35s cubic-bezier(.7, 0, .2, 1); will-change: transform; }
.intro-emblem { display: block; width: 100%; height: auto; overflow: visible; }
.intro-emblem .hero-orbit { opacity: 0; }
.intro-caption { position: absolute; bottom: max(7vh, 48px); left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--gold-light); font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; transition: opacity .35s ease; }
.intro-caption span { animation: fade-up 1s 2.5s both; }
.intro-caption span:last-child { animation-delay: 2.7s; }
.intro-caption span:first-child { color: white; font-family: var(--display); font-size: clamp(26px, 3vw, 34px); font-weight: 400; letter-spacing: -.02em; text-transform: none; }
.intro-skip { position: absolute; right: var(--gutter); bottom: 32px; padding: 12px 0; border: 0; color: rgba(255, 255, 255, .7); background: none; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: opacity .3s ease, color .2s; }
.intro-skip:hover { color: white; }
.intro-skip span { margin-left: 8px; color: var(--gold-light); }
.intro.is-zooming { pointer-events: none; }
.intro.is-landed .intro-stage { opacity: 0; transition: transform 1.35s cubic-bezier(.7, 0, .2, 1), opacity .6s ease; }
body.intro-played .hero-emblem { opacity: 0; transition: opacity .6s ease; }
body.intro-landed .hero-emblem { opacity: 1; }
.intro.is-zooming .intro-bg { opacity: 0; }
.intro.is-zooming .intro-caption, .intro.is-zooming .intro-skip { opacity: 0; }
body.is-intro .hero-content, body.is-intro .next-prayer { animation-play-state: paused; }
body.intro-played .next-prayer { animation-delay: .7s; }
.brand-logo { display: block; width: auto; object-fit: contain; }

/* ---------- Header ---------- */
/* Header: dunne bovenbalk (scrolt weg) + slanke hoofdbalk (blijft staan). */
.site-header { position: sticky; z-index: 40; top: calc(-1 * var(--topbar)); }
.topbar { display: flex; height: var(--topbar); align-items: center; justify-content: space-between; gap: 24px; padding: 0 max(var(--gutter), calc((100% - var(--content)) / 2)); color: rgba(255, 255, 255, .78); background: var(--blue-night); font-size: 13px; }
.topbar-prayer { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.topbar-prayer .live-dot { width: 7px; height: 7px; flex-basis: 7px; }
.topbar-label { color: rgba(255, 255, 255, .6); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.topbar-prayer strong { color: white; font-weight: 600; }
.topbar-prayer time { color: var(--gold-light); font-weight: 600; font-variant-numeric: tabular-nums; }
.topbar-countdown { color: rgba(255, 255, 255, .55); }
.topbar-countdown:not(:empty)::before { margin-right: 10px; content: "·"; }
.topbar-prayer:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.topbar-date { display: flex; gap: 10px; white-space: nowrap; }
.topbar-hijri { color: var(--gold-light); font-family: var(--serif); font-style: italic; }
.topbar-hijri:not(:empty)::before { margin-right: 10px; color: rgba(255, 255, 255, .35); content: "·"; font-style: normal; }
.topbar-links { display: flex; align-items: center; gap: 18px; margin: 0; padding: 0; list-style: none; }
.topbar-links a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s ease; }
.topbar-links a:hover { color: white; }
.topbar-links svg { width: 15px; height: 15px; color: var(--gold-light); }
.topbar-social { padding-left: 4px; }
.header-main { position: relative; z-index: 1; display: flex; height: var(--header); align-items: center; justify-content: space-between; gap: 32px; padding: 0 max(var(--gutter), calc((100% - var(--content)) / 2)); border-bottom: 1px solid var(--line); background: rgba(246, 243, 235, .92); backdrop-filter: blur(16px) saturate(1.3); transition: box-shadow .35s ease, border-color .35s ease; }
.site-header.is-scrolled .header-main { border-bottom-color: var(--hairline); box-shadow: 0 12px 34px rgba(16, 47, 71, .07); }
.brand { position: relative; z-index: 2; display: inline-flex; flex-shrink: 0; align-items: center; }
.brand-logo--header { height: 44px; transition: transform .3s var(--ease); }
.brand:hover .brand-logo--header { transform: scale(1.03); }
.primary-nav { display: flex; flex: 1; align-items: center; justify-content: flex-end; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav-links a { position: relative; padding: 8px 0; color: var(--ink); font-size: 14px; font-weight: 500; letter-spacing: .01em; transition: color .2s ease; }
.nav-links a::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; transform: scaleX(0); background: var(--gold); content: ""; transition: transform .3s var(--ease); }
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--blue); font-weight: 600; }
.nav-cta { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: var(--radius-sm); color: white; background: var(--blue-deep); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; transition: background .2s ease, transform .2s var(--ease); }
.nav-cta::before { position: absolute; top: 50%; left: -15px; width: 1px; height: 26px; transform: translateY(-50%); background: var(--line); content: ""; }
.nav-cta:hover, .nav-cta[aria-current="page"] { background: var(--blue-night); transform: translateY(-1px); }
.nav-cta span { color: var(--gold-light); }
.nav-extra { display: none; }
.menu-toggle { display: none; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; display: flex; min-height: min(820px, calc(100svh - var(--header))); align-items: center; overflow: hidden; color: var(--white); background: var(--pattern), var(--blue-deep); }
.hero-art { position: absolute; top: 0; right: 0; bottom: 0; width: 62%; overflow: hidden; background: radial-gradient(ellipse at 55% 45%, rgba(48, 117, 157, .55), transparent 60%), linear-gradient(135deg, #1a5277, #123956 78%); }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(ellipse at 54% 40%, rgba(216, 194, 155, .1), transparent 42%), linear-gradient(0deg, rgba(9, 33, 51, .3), transparent 50%); }
.hero-emblem { position: absolute; right: -2%; bottom: -2%; height: 104%; width: auto; overflow: visible; }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--blue-deep) 0%, var(--blue-deep) 34%, rgba(23, 63, 93, .8) 48%, rgba(23, 63, 93, .15) 66%, rgba(23, 63, 93, 0) 90%); }
.hero-inner { position: relative; z-index: 2; display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 40px; padding: 72px max(var(--gutter), calc((100% - var(--content)) / 2)); }
.hero-content { max-width: 600px; animation: fade-up 1.1s .2s both; }
.hero-eyebrow { display: flex; align-items: center; gap: 12px; color: var(--gold-light); }
.hero-eyebrow span { width: 28px; height: 1px; background: var(--gold); }
.hero h1 { font-size: clamp(54px, 7vw, 96px); line-height: .98; letter-spacing: -.055em; }
.hero h1 em { color: var(--gold-light); }
.hero-copy { max-width: 460px; margin-top: 26px; color: rgba(255, 255, 255, .84); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 36px; }

/* Logo-animatie: boog tekent zich, moskee verschijnt, dan maan en ster. */
.hero-orbit { transform-box: view-box; transform-origin: 450px 440px; animation: orbit-turn 70s linear infinite; }
.hero-orbit--inner { animation-direction: reverse; animation-duration: 90s; }
.hero-star { opacity: .35; animation: star-glimmer 2.4s ease-in-out infinite alternate; }
.hero-star--two { animation-delay: .7s; }
.hero-star--three { animation-delay: 1.3s; }
.emblem-arch, .emblem-line, .emblem-ground, .emblem-mosque path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.emblem-moon, .emblem-star, .emblem-halo, .emblem-name { opacity: 0; transform-box: fill-box; transform-origin: center; }
/* .is-drawing: tekent zich op. .is-drawn: al getekend, alleen de rustige loops. */
.is-drawing .emblem-arch { animation: draw 1.7s .15s cubic-bezier(.65, 0, .35, 1) forwards; }
.is-drawing .emblem-line { animation: draw 2.4s .35s var(--ease) forwards; }
.is-drawing .emblem-ground { animation: draw 1.4s .1s var(--ease) forwards; }
.is-drawing .emblem-mosque path { animation: draw 2s .7s var(--ease) forwards; }
.is-drawing .emblem-mosque path:nth-child(n+5) { animation-delay: 1s; }
.is-drawing .emblem-moon { animation: moon-rise 1.3s 1.4s cubic-bezier(.16, 1, .3, 1) forwards; }
.is-drawing .emblem-star { animation: star-pop .9s 2.05s cubic-bezier(.34, 1.56, .64, 1) forwards, star-twinkle 3.2s 3s ease-in-out infinite; }
.is-drawing .emblem-halo { animation: halo-in 1.6s 1.6s ease forwards, halo-pulse 5s 3.2s ease-in-out infinite; }
.is-drawing .emblem-name { animation: name-in 1s 2.4s var(--ease) forwards; }
.is-drawn .emblem-arch, .is-drawn .emblem-line, .is-drawn .emblem-ground, .is-drawn .emblem-mosque path { stroke-dashoffset: 0; }
.is-drawn .emblem-moon, .is-drawn .emblem-star, .is-drawn .emblem-halo, .is-drawn .emblem-name { opacity: 1; }
.is-drawn .emblem-star { animation: star-twinkle 3.2s 1s ease-in-out infinite; }
.is-drawn .emblem-halo { animation: halo-pulse 5s 1s ease-in-out infinite; }

/* ---------- Eerstvolgend gebed ---------- */
.next-prayer { position: relative; flex: 0 0 290px; align-self: flex-end; padding: 22px 24px; border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--radius); color: white; background: rgba(13, 42, 64, .62); box-shadow: 0 24px 60px rgba(6, 24, 39, .28); backdrop-filter: blur(16px); animation: fade-up .8s 2.4s both; }
.next-prayer-kicker { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .75); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.next-prayer-event { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 14px; }
.next-prayer-event strong { font-family: var(--display); font-size: 28px; font-weight: 500; letter-spacing: -.03em; }
.next-prayer-event time { color: var(--gold-light); font-family: var(--serif); font-size: 36px; line-height: 1; }
.next-prayer-countdown { margin-top: 8px; color: white; font-size: 15px; font-weight: 600; }
.next-prayer-context { margin-top: 4px; color: rgba(255, 255, 255, .66); font-size: 14px; }
.next-prayer-context a { text-decoration: underline; }
.live-dot { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(23, 178, 60, .5); animation: live-pulse 2s ease-out infinite; }

/* ---------- Gebedsbord ---------- */
.today { padding-top: 96px; padding-bottom: 96px; color: var(--white); background: var(--pattern), var(--blue); }
.today-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.today h2 { color: white; }
.today h2 em { color: var(--gold-light); }
.today-date { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; color: white; font-size: 17px; font-weight: 600; text-align: right; }
.today-hijri { color: var(--gold-light); font-family: var(--serif); font-size: 16px; font-style: italic; font-weight: 400; }
.prayer-board { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.prayer-tile { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 20px 20px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-sm); background: rgba(255, 255, 255, .05); transition: background .3s ease, transform .3s var(--ease); }
.prayer-tile-name { color: rgba(255, 255, 255, .8); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.prayer-tile strong { font-family: var(--display); font-size: clamp(30px, 2.8vw, 40px); font-weight: 500; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.prayer-tile-sub { color: rgba(255, 255, 255, .66); font-size: 14px; }
.prayer-tile-sub time { color: white; font-weight: 600; }
.prayer-tile--quiet { background: transparent; border-style: dashed; }
.prayer-tile--quiet strong { color: rgba(255, 255, 255, .78); }
.prayer-tile.is-past { opacity: .62; }
.prayer-tile.is-next { color: var(--ink); background: var(--paper); border-color: var(--paper); transform: translateY(-6px); box-shadow: 0 18px 40px rgba(6, 24, 39, .25); opacity: 1; }
.prayer-tile.is-next::before { position: absolute; top: 0; right: 0; left: 0; height: 4px; background: var(--gold); content: ""; }
.prayer-tile.is-next::after { position: absolute; top: 18px; right: 16px; padding: 3px 9px; border-radius: var(--radius-sm); color: var(--blue); background: rgba(21, 95, 139, .1); content: "Hierna"; font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.prayer-tile.is-next .prayer-tile-name { color: var(--blue); }
.prayer-tile.is-next .prayer-tile-sub { color: var(--ink-soft); }
.prayer-tile.is-next .prayer-tile-sub time { color: var(--ink); }
.today-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 32px; color: rgba(255, 255, 255, .72); font-size: 14px; }
.today-foot a { color: white; }
.today-status { margin-top: 24px; color: rgba(255, 255, 255, .72); font-size: 14px; }
.today-status a, .today-foot a:not(.underlined-link) { text-decoration: underline; }

/* ---------- Welkom ---------- */
.welcome { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 6vw; padding-top: 120px; padding-bottom: 120px; overflow: hidden; }
.welcome h2 { font-size: clamp(34px, 4vw, 52px); }
.welcome-side { display: grid; gap: 20px; align-content: start; padding-top: 36px; color: var(--ink-soft); font-size: 17px; line-height: 1.75; }
.welcome-side .underlined-link { justify-self: start; margin-top: 8px; color: var(--ink); }
.welcome-deco { position: absolute; right: -2%; bottom: -26%; color: rgba(198, 154, 91, .08); font-size: 300px; line-height: 1; pointer-events: none; }

/* ---------- Ontdek ---------- */
.explore { padding-top: 100px; padding-bottom: 110px; background: var(--paper-deep); }
.explore-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.explore-card { position: relative; display: flex; min-height: 240px; flex-direction: column; padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .35s var(--ease), box-shadow .35s ease, border-color .35s ease; }
.explore-card::before { position: absolute; top: -1px; right: -1px; left: -1px; height: 2px; transform: scaleX(0); transform-origin: left; background: var(--gold); content: ""; transition: transform .45s var(--ease); }
.explore-card:hover::before { transform: scaleX(1); }
.explore-card:hover { transform: translateY(-5px); border-color: var(--hairline); box-shadow: 0 22px 50px rgba(23, 63, 93, .1); }
.explore-icon { display: grid; width: 54px; height: 54px; place-items: center; margin-bottom: 30px; border: 1px solid var(--hairline); border-radius: 50%; color: var(--gold); }
.explore-icon svg { width: 28px; height: 28px; }
.explore-card h3 { font-size: 24px; }
.explore-card p { margin-top: 10px; color: var(--ink-soft); font-size: 15px; line-height: 1.65; }
.explore-arrow { position: absolute; top: 30px; right: 28px; color: var(--gold); font-size: 22px; transition: transform .3s var(--ease); }
.explore-card:hover .explore-arrow { transform: translateX(5px); }
.explore-card--accent { color: white; border-color: var(--blue-deep); background: var(--pattern), var(--blue-deep); }
.explore-card--accent .explore-icon { color: var(--gold-light); border-color: rgba(225, 200, 157, .4); }
.explore-card--accent p { color: rgba(255, 255, 255, .78); }
.explore-card--accent .explore-arrow { color: var(--gold-light); }

/* ---------- Feature (foto + tekst) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 7vw; padding-top: 120px; padding-bottom: 120px; }
.feature-image { position: relative; }
.feature-image img { width: 100%; aspect-ratio: 4 / 4.4; border-radius: var(--radius); object-fit: cover; }
.image-stamp { position: absolute; right: -26px; bottom: 36px; display: flex; width: 116px; height: 116px; flex-direction: column; align-items: center; justify-content: center; border: 4px solid var(--paper); border-radius: 50%; color: var(--paper); background: var(--blue); text-align: center; }
.image-stamp > span { font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.image-stamp small { margin-top: 2px; color: rgba(255, 255, 255, .78); font-family: var(--serif); font-size: 14px; font-style: italic; }
.feature-copy h2 { font-size: clamp(34px, 4vw, 52px); }
.feature-copy > p:not(.eyebrow) { margin-top: 20px; color: var(--ink-soft); font-size: 17px; line-height: 1.75; }
.feature-copy .button { margin-top: 32px; }
.check-list { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 34px; color: var(--ink); font-size: 16px; }
.check-list li::before { position: absolute; top: 3px; left: 0; display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: white; background: var(--gold); content: "✓"; font-size: 12px; font-weight: 700; }

/* ---------- Video's ---------- */
.videos-teaser { padding-top: 100px; padding-bottom: 110px; color: white; background: var(--pattern), var(--blue-deep); }
.videos-teaser h2 { color: white; }
.videos-teaser h2 em { color: var(--gold-light); }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.video-card { display: flex; flex-direction: column; gap: 14px; }
.video-thumb, .video-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; border: 0; border-radius: var(--radius-sm); background: var(--blue-night); cursor: pointer; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.video-thumb:hover img { transform: scale(1.05); }
.video-play { position: absolute; top: 50%; left: 50%; display: grid; width: 62px; height: 62px; place-items: center; border-radius: 50%; color: var(--blue); background: rgba(246, 243, 235, .94); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transform: translate(-50%, -50%); transition: transform .3s var(--ease), background .3s; }
.video-play svg { width: 26px; height: 26px; margin-left: 3px; }
.video-thumb:hover .video-play { background: white; transform: translate(-50%, -50%) scale(1.08); }
.video-kind { color: var(--gold-light); font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.video-meta h3 { margin-top: 6px; font-family: var(--arabic); font-size: 21px; font-weight: 400; letter-spacing: 0; line-height: 1.5; text-align: right; }
.video-grid--light .video-kind { color: var(--blue-light); }
.video-grid--light .video-meta h3 { color: var(--ink); }

/* ---------- Doneren (teaser) ---------- */
.donate-teaser { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px 7vw; padding-top: 100px; padding-bottom: 100px; background: var(--white); }
.donate-teaser h2 { font-size: clamp(32px, 3.8vw, 48px); }
.donate-teaser-copy p:not(.eyebrow) { margin-top: 18px; color: var(--ink-soft); font-size: 17px; }
.donate-teaser-actions { display: grid; gap: 26px; justify-items: start; }
.amount-row { display: grid; width: 100%; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.amount-row a { display: grid; min-height: 76px; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--blue); background: var(--paper); font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: -.03em; transition: transform .25s var(--ease), border-color .25s, background .25s; }
.amount-row a:hover { transform: translateY(-3px); border-color: var(--gold); background: white; }

/* ---------- Bezoek ---------- */
.visit { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "head map" "details map"; gap: 36px 6vw; padding-top: 110px; padding-bottom: 120px; }
.visit-heading { grid-area: head; }
.visit-heading h2 { font-size: clamp(38px, 4.4vw, 58px); }
.visit-heading p:not(.eyebrow) { max-width: 440px; margin-top: 18px; color: var(--ink-soft); font-size: 17px; }
.visit-details { grid-area: details; margin: 0; }
.visit-details > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.visit-details dt { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.visit-details dd { margin: 0; font-size: 17px; font-weight: 600; }
.visit-details a { color: var(--blue); }
.visit-details a:hover { text-decoration: underline; text-underline-offset: 3px; }
.visit-map { position: relative; grid-area: map; min-height: 420px; overflow: hidden; border-radius: var(--radius); background: #e8e5db; }
.visit-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.75) sepia(.12); }
.visit-map-link { position: absolute; right: 16px; bottom: 16px; padding: 12px 18px; border-radius: var(--radius-sm); color: white; background: var(--blue); box-shadow: 0 10px 24px rgba(23, 63, 93, .25); font-size: 15px; font-weight: 700; }
.visit-map-link span { color: var(--gold-light); }

/* ---------- Subpagina-hero ---------- */
.page-hero { position: relative; display: flex; min-height: 420px; align-items: flex-end; justify-content: space-between; gap: 40px; padding: 64px max(var(--gutter), calc((100% - var(--content)) / 2)) 72px; overflow: hidden; color: white; background: radial-gradient(ellipse at 85% 20%, rgba(60, 131, 170, .45), transparent 55%), var(--pattern), var(--blue-deep); }
.page-hero::before { position: absolute; top: -40%; right: -8%; width: 640px; height: 640px; border: 1px solid rgba(215, 189, 147, .14); border-radius: 50%; content: ""; box-shadow: 0 0 0 60px rgba(215, 189, 147, .025), 0 0 0 120px rgba(215, 189, 147, .02); }
.page-hero-inner { position: relative; z-index: 1; max-width: 720px; animation: fade-up .9s .05s both; }
.page-hero h1 { font-size: clamp(44px, 6vw, 80px); letter-spacing: -.05em; line-height: 1.02; }
.page-hero h1 em { color: var(--gold-light); }
.page-lead { max-width: 580px; margin-top: 22px; color: rgba(255, 255, 255, .84); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; }
.breadcrumb { display: flex; gap: 10px; margin-bottom: 30px; color: rgba(255, 255, 255, .62); font-size: 14px; }
.breadcrumb a { color: white; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.page-hero-deco { position: absolute; right: 6%; bottom: -12%; color: rgba(225, 200, 157, .1); font-size: clamp(160px, 22vw, 300px); line-height: 1; pointer-events: none; animation: deco-in 1.6s .2s var(--ease) both; }
.next-prayer--page { z-index: 1; flex-basis: 300px; animation-delay: .3s; }

/* ---------- Gebedstijden-pagina ---------- */
.today--page { padding-top: 80px; }
.today--page h2 { font-size: clamp(30px, 3.4vw, 44px); }
.info-band { padding-top: 90px; padding-bottom: 40px; }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.info-card { display: flex; flex-direction: column; gap: 12px; padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.info-kicker { color: var(--blue-light); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.info-card h2 { font-size: 28px; letter-spacing: -.03em; }
.info-card h2 strong { color: var(--blue); font-weight: 600; }
.info-card p { color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.info-card p a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.info-card .underlined-link { align-self: flex-start; margin-top: auto; }
.month { padding-top: 70px; padding-bottom: 120px; }
.month-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.month-head h2 { font-size: clamp(30px, 3.4vw, 44px); }
.month-controls { display: flex; gap: 8px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.month-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.month-table th, .month-table td { padding: 12px 16px; border-bottom: 1px solid #ece8de; text-align: left; white-space: nowrap; }
.month-table thead th { position: sticky; z-index: 1; top: 0; color: var(--muted); background: var(--white); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; box-shadow: inset 0 -1px 0 var(--line); }
.month-table tbody th { color: var(--ink-soft); font-weight: 500; }
.month-table tbody tr:hover { background: rgba(198, 154, 91, .07); }
.month-table td small { display: block; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.month-table tr.is-friday th { color: var(--blue); font-weight: 700; }
.month-table tr.is-today { background: rgba(21, 95, 139, .09); }
.month-table tr.is-today th { position: relative; color: var(--blue); font-weight: 700; }
.month-table tr.is-today th::before { position: absolute; top: 8px; bottom: 8px; left: 0; width: 4px; border-radius: 0 4px 4px 0; background: var(--gold); content: ""; }

/* ---------- Onderwijs ---------- */
.schedule { padding-top: 20px; padding-bottom: 110px; }
.schedule-grid { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 16px; }
.schedule-day, .schedule-note { padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.schedule-day h3, .schedule-note h3 { margin-bottom: 18px; font-size: 26px; }
.schedule-day p { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.schedule-day span { color: var(--muted); font-size: 15px; }
.schedule-day strong { font-family: var(--display); font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.schedule-note { color: white; border-color: var(--blue); background: var(--blue); }
.schedule-note p { color: rgba(255, 255, 255, .82); font-size: 16px; }
.schedule-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; }
.schedule-note .button--blue { color: var(--ink); background: var(--paper); }
.schedule-note .underlined-link { color: white; border-color: rgba(255, 255, 255, .4); }
.programs { padding-top: 100px; padding-bottom: 110px; color: white; background: var(--pattern), var(--blue-deep); }
.programs h2 { color: white; }
.programs h2 em { color: var(--gold-light); }
.program-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.program-card { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); background: rgba(255, 255, 255, .04); }
.program-number { color: var(--gold-light); font-family: var(--serif); font-size: 22px; }
.program-card h3 { font-size: 22px; }
.program-card p { color: rgba(255, 255, 255, .76); font-size: 15px; line-height: 1.7; }
.program-card .underlined-link { align-self: flex-start; margin-top: auto; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-top: 80px; padding-bottom: 80px; background: var(--paper-deep); }
.cta-band h2 { font-size: clamp(30px, 3.4vw, 44px); }
.cta-band p { margin-top: 10px; color: var(--ink-soft); font-size: 17px; }
.cta-band p a { color: var(--blue); font-weight: 600; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }

/* ---------- Video-pagina ---------- */
.videos-page { padding-top: 80px; padding-bottom: 110px; }
.video-card--featured { display: grid; grid-template-columns: 1.6fr 1fr; align-items: center; gap: 40px; padding: 18px; border-radius: var(--radius); color: white; background: var(--blue-deep); }
.video-card--featured .video-meta { padding: 10px 20px 10px 0; }
.video-card--featured .video-meta h3 { font-size: clamp(26px, 2.6vw, 36px); }
.video-card--featured .video-kind::before { display: block; margin-bottom: 6px; color: white; content: "Nieuwste video"; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.video-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 80px 0 30px; }
.video-toolbar h2 { font-size: clamp(28px, 3vw, 40px); }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 42px; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); font-size: 15px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { color: white; border-color: var(--blue); background: var(--blue); }
.videos-page .video-grid { row-gap: 40px; }
.channel-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 80px; padding: 36px 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.channel-card h2 { font-size: 30px; }
.channel-card p { margin-top: 8px; color: var(--ink-soft); }

/* ---------- Bibliotheek ---------- */
.library { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 80px; padding-bottom: 110px; }
.article-card a { display: flex; height: 100%; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .35s var(--ease), box-shadow .35s ease; }
.article-card a:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(23, 63, 93, .1); }
.article-card--large { grid-column: 1 / -1; }
.article-card--large a { display: grid; grid-template-columns: 1.1fr 1fr; }
.article-image { overflow: hidden; aspect-ratio: 16 / 9; }
.article-card--large .article-image { aspect-ratio: auto; min-height: 380px; }
.article-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.article-card a:hover .article-image img { transform: scale(1.04); }
.article-body { display: flex; flex: 1; flex-direction: column; gap: 14px; padding: 30px 32px 32px; }
.article-tag { color: var(--blue-light); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.article-body h2 { font-size: clamp(26px, 2.6vw, 36px); }
.article-body p { color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.article-more { margin-top: auto; padding-top: 8px; color: var(--blue); font-size: 15px; font-weight: 700; }
.article-more span { color: var(--gold); }

/* ---------- Over ons ---------- */
.facilities { padding-top: 20px; padding-bottom: 100px; }
.facility-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.facility-grid li { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); font-size: 16px; font-weight: 600; }
.facility-grid li span { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 50%; color: var(--gold); background: rgba(198, 154, 91, .12); font-size: 17px; }
.hours { display: grid; grid-template-columns: 1fr 1.2fr; align-items: start; gap: 40px 6vw; padding-top: 100px; padding-bottom: 100px; color: white; background: var(--pattern), var(--blue); }
.hours h2 { color: white; }
.hours h2 em { color: var(--gold-light); }
.hours-list { display: grid; gap: 4px; }
.hours-list > div { padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.hours-list span { color: var(--gold-light); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hours-list p { margin-top: 6px; font-size: 18px; line-height: 1.6; }
.hours-list .underlined-link { justify-self: start; margin-top: 16px; }

/* ---------- Donaties ---------- */
.donations { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 40px 7vw; padding-top: 100px; padding-bottom: 80px; }
.donations-copy p:not(.eyebrow) { margin-top: 18px; color: var(--ink-soft); font-size: 17px; }
.donations-amounts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.donations-amounts > a { display: flex; min-height: 130px; flex-direction: column; justify-content: space-between; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.donations-amounts > a:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 16px 36px rgba(23, 63, 93, .1); }
.donations-amounts strong { color: var(--blue); font-family: var(--display); font-size: 32px; font-weight: 600; letter-spacing: -.04em; }
.donations-amounts i { color: var(--ink); font-size: 14px; font-style: normal; font-weight: 600; }
.donations-amounts i span { margin-left: 4px; color: var(--gold); }
.donations-amounts .amount-free { grid-column: span 2; color: white; border-color: var(--blue); background: var(--blue); }
.donations-amounts .amount-free strong, .donations-amounts .amount-free i { color: white; }
.donations-amounts .amount-free strong { font-size: 26px; }
.donate-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 100px; }
.way-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.way-card h2 { font-size: clamp(28px, 3vw, 38px); }
.way-card p:not(.eyebrow) { color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.way-card .eyebrow { margin-bottom: 0; }
.way-card--blue { color: white; border-color: var(--blue-deep); background: var(--blue-deep); }
.way-card--blue h2 em { color: var(--gold-light); }
.way-card--blue p:not(.eyebrow) { color: rgba(255, 255, 255, .8); }
.way-card--blue p a { color: white; text-decoration: underline; text-underline-offset: 3px; }
.way-card .button { margin-top: 8px; }
.iban { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.iban code { padding: 14px 18px; border-radius: var(--radius-sm); color: var(--blue); background: var(--paper); font-family: var(--display); font-size: clamp(18px, 2vw, 24px); font-weight: 600; letter-spacing: .04em; }
.quote-band { padding-top: 90px; padding-bottom: 90px; background: var(--paper-deep); text-align: center; }
.quote-band blockquote { margin: 0; }
.quote-band p { max-width: 760px; margin: 0 auto; color: var(--blue); font-family: var(--serif); font-size: clamp(24px, 3vw, 36px); font-style: italic; line-height: 1.4; }
.quote-band cite { display: block; margin-top: 18px; color: var(--muted); font-size: 14px; font-style: normal; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Footer ---------- */
.site-footer { padding: 72px max(var(--gutter), calc((100% - var(--content)) / 2)) 28px; color: rgba(255, 255, 255, .8); background: var(--pattern), var(--blue-night); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand .brand { padding: 10px 14px; border-radius: var(--radius-sm); background: var(--paper); }
.brand-logo--footer { height: 40px; }
.footer-brand p { max-width: 280px; margin-top: 20px; font-size: 15px; }
.footer-col h2 { margin-bottom: 16px; color: var(--gold-light); font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.footer-col p, .footer-col li { font-size: 15px; line-height: 1.9; }
.footer-col p + p { margin-top: 12px; }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col a:hover { color: white; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .55); font-size: 14px; }
.footer-bottom a { color: white; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.explore-card:nth-child(3n+2), .program-card:nth-child(2) { transition-delay: .08s; }
.explore-card:nth-child(3n), .program-card:nth-child(3) { transition-delay: .16s; }
.program-card:nth-child(4) { transition-delay: .24s; }

@keyframes intro-failsafe { to { visibility: hidden; opacity: 0; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes moon-rise { from { opacity: 0; transform: translateY(40px) rotate(-35deg) scale(.55); } to { opacity: 1; transform: none; } }
@keyframes star-pop { from { opacity: 0; transform: scale(0) rotate(-120deg); } to { opacity: 1; transform: none; } }
@keyframes star-twinkle { 0%, 100% { transform: none; filter: none; } 50% { transform: scale(1.14) rotate(8deg); filter: drop-shadow(0 0 10px rgba(80, 230, 120, .65)); } }
@keyframes halo-in { to { opacity: 1; } }
@keyframes halo-pulse { 0%, 100% { opacity: 1; transform: none; } 50% { opacity: .55; transform: scale(1.12); } }
@keyframes name-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes orbit-turn { to { transform: rotate(360deg); } }
@keyframes star-glimmer { from { opacity: .15; } to { opacity: .85; } }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgba(23, 178, 60, .55); } 100% { box-shadow: 0 0 0 9px rgba(23, 178, 60, 0); } }
@keyframes deco-in { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

/* ---------- Responsief ---------- */
@media (max-width: 1100px) {
  .primary-nav { gap: 18px; }
  .primary-nav a { font-size: 14px; }
  .prayer-board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facility-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .schedule-grid { grid-template-columns: 1fr 1fr; }
  .schedule-note { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  :root { --header: 70px; --topbar: 36px; }
  .topbar-date, .topbar-label, .topbar-social, .topbar-optional, .topbar-links span { display: none; }
  .topbar { gap: 12px; font-size: 13px; }
  .topbar-links { gap: 16px; }
  .topbar-links svg { width: 17px; height: 17px; }
  .brand-logo--header { height: 38px; }
  .header-main { background: var(--paper); backdrop-filter: none; }
  .menu-toggle { position: relative; z-index: 2; display: flex; width: 46px; height: 46px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); cursor: pointer; }
  .menu-toggle span { width: 18px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .primary-nav { position: fixed; z-index: 1; inset: 0; display: flex; visibility: hidden; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: calc(var(--header) + var(--topbar) + 16px) var(--gutter) 36px; overflow-y: auto; background: var(--pattern), var(--paper); opacity: 0; transition: opacity .3s ease, visibility .3s; }
  .primary-nav.is-open { visibility: visible; opacity: 1; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { padding: 16px 2px; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 26px; font-weight: 400; letter-spacing: -.02em; opacity: 0; transform: translateY(12px); transition: opacity .4s ease, transform .4s var(--ease), color .2s; }
  .nav-links a::after { display: none; }
  .primary-nav.is-open .nav-links a { opacity: 1; transform: none; }
  .primary-nav.is-open .nav-links a:nth-child(2) { transition-delay: .04s; }
  .primary-nav.is-open .nav-links a:nth-child(3) { transition-delay: .08s; }
  .primary-nav.is-open .nav-links a:nth-child(4) { transition-delay: .12s; }
  .primary-nav.is-open .nav-links a:nth-child(5) { transition-delay: .16s; }
  .primary-nav.is-open .nav-links a:nth-child(6) { transition-delay: .2s; }
  .nav-cta { align-self: flex-start; margin-top: 28px; padding: 15px 26px; font-size: 13px; }
  .nav-cta::before { display: none; }
  .nav-extra { display: block; margin-top: auto; padding-top: 32px; color: var(--ink-soft); font-size: 15px; line-height: 1.8; }
  .nav-extra a { color: var(--blue); font-weight: 600; }

  .hero { min-height: auto; flex-direction: column; align-items: stretch; }
  .hero-art { position: relative; width: 100%; height: clamp(250px, 68vw, 420px); }
  .hero-emblem { right: auto; bottom: 0; left: 50%; height: 100%; transform: translateX(-50%); }
  .hero-shade { top: auto; height: 90px; bottom: auto; inset: calc(clamp(250px, 68vw, 420px) - 90px) 0 auto; background: linear-gradient(180deg, rgba(23, 63, 93, 0), var(--blue-deep)); }
  .hero-inner { flex-direction: column; align-items: stretch; gap: 40px; padding-top: 8px; padding-bottom: 48px; }
  .next-prayer { flex: none; align-self: stretch; animation-delay: .6s; }

  .welcome, .feature, .donate-teaser, .hours, .donations { grid-template-columns: 1fr; }
  .welcome { gap: 10px; padding-top: 90px; padding-bottom: 90px; }
  .welcome-side { padding-top: 10px; }
  .feature { gap: 50px; padding-top: 90px; padding-bottom: 90px; }
  .feature-image { margin-right: 20px; }
  .explore-grid, .video-grid, .info-grid { grid-template-columns: 1fr 1fr; }
  .visit { grid-template-columns: 1fr; grid-template-areas: "head" "details" "map"; padding-top: 90px; padding-bottom: 90px; }
  .visit-map { min-height: 320px; }
  .page-hero { min-height: 360px; flex-direction: column; align-items: stretch; padding-top: 48px; padding-bottom: 56px; }
  .next-prayer--page { flex-basis: auto; }
  .video-card--featured { grid-template-columns: 1fr; gap: 16px; }
  .video-card--featured .video-meta { padding: 0 8px 10px; }
  .article-card--large a { grid-template-columns: 1fr; }
  .article-card--large .article-image { min-height: 0; aspect-ratio: 16 / 9; }
  .donations-amounts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .donations-amounts .amount-free { grid-column: span 3; }
  .donate-ways { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .intro-stage { width: 58vw; }
  .intro-caption { bottom: 24vh; }
  body { font-size: 16px; }
  .section-head { margin-bottom: 30px; }
  .hero h1 { font-size: clamp(48px, 14vw, 64px); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .next-prayer-event strong { font-size: 24px; }
  .next-prayer-event time { font-size: 32px; }
  .today { padding-top: 70px; padding-bottom: 70px; }
  .today-date { align-items: flex-start; text-align: left; }
  .prayer-board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .prayer-tile { padding: 18px 16px; }
  .prayer-tile.is-next { transform: none; }
  .prayer-tile.is-next::after { top: 14px; right: 12px; }
  .explore { padding-top: 76px; padding-bottom: 80px; }
  .explore-grid, .video-grid, .info-grid, .library, .program-grid, .facility-grid, .schedule-grid { grid-template-columns: 1fr; }
  .explore-card { min-height: 0; padding: 24px 22px; }
  .explore-icon { margin-bottom: 18px; }
  .image-stamp { right: -16px; width: 96px; height: 96px; }
  .image-stamp > span { font-size: 15px; }
  .videos-teaser, .programs { padding-top: 76px; padding-bottom: 80px; }
  .donate-teaser { padding-top: 76px; padding-bottom: 76px; }
  .amount-row { grid-template-columns: repeat(2, 1fr); }
  .visit-details > div { grid-template-columns: 1fr; gap: 4px; }
  .page-hero h1 { font-size: clamp(40px, 11vw, 56px); }
  .page-hero-deco { right: -4%; font-size: 150px; }
  .month-table th, .month-table td { padding: 10px 12px; font-size: 14px; }
  .info-band { padding-top: 70px; }
  .video-toolbar { margin-top: 60px; }
  .channel-card, .way-card { padding: 28px 22px; }
  .library { padding-top: 60px; }
  .article-body { padding: 24px 22px 26px; }
  .donations-amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .donations-amounts .amount-free { grid-column: span 2; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .welcome-deco { font-size: 190px; bottom: -10%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .emblem-arch, .emblem-line, .emblem-ground, .emblem-mosque path { stroke-dashoffset: 0; }
  .emblem-moon, .emblem-star, .emblem-halo, .emblem-name { opacity: 1; }
}

/* ---------- Toevoegingen: verzoeken, eerste bezoek, begrippen, daglijn ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.section-intro { max-width: 360px; color: var(--ink-soft); font-size: 16px; }

/* Boogvormige foto's, als een moskeeraam */
.feature-image img { border-radius: 999px 999px var(--radius) var(--radius); }
.feature-image::before { position: absolute; inset: -14px -14px auto; height: calc(100% + 28px); border: 1px solid var(--hairline); border-radius: 999px 999px var(--radius) var(--radius); content: ""; pointer-events: none; }

/* Diepte in het hero-embleem (desktop) */
.hero-emblem { translate: calc(var(--px, 0) * -10px) calc(var(--py, 0) * -8px); transition: translate .6s var(--ease), opacity .6s ease; }
.hero-emblem .emblem-moon, .hero-emblem .emblem-star, .hero-emblem .emblem-halo { translate: calc(var(--px, 0) * 22px) calc(var(--py, 0) * 16px); transition: translate .6s var(--ease); }

/* Hulp-tegels op de homepage */
.help { padding-top: 100px; padding-bottom: 20px; }
.help-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.help-tile { position: relative; display: flex; min-height: 170px; flex-direction: column; justify-content: space-between; gap: 18px; padding: 24px 22px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s, color .35s; }
.help-tile::before { position: absolute; inset: 0; background: var(--pattern), var(--blue-deep); content: ""; opacity: 0; transition: opacity .4s ease; }
.help-tile > * { position: relative; }
.help-number { color: var(--gold); font-family: var(--serif); font-size: 18px; }
.help-tile strong { font-family: var(--display); font-size: 20px; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.help-arrow { position: absolute; top: 22px; right: 22px; color: var(--gold); font-size: 20px; transition: transform .3s var(--ease); }
.help-tile:hover { transform: translateY(-5px); color: white; border-color: var(--blue-deep); box-shadow: 0 22px 50px rgba(23, 63, 93, .16); }
.help-tile:hover::before { opacity: 1; }
.help-tile:hover .help-number, .help-tile:hover .help-arrow { color: var(--gold-light); }
.help-tile:hover .help-arrow { transform: translateX(4px); }

/* Contactpagina: verzoek-tegels en formulier */
.requests { padding-top: 70px; padding-bottom: 100px; }
.request-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.request-tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 26px 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-align: left; cursor: pointer; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s, background .3s, color .3s; }
.request-tile:hover { transform: translateY(-4px); border-color: var(--hairline); box-shadow: 0 18px 40px rgba(23, 63, 93, .1); }
.request-icon { display: grid; width: 52px; height: 52px; place-items: center; margin-bottom: 14px; border: 1px solid var(--hairline); border-radius: 50%; color: var(--gold); transition: color .3s, border-color .3s; }
.request-icon svg { width: 26px; height: 26px; }
.request-tile strong { font-family: var(--display); font-size: 19px; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.request-tile > span:last-child { color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.request-tile[aria-selected="true"] { color: white; border-color: var(--blue-deep); background: var(--pattern), var(--blue-deep); box-shadow: 0 18px 40px rgba(23, 63, 93, .18); }
.request-tile[aria-selected="true"] > span:last-child { color: rgba(255, 255, 255, .75); }
.request-tile[aria-selected="true"] .request-icon { color: var(--gold-light); border-color: rgba(225, 200, 157, .45); }
.request-tile[aria-selected="true"]::after { position: absolute; bottom: -9px; left: 34px; width: 16px; height: 16px; transform: rotate(45deg); background: var(--blue-deep); content: ""; }
.request-panel { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); margin-top: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 40px 80px -30px rgba(16, 47, 71, .22); scroll-margin-top: calc(var(--header) + 24px); }
.request-panel.is-entering { animation: fade-up .55s var(--ease) both; }
.request-aside { position: relative; display: flex; flex-direction: column; padding: 52px 48px; overflow: hidden; color: white; background: radial-gradient(ellipse at 100% 0%, rgba(60, 131, 170, .45), transparent 60%), var(--pattern), var(--blue-deep); }
.request-aside::after { position: absolute; right: -90px; bottom: -110px; width: 300px; height: 300px; border: 1px solid rgba(225, 200, 157, .16); border-radius: 50%; box-shadow: 0 0 0 40px rgba(225, 200, 157, .03); content: ""; }
.request-aside h2 { color: white; font-size: clamp(32px, 3.2vw, 44px); }
.request-text { margin-top: 16px; color: rgba(255, 255, 255, .8); font-size: 16px; line-height: 1.75; }
.request-steps { display: grid; gap: 18px; margin: 36px 0 0; padding: 28px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); list-style: none; }
.request-steps li { display: flex; gap: 16px; }
.request-steps li > span { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border: 1px solid rgba(225, 200, 157, .5); border-radius: 50%; color: var(--gold-light); font-family: var(--serif); font-size: 14px; }
.request-steps strong { font-size: 15px; font-weight: 600; }
.request-steps p { margin-top: 2px; color: rgba(255, 255, 255, .62); font-size: 14px; }
.request-direct { position: relative; z-index: 1; margin-top: auto; padding-top: 36px; color: rgba(255, 255, 255, .62); font-size: 14px; }
.request-direct a { color: white; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(225, 200, 157, .6); text-underline-offset: 4px; }
.request-form { display: grid; align-content: start; gap: 26px; padding: 52px 56px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 26px 32px; }
.request-extra { display: grid; gap: 26px; }
.request-extra:empty { display: none; }

/* Velden met zwevend label en gouden focuslijn */
.field { position: relative; display: block; padding-top: 20px; }
.field input, .field textarea { display: block; width: 100%; padding: 10px 0 11px; border: 0; border-bottom: 1px solid #d8d2c4; border-radius: 0; outline: none; color: var(--ink); background: transparent; font: inherit; font-size: 17px; transition: border-color .25s ease; }
.field textarea { min-height: 112px; resize: vertical; line-height: 1.6; }
.field input:hover, .field textarea:hover { border-bottom-color: #bfb7a6; }
.field > span { position: absolute; top: 31px; left: 0; color: var(--muted); font-size: 16px; pointer-events: none; transform-origin: left top; transition: transform .28s var(--ease), color .2s ease, letter-spacing .28s ease; }
.field small { margin-left: 6px; color: #a3a69f; font-size: .78em; font-weight: 400; letter-spacing: 0; text-transform: none; }
.field:focus-within > span, .field input:not(:placeholder-shown) + span, .field textarea:not(:placeholder-shown) + span, .field--static > span { color: var(--blue); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transform: translateY(-30px) scale(.74); }
.field::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; transform: scaleX(0); background: var(--gold); content: ""; transition: transform .4s var(--ease); }
.field:has(textarea)::after { bottom: 6px; }
.field:focus-within::after { transform: scaleX(1); }
.field input::placeholder { color: #b7b3a8; }
.field input[type="date"] { min-height: 45px; color: var(--ink); }
.was-validated .field:has(:invalid)::after { transform: scaleX(1); background: #c0533a; }
.was-validated .field:has(:invalid) > span { color: #c0533a; }

/* Keuzeknoppen */
.choice { margin: 0; padding: 0; border: 0; }
.choice legend { margin-bottom: 12px; padding: 0; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.choice-options { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-options label { position: relative; cursor: pointer; }
.choice-options input { position: absolute; opacity: 0; pointer-events: none; }
.choice-options span { display: inline-flex; min-height: 44px; align-items: center; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); background: var(--paper); font-size: 15px; font-weight: 500; transition: border-color .2s, background .2s, color .2s, box-shadow .2s; }
.choice-options label:hover span { border-color: var(--hairline); background: white; }
.choice-options input:checked + span { color: white; border-color: var(--blue-deep); background: var(--blue-deep); box-shadow: inset 0 -2px 0 var(--gold); }
.choice-options input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form-submit { min-height: 58px; padding: 0 30px; }
.form-note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.form-note svg { width: 16px; height: 16px; flex: 0 0 16px; color: var(--gold); }
.form-done { display: flex; gap: 18px; padding: 22px 24px; border: 1px solid var(--hairline); border-radius: var(--radius); background: linear-gradient(135deg, rgba(198, 154, 91, .1), rgba(198, 154, 91, .03)); animation: fade-up .5s var(--ease) both; }
.form-done-icon { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 50%; color: white; background: var(--green); }
.form-done-icon svg { width: 22px; height: 22px; }
.form-done strong { font-family: var(--display); font-size: 19px; font-weight: 500; }
.form-done p { margin: 6px 0 14px; color: var(--ink-soft); font-size: 15px; line-height: 1.65; }
.form-done a { color: var(--blue); font-weight: 600; }

/* Je eerste bezoek */
.first-visit { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px 6vw; padding-top: 100px; padding-bottom: 100px; color: white; background: var(--pattern), var(--blue-deep); }
.first-visit h2 { color: white; }
.first-visit h2 em { color: var(--gold-light); }
.first-visit-head p:not(.eyebrow) { margin-top: 18px; color: rgba(255, 255, 255, .78); font-size: 17px; }
.visit-tips { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; padding: 0; list-style: none; }
.visit-tips li { padding: 24px 22px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); background: rgba(255, 255, 255, .04); }
.visit-tips span { color: var(--gold-light); font-family: var(--serif); font-size: 18px; }
.visit-tips h3 { margin-top: 10px; font-size: 21px; }
.visit-tips p { margin-top: 8px; color: rgba(255, 255, 255, .75); font-size: 15px; line-height: 1.7; }
.visit-tips a { color: white; text-decoration: underline; text-underline-offset: 3px; }

/* Begrippenlijst */
.glossary { padding-top: 90px; padding-bottom: 20px; }
.glossary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin: 0; }
.glossary-grid > div { padding: 24px 0; border-top: 1px solid var(--line); }
.glossary-grid dt { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-family: var(--display); font-size: 21px; }
.glossary-grid dt span { color: var(--gold); font-size: 24px; }
.glossary-grid dd { margin: 8px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.glossary-grid a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* Daglijn onder de gebedstijden */
.day-line { position: relative; height: 66px; margin: 34px 8px 0; }
.day-line-track { position: absolute; top: 30px; right: 0; left: 0; height: 2px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .16); }
.day-line-fill { display: block; height: 100%; background: linear-gradient(90deg, rgba(225, 200, 157, .3), var(--gold-light)); transition: width 1s var(--ease); }
.day-line-stop { position: absolute; top: 25px; display: flex; flex-direction: column; align-items: center; transform: translateX(-50%); }
.day-line-stop i { width: 12px; height: 12px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 50%; background: var(--blue); }
.day-line-stop.is-past i { border-color: var(--gold-light); background: var(--gold-light); }
.day-line-stop small { margin-top: 8px; color: rgba(255, 255, 255, .7); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.day-line-now { position: absolute; top: 0; transform: translateX(-50%); transition: left 1s var(--ease); }
.day-line-now b { display: block; padding: 3px 9px; border-radius: var(--radius-sm); color: var(--ink); background: var(--paper); font-size: 11px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.day-line-now::after { position: absolute; top: 22px; left: 50%; width: 2px; height: 14px; transform: translateX(-50%); background: var(--paper); content: ""; }

@media (max-width: 1100px) {
  .help-grid, .request-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .glossary-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .request-panel { grid-template-columns: 1fr; }
  .request-aside { padding: 36px 26px; }
  .request-steps { display: none; }
  .request-direct { padding-top: 20px; }
  .request-form { padding: 32px 24px 36px; }
  .first-visit { grid-template-columns: 1fr; }
  .feature-image::before { inset: -10px -10px auto; height: calc(100% + 20px); }
}
@media (max-width: 640px) {
  .help-grid, .request-grid { grid-template-columns: 1fr 1fr; }
  .help-tile:last-child, .request-tile:last-child { grid-column: 1 / -1; }
  .help-tile { min-height: 130px; padding: 20px 18px; }
  .help-tile strong, .request-tile strong { font-size: 17px; }
  .request-tile { padding: 20px 16px; }
  .request-tile > span:last-child { display: none; }
  .request-icon { width: 44px; height: 44px; margin-bottom: 8px; }
  .visit-tips, .glossary-grid { grid-template-columns: 1fr; }
  .day-line-stop small { font-size: 10px; }
  .day-line-stop[data-stop="shuruq"] small { display: none; }
}
