/* ============================================================
   OMDA Investments — stylesheet
   Kleuren pas je hieronder aan in :root, nergens anders.
   ============================================================ */

/* Archivo, zelf gehost (SIL Open Font License, zie assets/fonts/LICENSE-archivo.txt).
   Variabel lettertype: gewicht 100-900 en breedte 62-125 in één bestand.
   Er gaat geen enkele aanvraag naar een externe server. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url('../fonts/archivo-latin.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url('../fonts/archivo-latin-ext.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Huisstijl OMDA, zoals in de merkgids en de Canva-presentatie.
     De vier eerste waarden zijn de merkkleuren; de rest is daarvan afgeleid. */
  --petrol-deep: #014D43;   /* diepgroen  — masthead, hero, footer */
  --petrol: #193133;        /* antraciet  — donkere tussenband */
  --lime: #D0FF71;          /* limoen     — accent op donkere vlakken */
  --mint: #27EAA6;          /* mint       — tweede accent op donker */

  --petrol-soft: #0A6B5D;   /* afgeleid: hover op donker */
  --lime-dark: #146F51;     /* afgeleid: leesbaar accent op licht */
  --paper: #F3F7F5;
  --white: #FFFFFF;
  --ink: #193133;
  --muted: #566B67;
  --rule: #D5DEDA;
  --rule-dark: rgba(255, 255, 255, .16);

  --measure: 62ch;
  --wrap: 1100px;
  --gap: clamp(1.5rem, 4vw, 3rem);

  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 3vw, 2.25rem);
  --step-4: clamp(2.25rem, 5vw, 3.5rem);
  --step-5: clamp(2.75rem, 7.5vw, 5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: var(--step-0);
  line-height: 1.62;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-variation-settings: 'wdth' 88;
  letter-spacing: -.022em;
  line-height: 1.06;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); font-weight: 800; }
h2 { font-size: var(--step-4); font-weight: 700; }
h3 { font-size: var(--step-2); font-weight: 600; line-height: 1.25; }

p { margin: 0 0 1.1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { text-decoration-color: var(--lime-dark); }

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--lime); color: var(--petrol-deep);
  padding: .6rem 1rem; font-weight: 600;
}
.skip:focus { left: .75rem; top: .75rem; }

/* ---------- Reclamevermelding ----------
   Verplicht bovenaan elke pagina met promotionele inhoud.
   Het woord zelf staat bewust groter dan de lopende tekst. */

