@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
   Teaser with icons
   Blog / News
   Downloads
   Kontakt
   Bottom
   Footer / Copyright
   Usercentrics Button & Modal + Back2Top
   Website specific
   Media Queries
   Animations
   - - - - - - - - -
*/
 
/* --------------------------------------------------------------------------------------------  */
/* ----------------------------------------- Globals ------------------------------------------  */
/* --------------------------------------------------------------------------------------------  */

 :root {
  --font-fallback: Arial, Helvetica, sans-serif;
  --sm: 576px;
  --md: 768px;
  --lg: 992px;
  --xl: 1200px;
  --xxl: 1400px;
  
  --bs-body-color: #212529;
  --bs-body-bg: #fff;
  --bs-body-font-size: clamp(16px,1.5vw, 18px);
  
  /* scroll-behavior: unset; */
}


/* -------- 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-primary{
  font-family: var(--primary-font), var(--font-fallback);
}
.font-secondary{
  font-family: var(--secondary-font), var(--font-fallback);
}
.font-special,
.font-special h1,
.font-special h2,
.font-special h3{
  font-family: var(--tertiary-font), var(--font-fallback);
}

h1{
  /* font-size: clamp(28px, 3vw, 45px); */
  font-size: clamp(20px, 2vw, 40px);
  line-height: 1.1;
}
h2{
  font-size: clamp(18px, 2vw, 36px);
  color: var(--primary-color,#0f6a9e);
  font-weight: 400;
}
h3{
  font-size: clamp(16px, 2vw, 30px);
  font-weight: 400;
  color: var(--primary-color,#005395);
}

.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,#005395);
}
.page-smaller-headlines h4{
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  color: var(--primary-color,#005395);
}

.nobr{
  hyphens: manual;
}

/* --------------------------------------------------------------------------------------------  */
/* ------------------------------------------ Header ------------------------------------------  */
/* --------------------------------------------------------------------------------------------  */
#sp-header{
  background: var(--primary-color);
}

#sp-header .sp-module{
  margin-left: 0px;
}

#sp-header .sp-module.daf{
  margin-left: 35px;
}
#sp-header .sp-module.not{
  margin-left: 35px;
}


#sp-header {     /* Sticky Header script is working with fixed values, check dynamic script for Cassiopeia (custom-ba.js)  */
  height: auto;
  position: fixed;
 
  transition: all ease .3s;
}

#sp-header .container-fluid{
  padding-left: 5vw;
  padding-right: 5vw;
}

body.layout-edit-iframe #sp-header{
  display: none;
}

/* --------------------------------------------------------------------------------------------  */
/* ------------------------------------------ Logo --------------------------------------------  */
/* --------------------------------------------------------------------------------------------  */

#sp-logo{
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  padding-right: 0px;
}

.jf_logo .brand-logo{
  padding: 0px 0px !important;
}
/*
.jf_logo .brand-logo{
  translate: 0px -5px;
  scale: 1.35;
  transform-origin: bottom left;
  transition: all ease .5s;
}
@media screen and (max-width: 1400px) {
  .jf_logo .brand-logo{
    scale: 1.1;
  }
} 
@media screen and (max-width: 1200px) {
  .jf_logo .brand-logo{
    scale: 1;
  }
} 
@media screen and (max-width: 992px) {
  .jf_logo .brand-logo{
    scale: 1.2;
  }
}
@media screen and (max-width: 576px) { 
  .jf_logo .brand-logo{
    transform-origin: bottom center;
    scale: 1.1;
  }
}

#sp-header.header-sticky .jf_logo .brand-logo{
  scale: 1;
}
*/


/* --------------------------------------------------------------------------------------------  */
/* ------------------------------------ Header when scrolled ----------------------------------  */
/* --------------------------------------------------------------------------------------------  */

#sp-header.header-sticky{
  z-index: 999;
  height: auto;
  animation:none; 
}

#sp-header #sp-logo .brand-logo svg{
  transition: all ease .3s;
}
#sp-header.dark #sp-logo .brand-logo svg{
  width: 125px;
}



@media screen and (max-width: 992px) {
 #sp-header.header-sticky #offcanvas-toggler {
   background: #fff;
   height: fit-content;
   padding: 10px;
   pointer-events: auto;
 }
 
 #sp-header:not(.header-sticky) .burger-icon>span {
   background-color: var(--secondary-color);
 }
 
 .offcanvas-menu{
   background-color: var(--primary-color);
 }
 .offcanvas-menu .offcanvas-inner ul.menu>li a, 
 .offcanvas-menu .offcanvas-inner ul.menu>li span,
 .offcanvas-menu .offcanvas-inner ul.menu>li.menu-parent>a>.menu-toggler, 
 .offcanvas-menu .offcanvas-inner ul.menu>li.menu-parent>.menu-separator>.menu-toggler{
   color: #fff;
 }
 .offcanvas-active .burger-icon>span, 
 #modal-menu-toggler.active .burger-icon>span{
   background-color: #fff;
 }
 
}

@media screen and (max-width: 576px) { 
  #sp-header.header-sticky{  /* on mobile only show burger menu when scrolling */
    background: transparent;
    pointer-events: none;
  }
  
  #sp-header.header-sticky #sp-logo{
    display: none;
  }
  
  /* on mobile center logo  */
  /* 
  #sp-header .row{   
    display: flex;
    justify-content: center;  
  }
  
  #sp-menu{
    position: absolute !important; 
    right: 0px;
  }
  */
}

/* --------------------------------------------------------------------------------------------  */
/* ------------------------------------------ Topbar ------------------------------------------  */
/* --------------------------------------------------------------------------------------------  */

/* countModules not working in custom header from Helix ultimate // CSS "has" doesn`t work in FF yet...adding JS*/ 
/*
#sp-topbar{
  display: none;
}
#sp-topbar:has(.sp-module),       
#sp-topbar:has(.moduletable) {  
  display: flex;
  padding: 5px 0px;
  height: 35px;
  background-color: var(--primary-color);
}
*/

