.trustgarn-hero {
  padding-top: var(--padding-section-top, 0px);
  padding-bottom: var(--padding-section-bottom, 0px);
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 800px;
}

.trustgarn-hero--background {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

.trustgarn-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 5%;
  padding-right: 5%;
  min-height: calc(
    800px - var(--padding-section-top, 0px) - var(--padding-section-bottom, 0px)
  );
  width: 100%;
}

.hero-box {
  position: relative; /* Korrektur: war 'absolut' */
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: clamp(20px, 4vw, 40px) clamp(16px, 4vw, 30px);
  max-width: min(50vw, 825px); /* stärkeres Schrumpfen */
  width: 100%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  color: #2c2c2c;
  text-align: left;
}

.dynamic-section-button--template-hero {
  max-width: 250px;
  display: block;
  background-color: #800000;
  color: white;
  padding: 10px 32px;
  text-align: center;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.dynamic-section-button--template-hero:hover {
  background-color: #660018;
}

.hero-seals-wrapper {
  position: absolute;
  bottom: 30px;
  right: 30px;
  z-index: 2;
  display: flex;
  gap: 14px;
  pointer-events: auto;
}

.hero-seals {
  display: flex;
  gap: 14px;
}

.hero-seals a {
  display: inline-block;
  background: none;
  border: none;
  box-shadow: none;
  text-decoration: none;
}

.hero-seals img {
  height: auto;
  width: auto;
  max-height: min(8.5vw, 130px); /* responsiv skaliert */
  display: block;
}

/* Standard: Desktop sichtbar */
.hero-heading-mobile,
.hero-text-mobile {
  display: none;
}

/* Standard: nur Desktop-Bild zeigen */
.desktop-background {
  display: block;
}

.mobile-hero-wrapper {
  display: none;
}

@media screen and (max-width: 749px) {
  .hero-heading-mobile {
    font-size: 22px;
  }

  .hero-seals-wrapper {
    display: none;
  }

  .hero-heading-desktop,
  .hero-text-desktop {
    display: none;
  }

  .hero-heading-mobile,
  .hero-text-mobile {
    display: block;
  }

  /* Sichtbarkeit Desktop ausblenden */
  .trustgarn-hero-inner,
  .desktop-background {
    display: none;
  }

  .trustgarn-hero {
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: none !important;
    min-height: unset;
  }

  .mobile-hero-wrapper {
    margin: 0;
    padding: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 657 / 1090; /* exakt dein Bildverhältnis */
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .mobile-hero-content {
    margin: 0;
    padding: 0px 5px 20px 5px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
    box-sizing: border-box;
  }

  .hero-box {
    background: rgba(255, 255, 255, 0.7);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    max-width: 90%;
    text-align: center;
  }

  .dynamic-section-button--template-hero {
    display: block;
    max-width: 250px;
    padding: 10px 10px;
    margin: 0 auto; /* ← das sorgt für Zentrierung */
  }
}
