@import url("classes.css");
@import url("elements.css");

/* Table of Contents
   - - - - - - - - -
   Globals
   Typography
   Header
   Header when scrolled
   Navigation
   Full Width Layout
   One Page / Smooth Scroll
   Full Width BG
   Body / Content
   Overlay Image/Text Stack
   Teaser with icons
   Blog / News
   Downloads
   Kontakt
   Bottom
   Footer / Copyright
   Usercentrics Button & Modal + Back2Top
   Website specific
   Media Queries
   Animations
   - - - - - - - - -
*/
 
/* --------------------------------------------------------------------------------------------  */
/* ----------------------------------------- Globals ------------------------------------------  */
/* --------------------------------------------------------------------------------------------  */

 :root {
  --body-color: #555555;
  --font-fallback: Arial, Helvetica, sans-serif;
  --body-font-size: 1.05rem; 
  --cassiopeia-color-hover: var(--primary-color-dark) !important;
  --cassiopeia-color-link: var(--primary-color-dark) !important;
  --siteGridMargin: 125px;
  
  --sm: 576px;
  --md: 768px;
  --lg: 992px;
  --xl: 1200px;
  --xxl: 1400px;
}


/* -------- fix for x-overflowing full-width elements and sticky nav  -------- */
/* 
html, body{
  overflow-x: clip;
} 
*/
  
/* --------------------------------------------------------------------------------------------  */
/* ----------------------------------------- Typography ---------------------------------------  */
/* --------------------------------------------------------------------------------------------  */
  
