@import url("classes.css");
/* @import url("elements.css"); */

 :root {
  --body-color: #555555;
  --font-fallback: Arial, Helvetica, sans-serif;
  --body-font-size: 1.0rem; 
  --cassiopeia-color-hover: var(--primary-color-dark) !important;
  --cassiopeia-color-link: var(--primary-color-dark) !important;
}
  
/* ------------------------------- Typography ---------------------------------  */
  
body {
  font-family: var(--secondary-font), var(--font-fallback);
}

h1,h2,h3,h4,h5{
  font-family: var(--primary-font), var(--font-fallback);
  font-weight: 400;
}

.font-special{
  font-family: var(--tertiary-font), var(--font-fallback);
}


h1{
  font-size: clamp(37px, 3vw, 50px);
}
h2{
  font-size: clamp(32px, 2.5vw, 40px);
  color: var(--primary-color,#333);
  font-weight: 300;
}
h3{
  font-size: clamp(26px, 2vw, 32px);
  font-weight: 300;
  color: var(--secondary-color,#555);
}


.page-header h1,
.mod-custom h1,
.mod-custom h2 {
  font-weight: 600;
  font-size: clamp(55px, 2.5vw, 75px);
  line-height: 0.85;    
  color: var(--primary-color,#12148e);
  text-transform: uppercase;
}
.item-page h2{
  text-transform: uppercase;
  margin-bottom: 0px;
}

/* ------------------------------- Header ---------------------------------  */

header {
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none;
  height: var(--headerHeight);  /* set explicit height for preventing flickering issue with position:sticky - generated & set dynamically with JS - scrolled height must be set manually */
  --transitionDuration: 0.75s;
}

.container-topbar{
  padding: 5px 0px;
  background-color: #ecedef;
  transition: all ease var(--transitionDuration);
  height: 35px;
}

.container-topbar .container{
  display: flex;
  height: 100%;
  justify-content:right;
  align-items: center;
  gap: 20px;
  padding: 0;
  opacity: 1;
  transition: all ease var(--transitionDuration);
}

.container-topbar .contact_item,
.container-topbar a.contact_item{
  font-size: 12px;
  color:var(--primary-color) !important;
}
.container-topbar a.contact_item:hover{
  text-decoration: underline;
}

.container-topbar .contact_item svg path,
.container-topbar a.contact_item svg path{
  fill:var(--primary-color) !important;
}

.brand-logo img,
.brand-logo svg{
  padding: 0px;
  height: 55px;
  width: auto;
  max-width: 300px;
  transition: all ease var(--transitionDuration);
}

.brand-logo svg{
  transition: all ease var(--transitionDuration);
  opacity: 1;
}

.brand-logo svg path{
  fill: var(--primary-color);
}



/* ------------------------------- Header when scrolled ---------------------------------  */

/*
.container-header.scrolled .container-topbar{
  height: 0px;
  padding: 0px;
}

.container-header.scrolled .container-topbar .container{
  opacity: 0;
}
*/

.container-header.scrolled .container-nav{
  box-shadow: 0 0 20px 0 rgba(51,51,51,0.1);
  /*background: rgb(255 255 255 / 90%);
  /* backdrop-filter: blur(5px);     // inner elements are not displayed anymore? / Button for mobile nav */
}

/*
.container-header.scrolled .container-nav:before {
content: '';
position: absolute;
width: 100%;
height: 100%;
-webkit-backdrop-filter: blur(5px);
backdrop-filter: blur(5px);
background: rgb(255 255 255 / 85%);
}

*/


/*
.container-header.scrolled .brand-logo img,
.container-header.scrolled .brand-logo svg{
  height: 65px;
} 

*/

/* ------------------------------- Navigation ---------------------------------  */

.container-header .container-nav{
  padding: 0px;
  background: #fff;
  max-width: 100%;
  transition: all ease .25s;
}
.container-header .container-nav .container{
  padding: 1.5em 0;
  justify-content: space-between;
  display: grid;
  grid-template-columns: 1fr 2fr;
  position: relative;
}

.container-header nav{
  padding-top: 0px;
  margin-top: 0px;
  justify-content: end;
  align-items: end;
}

.navbar-collapse{
  flex-grow: initial;
}

.container-header .navbar-toggler{
  color: var(--primary-color);
}
.metismenu.mod-menu .metismenu-item{
  font-size: 1.05rem;
  font-weight: 500;
  padding: 0.5em 1em 0.75em;
}

.metismenu.mod-menu .mm-collapse .metismenu-item a{
  text-decoration: none;
} 

.container-header .mod-menu li.level-1 > a{
  font-family: var(--primary-font), var(--font-fallback);
}

/* ------------------------------- Layout / Grid ---------------------------------  */

/*  set page full-width (via page class)  */
body.full-width .site-grid {
	grid-template-columns: [full-start] minmax(0,1fr) [main-start] repeat(4,minmax(0,25%)) [main-end] minmax(0,1fr) [full-end];
	grid-gap: 0;
}

body.full-width main {
	max-width: 1320px;
	width: 100%;
	padding-right: var(--gutter-x,.5em);
	padding-left: var(--gutter-x,.5em);
	margin-right: auto;
	margin-left: auto;
	margin-top: 75px;
}
@media (min-width: 576px){body.full-width main{max-width: 540px;}}
@media (min-width: 720px){body.full-width main{max-width: 768px;}}
@media (min-width: 992px){body.full-width main{max-width: 960px;}}
@media (min-width: 1200px){body.full-width main{max-width: 1140px;}}
@media (min-width: 1400px){body.full-width main{max-width: 1320px;}}

/* ------------------------------- Extending Classes ---------------------------------  */

.bg-primary{
  background: var(--primary-color) !important;
  color: #fff;
}
.bg-primary-light{
  background: var(--primary-color-light);
  color: #333;
}
.bg-primary-dark{
  background: var(--primary-color-dark);
  color: #fff;
}
.bg-secondary{
  background: var(--secondary-color);
  color: #fff;
}
.bg-secondary-light{
  background: var(--secondary-color-light);
  color: #333;
}
.bg-secondary-dark{
  background: var(--secondary-color-dark);
  color: #fff;
}



.mt-6{
  margin-top: 6rem!important;
}
.mt-7{
  margin-top: 7rem!important;
}
.mt-8{
  margin-top: 8rem!important;
}
.mt-9{
  margin-top: 9rem!important;
}
.mt-10{
  margin-top: 10rem!important;
}

.mb-6{
  margin-bottom: 6rem!important;
}
.mb-7{
  margin-bottom: 7rem!important;
}
.mb-8{
  margin-bottom: 8rem!important;
}
.mb-9{
  margin-bottom: : 9rem!important;
}
.mb-10{
  margin-bottom: 10rem!important;
}

.grid{
  display: grid;
}
.grid-inline{
  display: inline-grid;
}

.grid-2{
  grid-template-columns: repeat(2, 1fr);
}
.grid-3{
  grid-template-columns: repeat(3, 1fr);
}
.grid-4{
  grid-template-columns: repeat(4, 1fr);
}

.gap-10{
  gap: 10px;
}
.gap-15{
  gap: 15px;
}
.gap-20{
  gap: 20px;
}
.gap-25{
  gap: 25px;
}
.gap-30{
  gap: 30px;
}
.gap-35{
  gap: 35px;
}
.gap-40{
  gap: 40px;
}
.gap-45{
  gap: 45px;
}
.gap-50{
  gap: 50px;
}

@media screen and (max-width: 992px) {
  .grid-2{
	grid-template-columns: repeat(2, 1fr);
  }
  .grid-3{
	grid-template-columns: repeat(1, 1fr);
  }
  .grid-4{
	grid-template-columns: repeat(2, 1fr);
  }
  .grid-span-md{
	grid-column: 1 / span 3;
  }
}


@media screen and (max-width: 768px) {
  .grid-2{
	grid-template-columns: repeat(1, 1fr);
  }
  .grid-3{
	grid-template-columns: repeat(1, 1fr);
  }
  .grid-4{
	grid-template-columns: repeat(1, 1fr);
  }
  .grid-span-md {
	  grid-column: auto;
  }
}

.uppercase{
  text-transform: uppercase;
}

.fadeIn{
  animation: fadeIn 1.5s linear;
  animation-iteration-count:1;
  animation-direction: alternate;
}
.fadeInRight{
  animation: fadeInRight 1s ease-in-out;
}
.fadeInLeft{
  animation: fadeInLeft 1s ease-in-out;
}
.ani-delay-1{
  animation-delay: 1s;
}
.ani-delay-2{
  animation-delay: 2s;
}

h2.underline,
h3.underline{
  margin-bottom: 50px;
  border-bottom: 2px solid var(--primary-color);
  width: fit-content;
  padding-right: 5px;
  padding-bottom: 5px;
  font-weight: 600;
}

/* ------------------------------- Body / Content ---------------------------------  */

/* positioning for edit icons */
main{
  position: relative;
}
.icons{
  position: absolute;
  top:-35px;
  display: none;
}

a, 
a:not([class]), 
.mod-list li a:hover,
.mod-list li.active>a{
  text-decoration: none;
}

/*.btn{border-radius: 0 !important;} */

.container-banner{
  margin: 0px;
}

.container-component > main{
  margin-top: 0px;
}

body:not(.home) .site-grid{
 padding-bottom: 50px;
}
body.home .site-grid{
  margin-bottom: 0px;
}
body.home .container-component{
 display: none;
}


iframe{
  width: 100%;
}
.iframe{
  background: #f1f3f4;
}

.overlay__teaser_cnt {
	background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 20%, rgba(255, 255, 255, 0.75) 100%) !important;
	max-width: 85%;
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
	animation: fadeIn 1s ease-in-out;
	animation-iteration-count:1;
	animation-direction: alternate;
}

#carousel-slider{
	animation: fadeIn 1s ease-in-out;
	animation-iteration-count:1;
	animation-direction: alternate;
}


#logo_symbol{
  top: -13%;
  place-self: center;
  width: 8%;
  padding: 2px;
  background: rgba(255, 255, 255, 1);
  position: absolute;
}
/*
#logo_symbol .sta0{
  animation: symbolld 2s ease-in-out;
  animation-iteration-count:infinite;
  animation-direction: alternate;
}*/

