/* ========================================================
   HOTPOTATO – DIENSTPAGINA
   Herbruikbaar voor: Website laten maken, Branding,
   Grafisch ontwerp, ...

   Alles staat onder .hpService, zodat de algemene regels
   uit main.css (h1, p, li, section, ...) niet botsen.
   Kleuren en fonts komen uit de variabelen van main.css.
======================================================== */

.hpService {
    --hpDark: var(--colorDark, #242424);
    --hpLight: var(--colorLight, #F1F1F1);
    --hpWhite: #FFFFFF;
    --hpOrange: var(--colorSecondary, #FF8C2E);
    --hpBlue: var(--colorTertiary, #6F88F6);
    --hpPurple: var(--colorBackup, #9D85D1);
    --hpGreen: var(--workstatusGreen, #67d500);
    --hpMuted: #5c5c5c;
    --hpLine: 1px solid var(--hpDark);
    --hpHeading: var(--fontHeading, "Host Grotesk", Helvetica, Arial, sans-serif);
    --hpMain: var(--fontMain, "Instrument Sans", Helvetica, Arial, sans-serif);
    --hpH1: clamp(38px, 5.2vw, 72px);
    --hpH2: clamp(28px, 3vw, 40px);
    --hpH3: clamp(20px, 1.7vw, 24px);
    --hpP: clamp(16px, 1.15vw, 18px);
    --hpLead: clamp(18px, 1.5vw, 22px);
    --hpPad: 32px;
    --hpGutter: 40px;
    --hpArrow: url("/wp-content/uploads/2026/08/Hotpotato-Arrow.webp");

    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 var(--hpGutter);
    font-family: var(--hpMain);
    font-size: var(--hpP);
    line-height: 1.5;
    color: var(--hpDark);
}

/* --- Reset van algemene theme-regels binnen de pagina --- */
.hpService section { max-width: none; margin: 0; padding: 0; width: auto; }
.hpService ul,
.hpService ol { list-style: none; padding: 0; margin: 0; }
.hpService li { padding: 0; }
.hpService p { font-family: inherit; font-size: inherit; line-height: inherit; }
.hpService p + p { margin-top: 1em; }
.hpService a { color: inherit; font-weight: inherit; }
.hpService h1,
.hpService h2,
.hpService h3,
.hpService h4 { font-family: var(--hpHeading); text-wrap: balance; width: auto; max-width: none; margin: 0; color: inherit; }
.hpService h1 { font-size: var(--hpH1); font-weight: 800; line-height: 1; letter-spacing: -0.01em; max-width: 15ch; }
.hpService h2 { font-size: var(--hpH2); font-weight: 700; line-height: 1.08; }
.hpService h3 { font-size: var(--hpH3); font-weight: 600; line-height: 1.15; }
.hpService h4 { font-size: 20px; font-weight: 600; line-height: 1.2; }
.hpService dl, .hpService dd { margin: 0; }
.hpService img { display: block; max-width: 100%; height: auto; }
.hpService section { scroll-margin-top: 16px; }

/* --- Grid met 1px-lijnen --- */
.hpService .hpGrid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1px;
    background: var(--hpDark);
    border: var(--hpLine);
    border-top: 0;
}
.hpService > section.hpGrid:first-of-type { border-top: var(--hpLine); }
.hpService .hpGrid > * { background: var(--hpLight); padding: var(--hpPad); min-width: 0; }
.hpService .hpSpan12 { grid-column: span 12; }
.hpService .hpSpan9 { grid-column: span 9; }
.hpService .hpSpan8 { grid-column: span 8; }
.hpService .hpSpan7 { grid-column: span 7; }
.hpService .hpSpan5 { grid-column: span 5; }
.hpService .hpSpan4 { grid-column: span 4; }
.hpService .hpSpan3 { grid-column: span 3; }
.hpService .hpFlush { padding: 0; }
.hpService .hpTight { padding-bottom: 12px; }

/* --- Typografie --- */
.hpService .hpEyebrow {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
    font-family: var(--hpHeading); font-size: 14px; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
}
.hpService .hpEyebrow::before { content: ""; width: 14px; height: 14px; background: var(--hpArrow) center/contain no-repeat; }
.hpService .hpLead { font-family: var(--hpHeading); font-size: var(--hpLead); line-height: 1.4; max-width: 52ch; }
.hpService .hpMuted { color: var(--hpMuted); }
.hpService .hpTextLink { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* --- Knoppen --- */
.hpService .hpBtn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 12px 28px;
    font-family: var(--hpMain); font-size: 17px; font-weight: 600;
    text-decoration: none; border: var(--hpLine); cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.hpService .hpBtn:hover { transform: translateY(-2px); }
.hpService .hpBtnPrimary { background: var(--hpBlue); color: var(--hpWhite); border-color: var(--hpBlue); }
.hpService .hpBtnPrimary:hover { background: var(--hpDark); border-color: var(--hpDark); }
.hpService .hpBtnGhost { background: transparent; color: var(--hpDark); }
.hpService .hpBtnGhost:hover { background: var(--hpDark); color: var(--hpLight); }
.hpService .hpBtnRow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px;}
.hpService summary:focus-visible { outline: 3px solid var(--hpOrange); outline-offset: 3px; }

/* ========================================================
   HERO
======================================================== */
.hpService .hpHeroIntro { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 56px var(--hpPad); }
.hpService .hpHeroIntro .hpLead { max-width: 46ch; margin-bottom: 28px; }
.hpService .hpHeroImg { position: relative; min-height: 420px; }
.hpService .hpHeroImg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hpService .hpHeroBadge {
    position: absolute; left: 20px; bottom: 20px;
    background: var(--hpOrange); padding: 10px 14px;
    font: 600 15px var(--hpHeading); border: var(--hpLine);
}
.hpService .hpUsp { display: grid; grid-template-columns: repeat(4, 1fr); }
.hpService .hpUsp li { display: flex; gap: 12px; align-items: flex-start; padding: 22px var(--hpPad); border-right: var(--hpLine); font-weight: 500; }
.hpService .hpUsp li:last-child { border-right: 0; }
.hpService .hpUsp li::before { content: ""; flex: 0 0 18px; height: 18px; margin-top: 3px; background: var(--hpArrow) center/contain no-repeat; }

/* ========================================================
   HERKENNING
======================================================== */
.hpService .hpProblems {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
    background: var(--hpDark); border-top: var(--hpLine);
    margin: 32px calc(var(--hpPad) * -1) calc(var(--hpPad) * -1);
}
.hpService .hpProblems li { background: var(--hpLight); padding: var(--hpPad); }
.hpService .hpProblems h3 { margin-bottom: 8px; }
.hpService .hpNum { display: block; margin-bottom: 8px; font: 800 44px/1 var(--hpHeading); color: var(--hpOrange); }
.hpService .hpStory { background: var(--hpPurple); }
.hpService .hpStory > img { width: 70px; margin-bottom: 24px; }
.hpService .hpQuote { font: 700 clamp(24px, 2.4vw, 34px)/1.15 var(--hpHeading); max-width: 22ch; margin-bottom: 20px; }

/* ========================================================
   SECTIEKOP
======================================================== */
.hpService .hpSectionHead { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.hpService .hpSectionHead > h2 { flex: 1 1 340px; max-width: 22ch; }
.hpService .hpSectionHead > div { flex: 1 1 340px; max-width: 600px; }
.hpService .hpSectionHead > .hpLead { flex: 1 1 420px; }
.hpService .hpSubHead { font-size: var(--hpH3); }

/* ========================================================
   FORMULES
======================================================== */
/* Subgrid: titel, prijs, doorlooptijd, lijst en knop staan in de
   drie formules exact op dezelfde hoogte. */
.hpService .hpPlans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(5, auto);
    gap: 1px;
    background: var(--hpDark);
}
.hpService .hpPlan {
    position: relative;
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
    row-gap: 22px;
    padding: 36px var(--hpPad);
    background: var(--hpLight);
}
.hpService .hpPlan.isFeatured { background: var(--hpWhite); }
.hpService .hpPlanTop { display: contents; }
.hpService .hpPlan > p:empty,
.hpService .hpPlan > br { display: none; }
.hpService .hpPlanTag {
    position: absolute; top: 0; right: var(--hpPad); transform: translateY(-50%);
    background: var(--hpOrange); border: var(--hpLine); padding: 4px 12px;
    font: 600 13px var(--hpHeading); text-transform: uppercase; letter-spacing: .06em;
}
.hpService .hpPlan h3 { font-size: clamp(26px, 2.2vw, 32px); }
.hpService .hpPlanTagline { margin-top: 10px; font: 600 18px/1.35 var(--hpHeading); }
.hpService .hpPlanIntro { margin-top: 10px; font-size: 16px; }
.hpService .hpPrice { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.hpService .hpPrice .hpFrom { font-size: 15px; }
.hpService .hpPrice strong { font: 800 clamp(40px, 3.6vw, 52px)/1 var(--hpHeading); }
.hpService .hpPrice .hpVat { font-size: 14px; color: var(--hpMuted); }
.hpService .hpCheck li { position: relative; padding: 7px 0 7px 28px; border-bottom: 1px dashed rgb(36 36 36 / 25%); }
.hpService .hpCheck li::before { content: ""; position: absolute; left: 0; top: 12px; width: 15px; height: 15px; background: var(--hpArrow) center/contain no-repeat; transform: rotate(45deg); }
.hpService .hpCheck li.isPlus { font-weight: 600; }
.hpService .hpPlan .hpBtn { align-self: end; width: 100%; }

/* ========================================================
   DIENSTEN
======================================================== */
.hpService .hpPhase { display: flex; align-items: center; gap: 10px; font: 600 14px var(--hpHeading); text-transform: uppercase; letter-spacing: .08em; }
.hpService .hpPhase b { background: var(--hpDark); color: var(--hpLight); padding: 2px 8px; }
.hpService .hpServices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hpDark); }
.hpService .hpServiceItem { display: flex; flex-direction: column; gap: 10px; padding: 28px var(--hpPad); background: var(--hpLight); transition: background-color .2s ease; }
.hpService .hpServiceItem:hover { background: var(--hpWhite); }
.hpService .hpIcon { display: grid; place-items: center; width: 44px; height: 44px; border: var(--hpLine); background: var(--hpWhite); font: 700 18px var(--hpHeading); }
.hpService .hpServiceItem:nth-child(4n+1) .hpIcon { background: var(--hpOrange); }
.hpService .hpServiceItem:nth-child(4n+2) .hpIcon { background: var(--hpBlue); color: var(--hpWhite); }
.hpService .hpServiceItem:nth-child(4n+3) .hpIcon { background: var(--hpPurple); }
.hpService .hpServiceItem p { font-size: 16px; }

/* ========================================================
   AANPAK
======================================================== */
/* Kleurbalk verwijderd; verborgen voor het geval de HTML nog in de pagina staat. */
.hpService .hpTimeline { display: none; }
.hpService .hpSteps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--hpDark); }
.hpService .hpStep { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px; background: var(--hpLight); }
.hpService .hpStepNum { font: 800 56px/1 var(--hpHeading); color: transparent; -webkit-text-stroke: 1.5px var(--hpDark); }
.hpService .hpStep p { font-size: 16px; }
.hpService .hpStep .hpStepOut { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--hpDark); font-size: 14px; }
.hpService .hpStepOut b { display: block; font-family: var(--hpHeading); }
.hpService .hpAfter { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }

/* ========================================================
   CASE / WAAROM / PLATFORM / REVIEW
======================================================== */
.hpService .hpCase { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1px; background: var(--hpDark); }
.hpService .hpCase > * { background: var(--hpLight); }
.hpService .hpCaseImg { position: relative; min-height: 380px; overflow: hidden; }
.hpService .hpCaseImg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s ease; }
.hpService .hpCase:hover .hpCaseImg img { transform: scale(1.03); }
.hpService .hpCaseBody { display: flex; flex-direction: column; gap: 18px; padding: 36px var(--hpPad); }
.hpService .hpChips { display: flex; flex-wrap: wrap; gap: 8px; }
.hpService .hpChips li { padding: 4px 10px; background: var(--hpOrange); font-size: 13px; }

