/* ==========================================================================
   Hans van Dokkum Coaching — statische herbouw van de Wix-site
   Alle maten/kleuren/fonts gemeten aan het origineel (1440px viewport):
   - bodytekst: Playfair Display 14px/24.5px, #0C4139 (serif, óók paragrafen!)
   - Avenir (→ Mulish) alleen in footer, formulierlabels en knoppen
   - contentbreedte 1280px (80px marges), topbar 108px, hero 751px
   - crème #F9F9F1 · donkergroen #0C4139 · teal #326E62 · sage #839D95
   ========================================================================== */

:root {
  --cream: #F9F9F1;
  --cream-2: #F5F4E8;
  --green: #0C4139;
  --teal: #326E62;
  --sage: #839D95;
  --sage-dark: #6C877F;
  --sage-diep: #58736B;            /* knoppen/footer: witte tekst haalt 5:1 (AA) */
  --sage-diepst: #4A635C;
  --white: #FFFFFF;
  --line: rgba(12, 65, 57, 0.18);

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Mulish', 'Avenir Next', 'Segoe UI', Helvetica, Arial, sans-serif;

  --maxw: 1280px;
  --gut: clamp(1.25rem, 5.55vw, 5rem);   /* 80px op desktop */
  --sec-y: clamp(2.5rem, 5vw, 4rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --schaduw-kaart: 0 1px 2px rgba(12, 65, 57, 0.04), 0 6px 24px rgba(12, 65, 57, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Tekstkleur per pagina zoals het origineel: home/prakt/contact zwart,
   werkwijze-pagina donkergroen (body-class pg-groen) */
body {
  background: var(--cream);
  color: #000;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1rem;                /* 16px (origineel 14px: te klein om prettig te lezen) */
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.pg-groen,
body.pg-groen h1,
body.pg-groen h2,
body.pg-groen h3 { color: var(--green); }

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

/* <picture> (WebP met JPEG-terugval) doet niet mee in de layout: de <img> blijft
   het grid-/absolute element zoals voorheen */
picture { display: contents; }

picture > source { display: none; }   /* anders telt <source> als vakje in een grid */

::selection { background: var(--sage); color: var(--cream); }

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

.hero :focus-visible,
.footer :focus-visible { outline-color: var(--cream); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: #000;
  line-height: 1.34;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.125rem); text-wrap: balance; }   /* 50px */
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); text-wrap: balance; }    /* 40px */

p + p { margin-top: 1.2em; }

a { color: var(--teal); }

strong { font-weight: 700; color: inherit; }

.wrap {
  max-width: calc(var(--maxw) + 2 * var(--gut));
  margin: 0 auto;
  padding-left: var(--gut);
  padding-right: var(--gut);
}

/* --------------------------------------------------------------------------
   Topbar — 108px hoog in origineel
   -------------------------------------------------------------------------- */

/* Sticky: blijft staan bij scrollen; wordt licht doorschijnend + schaduw zodra je scrolt */
.topbar {
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.topbar.gescrold {
  background: rgba(249, 249, 241, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px rgba(12, 65, 57, 0.1);
}

.topbar-inner {
  max-width: calc(var(--maxw) + 2 * var(--gut));
  margin: 0 auto;
  padding: 1.5rem var(--gut);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 108px;
}

.brand { text-decoration: none; }

.brand .brand-name {
  font-family: var(--serif);
  font-size: 1.375rem;            /* 22px */
  color: var(--green);
  line-height: 1.4;
}

.brand .brand-sub {
  font-family: var(--serif);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--sage);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a.nav-link,
.nav .btn { white-space: nowrap; }

.nav a.nav-link {
  font-family: var(--serif);
  font-size: 0.9375rem;           /* 15px */
  color: var(--teal);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

/* Onderstreep groeit van links in bij hover */
.nav a.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav a.nav-link:hover { color: var(--green); }

.nav a.nav-link:hover::after { transform: scaleX(1); }

/* Huidige pagina: donkergroen met vaste onderstreep (licht-blauw haalde maar 2,5:1) */
.nav a.nav-link[aria-current="page"] { color: var(--green); }

.nav a.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.btn {
  display: inline-block;
  background: var(--sage-diep);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.7rem;        /* ~45px hoog, zoals origineel */
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s var(--ease), box-shadow 0.2s ease;
}

.btn:hover {
  background: var(--sage-diepst);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(12, 65, 57, 0.18);
}

.btn:active { transform: translateY(0); box-shadow: none; }

.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; box-shadow: none; }

/* Tekstlink met pijl, bijv. "Lees meer over de werkwijze" */
.link-verder {
  display: inline-block;
  margin-top: 0.6rem;
  color: var(--teal);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.link-verder:hover { color: var(--green); }

/* Pijl als los teken naast de link, zodat de onderstreep niet doorloopt */
.link-verder::after {
  content: '→';
  display: inline-block;
  margin-left: 0.4em;
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}

.link-verder:hover::after { transform: translateX(3px); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green);
  margin: 5px 0;
}

/* Zwevend LinkedIn-icoon, rechterrand — blijft staan bij scrollen */
.linkedin-float {
  position: fixed;
  top: 11rem;
  right: 0;
  z-index: 40;
  width: 58px;
  height: 58px;
  background: #0A66C2;
  color: #fff;
  display: grid;
  place-items: center;
  transition: width 0.15s ease;
}

.linkedin-float:hover { width: 64px; }

.linkedin-float svg { width: 32px; height: 32px; fill: #fff; }

/* --------------------------------------------------------------------------
   Hero (home) — 751px hoog, titel iets onder het midden
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  height: clamp(540px, calc(100vh - 108px), 751px);
  display: grid;
  place-items: end center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* Gradiënt-overlay: beeld bovenin vrij, onderin donker waar de tekst staat */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(16, 16, 14, 0) 0%,
    rgba(16, 16, 14, 0.05) 40%,
    rgba(16, 16, 14, 0.5) 72%,
    rgba(16, 16, 14, 0.72) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem var(--gut) clamp(2.5rem, 7vh, 4.5rem);
}

/* Entrance: titel → subtitel → knop faden na elkaar in */
.hero-content > * {
  opacity: 0;
  animation: hero-in 0.8s var(--ease) forwards;
}

.hero-content h1 { animation-delay: 0.1s; }
.hero-content .hero-sub { animation-delay: 0.28s; }
.hero-content .btn { animation-delay: 0.46s; }

@keyframes hero-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero .hero-sub {
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  margin-top: 0.6rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.hero .btn { margin-top: 2rem; }

/* --------------------------------------------------------------------------
   Secties (home)
   -------------------------------------------------------------------------- */

.section { padding: var(--sec-y) 0; }

.intro { padding-top: 5rem; }

.intro .wrap { max-width: calc(44rem + 2 * var(--gut)); }

.intro p:first-child {
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  line-height: 1.65;
  color: var(--green);
}

.card {
  background: var(--white);
  box-shadow: var(--schaduw-kaart);
}

/* Scroll-reveals: JS zet .reveal + .zichtbaar; zonder JS is alles gewoon zichtbaar */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.reveal.zichtbaar {
  opacity: 1;
  transform: translateY(0);
}

/* Over Hans: tekst links (520px), gestapelde foto's rechts (640px) */
.over-hans .card {
  display: grid;
  grid-template-columns: 520fr 640fr;
  gap: clamp(1.5rem, 3.5vw, 3rem);
  padding: clamp(1.75rem, 4vw, 3.75rem) 0 clamp(1.75rem, 4vw, 3.75rem) clamp(1.75rem, 4vw, 4.6rem);
  align-items: center;
}

.over-hans h2 { margin-bottom: 1.2rem; }

.over-hans .cv-btn { margin: 1.5rem 0; }

/* Foto zoals origineel: staande foto gecentreerd in de rechterkolom */
.oh-foto {
  display: grid;
  place-items: center;
}

.oh-foto img { width: 62.5%; }

/* Werkwijze-teaser: foto links (640x602), witte kaart rechts */
.werkwijze-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.werkwijze-teaser img {
  width: 100%;
  height: 100%;
  aspect-ratio: 640 / 602;
  object-fit: cover;
}

.werkwijze-teaser .card {
  padding: clamp(1.75rem, 4vw, 4rem) clamp(1.5rem, 3.5vw, 4.6rem);
  display: grid;
  align-content: center;
}

.werkwijze-teaser h2 { margin-bottom: 1.2rem; }

/* Quotes: witte kaart, titelkolom links, twee verspringen­de tekstkolommen */
.quotes .card {
  background: var(--white);
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(1rem, 2vw, 2rem);
  padding: clamp(1.75rem, 5vw, 4.75rem) clamp(1.5rem, 4vw, 4.75rem);
}

.quotes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(1.5rem, 4vw, 6rem);
  align-items: start;
}

.quotes--smal .quotes-grid {
  grid-template-columns: minmax(0, 300px) minmax(0, 300px);
  column-gap: clamp(2rem, 6vw, 6.5rem);
  justify-content: start;
}

.quotes-col { display: grid; row-gap: 5.5rem; align-content: start; }

.quote .q-num {
  font-family: var(--serif);
  font-size: 2.125rem;            /* 34px */
  color: var(--sage);
  margin-bottom: 0.5rem;
}

body.pg-groen .quote .q-num { color: var(--green); }

.quote p {
  font-family: var(--serif);
  color: inherit;
  font-size: 1rem;
  line-height: 1.75;
}

/* CTA-blok: brede foto links (810x362), witte kaart overlapt rechts */
.cta-split .wrap {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
}

.cta-split img {
  width: 63%;
  aspect-ratio: 810 / 362;
  object-fit: cover;
}

.cta-split .card {
  position: relative;
  width: 59.5%;
  margin-left: auto;
  margin-top: calc(-1 * clamp(8rem, 20vw, 18rem));
  padding: clamp(1.75rem, 4vw, 3.5rem) clamp(1.5rem, 4vw, 4rem);
  z-index: 2;
}

.cta-split h2 { margin-bottom: 1.2rem; }

.cta-split .btn { margin-top: 1.8rem; }

.cta-noot {
  margin-top: 1.1rem;
  font-size: 0.9375rem;
  color: #3d4a46;
}

/* --------------------------------------------------------------------------
   Werkwijze-pagina
   -------------------------------------------------------------------------- */

/* flow-root: de bovenmarge van de kaart duwt de sectie niet meer omlaag,
   dus de foto begint direct onder de menubalk, zoals op Wix */
.banner {
  position: relative;
  display: flow-root;
}

/* Beeldband loopt niet de hele sectie door: de kaart steekt eronderuit
   op de crème achtergrond, zoals in het origineel */
.banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: min(630px, 74vw);
  object-fit: cover;
  object-position: center;
}

.banner-card {
  position: relative;
  z-index: 2;
  max-width: 852px;
  margin: clamp(4rem, 10.4vw, 9.4rem) auto 0;   /* 150px fotostrook boven de kaart */
  background: var(--white);
  padding: clamp(1.75rem, 4vw, 4rem);
}

.banner-card h1 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);   /* 56px op werkwijze */
  margin-bottom: 1.4rem;
  max-width: 13em;
}