#sp-topbar{
  display: flex;
  padding: 5px 0px;
  height: 35px;
  background-color: var(--primary-color);
}

#sp-topbar .container{
  align-self: center;
}

#sp-topbar .sp-column,
.container-topbar .container{
  display: flex;
  height: 100%;
  justify-content: flex-end; /* right or end not working on iOS */
}

/* ------------------------------------------------------------------------------------------------  */
/* ------------------------------------------ Above Menu ------------------------------------------  */
/* ------------------------------------------------------------------------------------------------  */

/* countModules not working in custom header from Helix ultimate // CSS "has" doesn`t work in FF yet...adding JS*/ 
/*
#sp-above-menu{
  display: none;
}

#sp-above-menu:has(.sp-module),
#sp-above-menu:has(.mod-custom),
#sp-above-menu:has(.moduletable) {  
  display: flex;
  padding: 10px 0px 0px;
  height: auto;
  justify-content: flex-end; 
  align-items: center;
}
*/

#sp-above-menu{
  display: flex;
  padding: 10px 0px 0px;
  height: auto;
  justify-content: flex-end; 
  align-items: center;
}


#sp-above-menu p{
  margin: 0px;
}

#sp-above-menu div{
  width: fit-content;
}

#sp-above-menu img{
  transition: all ease .5s;
}
#sp-header.header-sticky #sp-above-menu img{ 
  height: 0px;
}

@media screen and (max-width: 576px) { 
  #sp-header #sp-above-menu img{ 
    height: auto;
    width: 150px;
  }
}

/* --------------------------------------------------------------------------------------------  */
/* ---------------------------------------- Navigation ----------------------------------------  */
/* --------------------------------------------------------------------------------------------  */

@media screen and (min-width: 992px) { 
  #sp-menu{
    padding-left: 0px;
    padding-right: 0px;
  }
}

.sp-megamenu-parent>li>a, 
.sp-megamenu-parent>li>span {
  font-size: clamp(13px,1vw,14.5px);
  font-weight: 500;
  letter-spacing: 1.5px;
  padding: 0 15px;
  position: relative;
  line-height: 70px;
  color: #fff;
}

.sp-megamenu-parent > li > a, 
.sp-megamenu-parent > li > span, 
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a{
  font-family: var(--secondary-font), var(--font-fallback) !important;
}


.sp-megamenu-parent>li:last-child>a{
  padding: 0 15px;
}

.sp-megamenu-parent>li:hover>a,
.sp-megamenu-parent>li.active>a, 
.sp-megamenu-parent>li.active:hover>a,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item>a:hover,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item.active>a {
  color: var(--secondary-color);
  /*font-weight: 600; */
}

.offcanvas-menu .offcanvas-inner ul.menu li.active a,
.offcanvas-menu .offcanvas-inner ul.menu>li a:hover, 
.offcanvas-menu .offcanvas-inner ul.menu>li a:focus, 
.offcanvas-menu .offcanvas-inner ul.menu>li span:hover,
.offcanvas-menu .offcanvas-inner ul.menu>li span:focus{
   color: #fff;
}

.offcanvas-menu .offcanvas-inner ul.menu-child a{
  color: #fff;
}
.offcanvas-menu .offcanvas-inner ul.menu-child li.active a{
  color: var(--secondary-color);
}

.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner{
  background: var(--primary-color);
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item>a, 
.sp-megamenu-parent .sp-dropdown li.sp-menu-item span:not(.sp-menu-badge) {
  color: #fff;
}


@media screen and (min-width: 992px) {
  
  /* hides arrows for subemnu on desktop view */
  #sp-menu .sp-megamenu-parent>li.sp-has-child>a:after, 
  #sp-menu .sp-megamenu-parent>li.sp-has-child>span:after {
    display: none;
  }
  
  #sp-menu .sp-megamenu-parent > li.sp-menu-item > a::before,
  #sp-menu .sp-megamenu-parent > li.sp-menu-item > span.sp-menu-heading::before {
    content: "";
    position: absolute;
    display: block;
    width: 70%;
    height: 2px;
    bottom: 20px;
    left: 50%;
    margin-left: -35%;
    background-color: #efefef;
    transform: scaleX(0);
    transform-origin: top left;
    transition: transform 0.3s ease;
  }
  
  #sp-menu .sp-megamenu-parent > li.sp-menu-item:hover > a::before,
  #sp-menu .sp-megamenu-parent > li.sp-menu-item:hover > span.sp-menu-heading::before,
  #sp-menu .sp-megamenu-parent > li.sp-menu-item.active > a::before,
  #sp-menu .sp-megamenu-parent > li.sp-menu-item.active > span.sp-menu-heading::before {
    transform: scaleX(1);
    background-color: var(--secondary-color, #005395);;
  }
  
  .sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
   padding: 15px 20px;
   margin-top: 0;
   translate: -15px 0px;
   clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
  }
  
  .sp-megamenu-parent .sp-dropdown li.sp-menu-item>a, 
  .sp-megamenu-parent .sp-dropdown li.sp-menu-item span:not(.sp-menu-badge) {
    font-size: 14.5px;
    line-height: 1.2;
    display: inline-block;
    padding: 10px;
    cursor: pointer;
    width: 100%;
    margin-bottom: 5px;
  }
  
  .sp-megamenu-parent .sp-dropdown li.sp-menu-item>a:hover,
  .sp-megamenu-parent .sp-dropdown li.sp-menu-item.active>a {
    background-color: var(--secondary-color);
    clip-path: polygon(1% 0, 100% 0, 99% 100%, 0% 100%);
    color: var(--primary-color);
    /* text-decoration: underline; */
  }
  
  .container-header .mod-menu>li>a::after{
    display: none;
  } 
  
}