.hpService .hpWhy { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hpDark); }
.hpService .hpWhy li { padding: 28px var(--hpPad); background: var(--hpLight); }
.hpService .hpWhy img { width: 36px; height: 36px; object-fit: contain; }
.hpService .hpWhy h3 { margin: 14px 0 8px; }

.hpService .hpTech { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hpDark); }
.hpService .hpTech li { padding: 22px var(--hpPad); background: var(--hpLight); font-size: 16px; }
.hpService .hpTech b { display: block; margin-bottom: 4px; font: 700 20px var(--hpHeading); }

.hpService .hpQuoteMark { display: grid; place-items: center; }
.hpService .hpQuoteMark img { width: 110px; }
.hpService .hpReview { background: var(--hpWhite); }
.hpService .hpReview blockquote { margin: 0; max-width: 60ch; font: 500 clamp(20px, 1.8vw, 26px)/1.4 var(--hpHeading); }
.hpService .hpReview cite { display: block; margin-top: 20px; font-style: normal; font-weight: 600; }

/* ========================================================
   FAQ
======================================================== */
.hpService .hpFaq { display: flex; flex-direction: column; gap: 12px; max-width: 980px; }
.hpService .hpFaq details { background: var(--hpWhite); border: var(--hpLine); }
.hpService .hpFaq summary {
    display: flex; justify-content: space-between; align-items: center; gap: 24px;
    padding: 16px 24px; cursor: pointer; list-style: none;
    font: 600 18px var(--hpMain);
}
.hpService .hpFaq summary::-webkit-details-marker { display: none; }
.hpService .hpFaq summary::after { content: "↓"; flex: 0 0 auto; transition: transform .3s ease; }
.hpService .hpFaq details[open] summary::after { transform: rotate(180deg); }
.hpService .hpFaq details > div { max-width: 75ch; padding: 0 24px 20px; }

