/* Hero met oplossingen — gescoped op .ewb-hero */
.ewb.ewb-hero { position: relative; isolation: isolate; margin: 0; padding: 120px var(--ewb-gutter) 80px; background: var(--ewb-light-blue); overflow: hidden; }
.ewb-hero .ewb-hero__bg { position: absolute; inset: 0; z-index: -1; }
.ewb-hero .ewb-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ewb-hero .ewb-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(250 250 250 / 92%) 0%, rgb(250 250 250 / 85%) 50%, rgb(235 241 245 / 96%) 100%); }
.ewb-hero .ewb-hero__inner { display: grid; gap: 64px; }

.ewb-hero .ewb-hero__copy { max-width: 980px; margin: 0 auto; text-align: center; }
.ewb-hero .ewb-hero__eyebrow { margin: 0 0 14px; color: var(--ewb-primary); font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ewb-hero .ewb-hero__title { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.15; text-wrap: balance; }
.ewb-hero .ewb-hero__text { max-width: 620px; margin: 20px auto 0; font-size: 18px; line-height: 1.6; }
.ewb-hero .ewb-hero__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.ewb-hero .ewb-hero__buttons .ewb-btn { min-height: 48px; padding: 12px 28px; }

.ewb-hero .ewb-hero__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.ewb-hero .ewb-hero__card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #dde3ee; border-radius: var(--ewb-radius-card); background: var(--ewb-white); transition: border-color .2s ease, transform .2s ease; }
.ewb-hero .ewb-hero__card:hover { border-color: var(--ewb-primary); }
.ewb-hero .ewb-hero__card:focus-within { outline: 3px solid var(--ewb-primary); outline-offset: 3px; }
.ewb-hero .ewb-hero__photo { aspect-ratio: 4 / 3; overflow: hidden; background: #dde3ee; }
.ewb-hero .ewb-hero__photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ewb-hero .ewb-hero__card:hover .ewb-hero__photo img { transform: scale(1.03); }
.ewb-hero .ewb-hero__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px 22px 22px; }
.ewb-hero .ewb-hero__icon { flex: 0 0 auto; margin-bottom: 4px; color: var(--ewb-primary); }
.ewb-hero .ewb-hero__card-title { margin: 0; color: var(--ewb-primary); font-family: var(--ewb-font-heading); font-size: 20px; font-weight: 600; line-height: 1.25; }
.ewb-hero .ewb-hero__card-link { color: inherit; text-decoration: none; }
.ewb-hero .ewb-hero__card-link::after { content: ""; position: absolute; inset: 0; }
.ewb-hero .ewb-hero__card-link:focus-visible { outline: none; }
.ewb-hero .ewb-hero__card-text { margin: 0; font-size: 15px; line-height: 1.5; }
.ewb-hero .ewb-hero__more { margin-top: auto; padding-top: 10px; color: var(--ewb-primary); font-size: 15px; font-weight: 600; }
.ewb-hero .ewb-hero__arrow { display: inline-block; transition: transform .2s ease; }
.ewb-hero .ewb-hero__card:hover .ewb-hero__arrow { transform: translateX(3px); }
.ewb-hero .ewb-hero__empty { margin: 0; padding: 16px; border: 1px dashed #c5cbe0; }

@media (max-width: 1024px) {
  .ewb.ewb-hero { padding-top: 80px; padding-bottom: 60px; }
  .ewb-hero .ewb-hero__inner { gap: 48px; }
  .ewb-hero .ewb-hero__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .ewb.ewb-hero { padding-top: 48px; padding-bottom: 48px; }
  .ewb-hero .ewb-hero__inner { gap: 36px; }
  .ewb-hero .ewb-hero__text { font-size: 16px; }
  .ewb-hero .ewb-hero__buttons { flex-direction: column; align-items: stretch; }
  .ewb-hero .ewb-hero__cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ewb-hero .ewb-hero__card { flex-direction: row; }
  .ewb-hero .ewb-hero__photo { flex: 0 0 34%; aspect-ratio: auto; }
  .ewb-hero .ewb-hero__body { padding: 14px 16px; gap: 4px; }
  .ewb-hero .ewb-hero__icon { display: none; }
  .ewb-hero .ewb-hero__card-title { font-size: 17px; }
  .ewb-hero .ewb-hero__card-text { font-size: 14px; }
  .ewb-hero .ewb-hero__more { padding-top: 4px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .ewb-hero .ewb-hero__photo img, .ewb-hero .ewb-hero__arrow, .ewb-hero .ewb-hero__card { transition: none; }
}
