/* ============================================================
   GVHV / MPLP — IT-support landing page (shared by NL + FR)
   Styled to the Stijlgids v1.1:
   - Colors:   primary palette B1 (grijs, aubergine, rood, cyaan)
   - Type:     Iconic; web fallback Calibri, then Arial (C3)
   - Icons:    functional line icons in brand colors (D1)
   Signature detail: each option keeps its own brand accent —
   rood for a ticket (urgent, reactive), cyaan for a meeting
   (planned) — revealed on hover/focus.
   ============================================================ */

:root {
  /* Primary palette (Stijlgids B1) */
  --grijs:     #454142;   /* body text */
  --aubergine: #614c66;   /* headings */
  --rood:      #e5554f;   /* accent: ticket */
  --cyaan:     #47a0b2;   /* accent: meeting */
  /* Secondary palette (B2) — supporting use only */
  --blauw:     #005e73;   /* eyebrow: darker than cyaan, so the
                             small text stays readable (WCAG AA) */
  /* Derived neutrals + soft tints of the accents */
  --muted:     #7a7476;
  --line:      #e9e6e7;
  --tint-rood:  #fcecea;
  --tint-cyaan: #eaf5f7;
}

/* Brand font Iconic (C1–C2), self-hosted woff2. Only the three
   weights this page actually uses are loaded (regular, bold,
   extrabold); Calibri/Arial remain the fallback while the files
   download (font-display: swap), per the guide's fallback rule (C3). */
@font-face {
  font-family: "Iconic";
  src: url("Iconic-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Iconic";
  src: url("Iconic-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Iconic";
  src: url("Iconic-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* --- Base ---------------------------------------------------- */
* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;           /* fallback for older browsers */
  min-height: 100svh;          /* svh avoids mobile URL-bar jump */
  display: flex;
  flex-direction: column;
  background: #ffffff;
  color: var(--grijs);
  font-family: "Iconic", Calibri, "Segoe UI", Arial, sans-serif;
  font-feature-settings: "ss02" 1;  /* stylistic set 2: adapted l + a (C1) */
  -webkit-font-smoothing: antialiased;
}

/* --- Header: logo left, language toggle right ---------------- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;             /* generous = logo's exclusive zone (A7) */
}

/* Logo as-is from the brand SVG: no recoloring, no effects (A5).
   Height stays well above the 30px digital minimum (A6). */
.logo { height: clamp(2.375rem, 6vw, 2.75rem); width: auto; display: block; }

.lang-switch {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;        /* pill shape */
  transition: color 0.15s ease, border-color 0.15s ease;
}
.lang-switch:hover,
.lang-switch:focus-visible { color: var(--aubergine); border-color: var(--aubergine); }

/* --- Main: question + options, centered ---------------------- */
main {
  flex: 1;                     /* fill remaining height */
  display: grid;
  place-items: center;         /* true vertical + horizontal centering */
  padding: 2rem 1.5rem 4rem;
}

.wrap { width: 100%; max-width: 40rem; text-align: center; }

.eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blauw);
}

h1 {
  /* Titles in Iconic Extra Bold, aubergine — like the guide (C1) */
  font-size: clamp(1.75rem, 5.5vw, 2.75rem);
  font-weight: 800;
  color: var(--aubergine);
  margin: 0.5rem 0 0;
}

/* Short page description under the question */
.intro {
  margin: 0.75rem auto 0;
  max-width: 30rem;
  color: var(--muted);
  line-height: 1.6;
}

/* --- Option cards -------------------------------------------- */
.options {
  display: grid;
  grid-template-columns: 1fr;  /* stacked on small screens */
  gap: 1rem;
  margin-top: 2.5rem;
}
@media (min-width: 36rem) {
  .options { grid-template-columns: 1fr 1fr; }  /* side by side */
}

/* Each card gets one primary brand color as its accent. */
.option--ticket  { --accent: var(--rood);  --tint: var(--tint-rood);  }
.option--meeting { --accent: var(--cyaan); --tint: var(--tint-cyaan); }

.option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  text-align: left;
  text-decoration: none;
  color: var(--grijs);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;         /* rounded, like the brand's letterforms */
  transition: border-color 0.18s ease, transform 0.18s ease,
              box-shadow 0.18s ease;
}

/* Hover / keyboard focus: brand-color border, gentle lift, shadow */
.option:hover,
.option:focus-visible {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -14px rgba(69, 65, 66, 0.3);
}
.option:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Icon chip: soft tint square with the option's brand color */
.option__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: var(--tint);
  color: var(--accent);
}
.option__icon svg { width: 1.5rem; height: 1.5rem; }

/* Label + short description stacked below the icon */
.option__text { display: flex; flex-direction: column; gap: 0.3rem; }
.option__label { font-weight: 700; font-size: 1.05rem; line-height: 1.4; }
.option__desc  { font-size: 0.9rem; color: var(--muted); line-height: 1.5; }

/* --- Accessibility: honor reduced-motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .option, .lang-switch { transition: none; }
  .option:hover, .option:focus-visible { transform: none; }
}