/* ========================================================
   PAGINA-CTA (laatste blok, per pagina aan te passen)
======================================================== */
.hpService .hpFinalCta { padding: 64px var(--hpPad); background: var(--hpPurple); }
.hpService .hpFinalCta h2 { max-width: 18ch; margin-bottom: 16px; font-size: clamp(34px, 4vw, 56px); font-weight: 800; }
.hpService .hpFinalCta .hpBtnRow { margin-top: 32px; }
.hpService .hpContactCard { display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.hpService .hpContactCard a { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.hpService .hpPerson { display: flex; align-items: center; gap: 16px; }
.hpService .hpPerson img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: var(--hpLine); }

/* Pijlenblok onder de pagina (variant van .endBlock) */
.hpService .hpArrowTab {
    display: flex; align-items: center; justify-content: center; gap: 14px;
    width: calc(100% / 12 * 2); min-width: 170px;
    margin: 0 0 0 auto; /* rechts gelijk met het blok erboven */
    padding: 24px; border: var(--hpLine); border-top: 0;
}
.hpService .hpArrowTab span { width: 22px; height: 22px; background: var(--hpArrow) center/contain no-repeat; }

/* ========================================================
   RESPONSIVE
======================================================== */
@media (max-width: 1200px) {
    .hpService { --hpGutter: 24px; padding-top: 24px; } /* compenseert .siteMain margin-top: -24px */
    .hpService .hpSteps { grid-template-columns: repeat(3, 1fr); }
    .hpService .hpStep:last-child { grid-column: span 2; }
    .hpService .hpServices { grid-template-columns: repeat(2, 1fr); }
    .hpService .hpWhy { grid-template-columns: repeat(2, 1fr); }
    .hpService .hpUsp { grid-template-columns: repeat(2, 1fr); }
    .hpService .hpUsp li:nth-child(2) { border-right: 0; }
    .hpService .hpUsp li:nth-child(-n+2) { border-bottom: var(--hpLine); }
}

/* Tablet */
@media (max-width: 1000px) {
    .hpService { --hpGutter: 16px; --hpPad: 24px; padding-top: 0; }
    .hpService .hpSpan9, .hpService .hpSpan8, .hpService .hpSpan7,
    .hpService .hpSpan5, .hpService .hpSpan4, .hpService .hpSpan3 { grid-column: span 12; }
    .hpService .hpQuoteMark { display: none; }
    .hpService .hpHeroImg { min-height: 380px; }
    .hpService .hpPlans { grid-template-columns: 1fr; grid-template-rows: none; }
    .hpService .hpPlan {
        grid-row: auto;
        grid-template-rows: none;
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: auto;
        column-gap: 32px;
        align-content: start;
    }
    .hpService .hpPlanTop > *,
    .hpService .hpPlan > .hpBtn { grid-column: 1; }
    .hpService .hpPlan > .hpCheck { grid-column: 2; grid-row: 1 / span 4; }
    .hpService .hpCase { grid-template-columns: 1fr; }
    .hpService .hpCaseImg { min-height: 320px; }
    .hpService .hpTech { grid-template-columns: 1fr; }
    .hpService .hpArrowTab { margin-right: 0; }
}

/* Mobiel */
@media (max-width: 767px) {
    .hpService { --hpGutter: 8px; --hpPad: 18px; }
    .hpService .hpHeroIntro { padding: 32px var(--hpPad); gap: 28px; }
    .hpService .hpHeroImg { min-height: 260px; }
    .hpService .hpBtnRow .hpBtn { flex: 1 1 100%; }
    .hpService .hpUsp { grid-template-columns: 1fr; }
    .hpService .hpUsp li { padding: 14px var(--hpPad); border-right: 0; border-bottom: var(--hpLine); }
    .hpService .hpUsp li:last-child { border-bottom: 0; }
    .hpService .hpProblems { grid-template-columns: 1fr; }
    .hpService .hpPlan { display: flex; flex-direction: column; gap: 22px; }
    .hpService .hpServices,
    .hpService .hpWhy,
    .hpService .hpSteps { grid-template-columns: 1fr; }
    .hpService .hpStep { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; }
    .hpService .hpStep:last-child { grid-column: auto; }
    .hpService .hpStepNum { grid-row: 1 / span 3; font-size: 44px; }
    .hpService .hpStep .hpStepOut { grid-column: 2; }
    .hpService .hpTimeline { display: none; }
    .hpService .hpFaq summary { padding: 14px 16px; font-size: 16px; }
    .hpService .hpFaq details > div { padding: 0 16px 16px; }
    .hpService .hpArrowTab { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hpService *, .hpService *::before, .hpService *::after { transition: none !important; }
}

/* ========================================================
   AANVULLINGEN (finetuning teksten)
======================================================== */

/* Omvang / doorlooptijd / feedback als rijen: label links, waarde rechts */
.hpService .hpPlanMeta { border-top: 1px dashed var(--hpDark); }
.hpService .hpPlanMeta > div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--hpDark);
    font-size: 15px;
}
.hpService .hpPlanMeta dt { color: var(--hpMuted); }
.hpService .hpPlanMeta dd { font-weight: 500; }

