@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
   SIGE / Portfolio / Kachel
   Kontakt
   Bottom
   Footer / Copyright
   Usercentrics Button & Modal + Back2Top
   Sonstige
   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;
  
  --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;
}

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(30px, 3vw, 45px);
  color: var(--primary-color-dark,#0f6a9e);
  font-weight: 300;
}
h3{
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 300;
  color: var(--primary-color,#1781b9);
}
h4{
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 300;
  color: var(--primary-color,#1781b9);
}

.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, 30px);
  font-weight: 400;
  color: var(--primary-color,#1781b9);
}
.page-smaller-headlines h4{
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 400;
  color: var(--primary-color,#1781b9);
}

.grid h3{
  font-size: clamp(22px, 3vw, 34px);
  margin: 0px;
  color: var(--primary-color,#1781b9);
}
.grid h4{
  font-size: clamp(16px, 2vw, 22px);
}

.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;
}

/* --------------------------------------------------------------------------------------------  */
/* ------------------------------------------ Header ------------------------------------------  */
/* --------------------------------------------------------------------------------------------  */

header {
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none;
  height: var(--headerHeight);  /* set explicit height for preventing flickering issue with position:sticky - generated & set dynamically with JS - scrolled height must be set manually */
  --transitionDuration: 0.75s;
  pointer-events: none;
}

.container-topbar{
  padding: 5px 0px;
  background-color: #ecedef;
  will-change: height;
  transition: height ease var(--transitionDuration);
  height: 35px;
  display: none;
}

.container-topbar .container{
  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:var(--primary-color);
}

.brand-logo{
  justify-self: center;
}
.brand-logo img,
.brand-logo svg{
  padding: 5px 0px;
  height: 150px;
  width: auto;
  transition: all ease var(--transitionDuration);
}

.brand-logo svg g{
  transition: all ease var(--transitionDuration);
  opacity: 1;
}


/* --------------------------------------------------------------------------------------------  */
/* ------------------------------------ Header when scrolled ----------------------------------  */
/* --------------------------------------------------------------------------------------------  */

.container-header.scrolled .container-topbar{
  height: 0px;
}

.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;
}

.container-header.scrolled .container-topbar .container{
  opacity: 0;
}

@media screen and (min-width: 992px) {
  .container-header.scrolled nav {
    translate: 0px -10px;
  }
}

.container-header.scrolled .brand-logo img,
.container-header.scrolled .brand-logo svg{
  height: 0px;
  padding: 0px;
} 

.container-header.scrolled .brand-logo svg g.date{
  opacity: 0;
}

/* --------------------------------------------------------------------------------------------  */
/* ---------------------------------------- Navigation ----------------------------------------  */
/* --------------------------------------------------------------------------------------------  */

.container-header .container-nav{
  padding: 0px;
  background: #fff;
  max-width: 100%;
  transition: all ease .25s;
  pointer-events: initial;
}
.container-header .container-nav .container{
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  /* justify-content: space-between; */
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
}

.container-header nav{
  padding-top: 0px;
  margin-top: 0px;
  justify-content: center;
  align-items: center;
  transition: all ease var(--transitionDuration);
}

.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;} */

.site-grid{
 padding-bottom: 50px;
}

.container-component{
  margin-top: 35px;
}

.btn-check:checked+.btn, 
.btn.active, 
.btn.show, 
.btn:first-child:active, 
:not(.btn-check)+.btn:active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

/* --------------------------------------------------------------------------------------------  */
/* ----------------------------------------- One Page / Smooth Scroll -------------------------  */
/* --------------------------------------------------------------------------------------------  */

.smooth-scroll {
  scroll-behavior: smooth;
  scroll-margin-top: 80px;
}

.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;}

@media screen and (max-width: 992px) {
  .smooth-scroll {
    scroll-margin-top: 0px;
  }
}

/*
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 > * {
  z-index: 1;
}
.bg-full::after {
  content: '';
  position: absolute;
  z-index: 0;
  height: 100%;
  width: 100vw;  
  margin-left: -50vw;
  left: 50%;
}
.bg-full-default::after {
  background: #eaf1f9;
}
.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);
}

/* --------------------------------------------------------------------------------------------  */
/* --------------------------------- Overlay Image/Text Stack ---------------------------------  */
/* --------------------------------------------------------------------------------------------  */

