/*
Theme Name: XPilates
Theme URI: https://xpilates.nl
Author: TrackJack
Description: Premium boutique reformer pilates members club — standalone WordPress theme
Version: 1.0.0
Text Domain: xpilates
*/

/* =========================================================
   XPILATES — Reformer Members Club
   Dark editorial premium · Cinzel / Playfair / Lato
   ========================================================= */

:root {
  --sand: #DDD0B8;
  --ivory: #EAE5DB;
  --cream: #F5EFE3;
  --stone: #C9B89A;
  --terra: #B5825C;
  --sage:  #7EA186;

  --bg-0: #0E0E0E;
  --bg-1: #161616;
  --bg-2: #1F1F1F;
  --bg-3: #262522;
  --line: rgba(234,229,219,0.12);
  --line-strong: rgba(234,229,219,0.24);
  --text-0: var(--ivory);
  --text-1: rgba(234,229,219,0.78);
  --text-2: rgba(234,229,219,0.55);
  --accent: var(--terra);
  --on-accent: #1F1F1F;

  --max: 1440px;
  --gutter: clamp(20px, 4vw, 56px);

  --display: 'Cinzel', 'Trajan Pro', serif;
  --heading: 'Playfair Display', Georgia, serif;
  --body: 'Lato', -apple-system, 'Segoe UI', sans-serif;
}

body[data-palette="sand"] {
  --bg-0: #DDD0B8;
  --bg-1: #EAE5DB;
  --bg-2: #F5EFE3;
  --bg-3: #E5D7BD;
  --line: rgba(42,42,42,0.14);
  --line-strong: rgba(42,42,42,0.32);
  --text-0: #1F1F1F;
  --text-1: rgba(31,31,31,0.78);
  --text-2: rgba(31,31,31,0.55);
}

body[data-accent="sage"]  { --accent: var(--sage); }
body[data-accent="sand"]  { --accent: var(--sand); }
body[data-accent="terra"] { --accent: var(--terra); }
body[data-accent="ivory"] { --accent: var(--ivory); }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg-0);
  color: var(--text-0);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--on-accent); }

h1, h2, h3, h4 {
  font-family: var(--heading);
  font-weight: 400;
  letter-spacing: 0.005em;
  margin: 0;
  color: var(--text-0);
}
h1 { font-size: clamp(2.6rem, 6.5vw, 6rem);   line-height: 1.02; }
h2 { font-size: clamp(2rem, 4.2vw, 3.6rem);    line-height: 1.08; }
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem);    line-height: 1.2; }
h4 { font-size: clamp(1.1rem, 1.6vw, 1.3rem);  line-height: 1.3; }
p  { margin: 0; }