@media screen and (max-width: 1200px) {
  .sp-megamenu-parent>li>a, 
  .sp-megamenu-parent>li>span {
      padding: 0 12px;
      letter-spacing: 1.25px;
  }
}

.offcanvas-menu .offcanvas-inner ul.menu>li ul {
  line-height: 2;
}

/* --------------------------------------------------------------------------------------------  */
/* -------------------------------------- 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;
  color: var(--primary-color);;
}

btn{border-radius: 0 !important;}

.btn-primary, 
.sppb-btn-primary{
  border-color: var(--primary-color);
  background-color: var(--primary-color);
}

.btn-primary:hover, 
.sppb-btn-primary:hover{
  border-color: var(--primary-color-dark);
  background-color: var(--primary-color-dark);
}

/* --------------------------------------------------------------------------------------------  */
/* ----------------------------------------- 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;}

.sm-scroll-mt-75-neg {scroll-margin-top: -75px;}

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 #sp-main-body{
  padding-top: 0px;
}

.com-contact__container h3,
main .com-contact 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 -------------------------------------------  */
/* --------------------------------------------------------------------------------------------  */

#sp-bottom{
  font-size: clamp(14px,1.25vw,20px);
  padding: 75px 0;
  color: #333;
}

#sp-bottom .sp-module {
  margin-bottom: 0px;
}

@media screen and (max-width: 1200px) {
  #sp-bottom4 .grid{
    justify-content: flex-start !important;
  }

  #sp-bottom4 img {
      margin: 0px !important;
  }
}

/* auto width for bottom flex columns */
@media screen and (min-width: 1200px) {

  #sp-bottom1,
  #sp-bottom2,
  #sp-bottom3,
  #sp-bottom4{
    flex: 1 1 auto;
    width: auto;
  }
}

@media screen and (max-width: 992px) {
  #sp-bottom .sp-module {
      margin-bottom: 25px;
  }
}

@media screen and (max-width: 576px) {
  #sp-bottom{
    font-size: clamp(14px,2vw,20px);
    padding: 50px 0 50px;
  }

}


#sp-bottom .sp-module .sp-module-title {
  font-family: var(--secondary-font), var(--font-fallback);
  font-size: clamp(20px, 2vw, 24px);
  border-bottom: 1px solid var(--primary-color);
  padding-bottom: 5px;
  width: fit-content;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 25px;
}

#sp-bottom .sp-module ul{
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}

#sp-bottom .sp-module ul>li{
  padding: 0 !important;
  margin: 0px;
}

#sp-bottom  a,
#sp-bottom .sp-module ul>li>a{
  color: #333;
}
#sp-bottom .sp-module ul>li>a a:hover{
  color: var(--primary-color);
}

#sp-bottom .sp-module ul>li.menu-divider {
  display: none;
}



.menu_link{
  margin-top: 15px;
}
#sp-bottom1 .contact_email .contact_item__label{
  display: none;
}
#sp-bottom table {
  width: 100%;
  margin-bottom: 15px;
}
#sp-bottom table,
#sp-bottom table tr,
#sp-bottom table td {
  padding:0px;
}
#sp-bottom .sp-module.img {
  margin-top: 15px;
}

#sp-bottom1 .menu_link a,
#sp-bottom1 .menu_link a:hover{
  color: var(--primary-color) !important;
  font-weight: 500;
}

#sp-bottom3 a,
#sp-bottom3 a:hover{
  color: var(--primary-color);
}
/* --------------------------------------------------------------------------------------------  */
/* ------------------------------------ Footer / Copyright ------------------------------------  */
/* --------------------------------------------------------------------------------------------  */



#sp-footer .mod-footer .footer1,
.footer .mod-footer{
  position: relative;
  font-weight: 400;
  color: #eee;
  line-height: 2;
  display: flex;
  width: 100%;
  justify-content: space-between;
  font-size: clamp(14px,2vw,16px);
}

@media screen and (max-width: 1200px) {
  #sp-footer .mod-footer .footer1{
    flex-direction: column;
  }
}

#sp-footer .container-inner {
  padding: 20px 0;
}
#sp-footer a {
  color: #eee;
}

.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;
}

.sp-scroll-up{
  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);
}

.sp-scroll-up:hover, 
.sp-scroll-up:active, 
.sp-scroll-up:focus{
  background: var(--btns-bg-color-active);
}

.sp-scroll-up span.fas{
  font-size: 25px;
  color: var(--btns-color);
}

@media screen and (max-width: 992px) {
  
  .sp-scroll-up {
    bottom: var(--btns-sm-mb);
  }
  
  #sp-footer {
    padding-bottom: 50px;
  }
  
}

/* ----------------------------------------------------------------------------------------------------  */
/* ----------------------------------------- Website specific -----------------------------------------  */
/* ----------------------------------------------------------------------------------------------------  */

@media (min-width: 1400px){ /* missing in SP PageBuilder Article Integration */
  .sppb-article-page-wrapper .sppb-row-container {
      max-width: 1320px;
  }
}

iframe{
  width: 100%;
}
.iframe{
  background: #f1f3f4;
}


.img-fit,
.img-fit .moduletable,
.img-fit .carousel,
.img-fit .carousel-inner,
.img-fit .carousel-item,
.img-fit .carousel-img{
  height: 100%;
}

.convertforms{
  background-color: #efefef !important;
  max-width: 100% !important;
}
.convertforms .cf-content-wrap, .convertforms .cf-form-wrap {
  padding: 35px 20px !important;
}
.convertforms .cf-label{
  font-size: 18px !important;
}
.convertforms .cf-btn{
  /*background-color: #ffffff !important;
  color: rgb(51, 51, 51)  !important;
  border: 2px solid #111 !important;
  */
  border-radius: 0px !important;
}
/*
.convertforms .cf-btn:hover{
  background-color: rgb(51, 51, 51) !important;
  color: #fff !important;
  border: 2px solid #111 !important;
}
*/