/* Disclaimers onder de formules, met oranje markering */
.hpService .hpPlanNotes { display: flex; flex-direction: column; gap: 8px; max-width: 95ch; font-size: 15px; }
.hpService .hpPlanNotes li { position: relative; padding-left: 18px; }
.hpService .hpPlanNotes li::before { content: "*"; position: absolute; left: 0; top: 0; color: var(--hpOrange); font-weight: 700; }

/* Platform-toelichting */
.hpService .hpTechNote { padding-top: 16px; padding-bottom: 20px; font-size: 16px; color: var(--hpMuted); }

/* Diensten zonder aparte meta-regel: tekst iets ruimer */
.hpService .hpServiceItem p { line-height: 1.5; }


/* ========================================================
   AANVRAAG-POP-UP (2 stappen)
======================================================== */
.hpService .hpRequestDialog {
    width: min(960px, calc(100% - 32px)); max-height: calc(100dvh - 32px);
    margin: auto; padding: 0; border: var(--hpLine);
    background: var(--hpLight); color: var(--hpDark);
    overflow: auto; overscroll-behavior: contain;
}
.hpService .hpRequestDialog::backdrop { background: rgb(36 36 36 / 60%); }
.hpService .hpRequestDialog[open] { animation: hpPopIn .25s ease; }
@keyframes hpPopIn { from { transform: translateY(16px); opacity: 0; } }

