.hb {
  position: relative;
  width: 100%;
  height: clamp(460px, 45vw, 620px);
  background: linear-gradient(135deg, #F5F2ED 0%, #ECE5D6 50%, #DDD3BD 100%);
  overflow: hidden;
  font-family: var(--vierlot-font);
}
.hb__media,
.hb__media img,
.hb__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}
.hb__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    270deg,
    rgba(24, 20, 16, 0.62) 0%,
    rgba(24, 20, 16, 0.5) 22%,
    rgba(24, 20, 16, 0.28) 42%,
    rgba(24, 20, 16, 0.08) 58%,
    rgba(24, 20, 16, 0) 72%
  );
  pointer-events: none;
  z-index: 1;
}
.hb__content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 clamp(20px, 5vw, 96px);
  z-index: 2;
}
.hb__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  max-width: 560px;
}
.hb__heading {
  font-family: var(--vierlot-font);
  font-size: clamp(20px, 1.9vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.hb__heading-line {
  display: block;
}
.hb__subheading {
  font-family: var(--vierlot-font);
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 400;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.55;
  letter-spacing: 0.01em;
}
.hb__subheading--second {
  margin-top: 2px;
}
.hb a.hb__cta,
a.hb__cta {
  margin-top: 26px;
  min-width: 0;
  height: 46px;
  padding: 0 28px;
  background: #FFFFFF;
  border: 1px solid #FFFFFF;
  color: var(--vierlot-text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.hb a.hb__cta:hover,
a.hb__cta:hover {
  background: transparent;
  border-color: #FFFFFF;
  color: #FFFFFF;
}

@media (max-width: 1024px) {
  .hb {
    height: auto;
    background: var(--vierlot-bg);
  }
  .hb__media {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .hb__media img,
  .hb__img {
    object-position: 31% 50%;
  }
  .hb__media::after {
    display: none;
  }
  .hb__content {
    position: static;
    padding: 22px 20px 30px;
  }
  .hb__inner {
    max-width: 100%;
  }
  .hb__heading {
    font-size: clamp(16px, 4.6vw, 22px);
    line-height: 1.24;
    color: var(--vierlot-text);
  }
  .hb__subheading {
    font-size: 13px;
    margin-top: 12px;
    color: var(--vierlot-text-light);
    line-height: 1.5;
  }
  .hb__subheading--second {
    margin-top: 2px;
  }
  .hb a.hb__cta,
  a.hb__cta {
    margin-top: 18px;
    height: 42px;
    padding: 0 24px;
    background: var(--vierlot-text);
    border-color: var(--vierlot-text);
    color: var(--vierlot-bg);
    font-size: 13px;
  }
  .hb a.hb__cta:hover,
  a.hb__cta:hover {
    background: transparent;
    border-color: var(--vierlot-text);
    color: var(--vierlot-text);
  }
}

@media (min-width: 601px) and (max-width: 1024px) {
  .hb__media {
    aspect-ratio: 2 / 1;
  }
  .hb__content {
    padding: 26px clamp(20px, 4vw, 40px) 34px;
  }
}