.serif   { font-family: var(--heading); }
.serif-i { font-family: var(--heading); font-style: italic; font-weight: 400; }
.display { font-family: var(--display); letter-spacing: 0.18em; font-weight: 400; }
.eyebrow {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.36em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-2);
}
.eyebrow.accent { color: var(--accent); }
.rule { width: 48px; height: 1px; background: var(--accent); display: inline-block; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section { position: relative; }
.section-pad { padding: clamp(72px, 10vw, 140px) 0; }
.divider { height: 1px; background: var(--line); width: 100%; }

/* ---- NAV ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 80;
  padding: 18px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: transparent;
  transition: background .35s ease, padding .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: color-mix(in oklab, var(--bg-0) 88%, transparent);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  padding-top: 12px; padding-bottom: 12px;
  border-bottom-color: var(--line);
}
.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 32px);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-1);
}
.nav-right { justify-content: flex-end; }
.nav a.nav-link { transition: color .2s ease; }
.nav a.nav-link:hover { color: var(--text-0); }
.nav-logo {
  font-family: var(--display);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  letter-spacing: 0.32em;
  color: var(--text-0);
  text-align: center;
  white-space: nowrap;
}
.nav-cta {
  border: 1px solid var(--line-strong);
  padding: 10px 18px;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  border-radius: 999px;
  transition: all .25s ease;
  color: var(--text-0);
}
.nav-cta:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.nav-burger { display: none; }
@media (max-width: 880px) {
  .nav { grid-template-columns: 1fr auto auto; }
  .nav-left { display: none; }
  .nav-right .nav-link { display: none; }
  .nav-burger {
    display: inline-flex; flex-direction: column; gap: 4px;
    width: 26px; height: 26px; align-items: stretch; justify-content: center;
    cursor: pointer; background: none; border: none;
  }
  .nav-burger span { height: 1px; background: var(--text-0); width: 100%; display: block; }
}

/* Mobile nav open */
.nav-left.open {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: var(--bg-1);
  border-bottom: 1px solid var(--line);
  padding: 24px var(--gutter);
  gap: 20px;
  z-index: 79;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  background: var(--bg-0);
  padding: 130px var(--gutter) 56px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, color-mix(in oklab, var(--accent) 12%, transparent) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(234,229,219,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero-top, .hero-bottom {
  display: flex; justify-content: space-between; align-items: center;
  position: relative; z-index: 2;
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-2);
  flex-wrap: wrap;
  gap: 18px;
}
.hero-mid {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center;
  text-align: center;
  position: relative; z-index: 2;
}
.hero-display {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.2rem, 14vw, 14rem);
  line-height: 0.95;
  letter-spacing: 0.08em;
  color: var(--text-0);
  margin: 0;
}
.hero-display .l {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s cubic-bezier(.2,.6,.2,1) forwards;
}
.hero-display .l:nth-child(1){animation-delay:.05s}
.hero-display .l:nth-child(2){animation-delay:.10s}
.hero-display .l:nth-child(3){animation-delay:.15s}
.hero-display .l:nth-child(4){animation-delay:.20s}
.hero-display .l:nth-child(5){animation-delay:.25s}
.hero-display .l:nth-child(6){animation-delay:.30s}
.hero-display .l:nth-child(7){animation-delay:.35s}
.hero-display .l:nth-child(8){animation-delay:.40s}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.hero-sub {
  font-family: var(--heading);
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  color: var(--text-1);
  margin-top: 28px;
  max-width: 580px;
  opacity: 0;
  animation: fadeUp 1s .55s cubic-bezier(.2,.6,.2,1) forwards;
}
.hero-actions {
  display: flex; gap: 14px; margin-top: 44px;
  opacity: 0;
  animation: fadeUp 1s .75s cubic-bezier(.2,.6,.2,1) forwards;
  flex-wrap: wrap; justify-content: center;
}
.hero-scrollhint {
  display: inline-flex; align-items: center; gap: 10px;
}
.hero-scrollhint .tick { width: 32px; height: 1px; background: var(--text-2); display: inline-block; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px;
  font-family: var(--body);
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: all .25s ease;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--text-0); color: var(--bg-0); }
.btn-ghost { background: transparent; color: var(--text-0); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--text-0); background: rgba(234,229,219,0.04); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---- TICKER ---- */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-0);
  padding: 22px 0;
}
.ticker-track {
  display: inline-flex;
  gap: 56px;
  white-space: nowrap;
  animation: tick 38s linear infinite;
  font-family: var(--display);
  letter-spacing: 0.32em;
  font-size: clamp(0.9rem, 1.4vw, 1.15rem);
  color: var(--text-1);
}
.ticker-track .star { color: var(--accent); }
@keyframes tick {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- MANIFESTO ---- */
.manifesto {
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  text-align: center;
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.manifesto-quote {
  font-family: var(--heading);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 3.3vw, 2.6rem);
  line-height: 1.35;
  color: var(--text-0);
  max-width: 1080px;
  margin: 28px auto 0;
  text-wrap: balance;
}
.manifesto-cite {
  margin-top: 36px;
  font-size: 0.72rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--text-2);
}

