/* Nonina · website. Kleuren en letters uit de app (lib/core/theme/tokens.dart). */

@font-face {
  font-family: "Quicksand";
  src: url("fonts/Quicksand-Variable.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("fonts/Nunito-Variable.ttf") format("truetype");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --brand: #4e6e62;
  --brand-pressed: #3f5a50;
  --brand-tint: #e8f0ec;
  --brand-tint-strong: #d3e2da;
  --text: #2f3b36;
  --text-secondary: #6b7570;
  --line: #e3e7e2;
  --background: #ffffff;
  --background-subtle: #f6f8f6;
  --error: #b3432f;
  --error-background: #fbeae6;
  --radius-m: 12px;
  --radius-l: 20px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

img { max-width: 100%; height: auto; }

a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-pressed); }
a:focus-visible, .knop:focus-visible { outline: 3px solid var(--brand-tint-strong); outline-offset: 2px; }

h1, h2, h3 { font-family: "Quicksand", system-ui, sans-serif; font-weight: 700; line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: 28px; }
h2 { font-size: 22px; margin-top: 40px; }
h3 { font-size: 18px; margin-top: 24px; }
p, ul, ol { margin: 0 0 16px; }
li { margin-bottom: 6px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

/* Kop */
.kop { border-bottom: 1px solid var(--line); background: var(--background); }
.kop .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.merk { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand); font-family: "Quicksand", sans-serif; font-weight: 700; font-size: 22px; }
.merk img { width: 36px; height: 36px; }
.kop nav { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.kop nav a { text-decoration: none; color: var(--text-secondary); font-weight: 600; }
.kop nav a:hover, .kop nav a[aria-current="page"] { color: var(--brand); }

/* Startpagina */
.held { background: var(--background-subtle); padding: 48px 0 40px; text-align: center; }
.held img { width: 160px; height: 160px; margin-bottom: 16px; }
.held h1 { font-size: 32px; color: var(--brand); }
.held .ondertitel { font-size: 18px; color: var(--text-secondary); max-width: 520px; margin: 0 auto 24px; }

.knop {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  background: var(--brand); color: #fff;
  font-weight: 700; font-size: 16px; text-decoration: none; border: 0;
}
.knop:hover { background: var(--brand-pressed); color: #fff; }
.knop[aria-disabled="true"] { cursor: default; }
.knop[aria-disabled="true"]:hover { background: var(--brand); }
.knop svg { width: 20px; height: 20px; flex: none; }
.klein { font-size: 14px; color: var(--text-secondary); }

.functies { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding: 40px 0 8px; list-style: none; margin: 0; }
.functie { background: var(--background); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 20px; margin: 0; }
.functie .icoon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; margin-bottom: 12px; }
.functie .icoon svg { width: 24px; height: 24px; }
.functie h3 { margin-top: 0; }
.functie p { margin: 0; color: var(--text-secondary); }

.citaat { background: var(--brand-tint); border-radius: var(--radius-l); padding: 24px; margin: 32px 0; display: flex; gap: 16px; align-items: center; }
.citaat img { width: 64px; height: 64px; flex: none; }
.citaat p { margin: 0; font-size: 17px; }

/* Lopende tekst (privacy, verwijderen) */
.tekst { padding-top: 32px; padding-bottom: 48px; }
.tekst .datum { color: var(--text-secondary); font-size: 14px; margin-top: -4px; }
.label { font-family: "Quicksand", sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.kader { background: var(--background-subtle); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 20px; margin: 24px 0; }
.kader > :last-child { margin-bottom: 0; }
.kader.tint { background: var(--brand-tint); border-color: var(--brand-tint-strong); }
.kader.let-op { background: var(--error-background); border-color: #f2d3cc; }
.stappen { counter-reset: stap; list-style: none; padding: 0; }
.stappen li { counter-increment: stap; position: relative; padding-left: 44px; margin-bottom: 14px; min-height: 32px; }
.stappen li::before { content: counter(stap); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.pad { font-weight: 700; color: var(--brand); white-space: nowrap; }

table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 15px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: "Quicksand", sans-serif; font-weight: 700; color: var(--text-secondary); font-size: 13px; }

/* Voet */
.voet { background: var(--background-subtle); border-top: 1px solid var(--line); padding: 32px 0; font-size: 14px; color: var(--text-secondary); }
.voet .wrap { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.voet p { margin: 0 0 4px; }
.voet strong { color: var(--text); }
.voet ul { list-style: none; padding: 0; margin: 0; }
.voet li { margin-bottom: 4px; }

@media (max-width: 520px) {
  .kop .wrap { flex-direction: column; align-items: flex-start; padding-top: 12px; padding-bottom: 12px; gap: 6px; }
  .held { padding: 32px 0; }
  .held h1 { font-size: 26px; }
  .held img { width: 128px; height: 128px; }
  .citaat { flex-direction: column; text-align: center; }
  th, td { padding: 8px 4px; }
}
