/* ============================================================
   GLYDE — BRAND TOKENS + BASECOMPONENTEN
   Cinematische room tours voor hotels.
   Structuur gemodelleerd op asteria-pages/brand.css.
   Versie: 2026-08-05
   ------------------------------------------------------------
   Laden in elke pagina:
     <link rel="preconnect" href="https://fonts.googleapis.com">
     <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
     <link rel="stylesheet" href="brand.css">
   ============================================================ */

:root {

  /* ── KLEUREN ─────────────────────────────────────────────── */
  --bg:            #0B0B0C;   /* near-black canvas, cinematisch */
  --bg-panel:      #141416;   /* panels en kaarten */
  --bg-elevated:   #1B1B1E;   /* hover / verhoogde kaarten */

  --text:          #F4F1EC;   /* warm off-white */
  --text-muted:    #9A9A97;   /* bodytekst, 6.9:1 op --bg */
  --text-dim:      #7E7E7A;   /* meta en fine print, 4.9:1 op --bg
                                 (plan noemde #6B6B68, opgehoogd voor WCAG AA) */

  /* Accent = de ENIGE kleur die het merk kleurt.
     Koeler of metallic gewenst? Vervang alleen deze twee waarden.
     Alternatieven: lime #C8F24C  ·  champagne #D8C9A0 */
  --accent:        #F0613C;   /* Glyde ember, 6.1:1 op --bg */
  --accent-hover:  #FF7A54;

  --line:          rgba(244, 241, 236, 0.12);   /* hairlines en dividers */
  --line-strong:   rgba(244, 241, 236, 0.22);

  /* ── TYPOGRAFIE ──────────────────────────────────────────── */
  --font-display: 'Space Grotesk', 'Helvetica Neue', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', 'Helvetica Neue', system-ui, -apple-system, sans-serif;

  --fs-h1:      clamp(2.75rem, 7vw, 6rem);
  --fs-h2:      clamp(2rem, 4.4vw, 3.5rem);
  --fs-h3:      clamp(1.25rem, 2vw, 1.625rem);
  --fs-lead:    clamp(1.0625rem, 1.5vw, 1.375rem);
  --fs-body:    1rem;
  --fs-small:   0.875rem;
  --fs-eyebrow: 0.75rem;

  /* ── MAATVOERING ─────────────────────────────────────────── */
  --radius-btn:   6px;
  --radius-card:  12px;
  --maxw:         1200px;
  --gutter:       clamp(20px, 5vw, 48px);
  --section-pad:  clamp(72px, 12vw, 160px);

  /* ── MOTION ──────────────────────────────────────────────── */
  --ease:   cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur:    200ms;
}

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;   /* vangnet: nooit zijwaarts scrollen */
}

img, video, svg { max-width: 100%; display: block; }
img, video { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.01em; }

p { margin: 0 0 1.25em; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--accent-hover); }

ul { margin: 0; padding: 0; list-style: none; }

/* ── FOCUS (toegankelijkheid) ──────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: #0B0B0C;
  padding: 12px 20px;
  font-weight: 600;
  border-radius: 0 0 var(--radius-btn) 0;
}
.skip-link:focus { left: 0; color: #0B0B0C; }

/* ── LAYOUT ────────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-pad); }
.section--tight { padding-block: clamp(56px, 8vw, 104px); }
.section--panel { background: var(--bg-panel); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin: 0 0 20px;
  display: block;
}
.eyebrow--muted { color: var(--text-dim); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 46ch;
}

/* ── KNOPPEN ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;              /* touch target >= 44px */
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-align: center;
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}

.btn--primary {
  background: var(--accent);
  color: #0B0B0C;
}
.btn--primary:hover {
  background: var(--accent-hover);
  color: #0B0B0C;
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--text);
  background: rgba(244, 241, 236, 0.06);
  color: var(--text);
}

.btn--sm { min-height: 40px; padding: 9px 18px; font-size: 0.875rem; }

/* ── MOTION-LINE (merk-device) ─────────────────────────────── */
/* Dunne lijn met een fel ember-segment dat naar rechts glijdt.
   Verbeeldt de USP: een ononderbroken beweging. */
.motionline {
  position: relative;
  height: 1px;
  width: 100%;
  background: var(--line);
  overflow: hidden;
}
.motionline::after {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 0;
  width: 34%;
  background: linear-gradient(90deg,
              transparent,
              var(--accent) 45%,
              var(--accent-hover) 60%,
              transparent);
  transform: translateX(-100%);
}
.motionline.is-visible::after {
  animation: glyde-slide 2.6s var(--ease) forwards;
}
@keyframes glyde-slide {
  from { transform: translateX(-100%); }
  to   { transform: translateX(320%); }
}

/* ── SCROLL-REVEAL ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ── HAIRLINE-KAART ────────────────────────────────────────── */
.card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(24px, 3vw, 36px);
}

/* ── REDUCED MOTION ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .motionline::after { transform: translateX(0); opacity: 0.5; }
}
