/* ===== Sporten met JP - design system ===== */

:root {
    --olive: #556B2F;
    --olive-dark: #3f5022;
    --olive-deep: #2e3a1b;
    --sage: #8FBC8F;
    --sage-light: #A2D5A2;
    --cream: #f6f4ee;
    --ink: #2b3220;          /* dark text on cream */
    --ink-muted: #5a6348;
    --text: #f3f4ee;
    --text-muted: #dcdfd2;
    --radius: 16px;
    --radius-lg: 24px;
    --maxw: 1080px;
    --maxw-narrow: 760px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.28);
    --space: clamp(56px, 8vw, 110px);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--olive);
    color: var(--text);
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-wrap: break-word;
}

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

h1, h2, h3 {
    font-family: 'Archivo', 'Inter', sans-serif;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 18px; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.35rem); margin-bottom: 10px; }

p { margin-bottom: 18px; color: inherit; }

a { color: var(--sage-light); }

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--sage-light);
    margin-bottom: 14px;
}

.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); }

/* Accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
    outline: 3px solid var(--sage-light);
    outline-offset: 2px;
}
.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: #fff; color: #000; padding: 10px 16px;
    border-radius: 0 0 8px 0; z-index: 1200;
}
.skip-link:focus { left: 0; }
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ===== Header / nav ===== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(46, 58, 27, 0.85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 92px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}
.nav a:hover, .nav a:focus-visible { color: var(--sage-light); }
.nav a[aria-current="page"] { color: var(--sage-light); font-weight: 700; }
/* keep the CTA button legible: dark text on its green pill, not the muted nav color */
.nav a.btn, .nav a.btn:hover, .nav a.btn:focus-visible { color: #1a1f12; }

.nav-toggle {
    display: none; background: transparent; border: 0; cursor: pointer; padding: 10px;
}
.nav-toggle span { display: block; width: 26px; height: 3px; background: #fff; border-radius: 3px; transition: 0.3s; }
.nav-toggle span + span { margin-top: 5px; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--sage);
    color: #1a1f12;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.12s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.btn:hover, .btn:focus-visible { background: var(--sage-light); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }

.btn-lg { padding: 17px 36px; font-size: 1.08rem; }
.btn-ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.55);
    box-shadow: none;
}
.btn-ghost:hover, .btn-ghost:focus-visible { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn-secondary { background: #e6e6e6; color: #222; box-shadow: none; }
.btn-secondary:hover, .btn-secondary:focus-visible { background: #d4d4d4; }

.btn-wa { background: #25D366; color: #0b2e16; }
.btn-wa:hover, .btn-wa:focus-visible { background: #1ebe5a; }

/* ===== Layout: bands & sections ===== */
main { flex: 1; }

.band { padding: var(--space) 24px; }
.band--olive { background: var(--olive); color: var(--text); }
.band--dark { background: var(--olive-dark); color: var(--text); }
.band--deep { background: var(--olive-deep); color: var(--text); }
.band--cream { background: var(--cream); color: var(--ink); }
.band--cream p { color: var(--ink-muted); }
.band--cream .eyebrow { color: var(--olive); }
.band--cream a { color: var(--olive); }

.wrap { max-width: var(--maxw); margin: 0 auto; }
.wrap-narrow { max-width: var(--maxw-narrow); margin: 0 auto; }
.center { text-align: center; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head p { font-size: 1.1rem; }

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: clamp(520px, 80vh, 760px);
    display: flex;
    align-items: center;
    padding: 60px 24px;
    background: var(--olive-deep);
    overflow: hidden;
}
.hero__bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(28, 36, 16, 0.92) 0%, rgba(46, 58, 27, 0.78) 45%, rgba(46, 58, 27, 0.35) 100%);
    z-index: 1;
}
.hero__inner {
    position: relative;
    z-index: 2;
    max-width: var(--maxw);
    margin: 0 auto;
    width: 100%;
}
.hero__content { max-width: 620px; }
.hero h1 { margin-bottom: 18px; }
.hero .lead { color: var(--text-muted); margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ===== Credibility strip ===== */
.cred {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 36px;
    padding: 22px 24px;
    background: var(--olive-deep);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cred span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
}
.cred svg { width: 20px; height: 20px; color: var(--sage-light); flex: none; }

/* ===== Steps (Zo werkt het) ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { text-align: center; }
.step__num {
    width: 56px; height: 56px; margin: 0 auto 16px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--olive);
    color: #fff;
    font-family: 'Archivo', sans-serif;
    font-weight: 800; font-size: 1.4rem;
}
.band--cream .step__num { background: var(--olive); color: #fff; }

/* ===== Feature / icon cards ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 28px;
    border-radius: var(--radius);
    transition: transform 0.18s ease, background 0.18s ease;
}
.card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.1); }
.band--cream .card {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow);
}
.card__icon {
    width: 48px; height: 48px; margin-bottom: 16px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: var(--sage-light);
    color: var(--olive-deep);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 6px; }
.card p { margin-bottom: 0; font-size: 0.95rem; }

/* compact chip cards (benefits list) */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 0.92rem;
}
.chip svg { width: 16px; height: 16px; color: var(--sage-light); }

/* ===== Split (text + image) ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.split img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
/* portrait photos: use a tall portrait frame anchored to the top so both the
   head and the chest logo stay visible (instead of a square centre-crop) */
.split img.media-face { height: auto; max-height: none; aspect-ratio: 4 / 5; object-position: 50% 0%; }
.split--reverse .split__media { order: -1; }

/* ===== Testimonials (slider) ===== */
.testimonials-slider { position: relative; padding: 0 8px; }
.testimonials {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 4px 4px 12px;
    margin: -4px -4px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.testimonials::-webkit-scrollbar { display: none; }
.testimonial {
    scroll-snap-align: start;
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
    background: #fff; color: var(--ink);
    padding: 28px; border-radius: var(--radius);
    box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.ts-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; flex: none;
    display: grid; place-items: center;
    border: 0; border-radius: 50%; cursor: pointer;
    background: var(--sage); color: #1a1f12;
    box-shadow: var(--shadow); z-index: 5;
    transition: background 0.2s ease, transform 0.12s ease, opacity 0.2s ease;
}
.ts-arrow svg { width: 20px; height: 20px; }
.ts-arrow:hover, .ts-arrow:focus-visible { background: var(--sage-light); }
.ts-arrow:active { transform: translateY(-50%) scale(0.94); }
.ts-arrow:disabled { opacity: 0.35; cursor: default; }
.ts-arrow:disabled:hover { background: var(--sage); }
.ts-prev { left: -22px; }
.ts-next { right: -22px; }
.stars { color: #f0a500; letter-spacing: 2px; margin-bottom: 12px; font-size: 1.05rem; }
.testimonial blockquote { font-style: italic; margin-bottom: 18px; color: var(--ink); }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial .who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testimonial .who strong { display: block; color: var(--ink); }
.testimonial .who span { font-size: 0.85rem; color: var(--ink-muted); }
.placeholder-note {
    text-align: center; font-size: 0.85rem; opacity: 0.7; margin-top: 22px;
}

/* ===== Pricing ===== */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
    background: #fff; color: var(--ink);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow);
    display: flex; flex-direction: column;
    position: relative;
    border: 2px solid transparent;
}
.price-card--featured { border-color: var(--sage); transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.price-card__badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--sage); color: #1a1f12; font-weight: 700; font-size: 0.78rem;
    padding: 6px 16px; border-radius: 999px; white-space: nowrap;
}
.price-card h3 { color: var(--ink); }
.price-card .amount { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 2.4rem; color: var(--olive); margin: 8px 0 2px; }
.price-card .per { color: var(--ink-muted); font-size: 0.9rem; margin-bottom: 20px; }
.price-card ul { list-style: none; margin: 0 0 26px; text-align: left; }
.price-card li { display: flex; gap: 10px; padding: 7px 0; color: var(--ink-muted); font-size: 0.95rem; }
.price-card li svg { width: 18px; height: 18px; color: var(--sage); flex: none; margin-top: 3px; }
.price-card .btn { margin-top: auto; justify-content: center; }

/* ===== FAQ ===== */
.faq { max-width: var(--maxw-narrow); margin: 0 auto; }
.faq details {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
}
.band--cream .faq details { background: #fff; border-color: rgba(0, 0, 0, 0.08); box-shadow: var(--shadow); }
.faq summary {
    cursor: pointer; list-style: none;
    padding: 20px 24px; font-weight: 700; font-size: 1.05rem;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; font-size: 1.5rem; font-weight: 400; line-height: 1; transition: transform 0.2s;
    color: var(--sage-light);
}
.band--cream .faq summary::after { color: var(--olive); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { padding: 0 24px 22px; margin: 0; }

/* ===== Lead form ===== */
.lead-form {
    background: #fff; color: var(--ink);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 4vw, 44px);
    box-shadow: var(--shadow-lg);
    max-width: 560px; margin: 0 auto;
}
.lead-form .field { margin-bottom: 18px; text-align: left; }
.lead-form label { display: block; font-weight: 600; margin-bottom: 7px; color: var(--ink); font-size: 0.95rem; }
.lead-form input, .lead-form select, .lead-form textarea {
    width: 100%; padding: 13px 15px;
    border: 1.5px solid #d6d8cd; border-radius: 10px;
    font: inherit; color: var(--ink); background: #fbfbf8;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
    border-color: var(--sage); outline: none; background: #fff;
}
.lead-form textarea { min-height: 96px; resize: vertical; }
.lead-form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: #1d7a3a; }
.form-status.err { color: #c0392b; }
.form-alt { text-align: center; margin-top: 18px; font-size: 0.92rem; color: var(--ink-muted); }

/* ===== Location ===== */
.locatie-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.locatie-map iframe { width: 100%; height: 260px; border: 0; border-radius: var(--radius); }

/* ===== Footer ===== */
.site-footer { background: var(--olive-deep); padding: 48px 24px 110px; }
.footer-grid {
    max-width: var(--maxw); margin: 0 auto;
    display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px;
}
.site-footer h4 { font-family: 'Archivo', sans-serif; font-size: 1rem; margin-bottom: 14px; color: #fff; }
.site-footer p, .site-footer a { color: var(--text-muted); font-size: 0.92rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--sage-light); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.footer-logo img { height: 70px; margin-bottom: 14px; }
.footer-bottom {
    max-width: var(--maxw); margin: 34px auto 0; padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.82rem; color: var(--text-muted); text-align: center;
}

/* ===== Floating WhatsApp + sticky mobile bar ===== */
.wa-float {
    position: fixed; right: 20px; bottom: 24px; z-index: 950;
    width: 58px; height: 58px; border-radius: 50%;
    background: #25D366; color: #fff;
    display: grid; place-items: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.15s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 32px; height: 32px; }

.mobile-bar { display: none; }

/* ===== Contact popup (kept, restyled) ===== */
.modal {
    display: none; position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center; align-items: center; z-index: 1100; padding: 20px;
}
.modal.open { display: flex; }
.modal-box {
    background: var(--olive); padding: 32px; border-radius: var(--radius);
    text-align: center; max-width: 400px; width: 100%;
}
.modal-box h2 { margin-bottom: 16px; }
.modal-box a { color: var(--sage-light); }
.modal-box .btn { margin-top: 8px; }

/* ===== Cookie consent ===== */
.cookie-banner {
    display: none; position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%);
    width: min(680px, calc(100% - 32px));
    background: #fff; color: #222; padding: 20px 24px; border-radius: var(--radius);
    box-shadow: var(--shadow-lg); z-index: 1150;
}
.cookie-banner.show { display: block; }
.cookie-banner p { color: #333; margin-bottom: 14px; font-size: 0.92rem; }
.cookie-banner a { color: var(--olive); font-weight: 600; }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-actions .btn { flex: 1; min-width: 130px; justify-content: center; }

/* ===== Prose (legal/long text) ===== */
.prose { max-width: var(--maxw-narrow); margin: 0 auto; }
.prose h2 { margin-top: 36px; }
.prose ul { margin: 0 0 18px 1.2em; }
.prose li { margin-bottom: 8px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .split, .locatie-grid { grid-template-columns: 1fr; }
    .split--reverse .split__media { order: 0; }
    .steps { grid-template-columns: 1fr; gap: 18px; max-width: 420px; margin: 0 auto; }
    .pricing { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .price-card--featured { transform: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .testimonial { flex: 0 0 calc((100% - 24px) / 2); }
}

@media (max-width: 640px) {
    .testimonials-slider { padding: 0; }
    .testimonial { flex: 0 0 85%; }
    .ts-arrow { width: 38px; height: 38px; }
    .ts-prev { left: 4px; }
    .ts-next { right: 4px; }
}

@media (max-width: 768px) {
    header { padding: 8px 20px; flex-wrap: wrap; }
    .logo img { height: 72px; }
    .nav-toggle { display: block; }
    .nav {
        display: none; flex-direction: column; align-items: flex-start;
        gap: 2px; width: 100%; margin-top: 10px;
    }
    .nav.open { display: flex; }
    .nav a { width: 100%; padding: 13px 4px; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
    .nav .btn { margin-top: 10px; width: 100%; justify-content: center; border-bottom: 0; }

    .hero { min-height: auto; padding: 70px 22px; }

    /* sticky mobile action bar */
    .mobile-bar {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 940;
        background: var(--olive-deep);
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        padding: 10px 12px; gap: 10px;
    }
    .mobile-bar a {
        flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
        padding: 13px; border-radius: 12px; font-weight: 700; font-size: 0.95rem; text-decoration: none;
    }
    .mobile-bar .m-call { background: var(--sage); color: #1a1f12; }
    .mobile-bar .m-wa { background: #25D366; color: #0b2e16; }
    .mobile-bar svg { width: 18px; height: 18px; }
    .wa-float { display: none; }       /* replaced by bar on mobile */
    .site-footer { padding-bottom: 96px; }
    .cookie-banner { bottom: 84px; }
}

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

@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; transition: none !important; }
}
