/* Heens IT – huisstijl afgeleid van het logo */
:root {
  --purple: #7f0b70;
  --purple-dark: #5e0853;
  --mauve: #b588b0;
  --lilac: #d1b6cf;
  --lilac-soft: #f4edf3;
  --slate: #404850;
  --slate-dark: #262c32;
  --teal: #0f323d;
  --ink: #2a3036;
  --muted: #5d6670;
  --line: #e4e0e4;
  --bg: #ffffff;
  --bg-alt: #f8f6f8;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 50, 61, .06), 0 8px 24px rgba(15, 50, 61, .08);
  --max: 1160px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--purple-dark); }
h1, h2, h3 { color: var(--slate-dark); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
li { margin: .25em 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--purple); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { width: 150px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 12px; font: inherit; font-size: 15px; color: var(--slate); cursor: pointer;
}
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav li { position: relative; margin: 0; }
.nav a, .nav .menu-label {
  display: block; padding: 10px 14px; border-radius: 10px;
  color: var(--slate); text-decoration: none; font-weight: 550; font-size: 16px;
}
.nav a:hover, .nav .menu-label:hover, .nav li:focus-within > .menu-label { background: var(--lilac-soft); color: var(--purple); }
.nav a[aria-current="page"] { color: var(--purple); }
.nav .menu-label { cursor: default; }
.nav .menu-label::after { content: ""; display: inline-block; margin-left: 7px; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.nav .sub {
  position: absolute; top: 100%; left: 0; min-width: 260px; display: none; flex-direction: column; align-items: stretch;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px;
}
.nav li:hover > .sub, .nav li:focus-within > .sub { display: flex; }
.nav .sub a { font-weight: 500; }
.nav .cta { background: var(--purple); color: #fff; margin-left: 8px; }
.nav .cta:hover { background: var(--purple-dark); color: #fff; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--lilac-soft) 100%); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--purple); margin-bottom: 14px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.hero-art { justify-self: center; width: min(420px, 100%); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 12px;
  font-weight: 600; text-decoration: none; border: 2px solid var(--purple); transition: background .15s, color .15s;
}
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-dark); border-color: var(--purple-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--purple); }
.btn-ghost:hover { background: var(--purple); color: #fff; }
.btn svg { width: 20px; height: 20px; }

/* Page header (subpages) */
.page-head { background: linear-gradient(120deg, var(--teal) 0%, var(--slate) 55%, var(--purple-dark) 130%); color: #fff; position: relative; overflow: hidden; }
.page-head .wrap { padding-top: 56px; padding-bottom: 56px; position: relative; z-index: 1; }
.page-head h1 { color: #fff; margin-bottom: .3em; }
.page-head p { color: rgba(255, 255, 255, .85); font-size: 1.15rem; max-width: 40em; margin: 0; }
.page-head .crumbs { font-size: 14px; margin-bottom: 14px; color: rgba(255, 255, 255, .7); }
.page-head .crumbs a { color: rgba(255, 255, 255, .9); }
.page-head .deco { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 340px; opacity: .22; }

/* Sections */
section { padding: 72px 0; }
.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 46em; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card h3 { margin-top: 14px; }
.card p { color: var(--muted); }
.card .more { margin-top: auto; font-weight: 600; text-decoration: none; }
.card .more::after { content: " →"; }
a.card { text-decoration: none; color: inherit; transition: transform .15s, border-color .15s; }
a.card:hover { transform: translateY(-3px); border-color: var(--mauve); }

.icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--lilac-soft); color: var(--purple);
}
.icon svg { width: 28px; height: 28px; }

.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .dot { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: var(--purple); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; margin-top: 2px; }
.feature h3 { margin: 0 0 .3em; font-size: 1.08rem; }
.feature p { margin: 0; color: var(--muted); }

.quote {
  border-left: 4px solid var(--purple); padding: 6px 0 6px 22px; font-size: 1.25rem; color: var(--slate-dark); font-weight: 550;
}

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 30px; margin: .55em 0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--lilac); box-shadow: inset 0 0 0 4px var(--purple);
}

.prose { max-width: 46em; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.aside-box { background: var(--lilac-soft); border-radius: var(--radius); padding: 28px; border: 1px solid #ead9e8; }
.aside-box h3 { margin-top: 0; }

.partner-logo { width: 200px; margin-bottom: 8px; }
.aside-box .partner-logo { margin-bottom: 18px; }
.partner-logo-hp { width: auto; height: 67px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.tags li { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 15px; color: var(--slate); }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li { counter-increment: step; position: relative; padding: 18px 20px 18px 70px; background: #fff; border: 1px solid var(--line); border-radius: 12px; margin: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 18px; top: 16px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--purple); color: #fff; font-weight: 700; display: grid; place-items: center;
}
.steps strong { display: block; color: var(--slate-dark); }

/* CTA band */
.band { background: linear-gradient(120deg, var(--purple-dark), var(--purple) 60%, #9a3a8c); color: #fff; }
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 48px; padding-bottom: 48px; }
.band h2 { color: #fff; margin: 0 0 .2em; }
.band p { margin: 0; color: rgba(255, 255, 255, .88); }
.band .btn { border-color: #fff; background: #fff; color: var(--purple); }
.band .btn:hover { background: transparent; color: #fff; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin: 0; }
.contact-list .icon { width: 44px; height: 44px; flex: 0 0 auto; }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list small { display: block; color: var(--muted); font-size: 14px; }
.contact-list a { font-weight: 600; text-decoration: none; }

/* Footer */
.site-footer { background: var(--slate-dark); color: #c9ced4; font-size: 15px; }
.site-footer .wrap { padding-top: 56px; padding-bottom: 28px; }
.site-footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h3 { color: #fff; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer a { color: #e6e9ec; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-logo { background: #fff; border-radius: 12px; padding: 12px 16px; display: inline-block; margin-bottom: 14px; }
.footer-logo img { width: 130px; }
.legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: #9aa3ad; }

/* Responsive */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 8px 16px 16px; gap: 0; }
  .nav .sub { position: static; display: flex; border: 0; box-shadow: none; padding: 0 0 0 14px; min-width: 0; }
  .nav .menu-label::after { display: none; }
  .nav .menu-label { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; padding-top: 16px; }
  .nav .cta { margin: 10px 0 0; text-align: center; }
  .hero .wrap, .two-col { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 48px; padding-bottom: 48px; }
  .hero-art { width: min(260px, 70%); order: -1; }
  .page-head .deco { display: none; }
  .first-mobile { order: -1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section { padding: 52px 0; }
  .grid-2, .grid-3, .grid-4, .site-footer .cols { grid-template-columns: 1fr; }
  .brand img { width: 124px; }
  .card { padding: 22px; }
}
@media print {
  .site-header, .site-footer, .band, .nav-toggle { display: none; }
}
