/* ==========================================================================
   Trimclub Laan van Poot — stylesheet
   Fris, toegankelijk, met ruime typografie voor 50-plussers.
   ========================================================================== */

:root {
  --blue: #12699F;
  --blue-dark: #0E4C74;
  --blue-ink: #0A3350;
  --green: #3E9B44;
  --green-dark: #2E7A33;
  --sand: #FAF6EE;
  --sand-2: #F1E9DA;
  --ink: #17242C;
  --muted: #4E5D66;
  --white: #ffffff;
  --sun: #FFC24B;

  --maxw: 1140px;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow: 0 14px 40px rgba(14, 76, 116, 0.14);
  --shadow-sm: 0 4px 14px rgba(14, 76, 116, 0.10);

  --font: "Söhne", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;      /* 18px baseline for legibility */
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

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

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }
a { color: var(--blue-dark); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 88px 0; }
.section--tint { background: var(--white); }
.section__intro { max-width: 720px; margin-bottom: 48px; }
.section__eyebrow {
  display: inline-block;
  font-size: .95rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-dark); margin-bottom: 12px;
}
.section__intro p { font-size: 1.2rem; color: var(--muted); }

/* ---------- Buttons ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: 16px 30px;
  font: inherit; font-weight: 700; font-size: 1.05rem;
  border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(62,155,68,.35); }
.btn--primary:hover { background: var(--green-dark); }
.btn--light { background: #fff; color: var(--blue-ink); border-color: rgba(255,255,255,.6); }
.btn--outline { background: transparent; color: var(--blue-dark); border-color: var(--blue-dark); }
.btn--outline:hover { background: var(--blue-dark); color: #fff; }

/* ---------- Header --------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 238, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand-2);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.site-header__right { display: flex; align-items: center; gap: 16px; }

.lang-switch {
  display: inline-flex; flex: none; gap: 3px;
  padding: 3px; border: 1.5px solid var(--sand-2); border-radius: 999px; background: var(--white);
}
.lang-switch button {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 30px; padding: 0; border: 0; border-radius: 999px;
  background: transparent; cursor: pointer; opacity: .45;
  transition: opacity .15s ease, background .15s ease;
}
.lang-switch button svg {
  width: 22px; height: 15px; border-radius: 3px; display: block;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.15);
}
.lang-switch button[aria-pressed="true"] { opacity: 1; background: var(--sand-2); }
.lang-switch button:hover { opacity: .8; }
.lang-switch button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-weight: 800; }
.brand img { width: 46px; height: 46px; }
.brand span { line-height: 1.1; font-size: 1.05rem; }
.brand small { display: block; font-weight: 600; color: var(--muted); font-size: .82rem; letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 14px; border-radius: 10px;
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1rem;
}
.nav a:hover { background: var(--sand-2); }
.nav .btn { margin-left: 10px; padding: 11px 22px; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 30px; height: 30px; }

@media (max-width: 560px) {
  .brand small { display: none; }
  .brand span { font-size: 1rem; }
  .brand img { width: 40px; height: 40px; }
  .site-header__right { gap: 10px; }
  .lang-switch button { width: 30px; height: 26px; }
  .lang-switch button svg { width: 19px; height: 13px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--sand); padding: 16px 24px 24px;
    border-bottom: 1px solid var(--sand-2);
    box-shadow: var(--shadow-sm);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 1.1rem; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* ---------- Hero ---------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 45%, var(--green-dark) 100%);
  color: #fff;
}
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
  padding-block: 96px 120px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.14); padding: 8px 16px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: .04em; margin-bottom: 22px;
}
.hero h1 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.15); }
.hero__lead { font-size: 1.3rem; color: rgba(255,255,255,.92); max-width: 46ch; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; }
.hero__facts div { }
.hero__facts b { display: block; font-size: 1.9rem; font-weight: 800; }
.hero__facts span { color: rgba(255,255,255,.8); font-size: .98rem; }

.hero__art { position: relative; }
.hero__badge {
  width: min(360px, 80%); height: auto; aspect-ratio: 1; margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.28));
}
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; display: block; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; padding-block: 56px 84px; text-align: left; }
  .hero__art { order: -1; }
  .hero__badge { width: 200px; }
}

/* ---------- Feature cards ------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--sand); border: 1px solid var(--sand-2); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
}
.section--tint .card { background: var(--white); }
.card__icon {
  width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--green)); color: #fff; margin-bottom: 18px;
}
.card__icon svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); margin: 0; }

@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Split (over ons) -------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 16/11; object-fit: cover; width: 100%; }
.split__media figcaption { margin-top: 12px; color: var(--muted); font-size: .95rem; }
.split ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.split li { display: flex; gap: 12px; align-items: flex-start; }
.split li svg { flex: none; width: 26px; height: 26px; color: var(--green); margin-top: 2px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- About video ------------------------------------------- */
.about-video { margin-top: 72px; }
.about-video__head { max-width: 620px; margin: 0 auto 28px; text-align: center; }
.about-video__head h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .4em; }
.about-video__head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

