/* mos.computer — ITARR 3.0 Brand & Product Architecture Stijl
 * Palet: Diep Azul (#0C004C), kroongoud hoofdactie (#ECB652), zachtgeel nevenactie (#FAEDD4),
 * heldere Azul-getinte leesbladen (#F4F6FC / #FFFFFF), diepe inkt (#141726).
 * Lettertypen: lokaal gehoste Schibsted Grotesk (koppen) en Inter met tabular-nums (tekst & cijfers).
 * Alleen proportionele lettertypen. Nul externe bronnen. Strikte CSP zonder inline style.
 */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/assets/fonts/SchibstedGrotesk-VF.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter-VF.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --azul: #0c004c;
  --azul-diep: #080036;
  --azul-midden: #170a66;
  --azul-zacht: #eceefa;
  --azul-rand: #c4c9e4;
  --goud: #ecb652;
  --goud-hover: #f3c46c;
  --goud-zacht: #faedd4;
  --goud-tekst: #754b00;
  --groen: #0d6844;
  --groen-zacht: #e4f4ec;
  --grond: #f4f6fc;
  --wit: #ffffff;
  --lijn: #d8dceb;
  --inkt: #141726;
  --inkt-zacht: #495069;
  --font-kop: "Schibsted Grotesk", "Inter", system-ui, sans-serif;
  --font-tekst: "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--grond);
  color: var(--inkt);
  font-family: var(--font-tekst);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-kop);
  color: var(--azul);
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

p {
  margin: 0 0 14px;
}

a {
  color: inherit;
}

a:focus-visible, button:focus-visible, [tabindex="0"]:focus-visible {
  outline: 3px solid var(--goud);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--goud);
  color: var(--azul);
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 200;
}

.skip-link:focus {
  left: 16px;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

/* PREVIEW LINT */
.preview-lint {
  background: var(--goud-zacht);
  color: var(--azul);
  border-bottom: 1px solid var(--goud);
  text-align: center;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* KOPBALK */
.site-kop {
  background: var(--azul);
  color: var(--wit);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: sticky;
  top: 0;
  z-index: 50;
}

.kop-rij {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 68px;
  padding-block: 8px;
}

.merk {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  min-height: 44px;
}

.merk-tekst {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.merk-naam {
  font-family: var(--font-kop);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--wit);
}

.merk-sub {
  font-size: 12px;
  font-weight: 600;
  color: var(--goud);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.hoofd-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 13px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--wit);
}

.nav-link.actief {
  background: rgba(236, 182, 82, 0.18);
  color: var(--goud);
}

.taal-knop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  margin-left: 6px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--wit);
}

.taal-knop:hover {
  border-color: var(--goud);
  color: var(--goud);
}

/* HERO — DIEP AZUL ARCHITECTUURVLAK */
.hero-azul, .hero-compact {
  background-color: var(--azul);
  background-image:
    radial-gradient(circle at 82% 18%, rgba(236, 182, 82, 0.14), transparent 44%),
    radial-gradient(circle at 12% 90%, rgba(56, 48, 168, 0.42), transparent 52%),
    linear-gradient(160deg, var(--azul) 0%, var(--azul-diep) 100%);
  color: var(--wit);
  position: relative;
}

.hero-azul {
  padding: clamp(54px, 8vw, 96px) 0 clamp(58px, 8vw, 92px);
}

.hero-compact {
  padding: clamp(44px, 6vw, 72px) 0 clamp(44px, 6vw, 68px);
}

.hero-azul h1, .hero-compact h1 {
  color: var(--wit);
  font-size: clamp(2.35rem, 5.1vw, 4.15rem);
  font-weight: 800;
  letter-spacing: -0.032em;
  margin-bottom: 18px;
  max-width: 19ch;
  text-wrap: balance;
}

.hero-compact h1 {
  font-size: clamp(2.05rem, 4.2vw, 3.3rem);
  max-width: 24ch;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--azul-midden);
  margin-bottom: 10px;
}

.eyebrow.geen-hoofdletters {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 13.5px;
}

.eyebrow-licht {
  color: var(--goud);
}

.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.88);
  max-width: 58ch;
  margin-bottom: 28px;
}

.hero-raster {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: end;
}

