/* Sanctus Templum Gym, voorbeeldsite. Donkere steen, brons, de spitsboog als kader voor de foto's. */
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-800-latin.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-700-latin.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-600-latin.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-400-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-600-latin.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --stone: #0f0e0c;
  --stone-2: #191714;
  --stone-3: #26231e;
  --bone: #e8e6e2;
  --bone-muted: #bdb7ad;
  --gold: #c9a24a;
  --gold-deep: #e0bb63;
  --on-gold: #0f0e0c;
  --ring: #e0bb63;
  --font-d: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --t-small: 1rem;
  --t-body: 1.125rem;
  --t-lead: 1.375rem;
  --t-h3: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
  --t-h2: clamp(2.6rem, 1.6rem + 4vw, 5.2rem);
  --t-h1: clamp(2.5rem, 6.6vw, 7rem);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
  --arch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 125' preserveAspectRatio='none'%3E%3Cpath d='M0 125V50C0 24 21 6 50 0c29 6 50 24 50 50v75z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--stone); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--stone); color: var(--bone); font-family: var(--font); font-size: var(--t-body); line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-deep); }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-d); font-weight: 800; text-transform: uppercase; line-height: .95; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
b, strong { font-weight: 600; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- Skiplink en voorbeeldmelding ---------- */
.skip-link { position: absolute; left: var(--gutter); top: -120px; z-index: 100; background: var(--gold); color: var(--on-gold); padding: 12px 18px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.demo-note { background: #050504; color: var(--bone); font-size: 1rem; line-height: 1.4; padding: .55rem 1rem; text-align: center; text-wrap: balance; }
.demo-note a { padding: 13px 12px; margin: 0 -12px; white-space: nowrap; color: inherit; text-decoration: underline; }
.demo-note a:hover { color: inherit; }
.demo-note a:focus-visible { outline: 2px solid var(--bone); outline-offset: -10px; }

/* ---------- Knoppen ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 0; font-family: var(--font-d); font-weight: 700; font-size: 1.25rem; letter-spacing: .02em; text-transform: uppercase; line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap; touch-action: manipulation; transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 140ms var(--ease-out); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-deep); color: var(--on-gold); }
.btn-stone { background: var(--stone-3); color: var(--bone); }
.btn-stone:hover { background: #34302a; color: var(--bone); }
.btn-big { min-height: 60px; padding: 0 28px; font-size: 1.375rem; }

/* ---------- Woordmerk en kop ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--stone); }
.site-header .wrap { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--bone); margin-right: auto; min-height: 44px; }
.wordmark:hover { color: var(--bone); }
.wordmark svg { width: 26px; height: 34px; flex: none; color: var(--gold); }
.wm-text { font-family: var(--font-d); font-weight: 800; font-size: 1.375rem; line-height: .9; text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; }
.wm-text small { display: block; font-size: 1rem; font-weight: 600; color: var(--gold); letter-spacing: .06em; }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-family: var(--font-d); font-weight: 600; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; transition: color 160ms var(--ease-out); }
.nav-links a:hover { color: var(--gold-deep); }
.nav-links a[aria-current="page"] { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.header-actions .btn { min-height: 44px; padding: 0 14px; font-size: 1.125rem; gap: 7px; }
.header-actions .btn svg { width: 17px; height: 17px; }
.menu { position: relative; }
.menu summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; background: var(--stone-3); cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 22px; height: 22px; }
.menu[open] summary { background: var(--gold); color: var(--on-gold); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, calc(100vw - 2 * var(--gutter))); background: var(--stone-3); padding: 8px; display: grid; }
.menu-panel a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; text-decoration: none; font-family: var(--font-d); font-weight: 600; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .02em; }
.menu-panel a:hover { background: #34302a; color: var(--gold-deep); }
@media (min-width: 1180px) { .nav-links { display: flex; } .menu { display: none; } }
@media (max-width: 559px) {
  .wm-text { font-size: 1.125rem; line-height: .92; }
  .wm-a, .wm-b { display: block; }
  .wm-text small { display: none; }
  .wordmark { gap: 8px; }
  .wordmark svg { width: 22px; height: 30px; }
  .site-header .wrap { gap: 8px; }
  .header-actions .btn { padding: 0 12px; font-size: 1.125rem; }
}

/* ---------- Spitsboog ---------- */
.arch { -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat; overflow: hidden; background: #5a4a26; aspect-ratio: 4 / 5; padding: clamp(6px, .7vw, 10px); }
.arch img { width: 100%; height: 100%; object-fit: cover; -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat; }
.frame { overflow: hidden; background: var(--stone-3); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
figure { margin: 0; }
figcaption { margin-top: 12px; color: var(--bone-muted); font-size: var(--t-small); }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 5vw, 72px) 0 clamp(64px, 9vw, 140px); }
.hero-grid { display: grid; gap: clamp(32px, 4vw, 56px); align-items: center; }
.hero h1 { font-size: var(--t-h1); line-height: .9; }
.hero h1 span { display: block; white-space: nowrap; }
.hero h1 .gold { color: var(--gold); }
.hero .lead { font-size: var(--t-lead); line-height: 1.45; margin-top: 26px; max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--bone-muted); }
.hero-facts li { display: inline-flex; gap: 8px; align-items: center; }
.hero-facts svg { width: 20px; height: 20px; color: var(--gold); }
.hero-facts a { display: inline-flex; align-items: center; min-height: 44px; }
.hero-arch { max-width: 520px; width: 100%; justify-self: end; }
.hero-arch img { transform-origin: 50% 30%; }
.js .hero-arch img { animation: slow-zoom 24s var(--ease-out) both; }
@keyframes slow-zoom { from { transform: scale(1.1); } to { transform: scale(1); } }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.35fr .65fr; } }
@media (max-width: 899px) { .hero-arch { justify-self: stretch; max-width: none; } .hero .lead { font-size: var(--t-body); } }