/* Fotocollage: tafel 706x446 links-van-midden, worstelaars 285x386 overlappend */
.collage {
  position: relative;
  max-width: calc(var(--maxw) + 2 * var(--gut));
  margin: 0 auto;
  padding: var(--sec-y) var(--gut) calc(var(--sec-y) + 4rem);
}

.collage .collage-main {
  width: 55%;
  margin-left: 17%;
  aspect-ratio: 706 / 446;
  object-fit: cover;
  object-position: center 40%;
}

.collage .collage-side {
  position: absolute;
  left: 61%;
  top: calc(var(--sec-y) + 14.2rem);
  width: 22.3%;
  aspect-ratio: 285 / 386;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.banner-card h1 + p { margin-top: 0; }

.quotes .q-title-groot { font-size: clamp(2rem, 4vw, 3.5rem); }

/* Referenties: strand-band (300px) met witte kaart eroverheen */
.referenties { padding-bottom: 0; }

.ref-inner { max-width: 780px; margin: 0 auto; padding: 0 var(--gut); }

.referenties h2 {
  font-size: clamp(1.75rem, 3vw, 2.375rem);   /* 38px */
  margin-bottom: 3.5rem;
}

.ref-band {
  position: relative;
  padding-bottom: 4rem;
}

.ref-band .ref-bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.ref-card {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  background: var(--white);
  padding: clamp(1.75rem, 4vw, 3.25rem) clamp(1.25rem, 3vw, 2rem);
}

/* Zonder JS staan de referenties onder elkaar; main.js maakt er een slider van */
.ref-spoor { display: grid; gap: 2.5rem; }

.ref-dia {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.ref-slider.is-slider { padding-left: clamp(2.75rem, 6vw, 4.5rem); padding-right: clamp(2.75rem, 6vw, 4.5rem); }

.is-slider .ref-venster { overflow: hidden; }

.is-slider .ref-spoor {
  display: flex;
  gap: 0;
  transition: transform 0.9s cubic-bezier(0.45, 0, 0.25, 1);
}

.is-slider .ref-dia { flex: 0 0 100%; }

.ref-pijl {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  place-items: center;
  background: none;
  border: 0;
  color: var(--green);
  cursor: pointer;
}

.is-slider .ref-pijl { display: grid; }

.ref-vorige { left: clamp(0rem, 1vw, 0.75rem); }

.ref-volgende { right: clamp(0rem, 1vw, 0.75rem); }

.ref-pijl svg { width: 13px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.3; }

.ref-pijl:hover { color: var(--sage-diep); }

.ref-puntjes { display: none; justify-content: center; gap: 0.15rem; margin-top: 1.4rem; }

.is-slider .ref-puntjes { display: flex; }

.ref-puntjes button {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  cursor: pointer;
}

/* Zoals het origineel: actieve stip lichter salie, overige donkergroen */
.ref-puntjes button::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  transition: background 0.3s ease;
}

.ref-puntjes button[aria-current="true"]::before { background: var(--sage); }

.ref-card img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
}