#carousel-slider a{
  background-color: var(--primary-color-light);
  border-color: var(--primary-color-light);
  font-size: clamp(12px, 1vw, 16px);
}

#carousel-slider a:hover{
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.mod_jf_contact_block {
	margin-top: 125px;
	margin-bottom: 125px;
}
.contact_block__grid_item{
  gap: 15px !important;
}

.page-header{
  margin-bottom: 12px;
}

/* --------------------------------------- Overlay Image/Text Stack ---------------------------------------  */

.teaser-stack {
  /*padding: 100px 30px; */
  width: 100%;
  height: 100%;
  max-width: 100%;
  box-shadow: rgb(9 30 66 / 25%) 0px 4px 8px -2px, rgb(9 30 66 / 8%) 0px 0px 0px 1px; 
  --stackTransition: all ease .25s;
}
.stack {
  display: grid;
  height: 100%;
  /* min-height: 500px; */
  position: relative; 
  grid-template-columns: repeat(20, 1fr);
}
.stack__title {
  display: flex;
  align-items:center;
  gap: 20px;
  font-size: 1.6rem;
  text-transform: uppercase;
  color: var(--primary-color-dark);
  transition: var(--stackTransition);
}
.stack__title img {
  transition: var(--stackTransition);
}
.stack__arrow {
  margin-left: auto;
  width: 15px;
  transition: var(--stackTransition);
}
.stack__list{
  list-style-type: none;
  line-height: 35px;
  text-transform:;
  padding-top: 30px;
  padding-left: 0px;
  font-size: clamp(16px, 2vw, 18px);
  transition: var(--stackTransition);
}
.stack__list_link{
  display: flex;
  align-items: center;
  gap: 5px;
  color: #777;
  transition: var(--stackTransition);
}
.stack__list_link_arrow{
  margin: 0;
  width: 8px;
  transition: var(--stackTransition);
  opacity: 0;
}
.stack__item--top ul{
  line-height: 1.8;
  font-size: clamp(12px, 2vw, 14px);
}