.ingallery-item-img img {
  filter: brightness(1.1) contrast(1.1) saturate(1.1);
}



.slider h1{
  font-size: clamp(24px, 6vw, 100px);
  font-weight: 800;
  color:#fff;
  text-shadow: 2px 2px 1px #3d3d3d;
  font-family: var(--tertiary-font), var(--font-fallback);
}

/*
#sp-slider-item-EXz4gkMsI7nk_eTdLOYB5-num-2-key .slider h1{
  text-shadow:
   -2px -2px 0 #3d3d3d,  
    2px -2px 0 #3d3d3d,
    -2px 2px 0 #3d3d3d,
     2px 2px 0 #3d3d3d;
}
*/

.slider.sm h1{
  font-size: clamp(16px, 2vw, 65px);
}
.slider h2{
  font-size: clamp(18px, 3vw, 50px);
  font-weight: 600;
  color:#fff;
  text-shadow: 2px 2px 1px #3d3d3d;
}
.sppb-sp-slider-button .sp-slider-btn-text{
  background: #fff;
  color: #111;
  padding: 15px 75px;
}
div.sp-slider .sp-nav-control .nav-control {
  background: rgb(0 83 149 / 30%);
}

.slider-clm .sppb-column-addons{
  display: grid;
}
#slider-text{
  grid-row: -1 / 1;
  grid-column: -1 / 1;
  z-index: 9 !important;
  display: grid;
  place-items: center;
  pointer-events: none;
}
#slider-text .sppb-container-inner{
 background: var(--primary-color-a50);
 padding: 25px 35px;;
}

.btn-top{
  background: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 5px;
  padding-left: 15px;
  padding-right: 15px;
}

section.intro{
  padding: 6vw 0 !important;
}

#hobel{
  position: absolute !important;
  z-index: 10 !important;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  display: grid;
  place-items: flex-end;
  pointer-events: none;
}

@media screen and (max-width: 1600px) {
 #ueber-uns-cnt{
   margin: 0px !important;
 }
}


/* ------------------------ Popup Boxes with PB Rows ----------------------- */

.of-hidden{
  overflow: hidden;
}

.body-ol{
  position: fixed;
  z-index: 999;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: rgb(0 0 0 / 75%);
  opacity: 0;
  visibility: hidden;
  transition: all ease .35s;
}
.body-ol.active{
  opacity: 1;
  visibility: visible;
}

.pu-box.active{
  z-index: 2 !important;
}

.pu-box_trigger_wrap{
  display: block;
  width: 100%;
}

.pu-box_trigger_clm .sppb-column-addons{
  height: 100%;
  display: grid;
}
.pu-box_trigger_clm .sppb-column-addons .addon-root-button-group{
  align-self: flex-end;
}

body.com-sppagebuilder.view-page .pu-box_container{
  position: absolute !important;
  z-index: 55555 !important;
  top: 0px;
  left: 0px; 
  opacity: 0;
  pointer-events: none;
  transition: all ease .35s;
}
body.com-sppagebuilder.view-page .pu-box .pu-box_container{
  display: none;
}
body.layout-edit-iframe .pu-box_container{
  margin: 25px 0px;
}
body.com-sppagebuilder.view-page .pu-box_container.active{
  position: fixed !important;
  top: 175px;
  left: 50%;
  height: 85vh;
  transform: translate(-50%, -10%);
  background: #fff;
  padding: 0px;
  pointer-events: initial;
  opacity: 1;
}

body.com-sppagebuilder.view-page .pu-box_container.active .sppb-container-inner{
  overflow: scroll;
  height: 100%;
}

.pu-box_container .close-btn {
  position: absolute;
  right: 15px;
  top: 45px;
  height: 45px;
  width: 45px;
  cursor: pointer;
  background: #fff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 5px;
  transition: 250ms ease;
}
.pu-box_container .close-btn:before, 
.pu-box_container .close-btn:after {
  content: "";
  height: 2px;
  background: var(--primary-color);
  top: 50%;
  width: 50%;
  left: 25%;
  position: absolute;
  transition: 250ms ease;
}
.pu-box_container .close-btn:before {
  transform: rotate(-45deg);
}
.pu-box_container .close-btn:after {
  transform: rotate(45deg);
}
/*
.pu-box_container .close-btn:hover, 
.pu-box_container .close-btn:focus {
  border: 2px solid;
  border-radius: 100%;
}
*/
.pu-box_container .close-btn:hover:before, 
.pu-box_container .close-btn:hover:after, 
.pu-box_container .close-btn:focus:before, 
.pu-box_container .close-btn:focus:after {
  width: 75%;
  left: 13%;
}

@media screen and (max-width: 992px) {
  body.com-sppagebuilder.view-page .pu-box_container.active{
    top: 0%;
    left: 50%;
    height: 100vh;
    transform: translate(-50%, 0%);
  }
  body.com-sppagebuilder.view-page .pu-box_container.active .sppb-container-inner{
    overflow: scroll;
    height: 100%;
  }
  .pu-box_container .close-btn {
    position: absolute;
    right: 15px;
    top: 15px;
  }
}

@media screen and (min-width: 1650px) {
  .pu-box_container.container{
    max-width: 1600px;
  }
}


/* ------------------------------- floating contact links ------------------------------------  */

.side_contact {
  position: fixed;
  z-index: 1000;
  top: 30%;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  justify-content: flex-start;
  right: -360px;
  transition: all ease .5s;
  animation-name: contactIn;
  animation-delay: 3s;
  animation-duration: 1.5s;
  animation-iteration-count:1;
  animation-direction: normal;
  animation-fill-mode: forwards;
}

