/* ============================================================
   AIpraatplaat — gedeelde website-stijlen (nav, footer, knoppen)
   Vereist: assets/colors_and_type.css (tokens + type)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "ss02";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.it { font-family: var(--font-serif); font-style: italic; color: var(--accent-coral); }
.wrap-site {
  max-width: 1240px; margin: 0 auto;
  padding-left: clamp(22px, 4vw, 56px);
  padding-right: clamp(22px, 4vw, 56px);
}

/* ============ NAV ============ */
.site-nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(22px, 4vw, 56px);
  border-bottom: 1px solid rgba(43,39,34,0.08);
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,246,239,0.85);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.site-nav .nav-logo img { height: 44px; width: auto; }
.site-nav .nav-right { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 32px); }
.site-nav .nav-links { display: flex; gap: clamp(16px, 2.2vw, 28px); font-size: var(--t-ui); color: var(--ink-soft); }
.site-nav .nav-links a:hover { color: var(--ink); }
.site-nav .nav-social { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-md, 10px); color: var(--ink-soft); transition: background var(--dur-fast,140ms) var(--ease-soft), color var(--dur-fast,140ms); }
.site-nav .nav-social:hover { background: rgba(43,39,34,0.06); color: var(--ink); }
.site-nav .nav-social svg { width: 21px; height: 21px; display: block; }
.site-nav .nav-links a.on { color: var(--ink); font-weight: 700; }

/* ---- hamburger + uitschuifmenu (mobiel) ---- */
.nav-burger {
  display: none;            /* alleen zichtbaar onder 760px */
  width: 44px; height: 44px; flex: 0 0 auto;
  align-items: center; justify-content: center;
  border-radius: var(--r-md);
  color: var(--ink);
  transition: background var(--dur-fast) var(--ease-soft);
}
.nav-burger:hover { background: rgba(43,39,34,0.06); }
.nav-burger svg { width: 26px; height: 26px; display: block; }
.nav-burger .ic-close { display: none; }
.nav-burger[aria-expanded="true"] .ic-open { display: none; }
.nav-burger[aria-expanded="true"] .ic-close { display: block; }

.nav-drawer {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(43,39,34,0.32);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; transition: opacity var(--dur-base) var(--ease-soft);
}
.nav-drawer.open { opacity: 1; }
.nav-drawer-panel {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; flex-direction: column; gap: 4px;
  background: var(--paper);
  border-bottom: 1px solid rgba(43,39,34,0.1);
  box-shadow: 0 18px 44px rgba(43,39,34,0.18);
  padding: 84px clamp(22px, 6vw, 40px) 26px;
  transform: translateY(-12px); opacity: 0;
  transition: transform var(--dur-base) var(--ease-soft), opacity var(--dur-base) var(--ease-soft);
}
.nav-drawer.open .nav-drawer-panel { transform: none; opacity: 1; }
.nav-drawer-link {
  font-family: var(--font-serif); font-size: 22px; color: var(--ink-soft);
  padding: 14px 4px; border-bottom: 1px solid rgba(43,39,34,0.08);
  transition: color var(--dur-fast);
}
.nav-drawer-link:hover { color: var(--ink); }
.nav-drawer-link.on { color: var(--ink); }
.nav-drawer-cta { justify-content: center; margin-top: 20px; }

@media (max-width: 760px) {
  .site-nav .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
}

/* ============ KNOPPEN ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 12px;
  font-size: var(--t-body); font-weight: 700;
  transition: transform var(--dur-fast) var(--ease-soft), box-shadow var(--dur-fast),
              background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.btn-primary { background: var(--accent-coral-hex); color: #fff; box-shadow: 0 6px 18px rgba(217,119,87,0.28); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { color: var(--ink-soft); border: 1.5px solid rgba(43,39,34,0.22); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }
.btn-nav { padding: 10px 18px; font-size: var(--t-ui); border-radius: 10px; box-shadow: 0 4px 12px rgba(217,119,87,0.22); }
/* "Ontdekmodus" naast "Sessie starten" — ghost-stijl, geen coral-schaduw. */
.btn-ghost.btn-nav { box-shadow: none; }
/* Op mobiel verdwijnen de header-knoppen uit de bovenbalk; ze staan dan in
   het hamburgermenu (zie website-nav.js). */
@media (max-width: 760px) { .site-nav .btn-nav { display: none; } }
/* tweede CTA in het uitschuifmenu iets dichter op de eerste */
.nav-drawer-cta + .nav-drawer-cta { margin-top: 10px; }

/* ============ SECTIEKOPPEN ============ */
.sect-head { max-width: 680px; }
.sect-head .eyebrow { display: block; margin-bottom: 10px; font-weight: 600; }
.sect-head h2 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(30px, 3.8vw, 44px); line-height: 1.08;
  letter-spacing: -0.02em; margin: 0 0 12px;
}
.sect-head p { font-size: var(--t-lead); color: var(--ink-soft); margin: 0; }

/* paginakop (subpagina's) */
.page-head { max-width: 720px; padding-top: clamp(36px, 5vw, 64px); }
.page-head .eyebrow { display: block; margin-bottom: 12px; font-weight: 600; }
.page-head h1 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(38px, 5vw, 56px); line-height: 1.04;
  letter-spacing: -0.025em; margin: 0 0 16px;
}
.page-head .lead { font-size: var(--t-lead); line-height: 1.55; color: var(--ink-soft); margin: 0; }

/* ============ FOOTER ============ */
.site-foot {
  margin-top: clamp(64px, 9vw, 110px);
  background: var(--paper-warm);
  border-top: 1px solid rgba(43,39,34,0.1);
}
.foot-grid {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px 64px; flex-wrap: wrap;
  padding-top: 46px; padding-bottom: 36px;
}
.foot-brand img { height: 40px; width: auto; margin-bottom: 16px; }
/* beta-aanduiding (testversie) — in elke footer, mobiel én desktop */
.foot-brand .foot-beta {
  display: inline-block; font-size: var(--t-meta); font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--accent-coral-hex);
  border: 1.5px solid var(--accent-coral-hex); border-radius: 3px; padding: 2px 7px; margin: 0 0 14px;
}
.foot-brand .foot-tag { font-size: var(--t-ui); color: var(--ink-soft); margin: 0; max-width: 340px; }
.foot-brand .foot-credit {
  margin: 14px 0 0; font-size: var(--t-meta); color: var(--ink-muted); line-height: 1.6;
}
.foot-brand .foot-partner { margin-top: 20px; }
.foot-brand .foot-partner img { height: 32px; width: auto; margin: 0; display: block; }
.foot-cols { display: flex; gap: clamp(36px, 6vw, 88px); flex-wrap: wrap; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col .fk {
  font-size: var(--t-micro); letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 700; margin-bottom: 4px;
}
.foot-col a { font-size: var(--t-ui); color: var(--ink-soft); }
.foot-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-base {
  display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap;
  border-top: 1px solid rgba(43,39,34,0.08);
  padding-top: 16px; padding-bottom: 24px;
  font-size: var(--t-meta); color: var(--ink-muted);
}
.foot-base a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }
.foot-base a:hover { color: var(--ink); }
