/* ==========================================================================
   Tal & Tiid (verzonnen administratiekantoor, Sint Annaparochie) · voorbeeld van NorthByte
   Typografie: Literata (koppen, cijfers en cursief) met Libre Franklin (tekst).
   Kleuren: warm kasboekpapier, inkt met een paarse ondertoon, pruim als
   merkkleur en potloodgeel als markeerstift.
   Vormtaal: het kasboek. Gelinieerd papier, een kassabon met een getande
   rand, getallen netjes onder elkaar (tabulaire cijfers).
   Beweging: alleen transform en opacity. Alles uit bij reduced motion.
   ========================================================================== */

@font-face { font-family: "Literata"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(../gedeeld/fonts/literata-var-latin.woff2) format("woff2"); }
@font-face { font-family: "Literata"; font-style: italic; font-weight: 200 900; font-display: swap; src: url(../gedeeld/fonts/literata-var-italic-latin.woff2) format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../gedeeld/fonts/libre-franklin-var-latin.woff2) format("woff2"); }

:root {
  --papier: #f6f1e7;
  --wit: #fffdf8;
  --inkt: #231a22;
  --grijs: #675a62;
  --lijn: rgba(35, 26, 34, .14);
  --regel: rgba(91, 42, 78, .075);
  --pruim: #5b2a4e;
  --pruim-donker: #44203a;
  --pruim-nacht: #2c1527;
  --pruim-licht: #efe3ea;
  --potlood: #f2c14e;
  --groen: #2f7d5b;
  --rood: #b5482f;
  --kop: "Literata", Georgia, "Times New Roman", serif;
  --letter: "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif;
  --zacht: cubic-bezier(.22, 1, .36, 1);
  --veer: cubic-bezier(.34, 1.56, .64, 1);
  --rand: 16px;
  --vb-scroll-top: 80px;
  color-scheme: light;
}
@media (min-width: 760px) { :root { --rand: 32px; } }

html { background: var(--papier); }
body { background: var(--papier); color: var(--inkt); font: 400 17px/1.65 var(--letter); font-variant-numeric: tabular-nums; }
::selection { background: var(--potlood); color: var(--inkt); }

.rand { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 var(--rand); }

h1, h2, h3 { font-family: var(--kop); font-weight: 600; line-height: 1.08; letter-spacing: -.015em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--pruim); }

.label { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font: 700 12.5px/1.3 var(--letter); letter-spacing: .14em; text-transform: uppercase; color: var(--pruim); }
.label::before { content: ""; width: 28px; height: 0; border-top: 3px double currentColor; }
.label-licht { color: var(--potlood); }