@keyframes contactIn {
  0% {right: -360px;}
  100% {right: -300px;}
}	

.side_contact:hover {
  translate: -300px 0px;
}

.side_contact .sc__trigger {
  background: var(--primary-color);
  padding: 15px;
  height: fit-content;
}
.side_contact .sc__trigger img {
  height: 30px;
  width: 30px;
}

.sc__content {
  background: var(--primary-color);
  color: #fff;
}
.side_contact:hover .sc__content {
  box-shadow: 6px 8px 26px 0px rgb(10 45 77 / 18%);
}

.sc__content--text {
 padding: 25px;
}

.sc__content--text img {
 width: 250px;
 height: 60px;
}


.sc__content h3{
  color: #fff;
  font-size: clamp(18px, 2vw, 20px);
  font-weight: 600;
  margin-bottom: 10px;
}
.sc__content strong{
  margin-bottom: 15px;
  display: block;
}

.sc__content ul {
  margin: 0;
  padding: 0px;
  margin-bottom: 20px;
}
.sc__content ul li {
  list-style: none;
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
  justify-content: flex-start;
  align-items: center;
}
.sc__content ul li img {
  height: 20px;
  width: 20px;
}
.sc__content ul li a {
  font-size: 16px;
  text-decoration: none;
  color: #fff;
  transition: all ease .35s;
}
.sc__content ul li a:hover {
  color: #fff;
  scale: 1.05;
}

.sc__content a.btn {
  border-radius: 0px;
  padding: 8px 12px;
  color: var(--primary-color);
  font-weight: 600;
}

@media screen and (max-width: 992px) {
  .side_contact{
    display: none;
  }
}

@media screen and (max-height: 1050px) {
  .side_contact {
   top: 23%;
   }
   /* for real photos
  .sc__content img {
    height: 275px;
    object-fit: cover;
    object-position: top;
  }
  */
  .sc__content--text strong{
    display: none;
  }
}

/* ------------------------------- Text always 100% width to box / set parent to text-align: center / set H3 to element needed, also in JS ------------------------------------  */

.scale--js h3 {
  display: inline-block;
  transform-origin: 50% 0;
  -webkit-font-smoothing: antialiased;
  transform: translate3d( 0, 0, 0);
}

/* ------------------------------- Intro Section & Animation ------------------------------------  */

/* animated via JS - via CSS not possible as it is already animated via CSS*/
/* body.home #usercentrics-root{
  opacity:0;
}
*/

#sp-header{
  opacity: 0;
  animation-name: headerDown !important;
  animation-delay: 1s;
  animation-duration: 0.5s;
  animation-iteration-count:1;
  animation-direction: normal;
  animation-fill-mode: forwards;
}
body:not(.home) #sp-header{
  animation-delay: 0s;
}

/*
#sp-header.dark,
body:not(.home) #sp-header{
  background: #fff;
}
*/

#sp-header.headerUp{
  opacity: 1;
  animation-name: headerUp !important;
  animation-delay: 0s;
  animation-duration: 0.5s;
  animation-iteration-count:1;
  animation-direction: normal;
  animation-fill-mode: forwards;
}

body:not(.home) #sp-section-2{
  padding-top: 160px;
  padding-top: var(--headerHeight);
}

#start .sppb-row-overlay{
  z-index: 5;
  opacity: 0;
  background: var(--primary-color-a95);
  transition: all ease .35s;
  pointer-events: none;
}
#start .sppb-row-overlay.dark{
  opacity: 1;
}

.sppb-section.navsection{
  scroll-margin-top: 100px;
}

/* ------------------------------- img-bg ------------------------------------  */

.img-bg .sppb-addon-content{
  position: relative;
  z-index: 2;
}

.img-bg::after{
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: #454545;
  position: absolute;
  top: 15px; 
  left: 15px;
  z-index: 1;
}
.img-bg.grey::after{
  background: #859996;
}

@media screen and (max-width: 576px) {
  .img-bg::after{
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: #ac8360;
    position: absolute;
    top: 8px; 
    left: 8px;
    z-index: 1;
  }
}

/* ------------------------------- img-layout-box ------------------------------------  */

@media screen and (min-width: 992px) {
 .img-layout-box .sppb-col-sm-6:first-child{
   width: 70%;
   flex: 0 0 70%;
   max-width: initial;
 }
 .img-layout-box .sppb-col-sm-6:last-child{
   width: 30%;
   flex: 0 0 30%;
   max-width: initial;
 }
 .img-layout-box .sppb-addon-image-layout-content{
   width: 110%;
 }
}

/* ------------------------------- mitarbeiter ------------------------------------  */

#mitarbeiter .sppb-image-layouts-inline-img{
  display: grid;
  place-items: center;
  border: 1px solid #4c4c4c;
  padding: 35px;
  height: 210px;
}
#mitarbeiter .sppb-image-layouts-inline-img img{
  display: none;
}
#mitarbeiter .letters{
  display: grid;
  grid-template-columns: auto auto;
  place-items: center;
  justify-content: center;
  gap: 5px;
  background: #4c4c4c;
  aspect-ratio: 1 / 1;
  width: 135px;
  height: auto;
  border-radius: 50%;
}

#mitarbeiter .letters h3{
  color: #fff;
  font-weight: 600;
  font-size: clamp(24px, 1.75vw, 36px);
  margin: 0;
}

/* ------------------------------- underline ------------------------------------  */

.hl_underline h2,
.hl_underline h3,
.hl_underline h4{
  position: relative;
}
.hl_underline.w-fit h2,
.hl_underline.w-fit h3{
  width: fit-content;
}
.hl_underline h2::before,
.hl_underline h3::before,
.hl_underline h4::before {
  position: absolute;
  height: 2px;
  width: 100px;
  left: 0;
  bottom: -10px;
  background: var(--primary-color-dark);
  display: block;
  content: "";
}
.hl_underline.fff h2::before,
.hl_underline.fff h3::before,
.hl_underline.fff h4::before {
  background: #fff;
}

