/* Gilt nur auf Elementen, die durch das Plugin explizit markiert wurden. */
.mh24lf-hero-target:not(img):not(picture) {
  position: relative !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  height: min(31vw, var(--mh24lf-height)) !important;
  min-height: 245px !important;
  max-height: var(--mh24lf-height) !important;
  overflow: hidden !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: var(--mh24lf-fit) !important;
  background-color: #f2f3e9;
  transform: none !important;
}
img.mh24lf-hero-target,
.mh24lf-hero-target > img.mh24lf-image-target,
.mh24lf-hero-target picture > img.mh24lf-image-target {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: auto !important;
  max-height: var(--mh24lf-height) !important;
  object-fit: var(--mh24lf-fit) !important;
  object-position: center center !important;
  margin: 0 auto !important;
  transform: none !important;
}
.mh24lf-hero-target:not(img) img.mh24lf-image-target {
  height: 100% !important;
  max-height: 100% !important;
}
.mh24lf-hero-target .mh24lf-hidden-overlay { display: none !important; }
.mh24lf-account-target {
  min-height: 0 !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.mh24lf-header-target:not(#wpadminbar) {
  min-height: 0 !important;
  box-sizing: border-box !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}
.mh24lf-header-target img.custom-logo,
.mh24lf-header-target .site-logo img,
.mh24lf-header-target .custom-logo-link img,
.mh24lf-header-target img[class*="logo"] {
  max-height: 60px !important;
  width: auto !important;
  object-fit: contain !important;
}
.mh24lf-search-target {
  box-sizing: border-box !important;
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  margin: 16px auto 28px !important;
  width: min(1100px, calc(100% - 28px)) !important;
  max-width: 1100px !important;
  z-index: 2;
  clear: both;
}
.mh24lf-search-target form { max-width: 100%; }
.mh24lf-replaced-original { display: none !important; }
.mh24lf-clean-banner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  overflow: hidden;
  background: #f3f5eb;
  color: #163e25;
  font-family: inherit;
}
.mh24lf-clean-banner__image {
  width: 100%;
  height: min(31vw, var(--mh24lf-height));
  min-height: 240px;
  max-height: var(--mh24lf-height);
  object-fit: var(--mh24lf-fit);
  object-position: center;
  display: block;
  background: #f0f2e8;
}
.mh24lf-clean-banner__copy {
  box-sizing: border-box;
  padding: 16px 24px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 24px;
  row-gap: 8px;
}
.mh24lf-clean-banner__copy h1 {
  color: #174b2a;
  font-size: clamp(23px, 2.35vw, 36px);
  line-height: 1.2;
  margin: 0 0 5px;
}
.mh24lf-clean-banner__copy p {
  color: #345343;
  line-height: 1.4;
  margin: 0;
}
.mh24lf-clean-banner__cta {
  display: inline-block;
  white-space: nowrap;
  text-decoration: none !important;
  background: #3c8a2a;
  color: #fff !important;
  padding: 11px 19px;
  border-radius: 8px;
  font-weight: 700;
}
.mh24lf-diagnostic {
  position: fixed;
  bottom: 14px;
  left: 14px;
  max-width: 390px;
  background: #183a28;
  color: #fff;
  padding: 12px 16px;
  z-index: 2147483000;
  border-radius: 7px;
  box-shadow: 0 5px 24px #0004;
  font: 13px/1.5 system-ui, sans-serif;
}
.mh24lf-debug-outline { outline: 3px dashed #f6ae21 !important; }
@media (max-width: 780px) {
  .mh24lf-hero-target:not(img):not(picture),
  .mh24lf-clean-banner__image {
    height: min(65vw, 370px) !important;
    min-height: 190px !important;
  }
  .mh24lf-header-target img.custom-logo,
  .mh24lf-header-target .site-logo img,
  .mh24lf-header-target .custom-logo-link img { max-height: 45px !important; }
  .mh24lf-clean-banner__copy { padding: 14px 16px 18px; }
  .mh24lf-search-target { width: calc(100% - 20px) !important; margin: 12px auto 20px !important; }
}
@media (max-width: 420px) {
  .mh24lf-hero-target:not(img):not(picture),
  .mh24lf-clean-banner__image { min-height: 160px !important; }
  .mh24lf-clean-banner__cta { width: 100%; text-align: center; }
}

/* v1.1.0: Sichtbarkeit der Suche hat Vorrang vor dem Bannerbeschnitt. */
.mh24lf-hero-target.mh24lf-protect-inputs:not(img):not(picture) {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}
.mh24lf-hero-target.mh24lf-protect-inputs img.mh24lf-image-target {
  max-height: var(--mh24lf-height) !important;
  object-fit: contain !important;
}
.mh24lf-search-target {
  visibility: visible !important;
  opacity: 1 !important;
  max-height: none !important;
  overflow: visible !important;
}
.mh24lf-search-target:not(form) {
  display: block !important;
}