.ref-card .ref-name {
  font-family: var(--serif);
  font-size: 1.25rem;             /* 20px */
  margin-bottom: 0.9rem;
}

.ref-card blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;                /* 16px */
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   Praktische informatie
   -------------------------------------------------------------------------- */

.banner--prakt .banner-bg { height: min(446px, 60vw); object-position: center 52%; }

.banner--prakt .banner-card {
  max-width: 1240px;
  margin-bottom: 0;
  padding: clamp(1.75rem, 5vw, 4.5rem) clamp(1.5rem, 9vw, 8.2rem) clamp(1.75rem, 5vw, 5rem);
}

.prakt-card h1 { margin-bottom: 2rem; }

.prakt-card h2 {
  font-size: 1.5625rem;           /* 25px */
  line-height: 1.75;
  margin: 2.1rem 0 0.4rem;
}

.prakt-card ul { padding-left: 1.55rem; }

.prakt-card li { margin: 0.15rem 0; }

.prakt-cta { margin-top: 2.6rem; }

/* Afsluitende oproep onderaan Werkwijze */
.slot-cta { text-align: center; padding: clamp(3rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 5.5rem); }

.slot-cta h2 { margin-bottom: 1rem; }

.slot-cta p { max-width: 36rem; margin: 0 auto 1.8rem; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-sectie { padding-top: clamp(1.5rem, 3vw, 2.6rem); padding-bottom: clamp(2.5rem, 3vw, 2.6rem); }

/* Zoals Wix: smal hoog salieblok links, formulier verticaal gecentreerd rechts */
.contact-grid {
  display: grid;
  grid-template-columns: 440fr 611fr;
  column-gap: clamp(2rem, 9.5vw, 8.5rem);
  align-items: center;
  max-width: calc(1188px + 2 * var(--gut));
}

.contact-intro {
  background: var(--sage-diep);
  color: var(--cream);
  align-self: stretch;
  padding: clamp(2rem, 6.5vw, 5.75rem) clamp(1.75rem, 4vw, 3.6rem) 3rem;
}

@media (min-width: 961px) {
  .contact-intro { min-height: 36rem; }
}

.contact-intro h1 { color: var(--cream); margin-bottom: 1.4rem; }

.contact-form { padding: 1rem 0; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.5rem;
}

.field { margin-bottom: 1.15rem; }

.field label {
  display: block;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--green);
  margin-bottom: 0.35rem;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--teal);
  background: var(--white);
  border-radius: 0;
  padding: 0.5rem 0.75rem;
  font-family: var(--sans);
  font-size: 1rem;                /* 16px: voorkomt inzoomen op iPhone */
  color: var(--green);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(12, 65, 57, 0.18);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #8A2B1D; }



