/* Huisstijl ServiceHub (palet Werkplaats Oranje). Staat los van website.css van EM Software. */
@font-face { font-family: "Barlow"; src: url("/fonts/servicehub/barlow-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/servicehub/barlow-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/servicehub/barlow-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/servicehub/barlow-800-italic.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }

:root {
    --hub-orange: #ff6a00;
    --hub-orange-dark: #c24e00;
    --hub-accent: #ffa726;
    --hub-ink: #1f2329;
    --hub-ink-deep: #14171b;
    --hub-ground: #f2f4f6;
    --hub-steel: #8a8f95;
    --hub-edge: clamp(1.25rem, 6vw, 6rem);
    --hub-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

.hub { margin: 0; background: var(--hub-ground); color: var(--hub-ink); font: 500 1.125rem/1.5 "Barlow", Arial, sans-serif; }
.hub img { display: block; max-width: 100%; height: auto; }
:where(.hub) :where(h1, h2, h3, p) { margin: 0; }
.hub h1, .hub h2 { font-weight: 800; line-height: 1.05; text-wrap: balance; }
.hub h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); }
.hub h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.hub h3 { font-size: 1.4rem; font-weight: 800; line-height: 1.2; }
.hub em { color: var(--hub-orange); font-style: italic; }
.hub :focus-visible { outline: 3px solid var(--hub-accent); outline-offset: 2px; }

.hub-skip { position: absolute; left: -999px; }
.hub-skip:focus { left: 1rem; top: 1rem; z-index: 3; padding: 0.5rem 1rem; background: #fff; color: var(--hub-ink); }

.hub-bar {
    position: absolute;
    inset: 0 0 auto;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem var(--hub-edge);
    color: #fff;
}

.hub-logo { display: inline-flex; align-items: center; gap: 0.6rem; margin-right: auto; color: #fff; text-decoration: none; }
.hub-sh { font: italic 800 2.1rem/1 "Barlow", Arial, sans-serif; letter-spacing: -0.06em; }
.hub-sh b { font-weight: 800; }
.hub-sh i, .hub-word i { color: var(--hub-orange); }
.hub-word { font: italic 800 1.5rem/1 "Barlow", Arial, sans-serif; }
.hub-bar nav { display: flex; gap: 1.75rem; }
.hub-bar nav a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration: none; }
.hub-bar nav a:hover { color: var(--hub-accent); }

.hub-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 60px;
    padding: 0 2rem;
    border-radius: 8px;
    background: var(--hub-orange);
    color: var(--hub-ink-deep);
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    transition: background-color 150ms var(--hub-ease), transform 120ms var(--hub-ease);
}

.hub-button:hover { background: var(--hub-accent); }
.hub-button:active { transform: scale(0.98); }
.hub-button-small { min-height: 44px; padding: 0 1.1rem; font-size: 1.05rem; }

.hub-note { margin-top: 0.85rem; }
.hub-note span { margin-right: 0.35rem; color: var(--hub-orange); font-weight: 800; }

.hub-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: end;
    min-height: min(46rem, 100svh);
    padding: 7rem var(--hub-edge) 2.5rem;
    background: linear-gradient(90deg, rgb(20 23 27 / 0.78), rgb(20 23 27 / 0.15) 65%), var(--hub-ink-deep) url("/images/servicehub/hero-werkplaats.webp") center / cover no-repeat;
    color: #fff;
}

.hub-hero-copy { align-self: center; }
.hub-hero-copy > p:not(.hub-note) { max-width: 33rem; margin: 1.25rem 0 1.75rem; font-size: clamp(1.2rem, 1.8vw, 1.4rem); line-height: 1.35; }

