/*! Contents generated by MODX - this file will be overwritten. */
:root {
  --main-bg-color: #ffffff;
  --font-color: #2B2B2B;
  --naviumbruch: 1000px;
  --font1:'Montserrat', sans-serif;
  --font2:'Montserrat', sans-serif;
  --page-color1:#e40512; /*!main-color*/
  --page-color2:#000000;
  --page-color3:#000000;
  --page-color4:#000000;
  --page-color-s1:#fadc01; /*!second-color*/
  
  --maxwidth:1270px;
}







/*!in SCSS wieder integrieren, css var in media queries funktionieren*/

@media (max-width: 1000px) {
  button.menu-btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex; }
  .navbar {
    z-index: 1001;
    position: relative; }
    .navbar::before {
      content: "";
      display: block;
      width: 100%;
      height: 100%;
      background: var(--page-color1);
      position: absolute;
      top: 0;
      left: 0;
      z-index: 1001; }
  .logo {
    position: relative;
    z-index: 1002; }
  nav {
    display: none;
    position: absolute;
    width: 100%;
    top: 79px;
    border-top: 1px solid #e5ede7;
    -webkit-transform: translateY(-220%);
        -ms-transform: translateY(-220%);
            transform: translateY(-220%);
    background-color: white;
    z-index: 1000;
    -webkit-transition: -webkit-transform ease .3s;
    transition: -webkit-transform ease .3s;
    -o-transition: transform ease .3s;
    transition: transform ease .3s;
    transition: transform ease .3s, -webkit-transform ease .3s; }
    nav ul {
      display: block;
      background: var(--page-color1);
      z-index: 1000;
      width: 100%;
      -webkit-box-sizing: border-box;
              box-sizing: border-box;
      height: -webkit-fit-content;
      height: fit-content;
      border-bottom: 4px solid var(--page-color-s1);   
    }
    nav li {
      height: auto;
      width: 100%;
      padding: 0;
      -o-transition: all ease .3s;
      transition: all ease .3s;
      transition: transform ease .3s, -webkit-transform ease .3s; }
      
      nav li:hover{
        filter: brightness(0.95);
        background: var(--page-color1);
      }
      nav li.active::before {
        content: "";
        display: block;
        background-color: var(--page-color-s1);
        width: 4px;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0; }
      nav li.active:not(.parent)::after {
        content: "";
        display: block;
        background-color: var(--page-color-s1);
        width: 4px;
        height: 100%;
        position: absolute;
        top: 0;
        right: 0; }
    nav a, nav span {
      width: 100%;
      padding: 12px 20px;
      text-align: center;
      border-top: 1px solid rgba(0,0,0,0.15); }
  .menu-active nav {
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0); }
  nav {
    display: block; } 
    .mactive span {
        border-bottom-style: dotted;
        border-bottom-width: 2px;
        border-bottom-color: rgba(0,0,0,0.15);
    }
      .mactive ul {
        visibility: visible;
        opacity: 1;
        height: auto;
        display: block;
        border-top: 0;
        padding-bottom: 0;
        padding: 20px;
        background: rgba(0, 0, 0, 0.05);
        padding-top: 0;
        padding-bottom: 0; }
      li.parent::after {
        right: none;
        border-right: 2px solid var(--page-color-s1);
        border-bottom: 2px solid var(--page-color-s1);
        width: 11px;
        height: 11px;
        right: 33px;
        top: 33px; }
      li.parent:hover::after {
        border-right: 2px solid var(--page-color-s1);
        border-bottom: 2px solid var(--page-color-s1); }
      nav > ul > li > ul {
        visibility: hidden;
        opacity: 0;
        position: relative;
        background: 0;
        padding-top: 0;
        height: 0;
        display: none; }
      nav > ul > li.mactive > ul {
        visibility: visible;
        opacity: 1;
        height: auto;
        display: block; }
      li.parent > ul a, li.parent > ul span {
        border-top: 0; }
      nav > ul > li > ul a, nav > ul > li > ul span {
        line-height: 1.3em; }
}

    #page-240 .accordion{margin-bottom:0}

.form-group:has(input[type="checkbox"]) {
    box-shadow: none;
}

.form-group:has(.form-control--wrapper input[type="checkbox"]) > label {
    font-weight:bold;
}

.form-group:has(.form-control--wrapper input[type="checkbox"]) label {
    display: flex;
    align-items: center;
    gap: 17px;
}


input[type="checkbox"]{
    width:20px;
    height:20px;
}

label:has(input[type="checkbox"]):hover{
    cursor:pointer;
}


/*! Big Box Link bei Karriere*/

.ob-button-list.bigbox{
    height:100%;
}