.hl_underline_center h2{
  position: relative;
  display: grid;
}
.hl_underline_center h2::before {
  position: absolute;
  height: 2px;
  width: 40%;
  place-self: center;
  bottom: 25px;
  background: var(--secondary-color);
  display: block;
  content: "";
}
.hl_underline_center.fff h2::before {
  background: #fff;
}

/* ------------------------------- 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;
}

/* ------------------------------- middle stroke ------------------------------------  */

.mid-stroke {
  display: flex;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.mid-stroke::before,
.mid-stroke::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #fff;
}

.mid-stroke.dark::before,
.mid-stroke.dark::after {
  border-bottom: 1px solid #424d59;
}

.mid-stroke.red::before,
.mid-stroke.red::after {
  border-bottom: 1px solid #b20101;
}

.mid-stroke.home {
  margin: 0 auto;
  max-width: 820px;
}

/* ------------------------------- partner ------------------------------------  */

#lieferanten img{
  width: 100% !important;
}

@media screen and (min-width: 576px) {
  .sppb-carousel-extended-item{
    width: auto !important;
  }
}

.sppb-carousel-extended-item img {
  object-fit: contain !important;
  transition: all ease .35s;
}
.sppb-carousel-extended-item a:hover img {
  scale: 1.05;
}


/* ------------------------------- 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.orange 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='%23c78d1a' 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;
}

@media screen and (max-width: 768px) {
  ul.checkmark  {
    margin-bottom: 0px;
  }
}

ul.tick  {
  list-style-type: none;
  line-height: 1.5;
  padding-left: 15px;
}
ul.tick ul  {
  padding-top: 5px;
  list-style-type: disc;
  display: flow-root;
  font-size: 82%;
}
ul.tick > li {
  position: relative;
  padding-left: 0px;
  margin-bottom: 20px;
  
  display: grid;
  grid-template-columns: 50px auto;
}
ul.tick > li::before{
  content: "";
  padding: 5px;
  display: inline-block;
  float: left;
  margin: 0 20px 0 0;
  vertical-align: middle;
  width: 30px;
  height: 30px;
  background: url("data:image/svg+xml,%3Csvg version='1.1' id='Ebene_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 21.3 20.6' style='enable-background:new 0 0 21.3 20.6;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bopacity:0.2;%7D .st1%7Bfill:%23FFFFFF;%7D%0A%3C/style%3E%3Cg class='st0'%3E%3Cpath d='M20.8,2l0.4,0.7c-2.8,2-5.4,4.5-7.8,7.5s-4.1,6-5.2,8.9l-0.6,0.4c-0.5,0.4-1,0.7-1.4,1.1c-0.1-0.3-0.3-0.9-0.6-1.7 l-0.3-0.8c-0.7-1.8-1.3-3-1.8-3.7s-1-1.1-1.6-1.1c0.8-0.7,1.4-1.1,2-1.1c0.8,0,1.7,1.1,2.6,3.2L7,16.5c1.7-3,3.7-5.8,6.1-8.4 S18.2,3.6,20.8,2z'/%3E%3C/g%3E%3Cg%3E%3Cpath class='st1' d='M18.8,0l0.4,0.7c-2.8,2-5.4,4.5-7.8,7.5s-4.1,6-5.2,8.9l-0.6,0.4c-0.5,0.4-1,0.7-1.4,1.1 c-0.1-0.3-0.3-0.9-0.6-1.7l-0.3-0.8c-0.7-1.8-1.3-3-1.8-3.7s-1-1.1-1.6-1.1c0.8-0.7,1.4-1.1,2-1.1c0.8,0,1.7,1.1,2.6,3.2L5,14.5 c1.7-3,3.7-5.8,6.1-8.4S16.2,1.6,18.8,0z'/%3E%3C/g%3E%3C/svg%3E%0A") no-repeat center center / 20px auto;
  background-color: var(--primary-color);
}

ul.tick.white > li::before{
  background: url("data:image/svg+xml,%3Csvg version='1.1' id='Ebene_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 21.3 20.6' style='enable-background:new 0 0 21.3 20.6;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bopacity:0.2;%7D .st1%7Bfill:%23b20101;%7D%0A%3C/style%3E%3Cg class='st0'%3E%3Cpath d='M20.8,2l0.4,0.7c-2.8,2-5.4,4.5-7.8,7.5s-4.1,6-5.2,8.9l-0.6,0.4c-0.5,0.4-1,0.7-1.4,1.1c-0.1-0.3-0.3-0.9-0.6-1.7 l-0.3-0.8c-0.7-1.8-1.3-3-1.8-3.7s-1-1.1-1.6-1.1c0.8-0.7,1.4-1.1,2-1.1c0.8,0,1.7,1.1,2.6,3.2L7,16.5c1.7-3,3.7-5.8,6.1-8.4 S18.2,3.6,20.8,2z'/%3E%3C/g%3E%3Cg%3E%3Cpath class='st1' d='M18.8,0l0.4,0.7c-2.8,2-5.4,4.5-7.8,7.5s-4.1,6-5.2,8.9l-0.6,0.4c-0.5,0.4-1,0.7-1.4,1.1 c-0.1-0.3-0.3-0.9-0.6-1.7l-0.3-0.8c-0.7-1.8-1.3-3-1.8-3.7s-1-1.1-1.6-1.1c0.8-0.7,1.4-1.1,2-1.1c0.8,0,1.7,1.1,2.6,3.2L5,14.5 c1.7-3,3.7-5.8,6.1-8.4S16.2,1.6,18.8,0z'/%3E%3C/g%3E%3C/svg%3E%0A") no-repeat center center / 20px auto;
  background-color: #fff;
}

ul.animated li{
  transition: all ease .35s;
  transition-delay: 0.2s;
}
ul.animated li::before{
  background:none;
  background-color: var(--primary-color);
}
ul.animated li.active::before{
  background: url("data:image/svg+xml,%3Csvg version='1.1' id='Ebene_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 21.3 20.6' style='enable-background:new 0 0 21.3 20.6;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bopacity:0.2;%7D .st1%7Bfill:%23FFFFFF;%7D%0A%3C/style%3E%3Cg class='st0'%3E%3Cpath d='M20.8,2l0.4,0.7c-2.8,2-5.4,4.5-7.8,7.5s-4.1,6-5.2,8.9l-0.6,0.4c-0.5,0.4-1,0.7-1.4,1.1c-0.1-0.3-0.3-0.9-0.6-1.7 l-0.3-0.8c-0.7-1.8-1.3-3-1.8-3.7s-1-1.1-1.6-1.1c0.8-0.7,1.4-1.1,2-1.1c0.8,0,1.7,1.1,2.6,3.2L7,16.5c1.7-3,3.7-5.8,6.1-8.4 S18.2,3.6,20.8,2z'/%3E%3C/g%3E%3Cg%3E%3Cpath class='st1' d='M18.8,0l0.4,0.7c-2.8,2-5.4,4.5-7.8,7.5s-4.1,6-5.2,8.9l-0.6,0.4c-0.5,0.4-1,0.7-1.4,1.1 c-0.1-0.3-0.3-0.9-0.6-1.7l-0.3-0.8c-0.7-1.8-1.3-3-1.8-3.7s-1-1.1-1.6-1.1c0.8-0.7,1.4-1.1,2-1.1c0.8,0,1.7,1.1,2.6,3.2L5,14.5 c1.7-3,3.7-5.8,6.1-8.4S16.2,1.6,18.8,0z'/%3E%3C/g%3E%3C/svg%3E%0A") no-repeat center center / 20px auto;
  background-color: var(--primary-color);
}

@media screen and (max-width: 576px) {
  ul.tick  {
    padding-left: 5px;
  }
}
/* ------------------------------- info circle  ------------------------------------  */

