/*
Theme Name:   Studeerkompas
Template:     blankslate
Version:      5.0
*/

/* ═══════════════════════════════════════════════════════════════
   DESIGN TOKENS — zelfde systeem als single-cursus.php
   ═══════════════════════════════════════════════════════════════ */
:root{
  --ink:#16232E; --ink-soft:#233040; --ink-line:rgba(255,255,255,.12);
  --parchment:#F7F2E7; --paper:#FFFDF9;
  --gold:#B8862E; --gold-light:#D9A857;
  --forest:#2F6B4F; --wine:#7A2E36;
  --grey-light:#F5F3F0; --grey:#CCCAC5; --grey-dark:#6B6560;
  --white:#FFFFFF;
  --font-display:'Fraunces',Georgia,serif;
  --font-body:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --font-mono:'IBM Plex Mono','Courier New',monospace;
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--font-body); color:var(--ink); background:var(--white);
  -webkit-font-smoothing:antialiased; line-height:1.55; overflow-x:hidden;
}
img,svg{display:block;max-width:100%;}
a{color:inherit;text-decoration:none;}
button{font-family:inherit;cursor:pointer;border:none;background:none;}
.hp-wrap{max-width:1180px;margin:0 auto;padding:0 20px;}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px;}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;}}

/* ═══ NAV ═══ */
.hp-nav{
  position:sticky;top:0;z-index:100;
  background:rgba(22,35,46,.92);backdrop-filter:blur(8px);
  border-bottom:1px solid var(--ink-line);
}
.hp-nav__inner{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;max-width:1180px;margin:0 auto;}
.hp-logo{display:flex;align-items:center;gap:9px;}
.hp-logo svg{width:27px;height:27px;flex-shrink:0;}
.hp-logo__word{font-family:var(--font-display);font-size:16.5px;font-weight:600;color:var(--white);}
.hp-logo__word b{color:var(--gold-light);font-weight:600;}
.hp-nav__links{display:none;gap:28px;font-size:14px;color:rgba(255,255,255,.8);}
.hp-nav__links a:hover{color:var(--gold-light);}
.hp-nav__cta{display:none;background:var(--gold);color:var(--ink);font-weight:700;font-size:13px;padding:10px 18px;border-radius:8px;}
.hp-nav__burger{display:flex;flex-direction:column;gap:4px;padding:8px;}
.hp-nav__burger span{width:20px;height:2px;background:var(--white);border-radius:1px;transition:.2s;}
.hp-mobile-menu{display:none;flex-direction:column;background:var(--ink);border-bottom:1px solid var(--ink-line);}
.hp-mobile-menu.is-open{display:flex;}
.hp-mobile-menu a{padding:14px 20px;color:rgba(255,255,255,.85);font-size:15px;border-top:1px solid var(--ink-line);}
.hp-mobile-menu .hp-nav__cta{display:block;margin:14px 20px;text-align:center;}
@media (min-width:900px){
  .hp-nav__links{display:flex;}
  .hp-nav__cta{display:inline-flex;align-items:center;}
  .hp-nav__burger{display:none;}
}