/* ----- Knoppen ----- */
.knop {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: 6px; border: 2px solid var(--pruim);
  background: var(--pruim); color: var(--wit); text-decoration: none; text-align: center;
  font: 650 16px/1.15 var(--letter);
  transition: background-color .2s, color .2s, border-color .2s, transform .3s var(--zacht);
}
.knop:hover { background: var(--pruim-donker); border-color: var(--pruim-donker); transform: translateY(-2px); }
.knop:active { transform: scale(.98); }
.knop-lijn { background: transparent; color: var(--inkt); border-color: var(--inkt); }
.knop-lijn:hover { background: var(--inkt); border-color: var(--inkt); color: var(--wit); }
.knop-licht { background: var(--potlood); border-color: var(--potlood); color: var(--inkt); }
.knop-licht:hover { background: #f7d277; border-color: #f7d277; }
.knop-klein { min-height: 42px; padding: 0 16px; font-size: 14.5px; }
.knop-breed { width: 100%; }

/* ----- Kop ----- */
.kop { position: sticky; top: 0; z-index: 50; background: rgba(246, 241, 231, .96); border-bottom: 1px solid transparent; transition: border-color .3s; }
.kop.is-gescrold { border-bottom-color: var(--lijn); }
.kop-in { display: flex; align-items: center; gap: 22px; height: 74px; }
.logo { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; text-decoration: none; }
.logo-merk { width: 38px; height: 38px; flex: none; }
.logo-tekst { display: flex; flex-direction: column; }
.logo-tekst b { font: 700 23px/1 var(--kop); letter-spacing: -.01em; white-space: nowrap; }
.logo-tekst b i { font-weight: 500; color: var(--pruim); }
.logo-tekst small { margin-top: 5px; font-weight: 600; font-size: 10.5px; line-height: 1; letter-spacing: .12em; text-transform: uppercase; color: var(--grijs); }
.logo-licht .logo-tekst b { color: var(--wit); }
.logo-licht .logo-tekst b i { color: var(--potlood); }
.logo-licht .logo-tekst small { color: #c7b4c1; }
.menu { display: flex; align-items: center; gap: 4px; font-weight: 550; font-size: 15.5px; }
.menu a { position: relative; text-decoration: none; padding: 8px 12px; }
.menu a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--potlood); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--zacht); }
.menu a:hover::after { transform: scaleX(1); }
.menu-knop { display: none; width: 44px; height: 44px; border: 1px solid var(--lijn); border-radius: 6px; background: var(--wit); padding: 0; position: relative; }
.menu-knop i { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--inkt); transition: transform .3s var(--zacht); }
.menu-knop i:first-of-type { top: 17px; }
.menu-knop i:last-of-type { top: 25px; }
.menu-knop[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
.menu-knop[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 999px) {
  .kop-in { height: 66px; gap: 8px; }
  .logo-merk { width: 34px; height: 34px; }
  .logo-tekst b { font-size: 21px; }
  .kop-knop { min-height: 40px; padding: 0 12px; font-size: 13.5px; }
  .js .menu-knop { display: block; }
  .js .menu {
    position: fixed; left: 0; right: 0; top: 66px; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--rand) 24px; background: var(--papier); border-bottom: 1px solid var(--lijn);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .35s var(--zacht), opacity .25s, visibility 0s linear .35s;
  }
  .js .menu.is-open { transform: none; opacity: 1; visibility: visible; transition: transform .35s var(--zacht), opacity .25s, visibility 0s; }
  .js .menu a { padding: 14px 2px; border-bottom: 1px solid var(--lijn); font: 600 22px/1.2 var(--kop); }
  .js .menu a::after { display: none; }
  html:not(.js) .kop-in { flex-wrap: wrap; height: auto; padding: 12px 0; }
  html:not(.js) .menu { order: 3; width: 100%; flex-wrap: wrap; }
}
@media (max-width: 459px) { .logo-tekst small { display: none; } }

/* ----- Hero ----- */
.hero {
  position: relative; padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 6vw, 80px);
  background-image: repeating-linear-gradient(180deg, transparent 0 33px, var(--regel) 33px 34px);
}
.hero::before { content: ""; position: absolute; top: 0; bottom: 0; left: max(8px, calc((100vw - 1220px) / 2 - 18px)); width: 5px; border-left: 1px solid rgba(181, 72, 47, .3); border-right: 1px solid rgba(181, 72, 47, .3); pointer-events: none; }
.hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.hero-in > * { min-width: 0; }
.hero h1 { font-size: clamp(2.5rem, 4.8vw, 4.2rem); line-height: 1.04; letter-spacing: -.025em; }
.hero h1 em { display: block; margin-top: .06em; }
.hero h1 mark { --e104-kleur: var(--potlood); --e104-hoogte: 36%; }
.hero-sub { margin-top: 22px; max-width: 33rem; font-size: 18.5px; color: var(--grijs); }
.hero-knoppen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-beeld { position: relative; padding-bottom: 40px; }
.hero-foto { padding: 10px; background: var(--wit); border: 1px solid var(--lijn); border-radius: 4px; transform: rotate(1.2deg); }
.hero-foto img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 2px; background: #ddd5c8; }
.deadline-kaart {
  position: absolute; left: -28px; bottom: 0; width: min(300px, 78%); padding: 18px 20px 16px; border-radius: 4px;
  background: var(--wit); border-top: 6px solid var(--potlood); box-shadow: 0 22px 44px rgba(35, 26, 34, .16); transform: rotate(-2deg);
}
.dk-label { font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--grijs); }
.dk-label span { font-weight: 500; letter-spacing: 0; text-transform: none; }
.dk-wat { margin-top: 6px; font: 600 21px/1.2 var(--kop); }
.dk-datum { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 6px; font-size: 15px; }
.dk-datum b { padding: 2px 10px; border-radius: 999px; background: var(--pruim-licht); color: var(--pruim); font-size: 13.5px; font-weight: 700; }
.dk-datum b:empty { display: none; }
.dk-regel { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--lijn); font-weight: 600; font-size: 14px; color: var(--groen); }
.vinkje { width: 20px; height: 20px; border-radius: 50%; background: var(--groen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
@media (prefers-reduced-motion: no-preference) {
  .hero-tekst > * { animation: omhoog .8s var(--zacht) both; }
  .hero-tekst > :nth-child(2) { animation-delay: .07s; }
  .hero-tekst > :nth-child(3) { animation-delay: .14s; }
  .hero-tekst > :nth-child(4) { animation-delay: .21s; }
  .hero-foto { animation: leg-neer .9s .15s var(--zacht) both; }
  .deadline-kaart { animation: plak .8s .9s var(--veer) both; }
}
@keyframes omhoog { from { opacity: 0; transform: translate3d(0, 18px, 0); } }
@keyframes leg-neer { from { opacity: 0; transform: translate3d(0, 20px, 0) rotate(4deg); } }
@keyframes plak { from { opacity: 0; transform: translate3d(0, 16px, 0) rotate(-6deg) scale(.94); } }

.feiten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--lijn); border-bottom: 1px solid var(--lijn); }
.feiten li { display: flex; flex-direction: column; padding: 18px 20px; border-left: 1px solid var(--lijn); }
.feiten li:first-child { border-left: 0; padding-left: 0; }
.feiten b { font: 600 24px/1.15 var(--kop); }
.feiten span { margin-top: 2px; font-size: 14.5px; color: var(--grijs); }

