/*  Starke Typo von www.peterscheerer.com  */
/* ========== Volle Breite für spezielle Fullwidth-Container ========== */
#cc-matrix .j-module .cc-m-has-user-css div[style*="100vw"] {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}
/* ========= Erzwinge Fullwidth für benutzerdefinierte Bereiche ========= */
.j-hgrid .cc-m-has-user-css div[style*="100vw"],
.j-hgrid .cc-m-has-user-css div[style*="margin-left:-50vw"],
.j-hgrid .cc-m-has-user-css div[style*="margin-right:-50vw"] {
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  width: 100vw !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
}
/* ========= Eigene Farbe für .bg-grey ========= */
.bg-grey {
  background: linear-gradient(180deg, #f3f3f1 0%, #e7e5e1 100%) !important;
}
/* === Vereinheitlichung: hellgrauer Vollflächenbereich === */

/* Tabellencontainer einfärben – aber Bilder sichtbar lassen */
.j-hgrid:has(.wrap-this-grey-inner),
.j-hgrid:has(.wrap-this-grey),
.hs-fullwidth-grey {
  background: linear-gradient(180deg, #f3f3f1 0%, #e7e5e1 100%) !important;
  position: relative;
  z-index: 0;
}

/* Nur Hintergrundfarbe der äußeren Fläche, nicht der Inhalte */
.j-hgrid:has(.wrap-this-grey-inner) > div,
.j-hgrid:has(.wrap-this-grey) > div {
  background: transparent !important;
}

/* Damit Bilder in Spalten oben sichtbar bleiben */
.j-hgrid img {
  position: relative;
  z-index: 1;
}


/* Seitenhintergrund leicht angleichen */
body {
  background-color: #f3f3f1 !important;
}