body.hartl-hfh-header-hero-mounted .mm-unterseite-header-v2,
body.hartl-hfh-shortcode-active .mm-unterseite-header-v2 {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Shortcode wirklich aus den normalen Text-Containern holen */
.hartl-hfh-host-section {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

.hartl-hfh-host-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  overflow: visible !important;
}

.hartl-hfh-hero,
.hartl-hfh-hero * {
  box-sizing: border-box;
}

.hartl-hfh-hero {
  --hartl-green: #008242;
  --hartl-green-light: #00a653;
  --hartl-navy: #061a27;
  --hartl-fallback-left: max(42px, calc((100vw - 1500px) / 2));
  --hartl-content-left: var(--hartl-fallback-left);
  --hartl-content-right: 42px;
  --hartl-mobile-offset: 0px;

  position: relative;
  isolation: isolate;
  width: 100vw !important;
  max-width: 100vw !important;
  min-height: 560px;
  margin: var(--hartl-mobile-offset) 0 0 calc(50% - 50vw) !important;
  overflow: hidden;
  color: #ffffff;
  text-align: left !important;
  background: var(--hartl-navy);
  border-radius: 0;
  box-shadow: none;
  font-family: Lato, Arial, Helvetica, sans-serif;
}

.hartl-hfh-hero__bg {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  filter: saturate(1.03) contrast(1.03);
}

.hartl-hfh-hero__shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 19, 30, .99) 0%, rgba(3, 19, 30, .96) 32%, rgba(3, 19, 30, .72) 53%, rgba(3, 19, 30, .32) 74%, rgba(3, 19, 30, .14) 100%),
    linear-gradient(0deg, rgba(3, 19, 30, .30), rgba(3, 19, 30, .08));
}

.hartl-hfh-hero__inner {
  position: relative;
  z-index: 1;
  width: 100% !important;
  max-width: none !important;
  min-height: 448px;
  display: flex;
  align-items: center;
  margin: 0 !important;
  padding: 58px var(--hartl-content-right) 172px var(--hartl-content-left) !important;
  text-align: left !important;
}

.hartl-hfh-hero__content {
  width: min(560px, 100%);
  max-width: 560px;
  text-align: left !important;
}

.hartl-hfh-hero__kicker {
  display: block;
  margin: 0 0 18px;
  color: #fff;
  font-family: Lato, Arial, Helvetica, sans-serif;
  font-size: clamp(58px, 6vw, 88px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: 0;
  text-align: left !important;
}

.hartl-hfh-hero__kicker-accent {
  color: var(--hartl-green-light);
}

.hartl-hfh-hero__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 .38em;
  margin: 0 0 28px;
  color: #fff;
  font-family: Lato, Arial, Helvetica, sans-serif;
  font-size: clamp(25px, 2.8vw, 40px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
  text-align: left !important;
  text-transform: uppercase;
}

.hartl-hfh-hero__title span {
  display: inline-block;
}

.hartl-hfh-hero__title-separator {
  color: rgba(255, 255, 255, .92);
}

.hartl-hfh-hero__subtitle {
  margin: 0 0 24px;
  max-width: 520px;
  color: #fff;
  font-size: clamp(18px, 1.85vw, 23px);
  font-weight: 900;
  line-height: 1.28;
  text-align: left !important;
}

.hartl-hfh-hero__copy {
  max-width: 560px;
  color: rgba(255, 255, 255, .93);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.55;
  text-align: left !important;
}

.hartl-hfh-hero__copy p {
  margin: 0 0 17px;
}

.hartl-hfh-hero__copy p:last-child {
  margin-bottom: 0;
}

.hartl-hfh-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  margin-top: 34px;
  margin-bottom: 12px;
  padding: 0 34px 0 30px;
  color: #fff !important;
  background: linear-gradient(180deg, var(--hartl-green-light) 0%, var(--hartl-green) 100%);
  border: 0;
  border-radius: 0;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%);
  box-shadow: 0 14px 26px rgba(0, 130, 66, .30);
  text-decoration: none !important;
  font-size: 14.5px;
  font-weight: 900;
  line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.hartl-hfh-hero__button:hover,
.hartl-hfh-hero__button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 18px 34px rgba(0, 130, 66, .36);
}

.hartl-hfh-hero__button-arrow {
  display: inline-block;
  font-size: 20px;
  line-height: 1;
  transform: translateY(-1px);
}

.hartl-hfh-hero__benefits {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: stretch;
  align-items: stretch;
  min-height: 128px;
  padding-left: var(--hartl-content-left);
  padding-right: var(--hartl-content-right);
  background: rgba(5, 43, 64, .96);
  border-top: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(4px);
}

.hartl-hfh-hero__benefit {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  justify-content: start;
  justify-items: start;
  gap: 16px;
  min-width: 0;
  padding: 36px clamp(14px, 1.5vw, 20px) 16px 0;
  text-align: left !important;
}


.hartl-hfh-hero__benefit:not(:first-child) {
  padding-left: clamp(26px, 2.2vw, 40px) !important;
}

.hartl-hfh-hero__benefit:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 38px;
  right: 0;
  bottom: 20px;
  width: 1px;
  background: rgba(255, 255, 255, .18);
}

.hartl-hfh-hero__benefit-icon {
  display: flex;
  width: 46px;
  height: 46px;
  color: var(--hartl-green-light);
}