/* ----- Secties ----- */
.sectie { padding: clamp(72px, 9vw, 120px) 0; }
.sectie-kop { margin-bottom: clamp(30px, 4vw, 48px); max-width: 46rem; }
.sectie-kop-rij { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 48px; flex-wrap: wrap; max-width: none; }
.sectie-kop-rij > div:first-child { max-width: 44rem; }
.sectie-sub { margin-top: 16px; color: var(--grijs); font-size: 18px; max-width: 36rem; }
.sectie-kop-rij .sectie-sub { margin-top: 0; max-width: 26rem; }
.optioneel { font-style: normal; font-weight: 400; color: var(--grijs); }

/* ----- Tarieven ----- */
.tarieven { border-top: 1px solid var(--lijn); }
.reken { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.reken-invoer { display: grid; gap: 30px; }
.vormen { border: 0; padding: 0; margin: 0; min-width: 0; }
.vormen legend, .reken .e414-kop label { margin-bottom: 12px; font: 600 20px/1.2 var(--kop); }
.vorm-keuzes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.vorm { position: relative; cursor: pointer; }
.vorm input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vorm span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px 16px 14px 46px; border-radius: 8px; border: 1.5px solid var(--lijn); background: var(--wit); transition: border-color .2s, background-color .2s; position: relative; }
.vorm span::before { content: ""; position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(35, 26, 34, .35); background: var(--wit); }
.vorm span::after { content: ""; position: absolute; left: 21px; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: var(--pruim); transform: scale(0); transition: transform .25s var(--veer); }
.vorm b { font-weight: 650; }
.vorm small { font-size: 13.5px; color: var(--grijs); }
.vorm:hover span { border-color: var(--pruim); }
.vorm input:checked + span { border-color: var(--pruim); background: var(--pruim-licht); }
.vorm input:checked + span::before { border-color: var(--pruim); }
.vorm input:checked + span::after { transform: scale(1); }
.vorm input:focus-visible + span { outline: 2px solid var(--pruim); outline-offset: 2px; }
.reken .e414 { --e414-accent: var(--pruim); --e414-baan: rgba(35, 26, 34, .12); --e414-bel-tekst: #fffdf8; }
.reken .e414-kop label { margin-bottom: 0; }
.reken .e414-bel-in { font-size: 14px; }
.opties { display: grid; gap: 10px; }
.optie { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 8px; border: 1.5px solid var(--lijn); background: var(--wit); cursor: pointer; transition: border-color .2s, background-color .2s; }
.optie input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--pruim); flex: none; }
.optie span { display: flex; flex-direction: column; }
.optie b { font-weight: 650; }
.optie small { font-size: 14px; color: var(--grijs); }
.optie:has(input:checked) { border-color: var(--pruim); background: var(--pruim-licht); }