.hpService .hpRequestHead {
    position: sticky; top: 0; z-index: 2;
    display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
    padding: 24px var(--hpPad); border-bottom: var(--hpLine); background: var(--hpLight);
}
.hpService .hpRequestHead .hpEyebrow { margin-bottom: 8px; }
.hpService .hpRequestHead h2 { font-size: clamp(24px, 2.4vw, 32px); }
.hpService .hpDialogClose {
    display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px;
    border: var(--hpLine); background: var(--hpWhite); cursor: pointer; font-size: 18px; color: var(--hpDark);
}
.hpService .hpDialogClose:hover { background: var(--hpDark); color: var(--hpLight); }

.hpService .hpRequestStep { padding: 28px var(--hpPad); }
.hpService .hpRequestStep[hidden] { display: none; }
.hpService .hpRequestStep[data-step="2"] { padding: 0; }
.hpService .hpRequestIntro { max-width: 62ch; margin-bottom: 24px; }

/* Keuzegroepen */
.hpService .hpOptionGroup { margin: 0 0 28px; padding: 0; border: 0; min-width: 0; }
.hpService .hpOptionGroup legend { margin-bottom: 12px; padding: 0; font: 700 18px var(--hpHeading); }
.hpService .hpOptional { font: 400 15px var(--hpMain); color: var(--hpMuted); }

/* Formule: pillen */
.hpService .hpPills { display: flex; flex-wrap: wrap; gap: 8px; }
.hpService .hpPill { position: relative; cursor: pointer; }
.hpService .hpPill input,
.hpService .hpOption input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hpService .hpPill span {
    display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px;
    border: var(--hpLine); background: var(--hpWhite); font-weight: 600;
    transition: background-color .15s ease, color .15s ease;
}
.hpService .hpPill:hover span { background: var(--hpLight); }
.hpService .hpPill input:checked + span { background: var(--hpDark); color: var(--hpLight); }
.hpService .hpPill input:focus-visible + span,
.hpService .hpOption input:focus-visible + span { outline: 3px solid var(--hpOrange); outline-offset: 2px; }

/* Extra's: aanvinkbare kaartjes */
.hpService .hpOptions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hpService .hpOption { position: relative; cursor: pointer; display: flex; }
.hpService .hpOption span {
    position: relative; flex: 1; display: block;
    padding: 14px 14px 14px 46px; border: var(--hpLine); background: var(--hpWhite);
    font-size: 14px; line-height: 1.4; color: var(--hpMuted);
    transition: box-shadow .15s ease;
}
.hpService .hpOption span b { display: block; margin-bottom: 2px; font: 600 15px var(--hpMain); color: var(--hpDark); }
.hpService .hpOption span::before {
    content: ""; position: absolute; left: 14px; top: 15px;
    width: 20px; height: 20px; border: var(--hpLine); background: var(--hpWhite);
}
.hpService .hpOption span::after {
    content: "✓"; position: absolute; left: 18px; top: 14px;
    font-size: 14px; font-weight: 700; color: var(--hpWhite); opacity: 0;
}
.hpService .hpOption:hover span { box-shadow: inset 0 0 0 1px var(--hpDark); }
.hpService .hpOption input:checked + span { box-shadow: inset 0 0 0 2px var(--hpBlue); }
.hpService .hpOption input:checked + span::before { background: var(--hpBlue); border-color: var(--hpBlue); }
.hpService .hpOption input:checked + span::after { opacity: 1; }

.hpService .hpRequestActions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hpService .hpTextBtn {
    padding: 0; border: 0; background: none; cursor: pointer;
    font: 600 15px var(--hpMain); color: var(--hpDark);
    text-decoration: underline; text-underline-offset: 4px;
}

