/* Footer auf ganze Breite ziehen - Contao CSS */

/* Footer Container auf volle Breite setzen */
#footer {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
}

/* Inneren Container des Footers anpassen */
#footer .inside {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 30px; /* 30px Abstand links */
    padding-right: 30px; /* 30px Abstand rechts */
    box-sizing: border-box;
}

/* Alternative: Falls der Footer innerhalb eines Containers liegt */
.wrapper #footer,
.container #footer,
.main-container #footer {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

/* Bottom-Bereich ebenfalls auf volle Breite */
#bottom {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
}

#bottom .inside {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 30px; /* 30px Abstand links */
    padding-right: 30px; /* 30px Abstand rechts */
    box-sizing: border-box;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    #footer .inside,
    #bottom .inside {
        padding-left: 30px; /* Auch auf mobilen Geräten 30px Abstand */
        padding-right: 30px;
    }
}















/* Container fixiert lassen, nur Bildinhalt zoomen */
.teaseme .image_container {
  position: relative;
  overflow: hidden;
  display: block;
  line-height: 0;
  /* Wichtig: Container muss definierte Dimensionen haben */
  width: 100%;
  height: auto;
}

.teaseme .image_container img {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.6s ease, filter 0.6s ease;
  will-change: transform, filter;
  
  /* Für SVG-Schärfe wichtig */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  
  /* Subpixel-Rendering für bessere Schärfe */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.teaseme:hover .image_container img {
  /* Kleinerer Zoom-Faktor reduziert Abschneiden */
  transform: scale(1.03);
  
  /* Alternative: Transform mit translate für bessere Kontrolle */
  /* transform: scale(1.05) translateZ(0); */
}

/* Spezielle SVG-Optimierungen */
.teaseme .image_container svg {
  width: 100%;
  height: auto;
  display: block;
  /* SVG-spezifische Schärfe-Einstellungen */
  shape-rendering: geometricPrecision;
  text-rendering: geometricPrecision;
}








.header .inside {max-width: 1600px;}



#slider.empty {display:none;}



.underline:hover{
text-decoration: underline !important;
}

.gray{
color:#3A3A3A !important;
}


.logo {
  animation: wobbleBounceEntry 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.5s;
  transform-origin: center;
  opacity: 0;
}

.logo a {
  display: block;
  transition: transform 0.3s ease-in;
}

.logo a:hover {
  transform: scale(1.1);
}

@keyframes wobbleBounceEntry {
  0% {
    opacity: 0;
    transform: scale(0.8) rotateZ(-15deg);
  }
  15% {
    opacity: 1;
    transform: scale(1.1) rotateZ(12deg);
  }
  30% {
    transform: scale(0.95) rotateZ(-8deg);
  }
  45% {
    transform: scale(1.02) rotateZ(5deg);
  }
  60% {
    transform: scale(0.98) rotateZ(-2deg);
  }
  75% {
    transform: scale(1.01) rotateZ(1deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotateZ(0deg);
  }
}







/* Sehr direkter Ansatz für die Zentrierung */
.mod_navigation.mainmenu {
  position: relative !important;
  text-align: center !important;
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
}

.mod_navigation.mainmenu ul.vlist.level_1 {
  position: relative !important;
  display: flex !important;
  justify-content: center !important;
  float: none !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.mod_navigation.mainmenu ol.inner {
  display: flex !important;
  justify-content: center !important;
  float: none !important;
}

.mod_navigation.mainmenu .float_left,
.mod_navigation.mainmenu .float_right,
.mod_navigation.mainmenu .floatbox,
.mod_navigation.mainmenu .sibling {
  float: none !important;
  display: inline-flex !important;
  position: relative !important;
}

.mod_navigation.mainmenu .mlist {
  float: none !important;
}



/* open-sans-300 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: url('https://am.mig.info/files/cto_layout/fonts/open-sans-v44-latin_latin-ext-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-300italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300;
  src: url('https://am.mig.info/files/cto_layout/fonts/open-sans-v44-latin_latin-ext-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-regular - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('https://am.mig.info/files/cto_layout/fonts/open-sans-v44-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: url('https://am.mig.info/files/cto_layout/fonts/open-sans-v44-latin_latin-ext-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-500 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  src: url('https://am.mig.info/files/cto_layout/fonts/open-sans-v44-latin_latin-ext-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-500italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 500;
  src: url('https://am.mig.info/files/cto_layout/fonts/open-sans-v44-latin_latin-ext-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-600 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('https://am.mig.info/files/cto_layout/fonts/open-sans-v44-latin_latin-ext-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-600italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 600;
  src: url('https://am.mig.info/files/cto_layout/fonts/open-sans-v44-latin_latin-ext-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-700 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('https://am.mig.info/files/cto_layout/fonts/open-sans-v44-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-700italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 700;
  src: url('https://am.mig.info/files/cto_layout/fonts/open-sans-v44-latin_latin-ext-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-800 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 800;
  src: url('https://am.mig.info/files/cto_layout/fonts/open-sans-v44-latin_latin-ext-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-800italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 800;
  src: url('https://am.mig.info/files/cto_layout/fonts/open-sans-v44-latin_latin-ext-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


.mitarbeiter img {
    transition: transform 0.3s ease-in-out;
}

.mitarbeiter img:hover {
    transform: scale(1.1);
}


.function{
color:#3B3C42 !important;
}

.ce_hyperlink a {
    display: inline-block; /* Button wird korrekt dargestellt */
    box-sizing: border-box; /* Rahmen wird in die Gesamtgröße einbezogen */
    border: 3px solid transparent; /* Transparenter Rahmen sorgt für Konsistenz */
}

.ce_hyperlink a:hover {
    border: 3px solid black; /* Schwarzer Rahmen bei Hover */
}




body.fixed-header #top_link{
bottom:85px;
}

.teaseme {
    filter: grayscale(100%);
    width: 80%;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.teaseme:hover {
    filter: grayscale(0%);
    transform: scale(1.25);
}



#ctrl_797 {
  color: #FFFFFF !important;
  background-color: #000000 !important;
  transition: all 0.3s ease; /* Für sanfte Animation */
}

#ctrl_797:hover {
  transform: scale(1.1); /* Vergrößern bei Hover */
  color: #000000 !important; /* Text schwarz */
  background-color: #FFFF00 !important; /* Hintergrund gelb */
font-weight:bold !important;
}


.submit.all {
  color: #000000 !important;
font-weight:bold !important;
}

.submit.tech {
  color: #444444 !important;
}

