/* Hubsteiger-Mietseite: Hero */
.hubsteiger-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 560px;
  overflow: hidden;
  background: #1f1f1f;
  color: #fff;
}

.hubsteiger-hero__media,
.hubsteiger-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hubsteiger-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Verlauf von links, damit der Text auch auf hellen Fotos lesbar bleibt */
.hubsteiger-hero__overlay {
  background: linear-gradient(90deg, rgb(15 15 15 / 82%) 0%, rgb(15 15 15 / 55%) 55%, rgb(15 15 15 / 25%) 100%);
}

.hubsteiger-hero__inner {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding: 4rem 1.75rem;
}

.hubsteiger-hero__eyebrow {
  margin: 0;
  color: #fecaca;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hubsteiger-hero__headline {
  max-width: 16ch;
  margin: 1rem 0;
  color: #fff;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hubsteiger-hero__copy {
  max-width: 52ch;
  color: #e5e5e5;
  font-size: 1.125rem;
  line-height: 1.6;
}

.hubsteiger-hero__copy p {
  margin: 0 0 1rem;
}

.hubsteiger-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2rem;
}

.hubsteiger-hero__button {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  border: 1px solid transparent;
  border-radius: 0;
  padding: 0.95rem 1.6rem;
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.hubsteiger-hero__button:hover,
.hubsteiger-hero__button:focus-visible {
  color: #fff;
  transform: translateY(-1px);
}

.hubsteiger-hero__button--telefon {
  background: #d9001a;
}

.hubsteiger-hero__button--telefon:hover,
.hubsteiger-hero__button--telefon:focus-visible {
  background: #b00015;
}

.hubsteiger-hero__button--whatsapp {
  background: #1f9d55;
}

.hubsteiger-hero__button--whatsapp:hover,
.hubsteiger-hero__button--whatsapp:focus-visible {
  background: #17803f;
}

.hubsteiger-hero__button--link {
  border-color: rgb(255 255 255 / 55%);
  background: rgb(255 255 255 / 12%);
  backdrop-filter: blur(6px);
}

.hubsteiger-hero__button--link:hover,
.hubsteiger-hero__button--link:focus-visible {
  background: rgb(255 255 255 / 24%);
}

@media (max-width: 639px) {
  .hubsteiger-hero {
    min-height: 480px;
  }

  .hubsteiger-hero__inner {
    padding: 3rem 1rem;
  }

  .hubsteiger-hero__overlay {
    background: rgb(15 15 15 / 65%);
  }

  .hubsteiger-hero__button {
    flex: 1 1 100%;
    justify-content: center;
  }
}