/* ---- CONCEPT ---- */
.concept {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(96px, 12vw, 160px) var(--gutter);
}
.concept-intro { grid-column: 1 / span 12; }
.concept-intro h2 { max-width: 16ch; text-wrap: balance; }
.concept-intro .lede {
  font-family: var(--heading); font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: var(--text-1);
  max-width: 60ch;
  margin-top: 24px;
}
.concept-grid {
  grid-column: 1 / span 12;
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 40px);
}
@media (max-width: 880px) { .concept-grid { grid-template-columns: 1fr; } }
.concept-card {
  padding: 36px 32px 40px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  min-height: 280px;
}
.concept-card .num { font-family: var(--heading); font-style: italic; color: var(--accent); font-size: 1.1rem; margin-bottom: 28px; }
.concept-card h3 { margin-bottom: 16px; }
.concept-card p { color: var(--text-1); font-size: 0.95rem; line-height: 1.65; }
.concept-card .tag { margin-top: auto; padding-top: 24px; font-size: 0.7rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--text-2); }

/* ---- STUDIO ---- */
.studio {
  padding: clamp(96px, 12vw, 160px) var(--gutter);
  background: var(--bg-1);
  border-top: 1px solid var(--line);
}
.studio-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(24px, 4vw, 80px);
  align-items: end;
  margin-bottom: clamp(56px, 7vw, 96px);
}
@media (max-width: 880px) { .studio-head { grid-template-columns: 1fr; gap: 24px; } }
.studio-head .lede { font-family: var(--heading); font-style: italic; color: var(--text-1); font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 56ch; }
.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 1.6vw, 22px);
}
@media (max-width: 720px) { .studio-grid { grid-template-columns: 1fr; } }
.studio-shot {
  position: relative; display: block; overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.studio-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.2,.6,.2,1); }
.studio-shot:hover img { transform: scale(1.03); }
.studio-grid .s-1 { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.studio-grid .s-2, .studio-grid .s-3 { aspect-ratio: 1 / 1; }
@media (max-width: 720px) { .studio-grid .s-1 { aspect-ratio: 4 / 3; } }

/* ---- MEMBERSHIPS PREVIEW ---- */
.memberships {
  padding: clamp(96px, 12vw, 160px) var(--gutter);
  border-top: 1px solid var(--line);
  background: var(--bg-1);
}
.memb-head { text-align: center; margin-bottom: clamp(56px, 7vw, 88px); }
.memb-head .lede { font-family: var(--heading); font-style: italic; color: var(--text-1); font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 60ch; margin: 24px auto 0; }
.memb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 24px);
}
@media (max-width: 960px) { .memb-grid { grid-template-columns: 1fr; } }
.memb-card {
  background: var(--bg-0); border: 1px solid var(--line);
  padding: clamp(28px, 3vw, 44px);
  display: flex; flex-direction: column;
  position: relative; min-height: 480px;
}
.memb-card .name { font-family: var(--heading); font-size: 1.6rem; }
.memb-card .price {
  font-family: var(--heading);
  font-size: clamp(2.6rem, 4.4vw, 3.6rem);
  line-height: 1;
  margin: 28px 0 6px;
  display: flex; align-items: baseline; gap: 8px;
}
.memb-card .price .cur { font-size: 0.6em; color: var(--text-2); }
.memb-card .price .pm  { font-size: 0.35em; color: var(--text-2); letter-spacing: 0.2em; text-transform: uppercase; margin-left: 4px; }
.memb-card .credits { font-family: var(--body); font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-2); margin-bottom: 28px; }
.memb-card ul {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 0.92rem; color: var(--text-1);
  border-top: 1px solid var(--line); padding-top: 22px;
}
.memb-card ul li { padding-left: 22px; position: relative; }
.memb-card ul li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 10px; height: 1px; background: var(--accent); }
.memb-card .cta { margin-top: auto; }
.memb-card.featured { background: var(--bg-3); border-color: var(--accent); }
.memb-card.featured::before {
  content: 'Meest gekozen';
  position: absolute; top: -1px; right: -1px;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--body); font-size: 0.66rem;
  letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600;
  padding: 8px 14px;
}