/* Stap 2 */
.hpService .hpRequestBody { display: grid; grid-template-columns: 1fr 1.7fr; }
.hpService .hpRequestSide {
    display: flex; flex-direction: column; gap: 28px;
    padding: 28px var(--hpPad); border-right: var(--hpLine); background: var(--hpWhite);
}
.hpService .hpRequestSide > div { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hpService .hpRequestLabel { font: 700 16px var(--hpHeading); }
.hpService .hpChipList { display: flex; flex-wrap: wrap; gap: 8px; }
.hpService .hpChip { padding: 4px 12px; border: var(--hpLine); background: var(--hpLight); font-size: 14px; font-weight: 600; }
.hpService .hpChip.isPlan { background: var(--hpOrange); }
.hpService .hpChipEmpty { font-size: 15px; color: var(--hpMuted); }
.hpService .hpDirect { padding-top: 20px; border-top: 1px dashed var(--hpDark); }
.hpService .hpDirectLink {
    display: flex; align-items: center; gap: 10px; width: 100%;
    padding: 10px 12px; border: var(--hpLine); background: var(--hpLight);
    font-size: 15px; font-weight: 600; text-decoration: none;
}
.hpService .hpDirectLink:hover { background: var(--hpDark); color: var(--hpLight); }
.hpService .hpDirectNote { font-size: 13px; color: var(--hpMuted); }
.hpService .hpRequestForm { padding: 28px var(--hpPad); }

/* Fluent Forms in de stijl van de site */
.hpService .hpRequestForm .ff-el-group { margin-bottom: 18px; }
.hpService .hpRequestForm .ff-el-input--label label { font: 600 15px var(--hpMain); color: var(--hpDark); }
.hpService .hpRequestForm .ff-el-form-control {
    width: 100%; padding: 12px 14px; border: var(--hpLine); border-radius: 0;
    background: var(--hpWhite); color: var(--hpDark); font: 400 16px/1.45 var(--hpMain); box-shadow: none;
}
.hpService .hpRequestForm .ff-el-form-control:focus { outline: 3px solid var(--hpOrange); outline-offset: 0; border-color: var(--hpDark); }
.hpService .hpRequestForm textarea.ff-el-form-control { min-height: 180px; resize: vertical; }
.hpService .hpRequestForm .ff_submit_btn_wrapper { text-align: left; }
.hpService .hpRequestForm .ff-btn-submit {
    min-height: 52px; padding: 12px 28px; border: 0; border-radius: 0;
    background: var(--hpBlue) !important; color: var(--hpWhite) !important;
    font: 600 17px var(--hpMain); cursor: pointer;
}
.hpService .hpRequestForm .ff-btn-submit:hover { background: var(--hpDark) !important; }

@media (max-width: 1000px) {
    .hpService .hpOptions { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .hpService .hpRequestDialog { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; border: 0; }
    .hpService .hpOptions { grid-template-columns: 1fr; }
    /* Volgorde op gsm: keuzes, formulier, daarna mail/WhatsApp/bellen */
    .hpService .hpRequestBody { display: flex; flex-direction: column; }
    .hpService .hpRequestSide { display: contents; }
    .hpService .hpRequestSide > div:first-child { order: 1; padding: 24px var(--hpPad); background: var(--hpWhite); border-bottom: var(--hpLine); }
    .hpService .hpRequestForm { order: 2; }
    .hpService .hpDirect { order: 3; padding: 24px var(--hpPad); border-top: var(--hpLine); background: var(--hpWhite); }
    .hpService .hpRequestActions .hpBtn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .hpService .hpRequestDialog[open] { animation: none; }
}
.hpService .hpDirectLink::before { content: ""; flex: 0 0 14px; height: 14px; background: var(--hpArrow) center/contain no-repeat; }
.hpService .hpDirectLink:hover::before { filter: invert(1); }

/* ========================================================
   EXTRA LAYOUTVARIANTEN (o.a. brandingpagina)
======================================================== */
.hpService .hpSpan6 { grid-column: span 6; }
.hpService .hpServices.isThree { grid-template-columns: repeat(3, 1fr); }
.hpService .hpServices.isThree .hpIcon { align-self: flex-start; width: auto; min-width: 44px; padding: 0 8px; }
.hpService .hpServiceItem p .hpTextLink { white-space: nowrap; }

@media (max-width: 1000px) {
    .hpService .hpSpan6 { grid-column: span 12; }
    .hpService .hpServices.isThree { grid-template-columns: 1fr; }
}

/* Afbakening onderaan een formule ("valt buiten dit traject") */
.hpService .hpCheck li.isScope {
    margin-top: 6px;
    padding: 12px 14px;
    border: 1px dashed var(--hpDark);
    border-bottom: 1px dashed var(--hpDark);
    font-size: 14px;
    line-height: 1.45;
    color: var(--hpMuted);
}
.hpService .hpCheck li.isScope::before {
    content: none;
}

/* ========================================================
   GRAFISCH ONTWERP: project + uurpakketten + werkplek
======================================================== */
.hpService .hpPlanSize {
    margin-bottom: 6px;
    font: 600 14px var(--hpHeading);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--hpMuted);
}
.hpService .hpProjectBlock h3 { font-size: clamp(26px, 2.2vw, 32px); }
.hpService .hpProjectBlock .hpCheck { margin-top: 20px; max-width: 64ch; }
.hpService .hpProjectPrice {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 14px;
    background: var(--hpWhite);
}
.hpService .hpProjectPrice .hpBtn { width: 100%; }
.hpService .hpWhere img { width: 36px; height: 36px; object-fit: contain; }
.hpService .hpWhere h3 { margin: 14px 0 8px; }
.hpService .hpCaseBody h3 { font-size: clamp(22px, 2vw, 28px); }

/* ========================================================
   BEVESTIGING NA VERZENDEN (Fluent Forms)
======================================================== */
.hpService .hpRequestDialog.isSent .hpRequestSide { display: none; }
.hpService .hpRequestDialog.isSent .hpRequestBody { grid-template-columns: 1fr; }
.hpService .hpRequestForm .ff-message-success {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    color: var(--hpDark);
    font: inherit;
}
.hpService .hpSent { display: flex; flex-direction: column; gap: 22px; max-width: 62ch; }
.hpService .hpSentIcon { display: flex; justify-content: flex-start; }
/* Pijl schuin naar beneden: de basispijl wijst naar rechtsboven, dus 90° draaien */
.hpService .hpSentIcon img { width: 64px; height: 64px; object-fit: contain; transform: rotate(90deg); }
.hpService .hpSent h3 { font-size: clamp(26px, 2.6vw, 34px); margin: 0; }
.hpService .hpSent p { margin: 0; }
.hpService .hpSentSteps { counter-reset: hpsent; margin: 0; padding: 0; list-style: none; border-top: 1px dashed var(--hpDark); }
.hpService .hpSentSteps li {
    position: relative; counter-increment: hpsent;
    padding: 12px 0 12px 44px; border-bottom: 1px dashed var(--hpDark);
}
.hpService .hpSentSteps li::before {
    content: counter(hpsent, decimal-leading-zero);
    position: absolute; left: 0; top: 12px;
    font: 800 18px/1.3 var(--hpHeading); color: var(--hpOrange);
}
.hpService .hpSentSteps b { display: block; font-family: var(--hpHeading); }
.hpService .hpSentActions { display: flex; flex-wrap: wrap; gap: 12px; }
.hpService .hpSentActions .hpBtn { text-decoration: none; }
.hpService .hpSentNote { font-size: 14px; color: var(--hpMuted); }

/* ========================================================
   HOMEPAGE (zelfde opmaak, met [highlighted_work] tussen
   twee .hpService-blokken)
======================================================== */
.hpService[data-service="home"] .hpHeroIntro h1 { max-width: 16ch; font-size: clamp(38px, 4.6vw, 72px); }
.hpService .hpHeroIntro.isWide { display: grid; grid-template-columns: 1.15fr 1fr; align-items: end; gap: 48px; }
.hpService .hpHeroIntro.isWide .hpLead { margin-bottom: 28px; }
.hpService .hpHeroImg.isVideo { min-height: 0; aspect-ratio: 16 / 9; max-height: 78vh; width: 100%; }
.hpService .hpHeroImg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1000px) {
    .hpService .hpHeroIntro.isWide { grid-template-columns: 1fr; gap: 28px; }
    .hpService .hpHeroImg.isVideo { min-height: 0; }
}
.hpService .hpTrust { margin-top: 18px; font-size: 15px; color: var(--hpMuted); }