.field textarea { min-height: 90px; resize: vertical; }

.contact-form .btn {
  width: 100%;
  border-radius: 18px;
  padding: 0.75rem;
  font-size: 0.9375rem;
}

.form-note {
  font-family: var(--sans);
  margin-top: 0.9rem;
  font-size: 0.9375rem;
  min-height: 1.5em;
}

.form-note a { color: inherit; }

.hp { position: absolute; left: -9999px; opacity: 0; }

/* Drie infovakken over de volle breedte, crème met donkergroene lijnen,
   direct aansluitend op de footer (zoals Wix) */
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid var(--green);
  border-bottom: 1px solid var(--green);
  background: var(--cream);
}

.contact-cards > div {
  padding: clamp(2.5rem, 6vw, 5.4rem) 2rem clamp(2.5rem, 6vw, 5rem);
  text-align: center;
}

.contact-cards > div + div { border-left: 1px solid var(--green); }

.contact-cards svg {
  width: 28px;
  height: 28px;
  stroke: var(--sage);
  fill: none;
  stroke-width: 1.3;
  margin: 0 auto 1.1rem;
}

.contact-cards h2 {
  font-size: 1.375rem;            /* 22px */
  margin-bottom: 0.9rem;
}

.contact-cards a { color: inherit; text-decoration: none; }