.hero-feiten {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.feit {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feit-waarde {
  font-family: var(--font-kop);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 800;
  color: var(--goud);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.feit-label {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.84);
}

/* KNOPPEN (hoofdactie #ECB652, nevenactie #FAEDD4, tekst #0C004C) */
.actie-rij {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.knop-goud, .knop-zacht {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  color: var(--azul);
  border: 1px solid transparent;
}

.knop-goud {
  background: var(--goud);
}

.knop-goud:hover {
  background: var(--goud-hover);
}

.knop-zacht {
  background: var(--goud-zacht);
  border-color: rgba(236, 182, 82, 0.55);
}

.knop-zacht:hover {
  background: #fdf4e3;
}

.ruimte-boven {
  margin-top: 24px;
}

/* SECTIES */
.sectie {
  padding: clamp(48px, 6.5vw, 84px) 0;
}

.sectie-wit {
  background: var(--wit);
  border-top: 1px solid var(--lijn);
  border-bottom: 1px solid var(--lijn);
}

.sectie-kop {
  max-width: 68ch;
  margin-bottom: 28px;
}

.sectie-kop h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.sectie-sub {
  color: var(--inkt-zacht);
  font-size: 1.04rem;
  margin: 0;
}

/* BADGES */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.badge-azul  { background: var(--azul-zacht); color: var(--azul); }
.badge-groen { background: var(--groen-zacht); color: var(--groen); }
.badge-goud  { background: var(--goud-zacht); color: var(--goud-tekst); border: 1px solid var(--goud); }

/* OPERATIETAFEL SPECIMEN */
.tafel-doos {
  background: var(--wit);
  border: 1px solid var(--azul-rand);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(12, 0, 76, 0.08);
}

.balans-strook {
  background: #f8f9fe;
  border-bottom: 1px solid var(--lijn);
  padding: 14px 20px;
}

.balans-tekst-rij {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.balans-label {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--azul);
}

.balans-cijfer {
  font-size: 13px;
  font-weight: 600;
  color: var(--inkt-zacht);
  font-variant-numeric: tabular-nums;
}

.balans-balk {
  height: 9px;
  border-radius: 999px;
  background: var(--goud);
  overflow: hidden;
  border: 1px solid var(--lijn);
}

.balans-vulling {
  height: 100%;
  background: var(--groen);
}

.vulling-80 { width: 80%; }

.tafel-splits {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
}

.tabel-wikkel {
  overflow-x: auto;
}

.tafel-tabel {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
}

.tafel-tabel th {
  text-align: left;
  padding: 11px 14px;
  background: #f3f5fb;
  color: var(--azul);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--lijn);
}

.tafel-tabel td {
  padding: 13px 14px;
  border-bottom: 1px solid #eceff8;
  vertical-align: middle;
}

.tafel-tabel th.rechts, .cel-kosten {
  text-align: right;
  white-space: nowrap;
}

.cel-tijd {
  white-space: nowrap;
  color: var(--inkt-zacht);
}

.cel-titel {
  font-weight: 600;
  color: var(--inkt);
}

.demo-rij {
  cursor: pointer;
}

.demo-rij:hover {
  background: #f5f7fe;
}

.demo-rij.actief {
  background: var(--azul-zacht);
}

.demo-rij.actief .badge-azul {
  background: var(--wit);
  border: 1px solid var(--azul-rand);
}

.inspectie-kolom {
  border-left: 1px solid var(--lijn);
  background: #fafbfe;
  padding: 18px 20px;
}

.inspectie-label {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--inkt-zacht);
  margin-bottom: 12px;
}

.inspectie-kaart {
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-top: 3px solid var(--azul);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
}

.tafel-doos.js-actief .inspectie-kaart.verborgen-bij-js {
  display: none;
}

.inspectie-kop {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.inspectie-kaart h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.inspectie-kaart p {
  font-size: 14px;
  color: var(--inkt-zacht);
  margin-bottom: 12px;
}

.gronden-tabel {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.gronden-tabel th, .gronden-tabel td {
  text-align: left;
  padding: 7px 8px;
  border-top: 1px solid #eef0f8;
  vertical-align: top;
}

.gronden-tabel th {
  width: 36%;
  color: var(--azul);
  font-weight: 700;
}

/* RESOURCE-WET KOLOMMEN */
.twee-koloms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.wet-kaart {
  background: var(--grond);
  border: 1px solid var(--lijn);
  border-top: 4px solid var(--groen);
  border-radius: 12px;
  padding: 26px 24px;
}

.wet-kaart.wet-goud {
  border-top-color: var(--goud);
  background: #fffcf5;
}

.wet-kaart h3 {
  font-size: 1.45rem;
  margin: 12px 0 8px;
}

.wet-intro {
  color: var(--inkt-zacht);
  margin-bottom: 14px;
}

.wet-kaart ul, .tool-kaart ul {
  margin: 0;
  padding-left: 20px;
}

.wet-kaart li, .tool-kaart li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* MODULE RASTER */
.module-raster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.module-kaart {
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: 12px;
  padding: 20px;
}

.module-kop {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.module-nr {
  font-size: 12px;
  font-weight: 800;
  color: var(--goud-tekst);
  background: var(--goud-zacht);
  padding: 2px 7px;
  border-radius: 5px;
  font-variant-numeric: tabular-nums;
}

.module-naam {
  font-family: var(--font-kop);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--azul);
}

.module-rol {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--inkt-zacht);
}

.module-kaart p {
  font-size: 14.5px;
  color: var(--inkt-zacht);
  margin: 0;
}

/* SLOT KAART */
.slot-kaart {
  background: var(--azul);
  color: var(--wit);
  border-radius: 16px;
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.slot-kaart h2 {
  color: var(--wit);
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  margin-bottom: 8px;
}

.slot-kaart p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 54ch;
  margin: 0;
}

/* TECHNIEK LAGEN & TABELLEN */
.lagen-lijst {
  display: grid;
  gap: 20px;
}

.laag-kaart {
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-left: 5px solid var(--azul);
  border-radius: 12px;
  padding: 24px;
}

.laag-kop {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.laag-nr {
  font-family: var(--font-kop);
  font-size: 2rem;
  font-weight: 800;
  color: var(--goud-tekst);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  min-width: 44px;
}

.laag-kop h2 {
  font-size: 1.45rem;
  margin-top: 6px;
}

.laag-samenvatting {
  color: var(--inkt-zacht);
  max-width: 70ch;
  margin-bottom: 16px;
}

.spec-tabel, .verg-tabel {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.spec-tabel th, .spec-tabel td, .verg-tabel th, .verg-tabel td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid #eaedf7;
  vertical-align: top;
}

.spec-tabel th {
  width: 24%;
  color: var(--azul);
  font-weight: 700;
  background: #f8f9fe;
}

.verg-tabel thead th {
  background: var(--azul);
  color: var(--wit);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.verg-tabel tbody th {
  color: var(--azul);
  font-weight: 700;
  width: 22%;
}

.cel-mos {
  background: #f3f7f5;
  color: var(--inkt);
  font-weight: 600;
}

/* TOOLING & CONTACT */
.licentie-kader {
  background: var(--goud-zacht);
  border: 1px solid var(--goud);
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 24px;
}

.licentie-kader h2 {
  font-size: 1.35rem;
  margin: 10px 0 8px;
}

.licentie-kader p {
  margin: 0;
  max-width: 72ch;
}

.tool-lijst {
  display: grid;
  gap: 18px;
}

.tool-kaart {
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-top: 4px solid var(--azul);
  border-radius: 12px;
  padding: 24px;
}

.tool-kop {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.tool-kop h2 {
  font-size: 1.65rem;
  margin-top: 8px;
}

.tool-samenvatting {
  color: var(--inkt-zacht);
  max-width: 68ch;
  margin-bottom: 14px;
}

.drie-koloms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.stap-kaart, .contact-kaart {
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: 12px;
  padding: 22px;
}

.stap-kaart h3, .contact-kaart h2 {
  font-size: 1.2rem;
  margin: 10px 0 8px;
}

.stap-kaart h3 {
  margin-top: 0;
}

.stap-kaart p, .contact-kaart p {
  font-size: 14.5px;
  color: var(--inkt-zacht);
  margin: 0;
}

.direct-kaart {
  margin-top: 26px;
  background: var(--wit);
  border: 1px solid var(--azul-rand);
  border-radius: 12px;
  padding: 26px 24px;
}

.direct-kaart h2 {
  font-size: 1.45rem;
  margin-bottom: 14px;
}

.tekst-link {
  color: var(--azul);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.correctie-noot {
  margin: 16px 0 0;
  font-size: 13.5px;
  color: var(--inkt-zacht);
}

/* BESLOTEN VOORVERTONING */
.besloten-body {
  min-height: 100vh;
  background: var(--azul);
  display: grid;
  place-items: center;
  padding: 24px;
}

.besloten-doos {
  background: var(--wit);
  border-radius: 16px;
  max-width: 560px;
  width: 100%;
  padding: 36px 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.besloten-merk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-kop);
  font-size: 1.4rem;
  color: var(--azul);
  margin-bottom: 18px;
}

.besloten-doos h1 {
  font-size: 1.85rem;
  margin-bottom: 10px;
}

.besloten-lijn {
  border: none;
  border-top: 1px solid var(--lijn);
  margin: 18px 0;
}

/* VOET */
.site-voet {
  background: var(--wit);
  border-top: 1px solid var(--lijn);
  padding: 28px 0 36px;
}

.voet-rij {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.voet-merk {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
  color: var(--azul);
}

.voet-slogan {
  font-size: 13.5px;
  color: var(--inkt-zacht);
}

.voet-regel {
  font-size: 13.5px;
  color: var(--inkt-zacht);
  margin: 0;
}

.voet-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--azul);
}

.voet-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-raster, .tafel-splits, .twee-koloms, .drie-koloms {
    grid-template-columns: 1fr;
  }
  .module-raster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .inspectie-kolom {
    border-left: none;
    border-top: 1px solid var(--lijn);
  }
}

@media (max-width: 720px) {
  .site-kop {
    position: static;
  }
  .kop-rij {
    grid-template-columns: 1fr auto;
    gap: 6px 12px;
    padding-block: 8px;
    min-height: auto;
  }
  .merk {
    grid-column: 1;
    grid-row: 1;
  }
  .taal-knop {
    grid-column: 2;
    grid-row: 1;
    margin-left: 0;
    padding: 0 10px;
  }
  .hoofd-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    gap: 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 4px;
  }
  .nav-link {
    padding: 0 8px;
    font-size: 13.5px;
  }
}

@media (max-width: 620px) {
  .container {
    width: calc(100% - 28px);
  }
  .module-raster, .hero-feiten {
    grid-template-columns: 1fr;
  }
  .spec-tabel th {
    width: 38%;
  }
}