.stack__item--bottom {
  grid-column: 1 / -1;
  grid-row: 1;
  transition: var(--stackTransition);
  background: transparent;
}
.stack.blend .stack__item--bottom {
  background: var(--primary-color-dark);
}
.stack__item--bottom img {
  transition: var(--stackTransition);
  height: 100%;
  width: 100%;
  object-fit: cover;
  mix-blend-mode: initial;
}
.stack.blend .stack__item--bottom img {
  mix-blend-mode: luminosity;
}
.stack__item--top {
  grid-row: 1;
  grid-column: 2 / span 11;
  z-index: 1;
  width: 45%;
  height: fit-content;
  align-self: baseline;
  margin-top: 100px;
  justify-self: flex-start;
  background: rgba(255, 255, 255, 0.9);
  padding: 50px 35px 50px 50px;
  box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;
  transition: var(--stackTransition);
  backdrop-filter: blur(3.5px);
}

.stack:hover .stack__item--bottom {
  background: var(--primary-color-dark);
}
.stack.blend:hover .stack__item--bottom {
  background: transparent;
}
.stack.blend:hover .stack__item--bottom img {
  filter: brightness(1.1) saturate(1.3);
  mix-blend-mode: initial;
}
.stack:hover .stack__item--top {
  background: rgba(255, 255, 255, 0.95);
}
.stack:hover .stack__item--bottom img {
  filter: brightness(1.1) saturate(1.3);
  mix-blend-mode: luminosity;
}
.stack__item--top:hover {
  width: 50%;
}
.stack__item--top:hover .stack__arrow {
	transform: scale(1.2);
}
.stack__item--top:hover .stack__list {
	padding-left: 25px;
}
.stack__list_link:hover {
	padding-left: 8px;
}
.stack__list_link:hover .stack__list_link_arrow {
	opacity: 1;
}


.teaser-stack.stack-text {
  box-shadow: none;
}
.teaser-stack.stack-text h2,
.teaser-stack.stack-text h3 {
	margin-bottom: 2rem;
}
.teaser-stack.stack-text .stack__item--top {
  grid-row: 1;
  position: relative;
  top: 0px;
  margin-top: 0px;
  z-index: 1;
  width: 100%;
  height: fit-content;
  align-self: center;
  justify-self: center; 
  background: rgba(255, 255, 255, 1);
  padding: 75px;
  box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;
  transition: var(--stackTransition);
}
/*
.teaser-stack.stack-text .stack:hover .stack__item--top{
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px; 
}
*/