.bon {
  position: relative; padding: 26px 26px 28px; background: var(--wit); border: 1px solid var(--lijn); border-bottom: 0;
  box-shadow: 0 18px 40px rgba(35, 26, 34, .08);
}
.bon::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -10px; height: 10px; background: radial-gradient(circle at 8px 10px, transparent 6.5px, var(--wit) 7px) -1px 0 / 16px 10px repeat-x; }
@media (min-width: 960px) and (min-height: 860px) { .bon { position: sticky; top: 96px; } }
.bon-kop { font-weight: 700; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--grijs); text-align: center; }
.bon-vorm { margin-top: 4px; padding-bottom: 14px; border-bottom: 1px dashed rgba(35, 26, 34, .3); font: 600 22px/1.2 var(--kop); text-align: center; }
.bon-regels { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px dashed rgba(35, 26, 34, .3); font-size: 15px; }
.bon-regels > div { display: flex; align-items: baseline; gap: 8px; }
.bon-regels dt { flex: 1; display: flex; align-items: baseline; gap: 8px; color: var(--grijs); }
.bon-regels dt::after { content: ""; flex: 1; min-width: 12px; border-bottom: 1.5px dotted rgba(35, 26, 34, .3); }
.bon-regels dd { margin: 0; font-weight: 600; white-space: nowrap; }
.bon-regels .is-korting dd { color: var(--groen); }
.bon-regels > div.is-nieuw { animation: regel-in .45s var(--zacht) both; }
@keyframes regel-in { from { opacity: 0; transform: translate3d(-10px, 0, 0); } }
.bon-totaal { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; }
.bon-totaal span { font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.bon-totaal b { display: inline-block; font: 650 clamp(40px, 4vw, 52px)/1 var(--kop); letter-spacing: -.02em; }
.bon-totaal b.is-nieuw { animation: tel .4s var(--zacht); }
@keyframes tel { from { opacity: .3; transform: translate3d(0, 8px, 0); } }
.bon-jaar { margin-top: 4px; text-align: right; font-size: 14px; color: var(--grijs); }
.bon-in-kop { margin-top: 18px; font-weight: 700; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--grijs); }
.bon-in { display: grid; gap: 6px; margin: 10px 0 22px; font-size: 15px; }
.bon-in li { position: relative; padding-left: 26px; }
.bon-in li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--groen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.5l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.bon-in.is-nieuw li { animation: regel-in .4s var(--zacht) both; }
.bon-in.is-nieuw li:nth-child(2) { animation-delay: .05s; }
.bon-in.is-nieuw li:nth-child(3) { animation-delay: .1s; }
.bon-in.is-nieuw li:nth-child(4) { animation-delay: .15s; }
.bon-in.is-nieuw li:nth-child(5) { animation-delay: .2s; }
.bon-noot { margin-top: 12px; font-size: 13.5px; color: var(--grijs); text-align: center; }