/* ---- FOUNDERS ---- */
.founders {
  position: relative;
  padding: clamp(96px, 12vw, 160px) var(--gutter);
  border-top: 1px solid var(--line);
  background: var(--bg-0);
  overflow: hidden;
}
.founders::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 30%, color-mix(in oklab, var(--accent) 14%, transparent) 0%, transparent 50%),
    radial-gradient(circle at 10% 90%, color-mix(in oklab, var(--sage) 10%, transparent) 0%, transparent 50%);
  pointer-events: none;
}
.founders-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 880px) { .founders-inner { grid-template-columns: 1fr; } }
.founders-inner h2 { max-width: 14ch; text-wrap: balance; margin-top: 24px; }
.founders-inner .lede { font-family: var(--heading); font-style: italic; color: var(--text-1); font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 50ch; margin: 24px 0 36px; }
.founders-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 32px;
}
.founders-stats .stat { padding: 22px 18px; background: var(--bg-0); }
.founders-stats .num { font-family: var(--heading); font-size: clamp(2rem, 3.4vw, 2.8rem); color: var(--text-0); line-height: 1; }
.founders-stats .lab { font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text-2); margin-top: 12px; }
.founders-card {
  background: var(--bg-2); border: 1px solid var(--accent);
  padding: clamp(28px, 3vw, 44px); position: relative;
}
.founders-card::before { content: '01'; position: absolute; top: 18px; right: 22px; font-family: var(--heading); font-style: italic; font-size: 1.1rem; color: var(--accent); }
.founders-card .tag { font-size: 0.7rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.founders-card h3 { margin: 14px 0 6px; }
.founders-card .price-line {
  margin-top: 20px;
  display: flex; align-items: baseline; gap: 12px;
  border-bottom: 1px solid var(--line); padding-bottom: 20px;
}
.founders-card .price-line .price { font-family: var(--heading); font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; }
.founders-card .price-line .per { font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text-2); }
.founders-card .price-line .strike { font-family: var(--heading); font-size: 1.1rem; color: var(--text-2); text-decoration: line-through; margin-left: auto; }
.founders-card ul {
  list-style: none; padding: 0; margin: 22px 0 28px;
  display: flex; flex-direction: column; gap: 12px;
  color: var(--text-1); font-size: 0.94rem;
}
.founders-card ul li { padding-left: 22px; position: relative; }
.founders-card ul li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border: 1px solid var(--accent); border-radius: 50%; }
.founders-form {
  display: flex; gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px; overflow: hidden;
  background: var(--bg-0);
}
.founders-form input {
  flex: 1; border: none; background: transparent;
  padding: 14px 22px;
  color: var(--text-0); font-family: var(--body);
  font-size: 0.92rem; outline: none;
}
.founders-form input::placeholder { color: var(--text-2); }
.founders-form button {
  border: none; background: var(--accent); color: var(--on-accent);
  padding: 14px 26px;
  font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600;
  cursor: pointer; font-family: var(--body);
  transition: background .2s ease;
}
.founders-form button:hover { background: var(--text-0); }
.founders-card .fineprint { font-size: 0.74rem; color: var(--text-2); margin-top: 14px; }
/* Founders CF7-formulier — zelfde pill-look als .founders-form */
.founders-cf7 .wpcf7-form { margin: 0; }
.founders-cf7 .fpill p { margin: 0; display: flex; align-items: stretch; gap: 0; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; background: var(--bg-0); }
.founders-cf7 .fpill .wpcf7-form-control-wrap { flex: 1; display: flex; }
.founders-cf7 input[type=email] { flex: 1; width: 100%; border: none; background: transparent; padding: 14px 22px; color: var(--text-0); font-family: var(--body); font-size: 0.92rem; outline: none; box-shadow: none; }
.founders-cf7 input[type=email]::placeholder { color: var(--text-2); }
.founders-cf7 input[type=submit] { border: none; background: var(--accent); color: var(--on-accent); padding: 14px 26px; font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600; cursor: pointer; font-family: var(--body); transition: background .2s ease; white-space: nowrap; border-radius: 0; }
.founders-cf7 input[type=submit]:hover { background: var(--text-0); }
.founders-cf7 .wpcf7-spinner { display: none; }
.founders-cf7 .wpcf7-not-valid { box-shadow: none !important; }
/* Inline rode veld-tip verbergen (het meldingskader eronder volstaat) */
.founders-cf7 .wpcf7-not-valid-tip { display: none !important; }
/* Meldingskader (fout/succes) — branded i.p.v. CF7-geel/rood */
.founders-cf7 .wpcf7-response-output {
  margin: 14px 2px 0 !important;
  padding: 10px 16px !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: 10px;
  background: var(--bg-1);
  color: var(--text-1);
  font-family: var(--body);
  font-size: 0.8rem;
  line-height: 1.5;
}
.founders-cf7 form.invalid .wpcf7-response-output,
.founders-cf7 form.unaccepted .wpcf7-response-output,
.founders-cf7 form.spam .wpcf7-response-output { border-color: color-mix(in oklab, var(--accent) 55%, var(--line-strong)) !important; }
.founders-cf7 form.sent .wpcf7-response-output { border-color: var(--accent) !important; color: var(--text-0); }
.founders-counter {
  margin-top: 24px;
  display: flex; align-items: center; gap: 14px;
  font-size: 0.78rem; letter-spacing: 0.06em; color: var(--text-1);
}
.founders-counter .bar { flex: 1; height: 3px; background: var(--line); position: relative; overflow: hidden; border-radius: 999px; }
.founders-counter .fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); width: 32%; border-radius: 999px; }

