/* Homepage (9 nov 2026, Lars: "super modern, zoals de grootste softwaresites in de VS").
   Alles hangt onder body.home .hx, zodat de andere pagina's niets merken. Eén groot productbeeld bovenaan, een
   raster met de vier stappen, een donker blok, ruime kaarten. Beweging spaarzaam: enkel zacht verschijnen. */

body.home {
    --hx-ink: #0F0E0D;
    --hx-ink-2: #45423E;
    --hx-muted: #6B6862;
    --hx-line: rgba(15, 14, 13, 0.08);
    --hx-line-strong: rgba(15, 14, 13, 0.14);
    --hx-surface: #FFFFFF;
    --hx-soft: #F7F5F1;
    --hx-dark: #0E0D0C;
    --hx-dark-2: #1A1816;
    --hx-orange: var(--color-orange);
    --hx-radius: 20px;
    --hx-gutter: clamp(20px, 4vw, 40px);
    background: var(--hx-surface);
}

/* De bovenbalk zweeft, met een zachte waas eronder. */
body.home .site-header {
    background: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom-color: var(--hx-line);
}

.hx { color: var(--hx-ink); overflow-x: clip; }
.hx-wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--hx-gutter); }

/* ---------- Knoppen ---------- */
.hx-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hx-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 22px; border-radius: 999px;
    font-family: var(--font-body); font-weight: 600; font-size: 15.5px; letter-spacing: -0.005em;
    text-decoration: none; white-space: nowrap;
    transition: background var(--motion-base) ease, color var(--motion-base) ease, box-shadow var(--motion-base) ease, transform var(--motion-base) ease;
}
.hx-btn--primary {
    background: var(--hx-orange); color: #fff;
}
.hx-btn--ghost { color: var(--hx-ink); background: rgba(15, 14, 13, 0.04); box-shadow: 0 0 0 1px var(--hx-line) inset; }
.hx-btn--light { color: #fff; background: rgba(255, 255, 255, 0.08); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16) inset; }
.hx-final .hx-btn--primary { background: var(--hx-orange); }
@media (hover: hover) {
    .hx-btn--primary:hover { background: var(--color-orange-hover); color: #fff; }
    .hx-btn--ghost:hover { background: rgba(15, 14, 13, 0.07); }
    .hx-btn--light:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
    .hx-final .hx-btn--primary:hover { background: var(--color-orange-hover); color: #fff; }
}

/* ---------- Hero ----------
   Naar Aikido (Lars, 9 nov 2026): de titel in het midden, minder vet, één zin, een gevulde en een omlijnde knop.
   Daaronder tabs die echt het scherm van de app wisselen, en het product in een donker kader op een oranje vlak.
   Geen badge, geen raster, geen schaduw. */
.hx-hero { padding: clamp(56px, 10vh, 112px) 0 clamp(56px, 9vh, 104px); }
.hx-hero-copy { text-align: center; }
.hx-title {
    margin: 0 auto; max-width: 22ch; color: var(--hx-ink);
    font-family: var(--font-display); font-weight: 600;
    font-size: clamp(2.5rem, 1.2rem + 4.4vw, 4.9rem); line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance;
}
.hx-title-ai { color: var(--hx-orange); display: block; }
.hx-lead { margin: 22px auto 0; max-width: 56ch; font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem); line-height: 1.55; color: var(--hx-ink-2); text-wrap: pretty; }
.hx-hero .hx-cta { margin-top: 32px; }
.hx-note { margin: 16px 0 0; font-size: 13.5px; color: var(--hx-muted); }
.hx-btn--soft { color: var(--color-orange-hover); background: var(--color-orange-soft); }
@media (hover: hover) { .hx-btn--soft:hover { background: #FFE3D3; color: var(--color-orange-hover); } }


/* ---------- De oude manieren, doorstreept ---------- */
.hx-statement { padding: clamp(72px, 12vh, 136px) 0 0; }
.hx-statement-text {
    margin: 0; max-width: 24ch; font-family: var(--font-display); font-weight: 600;
    font-size: clamp(1.9rem, 1.1rem + 2.8vw, 3.3rem); line-height: 1.16; letter-spacing: -0.03em; color: var(--hx-muted);
}
.hx-statement-text s { display: table; text-decoration: none; position: relative; white-space: nowrap; }
.hx-statement-text s::after {
    content: ''; position: absolute; left: -2%; right: -2%; top: 54%; height: 0.09em; border-radius: 2px;
    background: var(--hx-orange); transform: rotate(-1.5deg); transform-origin: left;
}
.hx-statement-new { display: block; margin-top: 0.15em; color: var(--hx-ink); }
@media (max-width: 720px) { .hx-statement-text { font-size: clamp(1.25rem, 6.4vw, 1.9rem); } }

/* ---------- Pakketten ---------- */
.hx-logos { padding: clamp(40px, 7vh, 72px) 0; border-top: 1px solid var(--hx-line); border-bottom: 1px solid var(--hx-line); background: var(--hx-soft); }
.hx-logos-label { margin: 0 0 22px; text-align: center; font-size: 14.5px; font-weight: 500; color: var(--hx-muted); }
.hx-logos .platform-marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.hx-logos-foot { margin: 20px 0 0; text-align: center; font-size: 14.5px; }

/* ---------- Koppen van een sectie ---------- */
.hx-section { padding: clamp(80px, 14vh, 152px) 0; }
.hx-head { max-width: 760px; margin: 0 auto clamp(40px, 6vh, 64px); text-align: center; }
.hx-eyebrow {
    margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--hx-orange);
}
.hx-h2 {
    margin: 0; font-family: var(--font-display); font-weight: 600; color: var(--hx-ink);
    font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); line-height: 1.06; letter-spacing: -0.03em; text-wrap: balance;
}
.hx-dot { color: var(--hx-orange); }
.hx-sub { margin: 18px auto 0; max-width: 60ch; font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.15rem); line-height: 1.6; color: var(--hx-ink-2); text-wrap: pretty; }
.hx-more, .hx-logos-foot a, .hx-dark-foot a, .hx-aside a {
    color: var(--hx-ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--hx-line-strong); padding-bottom: 1px;
}
@media (hover: hover) { .hx-more:hover, .hx-logos-foot a:hover, .hx-aside a:hover { border-bottom-color: var(--hx-orange); } }

/* ---------- Vier stappen (bento) ---------- */
.hx-bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hx-card {
    position: relative; display: flex; flex-direction: column; overflow: hidden; min-width: 0;
    border-radius: var(--hx-radius); background: var(--hx-soft);
    box-shadow: 0 0 0 1px var(--hx-line) inset;
}
.hx-card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); align-items: center; }
.hx-card-copy { padding: clamp(24px, 3vw, 40px); }
.hx-step { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--hx-orange); letter-spacing: 0.02em; }
.hx-card h3 { margin: 0 0 10px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.75rem); line-height: 1.15; letter-spacing: -0.02em; }
.hx-card p { margin: 0 0 18px; font-size: 15.5px; line-height: 1.6; color: var(--hx-ink-2); max-width: 46ch; }
.hx-card-shot { position: relative; min-width: 0; }
.hx-card-shot--desktop { padding: 28px 0 28px 8px; }
.hx-card-shot--desktop img {
    display: block; width: 118%; max-width: none; height: auto; border-radius: 12px 0 0 12px;
    border: 1px solid var(--hx-line-strong); border-right: 0;
}
.hx-card-shot--phone { flex: 1; display: flex; justify-content: center; align-items: flex-start; padding: 0 24px; height: 340px; overflow: hidden; }
.hx-card-shot--phone img {
    width: min(250px, 72%); height: auto; border-radius: 22px 22px 0 0; border: 1px solid var(--hx-line-strong); border-bottom: 0;
}
.hx-aside { margin: 28px auto 0; max-width: 720px; text-align: center; font-size: 15px; line-height: 1.6; color: var(--hx-muted); }