body {
  font-family: var(--secondary-font), var(--font-fallback);
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

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(26px, 2.5vw, 50px);
  color: var(--primary-color-dark,#0f6a9e);
  font-weight: 400;
}
h3{
  font-size: clamp(20px, 2vw, 44px);
  font-weight: 400;
  color: var(--primary-color,#1781b9);
}

.page-header h1 {
    font-size: clamp(28px, 2.5vw, 34px);
    color: var(--primary-color-dark,#12148e);
    margin-bottom: 35px;
}
.item-page h2{
  text-transform: uppercase;
  margin-bottom: 0px;
}

.page-smaller-headlines h2{
  font-size: clamp(25px, 2vw, 35px);
  font-weight: 400;
  color: var(--primary-color-dark,#0f6a9e);
}
.page-smaller-headlines h3{
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  color: var(--primary-color,#1781b9);
}
.page-smaller-headlines h4{
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  color: var(--primary-color,#1781b9);
}

/* --------------------------------------------------------------------------------------------  */
/* ------------------------------------------ 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 */
  height: auto;
  --transitionDuration: 0.75s;
}

header.position-sticky {
  position: absolute !important;
  width: 100%;
}

.site-grid{
  margin-top: var(--siteGridMargin);
}

.container-topbar{
  padding: 5px 0px;
  background-color: var(--primary-color);
  /*will-change: height;
   transition: height ease var(--transitionDuration); */
  height: 35px;
}

.container-topbar{
  display: flex;
  height: 100%;
  justify-content: flex-end; /* right or end not working on iOS */
  align-items: center;
  gap: 20px;
  opacity: 1;
  /* transition: all ease var(--transitionDuration); */
}

.container-topbar .contact_item,
.container-topbar a.contact_item{
  font-size: 12px;
  color:var(--primary-color);
}
.container-topbar a.contact_item:hover{
  text-decoration: underline;
}

.container-topbar .contact_item svg path,
.container-topbar a.contact_item svg path,
.container-topbar div.contact_item svg path{
  fill:#fff;
}

.brand-logo img,
.brand-logo svg{
  padding: 5px 0px;
  height: 95px;
  width: auto;
  transition: all ease var(--transitionDuration);
}

.brand-logo svg g{
  transition: all ease var(--transitionDuration);
  opacity: 1;
  fill: var(--primary-color);
}


/* --------------------------------------------------------------------------------------------  */
/* ------------------------------------ Header when scrolled ----------------------------------  */
/* --------------------------------------------------------------------------------------------  */

@media screen and (min-width: 576px) {
  header.position-sticky.scrolled{
    position: fixed !important;
    animation: slideDown 0.35s ease-out;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.container-header.scrolled .container-nav{
  box-shadow: 0 0 20px 0 rgba(51,51,51,0.1);
  background: rgb(255 255 255 / 100%);
  /* 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 .container-topbar{
  height: 0px;
  padding: 0px;
  display: none;
}

.container-header.scrolled .container-topbar{
  opacity: 0;
}

.container-header.scrolled .brand-logo img,
.container-header.scrolled .brand-logo svg{
  height: 60px;
} 

/* --------------------------------------------------------------------------------------------  */
/* ---------------------------------------- Navigation ----------------------------------------  */
/* --------------------------------------------------------------------------------------------  */

.container-header .container-nav{
  padding: 0px;
  background: #fff;
  max-width: 100%;
  transition: all ease .25s;
}
.container-header .container-nav{
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  justify-content: space-between;
  display: grid;
  grid-template-columns: 1fr 2fr;
  position: relative;
}

.container-header nav{
  padding-top: 0px;
  margin-top: 0px;
  justify-content: flex-end;
  align-items: center;
}

.metismenu.mod-menu .metismenu-item>a:focus, 
.metismenu.mod-menu .metismenu-item>button:focus {
    outline: none;
    outline-offset: 2px;
}
.metismenu.mod-menu .metismenu-item>a:focus-visible,
.metismenu.mod-menu .metismenu-item>button:focus-visible {
  outline: 2px solid currentColor; /* That'll show 'em */
}

.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;
} 

/* --------------------------------------------------------------------------------------------  */
/* ----------------------------------- Full Width Layout (body class)--------------------------  */
/* --------------------------------------------------------------------------------------------  */

/*  set page "full-width" (via page class in menusettings)  */
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;}}

/* --------------------------------------------------------------------------------------------  */
/* -------------------------------------- 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;} */

body:not(.home) .container-component{
  margin-bottom: 50px;
}

/* --------------------------------------------------------------------------------------------  */
/* ----------------------------------------- One Page / Smooth Scroll -------------------------  */
/* --------------------------------------------------------------------------------------------  */

.smooth-scroll {
  scroll-behavior: smooth;
  scroll-margin-top: 80px;
}

@media screen and (max-width: 576px) {
  .smooth-scroll {
    scroll-margin-top: 0px;
  }
}

.sm-scroll-mt-0 {scroll-margin-top: 0px;}
.sm-scroll-mt-10 {scroll-margin-top: 10px;}
.sm-scroll-mt-20 {scroll-margin-top: 20px;}
.sm-scroll-mt-30 {scroll-margin-top: 30px;}
.sm-scroll-mt-40 {scroll-margin-top: 40px;}
.sm-scroll-mt-50 {scroll-margin-top: 50px;}
.sm-scroll-mt-60 {scroll-margin-top: 60px;}
.sm-scroll-mt-70 {scroll-margin-top: 70px;}
.sm-scroll-mt-80 {scroll-margin-top: 80px;}
.sm-scroll-mt-90 {scroll-margin-top: 90px;}
.sm-scroll-mt-100 {scroll-margin-top: 100px;}
.sm-scroll-mt-110 {scroll-margin-top: 110px;}
.sm-scroll-mt-120 {scroll-margin-top: 120px;}
.sm-scroll-mt-130 {scroll-margin-top: 130px;}
.sm-scroll-mt-140 {scroll-margin-top: 140px;}
.sm-scroll-mt-150 {scroll-margin-top: 150px;}
.sm-scroll-mt-160 {scroll-margin-top: 160px;}
.sm-scroll-mt-170 {scroll-margin-top: 170px;}
.sm-scroll-mt-180 {scroll-margin-top: 180px;}
.sm-scroll-mt-190 {scroll-margin-top: 190px;}
.sm-scroll-mt-200 {scroll-margin-top: 200px;}

section.active h3{
  text-decoration: underline;
  text-underline-offset: 8px;
}

section.active.bg-full::after {
    background: #ffdfb6;
}

/* --------------------------------------------------------------------------------------------  */
/* ----------------------------------------- Full Width BG ------------------------------------  */
/* --------------------------------------------------------------------------------------------  */

.bg-full {
  position: relative;
  display: grid;
}
.bg-full > * {
  position: relative;
  z-index: 2;
}
.bg-full::after {
  content: '';
  background: #c6e6d4;
  position: absolute;
  z-index: 0;
  height: 100%;
  width: 100vw;  
  margin-left: -50vw;
  left: 50%;
}
.bg-full-primary::after {
  background: var(--primary-color);
}
.bg-full-primary-light::after {
  background: var(--primary-color-light);
}
.bg-full-primary-dark::after {
  background: var(--primary-color-dark);
}
.bg-full-secondary::after {
  background: var(--secondary-color);
}
.bg-full-secondary-light::after {
  background: var(--secondary-color-light);
}
.bg-full-secondary-dark::after {
  background: var(--secondary-color-dark);
}
.bg-full-white::after {
  background: #fff;
}
.bg-full-eee::after {
  background: #eee;
}

.bg-full-overlay{
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  margin-left: -50vw;
  left: 50%;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.8);
  pointer-events:none;
}



/* --------------------------------------------------------------------------------------------  */
/* --------------------------------------- Blog / News ----------------------------------------  */
/* --------------------------------------------------------------------------------------------  */

.blog-items {
  grid-gap: 35px;
}

.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;
}


/* --------------------------------------------------------------------------------------------  */
/* ---------------------------------------- Downloads -----------------------------------------  */
/* --------------------------------------------------------------------------------------------  */

.downloads{
  margin: 2rem 0 2rem 0;
}
.downloads-item{
  background: #eee;
  padding: 10px;
  --dItemTransition: all ease .25s;
  transition: var(--dItemTransition);
}
.downloads-item:hover{
  transform: scale(1.05);
  background: #ddd;
}
.downloads-item_wfit{
  padding: 5px 35px 5px 5px;
  width: fit-content;
}
.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 svg{
  transition: var(--dItemTransition);
  padding: 5px;
  width: 65px;
}
/*
.downloads-item a:hover svg .icon-corner{
  fill: #f34447;
}
.downloads-item a:hover svg .icon-body{
  fill: var(--primary-color-dark);
  fill: #aa0d00;
}
*/
.downloads-item a:hover svg .icon-body{
  fill: var(--primary-color-dark);
}
.downloads-item a svg .icon-text{
  transition: var(--dItemTransition);
}
.downloads-item a:hover svg .icon-text{
  scale: 1.05;
  transform-origin: 50% 60%;
}


/* --------------------------------------------------------------------------------------------  */
/* ------------------------------------------ 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;  
}
*/

/* --------------------------------------------------------------------------------------------  */
/* ----------------------------------------- Bottom -------------------------------------------  */
/* --------------------------------------------------------------------------------------------  */

.container-bottom{
  padding: 50px 0px;
  background: #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;
 padding-bottom: 10px;
 border-bottom: 2px solid var(--secondary-color);
}

.bottom .mod-list{
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}
.bottom .mod-list li{
  padding: 0 !important;
}
.bottom .mod-list li a{
  color: #333;
}
.bottom .mod-list li a:hover{
  color: var(--primary-color);
}
.bottom .mod-list li.divider {
  display: none;
}

/* --------------------------------------------------------------------------------------------  */
/* ------------------------------------ Footer / Copyright ------------------------------------  */
/* --------------------------------------------------------------------------------------------  */

.container-footer-top h3{
  letter-spacing: 0px !important;
}
.container-footer{
  margin-top: 0px;
  background-color: var(--primary-color-dark);
  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{
  position: relative;
  font-weight: 200;
  line-height: 2;
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.footer .mod-menu{
  display: grid;
  grid-template-columns: repeat(5, auto); /* check how many items */
  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);
}


/* ----------------------------------------------------------------------------------------------  */
/* ------------------------- 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 {
    padding: 1.5rem 0.5em 3.5rem;
  }
  
}

/* --------------------------------------------------------------------------------------------  */
/* ----------------------------------------- Website specific -----------------------------------------  */
/* --------------------------------------------------------------------------------------------  */

iframe{
  width: 100%;
}
.iframe{
  background: #f1f3f4;
}


/*
#jf-slideshow-117 .carousel-item figcaption {
  background: transparent;
  padding: 0px;
}
*/
#jf-slideshow-117 .carousel-item figcaption {
    background: rgb(255 255 255 / 85%);
    backdrop-filter: blur(5px);
    padding: 50px;
}
/*
#jf-slideshow-117 .carousel-indicators [data-bs-target] {
  background: var(--primary-color);
  border-bottom: 5px solid transparent;
  border-top: 5px solid transparent;
}
*/
#jf-slideshow-117 .slides__caption-headline {
  color: var(--primary-color-dark,#1781b9);
  font-size: clamp(15px,2.5vw,45px);
  line-height: 1.2;
  margin-bottom: 0px;
  font-weight: 500;
}
#jf-slideshow-117 .slides__caption-subheadline {
  font-size: clamp(18px,1.5vw,22px);
  line-height: 1.2;
}
#jf-slideshow-117 .slides__caption-text{
  color: #333;
  font-size: clamp(12px,1.5vw,16px);
  text-transform: initial;
}
#jf-slideshow-117 .button-group {
  margin-top: 20px;
  margin-top: 35px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
/*
#jf-slideshow-117 .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23144e9e' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
}
#jf-slideshow-117 .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23144e9e' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
}
*/

#jf-slideshow-117 .teaser__headline {
  font-weight: 700;
  text-align: center;
  color: var(--primary-color,#333);
}

#jf-slideshow-117 .overlay__teaser .container {
  display: flex;
  justify-content: center;
}
#jf-slideshow-117 .overlay__teaser .container {  
  top: -20%;
}

