/* V7: packaging repair only. Approved V5 artwork is unchanged. */
/* OnFer Cleaning - einheitliches Logo fuer Header und Footer (29.10.2026). */
.site-header .brand {
  display: flex !important;
  width: 145px !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  flex: 0 0 145px !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.site-header .brand-wordmark {
  display: block !important;
  width: 145px !important;
  height: auto !important;
  overflow: visible !important;
  background: transparent !important;
}
.site-header .brand-wordmark > img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  transform: none !important;
  filter: none !important;
  object-fit: contain !important;
}
.site-header .brand-groupmark { display: none !important; }
.site-footer .footer-brand {
  display: block !important;
  width: 145px !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.site-footer .footer-brand::before,
.site-footer .footer-brand::after {
  content: none !important;
  display: none !important;
  background-image: none !important;
}
.site-footer .footer-brand > img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}
/* Die OnFer-Wortmarke in Ueberschriften verwendet nur die obere Zeile. */
.onfer-heading-logo {
  height: .63em !important;
  overflow: hidden !important;
}
@media (max-width: 760px) {
  .site-header .brand {
    width: 132px !important;
    flex: 0 0 132px !important;
  }
  .site-header .brand-wordmark,
  .site-footer .footer-brand {
    width: 132px !important;
    height: auto !important;
  }
}

/* OnFer Cleaning - Korrektur 29.10.2026, Version 2.
   Zweites freigegebenes Logo: helleres CLEANING, weiche Farbuebergaenge.
   Keine durchtrennten Buchstaben oder abgeschnittenen OnFer-Zeilen. */

/* Header/Footer: stets das neue, ungeteilte Logo, ohne Pseudoelemente. */
.site-header .brand {
  display: flex !important;
  flex: 0 0 145px !important;
  width: 145px !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.site-header .brand-wordmark {
  display: block !important;
  width: 145px !important;
  height: auto !important;
  overflow: visible !important;
  background: transparent !important;
}
.site-header .brand-wordmark > img {
  display: block !important;
  position: static !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  clip-path: none !important;
}
.site-header .brand-groupmark { display: none !important; }
.site-footer .footer-brand {
  display: block !important;
  width: 145px !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
}
.site-footer .footer-brand::before,
.site-footer .footer-brand::after {
  content: none !important;
  display: none !important;
}
.site-footer .footer-brand > img {
  display: block !important;
  position: static !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  opacity: 1 !important;
  object-fit: contain !important;
  transform: none !important;
  filter: none !important;
  clip-path: none !important;
}

/* Ueberschriften: ein dediziertes einzeiliges OnFer-Logo verwenden.
   Das alte CSS beschnitt die obere Zeile des zweizeiligen Logos per overflow. */
.onfer-heading-logo {
  display: inline-flex !important;
  width: 2.20em !important;
  height: .66em !important;
  margin: 0 .055em !important;
  padding: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  vertical-align: -.055em !important;
  overflow: visible !important;
  white-space: nowrap !important;
  background: none !important;
  box-shadow: none !important;
}
.onfer-heading-logo > img {
  position: static !important;
  display: block !important;
  left: auto !important;
  top: auto !important;
  bottom: auto !important;
  right: auto !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  overflow: visible !important;
  opacity: 1 !important;
  filter: none !important;
  clip-path: none !important;
  transform: none !important;
}
/* Punkt und OnFer in der "Ueber uns"-Ueberschrift zusammenhalten. */
#onfer-arbeitsweise-title em { white-space: nowrap !important; }
@media (max-width: 760px) {
  .site-header .brand {
    width: 132px !important;
    flex: 0 0 132px !important;
  }
  .site-header .brand-wordmark,
  .site-footer .footer-brand {
    width: 132px !important;
    height: auto !important;
  }
}

/* OnFer Cleaning: Logo Vereinheitlichung V5 (30.10.2026). */
/* OnFer Cleaning: cache-stable logo v4 (30.10.2026). */
.site-header .brand,
.site-header .brand-wordmark,
.site-header .brand-wordmark img,
.site-footer .footer-brand,
.site-footer .footer-brand img {overflow: visible !important;clip-path: none !important;}
.site-header .brand-wordmark img,
.site-footer .footer-brand img {object-fit: contain !important;object-position:center !important;max-height:none !important;width:100% !important;height:auto !important;}
.onfer-heading-logo {overflow:visible !important;clip-path:none !important;line-height:1 !important;}
.onfer-heading-logo img {object-fit:contain !important;clip-path:none !important;transform:none !important;max-width:100% !important;max-height:100% !important;}

/* Reserve the correct image proportions even before image loading. */
.site-header .brand-wordmark,
.site-header .brand-wordmark > img,
.site-footer .footer-brand > img {
  aspect-ratio: 772 / 292 !important;
}