.contact-cards a:hover { text-decoration: underline; }

a[href^="tel:"] { color: inherit; text-decoration: none; }

a[href^="tel:"]:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Footer — sage, crème tekst; contact/links in Mulish (origineel: Avenir)
   -------------------------------------------------------------------------- */

.footer {
  background: var(--sage-diep);
  color: var(--cream);
  margin-top: var(--sec-y);
  padding: 2.6rem 0 1.4rem;
}

.footer a { color: var(--cream); }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer .f-brand-name {
  font-family: var(--serif);
  font-size: 1.375rem;            /* 22px */
  line-height: 1.3;
}

.footer .f-brand-sub {
  font-family: var(--serif);
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 1rem;
}

.footer .f-contact {
  font-family: var(--serif);
  font-size: 0.9375rem;
  line-height: 1.9;
}

.footer nav { display: grid; gap: 0.35rem; justify-content: start; }

.footer nav a {
  font-family: var(--serif);
  font-size: 0.9375rem;
  text-decoration: none;
}

.footer nav a:hover { text-decoration: underline; }

.footer .f-copy {
  font-family: var(--serif);
  text-align: center;
  font-size: 0.875rem;            /* 14px */
  opacity: 0.95;
  margin-top: 2.6rem;
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.nf {
  min-height: 55vh;
  display: grid;
  place-items: center;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .over-hans .card,
  .werkwijze-teaser,
  .contact-grid,
  .quotes .card { grid-template-columns: 1fr; }

  .over-hans .card { padding: clamp(1.75rem, 4vw, 3.5rem); }

  .quotes--smal .quotes-grid { grid-template-columns: 1fr 1fr; column-gap: 2rem; justify-content: stretch; }

  .cta-split img { width: 100%; }

  .cta-split .card { width: calc(100% - 2rem); margin: -3rem auto 0; }

  .werkwijze-teaser img { min-height: 320px; }

  .linkedin-float { top: 10rem; }

  /* Hamburgermenu tot 960px: daarboven past de menubalk niet op één regel */
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem var(--gut) 1.5rem;
    gap: 1rem;
    display: none;
    box-shadow: 0 12px 20px rgba(12, 65, 57, 0.08);
  }

  .nav.open { display: flex; }

  .nav-toggle { display: block; }

  .topbar-inner { min-height: 0; padding: 1rem var(--gut); }
}