#jf-slideshow-117 .carousel-indicators{
  margin-bottom: 10px;
  z-index: 10;
}


#jf-slideshow-117 .carousel-indicators [data-bs-target] {
  /* background-color: #8f110b; */
  height: 6px;
}

.img-fit,
.img-fit .moduletable,
.img-fit .carousel,
.img-fit .carousel-inner,
.img-fit .carousel-item,
.img-fit .carousel-img{
  height: 100%;
}

.gap-5{
  gap:5px !important;
}

/* ------------------------------- Section Leistungen ------------------------------------  */

#leistungen.bg-full::after {
  background: #555 url(../../../../../images/kundenordner/fotos/bg-produktboxen.webp) no-repeat;
  background-size: cover;
  background-blend-mode: normal;
  background-position: 50% 80%;
}
#leistungen.bg-full::before {
  display: none;
  content: '';
  background: rgb(0 0 0 / 35%);
  position: absolute;
  z-index: 1;
  height: 100%;
  width: 100vw;
  margin-left: -50vw;
  left: 50%;
}

.user-card {
    display: grid;
    justify-content: center;
    justify-items: center;
    border: 2px solid var(--primary-color);
    padding: 15px 10px;
}

.featurebox{
  text-align: center;
  height: 100%;
  position: relative;
}
.featurebox__title h3{
  font-size: clamp(16px, 1vw, 18px);
  font-weight: 400;
  color: #333;
  text-align: center;
}
.featurebox__icon{
  font-size: 48px;
  color: #111;
  transition: all ease .3s;
}
.featurebox:hover .featurebox__icon{
  color: var(--primary-color);
  scale: 1.075;
}
.featurebox__link{
  /* position: absolute; 
  left: 0px;
  bottom: 20px;
  */
  translate: 0px 10px;
  width: 100%;
  display: grid;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: all ease .3s;
}
.featurebox__link span{
  width: fit-content;
  padding: 2px 15px;
  border: 2px solid var(--primary-color);
}
.featurebox:hover .featurebox__link{
  opacity: 1;
}

