/* mikeverbruggen.com, v4
   Palet: kleuren uit het schilderij BFTD (cadmiumgeel op diep blauw) */
:root {
  --paper: #ffffff;
  --ink: #1b2340;
  --cadmium: #f4c21b;
  --cadmium-deep: #e0ab00;
  --fog: #eef0f5;
  --slate: #5a6178;
  --line: #d9dce5;
  --sans: "Bricolage Grotesque", system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 19px/1.6 var(--serif);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--sans); color: var(--ink); margin: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(760px + 2 * var(--gutter)); }

/* Knoppen */
.btn {
  display: inline-block;
  padding: 16px 26px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font: 600 17px/1.2 var(--sans);
  text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: #2a3666; }
.btn:active { transform: translateY(1px); }
.btn--small { padding: 10px 18px; font-size: 15px; }
.btn--ink { background: var(--ink); }

/* Header */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--gutter);
}
.brand { font: 800 20px/1 var(--sans); text-decoration: none; letter-spacing: -0.01em; }
.site-nav { display: flex; align-items: center; gap: 28px; font: 600 16px/1 var(--sans); }
.site-nav a:not(.btn) { text-decoration: none; }
.site-nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 640px) { .site-nav a:not(.btn) { display: none; } }

/* Hero: geel vlak met gedeeld scherm */
.hero { background: var(--cadmium); padding: 140px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 {
  font-weight: 800;
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.lede { margin: 28px 0 0; max-width: 34em; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 36px 0 0; }
.cta-note { font: 400 16px/1.3 var(--sans); }

/* Hero-beeld: vijf klusjes, voor en na, wisselend */
.task {
  display: grid;
  background: var(--paper);
  border-radius: 16px;
  padding: 26px 28px 24px;
  box-shadow: 0 30px 60px -24px rgba(27, 35, 64, .5);
  transform: rotate(1.5deg);
  font-family: var(--sans);
}
.example { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s linear .5s; }
.example.is-active { opacity: 1; visibility: visible; transition: opacity .5s ease; }
.task-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.task-title { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; }
.task-tag { font-size: 13px; color: var(--slate); }
.task-steps { list-style: none; margin: 0; padding: 0; }
.task-steps li {
  position: relative;
  display: flex; justify-content: space-between; gap: 16px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
  font-size: 16px; color: var(--slate);
}
.task-steps li > span { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--ink); }
.task-steps em { font-style: normal; white-space: nowrap; text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--ink); }
.task-auto {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  margin: 16px 0 0; padding: 14px 16px; border-radius: 10px;
  background: var(--ink); color: var(--paper); font-size: 15px; line-height: 1.35;
}
.task-auto .tick {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--cadmium); color: var(--ink); font-weight: 800;
}
.task-auto em { font-style: normal; font-weight: 600; white-space: nowrap; }
.task-total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 20px; }
.task-total > span:first-child { font-size: 15px; color: var(--slate); }
.t-swap { display: inline-grid; }
.t-swap > * { grid-area: 1 / 1; justify-self: end; }
.t-before { font-size: 2.6rem; font-weight: 800; color: var(--slate); opacity: 0; }
.t-after { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; }

.dots { display: flex; justify-content: center; gap: 4px; margin-top: 22px; }
.dots button {
  width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
}
.dots button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgba(27, 35, 64, .3); transition: background .2s ease, width .2s ease; }
.dots button[aria-selected="true"]::before { width: 22px; border-radius: 5px; background: var(--ink); }

/* Per voorbeeld: handwerk wordt doorgestreept, de automatische regel komt erbij */
@media (prefers-reduced-motion: no-preference) {
  .is-active .task-steps li > span,
  .is-active .task-steps em { animation: strike-text .35s ease-out both; animation-delay: calc(.6s + var(--i) * .25s); }
  @keyframes strike-text { from { text-decoration-color: transparent; color: var(--ink); } to { text-decoration-color: var(--ink); color: var(--slate); } }
  .is-active .task-auto { animation: arrive .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.9s + var(--n) * .25s); }
  @keyframes arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  .is-active .t-before { animation: out .3s ease both; animation-delay: calc(1.2s + var(--n) * .25s); }
  .is-active .t-after { animation: in .4s ease both; animation-delay: calc(1.3s + var(--n) * .25s); }
  @keyframes out { from { opacity: 1; } to { opacity: 0; } }
  @keyframes in { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
}

