/* Leo Club Meppel — Lions/Leo-blauw en goud, groot en vol */

/* Archivo staat hier zelf, niet bij een lettertypedienst: dat scheelt twee vreemde
   domeinen in het kritieke pad. SIL Open Font License 1.1, zie fonts/OFL.txt. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/archivo-latin-400.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; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/archivo-latin-500.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; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/archivo-latin-600.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; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/archivo-latin-700.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; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/archivo-latin-800.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; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 900; font-display: swap; src: url(../fonts/archivo-latin-900.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 {
  /* Kleuren van de huidige leoclubmeppel.nl: middernachtblauw, leisteen, zilver en lichtgrijs */
  --blue: #2c3e50;
  --blue-deep: #22313f;
  --gold: #bdc3c7;
  --gold-soft: #d5dadd;
  --navy: #1c2833;
  --white: #ffffff;
  --sand: #f4f3f5;
  --text: #2c3e50;
  --text-soft: #5d6d7e;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --m: max(clamp(20px, 5vw, 80px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --g: clamp(16px, 2vw, 32px);
  --section: clamp(80px, 10vw, 160px);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: #1e2841; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: #1e2841; color: var(--text);
  font-family: var(--font); font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
main { display: block; background: var(--white); }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid #7f8c8d; outline-offset: 3px; }
::selection { background: var(--gold); color: var(--navy); }

.skip { position: absolute; left: var(--m); top: -100px; z-index: 60; background: var(--gold); color: var(--navy); padding: 10px 16px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border: 2px solid transparent; border-radius: 999px;
  font: 700 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.97); }
.btn-big { min-height: 58px; padding: 16px 32px; font-size: 1.125rem; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-deep); }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }

/* ---------- Titels ---------- */
.title {
  font-size: clamp(2.5rem, 1.4rem + 4.4vw, 5.5rem); font-weight: 900; line-height: 0.95;
  letter-spacing: -0.03em; text-transform: uppercase; color: var(--blue);
}
.title-light { color: var(--white); }
.hl { background: var(--gold); color: var(--navy); padding: 0 0.08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lead { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem); line-height: 1.4; font-weight: 500; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  color: var(--white); background: var(--navy); overflow: hidden; isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%;
  z-index: -2; animation: zoom 20s var(--ease) both;
}
@keyframes zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(20, 30, 40, 0.92) 0%, rgba(20, 30, 40, 0.55) 45%, rgba(20, 30, 40, 0.15) 70%, rgba(20, 30, 40, 0.55) 100%); /* taste-skill-ignore: scrim over foto */
}

.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: calc(22px + env(safe-area-inset-top, 0px)) var(--m) 22px; position: relative; z-index: 5; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; font-size: 1.0625rem; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.02em; }
.wordmark img { width: 48px; height: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 36px); }
.nav-links a:not(.btn) { text-decoration: none; font-weight: 600; padding: 8px 0; position: relative; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.menu-toggle { display: none; }

.hero-content { margin-top: auto; padding: 0 var(--m) clamp(48px, 8vh, 96px); }
.hero h1 {
  font-size: clamp(3.5rem, 0.6rem + 12.4vw, 13.5rem); font-weight: 900; line-height: 0.85;
  letter-spacing: -0.045em; text-transform: uppercase; margin-left: -0.04em;
}
.hero h1 span { display: block; white-space: nowrap; }
.hero h1 span:last-child { color: var(--gold); }
.hero-sub { max-width: 34ch; margin-top: 28px; font-size: clamp(1.1875rem, 1rem + 0.7vw, 1.625rem); line-height: 1.35; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero h1, .hero-sub, .hero-actions { animation: rise 0.9s var(--ease) both; }
.hero-sub { animation-delay: 0.12s; }
.hero-actions { animation-delay: 0.22s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Over ons ---------- */
.over {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center;
  padding: var(--section) var(--m);
}
.over-text { display: grid; gap: 24px; }
.over-text p:not(.lead) { color: var(--text-soft); max-width: 60ch; }
.over-photo { position: relative; }
.over-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.over-photo::before { content: ""; position: absolute; inset: 24px -24px auto 24px; aspect-ratio: 4 / 5; background: var(--gold); border-radius: var(--radius); z-index: -1; }
.over-photo { isolation: isolate; }
.over-photo figcaption { margin-top: 40px; font-size: 0.9375rem; font-weight: 600; color: var(--text-soft); }

/* ---------- LEO ---------- */
.leo { background: var(--blue); color: var(--white); padding: var(--section) var(--m); }
.leo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--g); margin-top: clamp(40px, 5vw, 72px); }
.leo-item { background: #34495e; border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); transition: transform 0.3s var(--ease), background-color 0.3s; }
.leo-item:hover { transform: translateY(-6px); background: #3d566e; }
.leo-letter { font-size: clamp(7rem, 4rem + 9vw, 13rem); font-weight: 900; line-height: 0.8; color: var(--gold); letter-spacing: -0.05em; }
.leo-item h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; margin: 20px 0 12px; }
.leo-item p:not(.leo-letter) { color: #e1e6ea; }

/* ---------- Wat we doen ---------- */
.doen { padding: var(--section) 0 0; }
.doen-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--g); align-items: end; padding: 0 var(--m); margin-bottom: clamp(40px, 5vw, 64px); }
.doen-head .lead { color: var(--text-soft); max-width: 32ch; }
.tiles { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(300px, 38vh)); gap: 6px; }
.tile { position: relative; overflow: hidden; color: var(--white); background: var(--navy); }
.tile-big { grid-row: span 2; }
.tile:nth-child(4) { grid-column: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 30, 40, 0.88), rgba(20, 30, 40, 0.1) 60%); } /* taste-skill-ignore: scrim over foto */
.tile-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(20px, 2.4vw, 36px); }
.tile h3 { font-size: clamp(1.25rem, 0.95rem + 0.8vw, 1.875rem); overflow-wrap: anywhere; font-weight: 900; text-transform: uppercase; line-height: 1; letter-spacing: -0.01em; }
.tile-big h3 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.75rem); }
.tile p { margin-top: 8px; max-width: 40ch; font-weight: 500; }