.teaser-stack {
  /*padding: 100px 30px; */
  width: 100%;
  height: 100%;
  margin: 0 auto;
  max-width: 100%;
  box-shadow: rgb(9 30 66 / 25%) 0px 4px 8px -2px, rgb(9 30 66 / 8%) 0px 0px 0px 1px; 
  --stackTransition: all ease .25s;
}
.stack {
  display: grid;
  height: 100%;
  /* min-height: 500px; */
  position: relative; 
  grid-template-columns: repeat(12, 1fr);
}
.stack__title {
  display: flex;
  align-items:center;
  gap: 20px;
  font-size: 1.6rem;
  text-transform: uppercase;
  color: var(--primary-color-dark);
  transition: var(--stackTransition);
}
.stack__title img {
  transition: var(--stackTransition);
}
.stack__arrow {
  margin-left: auto;
  width: 15px;
  transition: var(--stackTransition);
}
.stack__list{
  list-style-type: none;
  line-height: 35px;
  text-transform:;
  padding-top: 30px;
  padding-left: 0px;
  font-size: clamp(16px, 2vw, 18px);
  transition: var(--stackTransition);
}
.stack__list_link{
  display: flex;
  align-items: center;
  gap: 5px;
  color: #777;
  transition: var(--stackTransition);
}
.stack__list_link_arrow{
  margin: 0;
  width: 8px;
  transition: var(--stackTransition);
  opacity: 0;
}
.stack__item--top ul{
  line-height: 1.8;
  font-size: clamp(16px, 2vw, 18px);
}

.stack__item--bottom {
  grid-column: 1 / -1;
  grid-row: 1;
  transition: var(--stackTransition);
  background: transparent;
}
.stack.blend .stack__item--bottom {
  background: var(--primary-color-dark);
}
.stack__item--bottom img {
  transition: var(--stackTransition);
  height: 100%;
  width: 100%;
  object-fit: cover;
  mix-blend-mode: initial;
}
.stack.blend .stack__item--bottom img {
  mix-blend-mode: luminosity;
}
.stack__item--top {
  grid-row: 1;
  grid-column: 2 / span 11;
  z-index: 1;
  width: 45%;
  height: fit-content;
  align-self: center;
  justify-self: flex-start;
  background: rgba(255, 255, 255, 0.9);
  padding: 50px 35px 50px 50px;
  box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;
  transition: var(--stackTransition);
  backdrop-filter: blur(3.5px);
}

.stack:hover .stack__item--bottom {
  background: var(--primary-color-dark);
}
.stack.blend:hover .stack__item--bottom {
  background: transparent;
}
.stack.blend:hover .stack__item--bottom img {
  filter: brightness(1.1) saturate(1.3);
  mix-blend-mode: initial;
}
.stack:hover .stack__item--top {
  background: rgba(255, 255, 255, 0.95);
}
.stack:hover .stack__item--bottom img {
  filter: brightness(1.1) saturate(1.3);
  mix-blend-mode: luminosity;
}
.stack__item--top:hover {
  width: 50%;
}
.stack__item--top:hover .stack__arrow {
    transform: scale(1.2);
}
.stack__item--top:hover .stack__list {
    padding-left: 25px;
}
.stack__list_link:hover {
    padding-left: 8px;
}
.stack__list_link:hover .stack__list_link_arrow {
    opacity: 1;
}

.teaser-stack.stack-text {
  box-shadow: none;
}
.teaser-stack.stack-text h2,
.teaser-stack.stack-text h3 {
    margin-bottom: 2rem;
}
.teaser-stack.stack-text .stack__item--top {
  grid-row: 1;
  position: relative;
  top: 0px;
  margin-top: 0px;
  z-index: 1;
  width: 100%;
  height: fit-content;
  align-self: center;
  justify-self: center; 
  background: rgba(255, 255, 255, 1);
  padding: 75px;
  box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;
  transition: var(--stackTransition);
}
/*
.teaser-stack.stack-text .stack:hover .stack__item--top{
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px; 
}
*/
.teaser-stack.stack-text .stack__item--bottom {
  transition: all linear .75s;
}

.teaser-stack.stack-text.stack-text--left .stack__item--top {
  grid-column: 1 / 8;  
}
.teaser-stack.stack-text.stack-text--left .stack__item--bottom {
  grid-column: 6 / 13;
}

.teaser-stack.stack-text.stack-text--left .stack__item--top.end2 {
  grid-column: 1 / 2;
}
.teaser-stack.stack-text.stack-text--left .stack__item--top.end3 {
  grid-column: 1 / 3;
}
.teaser-stack.stack-text.stack-text--left .stack__item--top.end4 {
  grid-column: 1 / 4;
}
.teaser-stack.stack-text.stack-text--left .stack__item--top.end5 {
  grid-column: 1 / 5;
}
.teaser-stack.stack-text.stack-text--left .stack__item--top.end6 {
  grid-column: 1 / 6;
}
.teaser-stack.stack-text.stack-text--left .stack__item--top.end7 {
  grid-column: 1 / 7;
}
.teaser-stack.stack-text.stack-text--left .stack__item--top.end8 {
  grid-column: 1 / 8;
}
.teaser-stack.stack-text.stack-text--left .stack__item--top.end9 {
  grid-column: 1 / 9;
}
.teaser-stack.stack-text.stack-text--left .stack__item--top.end10 {
  grid-column: 1 / 10;
}