/* Secties */
.sec { padding: clamp(72px, 10vw, 128px) 0; }
.sec h2 { font-weight: 800; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; letter-spacing: -0.025em; margin-bottom: 24px; max-width: 20ch; }
.sec h2.wide { max-width: 26ch; }
.intro-text { max-width: 36em; color: var(--slate); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split p { color: var(--slate); }

.thoughts { list-style: none; margin: 0; padding: 0; }
.thoughts li {
  font-style: italic; font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.4;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.thoughts li:first-child { border-top: 1px solid var(--line); }
.thoughts li::before { content: "“"; }
.thoughts li::after { content: "”"; }

.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; margin: 56px 0 0; }
.areas > div { border-top: 3px solid var(--ink); padding-top: 18px; }
.areas dt { font: 600 1.25rem/1.25 var(--sans); margin-bottom: 8px; }
.areas dd { margin: 0; color: var(--slate); }

.steps { list-style: none; counter-reset: step; margin: 88px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.steps li { counter-increment: step; position: relative; padding-top: 72px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cadmium); font: 800 22px/1 var(--sans);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 26px; left: 64px; right: -20px; height: 2px; background: var(--line); }
.steps h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 8px; }
.steps p { color: var(--slate); margin: 0; }

.sec--quote { background: var(--ink); color: var(--paper); }
.sec--quote blockquote { margin: 0; max-width: 30em; position: relative; padding-top: 56px; }
.sec--quote blockquote::before { content: "“"; position: absolute; top: -24px; left: -6px; font: 800 140px/1 var(--sans); color: var(--cadmium); }
.sec--quote blockquote p { font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.3; font-style: italic; margin: 0; }
.sec--quote footer { margin-top: 24px; font: 600 16px/1.3 var(--sans); color: var(--cadmium); }

.plans { margin: 48px 0 24px; border-top: 1px solid var(--ink); }
.plan {
  display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 2fr) auto; gap: 16px 40px; align-items: baseline;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
.plan-name h3 { font-size: 1.35rem; font-weight: 600; }
.plan-name p { margin: 4px 0 0; font: 400 15px/1.3 var(--sans); color: var(--slate); }
.plan-what { margin: 0; color: var(--slate); max-width: 32em; }
.plan-price { margin: 0; text-align: right; font-family: var(--sans); white-space: nowrap; }
.plan-price strong { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.plan-price s { font-size: 15px; color: var(--slate); }
.fine { font-size: 16px; color: var(--slate); max-width: 44em; }

.about { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-text p { max-width: 34em; }
.about-art { margin: 0; }
.about-photo { border-radius: 6px; }
.about-art figcaption { margin-top: 20px; font: 400 15px/1.4 var(--sans); color: var(--slate); }

.faq { background: var(--fog); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font: 600 1.15rem/1.35 var(--sans);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 400 28px/1 var(--sans); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; color: var(--slate); max-width: 38em; }

.closing { background: var(--cadmium); padding: clamp(72px, 10vw, 120px) 0; }
.closing h2 { font-weight: 800; font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -0.03em; margin-bottom: 24px; }
.closing p { max-width: 36em; }

/* Footer */
.site-footer { background: var(--ink); color: #c9cde0; padding: 48px 0; font: 400 15px/1.6 var(--sans); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer-grid p { margin: 0; }
.footer-name { color: var(--paper); font-weight: 800; font-size: 18px; }

/* Overige pagina's */
.text { max-width: 760px; margin: 0 auto; padding: 140px var(--gutter) 96px; }
.text h1 { font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: -0.02em; margin-bottom: 24px; }
.text h2, .text h3 { margin: 1.6em 0 .5em; }
.more { margin-top: 32px; }

/* Mobiel */
@media (max-width: 900px) {
  .hero-grid, .split, .about { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
  .stage { max-width: 520px; }
  .task { transform: none; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps li:not(:last-child)::after { display: none; }
  .plan { grid-template-columns: 1fr auto; }
  .plan-what { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 600px) {
  .areas { grid-template-columns: 1fr; }
  .task { padding: 20px; }
  .task-steps li { font-size: 15px; }
}

/* Tweede zin van de kop: kleiner, eigen regel */
.h1-rest { display: block; margin-top: 14px; font-size: 0.55em; line-height: 1.08; letter-spacing: -0.025em; }
