/* Homepage hero, reviews and builder demo, taken over from the prototype at
   /onderzoek/hero (five.css). Own hh- class names, so landing.css (.startform,
   .micro, .lp h2 …) does not reach in; the theme follows the site toggle. */
@font-face {
  font-family: Sora;
  src: url('/static/fonts/sora-xMQbuFFYT72XzQUpDg.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
}
.hh {
  --ink: #172b24;
  --muted: #58685f;
  --line: #d9ded6;
  --paper: #fff;
  --surface: #fff;
  --brand: #214c3f;
  --accent: #2456cf;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: normal;
  text-align: left;
}
html[data-theme="dark"] .hh {
  --ink: #f1f4ef;
  --muted: #aeb9b1;
  --line: rgb(255 255 255 / .14);
  --paper: #000;
  --surface: #151920;
  --brand: #bcd5c6;
  --accent: #9bb5ff;
}
.hh a { color: inherit; }
.hh button, .hh input { font: inherit; }
.hh-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hh button:focus-visible, .hh a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- hero ---------- */
.lp .hh-hero {
  position: relative;
  height: 800px;
  min-height: 800px;
  overflow: hidden;
  padding: 0 24px;
  text-align: center;
  background:
    radial-gradient(circle at 15% 78%, rgb(85 126 102 / .04), transparent 28%),
    radial-gradient(circle at 84% 65%, rgb(54 98 207 / .03), transparent 25%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}
.hh-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -90px;
  width: min(900px, 80vw);
  height: 210px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgb(116 149 126 / .04);
  filter: blur(55px);
  pointer-events: none;
}
html[data-theme="dark"] .lp .hh-hero { background: #000; }
html[data-theme="dark"] .hh-hero::after { display: none; }

.hh-copy {
  position: absolute;
  z-index: 10;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -45%);
  width: min(550px, calc(100% - 40px));
  padding: 22px 16px;
  border-radius: 28px;
}
.hh-eyebrow { margin: 0 0 13px; color: var(--brand); font-size: .62rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.lp .hh-hero h1 {
  margin: 0 0 23px;
  color: var(--ink);
  font-family: Sora, Inter, sans-serif;
  font-size: clamp(2.7rem, 4.3vw, 3.8rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.06em;
  text-wrap: balance;
}
.hh-form {
  display: flex;
  gap: 7px;
  max-width: 490px;
  margin: 0 auto;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  box-shadow: 0 16px 44px -30px rgb(24 45 37 / .5);
}
.hh-form:focus-within { outline: 3px solid color-mix(in srgb, var(--accent) 40%, transparent); outline-offset: 2px; }
.hh-form input { min-width: 0; flex: 1; padding: 11px 12px; border: 0; outline: 0; background: transparent; color: var(--ink); }
.hh-form input::placeholder { color: var(--muted); opacity: .86; }
.hh-form button { padding: 11px 22px; border: 0; border-radius: 7px; background: var(--brand); color: #fff; font-weight: 750; cursor: pointer; }
.hh-form button:hover { background: var(--accent); }
html[data-theme="dark"] .hh-form button { color: #101711; }
.hh-micro { margin: 9px 0 0; color: var(--muted); font-size: .73rem; line-height: 1.35; }
.hh-micro a { margin-left: 5px; font-weight: 700; text-underline-offset: 3px; }

/* Hero background: a tilted, slowly drifting wall of our newer templates (like /help). */
.hh-wall { position: absolute; inset: -30% -12%; z-index: 0; display: grid; gap: 22px; align-content: center; transform: rotate(-9deg); pointer-events: none; }
.hh-wall-row { display: flex; gap: 22px; width: max-content; animation: hh-drift 90s linear infinite; }
.hh-wall-row:nth-child(2) { animation-direction: reverse; margin-left: -180px; }
.hh-wall-row img { width: 380px; height: auto; aspect-ratio: 1440/900; object-fit: cover; border-radius: 12px; box-shadow: 0 20px 50px -24px rgb(10 20 40 / .55); }
.lp .hh-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(60% 70% at 50% 50%, color-mix(in srgb, var(--paper) 94%, transparent) 0, color-mix(in srgb, var(--paper) 82%, transparent) 55%, color-mix(in srgb, var(--paper) 45%, transparent) 100%); }
@keyframes hh-drift { to { transform: translateX(calc(-50% - 11px)); } }

/* ---------- why Sitewillow (three perks) ---------- */
.lp .hh-reviews { max-width: 1160px; margin: 0 auto; padding: 25px 24px 20px; }
.lp .hh-reviews h2 {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: Inter, Arial, sans-serif;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: normal;
  color: var(--ink);
}
.hh-reviews h2 > span { color: var(--muted); font-size: .68rem; font-weight: 400; }
.hh-review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.hh-review { margin: 0; padding: 0 22px 0 0; border-right: 1px solid var(--line); }
.hh-review:last-child { border-right: 0; padding-right: 0; }
.hh-perk-ico { display: inline-flex; color: var(--brand); }
.lp .hh-review h3 { margin: 8px 0 6px; font-family: Inter, Arial, sans-serif; font-size: .86rem; font-weight: 600; line-height: 1.3; letter-spacing: normal; color: var(--ink); }
.hh-review p { margin: 0; font-size: .8rem; line-height: 1.6; color: var(--muted); }
/* The sections below keep their own width; only these two span the page. */
.hh-band { background: var(--paper); }

/* ---------- builder demo ---------- */
.lp .hh-demo { max-width: 1160px; margin: 0 auto; padding: 25px 24px 80px; }
.hh-demo-heading { margin-bottom: 14px; text-align: center; }
.lp .hh-demo-heading h2 {
  width: 100%;
  margin: 0 auto;
  color: var(--ink);
  font-family: Sora, Inter, sans-serif;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.045em;
}
.hh-film { margin: 0; }
.hh-video-shell { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 28px 65px -45px rgb(0 0 0 / .75); }
.hh-film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--surface); }
.hh .hh-video-toggle { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border: 1px solid rgb(255 255 255 / .28); border-radius: 999px; background: rgb(12 18 15 / .82); color: #fff; font-size: .75rem; font-weight: 700; cursor: pointer; backdrop-filter: blur(9px); }
.hh-video-toggle:hover { border-color: var(--accent); }
.hh-video-toggle svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hh-video-toggle .hh-play { display: none; }
.hh-video-toggle.is-paused .hh-pause { display: none; }
.hh-video-toggle.is-paused .hh-play { display: block; }

@media (max-width: 1000px) and (min-width: 761px) {
  .lp .hh-hero { height: 860px; min-height: 860px; }
  .hh-copy { top: 50%; width: 460px; }
}
@media (max-width: 760px) {
  .lp .hh-hero { height: auto; min-height: 0; padding: 124px 16px 56px; }
  .hh-copy { position: relative; top: auto; left: auto; transform: none; width: 100%; margin: 0 auto; padding: 0 4px; }
  .lp .hh-hero h1 { font-size: clamp(1.8rem, 7.8vw, 3rem); margin-bottom: 18px; }
  .hh-eyebrow { font-size: .5rem; letter-spacing: .06em; }
  .hh-form { max-width: 320px; flex-direction: column; padding: 6px; }
  .hh-form input { padding: 9px 10px; text-align: center; font-size: .85rem; }
  .hh-form button { padding: 9px 16px; }
  .hh-micro { max-width: 330px; margin: 7px auto 0; font-size: .59rem; }
  .hh-micro a { display: inline-block; }
  .hh-wall-row img { width: 240px; }
  .lp .hh-hero::before { background: color-mix(in srgb, var(--paper) 84%, transparent); }
  .lp .hh-reviews { padding: 20px 20px 10px; }
  .lp .hh-reviews h2 { align-items: flex-start; flex-direction: column; gap: 5px; }
  .hh-review-grid { grid-template-columns: 1fr; gap: 18px; }
  .hh-review { border-right: 0; padding: 0 0 18px; border-bottom: 1px solid var(--line); }
  .hh-review:last-child { border-bottom: 0; padding-bottom: 0; }
  .lp .hh-demo { padding: 23px 14px 52px; }
  .hh-demo-heading { margin-bottom: 12px; }
  .hh-video-shell { border-radius: 9px; }
  .hh-video-toggle { right: 8px; bottom: 8px; padding: 7px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hh-wall-row { animation: none; }
}