/* ----- Belastingkalender ----- */
.kalender { background: var(--pruim-nacht); color: #efe4ea; }
.kalender h2 { color: var(--wit); }
.kalender h2 em { color: var(--potlood); }
.kalender .sectie-sub { color: #c9b5c2; }
.kal-keuze { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: 22px; }
.kal-vormen { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .22); font-weight: 600; font-size: 15px; transition: background-color .2s, border-color .2s, color .2s; }
.chip:hover span { border-color: var(--potlood); }
.chip input:checked + span { background: var(--potlood); border-color: var(--potlood); color: var(--inkt); }
.chip input:focus-visible + span { outline: 2px solid var(--potlood); outline-offset: 2px; }
.kal-personeel { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.kal-personeel input { width: 20px; height: 20px; accent-color: var(--potlood); }
html:not(.js) .kal-keuze { display: none; }

.jaarbalk { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; overflow: hidden; background: rgba(255, 255, 255, .03); }
html:not(.js) .jaarbalk { display: none; }
.maand { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 132px; padding: 10px 8px 12px; border-left: 1px solid rgba(255, 255, 255, .1); }
.maand:first-child { border-left: 0; }
.maand-naam { font-weight: 700; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: #c9b5c2; }
.maand-naam small { display: block; font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 11.5px; opacity: .8; }
.maand.is-nu { background: rgba(242, 193, 78, .08); }
.maand-punten { display: flex; flex-direction: column; gap: 5px; }
.punt { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 1.2; color: #efe4ea; }
.punt i { flex: none; width: 10px; height: 10px; border-radius: 50%; }
.t-btw { background: var(--potlood); }
.t-ib { background: #ffffff; }
.t-bv { background: #8fd0b0; }
.t-loon { background: #c9a8c0; }
.vandaag { position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--potlood); transform: scaleX(var(--x, 0)); transform-origin: 0 50%; }
.maand-nu { display: inline-block; margin-top: 4px; padding: 1px 7px; border-radius: 999px; background: var(--potlood); color: var(--inkt); font-weight: 700; font-size: 11px; letter-spacing: 0; text-transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .jaarbalk .punt { opacity: 0; transform: translate3d(0, 8px, 0); }
  .js .jaarbalk.is-in .punt { opacity: 1; transform: none; transition: opacity .4s, transform .5s var(--zacht); transition-delay: calc(var(--i, 0) * 45ms); }
}

.kal-onder { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(24px, 4vw, 56px); margin-top: 32px; align-items: start; }
.kal-kop { font-size: 24px; color: var(--wit); margin-bottom: 14px; }
.deadlines { display: grid; gap: 10px; }
.dl { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 10px; background: var(--papier); color: var(--inkt); }
.dl-datum { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 58px; height: 62px; border-radius: 6px; background: var(--wit); border: 1px solid var(--lijn); border-top: 5px solid var(--pruim); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--grijs); }
.dl-datum b { font: 650 24px/1 var(--kop); letter-spacing: 0; color: var(--inkt); }
.dl.t-soort-btw .dl-datum { border-top-color: #d9a428; }
.dl.t-soort-ib .dl-datum { border-top-color: var(--pruim); }
.dl.t-soort-bv .dl-datum { border-top-color: var(--groen); }
.dl.t-soort-loon .dl-datum { border-top-color: #9b7690; }
.dl-tekst { display: flex; flex-direction: column; flex: 1; min-width: 0; font-size: 14.5px; color: var(--grijs); }
.dl-tekst b { font-weight: 650; font-size: 16.5px; color: var(--inkt); }
.dl-nog { flex: none; padding: 4px 10px; border-radius: 999px; background: var(--pruim-licht); color: var(--pruim); font-weight: 700; font-size: 13px; white-space: nowrap; }
.dl-nog.is-krap { background: var(--potlood); color: var(--inkt); }
@media (prefers-reduced-motion: no-preference) {
  .deadlines.is-nieuw .dl { animation: regel-in .45s var(--zacht) both; }
  .deadlines.is-nieuw .dl:nth-child(2) { animation-delay: .05s; }
  .deadlines.is-nieuw .dl:nth-child(3) { animation-delay: .1s; }
  .deadlines.is-nieuw .dl:nth-child(4) { animation-delay: .15s; }
  .deadlines.is-nieuw .dl:nth-child(5) { animation-delay: .2s; }
  .deadlines.is-nieuw .dl:nth-child(6) { animation-delay: .25s; }
}
.kal-uitleg { display: grid; gap: 18px; padding: 22px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .16); }
.kal-let-op { font-size: 15px; color: #d9c9d3; }
.kal-let-op b { color: var(--potlood); }
.kal-legenda { display: grid; gap: 6px; font-size: 14px; }
.kal-legenda li { display: flex; align-items: center; gap: 10px; }
.kal-legenda i { width: 12px; height: 12px; border-radius: 50%; }

/* ----- Aanleveren ----- */
.aanleveren-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.manieren { display: grid; gap: 0; margin-top: 26px; border-top: 1px solid var(--lijn); }
.manieren li { display: flex; flex-direction: column; padding: 14px 0; border-bottom: 1px solid var(--lijn); }
.manieren b { font: 600 19px/1.3 var(--kop); }
.manieren span { font-size: 15px; color: var(--grijs); }
.lever { display: grid; gap: 16px; padding: clamp(18px, 3vw, 30px); border-radius: 10px; background: var(--wit); border: 1px solid var(--lijn); box-shadow: 0 18px 40px rgba(35, 26, 34, .06); }
.lever-vak {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 220px; padding: 26px;
  border: 2px dashed rgba(91, 42, 78, .35); border-radius: 10px; text-align: center; cursor: pointer;
  background-image: repeating-linear-gradient(180deg, transparent 0 27px, var(--regel) 27px 28px); transition: border-color .2s, transform .3s var(--zacht);
}
.lever-vak svg { width: 52px; height: 52px; fill: none; stroke: var(--pruim); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lever-vak b { font: 600 21px/1.25 var(--kop); }
.lever-vak span { font-size: 15px; color: var(--grijs); }
.lever-vak input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.lever-vak:hover, .lever-vak.is-over { border-color: var(--pruim); }
.lever-vak.is-over { transform: scale(1.015); }
.lever-vak:focus-within { outline: 2px solid var(--pruim); outline-offset: 3px; }
.lever-lijst { display: grid; gap: 8px; }
.lever-lijst:empty { display: none; }
.bestand { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 8px; background: var(--papier); font-size: 14.5px; }
.bestand-icoon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 6px; background: var(--pruim-licht); color: var(--pruim); font-weight: 800; font-size: 10.5px; letter-spacing: .04em; }
.bestand-naam { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bestand-naam b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bestand-naam small { color: var(--grijs); font-size: 12.5px; }
.bestand-status { flex: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; color: var(--grijs); }
.bestand-status i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--lijn); border-top-color: var(--pruim); }
.bestand.is-klaar .bestand-status { color: var(--groen); }
.bestand.is-klaar .bestand-status i { border: 0; background: var(--groen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.5 2.5 5.5-6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; animation: vink .4s var(--veer); }
@keyframes vink { from { transform: scale(0); } }
@media (prefers-reduced-motion: no-preference) {
  .bestand { animation: regel-in .4s var(--zacht) both; }
  .bestand:not(.is-klaar) .bestand-status i { animation: draai .8s linear infinite; }
}
@keyframes draai { to { transform: rotate(360deg); } }
.lever-velden { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lever-noot { font-size: 13.5px; color: var(--grijs); text-align: center; }

/* ----- Velden ----- */
.veld { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.veld input, .veld select, .veld textarea { width: 100%; min-height: 50px; padding: 10px 14px; border-radius: 6px; border: 1.5px solid rgba(35, 26, 34, .18); background: var(--wit); font: 400 16px var(--letter); color: var(--inkt); }
.veld textarea { resize: vertical; }
.veld input:focus, .veld select:focus, .veld textarea:focus { outline: 2px solid var(--pruim); outline-offset: 1px; border-color: transparent; }

/* ----- Kennisbank ----- */
.kennis { background: var(--wit); border-top: 1px solid var(--lijn); }
.kennis-in { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.kennis-kop .knop { margin-top: 26px; }
@media (min-width: 960px) { .kennis-kop { position: sticky; top: 100px; } }
.kennis .e506 { --e506-accent: var(--pruim); --e506-vlak: var(--papier); --e506-lijn: rgba(35, 26, 34, .14); }
.kennis .e506-zoek input { border-radius: 8px; background: var(--papier); }
.kennis .e506-filters button { font-family: var(--letter); }
.kennis .e506-vraag summary { font: 600 19px/1.35 var(--kop); padding: 18px 10px; }
.kennis .e506-antwoord { padding: 0 10px 22px; color: #3e3239; }
.kennis .e506-mark { box-shadow: inset 0 -.5em 0 rgba(242, 193, 78, .7); }

/* ----- Over ons ----- */
.over-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.gezichten { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gezicht:nth-child(2) { margin-top: 56px; }
.gezicht img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; background: #ddd5c8; border: 8px solid var(--wit); box-shadow: 0 10px 28px rgba(35, 26, 34, .1); }
.gezicht:first-child img { transform: rotate(-1.5deg); }
.gezicht:nth-child(2) img { transform: rotate(1.5deg); }
.gezicht p { margin-top: 12px; font-size: 14.5px; color: var(--grijs); }
.gezicht b { display: block; font: 600 21px/1.2 var(--kop); color: var(--inkt); }
.werkwijze { display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--lijn); }
.werkwijze li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--lijn); color: var(--grijs); font-size: 15.5px; }
.werkwijze span { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--pruim); color: var(--pruim); font: italic 600 17px/1 var(--kop); }
.werkwijze b { display: block; font: 600 18px/1.3 var(--kop); color: var(--inkt); }

/* ----- Reviews ----- */
.reviews { background: var(--wit); border-top: 1px solid var(--lijn); }
.score { display: flex; align-items: center; gap: 14px; }
.score > b { display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: var(--pruim); color: var(--wit); font: 600 27px/1 var(--kop); }
.score > span { font-weight: 600; font-size: 14px; color: var(--grijs); line-height: 1.5; }
.review-lijst { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review { display: flex; flex-direction: column; padding: 26px; border-radius: 6px; background: var(--papier); border: 1px solid var(--lijn); background-image: repeating-linear-gradient(180deg, transparent 0 31px, var(--regel) 31px 32px); }
.review blockquote { flex: 1; font: italic 450 19px/1.55 var(--kop); }
.review-wie { margin-top: 18px; font-weight: 700; font-size: 13px; letter-spacing: .04em; color: var(--pruim); }

/* ----- Contact ----- */
.contact-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.bereik { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; font-weight: 600; }
.stip { flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: #a99aa3; }
.bereik.is-open .stip { background: var(--groen); box-shadow: 0 0 0 4px rgba(47, 125, 91, .2); }
.contact-lijst { margin-top: 18px; display: grid; gap: 0; border-top: 1px solid var(--lijn); }
.contact-lijst li { display: flex; align-items: center; gap: 16px; min-height: 56px; border-bottom: 1px solid var(--lijn); font-weight: 500; }
.contact-lijst span { width: 82px; flex: none; font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--grijs); }
.contact-lijst a { color: var(--pruim); font-weight: 650; text-decoration: none; }
.contact-vorm { display: grid; gap: 14px; padding: clamp(20px, 3vw, 32px); border-radius: 10px; background: var(--wit); border: 1px solid var(--lijn); }
.contact-vorm.is-gekozen { animation: aandacht .8s var(--zacht); }
@keyframes aandacht { 30% { transform: scale(1.012); } }
.veld-rij { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vorm-noot { font-size: 14px; color: var(--grijs); text-align: center; }

/* ----- Voet ----- */
.voet { background: var(--pruim-nacht); color: #cdbcc7; padding: 70px 0 28px; font-size: 15px; }
.voet a { text-decoration: none; }
.voet a:hover { color: var(--wit); text-decoration: underline; text-underline-offset: 4px; }
.voet-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 42px; }
.voet .logo { margin-bottom: 16px; }
.voet-tekst { max-width: 22rem; }
.voet-kop { font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--potlood); margin-bottom: 12px; }
.voet p + p { margin-top: 10px; }
.voet-onder { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; font-size: 13px; color: #a8939f; }
.voet-onder::before { content: ""; position: absolute; top: 0; left: var(--rand); right: var(--rand); height: 1px; background: rgba(255, 255, 255, .12); }
.voet .voet-onder p { margin: 0; }
.voet-onder a { text-decoration: underline; text-underline-offset: 3px; }

/* ----- Responsief ----- */
@media (max-width: 1099px) {
  .jaarbalk { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .maand:nth-child(7) { border-left: 0; }
  .maand:nth-child(n + 7) { border-top: 1px solid rgba(255, 255, 255, .1); }
}
@media (max-width: 959px) {
  .hero-in, .reken, .kal-onder, .aanleveren-in, .kennis-in, .over-in, .contact-in { grid-template-columns: minmax(0, 1fr); }
  .hero-beeld { max-width: 560px; margin-left: 16px; }
  .feiten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feiten li:nth-child(3) { border-left: 0; padding-left: 0; }
  .feiten li:nth-child(n + 3) { border-top: 1px solid var(--lijn); }
  .review-lijst { grid-template-columns: minmax(0, 1fr); }
  .over-in .gezichten { order: 2; max-width: 520px; }
  .voet-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .hero h1 { font-size: clamp(2.5rem, 12vw, 3.4rem); }
  .hero-sub { font-size: 17px; }
  .hero-knoppen .knop { flex: 1 1 100%; }
  .hero-beeld { margin-left: 0; padding-bottom: 64px; }
  .deadline-kaart { left: -6px; width: 82%; }
  .feiten li { padding: 14px 12px; }
  .feiten li:nth-child(odd) { padding-left: 0; }
  .feiten b { font-size: 20px; }
  .vorm-keuzes { grid-template-columns: minmax(0, 1fr); }
  .jaarbalk { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .maand { min-height: 0; }
  .maand:nth-child(7) { border-left: 1px solid rgba(255, 255, 255, .1); }
  .maand:nth-child(3n + 1) { border-left: 0; }
  .maand:nth-child(n + 4) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .dl { gap: 12px; padding: 12px; flex-wrap: wrap; }
  .dl-tekst { flex-basis: calc(100% - 72px); }
  .dl-nog { margin-left: 70px; }
  .lever-velden, .veld-rij { grid-template-columns: minmax(0, 1fr); }
  .gezichten { gap: 12px; }
  .voet-in { grid-template-columns: 1fr; gap: 28px; }
  .score > b { width: 64px; height: 64px; font-size: 22px; }
}
