/* ==========================================================
   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: center 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.30) 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;

    /* NEU: mehr Raum links */
    padding: 88px clamp(24px, 6vw, 120px) 96px;
  }
  .bt-hero-home__content {
    max-width: 100%;
  }

  .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__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;
}

/* ======================================================
   STARTSEITE – SECTION SPACING & WIDTH
   Zweck:
   - sauberes gemeinsames Raster für alle Home-Sections
   - mehr Ruhe, mehr Premium-Rhythmus
   ====================================================== */

.entry-content > .wp-block-columns {
  width: min(1240px, calc(100% - 40px));
  margin: 100px auto 96px;
}

@media (max-width: 920px) {
  .entry-content > .wp-block-columns {
    width: min(100%, calc(100% - 24px));
    margin-bottom: 56px;
  }
}

/* ======================================================
   STARTSEITE – USE CASES & SERVICES
   Zweck:
   - Gutenberg-Spalten in ruhige Premium-Karten verwandeln
   - mehr visuelle Wertigkeit ohne neue Struktur
   ====================================================== */

.bt-home-usecases {
  align-items: stretch;
  gap: 24px;
}

.bt-home-usecases > .wp-block-column {
  padding: 32px 28px 28px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.bt-home-services {
  gap: 20px;
}

.bt-home-services > .wp-block-column {
  padding: 28px 24px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.05);
}

.bt-home-services h2 {
  font-size: clamp(1.2rem, 1.45vw, 1.55rem);
  margin-bottom: 10px;
}

@media (max-width: 920px) {
  .bt-home-usecases,
  .bt-home-services {
    gap: 16px;
  }

  .bt-home-usecases > .wp-block-column,
  .bt-home-services > .wp-block-column {
    padding: 22px 18px;
    border-radius: 18px;
  }
}

/* ======================================================
   STARTSEITE – TYPO & CTA
   Zweck:
   - stärkere Heading-Hierarchie
   - hochwertigere Fließtextwirkung
   - klarere Trennung zwischen Haupt-CTA und Nebenlink
   ====================================================== */

.entry-content h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 2.2vw, 2.6rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.entry-content h2 + p {
  margin-top: 0;
  margin-bottom: 22px;
}

.entry-content .wp-block-columns p {
  line-height: 1.7;
}

.wp-block-button__link {
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease;
}

.wp-block-button__link:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
}

.wp-block-buttons {
  margin-bottom: 14px;
}

.entry-content a[href*="/shop"] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.94rem;
  font-weight: 500;
  opacity: 0.72;
  text-decoration: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.entry-content a[href*="/shop"]:hover {
  opacity: 1;
  transform: translateX(2px);
}

/* ======================================================
   TRUST / REFERENCES / STATS / EXAMPLES / CTA
   Zweck:
   - Beweisblöcke ruhiger und hochwertiger setzen
   - Zahlen, Bilder und Abschluss-CTA stärker inszenieren
   ====================================================== */

.entry-content p:has(br) {
  line-height: 1.75;
}

.bt-home-trust,
.bt-home-references,
.bt-home-cta {
  text-align: center;
}

.bt-home-trust > .wp-block-column,
.bt-home-references > .wp-block-column,
.bt-home-cta > .wp-block-column {
  max-width: 860px;
  margin: 0 auto;
}

.bt-home-stats .wp-block-columns {
  gap: 20px;
}

.bt-home-stats .wp-block-columns > .wp-block-column {
  padding: 24px 18px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.bt-home-stats strong {
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.bt-home-examples .wp-block-columns {
  gap: 18px;
}

.wp-block-image img {
  width: 100%;
  border-radius: 18px;
  display: block;
}

.bt-home-cta {
  padding: 8px 0 16px;
}

.has-text-align-center {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 920px) {
  .bt-home-stats .wp-block-columns,
  .bt-home-examples .wp-block-columns {
    gap: 14px;
  }

  .bt-home-stats .wp-block-columns > .wp-block-column {
    padding: 20px 16px;
    border-radius: 16px;
  }
}