div.mod-languages li{
  margin: 0px;
}
div.mod-languages li:first-child{
  margin-right: 5px;
}
div.mod-languages ul li.lang-active{
  background-color: transparent;
}
div.mod-languages a {
  padding: 0px;
  display: flex;
}
div.mod-languages ul li.lang-active a{
  border: 1px solid rgba(238, 238, 238, 0.5);
}

/* ------------------------------- Link  ------------------------------------  */

.link{
  width: auto;
}

.link-bg{
  display: block;
  padding: 12px 15px 12px 15px;
  width: 100%;
  background-color: var(--primary-color);
  color: #fff !important;
  border: 1px solid var(--primary-color);
  transition: all ease .25s;
}
.link-bg:hover{
  background-color: #fff;
  color: var(--primary-color-dark) !important;
}

.link-bg.light{
  background-color: var(--primary-color-light);
  border: 1px solid var(--primary-color-light);
}
.link-bg.light:hover{
  background-color: #fff;
  color: var(--primary-color-dark) !important;
}



/* ------------------------------- list  ------------------------------------  */
ul.checkmark  {
  list-style-type: none;
  line-height: 1.75;
}
ul.checkmark li {
  background-image: url("data:image/svg+xml,%3Csvg version='1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' enable-background='new 0 0 48 48'%3E%3Cpolygon fill='%23009640' points='40.6,12.1 17,35.7 7.4,26.1 4.6,29 17,41.3 43.4,14.9'/%3E%3C/svg%3E");
  background-repeat: no-repeat no-repeat;
  background-position: 0 0;
  background-size: 22px 22px;
  padding-left: 35px;
  transition: all ease 0.3s;
}