.teaser-stack.stack-text.stack-text--left .stack__item--bottom.start1 {
  grid-column: 1 / 13;
}
.teaser-stack.stack-text.stack-text--left .stack__item--bottom.start2 {
  grid-column: 2 / 13;
}
.teaser-stack.stack-text.stack-text--left .stack__item--bottom.start3 {
  grid-column: 3 / 13;
}
.teaser-stack.stack-text.stack-text--left .stack__item--bottom.start4 {
  grid-column: 4 / 13;
}
.teaser-stack.stack-text.stack-text--left .stack__item--bottom.start5 {
  grid-column: 5 / 13;
}
.teaser-stack.stack-text.stack-text--left .stack__item--bottom.start6 {
  grid-column: 6 / 13;
}
.teaser-stack.stack-text.stack-text--left .stack__item--bottom.start7 {
  grid-column: 7 / 13;
}
.teaser-stack.stack-text.stack-text--left .stack__item--bottom.start8 {
  grid-column: 8 / 13;
}

.teaser-stack.stack-text.stack-text--right .stack__item--top {
  grid-column: 6 / 13;
}
.teaser-stack.stack-text.stack-text--right .stack__item--bottom {
  grid-column: 1 / 9;
}


.buero h2,
.buero h3,
.teaser-stack.stack-text.buero h2,
.teaser-stack.stack-text.buero h3{
  font-weight: 600;
  font-size: clamp(40px, 3.5vw, 80px);
  line-height: 0.85;
}
.teaser-stack.stack-text.buero .stack__item--top {
  align-self: baseline;
  justify-self: start; 
  background: rgba(255, 255, 255, 1);
  padding: 0px;
  box-shadow: none;
  transition: var(--stackTransition);
}

.teaser-stack.stack-text.buero .stack__item--bottom,
.teaser-stack.stack-text.buero .stack__item--bottom img {
    height: fit-content;
}


@media screen and (min-width: 1200px) and (max-width: 1400px) {
  .stack__title {
    gap: 15px;
    font-size: 1.1rem;
  }
  .stack__title img:first-child {
    width: 55px;
  }
}
@media screen and (max-width: 1200px) {
  .row-teaser-stack .col-xl-6:first-child {
    margin-bottom: 50px;
  }
}
@media screen and (max-width: 992px) {
  .stack__item--top {
    padding: 30px 35px 30px 30px;
  }
  .stack {
    height: 60vw;
  }
}
@media screen and (max-width: 768px) {
  .stack__title {
    gap: 10px;
    font-size: 1.1rem;
  }
  .stack__title img:first-child {
    width: 50px;
  }
  .stack__list{
    line-height: 28px;
  }
  .teaser-stack.stack-text .stack{
    grid-template-rows: auto auto;
    gap: 0px;
    row-gap: 50px;
  }
  .teaser-stack.stack-text.mb-8{
    margin-bottom: 5rem!important;
  }
  .teaser-stack.stack-text .stack__item--top{
    grid-column: span 12 !important;
    grid-row: 1;
  }
  .teaser-stack.stack-text .stack__item--bottom{
    grid-column: span 12 !important;
    grid-row: 2;
  }
  
  .stack__item--top {
    grid-column: 2 / 12;
    width: 100% !important;
    padding: 20px 25px 20px 20px;
  }
  .stack__item--top:hover {
     width: 100%;
  }
}
@media screen and (max-width: 576px) {
  .stack__item--top {
    width: 65%;
  }
  .stack:hover .stack__item--top {
    width: 70%;
  }
  .stack {
    height: 80vw;
  }
  .stack__item--top ul {
      font-size: clamp(14px, 2vw, 18px);
  }
}

@media screen and (max-width: 400px) {
  .stack {
    height: 90vw;
  }
}



.container-bottom-a{
  margin-top: 75px;
}

/* --------------------------------------------------------------------------------------------  */
/* --------------------------------------- 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%;
}

.contact_block__grid_item {
  font-size: clamp(22px, 2vw, 24px) !important;
}

/* --------------------------------------------------------------------------------------------  */
/* ------------------------------- SIGE / Portfolio / Kachel  ---------------------------------  */
/* --------------------------------------------------------------------------------------------  */