.teaser-stack.buero .stack__item--top {
  grid-column: 1 / 12;
}
.teaser-stack.buero .stack__item--bottom  {
  grid-column: 12 / -1;
}


.padded h1,
.padded h2,
.padded h3,
.teaser-stack.stack-text.buero h2,
.teaser-stack.stack-text.buero h3{
  font-weight: 600;
  font-size: clamp(55px, 2.5vw, 75px);
  line-height: 0.85;
}

.teaser-stack.stack-text.buero h2,
.teaser-stack.stack-text.buero h3{
  margin-bottom: 0px;
}

.titel{
  font-size: 15px;
  margin-left: 2px;
  display: inline-block;
}

.teaser-stack.stack-text.buero .stack__item--top {
  align-self: baseline;
  justify-self: start; 
  background: rgba(255, 255, 255, 1);
  padding: 0px;
  box-shadow: none;
  transition: var(--stackTransition);
}

.teaser-stack.stack-text.buero .stack__item--bottom,
.teaser-stack.stack-text.buero .stack__item--bottom img {
	height: fit-content;
}

.teaser-stack.stack-text:first-child {
  padding-top: 0px;
}


@media screen and (min-width: 1200px) and (max-width: 1400px) {
  .stack__title {
	gap: 15px;
	font-size: 1.1rem;
  }
  .stack__title img:first-child {
	width: 55px;
  }
}
@media screen and (max-width: 1200px) {
  .row-teaser-stack .col-xl-6:first-child {
	margin-bottom: 50px;
  }
}
@media screen and (max-width: 768px) {
  .stack__title {
	gap: 10px;
	font-size: 1.1rem;
  }
  .stack__title img:first-child {
	width: 50px;
  }
  .stack__list{
	line-height: 28px;
  }
  .teaser-stack.stack-text .stack{
	grid-template-rows: auto auto;
	gap: 0px;
	row-gap: 50px;
  }
  .teaser-stack.stack-text.mb-8{
	margin-bottom: 5rem!important;
  }
  .teaser-stack.stack-text .stack__item--top{
	grid-column: span 20 !important;
	grid-row: 1;
  }
  .teaser-stack.stack-text .stack__item--bottom{
	grid-column: span 20 !important;
	grid-row: 2;
  }
  
  .stack__item--top {
	grid-column: 2 / 12;
	width: 100% !important;
	padding: 10px 0px 25px !important;
  }
  .stack__item--top:hover {
	 width: 100%;
  }
}
@media screen and (max-width: 576px) {
  .stack__item--top {
	width: 65%;
  }
  .stack:hover .stack__item--top {
	width: 70%;
  }
}


/* --------------------------------------- Teaser with icons ---------------------------------------  */

.teaser-icon{
  --transitionTeaserIcon: all ease .25s;
  width: 100%;
}
.teaser-icon-cnt{
  height: 100%;
  background: var(--primary-color);
  padding: 35px 44px;
  transition: all ease .25s;
  box-shadow: rgb(45 15 104 / 25%) 0px 4px 8px -2px, rgb(82 28 148 / 8%) 0px 0px 0px 1px;
}
.teaser-icon-cnt p{
  color: #efefef;
  font-size: 1rem;
  text-align: center;
}
.teaser-icon .teaser-icon-cnt h3{
  text-transform: uppercase;
  margin: 10px 0px 25px;
  color: #efefef;
  transition: var(--transitionTeaserIcon);
  font-size: clamp(24px, 2vw, 28px);
}
.teaser-icon .icon{
  width: 125px;
  height: 125px;
  background: #fff;
  /* border: 1px solid var(--primary-color); */
  border-radius: 0px;
  margin: 0 auto;
  margin-top: -100px;
  margin-bottom: 35px;
  padding: 25px;
  display: flex;
  justify-content: center;
  transition: var(--transitionTeaserIcon);
  box-shadow: var(--primary-color-a30) 0px 4px 8px -2px, var(--primary-color-a10) 0px 0px 0px 1px;
}
.teaser-icon .icon svg .st0{
  fill:#fff;
}
.teaser-icon .icon svg path{
  fill:var(--primary-color);
}
.teaser-icon-cnt:hover{
  background: var(--primary-color-light);
  color: #fff;
  transform: scale(1.05);
  box-shadow: rgba(0, 0, 0, 0.09) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
}
.teaser-icon-cnt:hover h3,
.teaser-icon-cnt:hover p{
  color: #fff;
}
.teaser-icon-cnt:hover h3{
  transform: scale(1.05);
}
.teaser-icon-cnt:hover .icon svg path:not(.st0){
  fill:var(--primary-color-light);
}
.teaser-icon-cnt:hover .icon{
  transform: scale(0.95);
  border-radius: 5px;
}

.container-bottom-a{
  margin-top: 75px;
}

/* ------------------------------- Blog / News ---------------------------------  */

.blog-items {
  grid-gap: 100px;
}

.blog-item .item-image{
  margin: 0px;
}