ul.checkmark p {
  margin-bottom: 0px;
}
ul.checkmark a {
  color: #555555;
}
ul.checkmark a:hover {
  color: var(--primary-color-light);
}
ul.checkmark li:hover{
  background-position: 5px 0px;
}

/* ------------------------------- box-container / kunden  ------------------------------------  */

.box-container{
  --box-el-trans: all ease .25s;
}

.box-container.active.grid-2 {
  grid-template-columns: 1fr;
}

.box-el,
.box-el .img{
  display: grid;
}
.box-el:not(.active):hover{
  cursor: pointer;
}

.box-el.active{
  gap: 25px;
  background: #ededed;
  padding: 35px;
}

.box-el img {
  width: auto;
  height: auto;
  grid-row: 1 / -1;
  grid-column: 1 / -1;
}
.box-el.active img {
  width: 100%;
  max-height: 20dvh;
  object-fit: cover;
  object-position: center;
}

.box-el .overlay_title {
  width: auto;
  height: auto;
  grid-row: 1 / -1;
  grid-column: 1 / -1;
  position: relative;
  z-index: 3;
  align-self: center;
  justify-self: center;
  align-items: center;
  display: flex;
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 300;
  color: #fff;
  padding: 10px 25px;
  background:#555;
  line-height: 1.35;
  transition: var(--box-el-trans);
  opacity: 0;
  position: relative;
  z-index: 3;
}
.box-el:not(.active):hover .overlay_title {
  opacity: 1;
}

.box-el .overlay{
  width: 100%;
  height: 100%;
  grid-row: 1 / -1;
  grid-column: 1 / -1;
  margin: 0;
  transition: var(--box-el-trans);
  opacity: 0;
  position: relative;
  z-index: 2;
}
.box-el:not(.active):hover .overlay {
  background: var(--secondary-color-a50, rgba(46,80,157,0.75));
  opacity: 1;
}