/* ---------- Donker blok ---------- */
.hx-dark {
    position: relative; padding: clamp(80px, 14vh, 152px) 0; color: #F4F2EE; background: var(--hx-dark);
}
.hx-head--dark .hx-sub { color: rgba(244, 242, 238, 0.72); }
.hx-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hx-tile {
    padding: 26px 24px 28px; border-radius: 18px; min-width: 0;
    background: transparent; border: 1px solid rgba(255, 255, 255, 0.12);
}
.hx-tile h3 { margin: 0 0 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.015em; color: #fff; }
.hx-tile p { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(244, 242, 238, 0.72); }
.hx-tile::before { content: ''; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--hx-orange); margin-bottom: 20px; }
.hx-dark-foot { margin: 32px 0 0; text-align: center; font-size: 15px; }
.hx-dark-foot a { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.3); }

/* ---------- Vakken ---------- */
.hx-trades { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hx-trade {
    position: relative; display: block; overflow: hidden; border-radius: 18px; aspect-ratio: 3 / 4; max-width: 100%;
    color: #fff; text-decoration: none; background: #222;
}
.hx-trade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.hx-trade::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10, 9, 8, 0.82)); }
.hx-trade-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 20px; display: grid; gap: 6px; }
.hx-trade-text strong { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.01em; }
.hx-trade-text span { font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, 0.8); }
@media (hover: hover) { .hx-trade:hover img { transform: scale(1.04); } }

