/* Moskeeplein website: dezelfde kleuren en letters als de app */
:root {
  --bg: #EEF2EF; --surface: #FFFFFF; --ink: #14231F; --muted: #56675F; --line: #D4DDD8;
  --accent: #0F6B63; --accent-deep: #0A4A44; --accent-soft: #D6ECE8; --gold: #E9C46A; --danger: #B3261E;
  --shadow: 0 18px 40px -22px rgb(15 40 35 / .35);
  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0D1513; --surface: #15201D; --ink: #E4EDEA; --muted: #93A69F; --line: #26352F; --accent: #4FB3A6; --accent-soft: #17332F; --danger: #F2867F; --shadow: 0 18px 40px -22px rgb(0 0 0 / .6); }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
img, svg { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.15; margin: 0 0 10px; }
h1 { font-size: clamp(32px, 6vw, 54px); letter-spacing: -.02em; }
h2 { font-size: clamp(26px, 4vw, 36px); letter-spacing: -.01em; }
h3 { font-size: 19px; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }

/* Kop en menu */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 58px; max-width: 1240px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-family: var(--f-display); font-weight: 800; font-size: 19px; }
.brand svg { width: 30px; height: 30px; fill: var(--accent); }
.menu { margin-left: auto; display: flex; gap: 2px; flex-wrap: nowrap; }
.menu a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; padding: 7px 10px; border-radius: 99px; white-space: nowrap; }
.menu a:hover, .menu a[aria-current] { background: var(--accent-soft); color: var(--accent); }
@media (max-width: 640px) { .menu a.hide-s { display: none; } .menu a { padding: 8px 9px; font-size: 14px; } }

/* Knoppen */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 20px; border-radius: 14px; border: 0; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.btn.ghost { background: var(--surface); color: var(--accent); border: 1px solid var(--line); box-shadow: none; }
.btn.soon { background: var(--surface); color: var(--muted); border: 1px dashed var(--line); box-shadow: none; cursor: default; }
.btn svg { width: 22px; height: 22px; fill: currentColor; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* Hero */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 32px; } }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 5px 12px; border-radius: 99px; margin-bottom: 14px; }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; }

