/* ==========================================================
   HERO – VOLLBREITE BÜHNE MIT BACKGROUND-BILD
   Zweck:
   - bestehendes Hero-Markup direkt als Background-Hero nutzen
   - Text sauber über dem Bild platzieren
   - kein zusätzliches Media-Markup nötig
   ========================================================== */

/* Startseite: Hero direkt unter dem Header beginnen lassen */
body.home.separate-containers .site-main {
  margin-top: 0;
}

body.home.separate-containers .inside-article {
  padding-top: 0;
}

.bt-hero-home {
  margin-top: 0;
}

.bt-hero-home {
  position: relative;
  min-height: clamp(560px, 72vh, 780px);
  margin-top: 0; /* Wert ggf. anpassen */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  background-color: #f3f1ee;
}

.bt-hero-home__image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 0%;
}

.bt-hero-home__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(18, 18, 24, 0.7) 0%,
    rgba(18, 18, 24, 0.48) 34%,
    rgba(18, 18, 24, 0.18) 58%,
    rgba(18, 18, 24, 0.1) 100%
  );
}

.bt-hero-home__inner {
  position: relative;
  z-index: 2;
  width: min(1465px, calc(100% - 40px));
  min-height: clamp(560px, 72vh, 780px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 88px 0 96px;
}

.bt-hero-home__content {
  position: relative;
  z-index: 3;
  width: min(1180px, 76vw);
  max-width: none;
  margin-left: clamp(40px, 3vw, 120px);
  transform: translateY(-28px);
  color: #ffffff;
}

.bt-hero-home__title {
  margin: 0 0 24px;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.bt-hero-home__title-script {
  display: block;
  margin: 0 0 8px;
  font-family: "Kaushan Script", cursive;
  font-size: clamp(4.2rem, 7.2vw, 6.8rem);
  line-height: 0.92;
  white-space: nowrap;
  color: #ffffff;
}

.bt-hero-home__title-main {
  display: block;
  max-width: 26ch;
  font-size: clamp(2.5rem, 3vw, 3.4rem);
  font-weight: 500;
  line-height: 1.06;
  color: #ffffff;
}

.bt-hero-home__subtitle {
  margin: 0;
  max-width: 72ch;
  font-size: clamp(1.08rem, 1.15vw, 1.22rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 920px) {
  .bt-hero-home {
    min-height: auto;
  }

  .bt-hero-home__image {
    object-position: 72% center;
  }

  .bt-hero-home__overlay {
    background: linear-gradient(
      180deg,
      rgba(18, 18, 24, 0.58) 0%,
      rgba(18, 18, 24, 0.42) 42%,
      rgba(18, 18, 24, 0.3) 100%
    );
  }

  .bt-hero-home__inner {
    position: relative;
    z-index: 2;

    width: 100%;
    min-height: auto;

    margin: 0 auto;

    display: flex;
    align-items: flex-start;

    padding: clamp(48px, 7vw, 64px) 22px clamp(58px, 8vw, 76px);
  }

  .bt-hero-home__content {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    transform: none;
  }

  .bt-hero-home__title {
    margin-bottom: 18px;
  }

  .bt-hero-home__title-main {
    max-width: none;
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .bt-hero-home__title-script {
    white-space: normal;
    max-width: calc(100% - 12px);
  }

  .bt-hero-home__subtitle {
    max-width: none;
    font-size: 1rem;
    line-height: 1.65;
  }
}

.bt-hero-home__cta {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.bt-btn {
  display: inline-block;
  padding: 14px 22px;
  font-size: 15px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease;
}

.bt-btn--ghost {
  background: rgba(34, 34, 40, 0.72);
  color: #fff;
  border: 1px solid rgba(228, 44, 140, 0.6);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.bt-btn--ghost:hover {
  background: #e42c8c;
  color: #fff;
  border-color: #e42c8c;
}

@media (max-width: 560px) {
  .bt-hero-home__image {
    object-position: 78% center;
  }
}

@media (max-width: 430px) {
  .bt-hero-home__image {
    object-position: 82% center;
  }
}