.item-page h1,
.item-page h2{
  font-weight: 600;
  font-size: clamp(40px, 2vw, 80px);
  line-height: 0.85;
  color: var(--primary-color,#12148e);
  text-transform: uppercase;
  margin-bottom: 0px;
}

.blog-items h2,
.blog-items h3{
  font-size: clamp(22px, 2vw, 26px);
  min-height: 65px;
  font-weight: 400;
}
.blog-featured .item-image img, 
.blog .item-image img, 
.latestnews .item-image img{
	 object-fit: cover;
	 filter: brightness(1) blur(0);
	 transition: .2s ease-in-out;
}
.blog-featured .item-image img:hover, 
.blog .item-image img:hover, 
.latestnews .item-image img:hover{
	 -webkit-filter: brightness(1.1) blur(0px) saturate(1.8);
	 filter: brightness(1.1) blur(0px) saturate(1.8);
}

figure.float-start {
	margin-right: 2em;
}
figure.float-end {
	margin-left: 2em;
}



/* ------------------------------- Download Grid ---------------------------------  */

.downloads{
  margin: 2rem 0 2rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}
.downloads.cols-2{
  grid-template-columns: 1fr 1fr;
}
.downloads.cols-3{
  grid-template-columns: 1fr 1fr 1fr;
}
.downloads-item{
  background: #eee;
  padding: 10px;
  transition: all ease .25s;
}
.downloads.cols-1 .downloads-item{
  padding: 5px 35px 5px 5px;
  width: fit-content;
}
.downloads-item:hover{
  transform: scale(1.05);
  background: #ddd;
}
.downloads-item a{
 display: grid;
 grid-template-columns: 65px 1fr;
 align-items: center;
 gap: 15px;
 font-size: clamp(16px, 2vw, 18px);
 color: #555;
}
.downloads-item a:hover{
  color: var(--cassiopeia-color-link);
}
.downloads-item img{
  padding: 5px;
  width: 65px;
}


/* ------------------------------- SIGE / Portfolio / Kachel ---------------------------------  */
.sige_masonry{
  background: #eee; /*  helps with images with transparent images */
  padding: 15px;
}

#sb-body-inner {
	background: #fff; /*  helps with images with transparent images */
}

.sige_thumb_masonry img,
.sige_thumb img{
  transition: all ease .25s;
  filter: brightness(1.1) saturate(120%);
  background: #fff; /*  helps with images with transparent images */
}
.sige_thumb_masonry img:hover,
.sige_thumb img:hover{
  filter: brightness(1.4) saturate(150%);
  transform: scale(1.05);
}

/* ------------------------------- Projekte ---------------------------------  */

.item-page .carousel{
  margin-top: 125px;
}

.btn-schnack{
  background: var(--primary-color);
  padding: 8px 20px;
  border-radius: 20px;
  width: fit-content;
  color: #fff;
  display: block;
  margin-bottom: 20px;
}
.btn-schnack:hover{
  color: #fff !important;
}

/* --------------------------------------------------------------------------------------------  */
/* ------------------------------------------ Kontakt -----------------------------------------  */
/* --------------------------------------------------------------------------------------------  */

.com-contact__container h3{
  display:none;
}
#contact-form button[type=submit]{
  float: right;
}

.contact .container-component .container{
  display: grid;
}

.contact .main-top{
  order: 1
}
.contact main{
  order: 2
}
.contact #system-message-container{
  order: 3;
  margin-top: 25px;
}

/*
.com-contact dl.dl-horizontal dd {
  grid-column-end: 3;
  grid-column-start: 2;
  margin-bottom: 0;
  padding: 0 0 0 1em;
}


#system-message-container{
  margin: 0 auto;
  width: 100%;
  height: 100%;
  padding: 5%;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 99999;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
}
  
#system-message-container joomla-alert{
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  height: fit-content;  
}
*/


.mod_jf_contact.kontaktseite{
  gap: 8px;
}
.mod_jf_contact.kontaktseite .contact_item{
  background: var(--primary-color);
  padding: 8px 20px;
  border-radius: 20px;
  width: fit-content;
  min-width: 275px;
  color: #fff;
}
.mod_jf_contact.kontaktseite .contact_item:hover{
  background: var(--primary-color-light);
  color: #fff;
}
.mod_jf_contact.kontaktseite .contact_item svg path,
.mod_jf_contact.kontaktseite .contact_item:hover svg path{
	fill: #fff;
}

/* ------------------------------- Bottom ---------------------------------  */

.container-bottom{
  padding: 50px 0px;
  background: var(--primary-color);
  color: #fff;
}
.bottom .grid{
  display: grid;
  gap:60px;
}
.bottom .grid-1{
  grid-template-columns: 1fr;
}
.bottom .grid-2{
  grid-template-columns: 1fr 1fr;
}
.bottom .grid-3{
  grid-template-columns: 1fr 1fr 1fr;
}
.bottom .grid-4{
  grid-template-columns: auto auto auto auto;
}

