/* KONTUR CMS 0.6.0.67 – wirklich einheitlicher Abstand zwischen CMS-Modulen */
:root{--cms-block-gap:56px;--cms-block-gap-mobile:32px}

/* Nur ein einziger äußerer Abstand: immer am nachfolgenden Modul. */
main>.cms-managed-block,
.preview>.cms-managed-block{
  margin-top:0!important;
  margin-bottom:0!important;
  margin-block:0!important;
}
main>.cms-managed-block.cms-block-spaced,
.preview>.cms-managed-block.cms-block-spaced{
  margin-top:var(--cms-block-gap)!important;
}

/* Historische Section-Paddings dürfen den Abstand nicht mehr künstlich vergrößern.
   Der eigentliche Inhalt der Module bleibt in deren inneren Wrap/Card-Strukturen. */
main>.cms-managed-block.cms-width-standard,
.preview>.cms-managed-block.cms-width-standard,
main>.cms-managed-block.section,
main>.cms-managed-block.section.tight,
main>.cms-managed-block.home-tiles-section,
main>.cms-managed-block.career-page-section,
main>.cms-managed-block.request-banner-section,
main>.cms-managed-block.support-showcase-section,
.preview>.cms-managed-block.section,
.preview>.cms-managed-block.section.tight,
.preview>.cms-managed-block.home-tiles-section,
.preview>.cms-managed-block.career-page-section,
.preview>.cms-managed-block.request-banner-section,
.preview>.cms-managed-block.support-showcase-section{
  padding-top:0!important;
  padding-bottom:0!important;
}

/* Home-Kacheln: keinerlei zusätzlicher unsichtbarer Rand vor der Überschrift. */
main>.home-tiles-section.cms-managed-block>.wrap,
.preview>.home-tiles-section.cms-managed-block>.wrap{
  margin-top:0!important;
  margin-bottom:0!important;
  padding-top:0!important;
  padding-bottom:0!important;
}
main>.home-tiles-section.cms-managed-block .section-title,
.preview>.home-tiles-section.cms-managed-block .section-title{
  margin-top:0!important;
}

/* Full-Bleed-Module behalten ihre interne Gestaltung, aber keine eigenen Außen-Margins. */
main>.cms-managed-block.cms-width-fullbleed,
.preview>.cms-managed-block.cms-width-fullbleed{
  margin-bottom:0!important;
}

@media(max-width:700px){
  main>.cms-managed-block.cms-block-spaced,
  .preview>.cms-managed-block.cms-block-spaced{
    margin-top:var(--cms-block-gap-mobile)!important;
  }
}
