/* Koytz — koytz.nl
   Ontwerp: koytz-ontwerp-overdracht/ontwerp/koytz-ontwerp.html
   Geen externe requests: het lettertype staat in fonts/. */

/* Lettertype: Bricolage Grotesque, variabel (opsz, wdth, wght), latin-subset.
   Licentie: fonts/OFL.txt */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  src: url("fonts/bricolage-grotesque-latin-standard-normal.woff2") format("woff2");
  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;
}

:root {
  /* Merkkleuren */
  --green-dark: #0D302D;
  --petrol: #1E5D6E;
  --sage: #92B078;
  --paper: #F5F3EE;
  --mist: #E9ECE6;

  /* Afgeleide tinten */
  --paper-86: rgba(245, 243, 238, 0.86);   /* hero-intro op donkergroen */
  --paper-78: rgba(245, 243, 238, 0.78);   /* toelichting onder het overzicht */
  --paper-75: rgba(245, 243, 238, 0.75);   /* footer */
  --paper-35: rgba(245, 243, 238, 0.35);   /* lijnen op petrol */
  --paper-20: rgba(245, 243, 238, 0.2);    /* lijnen op donkergroen */
  --rule-18: rgba(13, 48, 45, 0.18);       /* cellen in het Excel-fragment */
  --rule-15: rgba(13, 48, 45, 0.15);       /* rijen in het overzicht */
  --rule-20: rgba(13, 48, 45, 0.2);        /* rijen bij Waarom Koytz */

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  color-scheme: light;
}

/* Basis */

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

html {
  background: var(--green-dark);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--green-dark);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
}

a { color: var(--petrol); }
a:hover { color: var(--green-dark); }

/* Focus: petrol op lichte vlakken, salie op donkere vlakken
   (salie op gebroken wit haalt geen 3:1). */
:focus-visible {
  outline: 3px solid var(--petrol);
  outline-offset: 3px;
}
.site-header :focus-visible,
.examples :focus-visible,
.about :focus-visible,
.site-footer :focus-visible { outline-color: var(--sage); }
.site-header .overview :focus-visible { outline-color: var(--petrol); }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section-title {
  margin: 0 0 48px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
  font-weight: 700;
  font-stretch: 85%;
  letter-spacing: -0.02em;
}

.label-heading {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--petrol);
}
.label-heading--sage {
  margin-bottom: 20px;
  line-height: inherit;
  color: var(--sage);
}

/* Header en navigatie */

.site-header {
  background: var(--green-dark);
  color: var(--paper);
}

.topbar {
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--paper);
  text-decoration: none;
}
.logo__mark { display: block; }

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  font-size: 17px;
}

.nav__link {
  color: var(--paper);
  text-decoration: none;
}
.nav__link:hover {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--sage);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 4px;
  background: var(--paper);
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: none;
}
.nav__cta:hover {
  background: var(--mist);
  color: var(--green-dark);
}

/* Hero */

.hero { padding-top: 88px; }

.hero__title {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(46px, 6.6vw, 96px);
  line-height: 0.98;
  font-weight: 700;
  font-stretch: 82%;
  letter-spacing: -0.025em;
}

.hero__intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-top: 36px;
}

.hero__lede {
  margin: 0;
  max-width: 46ch;
  font-size: 20px;
  line-height: 1.5;
  color: var(--paper-86);
}

.button-sage {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 16px 26px;
  border-radius: 4px;
  background: var(--sage);
  color: var(--green-dark);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}
.button-sage:hover {
  background: var(--paper);
  color: var(--green-dark);
}

/* Ordeningsbeeld: losse fragmenten → lijnen → overzicht */

.ordering { padding-top: 80px; }

.ordering__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.sources {
  position: relative;
  flex: 1 1 380px;
  min-width: 0;
  height: 400px;
}

.frag {
  position: absolute;
  background: var(--paper);
  color: var(--green-dark);
  border-radius: 4px;
}

.frag__meta { color: var(--petrol); }

.frag--excel {
  left: 0;
  top: 8px;
  width: 236px;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.3;
  transform: rotate(-4deg);
}

.frag__filename {
  padding: 6px 10px;
  background: var(--petrol);
  color: var(--paper);
  font-weight: 600;
}

.sheet {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.sheet > div {
  padding: 5px 8px;
  border-right: 1px solid var(--rule-18);
  border-bottom: 1px solid var(--rule-18);
}
.sheet > div:nth-child(3n) { border-right: 0; }
.sheet > div:nth-last-child(-n + 3) { border-bottom: 0; }
.sheet__head { font-weight: 600; }

.frag--mail {
  left: 30%;
  top: 150px;
  width: 270px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.4;
  transform: rotate(3deg);
}

.frag__subject {
  margin: 2px 0 6px;
  font-weight: 700;
}

.frag--pdf {
  left: 58%;
  top: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--petrol);
  color: var(--paper);
  font-size: 13px;
  transform: rotate(6deg);
}

.frag--whatsapp {
  left: 2%;
  top: 286px;
  width: 250px;
  padding: 10px 14px;
  border-radius: 14px 14px 14px 4px;
  font-size: 13px;
  line-height: 1.4;
  transform: rotate(-2deg);
}

.frag--note {
  left: 66%;
  top: 262px;
  width: 150px;
  padding: 14px;
  border-radius: 0;
  background: var(--sage);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  transform: rotate(-6deg);
}

.flow {
  flex: 0 0 110px;
  height: 400px;
}
.flow svg { display: block; }
.flow path {
  fill: none;
  stroke: var(--sage);
  stroke-width: 2;
}