/* ---------- Secties ---------- */
.section { padding: clamp(80px, 10vw, 170px) 0; }
.raised { background: var(--stone-2); }
.section-head { max-width: 46rem; margin-bottom: clamp(32px, 4vw, 60px); }
.section-head p, .section-sub { color: var(--bone-muted); margin-top: 20px; max-width: 34em; }

/* ---------- Disciplines ---------- */
.disc-grid { display: grid; gap: clamp(36px, 5vw, 80px); align-items: start; }
.disc { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(26px, 3vw, 40px); }
.disc li { display: grid; gap: 10px; }
.disc h3 { color: var(--bone); }
.disc h3 span { color: var(--gold); }
.disc p { color: var(--bone); max-width: 34em; }
.disc-arch { position: sticky; top: calc(var(--header-h) + 24px); max-width: 460px; width: 100%; justify-self: end; }
@media (min-width: 900px) { .disc-grid { grid-template-columns: 1.2fr .8fr; } }
@media (max-width: 899px) { .disc-arch { position: static; justify-self: stretch; max-width: none; } }

.band { padding-bottom: clamp(80px, 10vw, 170px); }
.band .frame { aspect-ratio: 21 / 9; }
.band img { object-position: 50% 45%; }
@media (max-width: 699px) { .band .frame { aspect-ratio: 4 / 3; } .band img { object-position: 35% 50%; } }

