/* personalaccount.nl — diepblauw, dennengroen en een warm geel accent */

@font-face { font-family: "Schibsted Grotesk"; font-weight: 400; font-style: normal; font-display: swap; src: url("/static/fonts/schibsted-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 500; font-style: normal; font-display: swap; src: url("/static/fonts/schibsted-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 700; font-style: normal; font-display: swap; src: url("/static/fonts/schibsted-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 800; font-style: normal; font-display: swap; src: url("/static/fonts/schibsted-grotesk-latin-800-normal.woff2") format("woff2"); }

:root {
  --inkt: #18222E;
  --papier: #F6F7F2;
  --wit: #FFFFFF;
  --groen: #2E6B4F;
  --groen-donker: #245840;
  --geel: #F2C14E;
  --tekst-zacht: #3A4654;
  --meta: #4C5866;
  --lijn: #DFE3DA;
  --lijn-donker: #44505F;
  --op-donker: #C9D1DA;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .kop { transition: none; } }

body {
  margin: 0;
  font-family: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--inkt);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
  /* voet altijd onderaan, ook op korte pagina's */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1 0 auto; }

a { color: var(--inkt); }
a:hover { color: var(--groen); }
:focus-visible { outline: 3px solid var(--groen); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, p { margin: 0; }
h2 { font-weight: 800; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.06; letter-spacing: -0.03em; }
h3 { font-size: 22px; font-weight: 700; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 600px) { .wrap { padding: 0 20px; } }

.skip { position: absolute; left: -9999px; top: 0; background: var(--wit); padding: 10px 16px; z-index: 40; }
.skip:focus { left: 12px; top: 12px; }

/* ---- kop ---- */
.kop { background: var(--papier); border-bottom: 1px solid var(--lijn); }
.kop { transition: box-shadow .2s; }
.kop.gescrold { box-shadow: 0 6px 18px rgba(24, 34, 46, .10); }
.kop-rij { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 20px; padding-bottom: 20px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--inkt); }
.logo:hover { color: var(--inkt); }
.logo-mark { width: 46px; height: 46px; flex: none; }
.logo-mark path { fill: var(--groen); }
.logo-mark text { font-family: "Schibsted Grotesk", sans-serif; font-weight: 800; font-size: 17px; fill: var(--wit); }
.logo-tekst { display: flex; flex-direction: column; line-height: 1.05; }
.logo-woord { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.logo-sub { font-size: 13px; color: var(--meta); }
.menu { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 16px; }
.menu a { text-decoration: none; }
.menu a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.menu .menu-knop { font-weight: 700; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--inkt); }
.menu .menu-knop:hover { background: var(--inkt); color: var(--papier); text-decoration: none; }

@media (min-width: 800px) {
  .kop { position: sticky; top: 0; z-index: 20; }
  html { scroll-padding-top: 88px; }
}

/* ---- held ---- */
.held-raster { padding-top: 88px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: end; }
.held-tekst { display: flex; flex-direction: column; gap: 26px; padding-top: 88px; padding-bottom: 96px; }
.held-raster .held-tekst { padding: 0; }
.held h1 { font-weight: 800; font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.035em; }
.groot { font-size: 20px; color: var(--tekst-zacht); max-width: 44ch; }
@media (max-width: 600px) { .held-raster { padding-top: 56px; padding-bottom: 64px; } }

.gesprek { display: flex; flex-direction: column; gap: 14px; padding-bottom: 6px; }
.ballon { padding: 18px 22px; max-width: 34ch; }
.ballon-klant { align-self: flex-start; background: var(--wit); border: 1px solid var(--lijn); border-radius: 20px 20px 20px 6px; }
.ballon-wij { align-self: flex-end; background: var(--groen); color: var(--wit); border-radius: 20px 20px 6px 20px; }

.knoppen { display: flex; flex-wrap: wrap; gap: 14px; }
.knop {
  display: inline-block; font: inherit; font-weight: 700; text-decoration: none; white-space: nowrap;
  background: var(--groen); color: var(--wit); border: 0; border-radius: 999px; padding: 15px 26px; cursor: pointer;
}
.knop:hover { background: var(--groen-donker); color: var(--wit); }
.knop-rand { background: transparent; color: var(--inkt); font-weight: 500; border: 1.5px solid var(--inkt); padding: 13.5px 24.5px; }
.knop-rand:hover { background: var(--inkt); color: var(--papier); }
.knop-geel { align-self: flex-start; background: var(--geel); color: var(--inkt); margin-top: 8px; }
.knop-geel:hover { background: #E3AF34; color: var(--inkt); }

/* ---- secties ---- */
.sectie { padding: 88px 0; }
.wit { background: var(--wit); }
.sectie h2 { margin-bottom: 40px; }
.twee-kol { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: start; }
.twee-kol h2 { margin-bottom: 0; }
.smal { max-width: 12ch; }
.lopend { display: flex; flex-direction: column; gap: 18px; color: var(--tekst-zacht); max-width: 62ch; }

.raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.lijn-boven { border-top: 2px solid var(--inkt); }
.item { padding: 28px 28px 8px 0; display: flex; flex-direction: column; gap: 10px; }
.item p, .stappen p { color: var(--tekst-zacht); }

.stappen { list-style: none; margin: 0; padding: 0; gap: 32px; }
.stappen li { display: flex; flex-direction: column; gap: 10px; }
.stap { font-weight: 800; font-size: 15px; color: var(--groen); }

.sterk { font-weight: 700; }
.geel { color: var(--geel); font-size: 15px; }
.zacht { color: var(--op-donker); max-width: 46ch; }
.zacht-donker { color: var(--tekst-zacht); }

/* ---- Grip ---- */
.grip-sectie { padding: 0 32px 88px; }
@media (max-width: 600px) { .grip-sectie { padding: 0 20px 64px; } }
.grip-blok {
  max-width: 1096px; margin: 0 auto; background: var(--inkt); color: var(--papier); border-radius: 28px;
  padding: 56px 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; align-items: center;
}
@media (max-width: 600px) { .grip-blok { padding: 36px 24px; } }
.grip-tekst { display: flex; flex-direction: column; gap: 16px; }
.grip-kop { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -0.035em; }
.labels { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.labels li { padding: 12px 18px; border-radius: 999px; border: 1px solid var(--lijn-donker); font-weight: 500; }

/* ---- contact ---- */
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-info .zacht-donker { max-width: 40ch; }
address { font-style: normal; line-height: 1.8; }
.formulier { display: flex; flex-direction: column; gap: 10px; }
.formulier label { font-size: 15px; color: var(--tekst-zacht); margin-top: 4px; }
.formulier input, .formulier textarea {
  font: inherit; padding: 13px 16px; border-radius: 12px; border: 1px solid #C9CFC4; background: var(--wit); color: var(--inkt); width: 100%;
}
.formulier textarea { resize: vertical; }
.formulier input:focus-visible, .formulier textarea:focus-visible { border-color: var(--groen); outline-offset: 1px; }
.formulier .knop { align-self: flex-start; margin-top: 8px; }
.val { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.melding { padding: 14px 18px; border-radius: 12px; font-weight: 500; }
.melding.goed { background: #DCEFE3; color: #1E4A35; }
.melding.fout { background: #F8DEDA; color: #7A1F15; }

/* ---- tekstpagina ---- */
.leesbreedte { max-width: 760px; }
.artikel { display: flex; flex-direction: column; gap: 16px; font-size: 18px; line-height: 1.65; }
.artikel h1 { font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 8px; }
.artikel h2 { font-size: 26px; letter-spacing: -0.02em; margin: 16px 0 0; }
.artikel .intro { font-size: 21px; font-weight: 500; }
.meta { font-size: 14px; color: var(--meta); }

/* ---- naar boven ---- */
.naar-boven {
  position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--inkt); border: 2px solid var(--papier);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.naar-boven.zichtbaar { opacity: 1; visibility: visible; transform: none; }
.naar-boven:hover { background: var(--groen); }
.naar-boven svg { width: 22px; height: 22px; fill: none; stroke: var(--papier); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .naar-boven { transition: none; } }

/* ---- voet ---- */
.voet { border-top: 1px solid var(--lijn); font-size: 14px; color: var(--meta); }
.voet-rij { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; padding-bottom: 28px; }
.voet-links { display: flex; flex-wrap: wrap; gap: 20px; }
.voet a { color: var(--meta); }
.voet a:hover { color: var(--inkt); }
