/* ============================================================
   noodhub.be — base.css
   Standby Signal · warm editorial palet (publieke website)
   ============================================================ */
:root {
  --paper: #f4f0e8;
  --paper-2: #ece5d8;
  --paper-3: #fbf9f4;
  --ink: #211f1a;
  --ink-soft: rgba(33, 31, 26, 0.66);
  --ink-faint: rgba(33, 31, 26, 0.45);

  --brick: #b65a3c;
  --brick-soft: #e8a492;
  --pine: #4f7a5b;
  --pine-soft: rgba(79, 122, 91, 0.12);
  --amber: #c0852e;
  --amber-soft: rgba(192, 133, 46, 0.14);

  --line: rgba(33, 31, 26, 0.12);
  --line-strong: rgba(33, 31, 26, 0.22);

  --serif: 'Spectral', Georgia, serif;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;

  --maxw: 1140px;
  --radius: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  line-height: 1.5;
}

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img, svg { display: block; }

/* ---- Layout ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.row { display: flex; align-items: center; }

/* ---- Eyebrow / seclabel ---- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---- Topbar ---- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar .row { justify-content: space-between; gap: 24px; min-height: 68px; }

.brand { display: inline-flex; align-items: baseline; gap: 1px; }
.brand .mark { font-family: var(--serif); font-size: 23px; letter-spacing: -0.02em; color: var(--ink); }
.brand .mark b { font-weight: 600; color: var(--brick); }
.brand .tld { font-family: var(--mono); font-size: 13px; color: var(--ink-faint); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink-soft);
  transition: color .16s ease;
}
.nav a:hover { color: var(--ink); }

.actions { display: flex; align-items: center; gap: 16px; }

/* ---- Language toggle ---- */
.lang {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
}
.lang button {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--ink-soft);
  transition: background .16s ease, color .16s ease;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper-2); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  padding: 13px 24px; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: all .18s ease; line-height: 1;
}
.btn--primary { background: var(--brick); color: #fff; }
.btn--primary:hover { background: #a04e33; }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--brick { background: var(--brick); color: #fff; justify-self: start; }
.btn--brick:hover { background: #a04e33; }
.btn .arr { transition: transform .18s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ---- Chip ---- */
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em;
  color: var(--pine);
  background: var(--pine-soft);
  border-radius: 999px;
  padding: 7px 14px;
}
.chip .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--pine);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--pine) 60%, transparent);
  animation: chip-pulse 2.6s ease-out infinite;
}
@keyframes chip-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--pine) 55%, transparent); }
  70% { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ---- Form fields ---- */
.field { display: grid; gap: 7px; }
.field label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-faint);
}
.field input, .field textarea {
  font-family: var(--sans); font-size: 15px;
  padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--paper-3); color: var(--ink); width: 100%;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brick); }
.form-note { font-family: var(--sans); font-size: 13px; color: var(--ink-faint); line-height: 1.5; }

/* ---- FAQ ---- */
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: transparent; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; text-align: left;
  font-family: var(--serif); font-size: clamp(18px, 1.6vw, 21px); color: var(--ink);
}
.faq-q .pm { position: relative; width: 16px; height: 16px; flex: none; }
.faq-q .pm::before, .faq-q .pm::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--brick); transition: transform .2s ease, opacity .2s ease;
}
.faq-q .pm::before { width: 14px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-q .pm::after { width: 1.5px; height: 14px; transform: translate(-50%, -50%); }
.faq-item[data-open="true"] .faq-q .pm::after { transform: translate(-50%, -50%) scaleY(0); opacity: 0; }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .24s ease;
}
.faq-a > div {
  overflow: hidden;
  color: var(--ink-soft); font-size: 16px; line-height: 1.62;
  font-family: var(--sans);
}
.faq-item[data-open="true"] .faq-a { grid-template-rows: 1fr; }
.faq-item[data-open="true"] .faq-a > div { padding-bottom: 22px; }

/* ---- Footer ---- */
.foot { border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 76px) 28px; margin-top: clamp(48px, 7vw, 96px); }
.foot .grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px;
}
.foot h5 {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 14px; font-weight: 500;
}
.foot ul { display: grid; gap: 9px; }
.foot ul a { font-family: var(--sans); font-size: 14.5px; color: var(--ink-soft); transition: color .16s ease; }
.foot ul a:hover { color: var(--ink); }
.foot .legal {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; color: var(--ink-faint); flex-wrap: wrap;
}

@media (max-width: 900px) {
  .foot .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .foot .grid { grid-template-columns: 1fr; gap: 28px; }
  .foot .legal { flex-direction: column; align-items: flex-start; }
}
