/* OrangeNodes: huisstijl van de prijsbladen en de cheatsheet.
   Oranje tinten, het nodes-motief aan de rechterrand, lijn-iconen, veel ruimte.
   Bewust niet: alles centreren, schaduwen, kaartjes met gekleurde randen, kleine
   labels boven koppen, emoji, Inter/Roboto. */

:root {
  --orange: #E48312;
  --rust: #BD582C;
  --rust-dark: #9E4520;
  --title: #222222;
  --ink: #333333;
  --muted: #5E5E5E;
  --grey: #F3F3F3;
  --peach: #FBE4D3;
  --peach-light: #FDF0E6;
  --line: #EADFD6;
  --h1: #F8D3B8;
  --h2: #F5C29C;
  --h3: #F0AF7C;
  --h4: #EBA062;
  --sans: "Figtree", "Segoe UI", system-ui, sans-serif;
  --max: 1120px;
  --gutter: 20px;
}

@media (min-width: 760px) { :root { --gutter: 48px; } }

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Nodes-motief langs de rechterrand, zoals op de bladen. */
body::after {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  width: 190px;
  height: 100vh;
  background: url("/img/nodes.svg") right top / cover no-repeat;
  pointer-events: none;
  z-index: -1;
  display: none;
}
@media (min-width: 1360px) { body::after { display: block; } }

/* Op smallere schermen is er geen vrije rechterrand: dan staat het motief in de
   hoek rechtsboven, naast het logo, en vervaagt het naar links en naar beneden. */
body::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 210px;
  height: 104px;
  background: url("/img/nodes.svg") right 0 top -330px / 210px auto no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent), linear-gradient(to left, #000 45%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 60%, transparent), linear-gradient(to left, #000 45%, transparent);
  mask-composite: intersect;
  pointer-events: none;
  z-index: -1;
}
@media (min-width: 760px) { body::before { width: 300px; height: 210px; background-size: 300px auto; } }
@media (min-width: 1360px) { body::before { display: none; } }

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

a { color: var(--rust); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--rust-dark); }

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

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.ic {
  width: 26px;
  height: 26px;
  color: var(--orange);
  flex: none;
}

/* ---------- header ---------- */

.site-header { padding-top: 26px; padding-bottom: 26px; }

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.brand img { height: 46px; width: auto; }

.nav { display: flex; gap: 6px 28px; flex-wrap: wrap; }

.nav a {
  color: var(--title);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--rust); }
.nav a[aria-current="page"] { border-bottom-color: var(--orange); }

@media (max-width: 640px) {
  .brand img { height: 38px; }
  .nav { gap: 4px 18px; }
  .nav a { font-size: 15px; }
}

/* ---------- typografie ---------- */

h1, h2, h3 { color: var(--title); line-height: 1.2; margin: 0; }

.page-title {
  font-weight: 400;
  font-size: clamp(26px, 4.2vw, 44px);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.lede {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--muted);
  max-width: 40ch;
  margin: 0;
}

h2 {
  color: var(--rust);
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 30px);
  margin-bottom: 14px;
}

h3 { font-weight: 600; font-size: 20px; margin-bottom: 6px; }

p { margin: 0 0 1em; }

.muted { color: var(--muted); }

section { padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 760px) { section { padding-top: 80px; padding-bottom: 80px; } }

.intro { padding-top: 40px; padding-bottom: 32px; }
@media (min-width: 760px) { .intro { padding-top: 64px; padding-bottom: 48px; } }

.narrow { max-width: 62ch; }

/* ---------- home hero ---------- */

.hero {
  display: grid;
  gap: 40px;
  padding-top: 32px;
  padding-bottom: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.15fr 1fr; gap: 64px; padding-top: 56px; padding-bottom: 72px; }
}

.hero h1 {
  font-weight: 600;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--rust); }

.hero .lede { margin-bottom: 30px; }

/* ---------- knoppen ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--rust);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 3px;
}
.btn:hover { background: var(--rust-dark); color: #fff; }
.btn .ic { color: currentColor; width: 20px; height: 20px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
}
.link-arrow .ic { width: 20px; height: 20px; color: currentColor; transition: transform .15s; }
.link-arrow:hover .ic { transform: translateX(3px); }

.actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }

/* ---------- foto-placeholders ---------- */

.photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--peach-light);
  overflow: hidden;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }

.photo.placeholder {
  display: flex;
  align-items: flex-end;
  padding: 18px;
  border: 1px dashed var(--h3);
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(240, 175, 124, .14) 14px 15px),
    var(--peach-light);
}
.photo.placeholder span {
  font-size: 14px;
  color: var(--rust);
  background: #fff;
  padding: 4px 10px;
}
.photo.wide { aspect-ratio: 16 / 9; }