/* ═══ HERO ═══ */
.hp-hero{
  position:relative;background:linear-gradient(165deg,var(--ink) 0%,#0d1620 100%);
  color:var(--white);padding:52px 0 60px;overflow:hidden;
}
.hp-hero__inner{position:relative;max-width:1180px;margin:0 auto;padding:0 20px;}
.hp-hero__eyebrow{font-family:var(--font-mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-light);margin-bottom:16px;}
.hp-hero__title{font-family:var(--font-display);font-weight:700;font-size:clamp(30px,7vw,52px);line-height:1.1;max-width:11ch;margin-bottom:18px;}
.hp-hero__title em{font-style:italic;color:var(--gold-light);}
.hp-hero__sub{font-size:16px;color:rgba(255,255,255,.72);max-width:480px;margin-bottom:32px;}

/* Zoekwidget = de eigenlijke "hero"-actie */
.hp-search{
  background:rgba(255,255,255,.06);border:1px solid var(--ink-line);
  border-radius:14px;padding:8px;display:flex;flex-direction:column;gap:8px;max-width:560px;
}
.hp-search__row{display:flex;gap:8px;flex-direction:column;}
.hp-search input,.hp-search select{
  background:var(--white);border:none;border-radius:9px;padding:13px 14px;
  font-size:14px;font-family:var(--font-body);color:var(--ink);width:100%;
}
.hp-search button{
  background:var(--gold);color:var(--ink);font-weight:700;font-size:14px;
  padding:13px 18px;border-radius:9px;white-space:nowrap;transition:.2s;
}
.hp-search button:hover{background:var(--gold-light);transform:translateY(-1px);}
@media (min-width:680px){
  .hp-search__row{flex-direction:row;}
  .hp-search select{flex:0 0 170px;}
}

.hp-hero__trust{display:flex;align-items:center;gap:10px;margin-top:22px;font-size:13px;color:rgba(255,255,255,.6);}
.hp-hero__trust strong{color:var(--gold-light);font-family:var(--font-mono);font-size:15px;}

/* Erkenningszegel — groot, scheef, overlappend: het signature element */
.hp-seal-big{
  position:absolute; width:170px; height:170px; right:-30px; top:18px;
  transform:rotate(-9deg); opacity:.95; pointer-events:none;
}
.hp-seal-big .ring{fill:none;stroke:var(--gold);stroke-width:1.4;}
.hp-seal-big .ring--in{stroke-dasharray:2 4;opacity:.7;}
.hp-seal-big text{font-family:var(--font-mono);font-size:7px;letter-spacing:.07em;fill:var(--gold-light);}
.hp-seal-big .check{stroke:var(--gold-light);stroke-width:2.4;fill:none;stroke-linecap:round;stroke-linejoin:round;}
@media (max-width:640px){ .hp-seal-big{width:108px;height:108px;right:-12px;top:8px;opacity:.7;} }
@media (min-width:900px){ .hp-seal-big{right:40px;top:30px;} }

/* ═══ SECTIE-LABELS (herbruikbaar) ═══ */
.hp-section{padding:56px 0;}
.hp-section--parchment{background:var(--parchment);}
.hp-eyebrow{font-family:var(--font-mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);margin-bottom:10px;}
.hp-h2{font-family:var(--font-display);font-weight:600;font-size:clamp(22px,4vw,32px);margin-bottom:8px;}
.hp-section__head{margin-bottom:30px;}
.hp-section__lead{color:var(--grey-dark);font-size:15px;max-width:520px;}

/* ═══ CATEGORIEËN ═══ */
.hp-cats{display:flex;gap:14px;overflow-x:auto;padding-bottom:6px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;}
.hp-cats::-webkit-scrollbar{display:none;}
.hp-cat{
  scroll-snap-align:start;flex:0 0 150px;background:var(--white);border:1px solid var(--grey);
  border-radius:12px;padding:18px 16px;display:flex;flex-direction:column;gap:10px;transition:.2s;
}
.hp-cat:hover{border-color:var(--gold);transform:translateY(-3px);box-shadow:0 10px 20px rgba(22,35,46,.08);}
.hp-cat svg{width:26px;height:26px;stroke:var(--ink);fill:none;stroke-width:1.6;}
.hp-cat__name{font-weight:600;font-size:14px;}
.hp-cat__count{font-family:var(--font-mono);font-size:11px;color:var(--grey-dark);}
@media (min-width:900px){
  .hp-cats{display:grid;grid-template-columns:repeat(6,1fr);overflow:visible;}
  .hp-cat{flex:initial;}
}

/* ═══ UITGELICHT ═══ */
.hp-featured{
  display:grid;grid-template-columns:1fr;gap:0;background:var(--ink);border-radius:18px;overflow:hidden;
}
.hp-featured__art{position:relative;background:radial-gradient(circle at 30% 20%,#22344350,transparent 60%),var(--ink-soft);min-height:180px;display:flex;align-items:center;justify-content:center;}
.hp-featured__art svg{width:70%;opacity:.9;}
.hp-featured__body{padding:28px 22px 30px;color:var(--white);}
.hp-featured__tag{display:inline-block;font-family:var(--font-mono);font-size:10px;letter-spacing:.1em;text-transform:uppercase;background:rgba(184,134,46,.18);color:var(--gold-light);padding:5px 10px;border-radius:5px;margin-bottom:14px;}
.hp-featured__title{font-family:var(--font-display);font-weight:600;font-size:22px;margin-bottom:6px;}
.hp-featured__provider{font-size:13px;color:rgba(255,255,255,.6);margin-bottom:18px;}
.hp-featured__facts{display:flex;gap:18px;flex-wrap:wrap;font-size:13px;color:rgba(255,255,255,.85);margin-bottom:22px;}
.hp-featured__facts b{display:block;font-family:var(--font-mono);font-size:10px;color:rgba(255,255,255,.5);text-transform:uppercase;letter-spacing:.06em;margin-bottom:2px;font-weight:500;}
.hp-featured__price{font-family:var(--font-display);font-size:24px;color:var(--gold-light);font-weight:600;}
.hp-featured__price s{font-size:14px;opacity:.5;font-weight:400;margin-right:6px;}
.hp-btn{display:inline-flex;align-items:center;gap:8px;background:var(--gold);color:var(--ink);font-weight:700;font-size:14px;padding:13px 20px;border-radius:9px;transition:.2s;}
.hp-btn:hover{background:var(--gold-light);transform:translateY(-1px);}
@media (min-width:760px){ .hp-featured{grid-template-columns:1fr 1fr;} .hp-featured__art{min-height:auto;} }

/* ═══ POPULAIRE OPLEIDINGEN ═══ */
.hp-grid3{display:grid;grid-template-columns:1fr;gap:18px;}
@media (min-width:760px){ .hp-grid3{grid-template-columns:repeat(3,1fr);} }
.hp-card{background:var(--white);border:1px solid var(--grey-light);border-radius:14px;padding:20px;display:flex;flex-direction:column;gap:12px;transition:.2s;}
.hp-card:hover{box-shadow:0 14px 28px rgba(22,35,46,.09);transform:translateY(-3px);}
.hp-card__tag{font-family:var(--font-mono);font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--gold);}
.hp-card__title{font-family:var(--font-display);font-weight:600;font-size:17px;}
.hp-card__provider{font-size:12px;color:var(--grey-dark);}
.hp-card__facts{display:flex;gap:14px;font-size:12px;color:var(--ink);border-top:1px solid var(--grey-light);border-bottom:1px solid var(--grey-light);padding:10px 0;}
.hp-card__facts span{display:flex;flex-direction:column;gap:2px;}
.hp-card__facts b{font-family:var(--font-mono);font-size:9px;color:var(--grey-dark);text-transform:uppercase;font-weight:500;}
.hp-card__bottom{display:flex;align-items:center;justify-content:space-between;}
.hp-stars{display:flex;align-items:center;gap:3px;}
.hp-stars svg{width:13px;height:13px;fill:var(--gold);}
.hp-stars b{font-size:12px;margin-left:3px;}
.hp-card__price{font-family:var(--font-display);font-weight:600;font-size:17px;color:var(--ink);}

/* ═══ USPs ═══ */
.hp-usps{display:grid;grid-template-columns:1fr 1fr;gap:18px;}
@media (min-width:900px){ .hp-usps{grid-template-columns:repeat(4,1fr);} }
.hp-usp{display:flex;flex-direction:column;gap:10px;}
.hp-usp svg{width:24px;height:24px;stroke:var(--forest);fill:none;stroke-width:1.7;}
.hp-usp__title{font-weight:700;font-size:14px;}
.hp-usp__text{font-size:13px;color:var(--grey-dark);}

/* ═══ TESTIMONIALS ═══ */
.hp-testi{position:relative;max-width:640px;margin:0 auto;text-align:center;}
.hp-testi__slide{display:none;}
.hp-testi__slide.is-active{display:block;animation:fadeUp .4s ease;}
@keyframes fadeUp{from{opacity:0;transform:translateY(8px);}to{opacity:1;transform:translateY(0);}}
.hp-testi__quote{font-family:var(--font-display);font-size:18px;line-height:1.5;margin-bottom:16px;}
.hp-testi__who{font-size:13px;color:var(--grey-dark);}
.hp-testi__who b{color:var(--ink);}
.hp-testi__dots{display:flex;justify-content:center;gap:8px;margin-top:22px;}
.hp-testi__dots button{width:8px;height:8px;border-radius:50%;background:var(--grey);}
.hp-testi__dots button.is-active{background:var(--gold);}

/* ═══ NEWSLETTER ═══ */
.hp-news{background:var(--parchment);border-radius:18px;padding:36px 24px;text-align:center;}
.hp-news__form{display:flex;flex-direction:column;gap:10px;max-width:420px;margin:22px auto 10px;}
.hp-news__form input{padding:13px 14px;border-radius:9px;border:1px solid var(--grey);font-size:14px;}
.hp-news__form button{background:var(--ink);color:var(--white);font-weight:700;font-size:14px;padding:13px 16px;border-radius:9px;}
.hp-news__small{font-size:12px;color:var(--grey-dark);}
@media (min-width:560px){ .hp-news__form{flex-direction:row;} }

/* ═══ FOOTER ═══ */
.hp-footer{background:var(--ink);color:rgba(255,255,255,.6);padding:48px 0 24px;font-size:13px;}
.hp-footer__grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-bottom:36px;}
@media (min-width:760px){ .hp-footer__grid{grid-template-columns:repeat(4,1fr);} }
.hp-footer__col b{display:block;color:var(--white);font-size:13px;margin-bottom:12px;}
.hp-footer__col a{display:block;padding:5px 0;color:rgba(255,255,255,.55);}
.hp-footer__col a:hover{color:var(--gold-light);}
.hp-footer__bottom{border-top:1px solid var(--ink-line);padding-top:20px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;}

/* Fade-in on scroll */
.hp-fade{opacity:0;transform:translateY(16px);transition:opacity .5s ease,transform .5s ease;}
.hp-fade.is-visible{opacity:1;transform:translateY(0);}