/* Über uns – Hero (Paper: „Über uns · Desktop“ › Hero, Maße nach Template „About us“)
   Dunkler Hintergrund über Baustein .dao-hero-dark (dao-base.css), Titel oben links, Video-Karte unten rechts */
.dao-ueber-hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  height: 900px;
  margin: 0;
  padding: calc(var(--dao-header-height) + 80px) 0 60px;
}

/* Platzhalter für Teamfoto/Video in der Bildmitte */
.dao-ueber-hero__placeholder {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-top: 140px;
  pointer-events: none;
}

.dao-ueber-hero__placeholder-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-ueber-hero__placeholder-text {
  font-family: var(--dao-font);
  font-size: 14px;
  line-height: 18px;
  color: var(--dao-weiss-70);
}

/* Hintergrundfoto wie im Hero der Beratung: unter Muster und Abdunklung, darüber der blaue Verlauf teiltransparent */
.dao-ueber-hero__bild {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.dao-ueber-hero__bild img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 45%;
}

.dao-ueber-hero__bild::after {
  content: "";
  position: absolute;
  inset: 0;
  /* oben dunkel (Menü lesbar), in der Mitte am hellsten (Personen), unten wieder dunkel */
  background: linear-gradient(in oklab 180deg,
    color-mix(in srgb, var(--dao-nachtblau-tief) 90%, transparent) 0%,
    color-mix(in srgb, var(--dao-nachtblau) 72%, transparent) 22%,
    color-mix(in srgb, var(--dao-blau-mittel) 44%, transparent) 45%,
    color-mix(in srgb, var(--dao-nachtblau) 78%, transparent) 70%,
    color-mix(in srgb, var(--dao-nachtblau-tief) 92%, transparent) 100%);
}

/* feines Muster wie auf Beratung */
.dao-ueber-hero .dao-hero-dark__pattern {
  background-image: url("../assets/beratung-hero-muster.svg");
}

.dao-ueber-hero__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
  max-width: calc(1000px + 2 * var(--dao-gutter)); /* Titel in Paper zweizeilig */
  padding-inline: var(--dao-gutter);
}

.dao-ueber-hero__title {
  color: var(--dao-weiss);
}

/* Unterer Bereich: Video-Karte rechts */
.dao-ueber-hero__bottom {
  display: flex;
  justify-content: flex-end;
  gap: 0;
  margin-inline: var(--dao-gutter);
  padding-bottom: 40px;
}

.dao-ueber-hero__card {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 360px;
  margin: 0;
  padding: 5px 5px 15px;
  border-radius: 6px;
  background: var(--dao-kartengrund);
  text-decoration: none;
  color: var(--dao-navy);
}

.dao-ueber-hero__card:hover {
  color: var(--dao-navy);
}

.dao-ueber-hero__card:focus-visible {
  outline: 2px solid var(--dao-hellblau);
  outline-offset: 3px;
}

.dao-ueber-hero__video {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  aspect-ratio: 350 / 180;
  border-radius: 4px;
  background: url("../assets/preise-bildflaeche.svg") center / cover no-repeat;
}

/* Foto statt Video (solange es kein Vorstellungsvideo gibt) */
.dao-ueber-hero__foto {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 4px;
}

.dao-ueber-hero__play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 100%;
  background: var(--dao-weiss);
  transition: transform 0.2s ease;
}

.dao-ueber-hero__card:hover .dao-ueber-hero__play {
  transform: scale(1.06);
}

.dao-ueber-hero__play svg {
  width: 16px;
  height: 16px;
}

.dao-ueber-hero__card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-inline: 10px;
  font-family: var(--dao-font-mono);
  font-size: 14px;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.dao-ueber-hero__card-link svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--dao-blau);
}

/* Tablet */
@media (max-width: 1199px) {
  .dao-ueber-hero {
    height: 800px;
    padding-top: calc(var(--dao-header-height) + 54px);
  }

  /* Platzhalter links unter dem Titel, neben der Video-Karte */
  .dao-ueber-hero__placeholder {
    align-items: flex-start;
    padding: 300px var(--dao-gutter) 0;
  }

  .dao-ueber-hero__placeholder-text {
    max-width: 340px;
  }

  .dao-ueber-hero__head {
    gap: 20px;
    max-width: calc(650px + 2 * var(--dao-gutter));
  }

  .dao-ueber-hero__card {
    max-width: 300px;
  }

  .dao-ueber-hero__play {
    width: 40px;
    height: 40px;
  }
}

/* Mobil */
@media (max-width: 767px) {
  .dao-ueber-hero {
    height: 640px;
    padding-bottom: 40px;
  }

  .dao-ueber-hero__head {
    gap: 15px;
  }

  /* Platzhalter auf Mobil nur mit Kennzeichnung, ohne Beschreibung */
  .dao-ueber-hero__placeholder {
    align-items: center;
    padding: 70px 0 0; /* mittig zwischen Titel und Video-Karte */
  }

  .dao-ueber-hero__placeholder-text {
    display: none;
  }

  .dao-ueber-hero__bottom {
    padding-bottom: 20px;
  }

  .dao-ueber-hero__card {
    gap: 10px;
    max-width: 240px;
    padding-bottom: 10px;
  }

  .dao-ueber-hero__play {
    width: 34px;
    height: 34px;
  }

  .dao-ueber-hero__card-link {
    padding-inline: 8px;
    font-size: 12px;
    line-height: 12px;
  }
}