.sige_masonry{
  background: #eee; /*  helps with images with transparent images */
  padding: 15px;
}

#sb-body-inner {
    background: #fff; /*  helps with images with transparent images */
}

.sige_thumb_masonry img,
.sige_thumb img{
  transition: all ease .25s;
  filter: brightness(1.1) saturate(120%);
  background: #fff; /*  helps with images with transparent images */
}
.sige_thumb_masonry img:hover,
.sige_thumb img:hover{
  filter: brightness(1.4) saturate(150%);
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------------------------  */
/* ------------------------------------------ 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: #f0f1f8;
}
.bottom .grid{
  display: grid;
  gap:60px;
}
.bottom .grid-1{
  grid-template-columns: 1fr;
}
.bottom .grid-2{
  grid-template-columns: 1fr 1fr;
}
.bottom .grid-3{
  grid-template-columns: 1fr 1fr 1fr;
}
.bottom .grid-4{
  grid-template-columns: auto auto auto auto;
}

.bottom h3 {
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 600;
    color: var(--primary-color-dark,#555);
    margin-bottom: 25px;
}

.bottom .mod-list{
  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);
  --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;
  }
  
}

/* --------------------------------------------------------------------------------------------  */
/* ----------------------------------------- Sonstige -----------------------------------------  */
/* --------------------------------------------------------------------------------------------  */

body.contact-image .site-grid{
  background: url(../../../../../images/kundenordner/fotos/architecture-lines.webp) no-repeat;
  background-size: 35%;
  background-position: 5% 99%;
  padding-bottom: 150px;
} 

iframe{
  width: 100%;
}
.iframe{
  background: #f1f3f4;
}

#carousel-slider{
  animation: fadeIn 1s linear;
  animation-iteration-count:1;
  animation-direction: alternate;
}
/*
#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");
}
*/
.overlay__teaser_cnt {
  margin: 0 auto;
  padding: 50px 85px !important;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(5px);
}
.teaser__headline {
  white-space: pre-wrap;
  text-align: center;
}

/* ---------------------------- Contact Block ---------------------------- */

.mod_jf_contact_block {
  margin-top: 0px;
  margin-bottom: 75px;
}
.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;
}
.mod_jf_contact_block .text-end{
  display: none;
}
.mod_jf_contact_block .text-end{
  text-align: center !important;
}
.mod_jf_contact_block .gridcol-7-5 {
  grid-template-columns: 1fr;
}
.mod_jf_contact_block .mt-5 {
  margin-top: 25px;
}
.contact_block__grid_item{
  gap: 15px !important;
  font-size: clamp(18px, 2vw, 20px) !important;
  font-weight: 500 !important;
}
.mod_jf_contact_block .contact_block__grid {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 25px;
}

/* ---------------------------- Stack IMG/TXT (text overlays) ---------------------------- */

.stack-img-txt .txt p {
  translate: 25px 0px;
}
.stack-img-txt .txt p:last-child {
  translate: -5px 10px;
}

.kranen.stack-img-txt .txt p {
  translate: 25px 0px;
  margin-bottom: 2rem;
}
.kranen.stack-img-txt .txt p:last-child {
  translate: 25px 0px;
  margin-bottom: 0px;
}

@media screen and (max-width: 992px) {
  .stack-img-txt .txt p {
      translate: 0px 0px;
  }
}

/* ---------------------------- Full BG text overlay ---------------------------- */

.kurs.bg-full::after{
  background: var(--primary-color,#1717ba) url(../../../../../images/kundenordner/fotos/GorchFock_542.webp) no-repeat;
  background-size: cover;
  /* background-attachment: fixed; */
  /* height: 120px; */
  /* background-position: 50% 100%; */
  background-blend-mode:luminosity;
}
.kurs h3.co-cnt_white{
  width: fit-content;
  padding: 35px 50px;
  background: rgb(255 255 255 / 85%);
  backdrop-filter: blur(2px);
  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;
}
.kurs p.co-cnt_white{
  font-size: clamp(16px, 2vw, 18px);
  padding: 35px 50px;
  background: rgb(255 255 255 / 90%);
  backdrop-filter: blur(2px);
  color: #555;
  font-weight: 400;
  translate: 50px 10px;
  max-width: 850px;
  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;
}

/* ---------------------------- BTN Cam ---------------------------- */

.btn.cam{
  border: 1px solid var(--primary-color);
  background: var(--primary-color);
  color: #efefef;
  transition: all ease .25s;
}
.btn.cam:hover{
  border: 1px solid var(--primary-color);
  background: var(--primary-color-dark);
  color: #fff;
  scale: 1.05;
  translate: 0px -5px;
}
.btn.cam svg path{
  fill: #efefef;
}
.btn.cam:hover svg path{
  fill: #fff;
}

@media screen and (max-width: 992px) {
  .btn.cam{
    grid-template-columns: repeat(2, auto);
  }
}

/* ---------------------------- Downloads & Links ---------------------------- */

.download-links a{
  text-align: left;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 15px;
  transition: all ease .35s;
}
.download-links a:hover{
  /* translate: 5px 0px; */
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

/* -------------------------------------------------------------------------------------------------------------------------------------  */
/* ------------------------------------------------------- Media Queries ---------------------------------------------------------------  */
/* -------------------------------------------------------------------------------------------------------------------------------------  */

@media screen and (max-width: 1400px) {
  .footer .grid-child {
      max-width: 1140px;
  }
}
@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;
  }
}