/* ---- LOCATIE ---- */
.location {
  padding: clamp(96px, 12vw, 160px) var(--gutter);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 96px);
  align-items: center;
  background: var(--bg-1);
}
@media (max-width: 880px) { .location { grid-template-columns: 1fr; } }
.location-text .lede { font-family: var(--heading); font-style: italic; color: var(--text-1); font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 56ch; margin: 24px 0 32px; }
.location-meta { display: flex; flex-direction: column; gap: 24px; border-top: 1px solid var(--line); padding-top: 28px; margin-top: 36px; }
.location-meta .row { display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: baseline; font-size: 0.92rem; color: var(--text-1); }
.location-meta .row .k { font-family: var(--body); text-transform: uppercase; letter-spacing: 0.28em; font-size: 0.68rem; color: var(--text-2); }
.location-meta .row .v { font-family: var(--heading); font-size: 1.05rem; color: var(--text-0); }
.location-map { aspect-ratio: 5/6; border: 1px solid var(--line); background: var(--bg-2); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.location-map img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Flex los-lessen blok (memberships) */
.flex-credits { padding: clamp(48px, 7vw, 88px) var(--gutter); text-align: center; background: var(--bg-1); }
.flex-credits-head { max-width: 60ch; margin: 0 auto clamp(32px, 5vw, 56px); }
.flex-credits-head h2 { font-family: var(--heading); font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 12px 0 16px; }
.flex-credits-head .lede { font-family: var(--heading); font-style: italic; color: var(--text-1); font-size: clamp(1rem, 1.4vw, 1.15rem); }
.flex-credits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); max-width: 720px; margin: 0 auto; }
@media (max-width: 600px) { .flex-credits-grid { grid-template-columns: 1fr; } }
.flex-credit { background: var(--bg-0); padding: 36px 24px; }
.flex-credit .fc-amount { font-family: var(--heading); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--text-0); line-height: 1; }
.flex-credit .fc-amount .cur { font-size: 0.5em; vertical-align: 0.35em; margin-right: 2px; }
.flex-credit .fc-label { font-family: var(--body); font-size: 0.95rem; margin-top: 12px; color: var(--text-0); }
.flex-credit .fc-sub { font-size: 0.78rem; color: var(--text-2); margin-top: 6px; letter-spacing: 0.02em; }

/* ---- CLOSING CTA ---- */
.closing {
  padding: clamp(120px, 16vw, 200px) var(--gutter);
  text-align: center;
  background: var(--bg-0);
  position: relative; overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, color-mix(in oklab, var(--accent) 8%, transparent) 0%, transparent 60%);
}
.closing > * { position: relative; }
.closing h2 { font-size: clamp(2rem, 5vw, 4.4rem); max-width: 16ch; margin: 28px auto 28px; text-wrap: balance; }
.closing .actions { display: flex; gap: 14px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }

/* ---- FOOTER ---- */
footer.site {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  padding: clamp(64px, 8vw, 96px) var(--gutter) 48px;
}
.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  margin-bottom: 80px;
}
@media (max-width: 880px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot-top { grid-template-columns: 1fr; } }
.foot-brand .logo { font-family: var(--display); letter-spacing: 0.32em; font-size: 1.6rem; margin-bottom: 18px; }
.foot-brand p { color: var(--text-2); font-size: 0.92rem; max-width: 32ch; }
.foot-col h5 { font-family: var(--body); font-size: 0.72rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--text-2); margin: 0 0 22px; font-weight: 600; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.foot-col a { color: var(--text-1); font-size: 0.94rem; transition: color .2s ease; }
.foot-col a:hover { color: var(--text-0); }
.foot-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-2); }
.foot-social { display: flex; align-items: center; gap: 18px; }
.foot-social a { display: inline-flex; color: var(--text-2); transition: color .2s ease, transform .2s ease; }
.foot-social a:hover { color: var(--text-0); transform: translateY(-1px); }
.foot-social svg { width: 26px; height: 26px; fill: currentColor; display: block; }
@media (max-width: 540px) { .foot-bottom { justify-content: center; text-align: center; } }

/* ---- MEMBERSHIPS PAGE ---- */
.page-head {
  padding: 180px var(--gutter) clamp(72px, 9vw, 120px);
  text-align: center;
  background: var(--bg-0);
  border-bottom: 1px solid var(--line);
}
.page-head .eyebrow { margin-bottom: 24px; display: block; }
.page-head h1 { font-family: var(--heading); font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 400; max-width: 16ch; margin: 0 auto; }
.page-head .lede { font-family: var(--heading); font-style: italic; color: var(--text-1); font-size: clamp(1.1rem, 1.6vw, 1.35rem); max-width: 56ch; margin: 28px auto 0; }

.pricing { padding: clamp(96px, 11vw, 140px) var(--gutter); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 24px);
}
@media (max-width: 1100px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .pricing-grid { grid-template-columns: 1fr; } }

.compare {
  padding: clamp(72px, 10vw, 140px) var(--gutter);
  background: var(--bg-1);
  border-top: 1px solid var(--line);
}
.compare h2 { text-align: center; margin-bottom: 56px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.compare-table th, .compare-table td { text-align: left; padding: 18px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table thead th { font-family: var(--heading); font-size: 1.15rem; font-weight: 500; color: var(--text-0); padding-bottom: 22px; }
.compare-table thead th:first-child { color: var(--text-2); font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--body); font-weight: 600; }
.compare-table tbody td { color: var(--text-1); }
.compare-table tbody td:first-child { font-family: var(--body); text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.72rem; color: var(--text-2); font-weight: 600; width: 30%; }
.compare-table .yes { color: var(--accent); font-weight: 500; }
.compare-table .no  { color: var(--text-2); }
.compare-table .featured-col { background: rgba(181,130,92,0.06); }

.faq { padding: clamp(72px, 10vw, 140px) var(--gutter); border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
@media (max-width: 880px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: var(--heading); font-size: 1.15rem; color: var(--text-0); cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; position: relative; }
.faq-item summary .ic::before, .faq-item summary .ic::after { content: ''; position: absolute; background: var(--accent); }
.faq-item summary .ic::before { width: 14px; height: 1px; }
.faq-item summary .ic::after  { width: 1px; height: 14px; transition: transform .25s ease; }
.faq-item[open] summary .ic::after { transform: scaleY(0); }
.faq-item p { color: var(--text-1); font-size: 0.95rem; margin: 14px 0 4px; max-width: 65ch; }

/* ---- REVEAL ANIMATION ---- */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .9s ease, transform .9s ease; }
[data-reveal].in { opacity: 1; transform: translateY(0); }