.video-frame { max-width: 900px; margin: 0 auto; }
.video-frame__box {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  background: #0A1620; aspect-ratio: 16/9;
}
.video-frame__box video { display: block; width: 100%; height: 100%; }
.video-frame figcaption { margin-top: 14px; text-align: center; color: var(--muted); font-size: .9rem; }

/* ---------- Schedule --------------------------------------------- */
.schedule { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.day {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--sand-2); box-shadow: var(--shadow-sm);
}
.day--main { background: linear-gradient(160deg, var(--blue), var(--blue-dark)); color: #fff; border: 0; }
.day h3 { font-size: 1.4rem; }
.day .time { font-weight: 700; font-size: 1.05rem; }
.day--main .time { color: var(--sun); }
.day p { margin: .5rem 0 0; color: var(--muted); }
.day--main p { color: rgba(255,255,255,.9); }
.practical {
  margin-top: 30px; background: var(--white); border: 1px solid var(--sand-2);
  border-radius: var(--radius); padding: 26px 30px; box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px 34px;
}
.practical dt { font-weight: 700; color: var(--blue-dark); }
.practical dd { margin: 2px 0 0; color: var(--muted); }
@media (max-width: 800px) { .schedule { grid-template-columns: 1fr; } }

/* ---------- Timeline -------------------------------------------- */
.timeline { position: relative; display: grid; gap: 34px; }
.timeline::before {
  content: ""; position: absolute; left: 14px; top: 6px; bottom: 6px; width: 3px;
  background: linear-gradient(var(--blue), var(--green)); border-radius: 3px;
}
.tl-item { position: relative; padding-left: 52px; }
.tl-item::before {
  content: ""; position: absolute; left: 6px; top: 4px; width: 19px; height: 19px;
  background: var(--white); border: 4px solid var(--green); border-radius: 50%;
}
.tl-item time { font-weight: 800; color: var(--blue-dark); font-size: 1.15rem; }
.tl-item p { margin: 2px 0 0; color: var(--muted); }

/* ---------- Gallery -------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 14px; box-shadow: var(--shadow-sm); }
.gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px;
  color: #fff; font-size: .9rem; font-weight: 600;
  background: linear-gradient(transparent, rgba(10,51,80,.82));
}
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Testimonials -------------------------------------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.quote {
  background: var(--white); border-radius: var(--radius); padding: 32px;
  border: 1px solid var(--sand-2); box-shadow: var(--shadow-sm);
}
.quote p { font-size: 1.2rem; font-style: italic; color: var(--ink); }
.quote footer { margin-top: 14px; font-style: normal; font-weight: 700; color: var(--blue-dark); }
.quote footer span { display: block; font-weight: 600; color: var(--muted); font-size: .95rem; }
@media (max-width: 800px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- CTA band ----------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--green-dark), var(--blue-dark));
  color: #fff; border-radius: var(--radius-lg); padding: 56px; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 1.2rem; max-width: 52ch; margin: 0 auto 28px; }

/* ---------- Contact ----------------------------------------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
.contact-card { display: grid; gap: 22px; }
.contact-card .row { display: flex; gap: 14px; align-items: flex-start; }
.contact-card .row svg { flex: none; width: 26px; height: 26px; color: var(--green); margin-top: 3px; }
.contact-card b { display: block; }
.contact-card a { color: var(--blue-dark); font-weight: 600; }

/* Beide kolommen vullen de rij, zodat kaart en formulier onderaan gelijk eindigen. */
.contact-info, .contact-form { display: flex; flex-direction: column; }
.map-card { flex: 1; display: flex; flex-direction: column; margin: 28px 0 0; background: var(--white);
  border: 1px solid var(--sand-2); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.map-card iframe { display: block; flex: 1; width: 100%; min-height: 300px; border: 0; }
.map-card figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 6px 16px; padding: 14px 18px; font-size: .95rem; color: var(--muted); border-top: 1px solid var(--sand-2); }
.map-card figcaption a { color: var(--blue-dark); font-weight: 600; white-space: nowrap; }

/* Formulierkaart: diepblauw vlak met witte velden, als tegenhanger van de lichte kaart links. */
.form-card {
  flex: 1; display: flex; flex-direction: column; gap: 24px;
  padding: 36px; border-radius: var(--radius-lg); color: #fff;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(62, 155, 68, .28), transparent 60%),
    linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 55%, var(--blue-ink) 100%);
  box-shadow: var(--shadow);
}
.form-card__head h3 { color: #fff; font-size: 1.6rem; margin-bottom: .3em; }
.form-card__head p { margin: 0; color: rgba(255, 255, 255, .82); }
.form-note { font-size: .9rem; color: rgba(255, 255, 255, .7); margin: 0; }

/* Formspree-formulier (aangepast van de Formspree-stijlen aan de huisstijl);
   het berichtveld groeit mee, zodat de kaart netjes de kolom vult. */
.fs-form { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.fs-field { display: flex; flex-direction: column; row-gap: 8px; }
.fs-field--grow { flex: 1; }
.fs-label { font-weight: 700; font-size: 1rem; color: #fff; }
.fs-description { margin: 0; font-size: .9rem; color: rgba(255, 255, 255, .75); }
.fs-input, .fs-textarea {
  font: inherit; font-size: 1.05rem; color: var(--ink); background: var(--sand);
  border: 0; border-radius: 12px; box-shadow: inset 0 0 0 1.5px rgba(10, 51, 80, .15);
  padding: 12px 16px; outline: none; transition: box-shadow .15s ease, background .15s ease;
}
.fs-input { height: 52px; }
.fs-textarea { flex: 1; min-height: 140px; resize: vertical; }
.fs-input:hover, .fs-textarea:hover { background: #fff; }
.fs-input:focus-visible, .fs-textarea:focus-visible {
  background: #fff; box-shadow: inset 0 0 0 2px var(--blue); outline: 3px solid var(--sun); outline-offset: 2px;
}
.fs-button-group { display: flex; }
.fs-button-group .btn { box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.fs-button-group .btn:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .map-card iframe { aspect-ratio: 16 / 10; min-height: 280px; }
  .form-card { padding: 28px 22px; } }

/* ---------- Footer ---------------------------------------- */
.site-footer { background: var(--blue-ink); color: rgba(255,255,255,.82); padding: 56px 0 30px; }
.site-footer a { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer__brand { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.site-footer__brand img { width: 44px; height: 44px; }
.site-footer__brand b { color: #fff; font-size: 1.1rem; }
.site-footer__meta { font-size: .9rem; color: rgba(255,255,255,.6); margin: 0; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; font-size: .9rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 800px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal -------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Skip link ----------------------------------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; background: #fff; color: var(--blue-ink);
  padding: 10px 18px; border-radius: 8px; font-weight: 700; z-index: 100; transition: top .2s;
}
.skip-link:focus { top: 12px; }
