/* ============================================================
   Apptimate — vormgeving "V" (mockup doc/mockups/home-v.html)
   ============================================================
   Laadt ná style-future.min.css. Drie delen:
     1. Tokens, typografie en knoppen (overschrijft het oude thema)
     2. Kop (topbalk, menu, dropdowns, hamburger) en footer
     3. Homepage (hv-*) en het omzetten van de subpagina-onderdelen

   Huisstijl blijft Apptimate: navy als inkt, oranje als accent, met
   papierwit/zand als achtergrond en pastelvlakken voor kaarten.
   ============================================================ */

/* DM Sans (variabel, 400–700) en IBM Plex Mono — zelf gehost, latin-subset.
   header.php preloadt DM Sans met exact deze URL; houd die twee gelijk. */
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../assets/fonts/dmsans-variable-latin.woff2') format('woff2');
}
@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../assets/fonts/ibmplexmono-400-latin.woff2') format('woff2');
}
@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../assets/fonts/ibmplexmono-500-latin.woff2') format('woff2');
}

/* ── 1. Tokens ──────────────────────────────────────────────── */
:root {
    --ap-navy:        #1A2B4A;
    --ap-navy-dark:   #142239;
    --ap-navy-mid:    #1F4A7B;
    --ap-orange:      #E87722;
    --ap-orange-dark: #C85F12;
    --ap-text:        #1A2B4A;
    --ap-light:       #F8F3F0;   /* zand */
    --ap-gray:        #5F6B7E;
    --ap-border:      #ECE5DF;

    --fu-radius:      18px;
    --fu-radius-sm:   12px;
    --fu-radius-lg:   24px;
    --fu-shadow:      0 10px 30px -14px rgba(26, 43, 74, .22);
    --fu-shadow-hover:0 24px 48px -18px rgba(26, 43, 74, .30);
    --fu-green-tint:  rgba(232, 119, 34, .10);
    --fu-green-glow:  rgba(232, 119, 34, .25);

    --hv-papier: #FFFDFB;
    --hv-zand:   #F8F3F0;
    --hv-tekst2: #3D4A60;
    --hv-groen:  #1F9D55;
    --hv-peach:  #FFDDCE;
    --hv-lila:   #E8E1F1;
    --hv-mint:   #E5EEE4;
    --hv-teal:   #DCEFEC;
    --hv-geel:   #FFEBBA;
    --hv-mono:   'IBM Plex Mono', ui-monospace, monospace;
}

html, body {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.55;
    background: var(--hv-papier);
    color: var(--ap-text);
    -webkit-font-smoothing: antialiased;
    /* clip i.p.v. hidden (style-future): hidden maakt body een scrollcontainer
       en dan blijft de plakkende kop niet staan. */
    overflow-x: clip;
}
:focus-visible { outline: 2px solid var(--ap-orange); outline-offset: 3px; }

h1, h2, h3, h4, h5, h6 { font-family: inherit; letter-spacing: -.02em; }

/* Wrapper voor de nieuwe onderdelen (Bootstrap's .container blijft voor de
   bestaande pagina's). */