.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;
}

/* ------------------------------- timeline  (https://codepen.io/jenniferperrin/pen/JjmyeV) ------------------------------------  */

 .timeline {
    list-style: none;
    padding: 10px 0;
    position: relative;
    font-weight: 300;
}
.timeline:before {
    top: -35px;
    bottom: 0;
    position: absolute;
    content:" ";
    width: 2px;
    background: var(--primary-color);
    left: 50%;
    margin-left: -1.5px;
}
.timeline > li {
    margin-bottom: 65px;
    position: relative;
    width: 50%;
    float: left;
    clear: left;
}
.timeline > li:before, .timeline > li:after {
    content:" ";
    display: table;
}
.timeline > li:after {
    clear: both;
}
.timeline > li:before, .timeline > li:after {
    content:" ";
    display: table;
}
.timeline > li:after {
    clear: both;
}
.timeline > li > .timeline-panel {
    width: calc(100% - 25px);
    float: left;
    background: var(--primary-color);
    position: relative;
}
.timeline > li > .timeline-panel:before {
    position: absolute;
    top: 26px;
    right: -15px;
    display: inline-block;
    border-top: 15px solid transparent;
    border-left: 15px solid var(--primary-color);
    border-right: 0 solid var(--primary-color);
    border-bottom: 15px solid transparent;
    content:" ";
}
.timeline > li > .timeline-panel:after {
    position: absolute;
    top: 27px;
    right: -14px;
    display: inline-block;
    border-top: 14px solid transparent;
    border-left: 14px solid var(--primary-color);
    border-right: 0 solid var(--primary-color);
    border-bottom: 14px solid transparent;
    content:" ";
}
.timeline > li > .timeline-badge {
    color: var(--primary-color);
    width: 24px;
    height: 24px;
    line-height: 50px;
    text-align: center;
    position: absolute;
    top: 16px;
    right: -12px;
    z-index: 100;
}
.timeline > li.timeline-inverted > .timeline-panel {
    float: right;
}
.timeline > li.timeline-inverted > .timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto;
}
.timeline > li.timeline-inverted > .timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
}
.timeline-badge > a {
    color: var(--primary-color); !important;
}
.timeline-badge a:hover {
    color: var(--primary-color-light); !important;
}
.timeline-title {
    margin-top: 0;
    color: inherit;
}
.timeline-heading h4 {
  padding: 10px 15px;
  color: #fff;
  font-weight: 800;
  width: fit-content;
  margin: 0px;
}

.timeline-body {
   padding: 0px 10px 15px 15px;
}
.timeline-body > p  {
    margin-bottom: 0;
    color: #fff;
}
.timeline > li.timeline-inverted {
    float: right;
    clear: right;
}
.timeline > li:nth-child(2) {
    margin-top: 100px;
}
.timeline > li.timeline-inverted > .timeline-badge {
    left: -12px;
}
.timeline > li.no-float {
    float: none !important;
    margin-bottom: 0px;
    height: 0px;
}
@media (max-width: 767px) {
    ul.timeline:before {
        left: 40px;
    }
    ul.timeline > li {
        margin-bottom: 0px;
        position: relative;
        width:100%;
        float: left;
        clear: left;
    }
    ul.timeline > li > .timeline-panel {
        width: calc(100% - 65px);
        width: -moz-calc(100% - 65px);
        width: -webkit-calc(100% - 65px);
    }
    ul.timeline > li > .timeline-badge {
        left: 28px;
        margin-left: 0;
        top: 16px;
    }
    ul.timeline > li > .timeline-panel {
        float: right;
    }
    ul.timeline > li > .timeline-panel:before {
        border-left-width: 0;
        border-right-width: 15px;
        left: -15px;
        right: auto;
    }
    ul.timeline > li > .timeline-panel:after {
        border-left-width: 0;
        border-right-width: 14px;
        left: -14px;
        right: auto;
    }
    .timeline > li.timeline-inverted {
        float: left;
        clear: left;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .timeline > li.timeline-inverted > .timeline-badge {
        left: 28px;
    }
}



/* ------------------------------- contact block ------------------------------------  */

.contact_block__grid_item{
  gap: 15px !important;
  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;
}

.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;
}