/* ---------- twee ingangen ---------- */

.entries { display: grid; gap: 4px; }
@media (min-width: 820px) { .entries { grid-template-columns: 1fr 1fr; } }

.entry {
  background: var(--peach-light);
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
}
.entry:nth-child(2) { background: var(--peach); }
.entry h2 { margin-bottom: 10px; }
.entry p { max-width: 42ch; }
.entry .price-from { margin-top: auto; padding-top: 18px; margin-bottom: 14px; color: var(--title); }
.entry .price-from strong { font-size: 26px; color: var(--rust); font-weight: 700; }

/* ---------- bewijs ---------- */

.figures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 28px 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
  margin-bottom: 30px;
}
.figure strong {
  display: block;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1;
  font-weight: 700;
  color: var(--rust);
  margin-bottom: 8px;
}
.figure span { color: var(--muted); font-size: 16px; }

.clients { color: var(--muted); max-width: 70ch; }
.clients strong { color: var(--title); font-weight: 600; }

/* ---------- quote ---------- */

.quote { max-width: 34ch; margin: 0; }
.quote .ic { width: 36px; height: 36px; margin-bottom: 14px; }
.quote p { font-size: clamp(21px, 2.4vw, 26px); font-style: italic; line-height: 1.4; color: var(--title); margin-bottom: 12px; }
.quote footer { font-size: 15px; color: var(--muted); }
.quote.placeholder p { color: var(--muted); }

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }
@media (min-width: 900px) { .split.photo-left > .photo { order: -1; } }

/* ---------- tijdlijn (traineeship) ---------- */

.timeline {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  gap: 34px;
  position: relative;
}
.timeline li { position: relative; padding-left: 86px; }
.timeline .node {
  position: absolute;
  left: 0;
  top: 0;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  display: grid;
  place-items: center;
}
/* verbindingslijn tussen de nodes, mobiel verticaal */
.timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 29px;
  top: 62px;
  bottom: -34px;
  width: 4px;
  background: var(--h2);
}
.timeline h3 { color: var(--rust); font-size: 22px; }
.timeline p { margin-bottom: 8px; }
.duration { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); font-size: 15px; }
.duration .ic { width: 20px; height: 20px; }

@media (min-width: 860px) {
  .timeline { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .timeline li { padding-left: 0; padding-top: 90px; }
  .timeline li:not(:last-child)::before {
    left: 62px;
    right: -32px;
    top: 29px;
    bottom: auto;
    width: auto;
    height: 4px;
  }
}

/* ---------- techboosters ---------- */

.boosters { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line); }
.boosters li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 4px 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.boosters .ic { grid-row: span 3; margin-top: 2px; }
.boosters h3 { font-size: 19px; margin: 0; }
.boosters p { margin: 0; }
.boosters .fit { font-size: 15px; color: var(--muted); }

@media (min-width: 860px) {
  .boosters li { grid-template-columns: 30px 260px 1fr; align-items: baseline; }
  .boosters .ic { grid-row: span 2; align-self: start; }
  .boosters h3 { grid-row: span 2; }
}

/* ---------- prijsblok ---------- */

.price-panel {
  display: grid;
  gap: 30px;
  background: var(--peach);
  padding: 34px 30px;
}
@media (min-width: 860px) { .price-panel { grid-template-columns: auto 1fr; gap: 64px; padding: 44px 48px; align-items: center; } }

.big-price { color: var(--rust); font-weight: 700; font-size: clamp(44px, 6vw, 64px); line-height: 1; }
.big-price small { font-size: 20px; font-weight: 400; color: var(--ink); margin-left: 6px; }

.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.facts li { display: flex; gap: 14px; align-items: flex-start; }
.facts .ic { width: 22px; height: 22px; margin-top: 2px; color: var(--rust); }

.fineprint { font-size: 14.5px; color: var(--muted); margin-top: 16px; }

/* ---------- urenblokjes (scholen) ---------- */