.box-el .title{
  font-size: clamp(18px, 2vw, 22px);
  padding: 8px 15px;
  background: var(--primary-color);
  color: #fff;
  text-align: center;
  font-weight: 300;
  transition: var(--box-el-trans);
  position: relative;
}
.box-el:not(.active):hover .title {
  background: var(--primary-color-light);
}
.box-el.active .title{
  background:transparent;
  padding:initial;
  font-size: clamp(22px, 2vw, 26px);
  text-decoration: underline;
  text-underline-offset: 5px;
  color: var(--primary-color);
  text-align: left;
  font-weight: 400;
}


.box-el .info{
  display: none;
  position: relative;
}
.box-el.active .info{
  display: block;
}

.box-el .info a{
  width: fit-content;
  /* margin: 0 auto; */
  margin-top: 25px;
}

.close-btn {
  position: absolute;
  z-index: 99999;
  right: 0px;
  bottom: 0px;
  height: 40px;
  width: 40px;
  cursor: pointer;
  background: #fff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  /* border-radius: 5px; */
  transition: 250ms ease;
  transition: var(--box-el-trans);
  opacity: 0;
}
.box-el.active .close-btn{
  opacity: 1;
}
.close-btn:before, 
.close-btn:after {
  content: "";
  height: 2px;
  background: var(--primary-color);
  top: 50%;
  width: 50%;
  left: 25%;
  position: absolute;
  transition: 250ms ease;
}
.close-btn:before {
  transform: rotate(-45deg);
}
.close-btn:after {
  transform: rotate(45deg);
}
/*
.close-btn:hover, 
.close-btn:focus {
  border: 2px solid;
  border-radius: 100%;
}
*/
.close-btn:hover:before, 
.close-btn:hover:after, 
.close-btn:focus:before, 
.close-btn:focus:after {
  width: 75%;
  left: 13%;
}


/* ------------------------------- headline ------------------------------------  */

.headline-ul{
  font-size: clamp(30px, 2vw, 60px);
  font-weight: 300;
  color: #555;
  text-transform: uppercase;
  position: relative;
}
.headline-ul::before {
  position: absolute;
  height: 2px;
  width: 50%;
  left: 0;
  bottom: -10px;
  background: var(--primary-color-light);
  display: block;
  content: "";
}
.headline-ul.fff{
  color: #fff;
}
.headline-ul.fff::before { 
  background: #fff;
}
  

.hl-sm {
  font-size: clamp(20px, 2vw, 32px);
  font-weight: 400;
  text-transform: uppercase;
}
.hl-sm span {
  font-size: clamp(14px, 2vw, 20px);
  display: inline-block;
  translate: 0px -5px;
}

.extra_info{
  background-image: url('data:image/svg+xml,<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 17V11" stroke="%23b20067" stroke-width="1.5" stroke-linecap="round"/><circle cx="1" cy="1" r="1" transform="matrix(1 0 0 -1 11 9)" fill="%23b20067"/><path d="M22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C21.5093 4.43821 21.8356 5.80655 21.9449 8" stroke="%23b20067" stroke-width="1.5" stroke-linecap="round"/></svg>');
  background-repeat: no-repeat no-repeat;
  background-position: 0 0;
  background-size: 25px;
  padding-left: 35px;
  transition: all ease 0.3s;
}

/* ------------------------------- contact block ------------------------------------  */

.contact_block__grid_item{
  gap: 15px !important;
}
.contact_block__grid_item:hover{
  box-shadow: rgb(0 0 0 / 9%) 0px 2px 1px, rgb(0 0 0 / 9%) 0px 4px 2px, rgb(0 0 0 / 9%) 0px 8px 4px, rgb(0 0 0 / 9%) 0px 16px 8px, rgb(0 0 0 / 9%) 0px 32px 16px;
}
.contact_block__text_text {
  font-size: 16px !important;
}