.ob-button-list.bigbox .button{
    margin-right: 10px;
    box-shadow: none;
    margin-top: 0;
    display: flex;
    width: 100%;
    height: 100%;
    align-content: center;
    align-items: center;
    background: var(--page-color1);
    color: white;
    font-size: 1.2em;
}


/*!Ende Big Box Link bei Karriere*/

.accordion-body{
    text-align:left;
}

/*!
    Lehrstellen neu anpassung 
    wenn live und job listing sonst nirgends verwendet wird in main css übernehmen
*/

#page-241 .col2{
    
}


#page-241 .c-left{
    display:none;
}

#page-241 .c-right{
    width:100%;
}
@media(min-width:700px){
    #page-241 .blog-list__jobs{
        grid-template-columns: 1fr 1fr;
        
    }
}


/*! Ende Lehrstellen neu anpassung */

/*! notfall block update */
.nav-notfall-container {
  background-color: var(--page-color-s1);
  color: var(--page-color1);
  font-size: 1.1em;
  font-weight: 500;
  display: flex;              /*! было none */
  justify-content: center;
  align-items: center;
  padding: 10px 10px;
  box-sizing: border-box;
  width: 100%;
  position: relative;
  z-index: 4;
}

@media (min-width: 601px) {
  .nav-notfall-container { display: none; }
}

.notfallfooter, .notfallbox {
  position: fixed;
  z-index: 999;
  bottom: 0;
  right: 20px;
  background: var(--page-color1);
  color: var(--page-color-s1);
  padding: 20px 43px 60px;
  border-start-start-radius: 20px;
  border-start-end-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 1.5em;
  font-weight: 600;
  box-shadow: 0px 0px 14px 0px rgba(0, 0, 0, 0.37);
}

@media (max-width: 600px) {
  .notfallfooter { display: none; }
}

.notfall-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,0.15);
  color: currentColor;
  font-size: 24px;
  line-height: 24px;
  cursor: pointer;
}

.notfallfooter .notfall-close {
  background: rgba(0,0,0,0.12);
  color: var(--page-color-s1);
}

/*!=========================
YouTube-Video: Vorschaubild mit Play-Button
=========================*/
.yt-trigger {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
  cursor: pointer;
}

.yt-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease, opacity .3s ease;
}

.yt-trigger:hover img,
.yt-trigger:focus-visible img {
  transform: scale(1.04);
  opacity: .85;
}

.yt-trigger__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--page-color1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
  transition: transform .3s ease;
}

.yt-trigger:hover .yt-trigger__play,
.yt-trigger:focus-visible .yt-trigger__play {
  transform: translate(-50%, -50%) scale(1.1);
}

.yt-trigger__play svg {
  width: 36px;
  height: 36px;
  fill: #fff;
  margin-left: 4px;
}

/*!=========================
YouTube-Popup (Dialog)
=========================*/
.yt-modal {
  padding: 0;
  border: 0;
  background: transparent;
  width: min(92vw, 1100px);
  overflow: visible;
}

.yt-modal[open] {
  animation: ytFadeIn .3s ease;
}

.yt-modal::backdrop {
  background: rgba(0, 0, 0, .85);
  backdrop-filter: blur(4px);
}

/*!=========================
YouTube-Popup: Video füllt den Rahmen exakt aus
=========================*/
.yt-modal__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.yt-modal__frame iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  border: 0;
  margin: 0;
  display: block;
}

.yt-modal__close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--page-color1);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

/*! Seite im Hintergrund nicht scrollen, solange das Popup offen ist */
body:has(.yt-modal[open]) {
  overflow: hidden;
}

@keyframes ytFadeIn {
  from { opacity: 0; transform: scale(.96); }
  to   { opacity: 1; transform: scale(1); }
}

/*!=========================
Button-Gruppe: Buttons nebeneinander mit Abstand
=========================*/
.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.button-group .button {
  margin-top: 0;
}

/*!=========================
Sprungmarken: Abstand oben beim Anspringen der Abschnitte
=========================*/
#firmengeschichte,
#leitbild-zertifikate,
#umwelt {
  scroll-margin-top: 250px;
}


/*!=========================
Einzugsgebiet: Kartencontainer
=========================*/
.ezg-map {
  position: relative;
  z-index: 0; /*! hält die Leaflet-Ebenen unter der fixen Navigation */
  width: 100%;
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  background: #eee;
}

/*!=========================
Einzugsgebiet: Fläche, Maske und Ortspunkte
=========================*/
.ezg-mask {
  fill: #fff;
  fill-opacity: .55;
  stroke: none;
}

