/* ===========================================================================
   Harv — dienstenkiezer (diensten.html): a two-step recommender widget.
   "Kijk wat het beste bij jou past." Hidden without JS (the full service
   list right below remains the no-JS experience).
   =========================================================================== */
.kz { display: none; }
html.kz-js .kz { display: block; }

.kz {
  max-width: 960px; margin: clamp(10px, 2vw, 26px) auto clamp(34px, 5vw, 56px);
  background: #fff; border: 1px solid rgba(16, 19, 20, .12); border-left: 4px solid #77fb38;
  border-radius: 22px; padding: clamp(26px, 4vw, 44px);
  color: #101314; box-shadow: 0 30px 70px -52px rgba(16, 19, 20, .5);
}
.kz .kz-kicker { display: block; font-size: .82rem; font-weight: 700; color: #5b6166; margin: 0 0 8px; }
.kz h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; color: #101314; margin: 0 0 4px; text-wrap: balance; }
.kz h2 span.mark { background: linear-gradient(transparent 52%, #77fb38 0); padding: 0 .1em; border-radius: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.kz .kz-sub { color: #5b6166; font-size: .98rem; margin: 0 0 22px; }
.kz .kz-skip {
  color: #101314; font-weight: 700; text-decoration: underline;
  text-decoration-color: #77fb38; text-decoration-thickness: 2px; text-underline-offset: 3px;
  display: inline-flex; align-items: center; gap: 4px;
}
.kz .kz-skip svg { width: .85em; height: .85em; }

.kz .kz-step { margin: 0; }
.kz .kz-q { font-size: clamp(1.05rem, 1.8vw, 1.25rem); font-weight: 700; color: #101314; margin: 0 0 16px; text-wrap: balance; }
.kz .kz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kz .kz-opts button:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 640px) { .kz .kz-opts { grid-template-columns: 1fr; } }
.kz .kz-opts button {
  appearance: none; border: 1px solid rgba(16, 19, 20, .16); background: #f4f4f3;
  color: #101314; font: inherit; font-weight: 600; font-size: .98rem; text-align: left;
  padding: 15px 18px; border-radius: 14px;
  transition: border-color .25s, background-color .25s, transform .35s cubic-bezier(.16, 1, .3, 1);
}
.kz .kz-opts button:hover { border-color: #101314; background: rgba(119, 251, 56, .16); transform: translateX(4px); }
.kz .kz-opts button:focus-visible { outline: 3px solid #101314; outline-offset: 2px; }

.kz .kz-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; }
.kz .kz-count { font-size: .8rem; color: #6b716d; }
.kz .kz-back, .kz .kz-again {
  appearance: none; background: none; border: 0; color: #101314; font: inherit; font-weight: 700;
  font-size: .88rem; padding: 4px 0; text-decoration: underline; text-underline-offset: 3px;
}
.kz .kz-back:focus-visible, .kz .kz-again:focus-visible { outline: 3px solid #101314; outline-offset: 2px; }

/* result */
.kz .kz-result .kz-match { font-size: .82rem; font-weight: 700; color: #5b6166; display: block; margin-bottom: 10px; }
.kz .kz-result h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 800; letter-spacing: -.02em; color: #101314; margin: 0 0 8px; }
.kz .kz-result p { color: #4a5053; font-size: 1rem; line-height: 1.6; margin: 0 0 20px; max-width: 58ch; }
.kz .kz-result .kz-go {
  display: inline-flex; align-items: center; gap: 10px; background: #77fb38; color: #101314;
  font-weight: 700; text-decoration: none; padding: 15px 24px; border-radius: 14px;
  transition: background-color .2s;
}
.kz .kz-result .kz-go:hover { background: #d2ff72; }
.kz .kz-result .kz-go svg { width: 17px; height: 17px; }
.kz .kz-result .kz-alt { display: inline-block; margin-left: 16px; color: #101314; font-weight: 600; font-size: .92rem; text-decoration: underline; text-decoration-color: #77fb38; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* step transitions */
.kz .kz-pane { animation: kz-in .4s cubic-bezier(.16, 1, .3, 1); }
@keyframes kz-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .kz .kz-pane { animation: none; }
  .kz .kz-opts button, .kz .kz-opts button:hover { transform: none; transition: none; }
}
@media (max-width: 560px) {
  .kz .kz-result .kz-alt { display: block; margin: 14px 0 0; }
}