.adnotice {
  background: var(--lime);
  color: var(--petrol-deep);
  padding: .7rem 0;
}
.adnotice > * { display: block; width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.adnotice__word { font-size: 1.375rem; font-weight: 800; font-variation-settings: 'wdth' 85; line-height: 1.2; }
.adnotice__text { font-size: 1.0625rem; margin-top: .1rem; }

/* ---------- Masthead ---------- */

.masthead {
  background: var(--petrol-deep);
  color: var(--white);
  position: sticky; top: 0; z-index: 50;
}
.adnotice + .masthead { position: static; }
.masthead__inner {
  display: flex; align-items: center; gap: 1.25rem;
  min-height: 68px;
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
.wordmark {
  font-weight: 800; font-size: 1.125rem;
  font-variation-settings: 'wdth' 82;
  letter-spacing: .01em;
  text-decoration: none;
  display: flex; align-items: baseline; gap: .42rem;
  margin-right: auto;
}
.wordmark b { font-weight: 800; }
.wordmark__text span { font-weight: 400; color: var(--lime); }

/* Het logobestand krijgt voorrang; ontbreekt het, dan valt de site terug
   op het getypte woordmerk. Zie assets/images/LEESMIJ-logo.txt */
.wordmark img { height: 26px; width: auto; display: block; }
.wordmark--beeld .wordmark__text { position: absolute; left: -9999px; }
.wordmark--tekst img { display: none; }

.footer__merk { margin-bottom: 1.75rem; }
.footer__logo { height: 34px; width: auto; display: block; }
.footer__logo[hidden] { display: none; }
.footer__tagline {
  display: block; margin-top: .45rem; margin-left: .15rem;
  font-size: .625rem; font-weight: 500; letter-spacing: .42em;
  color: var(--mint);
}

.nav { display: flex; gap: 1.4rem; align-items: center; }
.nav a {
  text-decoration: none;
  font-size: .9375rem; font-weight: 500;
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav a:hover { border-bottom-color: var(--petrol-soft); }
.nav a[aria-current="page"] { border-bottom-color: var(--lime); }

.langswitch { display: flex; gap: .1rem; margin-left: .5rem; }
.langswitch button {
  background: none; border: 0; cursor: pointer; color: inherit;
  font: inherit; font-size: .8125rem; font-weight: 600;
  padding: .25rem .45rem; border-radius: 3px; opacity: .55;
}
.langswitch button[aria-pressed="true"] { opacity: 1; color: var(--lime); }
.langswitch button:hover { opacity: 1; }

.navtoggle {
  display: none; background: none; border: 1px solid var(--rule-dark);
  color: inherit; border-radius: 4px; padding: .4rem .6rem;
  font: inherit; font-size: .875rem; cursor: pointer;
}

@media (max-width: 800px) {
  .navtoggle { display: block; order: 3; }
  .nav {
    order: 4; flex-basis: 100%; flex-direction: column;
    align-items: flex-start; gap: 0;
    border-top: 1px solid var(--rule-dark);
    padding: .5rem 0 1rem;
  }
  .nav[hidden] { display: none; }
  .nav a { padding: .55rem 0; border-bottom: 0; border-left: 2px solid transparent; padding-left: .7rem; }
  .nav a[aria-current="page"] { border-left-color: var(--lime); border-bottom-color: transparent; }
  .masthead__inner { flex-wrap: wrap; padding-block: .5rem; }
}

/* ---------- Hero ---------- */

.hero {
  background: var(--petrol-deep);
  color: var(--white);
  padding-block: clamp(3rem, 9vw, 6.5rem) clamp(2rem, 5vw, 3.5rem);
}
.hero h1 { max-width: 15ch; }
.hero__lead {
  font-size: var(--step-1);
  color: #C5DED6;
  max-width: 52ch;
  margin-top: 1.25rem;
}


/* ---------- Buttons ---------- */

.btnrow { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.btn {
  display: inline-block; text-decoration: none;
  font-weight: 600; font-size: .9375rem;
  padding: .72rem 1.35rem; border-radius: 3px;
  border: 1.5px solid transparent;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--lime); color: var(--petrol-deep); }
.btn--primary:hover { background: #DEFF95; }
.btn--ghost { border-color: currentColor; }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.section--light .btn--ghost:hover { color: var(--lime-dark); border-color: var(--lime-dark); }

/* ---------- Sections ---------- */

.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--light { background: var(--paper); }
.section--white { background: var(--white); }
.section--petrol { background: var(--petrol); color: var(--white); }
.section--petrol p { color: #C5DED6; }

.pagehead { background: var(--petrol-deep); color: var(--white); padding-block: clamp(2.5rem, 6vw, 4.25rem) clamp(1.75rem, 4vw, 2.75rem); }
.pagehead h1 { font-size: var(--step-4); max-width: 20ch; }
.pagehead p { color: #C5DED6; font-size: var(--step-1); margin-top: 1rem; }

.lede { font-size: var(--step-1); }

/* Twee kolommen: korte titel links, tekst rechts */
.split { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) { .split { grid-template-columns: 15rem minmax(0, 1fr); } }
.split + .split { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--rule); }
.section--petrol .split + .split { border-top-color: var(--rule-dark); }
.split h2 { font-size: var(--step-2); font-weight: 700; }
.split h3 { margin-top: 1.75rem; }
.split h3:first-child { margin-top: 0; }

/* Genummerde stappen — alleen waar de inhoud echt een volgorde is */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li {
  counter-increment: s;
  display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 1.1rem;
  padding: 1.35rem 0; border-top: 1px solid var(--rule);
}
.steps li::before {
  content: counter(s, decimal-leading-zero);
  font-weight: 700; font-size: 1.0625rem; color: var(--lime-dark);
  font-variation-settings: 'wdth' 80;
}
.steps h3 { margin-bottom: .3rem; }
.steps p { margin: 0; font-size: .9375rem; color: var(--muted); }

/* Definitielijst voor productkenmerken */
.specs { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 620px) { .specs { grid-template-columns: 14rem minmax(0, 1fr); } }
.specs dt {
  font-weight: 600; padding: .85rem 0 .2rem;
  border-top: 1px solid var(--rule);
}
.specs dd {
  margin: 0; padding: .85rem 0 .85rem; color: var(--muted);
}
@media (min-width: 620px) {
  .specs dt { padding: .85rem 1rem .85rem 0; }
  .specs dd { border-top: 1px solid var(--rule); }
}

.callout {
  border-left: 3px solid var(--lime);
  padding: .1rem 0 .1rem 1.1rem;
  margin: 1.75rem 0;
  color: var(--muted);
  font-size: .9375rem;
}
.callout p { max-width: 58ch; }


/* ---------- Documentenregister ---------- */

.register { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5rem); }

.filters {
  position: sticky; top: 68px; z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: .9rem 0;
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
}
.filters__tabs { display: flex; flex-wrap: wrap; gap: .4rem; }
.filters button {
  font: inherit; font-size: .875rem; font-weight: 500;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--rule); border-radius: 999px;
  padding: .38rem .9rem; cursor: pointer;
}
.filters button[aria-pressed="true"] {
  background: var(--petrol-deep); border-color: var(--petrol-deep); color: var(--white);
}
.filters__search { margin-left: auto; position: relative; }
.filters__search input {
  font: inherit; font-size: .875rem;
  padding: .42rem .8rem; width: 14rem; max-width: 100%;
  border: 1px solid var(--rule); border-radius: 999px; background: var(--white);
}
@media (max-width: 800px) { .filters { position: static; } }
@media (max-width: 620px) { .filters__search { margin-left: 0; width: 100%; } .filters__search input { width: 100%; } }

.yeargroup { margin-top: clamp(1.75rem, 4vw, 2.75rem); }
.yeargroup__head {
  display: flex; align-items: baseline; gap: .75rem;
  font-weight: 700; font-size: 1.375rem;
  font-variation-settings: 'wdth' 82;
  padding-bottom: .5rem;
}
.yeargroup__count { font-size: .8125rem; font-weight: 500; color: var(--muted); }

.doclist { list-style: none; margin: 0; padding: 0; }
.doclist li { border-top: 1px solid var(--rule); }
.doclist li:last-child { border-bottom: 1px solid var(--rule); }
.doc {
  display: grid; align-items: baseline; gap: .2rem 1.25rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: .85rem .25rem; text-decoration: none;
}
.doc:hover { background: var(--white); }
.doc:hover .doc__title { text-decoration: underline; text-decoration-color: var(--lime-dark); }
.doc__title { font-weight: 500; }
.doc__meta { color: var(--muted); font-size: .8125rem; grid-column: 1; }
.doc__date { color: var(--muted); font-size: .875rem; grid-row: 1; grid-column: 2; white-space: nowrap; }

.doc__nota {
  grid-column: 1 / -1;
  margin-top: .3rem;
  font-size: .8125rem; line-height: 1.45;
  color: #A32020;
  border-left: 2px solid #A32020;
  padding-left: .6rem;
}
.doc__nota b { font-weight: 700; }
.doc:hover .doc__nota { text-decoration: none; }

.empty { padding: 3rem 0; color: var(--muted); }

/* ---------- Prijzentabel ---------- */

.tabelhouder { margin-top: 1.5rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }

.prijstabel {
  width: 100%; border-collapse: collapse;
  font-size: .875rem; min-width: 46rem;
}
.prijstabel th {
  text-align: left; font-weight: 600; font-size: .75rem;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted);
  padding: 0 1rem .6rem 0;
  border-bottom: 1.5px solid var(--petrol-deep);
  white-space: nowrap;
}
.prijstabel td {
  padding: .7rem 1rem .7rem 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.prijstabel tr:hover td { background: var(--white); }
.prijstabel th:last-child, .prijstabel td:last-child { padding-right: 0; }

.tab__ref { font-weight: 600; white-space: nowrap; }
.tab__prijs { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tab__fonds { min-width: 22rem; }
.tab__isin { display: block; font-size: .75rem; color: var(--muted); margin-top: .1rem; }

.tabel__voet { margin-top: .9rem; font-size: .8125rem; color: var(--muted); }


/* ---------- Juridische tekst met eigen taalkiezer ---------- */

.taalkiezer { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 2rem; }
.taalkiezer button {
  font: inherit; font-size: .875rem; font-weight: 500;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--rule); border-radius: 999px;
  padding: .38rem 1rem; cursor: pointer;
}
.taalkiezer button[aria-pressed="true"] {
  background: var(--petrol-deep); border-color: var(--petrol-deep); color: var(--white);
}

.juridisch { max-width: 68ch; }
.juridisch h2 {
  font-size: 1.25rem; font-weight: 700;
  margin-top: 2.5rem; padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}
.juridisch > .lede { color: var(--muted); font-size: .9375rem; }
.juridisch ul { padding-left: 1.1rem; margin: 0 0 1.1em; }
.juridisch li { margin-bottom: .35rem; }
.juridisch .specs { margin-bottom: 1.1rem; }

/* ---------- Contact ---------- */

.field { display: grid; gap: .3rem; margin-bottom: 1rem; max-width: 34rem; }
.field label { font-size: .875rem; font-weight: 600; }
.field input, .field textarea {
  font: inherit; padding: .6rem .75rem;
  border: 1px solid var(--rule); border-radius: 3px; background: var(--white);
}
.field textarea { min-height: 9rem; resize: vertical; }

.contactcard { font-size: .9375rem; line-height: 1.9; }
.contactcard a { font-weight: 500; }

/* ---------- Footer ---------- */

.footer {
  background: var(--petrol-deep); color: #B4CCC5;
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 2rem;
  font-size: .875rem;
}
.footer__grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  padding-bottom: 2rem; border-bottom: 1px solid var(--rule-dark);
}
.footer h2 { font-size: .8125rem; font-weight: 600; color: var(--white); margin-bottom: .7rem; letter-spacing: 0; font-variation-settings: 'wdth' 100; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--lime); text-decoration: underline; }
.footer__legal { padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; color: #8FB0A8; font-size: .8125rem; }
.footer__legal p { margin: 0; max-width: none; }

.disclaimer {
  margin-top: 1.25rem; color: #8FB0A8; font-size: .8125rem; max-width: 70ch;
}