.ezg-area {
  fill: var(--page-color1);
  fill-opacity: .12;
  stroke: var(--page-color1);
  stroke-opacity: 1;
  stroke-width: 3;
  stroke-linejoin: round;
}

.ezg-dot {
  fill: var(--page-color1);
  fill-opacity: 1;
  stroke: #fff;
  stroke-opacity: 1;
  stroke-width: 2;
  cursor: pointer;
  transition: fill .2s, stroke .2s;
}

.ezg-dot.is-active {
  fill: #fff;
  stroke: var(--page-color1);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .4));
}

/*!=========================
Einzugsgebiet: Tooltip mit Rahmen, Ortsname fett in Signalfarbe
=========================*/
.leaflet-tooltip.ezg-tooltip {
  padding: 6px 12px;
  border: 2px solid var(--page-color1);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
  font-size: 15px;
  line-height: 1.3;
  white-space: nowrap;
}

.leaflet-tooltip.ezg-tooltip .ezg-tooltip__plz {
  font-weight: 400;
  color: #555;
}

.leaflet-tooltip.ezg-tooltip .ezg-tooltip__ort {
  font-weight: 700;
  color: var(--page-color1);
}

.leaflet-tooltip-top.ezg-tooltip::before {
  border-top-color: var(--page-color1);
}

/*!=========================
Einzugsgebiet: Kompakte Ansicht Startseite
=========================*/
.ezg-compact {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
}

.ezg-compact .button {
  cursor: pointer;
}

/*! Kompakte Karte ist klickbar und öffnet das Popup */
.ezg-map--compact.leaflet-container,
.ezg-map--compact.leaflet-grab {
  cursor: pointer;
}

.ezg-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.ezg-chips li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--page-color1);
  border-radius: 999px;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.ezg-chips li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--page-color1);
}

.ezg-chips li:hover,
.ezg-chips li.is-active {
  outline: none;
  background: var(--page-color1);
  color: #fff;
}

.ezg-chips li:hover::before,
.ezg-chips li.is-active::before {
  background: #fff;
}

@media (max-width: 800px) {
  .ezg-compact {
    grid-template-columns: 1fr;
  }
}

/*!=========================
Einzugsgebiet: Popup (Dialog) mit Detailkarte
=========================*/
.ezg-dialog {
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

.ezg-dialog[open] {
  display: flex;
  flex-direction: column;
}

.ezg-dialog::backdrop {
  background: rgba(0, 0, 0, .6);
}

html.ezg-dialog-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .ezg-dialog {
    width: calc(100% - 16px);
    height: calc(100% - 16px);
  }
}

/*!=========================
Einzugsgebiet: Popup-Kopf mit Schliessen-Button
=========================*/
.ezg-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e5e5;
}

.ezg-dialog__head h2 {
  margin: 0;
}

.ezg-dialog__close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #f2f2f2;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.ezg-dialog__close:hover,
.ezg-dialog__close:focus-visible {
  background: var(--page-color1);
  color: #fff;
}

/*!=========================
Einzugsgebiet: Suche nach PLZ oder Ort im Popup
=========================*/
.ezg-search {
  position: relative;
  padding: 16px 20px;
}

.ezg-search label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

.ezg-search input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  border: 2px solid #ccc;
  border-radius: 6px;
  font: inherit;
  font-size: 16px;
}

.ezg-search input:focus {
  outline: none;
  border-color: var(--page-color1);
}

.ezg-results {
  position: absolute;
  left: 20px;
  right: 20px;
  top: calc(100% - 12px);
  z-index: 1001;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border: 2px solid var(--page-color1);
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
  overflow: hidden;
}

.ezg-results:empty {
  display: none;
}

.ezg-results button {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.ezg-results button:hover,
.ezg-results button:focus-visible {
  outline: none;
  background: var(--page-color1);
  color: #fff;
}

.ezg-search__msg {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 8px 0 0;
  font-weight: 700;
  color: var(--page-color1);
}

.ezg-search__msg .ezg-search__cta {
  margin: 0;
  text-decoration: none;
}

.ezg-search__msg:empty {
  display: none;
}

/*!=========================
Einzugsgebiet: Detailkarte füllt den Rest des Popups
=========================*/
.ezg-dialog .ezg-map--detail {
  flex: 1 1 auto;
  height: auto;
  min-height: 300px;
  border-radius: 0;
}

/*!=========================
Einzugsgebiet: Mehr Kontrast in der Detailkarte (aussen sehr blass, innen leicht aufgehellt)
=========================*/
.ezg-map--detail .ezg-mask {
  fill: #fff;
  fill-opacity: .88;
}

.ezg-map--detail .ezg-area {
  fill: #fff;
  fill-opacity: .55;
}