/* ============================================================
   Route R — website stylesheet
   Creatieve coaching, begeleiding & therapie · Zeebrugge
   One file: design tokens + base + components + layout + responsive.
   ============================================================ */

/* ---- Fonts: Inter Tight (titels) + Inter (lopende tekst) ---- */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Inter+Tight:wght@500;600&display=swap");

/* ---------------------------------------------------------------
   1. Tokens
   --------------------------------------------------------------- */
:root {
  /* Kleuren — één basis (zand), twee accenten (mint, goud) */
  --rr-sand: #EDE1D1;  --rr-sand-deep: #E3D3BD;  --rr-sand-ink: #5C4A32;
  --rr-mint: #85DBD9;  --rr-mint-deep: #6FCFCD;  --rr-mint-ink: #0E4F4D;
  --rr-gold: #C9A575;  --rr-gold-deep: #B8945F;
  --rr-white: #FFFFFF; --rr-light: #F6F5F4;
  --rr-grey: #6C757D;  --rr-grey-soft: #ADB5BD; --rr-ink: #212529;

  --color-background-primary: var(--rr-white);
  --color-text-primary: var(--rr-ink);
  --color-text-secondary: var(--rr-grey);
  --color-link: var(--rr-gold);
  --color-border-primary: rgba(33,37,41,.16);
  --color-border-secondary: rgba(33,37,41,.12);
  --color-border-tertiary: rgba(33,37,41,.08);
  --color-danger: #C7796B;

  /* Typografie */
  --font-display: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --fw-medium: 500; --fw-semibold: 600;

  /* Spacing — 4px schaal */
  --space-1:.25rem; --space-2:.5rem; --space-3:.75rem; --space-4:1rem;
  --space-5:1.5rem; --space-6:2rem; --space-7:3rem; --space-8:4rem; --space-9:6rem;
  --container-max: 1120px; --container-pad: 1.5rem;

  /* Radii */
  --border-radius-sm:.4rem; --border-radius-md:.75rem; --border-radius-lg:1rem;
  --border-radius-xl:1.5rem; --border-radius-pill:2rem; --border-radius-full:999px;

  /* Schaduwen — zacht en warm */
  --shadow-sm: 0 2px 8px rgba(33,37,41,.06);
  --shadow-md: 0 8px 24px rgba(33,37,41,.08);
  --shadow-focus: 0 0 0 3px rgba(201,165,117,.35);
}

/* ---------------------------------------------------------------
   2. Base
   --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text-primary);
  background: var(--color-background-primary);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--color-link); text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------------------------------------------------------------
   3. Layout
   --------------------------------------------------------------- */