#jf_contact_block-135 .contact_block__headline.contact_block__headline {
  font-size: clamp(18px, 2.2vw, 32px);
}

#jf_contact_block-135 .contact_block__grid_item,
#jf_contact_block-179 .contact_block__grid_item{
  background: var(--primary-color);
  color: #fff;
}
#jf_contact_block-135 .contact_block__grid_item:hover,
#jf_contact_block-179 .contact_block__grid_item:hover{
  background: #fff;
  color: var(--primary-color) !important;
}

#jf_contact_block-135 .contact_block__grid_item svg path,
#jf_contact_block-179 .contact_block__grid_item svg path {
  fill: #fff;
}
#jf_contact_block-135 .contact_block__grid_item:hover svg path,
#jf_contact_block-179 .contact_block__grid_item:hover svg path{
  fill: var(--primary-color) !important;
}

#jf_contact_block-179 .contact_block__headline{
  margin-bottom: 10px !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) brightness(1.1) contrast(1.05) saturate(1.1) !important;
}
.fancyboxgallery img:hover {
  filter: grayscale(0) brightness(1.2) contrast(1.05) saturate(1.15) !important;
}

.fancybox__container{
  z-index: 55555 !important;
}

body.layout-edit-iframe .jf_grid_gallery a:not(:first-child){
  display: none !important;
}

/* ------------------------------- arrow_link ------------------------------------  */

.arrow_link{
  display: inline-block;
  color: #333;
  padding-right: 50px;
  background: url(../images/cta_arrow.svg) center right 5px no-repeat;
  transition: background .35s ease;
}
.arrow_link:hover{
  background-position: center right 0;
  color: #333;
}

/* -------------------------------------------------------------------------------------------------------------------------------------  */
/* ------------------------------------------------------- Media Queries ---------------------------------------------------------------  */
/* -------------------------------------------------------------------------------------------------------------------------------------  */

@media screen and (max-width: 1400px) {
  .sp-page-builder .page-content #kunden{
    max-height: 550px !important; 
  }
  #sp-header .sp-module.daf img{
    width: 100px;
  }
}
  

@media only screen and (max-width: 1400px) and (min-width: 992px)  {
  #section-id-1721257698463 .sppb-shape-container.sppb-bottom-shape.sppb-bottom-shape > svg {
      height: 102px;
  }
}


@media screen and (max-width: 1200px) {
  /*
  img.logo-bottom{
    float: initial !important;
  }*/
  
  #sp-header .sp-module.daf img{
    width: 75px;
  }

}


@media screen and (max-width: 992px) {
  
  .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-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;
  }
  
  .footer1 {
    font-size: 0.85rem;
    margin-bottom: 25px;
    text-align: center;
  }
  
  #sp-page-builder .page-content .sppb-section:not(div.sppb-section):first-child {
      padding-top: 50px;
  }
  #sp-page-builder .page-content .sppb-section:nth-child(2) {
    padding-top: 50px;
  }
  
  .sp-page-builder .page-content #kunden{
    max-height: 550px !important; 
  }
  
}
  

@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;
  }
  
  .footer2{
    padding: 0 50px;
  }
  .footer a{
    color: #ccc;
  }
  
  #jf-slideshow-117 .carousel-text-overlay .text.text {
    font-size: clamp(35px, 2vw, 50px) !important;
  }
  
  .sp-nav-control{
    display: none;
  }
  
  .sp-page-builder .page-content #kunden {
      max-height: 500px !important;
  }
  
}

@media screen and (max-width: 576px) {
  .sm_noParallax{
    background-attachment: scroll;
    background-position: center;
  }
  
  .sp-page-builder .page-content #kunden {
      max-height: 650px !important;
  }
  
  .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;
  }
  
  .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;
  }
  
  #jf-slideshow-117 .carousel-text-overlay .text.text {
    font-size: clamp(25px, 2vw, 50px) !important;
  }
  
  #sp-main-body {
      padding-bottom:50px;
  }
  
  div.sp-slider .sp-nav-control{
    display: none;
  }
  .sppb-sp-slider-button .sp-slider-btn-text{
    padding: 15px;
  }
  
  ul.checkmark {
    padding: 0px;
    line-height: 1.35
  }
  ul.checkmark li {
    margin-bottom: 3px;
  }
  
  section.intro{
    padding: 9vw 0 6vw !important;
  }

  
}

@media screen and (max-width: 400px) {
 
  .footer .grid-child {
      justify-content: center;
      flex-direction: column;
      padding: 1.5rem 0.5em 4rem;
  }
}



@media screen and (min-width: 992px) {
  
  .footer1 a {
    position: absolute;
    right: 0px;
    top: 0px;
  }

}

@media screen and (min-width: 768px) {

    /* 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;
    }

}

@media screen and (max-width: 576px) {
  #sp-header .sp-module.daf{
    display: none;
  }
}
@media screen and (max-width: 400px) {
  #sp-header .sp-module.not img{
    width: 100px;
  }
}


@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 headerDown {
  0% {top: calc(var(--headerHeight) * -1);opacity:0;}
  100% {top:0px;opacity:1;}  
}

@keyframes headerUp {
  0% {top:0px;opacity:1;}
  100% {top: calc(var(--headerHeight) * -1);opacity:0;} 
}	

@keyframes circleBlowUp {
  0% {clip-path: circle(1%);}
  100% {clip-path: circle(100%);}  
}	

@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;
    }
}