.bottom h3 {
	font-size: clamp(20px, 2vw, 24px);
	font-weight: 600;
	color: var(--primary-color-dark,#555);
	margin-bottom: 25px;
}


.bottom .mod-list li{
  padding: 0;
}
.bottom .mod-list li a{
  color: #fff;
}
.bottom .mod-list li a:hover,
.bottom .mod-list li.active>a{
  text-decoration: underline;
}

.logo-bottom {
  width: 275px;
}
.logo-bottom svg path{
  fill:#fff;
}

.bottom .contact_email span.contact_item__label,
.bottom .contact_webpage span.contact_item__label {
	display: none;
}

.bottom span.contact_item__label {
	width:22px;
}

.bottom .contact_item.contact_custom_text,
.bottom .contact_item.contact_fax {
	margin-bottom: 15px;
	
}

.jf_contact-122 div,
.jf_contact-122 span,
.jf_contact-122 a{
  color: #fff !important;
}

.bottom .mod_jf_contact {
	gap: 0px;
}

/* ------------------------------- Footer / Copyright ---------------------------------  */

.container-footer-top h3{
  letter-spacing: 0px !important;
}
.container-footer{
  margin-top: 0px;
  background-color: var(--primary-color);
  background-image:none;
}
.container-footer-top a{transition: all ease .25s;}
.container-footer-top a:hover{
  color: var(--secondary-color-dark) !important;
  text-decoration: underline;
}
footer .footer {
  background-color: transparent;
  background-image: none;
}
footer .logo img, 
footer .logo svg {
  width: 225px;
}
footer .logo{
  margin-top: 0;
  margin-bottom: 0.5em;	
}
.footer .grid-child {
  justify-content: center;
  flex-direction: column;
  padding: 1.5rem 0.5em;
}
.footer .mod-footer{
  font-weight: 200;
  line-height: 2;
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.footer .mod-menu{
  display: grid;
  grid-template-columns: repeat(7, auto); 
  gap: 10px;
  margin-bottom: 1em;	
}
.footer .mod-menu a{
  font-weight: 200;
  position: relative;
}
.footer .mod-menu>li>a::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 1px;
  bottom: -5px;
  left: 0;
  background-color: #fff;
  transform: scaleX(0);
  transform-origin: top left;
  transition: transform 0.3s ease;
}
.footer .mod-menu li.active a::before,
.footer .mod-menu>li>a:hover::before {
  transform: scaleX(1);
}

/* ------------------------------- Media Queries ---------------------------------  */

@media screen and (max-width: 1500px) {
	#uc-btn-open-main-corner-modal {
		right: 260px !important;
		bottom: 140px !important;
		left: initial !important;
		position: absolute !important;
	}
}
@media screen and (max-width: 1400px) {
	#uc-btn-open-main-corner-modal {
		right: 80px !important;
		bottom: 130px !important;
	}
}
@media screen and (max-width: 992px) {
	#uc-btn-open-main-corner-modal {
		left: 15px !important;
		bottom: 15px !important;
	}
}


@media screen and (max-width: 1200px) {
  .container-header .container-nav .container {
	padding: 1em 0;
  }
  .downloads.cols-3{
	grid-template-columns: 1fr 1fr;
  }
  .metismenu.mod-menu .metismenu-item {
	  font-size: 0.9rem;
  }
  .brand-logo img, .brand-logo svg {
	height: 75px;
  }
  .bottom .grid{
	grid-template-columns: 1fr 1fr !important;
  }
}


