/* ============================================================
   RSK4C — site.css
   Vanilla basis- en componentstijlen (vervangt de vroegere Tailwind-build).
   Geen build-stap, geen dependencies. Paginaspecifieke dingen (hero-scroll,
   animaties, portret, preloader) staan in styles.css; de opdracht-wizard
   heeft z'n eigen .wz-* stijlen inline in /opdracht/index.html.

   Opbouw:
     1. Reset          — minimale normalisatie (vergelijkbaar met wat de
                         Tailwind-preflight deed, zodat niets verspringt)
     2. Tokens         — kleuren, fonts, breekpunt (md = 768px, lg = 1024px)
     3. Tekst          — kleur-, font- en maat-helpers (.text-muted, .mono, .title…)
     4. Afstand        — klein setje marge-helpers (.mb-4, .mt-8 …; 1 = 0.25rem)
     5. Layout         — .wrap, .section, .grid-2, .row …
     6. Componenten    — nav, menu, knoppen, kaarten, blobs, formulier, footer
   ============================================================ */

/* ---------- 1. Reset ---------- */
*, ::before, ::after { box-sizing: border-box; border: 0 solid #e5e7eb; margin: 0; padding: 0; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif; }
body { line-height: inherit; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
b, strong { font-weight: bolder; }
button, input, select, textarea { font: inherit; color: inherit; line-height: inherit; }
button, select { text-transform: none; }
button, [type=button], [type=submit] { -webkit-appearance: button; background: transparent; cursor: pointer; }
:disabled { cursor: default; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { opacity: 1; color: #9ca3af; }
img, svg, video, canvas, iframe { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }
ol, ul { list-style: none; }
[hidden], .hidden { display: none; }

/* ---------- 2. Tokens ---------- */
:root {
    --c-bg: #F6F5F1;
    --c-bg-dark: #171613;
    --c-fg: #191813;
    --c-muted: #55524A;
    --c-purple: #584684;
    --c-teal: #6ec4c4;
    --c-border: #E3E1D8;
    --c-card: #FFFFFF;
    --c-card-hover: #F1F0EB;
    --c-input-line: #C9C6BC;
    --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

body.site { background: var(--c-bg); color: var(--c-fg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ---------- 3. Tekst ---------- */
.text-muted   { color: var(--c-muted); }
.text-purple  { color: var(--c-purple); }
.text-teal    { color: var(--c-teal); }
.text-fg      { color: var(--c-fg); }
.text-white   { color: #fff; }
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.underline    { text-decoration: underline; }
.nowrap       { white-space: nowrap; }
.normal-case  { text-transform: none; }
.bold         { font-weight: 700; }
.dim          { opacity: .5; }

/* Monospace tekst (labels, bijschriften, kleine lettertjes) */
.mono     { font-family: var(--font-mono); }
.mono-xs  { font-family: var(--font-mono); font-size: .75rem;  line-height: 1rem; }
.mono-sm  { font-family: var(--font-mono); font-size: .875rem; line-height: 1.25rem; }
.mono-base{ font-family: var(--font-mono); font-size: 1rem;    line-height: 1.5rem; }
.tracking-wider  { letter-spacing: .05em; }
.tracking-widest { letter-spacing: .1em; }

/* Kleine kop boven een titel ("Nieuw", "Privacy", veldlabels) */
.eyebrow, .label {
    display: block;
    font-family: var(--font-mono);
    font-size: .75rem; line-height: 1rem;
    text-transform: uppercase; letter-spacing: .1em;
}
.eyebrow { color: #706C61; }

/* Display-titels: ZTRavigsfen, vet, tracking .05em (zie ook styles.css) */
.title { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; }
.title--xl { font-size: 2.25rem;  line-height: 2.5rem; }   /* 4xl → md: 6xl */
.title--lg { font-size: 1.875rem; line-height: 2.25rem; }  /* 3xl → md: 5xl */
.title--md { font-size: 1.5rem;   line-height: 2rem; }     /* 2xl → md: 3xl */
.title--sm { font-size: 1.5rem;   line-height: 2rem; }     /* 2xl */
.title--xs { font-size: 1.25rem;  line-height: 1.75rem; }  /* xl */
@media (min-width: 768px) {
    .title--xl { font-size: 3.75rem;  line-height: 1; }
    .title--lg { font-size: 3rem;     line-height: 1; }
    .title--md { font-size: 1.875rem; line-height: 2.25rem; }
}
.title--price { font-size: 1.875rem; line-height: 2.25rem; }  /* 3xl → md: 4xl */
@media (min-width: 768px) { .title--price { font-size: 2.25rem; line-height: 2.5rem; } }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-7xl { font-size: 4.5rem;  line-height: 1; }
.text-lg  { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl  { font-size: 1.25rem;  line-height: 1.75rem; }
.text-sm  { font-size: .875rem;  line-height: 1.25rem; }
.text-base{ font-size: 1rem;     line-height: 1.5rem; }

/* Regelhoogte — staat ná de maat-helpers zodat hij die overschrijft */
.lh-relaxed { line-height: 1.625; }
.lh-snug    { line-height: 1.375; }

/* Accentlijn (paars → teal), 2px hoog */
.accent-line { height: 2px; width: 3rem; background: linear-gradient(135deg, #584684 0%, #6EC4C4 100%); }
.accent-line--sm { width: 2.5rem; }
.accent-line--center { margin-left: auto; margin-right: auto; }

/* ---------- 4. Afstand (1 = 0.25rem) ---------- */
.mb-1 { margin-bottom: .25rem; }  .mb-2 { margin-bottom: .5rem; }   .mb-3 { margin-bottom: .75rem; }
.mb-4 { margin-bottom: 1rem; }    .mb-5 { margin-bottom: 1.25rem; } .mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }    .mb-10 { margin-bottom: 2.5rem; } .mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-2 { margin-top: .5rem; }      .mt-3 { margin-top: .75rem; }     .mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }    .mt-6 { margin-top: 1.5rem; }     .mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }      .mt-16 { margin-top: 4rem; }
.p-8 { padding: 2rem; }           .py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
@media (min-width: 768px) { .md\:mb-12 { margin-bottom: 3rem; } }
/* Verticale ruimte tussen opeenvolgende kinderen */
.stack-1 > * + * { margin-top: .25rem; }
.stack-2\.5 > * + * { margin-top: .625rem; }
.stack-6 > * + * { margin-top: 1.5rem; }
.stack-8 > * + * { margin-top: 2rem; }

/* ---------- 5. Layout ---------- */
.wrap { margin-left: auto; margin-right: auto; }
.wrap--s  { max-width: 48rem; }  /* 3xl */
.wrap--m  { max-width: 56rem; }  /* 4xl */
.wrap--l  { max-width: 72rem; }  /* 6xl */
.wrap--xl { max-width: 80rem; }  /* 7xl */
.wrap--xs { max-width: 36rem; }  /* xl  */

.page { position: relative; min-height: 100vh; }
/* Subpagina's (opdracht, privacy): ruimte onder de vaste nav */
.page--sub { min-height: 100vh; padding: 8rem 1.5rem 6rem; }
@media (min-width: 768px) { .page--sub { padding: 10rem 5rem 6rem; } }

.section { padding: 8rem 1.5rem; }
.section--slim { padding: 4rem 1.5rem; }
.section--xslim { padding: 3rem 1.5rem; }
@media (min-width: 768px) {
    .section, .section--slim, .section--xslim { padding-left: 5rem; padding-right: 5rem; }
}
.section--dark { background: var(--c-bg-dark); color: #fff; }
.section--blobs { position: relative; overflow: hidden; }   /* heeft .bg-blobs als kind */
.section--bordered { border-top: 1px solid var(--c-border); }
.section--story {
    position: relative; min-height: 80vh; overflow: hidden;
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
}
.section-head { margin-bottom: 4rem; }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-2--tight { gap: 1.25rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Story: foto (2/5) + tekst (3/5) */
.story-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.story-grid__photo { display: flex; justify-content: center; }
.story-grid__text { text-align: center; }
.story-inner { max-width: 72rem; width: 100%; position: relative; z-index: 10; padding: 0 1rem; }
@media (min-width: 768px) {
    .story-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5rem; }
    .story-grid__photo { grid-column: span 2 / span 2; justify-content: flex-start; }
    .story-grid__text { grid-column: span 3 / span 3; text-align: left; }
}
.story-title { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; font-size: 1.875rem; margin-bottom: 2.5rem; }
.story-text  { font-size: 1.25rem; line-height: 1.625; color: var(--c-muted); }
@media (min-width: 768px) {
    .story-title { font-size: 3rem; line-height: 1; margin-bottom: 3rem; }
    .story-text  { font-size: 1.5rem; line-height: 2rem; }
}

/* Horizontale rij (knoppen + bijschrift, footer-regels) */
.row { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.row--tight-mobile { gap: 1rem; }    /* op mobiel dichter op elkaar */
@media (min-width: 768px) {
    .row, .row--tight-mobile { flex-direction: row; gap: 2rem; }
}
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-2 { gap: .5rem; }  .gap-2\.5 { gap: .625rem; }  .gap-3 { gap: .75rem; }  .gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; } .gap-8 { gap: 2rem; }
.gap-x-6 { column-gap: 1.5rem; } .gap-y-3 { row-gap: .75rem; }
.inline-block { display: inline-block; }
.block { display: block; }
.relative { position: relative; }
.w-full { width: 100%; }
/* .md-only = alleen vanaf tablet zichtbaar; .md-hide = alleen op mobiel */
@media (max-width: 767.98px) { .md-only { display: none !important; } }
@media (min-width: 768px)    { .md-hide { display: none !important; } }

/* ---------- 6. Componenten ---------- */

/* Vaste navigatiebalk (mix-blend-difference: wit op licht wordt donker) */
.site-nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 50;
    display: flex; justify-content: space-between; align-items: center;
    padding: .9rem 1.5rem;
    background: rgba(246, 245, 241, 0.86);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--c-border);
    color: var(--c-fg);
}
@media (min-width: 768px) { .site-nav { padding: .9rem 2.5rem; } }
.site-nav__links { display: none; align-items: center; gap: 2.1rem; }
@media (min-width: 900px) { .site-nav__links { display: flex; } }
.site-nav__link { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); transition: color .15s var(--ease); }
.site-nav__link:hover { color: var(--c-purple); }
.site-nav__logo { font-family: var(--font-display); font-weight: 700; letter-spacing: .22em; font-size: 1rem; line-height: 2rem; }
.site-nav__back {
    display: flex; align-items: center; gap: .5rem;
    font-family: var(--font-mono); font-size: .75rem; line-height: 1rem;
    text-transform: uppercase; letter-spacing: .1em;
    transition: opacity .15s var(--ease);
}
.site-nav__back:hover { opacity: .7; }

/* Hamburger */
.menu-toggle {
    position: relative; z-index: 70; width: 3rem; height: 3rem;
    display: flex; justify-content: center; align-items: center;
}
.menu-toggle i {
    position: relative; z-index: 10; font-size: 1.875rem;
    transition: transform .3s var(--ease);
}
.menu-toggle:hover i { transform: scale(1.1); }

/* Schermvullend menu; .menu-overlay--closed schuift het omhoog uit beeld */
.menu-overlay {
    position: fixed; inset: 0; z-index: 60;
    background: var(--c-bg); color: var(--c-fg);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    transition: transform .7s ease-in-out;
}
.menu-overlay--closed { transform: translateY(-100%); }
.menu-overlay__links { display: flex; flex-direction: column; gap: 2rem; text-align: center; }
.menu-link {
    font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em;
    font-size: 2.25rem; line-height: 2.5rem;
    transition: color .15s var(--ease);
}
.menu-link:hover { color: var(--c-purple); }
@media (min-width: 768px) { .menu-link { font-size: 3.75rem; line-height: 1; } }
.menu-overlay__lang { display: flex; gap: 1rem; margin-top: 2rem; justify-content: center; font-family: var(--font-mono); font-size: .875rem; line-height: 1.25rem; }

/* Knoppen */
.btn {
    display: inline-flex; align-items: center; gap: .625rem; white-space: nowrap;
    padding: .9rem 1.5rem;
    font-family: var(--font-display); font-weight: 500; font-size: .95rem; line-height: 1.25rem;
    letter-spacing: .01em; color: var(--c-bg);
    background: var(--c-fg); border-radius: 2px;
    transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { background: var(--c-purple); color: #F6F5F1; }
.btn--outline { background: transparent; color: var(--c-fg); box-shadow: inset 0 0 0 1px #C9C6BC; }
.btn--outline:hover { background: transparent; color: var(--c-purple); box-shadow: inset 0 0 0 1px var(--c-purple); }
.btn--submit { position: relative; }

/* Donkere dienst-/trainingskaart met gloed bij hover */
.card {
    position: relative; background: var(--c-card); padding: 2.5rem;
    transition: all .5s var(--ease);
}
.card:hover { background: var(--c-card-hover); }
.card__body { display: flex; flex-direction: column; gap: 1.5rem; }
.card__icon { color: var(--c-purple); transition: color .15s var(--ease); }
.card__icon i { font-size: 3rem; line-height: 1; }
.card:hover .card__icon { color: var(--c-teal); }
.card__title { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; font-size: 1.5rem; line-height: 2rem; }
.card__text { color: var(--c-muted); font-family: var(--font-mono); font-size: .875rem; line-height: 1.25rem; transition: color .15s var(--ease); }
.card:hover .card__text { color: #fff; }
.card__glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; border-radius: inherit; }
.card__glow-a, .card__glow-b {
    position: absolute; border-radius: 9999px; opacity: 0;
    transition: opacity .7s var(--ease);
}
.card__glow-a { top: -20%; right: -20%; width: 60%; height: 60%; background: rgb(104 79 152 / .3); filter: blur(60px); }
.card__glow-b { bottom: -20%; left: -20%; width: 50%; height: 50%; background: rgb(110 196 196 / .2); filter: blur(50px); }
.card:hover .card__glow-a, .card:hover .card__glow-b { opacity: 1; }

/* Zachte achtergrond-blobs (animatie .animate-blob in styles.css) */
.bg-blobs { position: absolute; inset: 0; z-index: -10; overflow: hidden; }
.bg-blobs--fixed { position: fixed; pointer-events: none; }
.blob { position: absolute; border-radius: 9999px; filter: blur(100px); }
.blob--hero-1 { top: -20%;  left: -10%;  width: 50%; height: 50%; background: rgb(104 79 152 / .4); }
.blob--hero-2 { top: 20%;   right: -10%; width: 40%; height: 60%; background: rgb(110 196 196 / .4); }
.blob--hero-3 { bottom: -20%; left: 20%; width: 60%; height: 40%; background: rgb(104 79 152 / .3); }
.blob--purple { top: -20%;  right: -10%; width: 40%; height: 60%; background: rgb(104 79 152 / .2); }
.blob--teal   { bottom: -20%; left: -10%; width: 50%; height: 50%; background: rgb(110 196 196 / .2); }

/* Hero-onderbalk: tagline links, CTA midden (desktop), scroll-hint rechts */
.hero-bottom-left  { position: absolute; bottom: 2.5rem; left: 1.5rem; z-index: 10; }
.hero-bottom-center{ position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); z-index: 10; }
.hero-bottom-right {
    position: absolute; bottom: 2.5rem; right: 1.5rem;
    display: flex; flex-direction: column; align-items: center; gap: .5rem;
    font-family: var(--font-mono); font-size: .75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: .1em;
}
@media (min-width: 768px) {
    .hero-bottom-left  { left: 5rem; }
    .hero-bottom-right { right: 5rem; }
}
.hero-tagline__line { height: 2px; width: 0; background: linear-gradient(135deg, #684F98 0%, #6EC4C4 100%); margin-bottom: 1.5rem; }
.hero-tagline__text { font-family: var(--font-mono); font-size: 1rem; line-height: 1.5rem; letter-spacing: .05em; color: var(--c-muted); }
@media (min-width: 768px)  { .hero-tagline__text { font-size: 1.125rem; line-height: 1.75rem; } }
@media (min-width: 1024px) { .hero-tagline__text { white-space: nowrap; } }
.hero-slide { width: 100vw; display: flex; justify-content: center; align-items: center; flex-shrink: 0; }
.bounce { animation: bounce 1s infinite; }
@keyframes bounce {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
    50%      { transform: none; animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

/* Contactformulier */
.field__input {
    width: 100%; background: transparent; outline: none;
    border-bottom: 2px solid var(--c-input-line);
    padding: .75rem 0; font-size: 1.125rem; line-height: 1.75rem;
    transition: border-color .15s var(--ease), color .15s var(--ease), background-color .15s var(--ease);
}
.field__input:focus { border-color: var(--c-purple); }
.field__input--textarea { resize: none; }
.field__label { margin-bottom: .75rem; }
.form-message { margin-top: 1rem; padding: .85rem 1rem; border-radius: 2px; font-size: .9rem; line-height: 1.5; }
.form-message--ok  { background: rgb(110 196 196 / .14); border: 1px solid rgb(110 196 196 / .45); color: #2C5F5C; }
.form-message--err { background: rgb(180 69 60 / .09); border: 1px solid rgb(180 69 60 / .35); color: #8F3730; }
.link-purple { color: var(--c-purple); transition: color .15s var(--ease); }
.link-purple:hover { color: var(--c-teal); }
.link-purple--muted:hover { color: var(--c-muted); }
.link-hover-underline:hover { text-decoration: underline; }
.link-hover-fg { transition: color .15s var(--ease); }
.link-hover-fg:hover { color: var(--c-fg); }

/* Footer */
.site-footer { padding: 4rem 1.5rem; background: var(--c-bg); border-top: 1px solid var(--c-border); }
.site-footer--slim { padding: 3rem 1.5rem; background: transparent; }
@media (min-width: 768px) { .site-footer, .site-footer--slim { padding-left: 5rem; padding-right: 5rem; } }
.site-footer__row { display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 1rem; }
.site-footer__row--tight { gap: .75rem; }
@media (min-width: 768px) { .site-footer__row { flex-direction: row; } }