/* ---------- Cijfers ---------- */
.cijfers { padding: var(--section) var(--m); background: var(--sand); }
.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--g); margin-top: clamp(40px, 5vw, 64px); }
.figures div { border-top: 6px solid var(--gold); padding-top: 20px; }
.figures dt { font-size: clamp(2.75rem, 1.6rem + 4vw, 5.5rem); font-weight: 900; color: var(--blue); line-height: 1; letter-spacing: -0.04em; white-space: nowrap; }
.figures dd { margin-top: 10px; font-weight: 600; color: var(--text-soft); }

.leeftijd {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px var(--g); align-items: end;
  margin-top: clamp(48px, 6vw, 88px); padding: clamp(28px, 3.5vw, 48px);
  background: var(--gold); color: var(--navy); border-radius: var(--radius);
}
.leeftijd h3 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); font-weight: 900; text-transform: uppercase; line-height: 1; letter-spacing: -0.02em; }
.leeftijd-intro p { margin-top: 10px; font-weight: 500; }
.leeftijd label { display: block; font-weight: 700; margin-bottom: 8px; }
.leeftijd-row { display: flex; gap: 10px; }
.leeftijd input {
  flex: 1; min-width: 0; min-height: 56px; padding: 10px 18px; border: 2px solid var(--navy); border-radius: 999px;
  font: 600 1.25rem var(--font); color: var(--navy); background: var(--white);
}
.leeftijd .btn { min-height: 56px; }
.leeftijd-uitkomst { grid-column: 1 / -1; font-size: 1.125rem; font-weight: 500; min-height: 3.2em; }
.leeftijd-uitkomst strong { font-weight: 900; font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); text-transform: uppercase; letter-spacing: -0.01em; display: block; line-height: 1.1; margin-bottom: 4px; }