@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 .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;
  }
  
  #jf-slideshow-117 .teaser__headline {
    font-size: clamp(22px, 3vw, 45px);
  }
  #jf-slideshow-117 .overlay__teaser_cnt{
    max-width: initial;
    padding: 25px !important;
  }
  
  .stack__title img:not(.stack__arrow){
    width: 50px;
  }
  .stack__item--top {
    width: 55%;
  }
  .stack__item--top:hover {
    width: 55%;
  }
  
  
  body.contact-image .site-grid {
    background-size: 65%;
    background-position: 45% 100%;
  }
  
  .footer1 {
    font-size: 0.85rem;
    margin-bottom: 25px;
    text-align: center;
  }
  
  .mod_jf_contact_block .contact_block__grid {
      grid-template-columns: 1fr;
  }
  
  #partner a{
    text-align: center;
  }
  
  .kurs p.co-cnt_white {
    translate: 0px 10px;
  }
  
}
  

@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;
  }
  
  p {
    font-size: 1rem;
  }
  
  #jf-slideshow-117 .overlay__teaser {
    display: flex;
  }
}

@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;
  }
  
  .brand-logo img, 
  .logo img, 
  .logo svg {
    width: 95%;
  }
  
  .container-footer-top .container {
      padding: 75px 35px 30px;
  }
  
  .bottom .grid{
    padding: 0px 24px;
  }
  
  .footer .grid-child .mod-footer {
      text-align: center;
      padding: 0 15px;
  }
  
  .moduletable.fax{
    display: none;
  }
  
  body.contact-image .site-grid {
      background-size: 95%;
  }
  
  .contact_block__grid_item {
    font-size: clamp(18px, 2vw, 22px) !important;
    padding: 1.2rem !important;
  }
  .contact_block__grid_item svg {
    width: 25px !important;
    height: : 25px !important;
  }
  
  .grid-child.container-component{
    padding-left: 0px;
    padding-right: 0px;
  }
  
  #jf-slideshow-117 .teaser__headline {
      font-size: clamp(18px, 3vw, 45px);
  }
  
}

@media screen and (max-width: 450px) {
  .contact_block__grid_item {
      font-size: clamp(14px, 2vw, 22px) !important;
  }
}

@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(--primary-color);
    transform: scaleX(0);
    transform-origin: top left;
    transition: transform 0.3s ease;
  }
  
  .container-header .mod-menu li.active a::before,
  .container-header .mod-menu>li>a:hover::before {
    transform: scaleX(1);
  }
  
  .container-header .mod-menu>li>a::after{
    display: none;
  } 
  
  .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: 400px) {
  .brand-logo img, .brand-logo svg {
      height: 100px;
  }
  .footer .grid-child {
      justify-content: center;
      flex-direction: column;
      padding: 1.5rem 0.5em 4rem;
  }
}

@media screen and (max-width: 375px) {
  h1,h2,h3{
    overflow-wrap: break-word;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1400px){
  
  .contact_block__grid_item {
    font-size: clamp(14px, 2vw, 16px) !important;
  }
}




@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001s !important;
  }
}

/* ----------------------------------------------------------------------------------------------  */
/* ----------------------------------------- Animations -----------------------------------------  */
/* ----------------------------------------------------------------------------------------------  */

@keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
}
@keyframes fadeInRight {
    from {
      opacity: 0;
      transform: translateX(200px);
    }
    to {
      opacity: 1;
    }
}

@keyframes fadeInLeft {
    from {
      opacity: 0;
      transform: translateX(-200px);
    }
    to {
      opacity: 1;
    }
}