.hartl-hfh-hero__benefit-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hartl-hfh-hero__benefit-icon-img {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.hartl-hfh-hero__benefit-text {
  display: block;
  min-width: 0;
  color: #fff;
  font-size: clamp(12px, 1.02vw, 14px);
  font-weight: 900;
  line-height: 1.34;
  text-align: left !important;
}

@media (max-width: 1200px) {
  .hartl-hfh-hero {
    min-height: 0;
    --hartl-content-right: 32px;
  }

  .hartl-hfh-hero__inner {
    min-height: 430px;
    padding-top: 58px !important;
    padding-bottom: 78px !important;
  }

  .hartl-hfh-hero__benefits {
    position: relative;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
    padding-left: 32px;
    padding-right: 32px;
  }

  .hartl-hfh-hero__benefit {
    min-height: 110px;
    padding: 30px 18px 14px;
    border-top: 1px solid rgba(255, 255, 255, .13);
  }

  
.hartl-hfh-hero__benefit:not(:first-child) {
  padding-left: clamp(26px, 2.2vw, 40px) !important;
}

.hartl-hfh-hero__benefit:not(:last-child)::after {
    display: none;
  }


  .hartl-hfh-hero__benefit:nth-child(odd) {
    padding-left: 0 !important;
  }

  .hartl-hfh-hero__benefit:nth-child(even) {
    padding-left: 34px !important;
  }

  .hartl-hfh-hero__benefit:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, .13);
  }
}

/* kritischer Bereich: Header liegt hier oft über dem Content */
@media (max-width: 999px) and (min-width: 561px) {
  .hartl-hfh-hero {
    --hartl-content-left: max(24px, var(--hartl-content-left));
    --hartl-content-right: 24px;
    margin-top: max(128px, var(--hartl-mobile-offset, 128px)) !important;
  }

  .hartl-hfh-hero__bg {
    opacity: .46;
    object-position: right center;
  }

  .hartl-hfh-hero__shade {
    background:
      linear-gradient(180deg, rgba(3, 19, 30, .92) 0%, rgba(3, 19, 30, .90) 52%, rgba(3, 19, 30, .98) 100%),
      linear-gradient(90deg, rgba(3, 19, 30, .96), rgba(3, 19, 30, .60));
  }

  .hartl-hfh-hero__inner {
    min-height: 0;
    padding-top: 54px !important;
    padding-bottom: 48px !important;
  }

  .hartl-hfh-hero__content {
    max-width: 100%;
  }

  .hartl-hfh-hero__title {
    margin-bottom: 18px;
    font-size: clamp(21px, 4.4vw, 32px);
    line-height: 1.1;
  }

  .hartl-hfh-hero__kicker {
    margin-bottom: 14px;
    font-size: clamp(40px, 9vw, 62px);
  }

  .hartl-hfh-hero__subtitle {
    margin-bottom: 16px;
    font-size: clamp(16px, 3.6vw, 20px);
  }

  .hartl-hfh-hero__copy {
    font-size: 14px;
    line-height: 1.5;
  }

  .hartl-hfh-hero__button {
    width: auto;
    max-width: 100%;
    min-height: 50px;
    margin-top: 24px;
    padding: 0 28px 0 26px;
    font-size: 13.5px;
  }
}

@media (max-width: 560px) {
  .hartl-hfh-hero {
    --hartl-content-left: 24px;
    --hartl-content-right: 24px;
    margin-top: max(142px, var(--hartl-mobile-offset, 142px)) !important;
  }

  .hartl-hfh-hero__bg {
    opacity: .40;
    object-position: right center;
  }

  .hartl-hfh-hero__shade {
    background:
      linear-gradient(180deg, rgba(3, 19, 30, .94) 0%, rgba(3, 19, 30, .92) 52%, rgba(3, 19, 30, .99) 100%),
      linear-gradient(90deg, rgba(3, 19, 30, .97), rgba(3, 19, 30, .64));
  }

  .hartl-hfh-hero__inner {
    min-height: 0;
    padding: 48px var(--hartl-content-right) 42px var(--hartl-content-left) !important;
  }

  .hartl-hfh-hero__title {
    margin-bottom: 16px;
    font-size: clamp(28px, 8.4vw, 36px);
  }

  .hartl-hfh-hero__kicker {
    margin-bottom: 12px;
    font-size: clamp(34px, 10vw, 48px);
  }

  .hartl-hfh-hero__subtitle {
    font-size: 15px;
    line-height: 1.35;
  }

  .hartl-hfh-hero__copy {
    font-size: 13px;
  }

  .hartl-hfh-hero__button {
    width: 100%;
    max-width: 280px;
    font-size: 13px;
  }

  .hartl-hfh-hero__benefits {
    grid-template-columns: minmax(0, 360px);
    padding-left: 24px;
    padding-right: 24px;
  }


  .hartl-hfh-hero__benefit,
  .hartl-hfh-hero__benefit:not(:first-child),
  .hartl-hfh-hero__benefit:nth-child(even),
  .hartl-hfh-hero__benefit:nth-child(odd) {
    padding-left: 0 !important;
  }

  .hartl-hfh-hero__benefit {
    grid-template-columns: 44px 1fr;
    min-height: 96px;
    padding: 28px 0 12px;
    border-right: 0 !important;
  }
}

@media (max-width: 380px) {
  .hartl-hfh-hero {
    --hartl-content-left: 20px;
    --hartl-content-right: 20px;
    margin-top: max(152px, var(--hartl-mobile-offset, 152px)) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hartl-hfh-hero__button {
    transition: none;
  }

  .hartl-hfh-hero__button:hover,
  .hartl-hfh-hero__button:focus-visible {
    transform: none;
  }
}