.sessions { margin-top: 30px; border-top: 1px solid var(--line); }
.session {
  display: grid;
  gap: 14px 32px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
@media (min-width: 860px) { .session { grid-template-columns: 280px 1fr auto; } }
.session h3 { color: var(--rust); font-size: 23px; }
.session p { margin: 0; }

.hours { display: flex; align-items: center; gap: 6px; }
.hours i { width: 54px; height: 44px; display: block; }
.hours i:nth-child(1) { background: var(--h1); }
.hours i:nth-child(2) { background: var(--h2); }
.hours i:nth-child(3) { background: var(--h3); }
.hours i:nth-child(4) { background: var(--h4); }
.hours span { margin-left: 12px; color: var(--muted); font-size: 15px; }
@media (max-width: 420px) { .hours i { width: 40px; height: 36px; } }

.session .amount { font-size: clamp(32px, 3.6vw, 40px); font-weight: 700; color: var(--rust); }

/* ---------- thema's ---------- */

.themes {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 26px 48px;
}
@media (min-width: 760px) { .themes { grid-template-columns: 1fr 1fr; } }
.themes li { display: flex; gap: 18px; align-items: flex-start; }
.themes .ic { width: 30px; height: 30px; }
.themes h3 { font-size: 19px; margin-bottom: 4px; }
.themes p { margin: 0; color: var(--muted); }
.themes li.feature { background: var(--peach-light); padding: 24px; margin-bottom: 8px; }
@media (min-width: 760px) { .themes li.feature { grid-column: 1 / -1; } }
.themes li.feature h3 { color: var(--rust); }

/* ---------- FAQ ---------- */

.faq { max-width: 760px; margin-top: 24px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  font-weight: 600;
  color: var(--title);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 22px; height: 22px; transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; max-width: 64ch; }

/* ---------- Labs ---------- */

.labs-frame {
  width: 100%;
  height: 640px;
  border: 0;
  background: #fff;
  display: block;
  margin-top: 28px;
}
/* Op een telefoon is de widget te groot om in te bedden: dan een knop naar de volledige pagina. */
.labs-mobile { display: none; margin-top: 8px; }
@media (max-width: 759px) {
  .labs-frame, .labs-desktop { display: none; }
  .labs-mobile { display: block; }
}

/* ---------- over ---------- */

.cv { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 18px; }
.cv li { display: flex; gap: 16px; align-items: flex-start; }
.cv .ic { margin-top: 2px; }
.cv strong { color: var(--title); display: block; }

/* ---------- contact-band ---------- */

.cta { background: var(--peach-light); }
.cta .wrap { display: grid; gap: 24px; }
@media (min-width: 860px) { .cta .wrap { grid-template-columns: 1fr auto; align-items: end; } }
.cta h2 { color: var(--title); }
.cta p { margin: 0; max-width: 52ch; }

.contact-lines { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 18px; }
.contact-lines li { display: flex; gap: 16px; align-items: center; font-size: 19px; }

/* ---------- footer ---------- */

.site-footer {
  padding-top: 34px;
  padding-bottom: 44px;
  font-size: 15px;
  color: var(--muted);
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: space-between; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--rust); }
.site-footer nav { display: flex; gap: 8px 22px; flex-wrap: wrap; }

/* ---------- foto's met fade ----------
   Geen harde rechthoeken: foto's lopen zacht over in de witte pagina. */

/* Banner bovenaan een pagina, over de volle breedte, vervaagt naar beneden.
   De paginatitel schuift over het vervaagde deel heen. */
.banner {
  position: relative;
  height: clamp(220px, 30vw, 400px);
  overflow: hidden;
}
.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 42%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 42%, transparent 100%);
}
.banner + .intro { position: relative; margin-top: -70px; padding-top: 0; }
@media (min-width: 760px) { .banner + .intro { margin-top: -110px; } }

/* Home: foto rechts, vervaagt naar links (onder de tekst) en naar beneden. */
.home-hero { position: relative; }
.home-hero .hero-img {
  height: 300px;
  overflow: hidden;
}
.home-hero .hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 40%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 45%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 45%, transparent 100%);
}
.home-hero .hero-text { position: relative; margin-top: -60px; padding-bottom: 48px; }
.home-hero h1 {
  font-weight: 600;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 22px;
  max-width: 13ch;
}
.home-hero h1 em { font-style: normal; color: var(--rust); }
.home-hero .lede { margin-bottom: 30px; }

@media (min-width: 900px) {
  .home-hero { min-height: 600px; display: flex; align-items: center; }
  .home-hero .hero-img {
    position: absolute;
    top: 0;
    right: 0;
    width: 64%;
    height: 100%;
  }
  .home-hero .hero-img img {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 45%), linear-gradient(to bottom, #000 70%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0%, #000 45%), linear-gradient(to bottom, #000 70%, transparent 100%);
    mask-composite: intersect;
  }
  .home-hero .hero-text { margin-top: 0; padding-top: 40px; padding-bottom: 80px; }
  .home-hero .hero-text > div { max-width: 520px; }
}

/* Foto's in de tekst: zachte randen in plaats van een kader. */
.photo { background: none; }
.photo.soft img {
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 55%, transparent 100%);
}

/* Portret: vervaagt naar beneden en naar de zijkanten. */
.portrait img {
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%), linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 60%, transparent 100%), linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-composite: intersect;
}