.container { max-width: var(--container-max); margin: 0 auto; padding-inline: var(--container-pad); }
.section { padding: var(--space-9) var(--container-pad); }
.section > .container { padding-inline: 0; }
.section--sand  { background: var(--rr-sand); }
.section--mint  { background: var(--rr-mint); }
.section--light { background: var(--rr-light); }
.section--grey  { background: var(--rr-grey); }
.section--pad-7 { padding-block: var(--space-7); }
.section--pad-8 { padding-block: var(--space-8); }
.section--tight-top { padding-top: var(--space-7); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--text-left  { grid-template-columns: 1.05fr .95fr; }
.split--text-right { grid-template-columns: .95fr 1.05fr; }
.split--sidebar    { grid-template-columns: 1.1fr .9fr; align-items: start; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cols-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.stack  { display: grid; gap: 20px; }
.measure { max-width: 720px; }
.center { margin-inline: auto; }

/* ---------------------------------------------------------------
   4. Typografie-helpers
   --------------------------------------------------------------- */
.eyebrow {
  font-size: 13px; font-weight: var(--fw-medium); text-transform: uppercase;
  letter-spacing: .04em; color: var(--color-text-secondary); margin-bottom: 14px;
}
.eyebrow--gold { color: var(--rr-gold-deep); }
.eyebrow--sand { color: var(--rr-sand-ink); }
.eyebrow--mint { color: var(--rr-mint-ink); }
.lead { font-size: 1.125rem; line-height: 1.5; }
.muted { color: var(--color-text-secondary); }

/* ---------------------------------------------------------------
   5. Knoppen
   --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: var(--fw-medium); font-size: 16px;
  line-height: 1.2; padding: 14px 36px; border: none; cursor: pointer;
  border-radius: var(--border-radius-pill); white-space: nowrap;
  transition: background-color .18s ease, transform .12s ease; text-decoration: none;
}
.btn:active { transform: scale(.97); }
.btn--md { padding: 11px 26px; font-size: 15px; }
.btn--sm { padding: 6px 16px; font-size: 14px; border-radius: var(--border-radius-sm); }
.btn--primary   { background: var(--rr-sand); color: var(--rr-sand-ink); }
.btn--primary:hover   { background: var(--rr-sand-deep); }
.btn--secondary { background: var(--rr-mint); color: var(--rr-mint-ink); }
.btn--secondary:hover { background: var(--rr-mint-deep); }
.btn--ghost { background: transparent; color: var(--color-text-primary); }
.btn--ghost:hover { background: var(--rr-light); }
.btn--full { width: 100%; }

/* ---------------------------------------------------------------
   6. Kaarten
   --------------------------------------------------------------- */
.card {
  background: var(--rr-white); color: var(--color-text-primary);
  border: .5px solid var(--color-border-tertiary);
  border-radius: var(--border-radius-lg); padding: 24px;
  box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease;
}
.card--light { background: var(--rr-light); border: none; }
.card--sand  { background: var(--rr-sand); color: var(--rr-sand-ink); border: none; }
.card--mint  { background: var(--rr-mint); color: var(--rr-mint-ink); border: none; }
.card--hover:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card--pick { position: relative; }
.card--pick.is-selected { box-shadow: 0 0 0 2px var(--rr-gold); }
.card--pick:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--rr-gold); }
.card--flush { padding: 0; overflow: hidden; }
.card__body { padding: 26px 28px; }

/* ---------------------------------------------------------------
   7. Badges
   --------------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8125rem; font-weight: var(--fw-medium); line-height: 1;
  padding: 5px 12px; border-radius: var(--border-radius-full); white-space: nowrap;
}
.badge--sand { background: var(--rr-sand); color: var(--rr-sand-ink); }
.badge--mint { background: var(--rr-mint); color: var(--rr-mint-ink); }
.badge--gold { background: rgba(201,165,117,.18); color: var(--rr-gold-deep); }
.badge--grey { background: var(--rr-light); color: var(--color-text-secondary); }

/* ---------------------------------------------------------------
   8. Avatar / cijfer-chips
   --------------------------------------------------------------- */
