/* Leistung – Hero (Paper: „Leistung Detail · Desktop“ › Leistung Hero, Maße nach Template „service-details-banner“)
   Hintergrund wie Startseite (.dao-glow, .dao-pattern); Text links, Foto mit Aussparung unten rechts */
.dao-leistung-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: row; /* ACSS setzt Sektionen auf column */
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
  margin: 0;
  padding: calc(var(--dao-header-height) + 80px) var(--dao-gutter) 0; /* Styleguide: zweispaltiger Hero 80 px, Abstand nach unten trägt die Beschreibung */
  overflow: hidden;
  background: none;
}

.dao-leistung-hero > .dao-glow,
.dao-leistung-hero > .dao-pattern {
  z-index: -1;
}

.dao-leistung-hero__text {
  display: flex;
  flex: 0 1 620px;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-width: 0;
}

.dao-leistung-hero__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.dao-leistung-hero__proof {
  margin-bottom: 30px;
}

.dao-leistung-hero__title {
  hyphens: manual;
}

.dao-leistung-hero__lead {
  max-width: 560px;
}

.dao-leistung-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 10px;
}

/* Leistungspunkte mit Trennlinie */
.dao-leistung-hero__points {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 300px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dao-leistung-hero__point {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 0;
  border-bottom: 1px solid var(--dao-linie-stark);
  font-family: var(--dao-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  color: var(--dao-navy);
}

.dao-leistung-hero__point svg {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  color: var(--dao-blau);
}

/* Foto mit schräger Aussparung unten rechts in Seitenfarbe */
.dao-leistung-hero__image {
  position: relative;
  display: flex;
  flex: 0 1 700px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 446px;
  overflow: hidden;
  border-radius: 10px;
  background: url("../assets/ueber-bildflaeche.svg") center / cover no-repeat;
}

/* echtes Foto: füllt die Fläche, darüber wie auf der Beratungsseite Blauverlauf von unten und das feine Logo-Muster */
.dao-leistung-hero__image--foto {
  isolation: isolate;
  background: none;
}

.dao-leistung-hero__image--foto img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dao-leistung-hero__image--foto::before,
.dao-leistung-hero__image--foto::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

.dao-leistung-hero__image--foto::before {
  height: 75%;
  background: linear-gradient(in oklab 0deg,
    color-mix(in srgb, var(--dao-nachtblau) 62%, transparent) 0%,
    color-mix(in srgb, var(--dao-nachtblau) 22%, transparent) 55%,
    transparent 100%);
}

.dao-leistung-hero__image--foto::after {
  height: 50%;
  background: url("../assets/beratung-hero-muster.svg") center bottom / cover no-repeat;
  opacity: 0.6;
}

.dao-leistung-hero__image--foto .dao-leistung-hero__shape {
  z-index: 2;
}

.dao-leistung-hero__image-label {
  font-family: var(--dao-font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dao-weiss);
}

.dao-leistung-hero__image-text {
  font-family: var(--dao-font);
  font-size: 14px;
  line-height: 21px;
  color: var(--dao-weiss-70);
}

.dao-leistung-hero__shape {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 290px;
  height: auto;
  color: var(--dao-seitengrund);
  pointer-events: none;
}

/* Tablet: Text über dem Foto */
@media (max-width: 1199px) {
  .dao-leistung-hero {
    flex-direction: column;
    gap: 50px;
    padding-top: calc(var(--dao-header-height) + 64px);
    padding-bottom: 0;
  }

  .dao-leistung-hero__text {
    flex: none;
    gap: 30px;
  }

  .dao-leistung-hero__proof {
    margin-bottom: 20px;
  }

  .dao-leistung-hero__image {
    flex: none;
    min-height: 0;
    aspect-ratio: 700 / 446;
  }

  .dao-leistung-hero__shape {
    width: 220px;
  }
}

/* Mobil */
@media (max-width: 767px) {
  .dao-leistung-hero {
    gap: 40px;
    padding-top: calc(var(--dao-header-height) + 48px);
    padding-bottom: 0;
  }

  .dao-leistung-hero__intro {
    gap: 16px;
  }

  .dao-leistung-hero__proof {
    margin-bottom: 10px;
  }

  .dao-leistung-hero__buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding-top: 4px;
  }

  .dao-leistung-hero__points {
    max-width: none;
  }

  .dao-leistung-hero__point {
    font-size: 15px;
  }

  .dao-leistung-hero__image {
    aspect-ratio: 4 / 3;
  }

  .dao-leistung-hero__shape {
    width: 140px;
  }
}