.ap-wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ── Knoppen ────────────────────────────────────────────────── */
.ap-knop,
.ap-btn-primary,
.ap-btn-outline-navy,
.ap-btn-outline-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 999px;
    font-family: inherit;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
    line-height: 1.2;
    white-space: nowrap;
    transition: background-color .2s, color .2s, box-shadow .2s, transform .2s;
}
.ap-knop { background: var(--ap-navy); color: #fff; border: 0; }
.ap-knop:hover { background: var(--ap-orange-dark); color: #fff; }
.ap-knop-oranje, .ap-btn-primary { background: var(--ap-orange); color: #fff; border: 0; }
.ap-knop-oranje:hover, .ap-btn-primary:hover { background: var(--ap-orange-dark); color: #fff; box-shadow: none; transform: none; }
.ap-knop-lijn, .ap-btn-outline-navy { background: transparent; color: var(--ap-navy); border: 0; box-shadow: inset 0 0 0 1.5px var(--ap-navy); }
.ap-knop-lijn:hover, .ap-btn-outline-navy:hover { background: var(--ap-navy); color: #fff; }
.ap-knop-wit { background: #fff; color: var(--ap-navy); }
.ap-knop-wit:hover { background: var(--ap-navy); color: #fff; }
.ap-btn-outline-white { background: transparent; color: #fff; border: 0; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.ap-btn-outline-white:hover { background: rgba(255,255,255,.12); color: #fff; }
.ap-pijl { font-size: .85em; }

/* ── 2a. Topbalk ────────────────────────────────────────────── */
.ap-topbar {
    background: var(--ap-navy);
    color: #C9D3E3;
    font-family: var(--hv-mono);
    font-size: 12.5px;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.ap-topbar .ap-wrap { display: flex; align-items: center; min-height: 44px; gap: 24px; }
.ap-topbar a { color: inherit; text-decoration: none; }
.ap-topbar a:hover, .ap-topbar a.actief { color: #fff; }
/* "Nieuw"-melding: één of meer berichten die over elkaar liggen en
   rouleren (main.js zet .actief / .weg). */
.ap-topbar-nieuws { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.ap-topbar-nieuws > b { color: var(--ap-orange); font-weight: 500; flex: none; }
.ap-topbar-slides { position: relative; flex: 1; min-width: 0; height: 20px; overflow: hidden; }
.ap-topbar-slide {
    position: absolute; inset: 0; display: flex; align-items: center; gap: 8px;
    color: #fff !important; white-space: nowrap;
    opacity: 0; transform: translateY(100%); visibility: hidden;
    transition: opacity .45s, transform .45s, visibility .45s;
}
.ap-topbar-slide.actief { opacity: 1; transform: none; visibility: visible; }
.ap-topbar-slide.weg { transform: translateY(-100%); }
.ap-topbar-slide span:not(.ap-pijl) { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ap-topbar-slide:hover span:not(.ap-pijl) { text-decoration: underline; text-underline-offset: 3px; }
.ap-topbar-stippen { display: flex; gap: 6px; flex: none; }
.ap-topbar-stippen button {
    width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
    background: rgba(255,255,255,.3); transition: background .2s, width .2s;
}
.ap-topbar-stippen button:hover { background: rgba(255,255,255,.6); }
.ap-topbar-stippen button.actief { background: var(--ap-orange); width: 16px; border-radius: 3px; }
.ap-topbar-rechts { margin-left: auto; display: flex; align-items: center; gap: 22px; flex: none; }
.ap-topbar-zoek {
    background: none; border: 0; color: inherit; padding: 4px; cursor: pointer; font-size: 14px; line-height: 1;
}
.ap-topbar-zoek:hover { color: #fff; }

/* Taalkeuze (topbalk) */
.ap-taal { position: relative; }
.ap-taal-knop {
    display: flex; align-items: center; gap: 7px;
    background: rgba(255,255,255,.08); border: 0; border-radius: 999px;
    color: #fff; padding: 5px 10px; cursor: pointer;
    font: inherit; letter-spacing: inherit; text-transform: inherit;
}
.ap-taal-knop:hover { background: rgba(255,255,255,.16); }
.ap-taal-knop .bi { font-size: 10px; transition: transform .2s; }
.ap-taal.open .ap-taal-knop .bi { transform: rotate(180deg); }
.ap-taal-menu {
    position: absolute; right: 0; top: calc(100% + 8px); z-index: 1100;
    min-width: 180px; list-style: none; margin: 0; padding: 8px;
    background: #fff; border: 1px solid var(--ap-border); border-radius: 16px;
    box-shadow: 0 24px 48px -16px rgba(26,43,74,.28);
    font-family: 'DM Sans', system-ui, sans-serif; font-size: 15px; letter-spacing: 0; text-transform: none;
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .15s, transform .15s, visibility .15s;
}
.ap-taal.open .ap-taal-menu { opacity: 1; visibility: visible; transform: none; }
.ap-taal-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--ap-navy) !important; font-weight: 500; }
.ap-taal-menu a:hover { background: var(--hv-zand); }
.ap-taal-menu a.actief { background: var(--hv-zand); font-weight: 600; }

/* ── 2b. Kop + hoofdmenu ────────────────────────────────────── */
.ap-header {
    position: sticky; top: 0; z-index: 1030;
    background: rgba(255,253,251,.96);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    backdrop-filter: saturate(1.4) blur(10px);
    transition: box-shadow .25s;
}
.ap-header.scrolled { box-shadow: 0 1px 0 var(--ap-border), 0 10px 30px -20px rgba(26,43,74,.35); }

.ap-nav { display: flex; align-items: center; height: 76px; gap: 40px; }
.ap-nav-logo img { height: 32px; width: auto; display: block; }

.ap-nav-hoofd {
    display: flex; align-items: center; gap: 28px;
    list-style: none; padding: 0; margin: 0 auto;
    font-size: 15px; font-weight: 500;
}
.ap-nav-hoofd a { color: var(--ap-navy); text-decoration: none; }
.ap-nav-hoofd > li > a { display: inline-block; padding: 26px 0; position: relative; }
.ap-nav-hoofd > li > a:hover { color: var(--ap-orange-dark); }
.ap-nav-hoofd > li > a.actief::before {
    content: ""; position: absolute; left: 0; right: 0; bottom: 18px;
    height: 2px; border-radius: 2px; background: var(--ap-orange);
}
.ap-nav-hoofd > li > a.ap-plus.actief::before { right: 16px; }
.ap-plus::after {
    content: "+"; display: inline-block; margin-left: 4px;
    color: var(--ap-gray); transition: transform .2s, color .2s;
}

/* Uitklapmenu's: openen op klik (main.js zet .open) */
.ap-sub { position: relative; }
.ap-sub-menu {
    position: absolute; left: -18px; top: 100%; z-index: 10;
    min-width: 250px; list-style: none; margin: 0; padding: 10px;
    display: grid; gap: 2px;
    background: #fff; border: 1px solid var(--ap-border); border-radius: 18px;
    box-shadow: 0 24px 48px -16px rgba(26,43,74,.25);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .15s, transform .15s, visibility .15s;
}
.ap-sub.open > .ap-sub-menu { opacity: 1; visibility: visible; transform: none; }
.ap-sub.open > .ap-plus::after { transform: rotate(45deg); color: var(--ap-orange); }
.ap-sub-menu a { display: block; padding: 9px 14px; border-radius: 12px; font-weight: 500; }
.ap-sub-menu a:hover, .ap-sub-menu a.actief { background: var(--hv-zand); }
.ap-sub-menu .alle { border-top: 1px solid var(--ap-border); margin-top: 6px; padding-top: 6px; }
.ap-sub-menu .alle a { color: var(--ap-orange-dark); font-weight: 600; }

.ap-nav-rechts { display: flex; align-items: center; gap: 18px; font-size: 15px; font-weight: 500; flex: none; }
.ap-nav-telefoon { color: var(--ap-navy); text-decoration: none; white-space: nowrap; }
.ap-nav-telefoon:hover { color: var(--ap-orange-dark); }
.ap-nav-cta { padding: 9px 16px; font-size: 15px; }
.ap-nav-mobiel, .ap-hamburger, .ap-nav-zoek { display: none; }

/* Hamburger */
.ap-nav-zoek, .ap-hamburger {
    width: 46px; height: 46px; border: 0; border-radius: 50%;
    background: var(--hv-zand); color: var(--ap-navy);
    place-items: center; padding: 0; cursor: pointer; font-size: 17px;
}
.ap-hamburger span, .ap-hamburger span::before, .ap-hamburger span::after {
    display: block; width: 20px; height: 2px; border-radius: 2px;
    background: currentColor; transition: transform .25s, background .25s;
}
.ap-hamburger span { position: relative; }
.ap-hamburger span::before, .ap-hamburger span::after { content: ""; position: absolute; left: 0; }
.ap-hamburger span::before { top: -6px; }
.ap-hamburger span::after  { top: 6px; }
.menu-open .ap-hamburger { background: var(--ap-navy); color: #fff; }
.menu-open .ap-hamburger span { background: transparent; }
.menu-open .ap-hamburger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .ap-hamburger span::after  { transform: translateY(-6px) rotate(-45deg); }

/* Ankers mogen niet onder de plakkende kop verdwijnen */
[id] { scroll-margin-top: 96px; }

/* ── 2c. Footer ─────────────────────────────────────────────── */
.ap-voet { margin-top: 112px; background: var(--ap-navy); color: #C9D3E3; padding: 80px 0 36px; font-size: 15px; }
.ap-voet-kolommen { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 32px; }
.ap-voet-merk img { height: 30px; width: auto; }
.ap-voet-merk p { margin: 20px 0 0; max-width: 280px; color: #9FB0C8; }
.ap-voet-social { display: flex; gap: 8px; margin-top: 20px; }
.ap-voet-social a {
    width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255,255,255,.08); color: #fff; text-decoration: none;
}
.ap-voet-social a:hover { background: var(--ap-orange); }
.ap-voet-kop { font-size: 14px; font-weight: 600; color: #fff; margin: 0 0 18px; letter-spacing: 0; }
.ap-voet ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ap-voet a { color: inherit; text-decoration: none; }
.ap-voet a:hover { color: #fff; }
.ap-voet-onder {
    display: flex; gap: 24px; flex-wrap: wrap; align-items: center;
    margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12);
    color: #8798B2; font-size: 13.5px;
}
.ap-voet-cookieknop { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.ap-voet-cookieknop:hover { color: #fff; }
.ap-voet-top { margin-left: auto; }

/* ── 3a. Homepage ───────────────────────────────────────────── */
.hv-bg-peach { background: var(--hv-peach); }
.hv-bg-lila  { background: var(--hv-lila); }
.hv-bg-mint  { background: var(--hv-mint); }
.hv-bg-teal  { background: var(--hv-teal); }
.hv-bg-geel  { background: var(--hv-geel); }

.hv-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 600; color: var(--ap-orange-dark); }
.hv-eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ap-orange); }
.hv-mono { font-family: var(--hv-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.hv-kop { font-size: clamp(34px, 4.4vw, 58px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; margin: 14px 0 0; color: var(--ap-navy); }
.hv-kop span { color: var(--ap-gray); }
.hv-sectie { margin-top: 128px; }
.hv-sectiekop { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.hv-sectiekop > p { max-width: 440px; color: var(--ap-gray); font-size: 18px; margin: 0; }
.hv-acties { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Hero */
.hv-hero { display: grid; grid-template-columns: 7fr 6fr; gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 24px; }
.hv-hero .hv-eyebrow { font-size: clamp(16px, 1.6vw, 20px); gap: 10px; }
.hv-hero .hv-eyebrow::before { width: 10px; height: 10px; }
.hv-hero h1 { font-size: clamp(44px, 6vw, 82px); font-weight: 600; letter-spacing: -.045em; line-height: .98; margin: 18px 0 0; color: var(--ap-navy); }
.hv-hero h1 em { font-style: normal; color: var(--ap-orange); }
.hv-lead { max-width: 540px; margin: 28px 0 32px; font-size: 20px; color: var(--hv-tekst2); line-height: 1.5; }
.hv-lijn { display: flex; align-items: center; gap: 14px; margin-top: 40px; font-size: 15px; color: var(--ap-gray); }
.hv-lijn p { margin: 0; max-width: 360px; }
.hv-lijn b { color: var(--ap-navy); font-weight: 600; }
.hv-lijn-bol { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ap-navy); flex: none; }

/* Beeld gecentreerd in een navy vlak, met een lichtgrijze lijst rondom. */
.hv-beeld { position: relative; background: var(--ap-navy); border-radius: 32px; padding: 48px 40px; align-content: center; }
.hv-scherm { background: #A9B1BC; border-radius: 16px; padding: 10px; box-shadow: 0 30px 60px -30px rgba(26,43,74,.45); }
.hv-scherm img { border-radius: 8px; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: top left; display: block; }

/* Hero-slider: alle beelden in dezelfde rastercel, zodat de hoogte vastligt;
   main.js wisselt .actief. Elk beeld kan een eigen statuskaart hebben (admin):
   .met-kaart op .hv-beeld als het actieve beeld er een heeft, .zichtbaar op
   de kaart die erbij hoort. */
.hv-beeld { display: grid; }
.hv-slide { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.hv-slide.actief { opacity: 1; visibility: visible; }
.hv-slide .hv-sticker { left: -62px; top: -20px; }
.hv-status { transition: opacity .4s, visibility .4s, transform .4s; }
.hv-beeld:not(.met-kaart) .hv-status, .hv-status:not(.zichtbaar) { opacity: 0; visibility: hidden; transform: translateY(10px); }
.hv-stippen { position: absolute; top: 18px; right: 24px; display: flex; gap: 6px; z-index: 2; }
.hv-stippen button {
    width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
    background: rgba(255,255,255,.35); transition: background .2s, width .2s;
}
.hv-stippen button:hover { background: rgba(255,255,255,.7); }
.hv-stippen button.actief { background: var(--ap-orange); width: 20px; border-radius: 4px; }
.hv-status {
    position: absolute; right: -20px; bottom: -36px; width: 290px;
    background: #fff; border-radius: 18px; overflow: hidden; font-size: 13.5px;
    box-shadow: 0 24px 48px -16px rgba(26,43,74,.28);
}
.hv-status h2 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; margin: 0; padding: 16px 18px 2px; color: var(--ap-navy); }
.hv-status-sub { padding: 0 18px 12px; color: var(--ap-gray); font-size: 12.5px; }
.hv-status-sub::before, .hv-status td.ok::before {
    content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
    background: var(--hv-groen); margin-right: 6px; vertical-align: 1px;
}
.hv-status table { width: 100%; border-collapse: collapse; }
.hv-status td { padding: 8px 18px; border-top: 1px solid #F0ECE8; color: var(--hv-tekst2); }
.hv-status td:last-child { text-align: right; }
.hv-sticker {
    position: absolute; left: -22px; top: 28px; z-index: 1;
    background: var(--ap-orange); color: #fff; border: 3px solid #fff; border-radius: 999px; padding: 10px 20px;
    font-weight: 700; font-size: 16px; transform: rotate(-6deg);
    box-shadow: 0 14px 28px -10px rgba(0,0,0,.5);
}
.hv-sticker b { color: var(--ap-navy); }

/* Specialismen */
.hv-spec { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 48px; }
.hv-spec.hv-spec-4 { grid-template-columns: repeat(4, 1fr); }
.hv-spec a {
    border-radius: 24px; padding: 28px 24px 26px; text-decoration: none; color: var(--ap-navy);
    display: flex; flex-direction: column; min-height: 230px;
    transition: transform .2s, opacity .65s ease;
}
.hv-spec a:hover { transform: translateY(-4px); }
.hv-spec svg { width: 30px; height: 30px; stroke: var(--ap-navy); margin-bottom: auto; }
.hv-spec .hv-mono { color: var(--ap-gray); font-size: 11.5px; margin-top: 28px; }
.hv-spec b { font-size: 24px; font-weight: 600; letter-spacing: -.02em; margin: 4px 0 6px; display: flex; justify-content: space-between; }
.hv-spec p { font-size: 15px; color: var(--hv-tekst2); line-height: 1.4; margin: 0; }

/* Ons werk */
.hv-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.hv-case { text-decoration: none; color: var(--ap-navy); display: flex; flex-direction: column; }
/* Beeld volledig tonen (contain), gecentreerd met een pastelrand eromheen. */
.hv-case-foto { border-radius: 24px; overflow: hidden; aspect-ratio: 3/2; padding: 22px; display: flex; align-items: center; justify-content: center; }
.hv-case-foto img { border-radius: 12px; width: 100%; height: auto; max-height: 100%; object-fit: contain; box-shadow: 0 12px 30px -18px rgba(26,43,74,.45); transition: transform .3s; }
.hv-case:hover .hv-case-foto img { transform: scale(1.03); }
.hv-case-icoon {
    width: 100%; height: 100%; border-radius: 12px; background: rgba(255,255,255,.55);
    display: grid; place-items: center; font-size: 64px; color: var(--ap-navy);
}
.hv-case-label { margin-top: 20px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ap-gray); }
.hv-case h3 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; margin: 8px 0 10px; }
.hv-case p { color: var(--hv-tekst2); font-size: 16px; margin: 0; }
.hv-case-klant { margin-top: 14px; font-weight: 700; font-size: 15px; }
.hv-case-klant .ap-pijl { color: var(--ap-orange); }

/* Cijfers */
.hv-cijfers { background: var(--hv-zand); border-radius: 32px; padding: 64px; display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.hv-getallen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hv-getallen > div { background: var(--hv-papier); border-radius: 20px; padding: 26px 24px; }
.hv-getallen b { display: block; font-size: 52px; font-weight: 600; letter-spacing: -.04em; line-height: 1; margin-bottom: 12px; color: var(--ap-navy); }
.hv-getallen b i { font-style: normal; color: var(--ap-orange); }
.hv-getallen span { font-size: 15px; color: var(--ap-gray); line-height: 1.35; display: block; }

/* Diensten */
.hv-diensten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.hv-dienst { border-radius: 28px; padding: 36px 34px; display: flex; flex-direction: column; min-height: 440px; text-decoration: none; color: var(--ap-navy); }
.hv-dienst .hv-mono { opacity: .65; }
.hv-dienst h3 { font-size: 32px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; margin: 14px 0; }
.hv-dienst p { color: var(--hv-tekst2); margin: 0; }
.hv-mini { margin-top: auto; padding-top: 24px; }
.hv-mini { display: grid; gap: 8px; }
.hv-mini > div { display: flex; justify-content: space-between; gap: 10px; background: rgba(255,255,255,.7); padding: 10px 16px; font-size: 13.5px; }
.hv-mini > div:first-child { border-radius: 16px 16px 4px 4px; }
.hv-mini > div:last-child { border-radius: 4px 4px 16px 16px; }
.hv-mini .ok  { color: var(--hv-groen); font-weight: 600; }
.hv-mini .let { color: var(--ap-orange-dark); font-weight: 600; }
.hv-meer { margin-top: 20px; font-weight: 600; display: flex; justify-content: space-between; border-top: 1px solid rgba(26,43,74,.15); padding-top: 18px; }
.hv-dienst:hover .hv-meer { color: var(--ap-orange-dark); }

.hv-stappen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 20px 0 0; padding: 0; list-style: none; }
.hv-stappen li { border: 1px solid var(--ap-border); border-radius: 24px; padding: 26px 26px; display: flex; gap: 16px; }
.hv-stappen i { font-style: normal; font-family: var(--hv-mono); font-size: 13px; color: var(--ap-orange-dark); padding-top: 4px; }
.hv-stappen h3 { font-size: 18px; font-weight: 600; margin: 0 0 4px; }
.hv-stappen p { color: var(--ap-gray); font-size: 15px; margin: 0; }

/* Nieuws */
.hv-nieuws { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.hv-artikel { border-radius: 24px; overflow: hidden; text-decoration: none; color: var(--ap-navy); display: flex; flex-direction: column; padding: 12px; }
.hv-artikel img { border-radius: 16px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.hv-artikel-t { padding: 20px 16px 14px; display: flex; flex-direction: column; flex: 1; }
.hv-tag { align-self: flex-start; background: rgba(255,255,255,.75); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 600; }
.hv-artikel h3 { font-size: 21px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; margin: 14px 0 18px; }
.hv-artikel-meer { margin-top: auto; font-weight: 600; font-size: 15px; }
.hv-artikel:hover .hv-artikel-meer { color: var(--ap-orange-dark); }

/* Koppelingen */
.hv-integ { display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 0; padding: 0; list-style: none; }
.hv-integ li { border: 1px solid var(--ap-border); background: #fff; border-radius: 999px; padding: 10px 18px; font-weight: 500; font-size: 15.5px; }
.hv-integ li:nth-child(5n+1) { background: var(--hv-teal); border-color: transparent; }
.hv-integ li:nth-child(7n+3) { background: var(--hv-geel); border-color: transparent; }
.hv-integ li:nth-child(6n+5) { background: var(--hv-lila); border-color: transparent; }

/* Slot-CTA */
.hv-cta { background: var(--hv-peach); border-radius: 36px; padding: 80px 64px; display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: end; }
.hv-ster { font-size: 64px; line-height: 1; color: var(--ap-orange); display: block; margin-bottom: 18px; }
.hv-cta h2 { font-size: clamp(38px, 5vw, 68px); font-weight: 600; letter-spacing: -.04em; line-height: 1.02; margin: 0; color: var(--ap-navy); }
.hv-cta p { font-size: 19px; color: var(--hv-tekst2); margin: 0 0 28px; }
.hv-cta-tel { margin-top: 28px; display: grid; gap: 4px; font-size: 15px; color: var(--hv-tekst2); }
.hv-cta-tel a { font-weight: 600; color: var(--ap-navy); text-decoration: none; font-size: 20px; }

/* ── 3b. Subpagina's in de nieuwe stijl ─────────────────────── */

/* Paginakop: navy paneel met ronde hoeken in plaats van een balk over de
   volle breedte. Blijft donker omdat diverse pagina's er inline witte tekst
   in zetten (kruimelpaden). */
.ap-stub-hero {
    margin: 8px clamp(8px, 2vw, 24px) 0;
    border-radius: 32px;
    padding: 4.5rem 0 4rem;
    background: var(--ap-navy);
}
.ap-stub-hero::after {
    background: radial-gradient(circle, rgba(232,119,34,.28) 0%, transparent 70%);
    width: 420px; height: 420px; right: -120px; bottom: -160px;
}
.ap-stub-hero h1 {
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    font-weight: 600;
    text-transform: none;
    letter-spacing: -.035em;
    line-height: 1.05;
    margin-top: .4rem;
}
.ap-stub-hero-sub { font-size: 1.1rem; max-width: 640px; color: rgba(255,255,255,.75); }

/* Sectiekoppen: geen hoofdletters meer, wel het oranje bolletje */
.ap-section-label { font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ap-orange-dark); }
.ap-section-label::before { width: 8px; height: 8px; border-radius: 50%; }
.ap-stub-hero .ap-section-label { color: rgba(255,255,255,.65); }
.ap-section-title { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 600; text-transform: none; letter-spacing: -.03em; line-height: 1.1; }

/* Kaarten en tekstblokken */
.ap-service-body h3, .ap-werkwijze-card h3, .ap-client-sector h3, .ap-project-card h3,
.ap-nieuws-card-title, .ap-kb-kaart h3, .ap-timeline-content h4 { text-transform: none; letter-spacing: -.01em; font-weight: 600; }
.ap-service-body h3 { font-size: 1.2rem; }
.ap-service-link, .ap-nieuws-read-more, .ap-dienst-verdieping, .ap-project-link { text-transform: none; letter-spacing: 0; }
.ap-project-card, .ap-nieuws-card, .ap-client-sector, .ap-kb-kaart, .ap-service-card, .ap-werkwijze-card { border-color: var(--ap-border); box-shadow: none; }
.ap-project-card:hover, .ap-nieuws-card:hover, .ap-client-sector:hover, .ap-kb-kaart:hover, .ap-service-card:hover {
    border-color: var(--ap-border); box-shadow: var(--fu-shadow-hover);
}
.ap-testimonial { border-left-color: var(--ap-orange); border-radius: 20px; }

/* Cijferbalk (o.a. /klanten/): zand in plaats van navy */
.ap-stats { background: var(--hv-zand); border-radius: 32px; margin: 0 clamp(8px, 2vw, 24px); }
.ap-stats::before, .ap-stats::after { display: none; }
.ap-stat-value { color: var(--ap-navy); }
.ap-stat-label { color: var(--ap-gray); }
.ap-stat-icon { color: var(--ap-orange); }

/* CTA-banner onderaan subpagina's: perzik vlak zoals de slot-CTA van de home */
.ap-cta-banner {
    background: var(--hv-peach) !important;
    margin: 96px clamp(8px, 2vw, 24px) 0;
    border-radius: 36px;
    padding: 5rem 0;
}
.ap-cta-banner::before, .ap-cta-banner::after { display: none; }
.ap-cta-banner h2 { color: var(--ap-navy); text-transform: none; font-weight: 600; letter-spacing: -.035em; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; }
.ap-cta-banner p { color: var(--hv-tekst2); font-size: 1.1rem; }
.ap-cta-banner .ap-btn-primary { background: var(--ap-navy); }
.ap-cta-banner .ap-btn-primary:hover { background: var(--ap-orange-dark); }
/* De footer begint direct na de banner: minder witruimte ertussen */
.ap-cta-banner:last-child { margin-bottom: 0; }
main:has(> .ap-cta-banner:last-child) + .ap-voet { margin-top: 24px; }

/* Zoekmodal in de nieuwe kleuren */
.ap-sm-input { font-family: inherit; }
.ap-search-modal { border-radius: 20px; }

/* Cookiekaart: ronde knoppen */
.ap-cc__btn-accept { border-radius: 999px; font-family: inherit; text-transform: none; letter-spacing: 0; }

/* ── Responsief ─────────────────────────────────────────────── */
@media (max-width: 1180px) {
    .ap-nav-telefoon { display: none; }
    .ap-nav { gap: 28px; }
    .ap-nav-hoofd { gap: 22px; }
    .ap-voet-kolommen { grid-template-columns: repeat(3, 1fr); }
    .ap-voet-merk { grid-column: 1 / -1; }
    .hv-spec { grid-template-columns: repeat(3, 1fr); }
    .hv-stappen { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1000px) {
    .ap-topbar-rechts { display: none; }
    .ap-nav { height: 72px; gap: 16px; }
    .ap-nav-rechts { margin-left: auto; gap: 10px; }
    .ap-hamburger, .ap-nav-zoek { display: grid; }

    /* Paneel onder de kop, over de volle breedte */
    .ap-nav-hoofd {
        display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--hv-papier); border-top: 1px solid var(--ap-border);
        padding: 8px 32px 32px; max-height: calc(100dvh - 72px); overflow-y: auto;
        box-shadow: 0 30px 40px -20px rgba(26,43,74,.25);
        font-size: 22px; font-weight: 600; letter-spacing: -.02em;
    }
    .menu-open .ap-nav-hoofd { display: flex; }
    .ap-nav-hoofd > li { border-bottom: 1px solid var(--ap-border); }
    .ap-nav-hoofd > li > a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; }
    .ap-nav-hoofd > li > a.actief::before { display: none; }
    .ap-nav-hoofd > li > a.actief { color: var(--ap-orange-dark); }
    .ap-plus::after {
        width: 34px; height: 34px; border-radius: 50%; background: var(--hv-zand);
        display: grid; place-items: center; font-size: 20px; font-weight: 500; margin: 0;
    }
    .ap-sub.open > .ap-plus::after { background: var(--ap-navy); color: #fff; }

    /* Submenu's worden een accordeon */
    .ap-sub-menu {
        position: static; display: none; min-width: 0; border: 0; border-radius: 0; box-shadow: none;
        background: none; padding: 0 0 14px; opacity: 1; visibility: visible; transform: none; transition: none;
        font-size: 17px; letter-spacing: 0;
    }
    .ap-sub.open > .ap-sub-menu { display: grid; }
    .ap-sub-menu a { padding: 10px 14px; color: var(--hv-tekst2); }
    .ap-sub-menu .alle { border-top: 0; margin-top: 0; padding-top: 0; }

    /* Extra's onderaan het paneel */
    .ap-nav-hoofd > li.ap-nav-mobiel { display: grid; gap: 18px; border-bottom: 0; padding-top: 24px; font-size: 16px; letter-spacing: 0; }
    .ap-nav-extra, .ap-nav-talen { display: flex; flex-wrap: wrap; gap: 8px; }
    .ap-nav-extra a, .ap-nav-talen a {
        display: inline-flex; align-items: center; gap: 8px;
        padding: 8px 16px; border-radius: 999px; border: 1px solid var(--ap-border); background: #fff; font-weight: 500;
    }
    .ap-nav-talen a.actief { border-color: var(--ap-navy); box-shadow: inset 0 0 0 1px var(--ap-navy); }
    .ap-nav-mobiel .ap-knop { padding: 15px 22px; font-size: 17px; }
    .ap-nav-tel { display: grid; font-size: 20px; font-weight: 600; }
    .ap-nav-tel span { font-size: 14px; font-weight: 400; color: var(--ap-gray); }
    body.ap-menu-open { overflow: hidden; }

    /* Homepage */
    .hv-hero, .hv-cijfers, .hv-cta { grid-template-columns: 1fr; }
    .hv-spec, .hv-spec.hv-spec-4 { grid-template-columns: 1fr 1fr; }
    .hv-cases, .hv-diensten, .hv-nieuws { grid-template-columns: 1fr; }
    .hv-status { position: static; width: auto; margin: 16px -20px 24px; }
    .hv-sticker, .hv-slide .hv-sticker { left: -8px; top: -58px; }
    .hv-beeld:not(.met-kaart) .hv-status, .hv-status:not(.zichtbaar) { display: none; }
    .hv-stippen { top: 14px; right: 16px; }
    .hv-beeld { padding: 40px 20px; margin-top: 12px; }
    .hv-cijfers, .hv-cta { padding: 40px 24px; }
    .hv-getallen { grid-template-columns: 1fr; }
    .hv-dienst { min-height: 0; }
    .hv-sectie { margin-top: 96px; }

    .ap-voet-kolommen { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .ap-nav-logo img { height: 28px; }
    .ap-wrap { padding: 0 16px; }
    .ap-nav-cta { display: none; }          /* staat dan in het paneel */
    .ap-nav-hoofd { padding: 4px 16px 28px; }
    .ap-topbar { font-size: 11px; }
    .hv-spec, .hv-spec.hv-spec-4, .hv-stappen { grid-template-columns: 1fr; }
    .hv-spec a { min-height: 0; }
    .hv-spec svg { margin-bottom: 0; }
    .hv-scherm img { height: 220px; }
    .ap-stub-hero { border-radius: 24px; padding: 3rem 0; }
    .ap-voet-top { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .ap-sub-menu, .ap-taal-menu, .hv-spec a, .hv-case-foto img { transition: none; }
}

/* ── Restanten van het oude thema ───────────────────────────────
   Titels en links stonden in hoofdletters; in de nieuwe stijl niet meer.
   Kleine labels (sector, datum, teller) mogen hoofdletters houden, maar
   krijgen het mono-lettertype zoals de labels op de homepage. */
.ap-nieuws-artikel-titel, .ap-nieuws-back-link, .ap-kb-nav a span,
.ap-kb-springlijst p, .ap-paginatie .page-link {
    text-transform: none; letter-spacing: -.01em;
}
.ap-nieuws-artikel-titel { font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.ap-nieuws-back-link { font-weight: 600; letter-spacing: 0; }
.ap-project-meta, .ap-nieuws-card-date, .ap-kb-teller, .ap-kb-onderdeel-aantal,
.ap-nieuws-artikel-meta, .ap-project-tag, .ap-badge-green {
    font-family: var(--hv-mono); font-weight: 500; letter-spacing: .06em;
}
.ap-project-tag { border-radius: 999px; }