/* Telefoon met een voorbeeld van de app */
.phone { justify-self: center; width: min(320px, 86vw); aspect-ratio: 9 / 18.5; border-radius: 42px; padding: 12px; background: #0b1412; box-shadow: 0 40px 80px -30px rgb(10 74 68 / .55), inset 0 0 0 2px #24332f; }
.screen { height: 100%; border-radius: 32px; overflow: hidden; background: #EEF2EF; color: #14231F; display: grid; align-content: start; gap: 10px; padding: 14px; font-size: 13px; }
.scr-card { border-radius: 18px; padding: 14px; color: #fff; background: linear-gradient(140deg, #0A4A44, #0F6B63 60%, #2F8F7E); }
.scr-card small { opacity: .8; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 10px; }
.scr-card b { display: block; font-family: var(--f-display); font-size: 30px; line-height: 1.1; margin: 2px 0; }
.scr-row { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 12px; padding: 9px 12px; }
.scr-row.on { background: #0F6B63; color: #fff; }
.scr-row span:last-child { font-weight: 800; font-variant-numeric: tabular-nums; }
.scr-ar { font-size: 14px; opacity: .7; margin-left: 6px; }

/* Secties */
section { padding: 48px 0; }
.alt { background: var(--surface); border-block: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 860px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.alt .card { background: var(--bg); }
.card .ic { font-size: 26px; line-height: 1; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }
.steps { counter-reset: s; display: grid; gap: 12px; padding: 0; list-style: none; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-family: var(--f-display); }
.steps b { display: block; }
.cta { background: linear-gradient(135deg, var(--accent-deep), #0F6B63); color: #fff; border-radius: 26px; padding: 34px; display: grid; gap: 12px; box-shadow: var(--shadow); }
.cta p { color: rgb(255 255 255 / .85); }
.cta .btn { background: #fff; color: #0A4A44; }
.cta .btn.ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .4); }
.note { font-size: 14px; color: var(--muted); }

/* Juridische pagina's */
.doc { max-width: 780px; margin: 0 auto; padding: 28px 16px 48px; }
.doc nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.doc nav a { padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; background: var(--surface); }
.doc nav a[aria-current] { background: var(--accent); border-color: var(--accent); color: #fff; }
.doc article { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.doc article h3 { margin-top: 18px; font-size: 17px; }
.doc ul { padding-left: 22px; margin: 0 0 10px; }
.sub { color: var(--muted); font-size: 14px; }
label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
input { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); }
.box { border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin: 12px 0; }
.box button { font: inherit; font-weight: 700; padding: 11px 16px; border-radius: 12px; border: 0; background: var(--danger); color: #fff; cursor: pointer; }
.box button:disabled { opacity: .5; }
.msg { font-size: 14px; margin-top: 8px; }

/* Voet */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.foot a { color: var(--muted); }
.foot .made { flex-basis: 100%; font-size: 13px; }
.foot .made a { color: var(--ink); font-weight: 600; }

/* ---------- Beweging en nieuwe onderdelen ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* Kop: knoppen rechts en menu op de telefoon */
.top-cta { display: flex; gap: 8px; margin-left: 8px; }
.top-cta .btn { padding: 8px 14px; font-size: 14px; box-shadow: none; white-space: nowrap; }
.menu-toggle { display: none; margin-left: auto; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 12px; padding: 8px 12px; font: inherit; font-weight: 700; cursor: pointer; }
@media (max-width: 1120px) {   /* menu en knoppen passen niet meer op één regel: het menu achter de knop */
  .menu-toggle { display: inline-flex; }
  .top .wrap { flex-wrap: wrap; }
  .menu { display: none; width: 100%; flex-direction: column; margin: 0 0 12px; }
  .menu.open { display: flex; }
  .menu a { padding: 12px; font-size: 16px; }
  .menu a.hide-s { display: block; }
  .top-cta { display: none; }
  .menu.open + .top-cta, .menu.open ~ .top-cta { display: flex; width: 100%; margin: 0 0 12px; }
}

/* Achtergrond van de hero met zachte, bewegende vlakken */
.hero { position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .45; animation: float 14s ease-in-out infinite alternate; }
.hero::before { width: 520px; height: 520px; right: -120px; top: -140px; background: radial-gradient(circle, #4FB3A6, transparent 65%); }
.hero::after { width: 420px; height: 420px; left: -160px; bottom: -160px; background: radial-gradient(circle, #E9C46A, transparent 65%); animation-duration: 18s; opacity: .3; }
@keyframes float { to { transform: translate(40px, 30px) scale(1.08); } }

/* Telefoon met wisselende schermen */
.device-wrap { position: relative; justify-self: center; display: grid; gap: 16px; justify-items: center; }
.device { position: relative; width: min(300px, 78vw); aspect-ratio: 1080 / 2100; border-radius: 44px; padding: 11px; background: #0b1412; box-shadow: 0 50px 90px -35px rgb(10 74 68 / .6), inset 0 0 0 2px #24332f; animation: bob 6s ease-in-out infinite; }
.device::before { content: none; }
.device .screen-imgs { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #EEF2EF; }
.device .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: translateX(14%) scale(.98); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.device .slide.on { opacity: 1; transform: none; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 340px; }
.dots button { border: 1px solid var(--line); background: var(--surface); color: var(--muted); border-radius: 99px; padding: 5px 11px; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: all .25s; }
.dots button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
/* Meldingen die naast de telefoon opduiken */
.notifs { position: absolute; left: -40px; top: 70px; width: 250px; height: 76px; z-index: 4; pointer-events: none; }
.notif { position: absolute; inset: 0; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 16px; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--line); box-shadow: 0 18px 40px -18px rgb(0 0 0 / .4); opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .45s ease, transform .45s ease; }
.notif.on { opacity: 1; transform: none; }
.notif .ni { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 20px; background: var(--accent-soft); }
.notif b { display: block; font-size: 13.5px; }
.notif span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 860px) { .notifs { left: 50%; margin-left: -125px; top: -24px; } }

/* Laptop met de webversie */
.laptop { width: 100%; max-width: 980px; margin: 0 auto; }
.laptop .lid { border-radius: 18px 18px 6px 6px; background: #0b1412; padding: 12px 12px 14px; box-shadow: 0 50px 90px -40px rgb(10 74 68 / .55); }
.laptop .bar { display: flex; gap: 6px; align-items: center; padding: 0 4px 10px; }
.laptop .bar i { width: 10px; height: 10px; border-radius: 50%; background: #35423f; }
.laptop .bar span { margin-left: 10px; flex: 1; max-width: 360px; font-size: 12px; color: #9fb2ac; background: #18231f; border-radius: 8px; padding: 4px 10px; }
.laptop img { display: block; width: 100%; border-radius: 8px; }
.laptop .base { height: 16px; margin: 0 -4%; border-radius: 0 0 22px 22px; background: linear-gradient(#d7dedb, #aab5b1); }
@media (prefers-color-scheme: dark) { .laptop .base { background: linear-gradient(#3a4642, #252f2c); } }

/* Onderdelen met beeld en tekst, om en om */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 34px 0; }
.feature.flip .f-media { order: 2; }
.feature .f-media { justify-self: center; }
.feature .f-media .device { width: min(270px, 70vw); animation: none; }
.feature .f-media .device .slide { position: static; opacity: 1; transform: none; }
.feature h3 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 12px; }
.feature ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.feature li { display: grid; grid-template-columns: 24px 1fr; gap: 8px; color: var(--muted); }
.feature li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 13px; margin-top: 2px; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; display: block; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; gap: 24px; } .feature.flip .f-media { order: 0; } }

/* Voor wie: vier grote kaarten */
.audience { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
@media (max-width: 960px) { .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .audience { grid-template-columns: 1fr; } }
.aud { position: relative; display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: 22px; color: #fff; text-decoration: none; min-height: 220px; overflow: hidden; box-shadow: var(--shadow); transition: transform .25s ease; }
.aud:hover { transform: translateY(-4px); }
.aud .ai { font-size: 34px; }
.aud h3 { color: #fff; margin: 4px 0 0; }
.aud p { margin: 0; color: rgb(255 255 255 / .85); font-size: 15px; }
.aud .go { margin-top: auto; font-weight: 800; font-size: 14.5px; }
.aud.a1 { background: linear-gradient(140deg, #0A4A44, #0F6B63); }
.aud.a2 { background: linear-gradient(140deg, #1F2A44, #2E5A88); }
.aud.a3 { background: linear-gradient(140deg, #7A5414, #C8962E); }
.aud.a4 { background: linear-gradient(140deg, #4A2560, #8A4FA8); }

/* Cijfers en kleine banden */
.band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .band { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.band div { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; text-align: center; }
.band b { display: block; font-family: var(--f-display); font-size: 30px; color: var(--accent); }
.band span { font-size: 14px; color: var(--muted); }

/* Inloggen */
.login-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 700px) { .login-grid { grid-template-columns: 1fr; } }
.login-card { display: grid; gap: 10px; padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.login-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.login-card .ai { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; background: var(--accent-soft); }
.login-card h3 { margin: 0; }
.login-card p { margin: 0; color: var(--muted); font-size: 15px; }
.login-card .go { color: var(--accent); font-weight: 800; }

/* Prijzen (voor moskeeën) */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 760px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { position: relative; display: grid; gap: 12px; padding: 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.price-card.pro { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.price-card h3 { margin: 0; }
.price-card .price b { font-size: 38px; letter-spacing: -.02em; }
.price-card .price span { color: var(--muted); }
.price-card .price-lock { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 14.5px; }
.price-card .price-alt { margin-top: -6px; color: var(--accent); font-weight: 600; }
.price-card ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.price-card .btn { justify-self: start; }
.price-tag { position: absolute; top: -12px; right: 18px; padding: 4px 12px; border-radius: 999px; background: #F6E7B8; color: #6A4B00; font-size: 12.5px; font-weight: 800; }

/* Voorbeeldkaartje "Is dit jouw zaak?" */
.claim-demo { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; border: 1.5px dashed #C8962E; background: color-mix(in srgb, #E9C46A 12%, var(--surface)); max-width: 380px; }
.claim-demo .ai { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; background: color-mix(in srgb, #E9C46A 32%, transparent); }
.claim-demo b { display: block; }
.claim-demo span { font-size: 14px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) { .device, .hero::before, .hero::after { animation: none; } }

/* Cookiebanner */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 520px; display: grid; gap: 10px; padding: 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgb(0 0 0 / .45); font-size: 14.5px; }
.cookie-bar > b { font-family: var(--f-display); font-size: 18px; }
.cookie-bar p { margin: 0; color: var(--muted); }
.cookie-opts { display: grid; gap: 8px; padding: 10px 12px; border-radius: 14px; background: var(--bg); }
.cookie-opts[hidden] { display: none; }
.cookie-opts label { display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.cookie-opts input { margin-top: 3px; accent-color: var(--accent); }
.cookie-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie-btns .ghost { grid-column: 1 / -1; }
.btn.sm { padding: 10px 14px; font-size: 14.5px; border-radius: 12px; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }
@media (min-width: 700px) { .cookie-bar { left: 24px; bottom: 24px; right: auto; } }

/* Gebedstijden, moskeeën en qibla (website/seo.js) */
.hero.sub { padding: 28px 0 24px; }
.hero .wrap.one { display: block; }
.hero.sub h1 { font-size: clamp(30px, 5vw, 46px); }
.wrap.narrow { max-width: 760px; display: grid; gap: 14px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.pt-card { display: grid; gap: 10px; }
.pt-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.pt-date { font-weight: 700; }
.pt-next { color: var(--muted); font-size: 15px; margin: 2px 0 10px; }
.pt-next b { color: var(--accent); }
.pt-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 640px) { .pt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pt-c { display: grid; gap: 2px; justify-items: center; padding: 12px 6px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.pt-c span { font-size: 13px; color: var(--muted); font-weight: 600; }
.pt-c b { font-size: 22px; font-family: var(--f-display); font-variant-numeric: tabular-nums; }
.pt-c.sr b { font-size: 18px; color: var(--muted); }
.pt-c.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.pt-c.on span { color: rgb(255 255 255 / .85); }
.pt-mh { font-size: 22px; margin: 18px 0 8px; }
.pt-scroll { overflow-x: auto; }
.pt-month { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 15px; }
.pt-month th { text-align: center; font-size: 13px; color: var(--muted); padding: 6px 4px; border-bottom: 2px solid var(--line); }
.pt-month td { text-align: center; padding: 6px 4px; border-bottom: 1px solid var(--line); }
.pt-month td:first-child, .pt-month th:first-child { text-align: left; }
.pt-month tr.fri td { font-weight: 700; }
.pt-month tr.today td { background: var(--accent-soft); color: var(--accent); font-weight: 800; }
.info-row { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.info-row .ic { font-size: 26px; line-height: 1; }
.info-row p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.city-find { display: grid; gap: 6px; max-width: 420px; margin: 0 0 18px; font-weight: 600; }
.city-find input { font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.cc-h { font-size: 22px; margin: 22px 0 10px; }
.city-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.city-grid li[hidden], .cc-h[hidden] { display: none; }
.city-grid a { display: grid; gap: 1px; padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.alt .city-grid a { background: var(--bg); }
.city-grid a:hover { border-color: var(--accent); color: var(--accent); }
.city-grid small { color: var(--muted); font-weight: 500; font-size: 13px; }
.mq-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.mq-list a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.alt .mq-list a { background: var(--bg); }
.mq-list a:hover { border-color: var(--accent); }
.mq-list span { color: var(--muted); font-size: 14px; }
.facts { margin: 0; display: grid; gap: 8px; }
.facts > div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.qb-card { display: grid; gap: 14px; justify-items: center; text-align: center; }
.qb-dial { position: relative; width: min(260px, 70vw); aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--line); background: radial-gradient(circle, var(--surface) 55%, var(--bg)); display: grid; place-items: center; }
.qb-n { position: absolute; top: 8px; font-weight: 800; color: var(--danger); }
.qb-k { position: absolute; bottom: 12px; font-size: 22px; }
.qb-arrow { width: 26%; height: 80%; transition: transform .25s ease-out; display: grid; place-items: center; }
.qb-arrow svg { height: 100%; fill: var(--accent); }
.qb-out { display: grid; gap: 2px; }
.qb-deg { font-family: var(--f-display); font-size: 40px; color: var(--accent); }
.qb-where { color: var(--muted); font-size: 14px; }

/* Widgets en smartwatch: nagebouwd zoals in de app */
.wg-board { display: grid; grid-template-columns: repeat(4, 150px); grid-auto-rows: 150px; grid-auto-flow: dense; gap: 14px; justify-content: center; padding: 26px; border-radius: 34px; background: linear-gradient(135deg, #1d4a44, #0d2c3a 55%, #3a2f52); box-shadow: var(--shadow); max-width: 100%; }
.wg { border-radius: 24px; padding: 14px; display: flex; flex-direction: column; gap: 2px; overflow: hidden; color: #14231F; background: #fff; font-size: 13px; line-height: 1.3; }
.wg b { font-family: var(--f-display); }
.wg-s { font-size: 12px; opacity: .72; }
.wg-l { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.wg-next { background: #0F6B63; color: #fff; justify-content: flex-end; }
.wg-next .wg-big { font-size: 30px; line-height: 1.05; }
.wg-next .wg-t { font-size: 22px; font-weight: 800; color: #F2C46D; }
.wg-day { grid-column: span 2; background: #10201d; color: #E4EDEA; justify-content: space-between; }
.wg-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.wg-head span { font-size: 11px; opacity: .65; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wg-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.wg-times span { background: #1c302c; border-radius: 12px; padding: 6px 8px; font-weight: 700; font-size: 15px; }
.wg-times i { display: block; font-style: normal; font-weight: 500; font-size: 11px; opacity: .65; }
.wg-times .on { background: #F2C46D; color: #14231F; }
.wg-hijri { background: linear-gradient(160deg, #1f8a6f, #0A4A44); color: #fff; justify-content: center; text-align: center; align-items: center; }
.wg-num { font-size: 48px; line-height: 1; }
.wg-m { font-weight: 700; font-size: 14px; }
.wg-hifz { align-items: center; justify-content: center; text-align: center; background: #fff; }
.wg-ring { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#0F6B63 calc(var(--p) * 1%), #D6ECE8 0); margin-bottom: 4px; }
.wg-ring b { width: 54px; height: 54px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 15px; }
.wg-les { font-size: 11px; font-weight: 700; color: #0F6B63; white-space: nowrap; }
.wg-read { grid-column: span 2; background: linear-gradient(170deg, #fbf6ea, #efe3c6); justify-content: center; }
.wg-ar { font-size: 26px; font-family: "Amiri", "Traditional Arabic", serif; color: #6b4e16; }
.wg-bar { height: 6px; border-radius: 4px; background: #e0d2ae; margin: 6px 0 2px; overflow: hidden; }
.wg-bar i { display: block; height: 100%; background: #0F6B63; }
.wg-tiny { background: #14231F; color: #fff; align-items: center; justify-content: center; text-align: center; }
.wg-tiny .wg-t { font-size: 24px; font-weight: 800; color: #F2C46D; font-family: var(--f-display); }
.watches { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; margin: 40px 0 8px; }
.watch { margin: 0; display: grid; justify-items: center; gap: 14px; }
.watch figcaption { font-size: 14px; color: var(--muted); font-weight: 600; text-align: center; }
.w-face { background: #000; color: #fff; box-shadow: 0 0 0 10px #2b2f33, 0 0 0 12px #55595e, var(--shadow); position: relative; }
.watch-apple .w-face { width: 200px; height: 240px; border-radius: 52px; padding: 22px 18px; display: flex; flex-direction: column; gap: 10px; }
.w-clock { font-family: var(--f-display); font-size: 40px; font-weight: 700; text-align: right; line-height: 1; }
.w-rect { display: grid; font-size: 13px; line-height: 1.3; color: #cfd8d5; }
.w-rect b { color: #F2C46D; font-size: 16px; }
.w-comps { display: flex; justify-content: space-between; margin-top: auto; }
.w-circ { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#2fb59f calc(var(--p, 100) * 1%), #1f2a28 0); }
.w-circ.gold { background: conic-gradient(#F2C46D calc(var(--p) * 1%), #1f2a28 0); }
.w-circ b { width: 38px; height: 38px; border-radius: 50%; background: #000; display: grid; place-items: center; font-size: 11px; }
.watch-round .w-face { width: 230px; height: 230px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1px; }
.w-l { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: #8fa39d; }
.w-big { font-family: var(--f-display); font-size: 30px; line-height: 1.1; }
.w-t { font-size: 22px; font-weight: 800; color: #F2C46D; }
.w-cd { font-size: 12px; color: #2fb59f; }
.w-row { display: flex; gap: 6px; margin: 8px 0 4px; font-size: 12px; }
.w-row span { padding: 3px 7px; border-radius: 10px; background: #1a2725; }
.w-row .on { background: #0F6B63; color: #fff; font-weight: 700; }
.w-h { font-size: 10px; color: #8fa39d; }
.wg-list { list-style: none; padding: 0; margin: 24px auto 0; max-width: 760px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.wg-list li { display: grid; grid-template-columns: 24px 1fr; gap: 8px; color: var(--muted); }
.wg-list li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 13px; margin-top: 2px; }
@media (max-width: 720px) {
  .wg-board { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(140px, auto); padding: 16px; gap: 12px; border-radius: 26px; }
  .wg-list { grid-template-columns: 1fr; }
  .watches { gap: 36px; }
}

/* Pop-up: Android-tester worden */
body.tp-lock { overflow: hidden; }
.tp-back { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgb(8 20 18 / .55); backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s; }
.tp-back.on { opacity: 1; }
.tp { position: relative; width: min(460px, 100%); max-height: calc(100dvh - 32px); overflow: auto; display: grid; gap: 12px; padding: 24px 22px 20px; border-radius: 24px; background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px -24px rgb(0 0 0 / .55); transform: translateY(14px) scale(.98); transition: transform .25s; }
.tp-back.on .tp { transform: none; }
.tp h2 { font-size: clamp(22px, 5vw, 26px); margin: 0; padding-right: 30px; }
.tp p { margin: 0; color: var(--muted); font-size: 15px; }
.tp-x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--bg); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.tp-badge { justify-self: start; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 99px; }
.tp-spots { display: grid; gap: 8px; padding: 12px 14px; border-radius: 16px; background: var(--bg); }
.tp-dots { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; }
.tp-dots i { height: 10px; border-radius: 6px; background: var(--line); }
.tp-dots i.on { background: var(--accent); }
.tp-left { font-size: 14px; color: var(--muted); }
.tp-left b { color: var(--ink); }
.tp-form { display: grid; gap: 10px; }
.tp-form label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.tp-form label small { font-weight: 400; color: var(--muted); }
.tp-form input[type=email], .tp-form input[name=name] { font: inherit; font-weight: 400; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.tp-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.tp-form .tp-check { grid-template-columns: 22px 1fr; align-items: start; gap: 10px; font-weight: 400; color: var(--muted); }
.tp-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); }
.tp .tp-err { color: var(--danger); font-weight: 600; font-size: 14px; }
.tp .btn { width: 100%; }
.tp .btn:disabled { opacity: .6; cursor: default; }
.tp-later { border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; padding: 4px; }
.tp-ok { justify-self: center; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 28px; font-weight: 800; }
.tp-steps { margin: 0; padding-left: 20px; color: var(--muted); font-size: 14.5px; display: grid; gap: 4px; }
.tp-pill { position: fixed; right: 16px; bottom: 16px; z-index: 40; border: 0; border-radius: 99px; padding: 12px 18px; background: var(--accent); color: #fff; font: inherit; font-weight: 700; font-size: 14.5px; box-shadow: 0 14px 30px -12px rgb(0 0 0 / .5); cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .tp-back, .tp { transition: none; } }
.tp-form .tp-code { font: inherit; font-size: 30px; font-weight: 800; letter-spacing: .45em; text-align: center; padding: 12px 0 12px .45em; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); width: 100%; }
.tp-row { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.tp .tp-info { color: var(--accent); font-weight: 600; font-size: 14px; }
/* Campagne: uitslag van een stemming */
.cp-bar { position: relative; display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--surface); overflow: hidden; font-size: 14px; }
.cp-bar span, .cp-bar b { position: relative; z-index: 1; }
.cp-bar i { position: absolute; inset: 0 auto 0 0; background: var(--accent-soft); }
.tp > .btn + .btn, .tp > .tp-form + .btn { margin-top: 2px; }
/* Foto van de moskee (Wikimedia Commons) op de moskeepagina */
.mq-photo { margin: 0 0 16px; border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.mq-photo img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.mq-photo figcaption { padding: 8px 14px; font-size: 12.5px; color: var(--muted); }

/* Engels: de pagina pas tonen als de vertaling er is (zie i18n.js) */
.i18n-wait body { visibility: hidden; }
.top .brand { white-space: nowrap; }
.i18n-rev, .i18n-legal { margin: 0 0 12px; padding: 8px 12px; border-radius: 10px; background: rgba(15, 107, 99, .08); font-size: 13px; }

/* Taalkeuze naast het logo: twee kleine vlaggetjes */
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); flex: none; }
.lang-switch button { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; padding: 4px 8px; border-radius: 99px; font: inherit; font-size: 12px; font-weight: 700; color: var(--muted); cursor: pointer; line-height: 1; }
.lang-switch button svg { width: 18px; height: 12px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); flex: none; }
.lang-switch button[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent); }
.lang-switch button:hover { color: var(--ink); }
@media (max-width: 420px) { .lang-switch button span { display: none; } .lang-switch button { padding: 5px 6px; } }