.hub-proof { position: relative; width: 100%; max-width: 36rem; aspect-ratio: 1 / 0.98; justify-self: end; }
.hub-invoice { position: absolute; right: 0; bottom: 0; width: 72%; transform: rotate(3deg); transform-origin: bottom right; }
.hub-phone { position: absolute; left: 0; bottom: 0; z-index: 1; width: 42%; padding: 7px; border-radius: 26px; background: #0b0d10; box-shadow: 0 0 0 1px var(--hub-steel); }
.hub-phone img { border-radius: 19px; }

.hub-route {
    display: grid;
    grid-template-columns: minmax(14rem, 1fr) minmax(0, 3fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    padding: clamp(3rem, 6vw, 5rem) var(--hub-edge);
}

.hub-route-intro p { margin-top: 0.75rem; }

.hub-route ol {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hub-route ol::before {
    content: "";
    position: absolute;
    top: 1.75rem;
    left: 1.75rem;
    right: 0;
    border-top: 5px dashed var(--hub-orange);
}

.hub-stop {
    position: relative;
    display: grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 0.9rem;
    border-radius: 50%;
    background: var(--hub-ink);
    color: #fff;
}

.hub-stop svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.hub-prices {
    display: grid;
    grid-template-columns: minmax(14rem, 1fr) minmax(0, 3fr);
    gap: 1.5rem clamp(1.5rem, 4vw, 4rem);
    padding: clamp(3rem, 6vw, 5rem) var(--hub-edge);
    background: var(--hub-ink);
    color: #fff;
}

.hub-prices-intro p { margin-top: 0.75rem; }
.hub-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.hub-plans article { padding: 1.5rem; border: 3px solid transparent; border-radius: 10px; background: var(--hub-ground); color: var(--hub-ink); }
.hub-plans .hub-plan-focus { border-color: var(--hub-orange); }
.hub-price { margin: 0.35rem 0 1rem; font-size: 3rem; font-weight: 800; line-height: 1; }
.hub-price small { font-size: 1rem; font-weight: 500; }
.hub-plans ul, .hub-wesley ul { margin: 0; padding: 0; list-style: none; }
.hub-plans li, .hub-wesley li { position: relative; padding: 0.2rem 0 0.2rem 1.5rem; }
.hub-plans li::before, .hub-wesley li::before { content: "✓"; position: absolute; left: 0; color: var(--hub-orange-dark); font-weight: 800; }
.hub-fine { grid-column: 2; font-size: 1rem; }
.hub-fine a { color: var(--hub-accent); }

.hub-wesley {
    display: grid;
    grid-template-columns: auto minmax(0, 1.6fr) minmax(0, 1fr);
    gap: clamp(1.25rem, 3vw, 3rem);
    align-items: center;
    padding: clamp(2.5rem, 5vw, 4rem) var(--hub-edge);
}

.hub-wesley img { width: clamp(6rem, 11vw, 9rem); border-radius: 50%; }
.hub-wesley p { max-width: 38rem; margin-top: 0.6rem; }

.hub-faq { padding: 0 var(--hub-edge) clamp(2.5rem, 5vw, 4rem); }
.hub-faq h2 { margin-bottom: 1rem; }
.hub-faq details { border-top: 1px solid var(--hub-steel); }
.hub-faq details:last-child { border-bottom: 1px solid var(--hub-steel); }
.hub-faq summary { padding: 0.85rem 0; font-weight: 700; cursor: pointer; }
.hub-faq details p { max-width: 46rem; padding-bottom: 1rem; }

.hub-close { padding: clamp(2.5rem, 5vw, 4rem) var(--hub-edge); background: var(--hub-ink); color: #fff; text-align: center; }

.hub-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding: 1.25rem var(--hub-edge); background: var(--hub-ink-deep); color: #fff; font-size: 1rem; }
.hub-footer a { display: inline-flex; align-items: center; min-height: 44px; margin-right: 1rem; color: #fff; }

/* Boven de Wesley-widget (z-index 2147483000), anders blokkeert die de knoppen op mobiel. */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2147483001; max-width: 560px; padding: 20px 22px; border-radius: 10px; background: #fff; color: var(--hub-ink); }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 10px; font-size: 0.95rem; line-height: 1.5; }
.consent a { color: var(--hub-orange-dark); }
.consent > div { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.consent button { flex: 1 1 180px; min-height: 46px; border-radius: 8px; font: 700 1rem "Barlow", Arial, sans-serif; cursor: pointer; }
.consent-reject { border: 1px solid var(--hub-steel); background: #fff; color: var(--hub-ink); }
.consent-accept { border: 1px solid var(--hub-orange); background: var(--hub-orange); color: var(--hub-ink-deep); }

@media (prefers-reduced-motion: no-preference) {
    .hub-phone { animation: hub-rise 420ms var(--hub-ease) both; }
    .hub-invoice { animation: hub-lay 520ms 100ms var(--hub-ease) both; }
}

@media (prefers-reduced-motion: reduce) {
    .hub-button { transition: none; }
}

/* Alleen beweging: de beelden blijven zichtbaar als een browser animaties pauzeert. */
@keyframes hub-rise { from { transform: translateY(16px); } to { transform: none; } }
@keyframes hub-lay { from { transform: translateY(24px) rotate(5deg); } to { transform: rotate(3deg); } }

@media (max-width: 980px) {
    .hub-bar nav { display: none; }
    .hub-hero { grid-template-columns: 1fr; min-height: 0; padding-top: 5.5rem; }
    .hub-proof { justify-self: center; }
    .hub-route, .hub-prices { grid-template-columns: 1fr; }
    .hub-fine { grid-column: 1; }
    .hub-wesley { grid-template-columns: auto minmax(0, 1fr); }
    .hub-wesley ul { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .hub { font-size: 1.0625rem; }
    .hub-word { font-size: 1.25rem; }
    .hub-sh { font-size: 1.7rem; }
    .hub-bar .hub-button-small { display: none; }
    .hub-hero .hub-button { width: 100%; }
    .hub-route ol { grid-template-columns: 1fr; gap: 1rem; }
    .hub-route ol::before { top: 1rem; bottom: 1rem; left: 1.6rem; right: auto; border-top: 0; border-left: 5px dashed var(--hub-orange); }
    .hub-route li { display: grid; grid-template-columns: 3.5rem 1fr; column-gap: 1rem; }
    .hub-stop { grid-row: span 2; margin: 0; }
    .hub-plans { grid-template-columns: 1fr; }
    .hub-wesley { grid-template-columns: 1fr; }
    .hub-wesley ul { grid-column: 1; }
    .hub-close .hub-button { width: 100%; }
}