@media screen and (max-width: 450px) {
  .contact_block__grid_item{
    display: grid !important;
    gap: 10px !important;
    justify-items: center;
  }
  .contact_block__grid_item svg {
    width: 40px !important;
    height: 40px !important;
  }
}

/* ------------------------------- Acc  ------------------------------------  */

.accordion .details__summary {
  color: var(--primary-color);
  /* background: #ddd; */
}
.accordion .details__summary:before, 
.accordion .details__summary:after{
  background: var(--primary-color) !important;
}
/*
.accordion .details {
  border-bottom: 1px solid var(--primary-color);
}
*/

.accordion .is-active .details__summary {
  color: #fff !important;
  background: var(--primary-color) !important;
}

.accordion .is-active .details__summary:before, 
.accordion .is-active .details__summary:after{
  background: #fff !important;
}

.jf_accordion .details .details__summary .slide_subtitle {
  color: #e37503;
  font-size: 12px;
}
.jf_accordion .details.is-active .details__summary .slide_subtitle {
  color: #fff;
}

.details__content{
  display: grid;
}
.details__content .checkmark{
  padding-left: 0px;
}


/* ------------------------------- gallery ------------------------------------  */

.fancyboxgallery img {
  filter: grayscale(0) !important;
}

/* -------------------------------------------------------------------------------------------------------------------------------------  */
/* ------------------------------------------------------- Media Queries ---------------------------------------------------------------  */
/* -------------------------------------------------------------------------------------------------------------------------------------  */

@media screen and (max-width: 1400px) {
  .footer .grid-child {
      max-width: 1140px;
  }
  
  .box a {
    max-width: 215px;
  }
  .overlayer_teasers {
    translate: 0px -15px;
  }
  .custom-shape-divider-bottom-1687814802 svg {
    height: 200px;
  }
  
}
@media screen and (max-width: 1200px) {
  .footer .grid-child {
      max-width: 960px;
  }
  .metismenu.mod-menu .metismenu-item {
      font-size: 0.9rem;
  }
  .bottom .grid{
    grid-template-columns: 1fr 1fr !important;
  }
  img.logo-bottom{
    float: initial !important;
  }
  
  .overlayer_teasers .box {
    max-width: 800px;
  }
  
}


@media screen and (max-width: 992px) {
  .teaser-icon{
    place-items: center;
  }
  .teaser-icon-cnt {
    margin-bottom: 75px;
    max-width: 550px;
    height: auto;
  }
  
  .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: calc((var(--headerHeight) / 2));
    transition: all ease .4s;
    margin-top: 0px !important;
   }
  .container-header .navbar-collapse{
    background: var(--primary-color);
    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;
    width: 100%;
  }
  .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{
    justify-content: center;
  }
  .container-header .container-nav{
    display: flex;
    justify-content: center;
  }
  .container-header .container-nav{
    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%;
  }
  
  .footer1 {
    font-size: 0.85rem;
    margin-bottom: 25px;
    text-align: center;
  }
  
  #home {
    position: relative;
  }
  .overlayer {
    top: -76px;
  }
  .custom-shape-divider-bottom-1687814802 {
    top: 0;
    bottom: initial;
  }
  .overlayer_teasers .grid-element.middle {
    translate: 0px 0px;
  }
  
  .close-btn{
    bottom: initial;
    top: -60px;
  }
  
}
  

@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;
  }

}

@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);
  }
    
  .container-topbar .contact_item, 
  .container-topbar a.contact_item {
    font-size: 0px;
  }
  .container-topbar .contact_item svg {
    width: 25px;
    height: 25px;
  }
    
  .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;
  }
  
  .grid-child.container-component{
    padding-left: 0px;
    padding-right: 0px;
  }
  
}