@media screen and (max-width: 992px) {
  .teaser-icon{
	place-items: center;
  }
  .teaser-icon-cnt {
	margin-bottom: 75px;
	max-width: 550px;
	height: auto;
  }
  .downloads.cols-2,
  .downloads.cols-3{
	grid-template-columns: 1fr;
  }
  .order-mobile-sec{
	order: 2;
  }
  .blog-items {
	grid-template-columns: 1fr 1fr;
  }
  .container-component {
	  margin-top: 0px;
  }
  .com_contact .col-lg-4{
	margin-top: 10px;
  }
  .com_contact .col-lg-4.empty{
	display: none;
  }
  .container-header{
	z-index: 999999;
  }
  .container-header .container-nav{
	padding: 0px;
	/*height: 65px; */
  }
  .container-header nav {
	background: transparent;
	justify-content: flex-end;
	position: fixed;
	right: 0px;
	top: 40px;
	transition: all ease .4s;
	margin-top: 0px !important;
   }
  .container-header .navbar-collapse{
	background: var(--primary-color-dark);
	padding: 15px 0px;
  }
  .metismenu.mod-menu .metismenu-item>a,
  .metismenu.mod-menu .metismenu-item>a:active, 
  .metismenu.mod-menu .metismenu-item>button,
  .metismenu.mod-menu .metismenu-item>button:active,
  .metismenu.mod-menu .metismenu-item>span{
	color: #fff;
  }
  .container-header .mod-menu li.active a{
	color: #fff;
	text-decoration: underline;
  }
  .container-header .mod-menu li.active a::before{
	display: none;
  }
  
  .metismenu.mod-menu .mm-collapse{
	background: var(--primary-color);
  }

 .container-header.scrolled nav {top: 0px;}
 .container-header nav ul{flex-direction: column !important;}
 .container-header .navbar-toggler {
	border: 0px;
	border-radius: 0px;
	color: #fff;
	background: var(--primary-color);
	margin-bottom: 0;
  }
  .navbar-toggler:focus{
	box-shadow: none;
  }
 
  .container-topbar .container{
	justify-content: center;
  }
  .container-header .container-nav .container{
	display: flex;
	justify-content: center;
  }
  .container-header .container-nav .container{
	grid-template-columns: 1fr;
  }
   .mod-languages {
	 position: initial;
   }
  div.mod-languages li {
   margin: 0 0.5rem !important;
  }
  div.mod-languages ul {
	margin: -10px 0 10px !important;
  }
  .footer .mod-footer {
	  flex-direction: column;
	  place-items: center;
  }
  
  .overlay__teaser_cnt{
	max-width: initial;
	padding: 50px !important;
  }
  
  .stack__title img:not(.stack__arrow){
	width: 50px;
  }
  .stack__item--top {
	width: 55%;
  }
  .stack__item--top:hover {
	width: 55%;
  }
  
  .mod_jf_contact_block {
	  margin-top: 0px;
	  margin-bottom: 225px;
  }
  .mod_jf_contact_block .text-end {
	  text-align: center !important;
  }
  .contact_block__headline,
  .contact_block__text_text {
	white-space: initial !important;
  }
  
  .blog-items {
	  grid-gap: 50px;
  }
  
  .footer1 {
	font-size: 0.85rem;
	margin-bottom: 25px;
	text-align: center;
  }
  
  body.contact .col-lg-6:first-child{
	display: none;
  }
}
  

@media screen and (max-width: 768px) {
  .blog-items {
	grid-template-columns: 1fr;
  }
  .blog-featured .item-image img, 
  .blog .item-image img, 
  .latestnews .item-image img {
	  width: 100%;
  }
  .com-contact h3{
	margin-top: 50px;
  }
  .com-contact__container h3{
	margin-top: 0px;
  }
  
  .bottom .grid{
	grid-template-columns: 1fr !important;
  }
  
  .footer2{
	padding: 0 50px;
  }
  .footer a{
	color: #ccc;
  }
  
  .stack__item--top {
	grid-column: 2 / 12;
	width: 100% !important;
  }
  .stack__item--top:hover {
	 width: 100%;
  }
  
  p {
	font-size: 1rem;
  }
  
  .teaser-stack.stack-text.mb-8{
	margin-bottom: 0px !important;
  }
  .teaser-stack.stack-text .stack {
	  row-gap: 0px; 
  }
}

@media screen and (max-width: 576px) {
  h1{
	font-size: clamp(28px, 3vw, 50px);
  }
  h2{
	font-size: clamp(24px, 2.5vw, 40px);
  }
  h3{
	font-size: clamp(20px, 2vw, 32px);
  }
  
  .brand-logo img, 
  .logo img, 
  .logo svg {
	width: 95%;
  }
  
  .container-footer-top .container {
	  padding: 75px 35px 30px;
  }
  
  
  .bottom .grid{
	padding: 0px 24px;
  }
  
  .footer .grid-child .mod-footer {
	  text-align: center;
	  padding: 0 15px;
  }
  
  .moduletable.fax{
	display: none;
  }

  .contact_block__grid_item {
	font-size: clamp(18px, 2vw, 22px) !important;
  }
  
  .stack__item--top{
	padding: 25px;
  }
}

@media screen and (min-width: 992px) {
  
  body.padded main,
  body.padded #mod-custom136 {
	  padding-left: 175px;
  }
  
  .container-header .mod-menu>li>a, 
  .container-header .mod-menu>li>span{
	color: var(--primary-color);
	padding: 1px 10px 0px;
	border-radius: 20px;
	color: #fff;
	letter-spacing: 1px;
  }
  .container-header .mod-menu li.level-1.active > a,
  .container-header .mod-menu li.level-1 > a:hover,
  .container-header .mod-menu li.active a,
  .container-header .mod-menu li a:hover{
	background: var(--primary-color);
	border-radius: 20px;
	color: #fff;
  }

  .metismenu.mod-menu .metismenu-item:last-child{
	padding-right: 0;
  }
  .container-header .mod-menu li.level-1 > a{
	transition: all ease .25s;
	line-height: 30px;
	height: 30px;
	color: #444;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	/* font-stretch: 70%  // when variableFont with wdth support is used */ 
  }
  
  /* hides arrows for subemnu on desktop view */
  .metismenu.mod-menu .mm-collapsed.mm-toggler{
	display: none;
  }
  /* enables submenu on hover  */
  .metismenu.mod-menu .metismenu-item.parent:hover > .mm-collapse{
	display: block;
  }
  
  .metismenu.mod-menu .mm-collapse .metismenu-item:hover a,
  .metismenu.mod-menu .mm-collapse .metismenu-item.active a
  {
	background: var(--cassiopeia-color-link);
	color: #fff !important;
	width: 100%;
  }
  
  .metismenu.mod-menu .mm-collapse .metismenu-item{
	line-height: 3;
	padding: 1px 5px;
  }
  .metismenu.mod-menu .mm-collapse .metismenu-item:first-child{
	padding: 5px 5px;
  }
  .metismenu.mod-menu .mm-collapse .metismenu-item a{
	padding-left: 15px;
  }
  
  /*
  .container-header .mod-menu>li>a::before {
	content: "";
	position: absolute;
	display: block;
	width: 105%;
	height: 1px;
	bottom: 0px;
	left: 0;
	background-color: var(--primary-color);
	transform: scaleX(0);
	transform-origin: top left;
	transition: transform 0.3s ease;
  }
  
  .container-header .mod-menu li.active a::before,
  .container-header .mod-menu>li>a:hover::before {
	transform: scaleX(1);
  }*/
  
  .container-header .mod-menu>li>a::after{
	display: none;
  } 
  
  body:not(.home) .container-component{
	margin-top: 100px;
  }
  
  .container-footer{
	display: none !important;
  }

}

