/* ══════════════════════════════════════════════════════════════════════════
   Homepagina TJSoftware — eigen CSS (geen Tailwind), animaties via homepagina.js
   ══════════════════════════════════════════════════════════════════════════ */

.hp {
    --oranje: #f47a20;
    --oranje-donker: #c85a0c;
    --oranje-licht: #ffdbc9;
    --inkt: #1c130e;
    --inkt-2: #2a1d15;
    --creme: #fff8f5;
    --zacht: #fbf3ee;
    --tekst: #3b2c23;
    --grijs: #7c6a5f;
    --blauw: #00a6ea;
    --groen: #16a34a;
    --paars: #7c3aed;
    --rand: rgba(36, 25, 19, .1);
    --kop-font: 'Plus Jakarta Sans', system-ui, sans-serif;
    --body-font: 'Inter', system-ui, sans-serif;
    --ease: cubic-bezier(.22, 1, .36, 1);

    font-family: var(--body-font);
    color: var(--tekst);
    background: var(--creme);
    overflow-x: clip;
}

.hp *, .hp *::before, .hp *::after { box-sizing: border-box; }
.hp .material-symbols-outlined { font-size: 1.15em; line-height: 1; vertical-align: middle; }

.hp_container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.hp_sectie { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.hp_sectie--zacht { background: var(--zacht); }
.hp_sectie--laatste { padding-top: 0; }
.hp_sectie_kop { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.hp_sectie_kop--rij { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

.hp_label {
    display: inline-flex; align-items: center; gap: 10px;
    font: 700 .78rem/1 var(--kop-font); letter-spacing: .14em; text-transform: uppercase;
    color: var(--oranje-donker); margin-bottom: 18px;
}
.hp_label::before { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

.hp_titel {
    font: 800 clamp(2rem, 4.4vw, 3.4rem)/1.08 var(--kop-font);
    letter-spacing: -.03em; color: var(--inkt); margin: 0 0 20px;
}
.hp_tekst { font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.75; color: var(--grijs); margin: 0 0 16px; max-width: 560px; }
.hp_accent {
    background: linear-gradient(100deg, var(--oranje) 0%, #ff9a4d 50%, var(--oranje-donker) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: hp_glans 6s ease-in-out infinite;
}
@keyframes hp_glans { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }

/* ── Knoppen ─────────────────────────────────────────────────────────── */
.hp_knoppen { display: flex; flex-wrap: wrap; gap: 12px; }
.hp_knoppen--midden { justify-content: center; }
.hp_knop {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 52px; padding: 0 26px; border-radius: 999px;
    font: 700 .98rem/1 var(--kop-font); text-decoration: none; white-space: nowrap;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s, border-color .25s;
    will-change: transform;
}
.hp_knop--primair { background: var(--oranje); color: #fff; box-shadow: 0 10px 30px -10px rgba(244, 122, 32, .7); }
.hp_knop--primair:hover { background: #ff8a33; box-shadow: 0 16px 40px -12px rgba(244, 122, 32, .85); }
.hp_knop--licht { background: rgba(255, 255, 255, .08); color: #fff; border: 1.5px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); }
.hp_knop--licht:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .4); }
.hp_knop--ghost { color: var(--inkt); border: 1.5px solid var(--rand); background: #fff; }
.hp_knop--ghost:hover { border-color: var(--oranje); color: var(--oranje-donker); }
.hp_knop .material-symbols-outlined { transition: transform .3s var(--ease); }
.hp_knop:hover .material-symbols-outlined:last-child { transform: translateX(3px); }

/* ── Scroll-reveal ───────────────────────────────────────────────────── */
.hp_js [data-hp-reveal] {
    opacity: 0; transform: translateY(28px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
    transition-delay: calc(var(--i, 0) * 90ms);
}
.hp_js [data-hp-reveal].is_zichtbaar { opacity: 1; transform: none; }

/* ══ Hero ══════════════════════════════════════════════════════════════ */
.hp_hero {
    position: relative; isolation: isolate;
    background: radial-gradient(120% 90% at 85% 10%, #3a2214 0%, var(--inkt) 55%, #120c08 100%);
    color: #fff; padding: clamp(64px, 9vw, 120px) 0 clamp(96px, 11vw, 150px);
    overflow: hidden;
}
.hp_hero_achtergrond { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hp_raster {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
}
.hp_gloed { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.hp_gloed--1 { width: 520px; height: 520px; background: var(--oranje); top: -180px; right: -120px; animation: hp_zweef 14s ease-in-out infinite; }
.hp_gloed--2 { width: 380px; height: 380px; background: #b3361b; bottom: -160px; left: -80px; opacity: .4; animation: hp_zweef 18s ease-in-out infinite reverse; }
@keyframes hp_zweef { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-60px, 50px) scale(1.12); } }

.hp_hero_grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.hp_badge {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
    font: 600 .82rem/1 var(--body-font); color: #ffd9c2; margin-bottom: 26px;
}
.hp_badge_stip { width: 8px; height: 8px; border-radius: 50%; background: var(--oranje); box-shadow: 0 0 0 0 rgba(244,122,32,.7); animation: hp_puls 2s infinite; }
@keyframes hp_puls { 70% { box-shadow: 0 0 0 10px rgba(244,122,32,0); } 100% { box-shadow: 0 0 0 0 rgba(244,122,32,0); } }

.hp_hero_titel { font: 800 clamp(2.4rem, 5.4vw, 4.1rem)/1.02 var(--kop-font); letter-spacing: -.04em; margin: 0 0 18px; color: #fff; }

.hp_hero_rotatie { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font: 600 clamp(1.1rem, 2vw, 1.45rem)/1.3 var(--kop-font); color: rgba(255,255,255,.7); margin: 0 0 22px; }
.hp_rotator { position: relative; display: inline-grid; color: var(--oranje); min-width: 7ch; }
.hp_rotator_woord {
    grid-area: 1 / 1; white-space: nowrap;
    opacity: 0; transform: translateY(60%) rotateX(-60deg); transform-origin: 50% 0;
    transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.hp_rotator_woord.is_actief { opacity: 1; transform: none; }
.hp_rotator_woord.is_weg { opacity: 0; transform: translateY(-60%) rotateX(60deg); }
.hp_rotator::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-radius: 3px; background: currentColor; opacity: .35; }

.hp_hero_intro { font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.75; color: rgba(255,255,255,.72); max-width: 540px; margin: 0 0 32px; }
.hp_hero_vinkjes { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hp_hero_vinkjes li { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; color: rgba(255,255,255,.7); }
.hp_hero_vinkjes .material-symbols-outlined { color: var(--oranje); font-size: 1.2rem; }

/* App-mockup */
.hp_hero_visual { perspective: 1400px; }
.hp_kantel { position: relative; transform-style: preserve-3d; transition: transform .6s var(--ease); }
.hp_app {
    background: #fff; color: var(--inkt); border-radius: 18px; overflow: hidden;
    box-shadow: 0 50px 100px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.1);
    transform: rotateY(-8deg) rotateX(4deg);
}
.hp_app_balk { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #f5ede8; }
.hp_app_balk > span { width: 10px; height: 10px; border-radius: 50%; background: #e7d5ca; }
.hp_app_balk > span:first-child { background: #ff6b5b; } .hp_app_balk > span:nth-child(2) { background: #ffbd2e; } .hp_app_balk > span:nth-child(3) { background: #27c93f; }
.hp_app_url { margin-left: 10px; flex: 1; background: #fff; border-radius: 6px; padding: 5px 10px; font-size: .72rem; color: var(--grijs); }
.hp_app_body { display: grid; grid-template-columns: 52px 1fr; min-height: 340px; }
.hp_app_menu { background: #0f1729; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 0; }
.hp_app_menu span { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: #8a93a8; }
.hp_app_menu span.is_actief { background: var(--oranje); color: #fff; }
.hp_app_menu i { font-style: normal; font-size: 1.05rem; }
.hp_app_inhoud { padding: 18px; display: flex; flex-direction: column; gap: 14px; background: #fafafa; }
.hp_app_kop strong { display: block; font: 700 1rem var(--kop-font); }
.hp_app_kop small { color: var(--grijs); font-size: .75rem; }
.hp_app_stats { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; }
.hp_app_stat { background: #fff; border: 1px solid #efe6e0; border-radius: 12px; padding: 10px 12px; position: relative; }
.hp_app_stat small { display: block; font-size: .66rem; color: var(--grijs); margin-bottom: 4px; }
.hp_app_stat strong { font: 800 1.05rem var(--kop-font); }
.hp_plus { position: absolute; top: 8px; right: 8px; font: 700 .62rem var(--body-font); font-style: normal; color: var(--groen); background: #dcfce7; padding: 2px 6px; border-radius: 99px; }
.hp_app_grafiek { display: flex; align-items: flex-end; gap: 6px; height: 86px; padding: 10px 12px; background: #fff; border: 1px solid #efe6e0; border-radius: 12px; }
.hp_app_grafiek span {
    flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px;
    background: linear-gradient(180deg, var(--oranje), #ffb27a);
    transform-origin: bottom; transform: scaleY(.05);
    transition: transform 1s var(--ease); transition-delay: calc(400ms + var(--i) * 70ms);
}
.hp_app_grafiek span:last-child { background: linear-gradient(180deg, var(--oranje-donker), var(--oranje)); }
.is_zichtbaar .hp_app_grafiek span, .hp_geen_beweging .hp_app_grafiek span { transform: scaleY(1); }
.hp_app_lijst { display: flex; flex-direction: column; gap: 6px; }
.hp_app_lijst div { display: flex; align-items: center; gap: 8px; font-size: .74rem; background: #fff; border: 1px solid #efe6e0; border-radius: 9px; padding: 8px 10px; }
.hp_app_lijst b { margin-left: auto; color: var(--grijs); font-weight: 600; }
.hp_stip { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.hp_stip--oranje { background: var(--oranje); } .hp_stip--blauw { background: var(--blauw); } .hp_stip--groen { background: var(--groen); }

.hp_melding {
    position: absolute; display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,.96); color: var(--inkt); border-radius: 14px; padding: 12px 14px;
    box-shadow: 0 24px 50px -16px rgba(0,0,0,.55); min-width: 210px;
    transform: translateZ(60px);
    opacity: 0; translate: 0 14px; transition: opacity .6s var(--ease), translate .6s var(--ease);
}
.hp_melding.is_getoond, .hp_geen_beweging .hp_melding { opacity: 1; translate: 0 0; }
.hp_melding strong { display: block; font: 700 .82rem var(--kop-font); }
.hp_melding small { font-size: .72rem; color: var(--grijs); }
.hp_melding--1 { left: -38px; bottom: 54px; }
.hp_melding--2 { right: -26px; top: 64px; }
.hp_melding_icoon { width: 34px; height: 34px; border-radius: 10px; display: grid !important; place-items: center; background: #f5f3ff; color: var(--paars); flex-shrink: 0; }
.hp_melding_icoon--groen { background: #dcfce7; color: var(--groen); }

.hp_scroll_hint { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.3); border-radius: 14px; }
.hp_scroll_hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: hp_scroll 1.8s infinite; }
@keyframes hp_scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ══ Bewegende band ═════════════════════════════════════════════════════ */
.hp_band { background: var(--oranje); padding: 14px 0; transform: rotate(-2deg) scale(1.04); margin: -26px 0 0; position: relative; z-index: 2; box-shadow: 0 20px 40px -20px rgba(244,122,32,.6); }
.hp_band_rij { display: flex; overflow: hidden; }
.hp_band_rij + .hp_band_rij { margin-top: 6px; opacity: .55; }
.hp_band_spoor { display: flex; align-items: center; gap: 22px; padding-right: 22px; flex-shrink: 0; animation: hp_band 40s linear infinite; }
.hp_band_rij--omgekeerd .hp_band_spoor { animation-direction: reverse; animation-duration: 50s; }
.hp_band_spoor span { font: 800 clamp(1.1rem, 2vw, 1.5rem)/1.2 var(--kop-font); color: #fff; letter-spacing: -.01em; white-space: nowrap; }
.hp_band_spoor i { font-style: normal; color: var(--inkt); font-size: 1.2rem; }
.hp_band:hover .hp_band_spoor { animation-play-state: paused; }
@keyframes hp_band { to { transform: translateX(-100%); } }

/* ══ Chaos → overzicht ══════════════════════════════════════════════════ */
.hp_herken { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hp_schakelaar {
    display: inline-flex; align-items: center; gap: 12px; margin-top: 12px; min-height: 48px;
    background: #fff; border: 1.5px solid var(--rand); border-radius: 999px; padding: 6px 20px 6px 8px;
    font: 700 .95rem var(--kop-font); color: var(--inkt); cursor: pointer; transition: border-color .25s;
}
.hp_schakelaar:hover { border-color: var(--oranje); }
.hp_schakelaar_baan { width: 46px; height: 26px; border-radius: 99px; background: #e8dcd4; position: relative; transition: background .3s; }
.hp_schakelaar_bol { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .4s var(--ease); }
.hp_schakelaar[aria-pressed="true"] .hp_schakelaar_baan { background: var(--oranje); }
.hp_schakelaar[aria-pressed="true"] .hp_schakelaar_bol { transform: translateX(20px); }

.hp_chaos {
    position: relative; height: 440px; border-radius: 28px;
    background: #f3e9e2 radial-gradient(circle, rgba(36,25,19,.12) 1px, transparent 1.5px) 0 0 / 22px 22px;
    border: 1px solid var(--rand); overflow: hidden;
    transition: background-color .8s var(--ease);
}
.hp_chaos.is_opgeruimd { background-color: #fff; }
.hp_chaos_kop {
    position: absolute; left: 24px; right: 24px; top: 22px; display: flex; align-items: center; gap: 8px;
    font: 700 1rem var(--kop-font); color: var(--inkt); opacity: 0; transform: translateY(-10px);
    transition: opacity .5s var(--ease) .3s, transform .5s var(--ease) .3s;
}
.hp_chaos_kop .material-symbols-outlined { color: var(--groen); }
.hp_chaos.is_opgeruimd .hp_chaos_kop { opacity: 1; transform: none; }

.hp_briefje {
    position: absolute; left: var(--x); top: var(--y); width: 44%; min-width: 200px;
    display: flex; align-items: center; gap: 10px; padding: 14px 16px;
    background: #fff6b8; color: #4a3b1a; border-radius: 4px;
    box-shadow: 0 10px 22px -10px rgba(60, 40, 10, .45);
    font: 600 .9rem/1.3 'Inter', sans-serif;
    transform: rotate(var(--r));
    transition: left .9s var(--ease), top .9s var(--ease), width .9s var(--ease), transform .9s var(--ease), background .6s, border-radius .6s, box-shadow .6s, color .6s;
    transition-delay: calc(var(--i) * 70ms);
    animation: hp_wiebel 4s ease-in-out infinite; animation-delay: calc(var(--i) * -.7s);
}
.hp_briefje:nth-of-type(even) { background: #ffd9c2; }
.hp_briefje:nth-of-type(3n) { background: #cdeffe; }
@keyframes hp_wiebel { 0%, 100% { rotate: 0deg; } 50% { rotate: 1.5deg; } }
.hp_briefje_icoon { color: inherit; opacity: .7; }
.hp_briefje_tekst { flex: 1; min-width: 0; }
.hp_briefje_vink { color: var(--groen); opacity: 0; transform: scale(.4); transition: opacity .4s, transform .5s var(--ease); transition-delay: calc(600ms + var(--i) * 90ms); }

.hp_chaos.is_opgeruimd .hp_briefje {
    left: 24px; width: calc(100% - 48px); top: calc(66px + var(--i) * 60px);
    transform: none; animation: none;
    background: #fff; color: var(--inkt); border-radius: 12px;
    box-shadow: 0 0 0 1px var(--rand), 0 6px 16px -10px rgba(0,0,0,.2);
}
.hp_chaos.is_opgeruimd .hp_briefje_vink { opacity: 1; transform: none; }
.hp_chaos.is_opgeruimd .hp_briefje_icoon { color: var(--oranje); opacity: 1; }

/* ══ Bento ══════════════════════════════════════════════════════════════ */
.hp_bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hp_tegel {
    --mx: 50%; --my: 50%;
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; flex-direction: column; gap: 10px; min-height: 230px; padding: 30px;
    background: #fff; border: 1px solid var(--rand); border-radius: 24px;
    color: var(--inkt); text-decoration: none;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.hp_tegel::before {
    content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
    background: radial-gradient(420px circle at var(--mx) var(--my), rgba(244,122,32,.14), transparent 45%);
}
.hp_tegel:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(60,30,10,.35); border-color: rgba(244,122,32,.35); }
.hp_tegel:hover::before { opacity: 1; }
.hp_tegel--groot { grid-row: span 2; background: linear-gradient(160deg, #fff 40%, #fff2e9); }
.hp_tegel--donker { background: var(--inkt); color: #fff; border-color: transparent; }
.hp_tegel--donker p { color: rgba(255,255,255,.7) !important; }
.hp_tegel--donker::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(244,122,32,.35), transparent 50%); }
.hp_tegel h3 { font: 800 1.35rem/1.2 var(--kop-font); margin: 6px 0 0; letter-spacing: -.02em; }
.hp_tegel p { color: var(--grijs); line-height: 1.65; margin: 0; }
.hp_tegel_icoon { width: 52px; height: 52px; border-radius: 16px; display: grid !important; place-items: center; background: var(--oranje-licht); color: var(--oranje-donker); font-size: 1.6rem !important; transition: transform .5s var(--ease); }
.hp_tegel:hover .hp_tegel_icoon { transform: rotate(-8deg) scale(1.08); }
.hp_tegel--donker .hp_tegel_icoon { background: rgba(244,122,32,.18); color: var(--oranje); }
.hp_tegel_link { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; font: 700 .9rem var(--kop-font); color: var(--oranje-donker); }
.hp_tegel--donker .hp_tegel_link { color: var(--oranje); }
.hp_tegel_link .material-symbols-outlined { transition: transform .35s var(--ease); }
.hp_tegel:hover .hp_tegel_link .material-symbols-outlined { transform: translate(3px, -3px); }
.hp_tegel_nieuw { position: absolute; top: 22px; right: 22px; font: 700 .7rem var(--kop-font); text-transform: uppercase; letter-spacing: .1em; background: var(--oranje); color: #fff; padding: 5px 10px; border-radius: 99px; }
.hp_chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.hp_chips span {
    font: 600 .82rem var(--body-font); padding: 8px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--rand);
    transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s;
    transition-delay: calc(var(--i) * 25ms);
}
.hp_tegel:hover .hp_chips span { transform: translateY(-3px); border-color: rgba(244,122,32,.4); }

/* ══ Product-tour ═══════════════════════════════════════════════════════ */
.hp_tour_sectie { background: var(--inkt); color: #fff; overflow: hidden; }
.hp_tour_sectie::before { content: ''; position: absolute; width: 600px; height: 600px; right: -200px; top: -200px; background: radial-gradient(circle, rgba(244,122,32,.28), transparent 65%); pointer-events: none; }
.hp_sectie_kop--licht .hp_titel { color: #fff; }
.hp_sectie_kop--licht .hp_label { color: var(--oranje); }

.hp_tour { position: relative; }
.hp_tour_tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 26px; }
.hp_tour_tabs::-webkit-scrollbar { display: none; }
.hp_tour_tab {
    position: relative; overflow: hidden; flex-shrink: 0;
    display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px;
    border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04);
    color: rgba(255,255,255,.65); font: 700 .92rem var(--kop-font); cursor: pointer;
    transition: color .25s, background .25s, border-color .25s;
}
.hp_tour_tab:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.hp_tour_tab.is_actief { color: #fff; background: rgba(244,122,32,.16); border-color: rgba(244,122,32,.6); }
.hp_tour_voortgang { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--oranje); }
.hp_tour_tab.is_actief .hp_tour_voortgang { animation: hp_voortgang var(--hp-tour-duur, 6s) linear forwards; }
.hp_tour.is_gepauzeerd .hp_tour_tab.is_actief .hp_tour_voortgang { animation-play-state: paused; }
@keyframes hp_voortgang { to { width: 100%; } }

.hp_tour_paneel { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hp_tour_paneel[hidden] { display: none; }
.hp_tour_uitleg h3 { font: 800 clamp(1.5rem, 2.6vw, 2.1rem)/1.15 var(--kop-font); letter-spacing: -.02em; margin: 0 0 20px; }
.hp_tour_uitleg ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.hp_tour_uitleg li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.78); line-height: 1.55; animation: hp_in .6s var(--ease) both; animation-delay: calc(var(--i) * 90ms); }
.hp_tour_uitleg li .material-symbols-outlined { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(244,122,32,.18); color: var(--oranje); font-size: 1rem; }
@keyframes hp_in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.hp_tour_scherm {
    background: #fff; color: var(--inkt); border-radius: 22px; padding: 22px; min-height: 300px;
    display: flex; flex-direction: column; gap: 10px; justify-content: center;
    box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
    animation: hp_scherm .7s var(--ease) both;
}
@keyframes hp_scherm { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
.hp_scherm_rij { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #f0e7e1; border-radius: 14px; animation: hp_in .5s var(--ease) both; animation-delay: calc(150ms + var(--i) * 90ms); }
.hp_scherm_rij > div { flex: 1; min-width: 0; }
.hp_scherm_rij strong { display: block; font: 700 .9rem var(--kop-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp_scherm_rij small { color: var(--grijs); font-size: .78rem; }
.hp_avatar { width: 38px; height: 38px; border-radius: 11px; display: grid !important; place-items: center; flex-shrink: 0; background: var(--oranje-licht); color: var(--oranje-donker); font: 700 .8rem var(--kop-font); }
.hp_avatar--paars { background: #f3e8ff; color: var(--paars); }
.hp_pil { font: 700 .72rem var(--body-font); padding: 5px 10px; border-radius: 99px; background: #f1ece8; color: var(--grijs); white-space: nowrap; }
.hp_pil--groen { background: #dcfce7; color: #15803d; }
.hp_pil--blauw { background: #e0f2fe; color: #0369a1; }
.hp_mini_knop { font: 700 .75rem var(--kop-font); padding: 7px 12px; border-radius: 99px; background: var(--groen); color: #fff; }
.hp_handtekening { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--grijs); padding: 6px 4px 0; animation: hp_in .5s var(--ease) both; animation-delay: calc(150ms + var(--i) * 90ms); }
.hp_handtekening em { font-family: 'Brush Script MT', cursive; font-size: 1.3rem; color: var(--inkt); }
.hp_handtekening .material-symbols-outlined { color: var(--paars); }

.hp_factuur { display: flex; flex-direction: column; gap: 8px; }
.hp_factuur_kop { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-family: var(--kop-font); }
.hp_factuur_regel, .hp_factuur_totaal { display: flex; justify-content: space-between; font-size: .88rem; padding: 10px 0; border-bottom: 1px dashed #eadfd8; animation: hp_in .5s var(--ease) both; animation-delay: calc(150ms + var(--i) * 100ms); }
.hp_factuur_totaal { border-bottom: none; font: 800 1.05rem var(--kop-font); }
.hp_ideal { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 12px; background: #f0fdf4; color: #15803d; font: 600 .85rem var(--body-font); animation: hp_in .5s var(--ease) both; animation-delay: calc(150ms + var(--i) * 100ms); }

.hp_planning { display: grid; grid-template-columns: 56px repeat(4, 1fr); gap: 8px; align-items: center; }
.hp_planning > b { font: 700 .75rem var(--kop-font); color: var(--grijs); text-align: center; }
.hp_planning .hp_planning_naam { grid-column: 1; text-align: left; color: var(--inkt); }
.hp_blok { grid-column: var(--k) / span var(--s); font: 600 .78rem var(--body-font); font-style: normal; padding: 12px 10px; border-radius: 10px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: hp_blok .6s var(--ease) both; animation-delay: calc(200ms + var(--i) * 110ms); transform-origin: left; }
@keyframes hp_blok { from { opacity: 0; transform: scaleX(.3); } to { opacity: 1; transform: none; } }
.hp_blok--oranje { background: var(--oranje); } .hp_blok--blauw { background: var(--blauw); } .hp_blok--groen { background: var(--groen); } .hp_blok--paars { background: var(--paars); }

.hp_portaal { display: flex; flex-direction: column; gap: 10px; }
.hp_portaal_kop { padding: 4px 4px 8px; }
.hp_portaal_kop strong { display: block; font: 800 1.15rem var(--kop-font); }
.hp_portaal_kop small { color: var(--grijs); }

.hp_tour_cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.hp_tour_cta .hp_knop--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
.hp_tour_cta .hp_knop--ghost:hover { border-color: var(--oranje); color: var(--oranje); }

/* ══ Cijfers ════════════════════════════════════════════════════════════ */
.hp_cijfers { background: linear-gradient(120deg, var(--oranje), #ff9447); color: #fff; padding: clamp(48px, 7vw, 72px) 0; }
.hp_cijfers_grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.hp_cijfers strong { display: block; font: 800 clamp(2.4rem, 5vw, 3.6rem)/1 var(--kop-font); letter-spacing: -.03em; }
.hp_cijfers span:not([data-hp-teller]) { display: block; margin-top: 8px; font-weight: 600; opacity: .9; }

/* ══ Tijdlijn ═══════════════════════════════════════════════════════════ */
.hp_tijdlijn { --voortgang: 0; list-style: none; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; gap: 28px; }
.hp_tijdlijn::before, .hp_tijdlijn::after { content: ''; position: absolute; left: 50%; top: 10px; width: 3px; margin-left: -1.5px; border-radius: 3px; }
.hp_tijdlijn::before { bottom: 10px; background: #ecdfd6; }
.hp_tijdlijn::after { height: calc(var(--voortgang) * (100% - 20px)); background: linear-gradient(var(--oranje), var(--oranje-donker)); }
.hp_stap { position: relative; display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; }
.hp_stap_bol {
    grid-column: 2; justify-self: center; z-index: 1;
    width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
    background: #fff; border: 3px solid #ecdfd6; color: var(--grijs);
    transition: background .5s var(--ease), border-color .5s, color .5s, transform .5s var(--ease), box-shadow .5s;
}
.hp_stap.is_bereikt .hp_stap_bol { background: var(--oranje); border-color: var(--oranje); color: #fff; transform: scale(1.08); box-shadow: 0 0 0 8px rgba(244,122,32,.15); }
.hp_stap_kaart {
    grid-row: 1; grid-column: 1; text-align: right;
    background: #fff; border: 1px solid var(--rand); border-radius: 20px; padding: 22px 26px;
    opacity: .45; transform: translateX(-20px);
    transition: opacity .6s var(--ease), transform .6s var(--ease), box-shadow .6s;
}
.hp_stap:nth-child(odd) .hp_stap_kaart { grid-column: 3; text-align: left; transform: translateX(20px); }
.hp_stap.is_bereikt .hp_stap_kaart { opacity: 1; transform: none; box-shadow: 0 20px 40px -28px rgba(60,30,10,.4); }
.hp_stap_nr { font: 800 .8rem var(--kop-font); color: var(--oranje); letter-spacing: .1em; }
.hp_stap_kaart h3 { font: 800 1.25rem var(--kop-font); color: var(--inkt); margin: 4px 0 6px; }
.hp_stap_kaart p { margin: 0; color: var(--grijs); line-height: 1.6; }

/* ══ Projecten ══════════════════════════════════════════════════════════ */
.hp_projecten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hp_project { display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--rand); text-decoration: none; color: var(--inkt); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.hp_project:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(60,30,10,.4); }
.hp_project_beeld { aspect-ratio: 16 / 10; overflow: hidden; background: var(--oranje-licht); display: grid; place-items: center; color: var(--oranje-donker); font-size: 3rem; }
.hp_project_beeld img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hp_project:hover .hp_project_beeld img { transform: scale(1.06); }
.hp_project_tekst { padding: 22px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.hp_project_tekst h3 { font: 800 1.15rem/1.3 var(--kop-font); margin: 0; }
.hp_project_tekst p { margin: 0; color: var(--grijs); line-height: 1.6; font-size: .95rem; }

/* ══ Over mij ═══════════════════════════════════════════════════════════ */
.hp_over { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.hp_over_foto { position: relative; max-width: 440px; justify-self: center; width: 100%; }
.hp_over_vorm { position: absolute; inset: 8% -6% -6% 8%; border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%; background: linear-gradient(140deg, var(--oranje), #ffb27a); animation: hp_morph 12s ease-in-out infinite; }
@keyframes hp_morph { 0%, 100% { border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%; } 50% { border-radius: 60% 40% 45% 55% / 40% 60% 40% 60%; } }
.hp_over_foto img { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.hp_over_kaartje { position: absolute; left: -18px; bottom: 28px; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.4); animation: hp_dobber 5s ease-in-out infinite; }
.hp_over_kaartje .material-symbols-outlined { color: var(--oranje); font-size: 1.5rem; }
.hp_over_kaartje strong { display: block; font: 800 .95rem var(--kop-font); color: var(--inkt); }
.hp_over_kaartje small { color: var(--grijs); font-size: .78rem; }
@keyframes hp_dobber { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hp_quote { margin: 8px 0 28px; padding: 6px 0 6px 20px; border-left: 3px solid var(--oranje); font: 700 clamp(1.1rem, 1.6vw, 1.3rem)/1.5 var(--kop-font); color: var(--inkt); }

/* ══ Afsluiter ══════════════════════════════════════════════════════════ */
.hp_afsluiter {
    --mx: 50%; --my: 0%;
    position: relative; overflow: hidden; isolation: isolate; text-align: center;
    background: var(--inkt); color: #fff; border-radius: 36px; padding: clamp(56px, 8vw, 96px) clamp(24px, 6vw, 80px);
}
.hp_afsluiter_gloed { position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px circle at var(--mx) var(--my), rgba(244,122,32,.45), transparent 60%); transition: background .2s; }
.hp_afsluiter h2 { font: 800 clamp(2rem, 4.5vw, 3.4rem)/1.08 var(--kop-font); letter-spacing: -.03em; margin: 0 0 18px; }
.hp_afsluiter p { max-width: 560px; margin: 0 auto 32px; color: rgba(255,255,255,.72); line-height: 1.7; font-size: 1.05rem; }

/* ══ Responsive ═════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hp_hero_grid { grid-template-columns: 1fr; }
    .hp_hero_visual { max-width: 620px; width: 100%; margin: 12px auto 0; }
    .hp_herken, .hp_tour_paneel, .hp_over { grid-template-columns: 1fr; }
    .hp_bento { grid-template-columns: repeat(2, 1fr); }
    .hp_tegel--groot { grid-row: auto; grid-column: 1 / -1; }
    .hp_projecten { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    .hp_container { padding: 0 16px; }
    .hp_hero { padding-top: 48px; }
    .hp_knoppen .hp_knop, .hp_tour_cta .hp_knop { flex: 1 1 100%; }
    .hp_app { transform: none; }
    .hp_app_body { grid-template-columns: 1fr; min-height: 0; }
    .hp_app_menu { display: none; }
    .hp_app_stats { grid-template-columns: 1fr 1fr; }
    .hp_app_stat:first-child { grid-column: 1 / -1; }
    .hp_melding { min-width: 0; padding: 10px 12px; }
    .hp_melding--1 { left: -6px; bottom: -22px; }
    .hp_melding--2 { right: -6px; top: -26px; }
    .hp_scroll_hint { display: none; }

    .hp_chaos { height: 460px; }
    .hp_briefje { width: 74%; min-width: 0; font-size: .85rem; }
    .hp_chaos.is_opgeruimd .hp_briefje { left: 14px; width: calc(100% - 28px); top: calc(62px + var(--i) * 62px); }

    .hp_bento, .hp_projecten { grid-template-columns: 1fr; }
    .hp_tegel { min-height: 0; padding: 24px; }

    .hp_tour_scherm { padding: 16px; min-height: 0; }
    .hp_planning { grid-template-columns: 44px repeat(4, 1fr); gap: 6px; }

    .hp_cijfers_grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }

    .hp_tijdlijn::before, .hp_tijdlijn::after { left: 28px; }
    .hp_stap { grid-template-columns: 56px 1fr; gap: 16px; align-items: start; }
    .hp_stap_bol { grid-column: 1; }
    .hp_stap_kaart, .hp_stap:nth-child(odd) .hp_stap_kaart { grid-column: 2; text-align: left; transform: translateY(14px); }

    .hp_over_kaartje { left: 8px; }
    .hp_afsluiter { border-radius: 26px; }
}

/* ══ Minder beweging (systeeminstelling) ═══════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .hp *, .hp *::before, .hp *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
    .hp_band_spoor { animation: none !important; }
    .hp_js [data-hp-reveal] { opacity: 1; transform: none; }
}

/* Iconen in avatars/badges: het icoon-lettertype mag niet overschreven worden door de kop-font */
.hp .hp_avatar.material-symbols-outlined,
.hp .hp_melding_icoon.material-symbols-outlined,
.hp .hp_tegel_icoon.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal; font-style: normal; letter-spacing: normal; text-transform: none;
    font-size: 1.25rem;
}
.hp .hp_tegel_icoon.material-symbols-outlined { font-size: 1.6rem; }