/* ---------- Krachtrekenaar ---------- */
.calc { display: grid; gap: clamp(32px, 4vw, 64px); align-items: start; }
.calc-form { display: grid; gap: 20px; margin-top: 30px; }
.calc-form label { display: block; font-weight: 600; margin-bottom: 8px; }
.calc-form input, .calc-form select { width: 100%; font: inherit; font-size: 1.25rem; color: var(--bone); background: var(--stone); border: 2px solid #4a443b; border-radius: 0; padding: 10px 14px; min-height: 56px; }
.calc-form input:focus-visible, .calc-form select:focus-visible { outline: 3px solid var(--ring); outline-offset: 1px; border-color: var(--gold); }
.calc-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.calc-note { color: var(--bone-muted); font-size: var(--t-small); }
.calc-out { background: var(--stone); padding: clamp(22px, 3vw, 40px); }
.calc-max { font-family: var(--font-d); font-weight: 800; text-transform: uppercase; font-size: var(--t-h3); line-height: 1; margin: 0; }
.calc-max output { display: block; font-size: var(--t-h2); color: var(--gold); margin-top: 8px; font-variant-numeric: tabular-nums; }
.calc-table { width: 100%; border-collapse: collapse; margin-top: 26px; font-variant-numeric: tabular-nums; }
.calc-table caption { text-align: left; color: var(--bone-muted); margin-bottom: 10px; font-size: var(--t-small); }
.calc-table th, .calc-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #3a352e; }
.calc-table th { font-family: var(--font-d); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; font-size: 1.125rem; color: var(--bone-muted); }
.calc-table td:nth-child(2) { color: var(--gold); font-weight: 600; }
.calc-table td:last-child, .calc-table th:last-child { text-align: right; }
@media (min-width: 1000px) { .calc { grid-template-columns: .9fr 1.1fr; } }

/* ---------- Zo begint u ---------- */
.start-grid { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
.start { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; counter-reset: none; }
.start li { display: grid; grid-template-columns: 30px 1fr; gap: 18px; }
.start li::before { content: ""; width: 18px; height: 24px; margin-top: 6px; background: var(--gold); -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat; }
.start h3 { font-size: 1.75rem; margin-bottom: 6px; }
.start-grid .frame { aspect-ratio: 16 / 10; }
@media (min-width: 900px) { .start-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Formules ---------- */
.plans { display: grid; gap: clamp(28px, 4vw, 48px); }
.plan h3 { margin-bottom: 10px; }
.plan h3 span { color: var(--gold); }
.plan ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.plan li::before { content: ""; width: 10px; height: 10px; background: var(--gold); margin-top: 10px; }
.plans-foot { margin-top: clamp(32px, 4vw, 52px); display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.plans-foot p { color: var(--bone-muted); margin: 0; max-width: 36em; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Vragen ---------- */
.qa { display: grid; gap: clamp(28px, 3vw, 44px) clamp(28px, 5vw, 72px); }
.qa h3 { font-size: 1.75rem; margin-bottom: 8px; }
@media (min-width: 800px) { .qa { grid-template-columns: 1fr 1fr; } }

/* ---------- Slot ---------- */
.closing-grid { display: grid; gap: clamp(32px, 4vw, 64px); align-items: center; }
.closing h2 span { color: var(--gold); }
.big-phone { display: inline-block; font-family: var(--font-d); font-weight: 800; font-size: var(--t-h2); line-height: 1; color: var(--gold); text-decoration: none; padding: 8px 0; margin-top: 18px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.big-phone:hover { color: var(--gold-deep); text-decoration: underline; text-decoration-thickness: 3px; }
.closing p { color: var(--bone-muted); margin-top: 14px; max-width: 32em; }
.closing .hero-actions { margin-top: 26px; }
.closing-arch { max-width: 400px; width: 100%; justify-self: end; }
@media (min-width: 900px) { .closing-grid { grid-template-columns: 1.3fr .7fr; } }
@media (max-width: 899px) { .closing-arch { justify-self: stretch; max-width: none; } }

/* ---------- Voet ---------- */
.site-footer { background: var(--stone); padding: clamp(56px, 7vw, 96px) 0 40px; }
.foot-mark { font-family: var(--font-d); font-weight: 800; text-transform: uppercase; font-size: clamp(2.4rem, 11vw - 1rem, 11.5rem); line-height: .85; letter-spacing: -0.01em; margin: 0 0 40px; color: #776f62; white-space: nowrap; }
.foot-grid { display: grid; gap: 26px; }
.foot-grid p b { display: block; margin-bottom: 4px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
.credits { margin-top: 40px; color: var(--bone-muted); font-size: var(--t-small); max-width: 44em; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Subpagina's ---------- */
.page-hero { padding: clamp(28px, 5vw, 72px) 0 clamp(56px, 7vw, 110px); }
.page-hero h1 { font-size: var(--t-h1); line-height: .9; }
.page-hero .lead { font-size: var(--t-body); margin-top: 24px; max-width: 32em; }
@media (min-width: 900px) { .page-hero .lead { font-size: var(--t-lead); } }
.detail { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
.detail + .detail { margin-top: clamp(80px, 9vw, 150px); }
.detail figure { order: 2; }
.detail .frame { aspect-ratio: 3 / 2; }
.detail .arch { max-width: 420px; }
.detail h2 { margin-bottom: 20px; }
.detail .plan ul { margin-top: 18px; }
@media (min-width: 900px) {
  .detail { grid-template-columns: 1fr 1fr; }
  .detail figure { order: 0; }
  .detail.flip figure { order: 2; }
  .detail .arch { justify-self: center; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-line { display: grid; grid-template-columns: 28px 1fr; gap: 14px; margin-bottom: 20px; }
.contact-line svg { width: 26px; height: 26px; color: var(--gold); margin-top: 2px; }
.contact-line b { display: block; }
.contact-line a { font-weight: 600; display: inline-flex; min-height: 44px; align-items: center; font-size: 1.25rem; }
.form { display: grid; gap: 18px; }
.form h2 { font-size: var(--t-h3); }
.field-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .field-row.two { grid-template-columns: 1fr 1fr; } }
.form label { display: block; font-weight: 600; margin-bottom: 6px; }
.form .hint { font-weight: 400; color: var(--bone-muted); }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: var(--t-body); color: var(--bone); background: var(--stone); border: 2px solid #4a443b; border-radius: 0; padding: 12px 14px; min-height: 52px; }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--ring); outline-offset: 1px; border-color: var(--gold); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-note { color: var(--bone-muted); font-size: var(--t-small); }
.form-done { background: var(--gold); color: var(--on-gold); padding: 18px 20px; }
.form-done a { color: var(--on-gold); }
.form-done[hidden] { display: none; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .85fr 1.15fr; } }

/* ---------- Beweging ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .hero-arch img { animation: none; }
  .btn { transition: none; }
}

/* Elementen met het attribuut hidden blijven verborgen, ook als een klasse display zet (nakijkronde 27 oktober 2026). */
[hidden] { display: none !important; }
