/**
 * Homepage — stappenplan voor klanten (onder dak-intro; merkgroen-accent).
 */

.home-process {
  --proc-green: var(--color-brand-green);
  --proc-black: #0a0a0a;
  background: #f4f6f5;
  padding: clamp(1.75rem, 4.5vw, 2.75rem) 0 clamp(2.25rem, 5vw, 3.5rem);
  border-top: 1px solid rgba(10, 10, 10, 0.08);
}

.home-process__container {
  width: 100%;
  max-width: var(--header-max-width);
  margin: 0 auto;
  padding: 0 max(var(--header-padding-x), env(safe-area-inset-left, 0px)) 0
    max(var(--header-padding-x), env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

.home-process__header {
  margin-bottom: clamp(1.35rem, 3vw, 2rem);
  max-width: 42rem;
}

.home-process__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--proc-black);
}

.home-process__intro {
  margin: 0;
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  font-weight: 500;
  line-height: 1.6;
  color: rgba(10, 10, 10, 0.76);
}

.home-process__list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: proc-step;
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.35rem);
}

/* Grid op alle breakpoints: géén overlap badge / titel (mobiel) */
.home-process__item {
  margin: 0;
  padding: clamp(1rem, 2.5vw, 1.35rem);
  border-radius: 12px;
  border: 1px solid rgba(15, 21, 18, 0.08);
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(10, 10, 10, 0.05);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: start;
  column-gap: clamp(0.85rem, 4vw, 1.15rem);
  row-gap: 0.4rem;
}

.home-process__item::before {
  counter-increment: proc-step;
  content: counter(proc-step);
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: start;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  background: var(--proc-green);
  border-radius: 10px;
  line-height: 1;
}

.home-process__item-title {
  margin: 0;
  grid-column: 2;
  grid-row: 1;
  font-size: clamp(1.02rem, 2.2vw, 1.2rem);
  font-weight: 700;
  line-height: 1.28;
  color: var(--proc-black);
}

.home-process__item-text {
  margin: 0;
  grid-column: 2;
  grid-row: 2;
  font-size: clamp(0.9rem, 1.4vw, 0.98rem);
  font-weight: 500;
  line-height: 1.65;
  color: rgba(10, 10, 10, 0.78);
}

.home-process__footer {
  margin: clamp(1.5rem, 3vw, 2rem) 0 0;
  text-align: center;
}

.home-process__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--proc-green);
  border: 2px solid var(--proc-green);
  border-radius: 8px;
  transition: filter var(--duration-fast, 180ms) var(--ease-standard, ease);
}

.home-process__cta:hover {
  filter: brightness(0.94);
}

.home-process__cta:focus-visible {
  outline: 2px solid var(--proc-green);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .home-process__cta {
    transition: none;
  }
}