/* Dienstkaarten met prijs en link */
.hpService .hpHomeServices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hpDark); }
.hpService .hpHomeService { display: flex; flex-direction: column; gap: 14px; padding: 32px var(--hpPad); background: var(--hpLight); transition: background-color .2s ease; }
.hpService .hpHomeService:hover { background: var(--hpWhite); }
.hpService .hpHomeService h3 a { text-decoration: none; }
.hpService .hpHomeService h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hpService .hpHomeService .hpCheck { font-size: 16px; }
.hpService .hpHomeService .hpPrice { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--hpDark); }
.hpService .hpHomeService .hpBtnRow .hpBtn { flex: 1 1 auto; }

/* Herkenning met links */
.hpService .hpProblems .hpTextLink { display: inline-block; margin-top: 12px; }

/* Aanpak in 4 stappen */
.hpService .hpSteps.isFour { grid-template-columns: repeat(4, 1fr); }

/* Waarom: portret + redenen */
.hpService .hpPortrait { position: relative; min-height: 460px; }
.hpService .hpPortrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hpService .hpWhy.isTwo { grid-template-columns: repeat(2, 1fr); }

/* Meerdere reviews */
.hpService .hpReviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hpDark); }
.hpService .hpReviews figure { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; margin: 0; padding: 32px var(--hpPad); background: var(--hpWhite); }
.hpService .hpReviews blockquote { margin: 0; font: 500 clamp(18px, 1.4vw, 21px)/1.45 var(--hpHeading); }
.hpService .hpReviews figcaption { font-weight: 600; }
.hpService .hpReviews figcaption span { display: block; font-weight: 400; color: var(--hpMuted); font-size: 15px; }
.hpService .hpReviews.isSingle { grid-template-columns: 1fr; }
.hpService .hpReviews.isSingle blockquote { max-width: 60ch; font-size: clamp(20px, 1.8vw, 26px); }

@media (max-width: 1200px) {
    .hpService .hpSteps.isFour { grid-template-columns: repeat(2, 1fr); }
    .hpService .hpSteps.isFour .hpStep:last-child { grid-column: auto; }
}
@media (max-width: 1000px) {
    .hpService .hpHomeServices,
    .hpService .hpReviews { grid-template-columns: 1fr; }
    .hpService .hpPortrait { min-height: 380px; }
}
@media (max-width: 767px) {
    .hpService .hpSteps.isFour,
    .hpService .hpWhy.isTwo { grid-template-columns: 1fr; }
    .hpService .hpPortrait { min-height: 300px; }
}
.hpService .hpHomeService .hpPrice strong { font-size: clamp(32px, 2.6vw, 40px); }
.hpService .hpWhyHead { padding: var(--hpPad); border-bottom: var(--hpLine); background: var(--hpLight); }
.hpService .hpWhyFoot { padding: var(--hpPad); border-top: var(--hpLine); background: var(--hpLight); }