/* ---------- Prijzen en vragen: dezelfde inhoud, rustiger kader ---------- */
.hx-pricing { padding: clamp(80px, 14vh, 152px) 0 !important; background: var(--hx-soft); border-top: 1px solid var(--hx-line); }
.hx-pricing .container { max-width: 1040px; }
.hx-faq .container { max-width: 1200px; padding-inline: var(--hx-gutter); }
.hx-pricing .plain-heading, .hx-pricing .hx-eyebrow, .hx-pricing .plain-lead { text-align: center; }
.hx-pricing .plain-heading { margin-bottom: 18px; }
.hx-pricing .plain-lead { max-width: 62ch; margin-inline: auto; color: var(--hx-ink-2); }
.hx-pricing .pricing-card { border-radius: var(--hx-radius); box-shadow: 0 0 0 1px var(--hx-line) inset !important; border: 0; background: #fff; }
.hx-pricing .pricing-card-featured { box-shadow: 0 0 0 2px var(--hx-orange) inset !important; }
.hx-pricing .pricing-card .btn { border-radius: 999px; }
.hx-pricing .pricing-card-featured .btn:not(.btn-secondary) { background: var(--hx-orange); color: #fff; }
@media (hover: hover) { .hx-pricing .pricing-card-featured .btn:not(.btn-secondary):hover { background: var(--color-orange-hover); color: #fff; } }
.hx-faq { padding: clamp(80px, 14vh, 152px) 0 !important; }
.hx-faq .plain-heading { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); letter-spacing: -0.03em; text-align: center; }
.hx-faq .faq-list { max-width: none; width: 100%; margin-inline: auto; }
.hx-faq .faq-item { border-bottom: 1px solid var(--hx-line); }
.hx-faq .section-foot { text-align: center; }

/* ---------- Slot ---------- */
.hx-final { padding: clamp(64px, 10vh, 112px) 0; }
.hx-final-panel {
    position: relative; overflow: hidden; text-align: center; border-radius: 28px;
    padding: clamp(56px, 9vh, 104px) clamp(24px, 5vw, 64px);
    background: var(--hx-dark); color: #fff;
}
.hx-final-glow {
    display: none;
}
.hx-final-title { position: relative; margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.1rem, 1.3rem + 3vw, 3.8rem); line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; }
.hx-final-lead { position: relative; margin: 18px auto 0; max-width: 52ch; font-size: 1.1rem; line-height: 1.6; color: rgba(255, 255, 255, 0.75); }
.hx-final .hx-cta { position: relative; margin-top: 32px; }

/* ---------- Kleinere schermen ---------- */
@media (max-width: 1000px) {
    .hx-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hx-trades { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hx-card--wide { grid-template-columns: minmax(0, 1fr); }
    .hx-card-shot--desktop { padding: 0 0 0 24px; }
    .hx-card-shot--desktop img { width: 130%; }
}
@media (max-width: 720px) {
    .hx-br { display: none; }
    .hx-bento { grid-template-columns: minmax(0, 1fr); }
    .hx-card-shot--phone { height: 300px; }
    .hx-trade { aspect-ratio: 4 / 5; }
    .hx-trade-text span { display: none; }
}
@media (max-width: 480px) {
    .hx-grid4, .hx-trades { grid-template-columns: minmax(0, 1fr); }
    .hx-trade { aspect-ratio: 16 / 10; }
    .hx-trade-text span { display: block; }
    .hx-cta { flex-direction: column; align-items: stretch; }
    .hx-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .hx-btn, .hx-trade img { transition: none; }
}

/* ---------- Bijsturing na de eerste schermen ---------- */
.hx .hx-final-title, .hx .hx-dark .hx-h2, .hx .hx-tile h3 { color: #fff; }
.hx .hx-dark .hx-eyebrow { color: #FF9A66; }
.hx-logos .platform-marquee img, .hx-logos .platform-marquee svg { filter: grayscale(1); opacity: 0.55; transition: filter var(--motion-base) ease, opacity var(--motion-base) ease; }
@media (hover: hover) { .hx-logos .platform-marquee a:hover img, .hx-logos .platform-marquee a:hover svg { filter: none; opacity: 1; } }
.hx-pricing .plain-heading { margin-inline: auto; max-width: none; }
.hx-pricing .pricing-toggle { margin-inline: auto; }
.hx-pricing .container { display: flex; flex-direction: column; }
.hx-pricing .pricing-toggle { align-self: center; }
.hx-pricing .pricing-seat-line, .hx-pricing .section-foot { text-align: center; max-width: 68ch; margin-inline: auto; }
.hx-faq .container { display: flex; flex-direction: column; align-items: stretch; }
.hx-faq .plain-heading { margin-inline: auto; }

/* ---------- De werkdag in de hero (heroDemo.js) ----------
   Van ons, niet van Aikido: een werkdag als tijdlijn (19:40 plannen, 07:30 uren, 15:50 werkbon, 20:15 factuur), de echte
   schermen op het toestel waar ze gebruikt worden (de baas op de laptop, de ploeg op de gsm), en het oranje bolletje van
   Pinflo op de knop die je in de app aantikt. */
.hx-day {
    list-style: none; margin: clamp(48px, 7vh, 72px) auto 0; padding: 0; max-width: 1100px;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative;
}
/* De lijn van de dag, met het oranje deel tot waar je bent. */
.hx-day::before { content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--hx-line-strong); }
.hx-day li { position: relative; }
.hx-day-step {
    display: grid; justify-items: start; gap: 2px; width: 100%; padding: 30px 12px 0 0; border: 0; background: none;
    text-align: left; cursor: pointer; font-family: var(--font-body); color: var(--hx-muted); position: relative;
}
.hx-day-step::before {
    content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
    background: #fff; border: 2px solid var(--hx-line-strong); transition: all var(--motion-base) ease;
}
.hx-day-time { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hx-day-step b { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.015em; color: var(--hx-ink); }
.hx-day-step.is-active::before { background: var(--hx-orange); border-color: var(--hx-orange); box-shadow: 0 0 0 6px rgba(255, 118, 54, 0.18); }
.hx-day-step.is-active .hx-day-time { color: var(--hx-orange); }
@media (hover: hover) { .hx-day-step:not(.is-active):hover b { color: var(--color-orange-hover); } }
.hx-day-step:focus-visible { outline: 2px solid var(--hx-orange); outline-offset: 4px; border-radius: 8px; }

.hx-stage {
    max-width: 1100px; margin: 28px auto 0;
}
.hx-screen-wrap {
    display: grid; place-items: center; min-height: clamp(460px, 60vh, 620px); padding: 8px 0 20px;
}
.hx-screen { position: relative; line-height: 0; transition: opacity 140ms ease; }
.hx-screen.is-switching { opacity: 0; }
.hx-screen-inner { position: relative; width: 100%; height: 100%; }
.hx-screen-img { display: block; width: 100%; height: auto; background: #fff; }
/* Laptop: een donkere rand en een voetje. */
.hx-screen[data-device="laptop"] { width: min(100%, 860px); padding: 10px 10px 12px; border-radius: 14px 14px 4px 4px; background: #17151A; }
.hx-screen[data-device="laptop"] .hx-screen-img { border-radius: 4px; }
.hx-screen[data-device="laptop"]::after {
    content: ''; position: absolute; left: -6%; right: -6%; bottom: -12px; height: 12px; border-radius: 0 0 14px 14px; background: #2A2730;
}
/* Gsm: een donkere rand, zo hoog als de laptop. */
.hx-screen[data-device="phone"] { width: auto; height: clamp(420px, 56vh, 580px); aspect-ratio: 780 / 1688; padding: 8px; border-radius: 36px; background: #17151A; }
.hx-screen[data-device="phone"] .hx-screen-img { width: 100%; height: 100%; object-fit: fill; border-radius: 28px; }

/* Wat aanklikbaar is in de echte schermen: helemaal onzichtbaar, zoals in de app (Lars: "geen instructies"). */
.hx-hotspot { position: absolute; z-index: 2; padding: 0; border: 0; cursor: pointer; background: transparent; border-radius: 10px; }
.hx-screen[data-device="phone"] .hx-hotspot { border-radius: 999px; }
.hx-hotspot:focus-visible { outline: 2px solid var(--hx-orange); outline-offset: 2px; }


@media (max-width: 720px) {
    .hx-day { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .hx-day-step { padding-right: 6px; }
    .hx-day-step b { font-size: 0.9rem; }
        .hx-screen-wrap { min-height: 480px; }
    .hx-screen[data-device="phone"] { height: 460px; }
}