/* Overzicht "Alles op één plek" */

.overview {
  flex: 1 1 500px;
  min-width: 0;
  margin: 0;
  padding: 26px 26px 18px;
  border-radius: 6px;
  background: var(--paper);
  color: var(--green-dark);
}

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

.overview__title {
  font-size: 22px;
  font-weight: 700;
  font-stretch: 90%;
}

.overview__updated {
  font-size: 14px;
  color: var(--petrol);
}

.overview__scroll { overflow-x: auto; }

.overview__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.35;
}

.overview__table th {
  padding: 8px 10px;
  border-bottom: 2px solid var(--green-dark);
  color: var(--petrol);
  font-weight: 600;
  text-align: left;
}

.overview__table td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--rule-15);
}
.overview__table tbody tr:last-child td { border-bottom: 0; }

.overview__table th:first-child,
.overview__table td:first-child { padding-left: 0; }
.overview__table th:last-child,
.overview__table td:last-child { padding-right: 0; }

.status {
  border-radius: 3px;
  font-weight: 600;
  white-space: nowrap;
}
.status--done {
  padding: 3px 9px;
  background: var(--sage);
}
.status--open {
  padding: 1px 8px;
  border: 2px solid var(--green-dark);
}

.overview__table .status-text {
  white-space: nowrap;
  color: var(--petrol);
}

.ordering__note {
  margin: 0;
  padding: 28px 0 96px;
  max-width: 62ch;
  font-size: 15px;
  color: var(--paper-78);
}

/* Waar het vastloopt */

.problem {
  padding-block: 120px 110px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
}
.problem .label-heading { flex: 1 1 220px; }

.problem__text {
  flex: 999 1 560px;
  margin: 0;
  max-width: 34ch;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Wat Koytz doet */

.steps-section { padding-bottom: 120px; }

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  flex: 1 1 280px;
  padding-top: 22px;
  border-top: 3px solid var(--green-dark);
}

.step__num {
  margin-bottom: 18px;
  font-size: 64px;
  line-height: 1;
  font-weight: 300;
  color: var(--petrol);
}

.step__title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 700;
}

.step__text {
  margin: 0;
  max-width: 38ch;
}

.steps-section__note {
  margin: 56px 0 0;
  max-width: 52ch;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 600;
}

/* Bijvoorbeeld */

.examples {
  background: var(--petrol);
  color: var(--paper);
}

.examples__inner { padding-block: 110px; }

.examples__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 0 56px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.examples__list li {
  padding: 24px 0 36px;
  border-top: 1px solid var(--paper-35);
  font-size: 22px;
  line-height: 1.4;
}

/* Hoe een traject werkt */

.process-section { padding-block: 120px; }
.process-section .section-title { margin-bottom: 64px; }

.process {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process__item {
  position: relative;
  flex: 1 1 210px;
  padding: 34px 28px 0 0;
  border-top: 2px solid var(--petrol);
}
.process__item:last-child { padding-right: 0; }

.process__marker {
  position: absolute;
  top: -9px;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--petrol);
}

/* Het beslismoment: salie ruit in plaats van een stip */
.process__marker--gate {
  top: -11px;
  width: 20px;
  height: 20px;
  border: 2px solid var(--green-dark);
  border-radius: 0;
  background: var(--sage);
  transform: rotate(45deg);
}

.process__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.process__text {
  margin: 0;
  font-size: 16px;
}

/* Waarom Koytz */

.reasons { background: var(--mist); }

.reasons__inner {
  padding-block: 110px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px 64px;
}

.reasons__title {
  flex: 1 1 260px;
  margin: 0;
}

.reasons__list {
  flex: 999 1 560px;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.reason {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 32px;
  padding: 22px 0;
  border-top: 1px solid var(--rule-20);
}
.reason:last-child { border-bottom: 1px solid var(--rule-20); }

.reason dt {
  flex: 1 1 200px;
  font-size: 20px;
  font-weight: 700;
}

.reason dd {
  flex: 2 1 320px;
  margin: 0;
}

/* Over en contact */

.about {
  background: var(--green-dark);
  color: var(--paper);
}

.about__inner {
  padding-block: 120px 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
}

.about__col--bio {
  flex: 1 1 380px;
  min-width: 0;
}

.about__col--contact {
  flex: 1 1 440px;
  min-width: 0;
}

.about__bio {
  margin: 0;
  max-width: 44ch;
  font-size: 20px;
  line-height: 1.55;
}

.about__invite {
  margin: 0 0 28px;
  max-width: 40ch;
  font-size: 20px;
}

.about__mail {
  display: inline-block;
  color: var(--paper);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.2;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--sage);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
  overflow-wrap: anywhere;
}
.about__mail:hover {
  color: var(--paper);
  text-decoration-color: var(--paper);
}

.about__linkedin { margin: 28px 0 0; }
.about__linkedin a { color: var(--paper); }
.about__linkedin a:hover {
  color: var(--paper);
  text-decoration-color: var(--sage);
}

/* Footer */

.site-footer {
  background: var(--green-dark);
  color: var(--paper-75);
}

.site-footer__inner {
  padding-block: 32px 40px;
  border-top: 1px solid var(--paper-20);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

/* Smal scherm: fragmenten onder elkaar, zonder verbindingslijnen */

@media (max-width: 900px) {
  .flow { display: none; }

  .sources {
    height: auto;
    margin-bottom: 12px;
  }

  .frag {
    position: static;
    transform: none;
    margin: 0 0 12px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