@media screen and (min-width: 992px) {
  .container-header .mod-menu>li>a, 
  .container-header .mod-menu>li>span{
    color: var(--primary-color);
  }
  .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{
    color: var(--primary-color);
  }
  
  .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(--secondary-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;
  } 
  
  .footer1 a {
    position: absolute;
    right: 0px;
    top: 0px;
  }
  
}

@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: 175px;
    }
  /*
  .com-contact__form.contact-form,
  .com-contact__container {
    width: 50%;
    float: left;
  }
  .com-contact h3{display: none;}
    */
}

@media screen and (max-width: 576px) {
  .custom-shape-divider-bottom-1687814802 svg {
      height: 0px;
  }
  
  ul.checkmark {
    padding: 0px;
    line-height: 1.35
  }
  ul.checkmark li {
    margin-bottom: 3px;
  }
  
}



@media screen and (max-width: 400px) {
  .brand-logo img, .brand-logo svg {
      height: 55px;
  }
  .footer .grid-child {
      justify-content: center;
      flex-direction: column;
      padding: 1.5rem 0.5em 4rem;
  }
}

@media screen and (max-width: 375px) {
  h1,h2,h3,h4,h5,p,span,a{
    overflow-wrap: break-word;
    /* word-break: break-all; */
  }
}




@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;
    }
}
/* Standard Cassiopeia: reproduce the child template's inner Bootstrap containers. */
.container-component {width:100%;max-width:1320px;margin-inline:auto;padding-inline:12px !important;}
.container-topbar {height:35px;padding-inline:max(12px,calc((100vw - 1296px)/2));}
.container-header .container-nav {width:100%;max-width:1320px;margin-inline:auto;padding-inline:12px;}
@media (max-width:991.98px){.container-topbar {justify-content:center;}}
.container-bottom-a {grid-column:full-start/full-end;max-width:none;width:100%;margin:0;padding:0;}
.container-bottom-a > .mod-custom {width:100%;}
@media (max-width:1399.98px) and (min-width:1200px){.container-component {max-width:1140px;}}
@media (max-width:1199.98px) and (min-width:992px){.container-component {max-width:960px;}}
@media (max-width:991.98px) and (min-width:768px){.container-component {max-width:720px;}}
@media (max-width:767.98px) and (min-width:576px){.container-component {max-width:540px;}}

/* Cassiopeia bottom-a is a flex region; the customer map/footer regions stack. */
.container-bottom-a {display:block;}

/* Existing service icon classes: local free glyphs replace unavailable Pro glyphs. */
.fa-person-dolly,.fa-calendar-star,.fa-ballot-check,.fa-digital-tachograph,.fa-cubes,.fa-file-invoice-dollar{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:900;}
.fa-person-dolly::before{content:"\f4de";}.fa-calendar-star::before{content:"\f274";}.fa-ballot-check::before{content:"\f0ae";}.fa-digital-tachograph::before{content:"\f566";}.fa-cubes::before{content:"\f1b3";}.fa-file-invoice-dollar::before{content:"\f571";}

/* Keep the existing mobile navigation usable after scrolling. */
@media (max-width:575.98px){header.container-header.position-sticky.scrolled {position:fixed !important;top:0;}}

/* Usercentrics snapshots iframe width at first render; keep guarded maps responsive. */
.bottom-below .uc-embedding-container,body.com_contact .uc-embedding-container {width:100% !important;max-width:none !important;}

/* Preserve the original 127px mobile header and drawer alignment after the logo module update. */
@media (max-width:575.98px){.container-header .container-nav {padding-block:.5em;}}

/* Preserve this site's original intrinsic slide geometry inside its configured 650px canvas.
   JF 2.5.x otherwise stretches every image to the full canvas height on narrow screens. */
#jf-slideshow-117 .carousel-inner,#jf-slideshow-117 .carousel-item,#jf-slideshow-117 .carousel-img,#jf-slideshow-117 .single_image__link {height:auto !important;}
#jf-slideshow-117 .carousel-item img {height:auto !important;max-height:650px;object-fit:cover;}