@media screen and (min-width: 768px) {
  .container-sidebar-right {
	 margin-top: 2rem;
	}
	body.has-sidebar-right .site-grid .container-component {
	 padding-right: 50px;
	}
	/* same height for images in Blog (Desktop view)  */
  .blog-featured .item-image img, 
	.blog .item-image img, 
	.latestnews .item-image img {
	 width: 100%;
	 height: 400px;
	}
  /*
  .com-contact__form.contact-form,
  .com-contact__container {
	width: 50%;
	float: left;
  }
  .com-contact h3{display: none;}
	*/
}



@media screen and (max-width: 400px) {
  .brand-logo img, .brand-logo svg {
	  height: 65px;
  }
}

@media screen and (max-width: 375px) {
  h1,h2,h3{
	overflow-wrap: break-word;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1400px){

  .contact_block__grid_item {
	font-size: clamp(18px, 2vw, 22px) !important;
  }
}




@media (prefers-reduced-motion: reduce) {
  * {
	animation-duration: 0.001s !important;
  }
}

/* ------------------------------- Animations ---------------------------------  */

@keyframes fadeIn {
	from {
	  opacity: 0;
	}
	to {
	  opacity: 1;
	}
}
@keyframes fadeInRight {
	from {
	  opacity: 0;
	  transform: translateX(200px);
	}
	to {
	  opacity: 1;
	}
}

@keyframes fadeInLeft {
	from {
	  opacity: 0;
	  transform: translateX(-200px);
	}
	to {
	  opacity: 1;
	}
}


@keyframes symbolld {
	from {
	  fill: #009FE4;
	}
	to {
	  fill: #0087BF;
	}
}

@keyframes symbolrot {
	from {
	  transform: rotate(0deg);
	}
	to {
	  transform: rotate(360deg);
	}
}


/* ----------------------------------------------------------------------------------------------  */
/* ------------------------- Usercentrics Button & Modal v2 + Back2Top --------------------------  */
/* ----------------------------------------------------------------------------------------------  */

:root {
  --btns-width: 50px;
  --btns-height: 50px;
  --btns-position: absolute;
  --btns-bg-color: #fff;
  --btns-bg-color-active:  #fff;
  --btns-color: var(--primary-color);
  --btns-border: 1px solid var(--primary-color);
  --btns-border-radius: 5px;
  --btn-backtop-size: 23px; /* font-size for arrow icon */
  --btn-uc-size: 1.2; /* scaling of the fingerprint icon */
  --btns-box-shadow: none;
  --btns-xl-mr: 15px;
  --btn-backtop-xl-mb: 150px;
  --btn-uc-xl-mb: calc(var(--btn-backtop-xl-mb) + 65px);
  --btn-uc-opacity: 0;
  --btns-sm-mb: 15px;
}

#back-top{
  display: grid;
  place-content: center;
  position: var(--btns-position);
  bottom: var(--btn-backtop-xl-mb);
  right: var(--btns-xl-mr);
  width: var(--btns-width);
  height: var(--btns-height);
  padding: 0px;
  background: var(--btns-bg-color);
  border: var(--btns-border);
  border-radius: var(--btns-border-radius);
  box-shadow: var(--btns-box-shadow);
}
#back-top:hover{
  background: var(--btns-bg-color-active);
}
#back-top span.icon-arrow-up{
  font-size: 25px;
  color: var(--btns-color);
}

@media screen and (max-width: 992px) {
  
  #back-top {
  bottom: var(--btns-sm-mb);
  right: initial;
  place-self: center; /* parent element must be 'display:grid' or 'display:flex'  (cassiopeia's body is 'flex') */
  translate: 40px 0px;
  }
  
  .footer .grid-child,
  .container-bottom {
  padding: 50px 0px 50px;
  }
  
}