/* ---------- Lid worden ---------- */
.lid { background: var(--navy); color: var(--white); padding: var(--section) var(--m); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--g); margin: clamp(40px, 5vw, 64px) 0 clamp(40px, 5vw, 56px); counter-reset: step; }
.step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: 22px; }
.step h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); font-weight: 900; text-transform: uppercase; color: var(--gold); letter-spacing: -0.01em; margin-bottom: 8px; }
.step p { color: #d5dadd; max-width: 38ch; }

/* ---------- Veelgestelde vragen ---------- */
.faq {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: start;
  padding: var(--section) var(--m);
}
.faq-head { display: grid; gap: 22px; position: sticky; top: clamp(24px, 4vw, 56px); }
.faq-head .lead { color: var(--text-soft); max-width: 30ch; }
.faq-head .lead a { font-weight: 700; color: var(--blue); }
.faq-item { border-top: 2px solid #dfe3e6; }
.faq-item:last-child { border-bottom: 2px solid #dfe3e6; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: clamp(16px, 3vw, 32px);
  padding: clamp(20px, 2.2vw, 28px) 0; cursor: pointer; list-style: none;
  font-size: clamp(1.125rem, 1rem + 0.55vw, 1.5rem); font-weight: 800; line-height: 1.25;
  letter-spacing: -0.01em; color: var(--blue); transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--navy); }
.faq-item summary::after {
  content: ""; flex: none; width: 22px; height: 22px;
  background:
    linear-gradient(var(--blue), var(--blue)) center / 22px 3px no-repeat,
    linear-gradient(var(--blue), var(--blue)) center / 3px 22px no-repeat;
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-answer { padding: 0 clamp(16px, 3vw, 32px) clamp(22px, 2.4vw, 30px) 0; }
.faq-answer p { max-width: 58ch; color: var(--text-soft); }
.faq-answer a { font-weight: 700; color: var(--blue); }
.faq-answer .faq-credits { margin-top: 14px; max-width: 78ch; font-size: 0.75rem; line-height: 1.7; color: #7f8c8d; }
.faq-answer .faq-credits a { font-weight: 500; color: #7f8c8d; text-decoration-thickness: 1px; }
.faq-answer .faq-credits a:hover { color: var(--blue); }
.faq-item[open] .faq-answer { animation: faq-open 0.3s var(--ease) both; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Contact ---------- */
.contact {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--g) clamp(32px, 6vw, 96px); align-items: end;
  background: var(--gold); color: var(--navy); padding: var(--section) var(--m);
}
.contact .title { color: var(--navy); }
.contact-main { display: grid; gap: 24px; }
.contact-mail {
  font-size: clamp(1.5rem, 0.8rem + 3vw, 3.5rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.05;
  text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 0.12em; overflow-wrap: anywhere;
}
.contact-mail:hover { color: var(--blue); }
.contact-side h3 { font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 8px; }
.contact-side .social + h3 { margin-top: 28px; }
.contact-side li { font-size: 1.125rem; font-weight: 600; margin-bottom: 4px; }
.contact-side p { font-size: 1.125rem; font-weight: 500; }

/* ---------- Footer ---------- */
.footer { background: var(--blue-deep); color: var(--white); padding: clamp(56px, 6vw, 88px) var(--m) 32px; }
.footer-top { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: var(--g); align-items: start; }
.footer .wordmark { font-size: 1.25rem; }
.footer .wordmark img { width: 56px; }
.footer-links { columns: 2; column-gap: var(--g); }
.footer-links li, .footer-data li { margin-bottom: 8px; font-weight: 500; }
.footer-links a, .footer-data a { text-decoration: none; }
.footer-links a:hover, .footer-data a:hover { text-decoration: underline; color: var(--gold); }
.footer-data { color: #bdc3c7; }
.footer-data a { color: var(--white); }
.footer-legal { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; font-size: 0.875rem; color: #a9b4bd; }
.footer-legal a { color: var(--white); }

/* ---------- Instagram en Facebook ---------- */
.social { display: flex; flex-wrap: wrap; gap: 12px; }
.social-link { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; transition: transform 0.2s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s; }
.social-link:hover { transform: translateY(-2px); }
.social-icon { width: 24px; height: 24px; flex: none; }
.social-text { display: grid; line-height: 1.15; }
.social-label { font-weight: 800; }
.social-handle { font-weight: 500; font-size: 0.9375rem; opacity: 0.85; }

.hero-social { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; margin-top: 28px; }
.hero-social > p { font-weight: 700; font-size: 1rem; }
.social-hero .social-link { min-height: 48px; padding: 10px 20px 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); border: 2px solid rgba(255, 255, 255, 0.55); color: var(--white); font-size: 1rem; }
.social-hero .social-link:hover { background: var(--white); color: var(--blue); border-color: var(--white); }

.social-contact { flex-direction: column; gap: 12px; margin-bottom: 4px; }
.social-contact .social-link { width: 100%; min-height: 64px; padding: 12px 22px 12px 16px; border-radius: 999px; background: var(--blue); color: var(--white); font-size: 1.125rem; }
.social-contact .social-icon { width: 30px; height: 30px; }
.social-contact .social-link:hover { background: var(--navy); }

.social-footer { margin-top: 20px; }
.social-footer .social-link { width: 48px; height: 48px; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: var(--white); }
.social-footer .social-link:hover { background: var(--white); color: var(--blue); }

/* ---------- Binnenkomst ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { transform: none; transition: opacity 0.3s; }
  .hero-bg, .hero h1, .hero-sub, .hero-actions { animation: none; }
  .tile img, .leo-item, .btn, .social-link { transition: none; }
  .faq-item summary::after, .faq-item[open] .faq-answer { animation: none; transition: none; }
}

/* ---------- Intro: het logo tekent zich, en schuift dan naar zijn plek in de balk ---------- */
.intro { display: none; }
.intro .intro-logo path { fill-opacity: 0; stroke: var(--white); stroke-width: 1.1; stroke-dasharray: 1; stroke-dashoffset: 1; }
html.has-intro { overflow: hidden; scrollbar-gutter: stable; }
html.has-intro.intro-done { overflow: auto; }
html.has-intro .intro {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 100;
  background: var(--navy); cursor: pointer;
  animation: intro-failsafe 0.4s 8.5s forwards;
}
html.has-intro .intro-logo {
  width: min(56vmin, 380px); height: auto; overflow: visible; transform-origin: 50% 50%;
  animation: intro-arrive 2.7s var(--ease) both, intro-breathe 0.8s 2.65s ease-in-out;
}
html.has-intro .intro-logo path {
  animation: intro-draw 1.7s 0.2s cubic-bezier(0.65, 0, 0.35, 1) forwards, intro-fill 0.9s 1.6s var(--ease) forwards;
}
html.has-intro .intro-logo path:nth-child(3n + 1) { animation-delay: 0.1s, 1.5s; }
html.has-intro .intro-logo path:nth-child(3n + 2) { animation-delay: 0.4s, 1.7s; }
html.has-intro .nav .wordmark img { opacity: 0; }
html.intro-replay .intro { animation: none; }
html.has-intro.intro-done .nav .wordmark img { opacity: 1; }
/* De hero komt pas binnen als het logo naar zijn plek vliegt */
html.has-intro .hero h1 { animation-delay: 3.6s; }
html.has-intro .hero-sub { animation-delay: 3.75s; }
html.has-intro .hero-actions { animation-delay: 3.88s; }
html.has-intro .hero-social { animation: rise 0.9s 4s var(--ease) both; }

@keyframes intro-draw { to { stroke-dashoffset: 0; } }
@keyframes intro-fill { to { fill-opacity: 1; stroke-opacity: 0; } }
@keyframes intro-arrive { from { transform: scale(0.86) rotate(-4deg); opacity: 0; } 12% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes intro-breathe { 50% { transform: scale(1.04); } }
@keyframes intro-failsafe { to { opacity: 0; visibility: hidden; } }

/* ---------- Tablet ---------- */
@media (max-width: 1000px) {
  .leo-grid { grid-template-columns: 1fr; }
  .leo-item { display: grid; grid-template-columns: auto 1fr; column-gap: 28px; align-items: center; }
  .leo-letter { grid-row: span 2; font-size: 7rem; }
  .leo-item h3 { margin-top: 0; }
  .figures { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .leeftijd { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; gap: clamp(28px, 6vw, 40px); }
  .faq-head { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Menu achter de knop zodra de balk krap wordt ---------- */
@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.14); border: 2px solid rgba(255, 255, 255, 0.5); color: var(--white);
    font: 700 1rem var(--font); cursor: pointer;
  }
  .nav-links {
    display: none; position: absolute; top: 84px; left: var(--m); right: var(--m); flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); color: var(--navy); border-radius: var(--radius); padding: 10px 20px 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); /* taste-skill-ignore: zwevend menu */
  }
  .nav-links.is-open { display: flex; }
  .nav-links a:not(.btn) { display: block; padding: 12px 0; font-size: 1.125rem; }
  .nav-cta { margin-top: 10px; }
  .nav-cta .btn { width: 100%; }
}

/* ---------- Telefoon ---------- */
@media (max-width: 760px) {
  .hero-bg { object-position: 58% 50%; }
  .hero h1 { font-size: 17.5vw; }
  .hero-actions .btn { flex: 1 1 auto; }

  .over { grid-template-columns: 1fr; }
  .over-photo { width: 82%; }
  .doen-head { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: auto; }
  .tile { height: 320px; }
  .tile-big { grid-row: auto; height: 400px; }
  .tile:nth-child(4) { grid-column: auto; }
  .figures { gap: 32px 20px; }
  .leeftijd-row { flex-direction: column; }
  .leo-item { grid-template-columns: 1fr; }
  .leo-letter { font-size: 6rem; grid-row: auto; }
  .leo-item h3 { margin-top: 14px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .contact { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-legal { flex-direction: column; }
}