.chip {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--border-radius-full); font-family: var(--font-display);
  font-weight: var(--fw-semibold); flex: 0 0 auto;
}
.chip--sand { background: var(--rr-sand); color: var(--rr-sand-ink); }
.chip--mint { background: var(--rr-mint); color: var(--rr-mint-ink); }
.chip--gold { background: var(--rr-gold); color: #fff; }

/* ---------------------------------------------------------------
   9. Foto-placeholder (warm kleurvlak — vervang door echte foto)
   --------------------------------------------------------------- */
.photo {
  aspect-ratio: 4 / 3; border-radius: var(--border-radius-lg); overflow: hidden;
  display: flex; align-items: center; justify-content: center; color: var(--rr-sand-ink);
  background: linear-gradient(135deg, var(--rr-sand) 0%, var(--rr-light) 140%);
}
.photo--mint { background: linear-gradient(135deg, var(--rr-mint) 0%, var(--rr-light) 140%); }
.photo--gold { background: linear-gradient(135deg, var(--rr-gold) 0%, var(--rr-light) 140%); }
.photo--light{ background: linear-gradient(135deg, var(--rr-light) 0%, var(--rr-light) 140%); }
.photo--3-4  { aspect-ratio: 3 / 4; }
.photo--4-5  { aspect-ratio: 4 / 5; }
.photo--1-1  { aspect-ratio: 1 / 1; }
.photo--16-9 { aspect-ratio: 16 / 9; }
.photo--flat { border-radius: 0; }
.photo__label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; opacity: .6; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------------------------------------------------------------
   10. Hero (kop bovenaan elke pagina)
   --------------------------------------------------------------- */
.hero { padding: var(--space-7) var(--container-pad); }
.hero--sand  { background: var(--rr-sand);  color: var(--rr-sand-ink); }
.hero--mint  { background: var(--rr-mint);  color: var(--rr-mint-ink); }
.hero--light { background: var(--rr-light); color: var(--rr-sand-ink); }
.hero--gold  { background: var(--rr-gold);  color: var(--rr-sand-ink); }
.hero__back { display: inline-block; font-size: 14px; opacity: .8; margin-bottom: 12px; color: inherit; }
.hero__back:hover { text-decoration: underline; }
.hero h1 { font-size: 48px; margin: 0; max-width: 820px; color: inherit; }
.hero__sub { font-family: var(--font-display); font-weight: 500; font-size: 20px; opacity: .85; margin-top: 12px; }
.hero__lead { max-width: 640px; opacity: .9; margin: 18px 0 0; font-size: 1.125rem; }

/* Home hero (zonder gekleurde achtergrond) */
.home-hero h1 { font-size: 56px; line-height: 1.03; margin: 0 0 20px; }
.home-hero .accent { color: var(--rr-gold-deep); }

/* ---------------------------------------------------------------
   11. CTA-band
   --------------------------------------------------------------- */
.cta-band { background: var(--rr-grey); padding: var(--space-8) var(--container-pad); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { font-size: 32px; color: #fff; margin: 0 0 12px; max-width: 620px; }
.cta-band p { color: rgba(255,255,255,.82); margin: 0; max-width: 620px; }

/* ---------------------------------------------------------------
   12. "Lees meer"-link
   --------------------------------------------------------------- */
.more-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: 14px;
  font-weight: var(--fw-medium); color: var(--rr-gold-deep); transition: gap .15s ease;
}
.more-link:hover { gap: 10px; }
.more-link--sand { color: var(--rr-sand-ink); }
.more-link--mint { color: var(--rr-mint-ink); }

/* ---------------------------------------------------------------
   13. Lijsten met goud-accent
   --------------------------------------------------------------- */
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.55; color: var(--color-text-secondary); }
.ticks li::before { content: "✦"; color: var(--rr-gold-deep); flex: 0 0 auto; }

/* ---------------------------------------------------------------
   14. Formulier
   --------------------------------------------------------------- */
.field { display: block; font-family: var(--font-sans); }
.field > span { display: block; font-size: .875rem; font-weight: var(--fw-medium); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; box-sizing: border-box; font-family: var(--font-sans); font-size: 1rem;
  color: var(--color-text-primary); background: var(--rr-light);
  border: 1.5px solid transparent; border-radius: var(--border-radius-sm);
  padding: 12px 14px; outline: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { line-height: 1.5; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23766' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--rr-gold); box-shadow: var(--shadow-focus); }
.check { display: inline-flex; align-items: center; gap: 10px; font-size: 1rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--rr-mint); }

/* ---------------------------------------------------------------
   15. Header
   --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px); border-bottom: .5px solid var(--color-border-tertiary);
}
.site-header__inner {
  max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad);
  height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.site-header__logo { display: flex; align-items: center; flex: 0 0 auto; }
.site-header__logo img { height: 48px; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav__item { position: relative; }
.site-nav__link {
  display: inline-flex; align-items: center; gap: 5px; font-size: 15px;
  font-weight: var(--fw-medium); color: var(--color-text-primary);
  padding: 8px 0; white-space: nowrap; cursor: pointer;
}
.site-nav__link[aria-current="page"], .site-nav__item--active > .site-nav__link { color: var(--rr-gold-deep); }
.site-nav__caret { font-size: 10px; opacity: .6; }
.dropdown {
  position: absolute; top: calc(100% - 2px); left: -12px; display: none;
  background: #fff; border-radius: var(--border-radius-md); box-shadow: var(--shadow-md);
  border: .5px solid var(--color-border-tertiary); padding: 8px; min-width: 240px;
}
.site-nav__item:hover .dropdown, .site-nav__item:focus-within .dropdown { display: block; }
.dropdown a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--color-text-primary); }
.dropdown a:hover { background: var(--rr-light); }
.site-header__cta { flex: 0 0 auto; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle svg { display: block; }

/* ---------------------------------------------------------------
   16. Footer
   --------------------------------------------------------------- */
.site-footer { background: var(--rr-light); padding: var(--space-8) var(--container-pad) var(--space-6); }
.site-footer__grid { max-width: var(--container-max); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 32px; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; }
.site-footer__col img { height: 52px; align-self: flex-start; }
.site-footer__head { font-family: var(--font-display); font-weight: 500; font-size: 16px; color: var(--color-text-primary); margin-bottom: 4px; }
.site-footer a, .site-footer__col span { font-size: 14px; color: var(--color-text-secondary); }
.site-footer__socials { display: flex; gap: 10px; margin-top: 4px; }
.site-footer__social { width: 38px; height: 38px; border-radius: 50%; background: #fff; border: .5px solid var(--color-border-secondary); display: inline-flex; align-items: center; justify-content: center; color: var(--color-text-primary); text-decoration: none; transition: color .2s ease, border-color .2s ease, transform .2s ease; }
.site-footer__social:hover { color: var(--rr-gold-deep); border-color: var(--rr-gold); transform: translateY(-2px); }
.site-footer__bar { max-width: var(--container-max); margin: 28px auto 0; padding-top: 26px; border-top: .5px solid var(--color-border-secondary); font-size: 13px; color: var(--color-text-secondary); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer__bar .links { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.site-footer__made { max-width: var(--container-max); margin: 16px auto 0; text-align: center; font-size: 13px; color: var(--color-text-secondary); }
.site-footer__made a { color: var(--color-link); font-weight: 600; text-decoration: none; border-bottom: 1px dashed color-mix(in srgb, var(--color-link) 45%, transparent); padding-bottom: 1px; transition: color .2s ease, border-color .2s ease; }
.site-footer__made a:hover { color: var(--color-text-primary); border-bottom-color: currentColor; }

/* ---------------------------------------------------------------
   17. Diversen
   --------------------------------------------------------------- */
.quote { margin: 32px 0 0; padding: 28px 32px; background: var(--rr-sand); border-radius: var(--border-radius-lg); font-family: var(--font-display); font-weight: 500; font-size: 26px; color: var(--rr-sand-ink); text-align: center; }
.note { font-size: 14px; color: var(--color-text-secondary); background: var(--rr-light); border-radius: var(--border-radius-md); padding: 16px 18px; }
.sticky-side { position: sticky; top: 96px; }
.dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 16px; line-height: 1.5; margin: 0; }
.dl dt { font-weight: 600; color: var(--color-text-primary); }
.dl dd { color: var(--color-text-secondary); margin: 0; }

/* ---------------------------------------------------------------
   18. Responsief
   --------------------------------------------------------------- */
@media (max-width: 920px) {
  .split, .split--text-left, .split--text-right, .split--sidebar, .cols-2, .cols-3 {
    grid-template-columns: 1fr; gap: 32px;
  }
  .sticky-side { position: static; }
  .home-hero h1 { font-size: 44px; }
  .hero h1 { font-size: 38px; }

  /* Mobiel menu */
  .site-nav, .site-header__cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 76px; background: #fff;
    border-bottom: .5px solid var(--color-border-tertiary); box-shadow: var(--shadow-md);
    padding: 8px 0;
  }
  .site-nav.is-open .site-nav__item { position: static; }
  .site-nav.is-open .site-nav__link { padding: 12px var(--container-pad); }
  .site-nav.is-open .site-nav__caret { display: none; }
  .site-nav.is-open .dropdown {
    display: block; position: static; box-shadow: none; border: none; min-width: 0;
    padding: 0 0 8px var(--container-pad);
  }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 560px) {
  .section { padding-block: var(--space-7); }
  .home-hero h1 { font-size: 34px; }
  .hero h1 { font-size: 30px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr !important; }
}

/* ---------------------------------------------------------------
   19. Pagina-helpers
   --------------------------------------------------------------- */
.row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.row--between { justify-content: space-between; }
.badges { display: flex; gap: 10px; flex-wrap: wrap; }
.grow { flex: 1; }
.tile-foot { margin-top: 20px; }
.card--tile { display: flex; flex-direction: column; min-height: 300px; }
.card--tile-sm { display: flex; flex-direction: column; min-height: 240px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.home-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.home-collage__stack { display: grid; gap: 14px; }

/* Werkwijze stappen */
.step { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start;
  background: #fff; border: .5px solid var(--color-border-tertiary);
  border-radius: var(--border-radius-lg); padding: 30px 34px; box-shadow: var(--shadow-sm); }
.step__num { width: 64px; height: 64px; font-size: 22px; }

/* Genummerde lijst (contact) */
.num-list { margin: 0 0 32px; padding: 0; list-style: none; display: grid; gap: 11px; }
.num-list li { display: flex; gap: 12px; align-items: center; font-size: 15.5px; }
.num-list .num { width: 22px; height: 22px; font-size: 12px; }

/* Erkenning-kaartjes (over) */
.fact { background: #fff; border-radius: var(--border-radius-lg); padding: 26px 24px;
  box-shadow: var(--shadow-sm); border: .5px solid var(--color-border-tertiary); }
.fact__big { font-family: var(--font-display); font-weight: 600; font-size: 26px; color: var(--rr-gold-deep); margin-bottom: 8px; }

@media (max-width: 560px) {
  .step { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------------------------------------------------------------
   Lege-toestand (bv. nog geen workshops gepland) — met speelse animatie
   --------------------------------------------------------------- */
.empty-state { text-align: center; padding: 46px 28px 50px; max-width: 660px; margin: 0 auto; }
.empty-state h2 { font-size: 28px; margin: 6px 0 12px; }
.empty-state p { color: var(--color-text-secondary); font-size: 16px; line-height: 1.6;
  max-width: 470px; margin: 0 auto 26px; }
.empty-state .row { justify-content: center; }

.empty-state__art { position: relative; width: 140px; height: 140px; margin: 0 auto 20px; }
.empty-state__palette { position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; color: var(--rr-mint-ink);
  animation: es-bob 3.4s ease-in-out infinite; }
.empty-state__dot { position: absolute; left: 50%; bottom: 26px; width: 12px; height: 12px;
  border-radius: 50%; opacity: 0; animation: es-float 3.8s ease-in-out infinite; }

@keyframes es-bob {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50%      { transform: translateY(-9px) rotate(4deg); }
}
@keyframes es-float {
  0%   { transform: translate(var(--x, 0), 6px) scale(.5); opacity: 0; }
  20%  { opacity: 1; }
  75%  { opacity: .85; }
  100% { transform: translate(var(--x, 0), -52px) scale(1); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .empty-state__palette { animation: none; }
  .empty-state__dot { animation: none; opacity: .9; transform: translate(var(--x, 0), -20px); }
}
