/* Hero – Variante L: Hintergrundbild · diagonale transparente Farbfläche · Text links */

.wf-hero--l {
  position: relative;
  min-height: min(72vh, 620px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.wf-hero--l .wf-hero__surface {
  background: var(--wf-text-muted);
}

.wf-hero--l__panel {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Diagonale transparente Fläche links – Bild bleibt erkennbar */
  background: color-mix(in srgb, var(--wf-text) 72%, transparent);
  clip-path: polygon(0 0, 58% 0, 46% 100%, 0 100%);
  pointer-events: none;
}

.wf-hero--l__content {
  position: relative;
  z-index: 2;
  width: min(100%, 34rem);
  max-width: var(--wf-max-width);
  margin: 0 auto 0 0;
  padding: var(--wf-space-2xl) var(--wf-container-padding);
  padding-right: clamp(1rem, 8vw, 4rem);
}

.wf-hero--l__headline {
  margin: 0 0 var(--wf-space-md);
  font-size: var(--wf-h1-size);
  font-weight: 800;
  line-height: var(--wf-heading-line-height);
  color: #fff;
}

.wf-hero--l__text {
  margin: 0 0 var(--wf-space-xl);
  font-size: var(--wf-body-size);
  line-height: var(--wf-body-line-height);
  color: rgba(255, 255, 255, 0.92);
}

.wf-hero--l__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wf-space-md);
}

.wf-hero--l__btn {
  border-radius: 999px;
  border-width: 0;
  background: var(--wf-border-strong);
  color: var(--wf-text);
  text-decoration: none;
  font-weight: 700;
  padding-inline: 1.5rem;
}

@media (max-width: 800px) {
  .wf-hero--l {
    min-height: min(68vh, 560px);
    align-items: center;
  }

  .wf-hero--l__panel {
    clip-path: polygon(0 0, 72% 0, 58% 100%, 0 100%);
  }

  .wf-hero--l__content {
    width: 100%;
    max-width: 34rem;
    margin-inline: auto;
    text-align: center;
    padding-bottom: var(--wf-space-2xl);
  }

  .wf-hero--l__actions {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .wf-hero--l__panel {
    clip-path: polygon(0 0, 78% 0, 62% 100%, 0 100%);
  }
}