@media (max-width: 680px) {
  .quotes-grid,
  .quotes--smal .quotes-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .contact-cards { grid-template-columns: 1fr; }

  .contact-cards > div { padding: 2rem var(--gut) 2.2rem; }

  .contact-cards > div + div { border-left: 0; border-top: 1px solid var(--green); }

  /* Contact mobiel zoals Wix: salieblok van rand tot rand, formulier er strak onder */
  .contact-sectie { padding-top: 0; }

  .contact-grid { row-gap: 1.75rem; }

  .contact-intro { margin: 0 calc(-1 * var(--gut)); padding: 1.6rem var(--gut) 2rem; }

  .contact-intro h1 { margin-bottom: 0.9rem; }

  .contact-form .btn { display: block; width: 70%; margin: 0.5rem auto 0; }

  /* Praktische informatie mobiel zoals Wix: geen foto, tekst direct op wit */
  .banner--prakt .banner-bg { display: none; }

  .banner--prakt .banner-card { margin: 0; padding: 2rem var(--gut) 2.5rem; }

  /* Wit loopt door tot de footer, zoals Wix */
  main:has(.banner--prakt) + .footer { margin-top: 0; }

  .contact-sectie { padding-bottom: 1.5rem; }

  .contact-form { padding-bottom: 0; }

  .footer-grid { grid-template-columns: 1fr; }

  .collage .collage-main { width: 100%; margin-left: 0; }

  .collage .collage-side { position: static; width: 70%; margin: -2.5rem auto 0 auto; }

  .ref-dia { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 1.5rem; }

  /* Twee kolommen (oneven/even) worden één lijst in nummervolgorde */
  .quotes-grid { row-gap: 3.5rem; }

  .quotes-col { display: contents; }

  .quote { order: var(--n, 0); }

  .linkedin-float { display: none; }
}

/* --------------------------------------------------------------------------
   Animaties zoals het Wix-origineel (gemeten 2026-11-02):
   foto Over Hans draait in, tafelfoto glijdt van links, worstelaars rijzen
   van onderen op, footer fadet in. main.js zet .speel zodra het in beeld komt.
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .js .oh-foto img:not(.speel),
  .js .collage-main:not(.speel),
  .js .collage-side:not(.speel),
  .js .footer-grid > :not(.speel),
  .js .footer .f-copy:not(.speel) { opacity: 0; }

  .oh-foto img.speel { animation: draai-in 1.2s both, fade-in 0.6s ease-in both; }

  .collage-main.speel { animation: glijd-in 1.2s cubic-bezier(0.45, 0, 0.25, 1) both; }

  .collage-side.speel { animation: rijs-in 1.1s cubic-bezier(0.45, 0, 0.25, 1) 0.15s backwards; }

  .footer-grid > .speel,
  .footer .f-copy.speel { animation: fade-in 1s ease-in-out both; }
}

/* Draaiende foto mag de pagina niet even breder maken */
.over-hans { overflow-x: clip; }

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes draai-in {
  0% { transform: translate(-237px, -62px) rotate(-42deg); animation-timing-function: cubic-bezier(0.2, 0.75, 0.35, 1); }
  48% { transform: translate(20px, 16px) rotate(4.3deg); animation-timing-function: ease-in-out; }
  100% { transform: none; }
}

@keyframes glijd-in {
  from { transform: translateX(-100vw); }
  to { transform: none; }
}

@keyframes rijs-in {
  from { transform: translateY(100%); clip-path: inset(0 0 100% 0); }
  to { transform: none; clip-path: inset(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .hero-content > * { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
}