/* Gsm: main.css herschikt secties (o.a. .workSection order 1).
   Op pagina's met .hpService blijft de volgorde van de HTML behouden. */
@media (max-width: 767px) {
    .siteMain:has(> .hpService) > * { order: 0 !important; }
}

/* ========================================================
   HOMEPAGE VARIANT B: bestaande hero (main.css) + knoppen
======================================================== */
.heroSection .heroCta { padding: 0; }
.heroSection .heroCta .mainButton { min-height: 88px; transition: background-color .2s ease, color .2s ease; }
.heroSection .heroCta .mainButton:hover { background-color: var(--colorDark); color: var(--colorLight); }
.heroSection .heroCta .mainButton.isGhost { background-color: var(--colorLight); color: var(--colorDark); }
.heroSection .heroCta .mainButton.isGhost:hover { background-color: var(--colorDark); color: var(--colorLight); }
.heroSection .heroService a { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.heroSection .heroService a:hover span:last-child { text-decoration: underline; text-underline-offset: 4px; }
/* Aansluiting hero → eerste .hpService-blok: geen dubbele lijn, geen extra ruimte */
.heroSection + .hpService { padding-top: 0; }
.heroSection + .hpService > section.hpGrid:first-of-type { border-top: 0; }
@media (max-width: 767px) {
    .heroSection .heroCta .mainButton { min-height: 64px; }
}

/* Variant B v2: knoppenrij in de stijl van de live CTA-rij (2 + 2 + 5 + 3) */
.heroSection .heroCtaText { display: flex; align-items: center; }
.heroSection .heroCtaText .ctaBlock { margin: 0; }
@media (min-width: 768px) and (max-width: 1000px) {
    .heroSection .heroCtaArrows,
    .heroSection .heroCtaText { display: none; }
    .heroSection .heroCta { grid-column: span 4; }
}
@media (max-width: 767px) {
    .heroSection .heroCtaText { display: none; }
    .heroSection .heroCta { grid-column: span 4; margin-top: 0; }
}

/* Herkenning: blokken uniform, links op dezelfde hoogte */
.hpService .hpProblems.isEven { grid-template-rows: repeat(4, auto); }
.hpService .hpProblems.isEven li { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 12px; align-content: start; }
.hpService .hpProblems.isEven .hpTextLink { align-self: end; margin-top: 8px; }
@media (max-width: 767px) {
    .hpService .hpProblems.isEven { grid-template-rows: none; }
    .hpService .hpProblems.isEven li { grid-row: auto; grid-template-rows: none; }
}

/* Dienstkaarten: nieuwe iconen, alle regels op dezelfde hoogte */
.hpService .hpServiceIcon { display: block; width: 44px; height: 36px; object-fit: contain; }
.hpService .hpHomeServices.isEven { grid-template-rows: repeat(6, auto); }
.hpService .hpHomeServices.isEven .hpHomeService { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 14px; }
.hpService .hpHomeServices.isEven .hpPrice { margin-top: 0; align-self: end; }
@media (max-width: 1000px) {
    .hpService .hpHomeServices.isEven { grid-template-rows: none; }
    .hpService .hpHomeServices.isEven .hpHomeService { grid-row: auto; grid-template-rows: none; display: flex; }
}

/* Twijfelblok gecentreerd */
.hpService .hpAfter.isCenter { flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 14px; padding-top: 40px; padding-bottom: 40px; }
.hpService .hpAfter.isCenter h3 { font-size: var(--hpH3); }
.hpService .hpAfter.isCenter p { max-width: 60ch; }
.hpService .hpAfter.isCenter .hpBtn { margin-top: 10px; }

/* Doorlopend kader: na het werk-blok geen tweede lijn (anders 2px dik) */
.workSection + .hpService > section.hpGrid:first-of-type { border-top: 0; }
.workSection + .hpService { padding-top: 0; }
.heroSection .heroCta { display: flex; }
.heroSection .heroCta .mainButton { flex: 1 1 auto; height: auto; padding: 16px 18px; }

/* Variant B v3 */
.heroSection .heroCtaText .heroP { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.35; }
.hpService .hpServiceIcon { margin-bottom: 8px; }

/* Gesloten kader tussen 1001 en 1200px: main.css geeft daar .sectionPadding
   24px boven/onder en zet .siteMain 24px hoger. Op pagina's met .hpService
   sluiten header, hero, secties en werk-blok direct op elkaar aan. */
@media (min-width: 1001px) and (max-width: 1200px) {
    .siteMain:has(> .hpService) { margin-top: 0; }
    .siteMain:has(> .hpService) .sectionPadding { padding-top: 0; padding-bottom: 0; }
    .siteMain:has(> .hpService) > .hpService:first-child { padding-top: 0; }
}
