/*
Theme Name: Fahrzeugtechnik Grotz
Theme URI: http://www.madebymuse.de
Description: Theme für Fahrzeugtechnik Grotz
Author URI: http://www.madebymuse.de
Version: 1.0
*/


@font-face {
  font-family: 'Outfit';
  src: url('css/Outfit/Outfit-VariableFont_wght.ttf') format('truetype');
  font-style: normal;
}



@media all and  (max-height: 500px) and (orientation:landscape) {
  .isAndroid #noLandscape, .ios #noLandscape{
    display: block !important;
  }
}

:root{
  --ftg-orange: #ec671b;
  --ftg-blue: #242f5f;
}

#noLandscape{
  display: none;
  background: radial-gradient(ellipse at center, #bca66c 0%,#8a794a 100%);
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 4000000000;
  transform: translateZ(4px);
  -webkit-transform: translateZ(4px);
}
#noLandscape img {
    width: 130px;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
@media all and  (max-height: 500px) and (orientation:landscape) {
  .isAndroid #noLandscape, .ios #noLandscape{
    display: block !important;
  }
}

*, :after, :before {
    box-sizing: border-box;
	-webkit-box-sizing: border-box;
  -webkit-appearance: none;
}

@media (pointer: none), (pointer: coarse) {
    #muse_cursor, #muse_cursor .muse-cursor-icon { display: none !important; visibility: hidden; opacity: 0; }
    * { cursor: auto !important; }
}
@media (pointer: text) {
    * { cursor: text !important; }
}

p:empty {
  display: none;
}
html{

}
html, body{
  	margin: 0;
	padding: 0;
	perspective: unset;
	-webkit-perspective: unset;
  -webkit-text-size-adjust: none;
-moz-text-size-adjust: none;
-ms-text-size-adjust: none;
text-rendering: optimizeLegibility;

}
.isAndroid{
  -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body{
	font-size: 19px;
	font-family: 'Outfit', sans-serif;
	color: #000000;
	background: #f4f1ea;
	-webkit-font-kerning: normal;
  font-kerning: normal;
  -webkit-font-feature-settings: "kern" 1;
  font-feature-settings: "kern" 1;
  -webkit-font-variant-ligatures: common-ligatures;
  font-variant-ligatures: common-ligatures;
  _-webkit-overflow-scrolling: touch;
	font-weight: 400;
	min-height: 100vh;
	line-height: 1.59em;
  background: #fff;
}

.page-id-12 #leistungen-sub,
.page-id-14 #leistungen-sub {
  margin-top: -60px;
}

#bkkonf .panel-grid-cell {
  width: 48% !important;
  margin: 0 !important;
}
#bkkonf .textwidget {
  padding-left: 2%;
}

.bwg-thumb-description.bwg_thumb_description_0 br {
  display: none;
}
.bwg-thumb-description.bwg_thumb_description_0 b {
  display: block;
  line-height: 1.2;
  font-weight: 500;
  font-size: 18px !important;
}
.bwg-thumb-description.bwg_thumb_description_0 span {
  font-size: 17px !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 400;
}
.bwg-thumb-description.bwg_thumb_description_0 {
  margin-top: 5px;
}
.bwg-title2 {
  font-size: 20px !important;
  font-family: 'Outfit', sans-serif !important;
  line-height: 1.2;
  font-weight: 500 !important;
  display: block;
  text-align: left !important;
  margin-top: 10px !important;
  margin-bottom: -10px !important;
}
h3 {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .3px;
}

#leistungen-home .panel-grid-cell .panel-grid-cell {
  width: 42%;
  margin-bottom: 30px;
  margin-top: 30px;
}
#leistungen-sub .panel-grid-cell .panel-grid-cell {
  width: 31%;
  margin-bottom: 30px;
  margin-top: 30px;
}
#leistungen-home .panel-grid-cell .panel-grid-cell a,
#leistungen-sub .panel-grid-cell .panel-grid-cell a {
  color: #111;
  font-weight: 400 !important;
  font-size: 28px;
  position: relative;
}
#leistungen-home .panel-grid-cell .panel-grid-cell .textwidget a::after,
#leistungen-sub .panel-grid-cell .panel-grid-cell .textwidget a::after {
  content: "\e628";
  font-size: 24px;
  color: #000;
  font-family: themify;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  top: 2px;
  left: 8px;
  -webkit-text-stroke: .66px;
  transform: rotate(-45deg);
  display: inline-block;
  transition: all .3s cubic-bezier(.455,.03,.515,.955);
  -webkit-transition: all .3s cubic-bezier(.455,.03,.515,.955);
}
#leistungen-home .panel-grid-cell .panel-grid-cell a:hover::after,
#leistungen-sub .panel-grid-cell .panel-grid-cell a:hover::after{
  transform: rotate(0deg);
}
#leistungen-home .panel-grid-cell .panel-grid-cell strong,
#leistungen-sub .panel-grid-cell .panel-grid-cell strong {
  font-weight: normal;
}

#leistungen-home .panel-grid-cell .panel-grid-cell:nth-of-type(2) {
  margin-top: -40px;
}

#leistungen-home .panel-grid:first-of-type .panel-grid-cell:nth-of-type(1) {
  margin-left: -1%;
}

#leistungen-home .panel-grid:first-of-type .panel-grid-cell:nth-of-type(2) {
  margin-right: 6%;
}

#leistungen-home .panel-grid:last-of-type .panel-grid-cell:nth-of-type(1) {
  margin-left: 6%;
}

.content-section{
  padding: 90px 0;
  width: 82%;
  max-width: 1480px;
  position: relative;
  margin: 0px auto;
}
.content-section-sticky-left {
  position: relative;
  margin-left: 0; 
  margin-right: auto; 
  width: calc(82% + (100% - 82%) / 2); 
  max-width: calc(1480px + (100% - 1480px) / 2);
}

.content-section-sticky-right {
  position: relative;
  margin-left: auto; 
  margin-right: 0;   
  width: calc(82% + (100% - 82%) / 2);
  max-width: calc(1480px + (100% - 1480px) / 2);
}
.sm-ar-img {
  margin-top: 18%;
}
.sm-ar-img img {
  aspect-ratio: 1.1;
  object-fit: cover;
  padding-right: 30%;
}
.big-ar-img img {
  aspect-ratio: 1.2;
  object-fit: cover;
  margin-top: 10%
}

.no-pt{
  padding-top: 0px !important;
}
.no-pb{
  padding-bottom: 0px !important;
}

.s-pb{
  padding-bottom: 30px !important;
}

.content-section-s {
  width: 68%;
}
.content-section-s p {
  margin-left: 13%;
  padding-right: 10%;
}
.content-section-s p:first-of-type{
margin-top: 70px;
}
h2, body:not(.home) h1 {
  font-weight: 600;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.1;
  margin: 40px 0 50px;
  letter-spacing: 1px;
  color: var(--ftg-blue);
}
.content-section-m .textwidget {
  max-width: 940px;
}
footer h2, body:not(.home) footer h1 {
color: #fff;
}
#starttext h2{
  max-width: 800px;
}
body:not(.home) h1{
  margin-top: 0 !important;
}
p{
		letter-spacing: 1px;
		font-weight: 300;
    font-size: 23px;
    line-height: 1.6;
}

strong {
  font-weight: 600;
}
.textwidget p a {
  color: var(--ftg-blue);
  text-decoration: none;
}
/*MASTHEADER START*/

#mastheader {
    position: fixed;
    width: 100%;
    z-index: 210000;
    top: 0px;
	  left:0;
    opacity: 1;
	  transform: translateY(0px);
    transition: all .5s cubic-bezier(.455,.03,.515,.955), opacity .7s cubic-bezier(.455,.03,.515,.955);
    -webkit-transition: all .5s cubic-bezier(.455,.03,.515,.955), opacity .7s cubic-bezier(.455,.03,.515,.955);
    background: transparent;
	  height: 150px;
    background: transparent;
}
#mastheader:before {
  content:  "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(to bottom, rgba(36,47,95,0.65) 0%,rgba(36,47,95,0) 100%);
  z-index: 2;
}
#mastheader.scrolled{
  height: 90px;
  background: #fff;
  box-shadow: 0px 0px 40px -33px rgba(0,0,0.3);
}
#mastheader.scrolledfull {
  top: -180px;
}
#mastheader.scrolledfull.nav-down{
  top: 0px;
}
#pl-10{
margin-top: 150px;
}
#herotext h1 {
  font-size: clamp(32px, 4.5vw, 86px);
  font-weight: 600;
  line-height: 1.1;
  margin: 20px 0;
  letter-spacing: 2px;
}
#scrolldown {
  appearance: none;
  -webkit-appearance: none;
  border: none !important;
  background: none !important;
  width: 50px;
  position: fixed;
  right: 3%;
  bottom: 5%;
}

#scrolldown path {
  fill: #fff;
}
#scrolldown {
  z-index: 10;
  height: 50px;
}
#scrolldown svg {
  width: 100%;
  height: auto !important;
}

.callto .textwidget {
  width: 100% !important;
  text-align: right;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: end;
  max-width: 100% !important;
}
.callto h4 {
  margin-right: 320px;
  position: relative;
  font-weight: 400;
  font-size: 26px
}
.callto h4:after {
  content: "";
  position: absolute;
  height: 2px;
  width: 100%;
  background: #000;
  top: 16px;
  left: 110%;
}
.callto {
  margin-top: 40px;
}

.more-btn {
  background: var(--ftg-orange);
  color: #fff !important;
  padding: 12px;
  display: inline-block;
  text-align: center;
  border-radius: 60px;
  font-weight: 500;
  min-width: 210px;
  font-size: 18px;
}
#hero .more-btn {
  min-width: 270px;
}
#hero .more-btn{
  margin-top: 10px;
}
#spider_popup_wrap {
  z-index: 1000000 !important;
}

#no-herosub {
  padding-top: 210px;
}
.content-section.no-pdt {
  padding-top: 0 !important;
}
body:not(.home) .more-btn,
body:not(.home) .more-btn-alt{
  margin-top: 10px;
}
.more-btn-alt {
  background: transparent;
  border: 2px solid #fff;
  color: #fff !important;
  padding: 10px;
  display: inline-block;
  width: 230px;
  text-align: center;
  font-weight: 500;
  border-radius: 60px;
  font-size: 18px;
  margin-left: 25px;
  text-shadow: 0px 0px 10px rgba(0,0,0,.4);
}
.more-btn-alt {
  margin-right: 20px;
}


.content-section.balcony-type {
  align-items: center !important;
}
.content-section.balcony-type.box-l .panel-grid-cell:first-of-type,
.content-section.balcony-type.box-r .panel-grid-cell:last-of-type {
  width: 42% !important;
}
.content-section.balcony-type.box-l .panel-grid-cell:last-of-type,
.content-section.balcony-type.box-r .panel-grid-cell:first-of-type {
  width: 58% !important;
}

.balcony-type .textwidget {
  width: 80%;
  margin: 0 auto;
  max-width: 450px;
}
#product-types-outer {
  _background: #f8f8f8;
}
.content-section.balcony-type {
  background: #fff;
  padding: 0;
  margin: 100px auto;
}

.stretch .sow-image-container {
  min-height: 390px;
  max-height: 390px;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 390px;
  _border-radius: 5px;
  overflow: hidden;
}
.stretch img {
  position: absolute !important;
  width: 100%;
  height: 100% !important;
  left: 0;
  top: 0;
  object-fit: cover;
  display: block;
}
.balcony-type.box-r .textwidget {
  margin: 0 auto 0 10% !important;
}
#pg-10-0 {
  _padding: 0 2% 0;
  position: sticky;
  top: 0px;
  z-index: 2;
}
.gm-svpc, .gm-fullscreen-control {
  display: none !important;
}
.gm-style-cc {
  display: none !important;
}
#starttext .textwidget,
.starttext .textwidget {
  max-width: 980px;
}
#starttext,
.starttext{
width: 72%;
}

/* .current-menu-parent > a,
.current-menu-parent > a:after {
  color: var(--ftg-orange) !important;
} */

#benefits {
  height: 67vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  position: relative;
  background-attachment: fixed;
  text-align: left;
}
#benefits .panel-grid-cell {
  padding: 90px 0;
  width: 72%;
  max-width: 1480px;
  position: absolute;
  margin: 0px auto;
  right: 14%;
  height: 100%;
}
.bwg-item {
  padding: calc(20px / 2) !important;
}
#benefits .panel-grid-cell .textwidget {
  background: #fff;
  position: absolute;
  padding: 40px;
  right: 0;
  top: 50%;
  text-align: left;
  transform: translateY(-50%);
  min-width: 480px;
}
#benefits .panel-grid-cell .textwidget h3 {
  margin-top: 5px;
  margin-bottom: 15px;
}
#benefits .textwidget p {
  margin: 9px 0;
}

.inner-mastheader {
  position: relative;
  height: 100%;
  width: 90%;
  margin: 0px auto;
  max-width: 1480px;
  opacity: 0;
  transition: all .3s cubic-bezier(.455,.03,.515,.955), opacity .7s cubic-bezier(.455,.03,.515,.955);
    -webkit-transition: all .3s cubic-bezier(.455,.03,.515,.955), opacity .7s cubic-bezier(.455,.03,.515,.955);
}
#mastheader.loaded .inner-mastheader {
  opacity: 1;
}

.flex{
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
}
#menu-main-menu {
  position: relative;
  min-height: 100% !important;
  align-items: center;
}


hr {
  border: none;
    border-top-color: currentcolor;
    border-top-style: none;
    border-top-width: medium;
  border-top: 1px solid;
  margin: -15px 0;
}
ul#menu-main-menu > li > .sub-menu {
  position: absolute;
  background: var(--ftg-orange);
  width: 100%;
  min-width: 280px;
  text-align: left !important;
  padding: 10px 0px 10px;
  box-sizing: border-box;
  left: 0px;
  z-index: 100000;
  box-shadow: 0px 8px 20px -13px rgba(0,0,0,0.4);
  top: calc(100%);
  display: none;
  backdrop-filter: blur(1px);
}

#ueberuns .content-section ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}
#ueberuns .content-section ul li{
  position: relative;
    padding-left: 20px;
}
#ueberuns .content-section ul li:before{
  position: absolute;
  content: "–";
  color: var(--ftg-orange);
  top: -1px;
  left: 0;
  
}
#services-home .more-btn {
  font-size: 20px;
  max-width: 182px;
  transform: scale(.85);
  transform-origin: left top;
  min-width: unset !important;
  padding-top: 10px !important;
  padding-bottom: 12px !important;
  margin-top: 30px;
}
.content-section h3 {
  font-size: 32px;
  margin-bottom: 22px;
  color: var(--ftg-orange);
  font-weight: 600;
}
.ref-row img{
  transition: 0.7s ease-in-out;
}
.ref-row .panel-grid-cell .so-panel{
  overflow: hidden;
}
.ref-row .panel-grid-cell:hover img{
  transform: scale(1.1);
}
.pnmt p {
  margin-top: 0;
}
.content-section h2 a {
  color: var(--ftg-blue);
  text-decoration: none;
}
.ngg-galleryoverview.default-view {
  margin-bottom: -30px !important;
}
.last .ngg-galleryoverview.default-view {
  margin-bottom: 0px !important;
}
.home #ueberuns .content-section ul strong,
.page-id-149 #ueberuns .content-section ul strong {
  _font-weight: 300;
  font-size: 21px;
  _display: block;
  margin-top: 10px;
  margin-bottom: 10px;
}
.content-section ul li{
  font-size: 21px;
    margin-top: 10px;
  margin-bottom: 10px;
}
.menu-item-has-children > a::after {
  content: "\e64b";
  font-size: 17px;
  color: #fff;
  font-family: themify;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  top: 2px;
  left: 8px;
}
.menu-item-has-children > a {
  padding-right: 10px;
}

.post-content > .panel-layout > .panel-grid:not(#pg-10-0) {
  position: relative;
  z-index: 3;
  background: #fff;
}

#herosub {
  height: 65vh;
  margin-top: 140px;
  background-size: cover;
  background-position: 50% 38%;
}

.subon{
  height: auto !important;
}
nav ul#menu-main-menu li .sub-menu li {
  text-align: left;
  margin-left: 0 !important;
  margin-bottom: 15px;

}
nav ul#menu-main-menu li .sub-menu li:last-of-type{
  margin-bottom: 0px;
}
nav ul#menu-main-menu li .sub-menu li .sub-menu a{
  
  font-size: 14px;
}
ul#menu-main-menu li .sub-menu li:first-child{
  margin-top: 0 ;
}
nav ul#menu-main-menu li {
  position: relative;
}
ul#menu-main-menu li .sub-menu li .sub-menu li {
  margin: 7px 0 ;
  padding-left: 16px !important;
  position: relative;
  line-height: 2;
}
ul#menu-main-menu li .sub-menu li .sub-menu li:before {
  content: "–";
  position: absolute;
  left: 0px;
  color: #fff;
}
nav ul {
  padding: 0;
	margin: 0;
	text-align: left;
}
nav ul li {
    list-style: none;
    display: block;
    position: relative;
    text-align: left;
    margin: 0 !important;
    padding: 0 0 0 10% !important;
    -webkit-transition: 0.3s ease-in-out all;
    -moz-transition: 0.3s ease-in-out all;
    -o-transition: 0.3s ease-in-out all;
    -ms-transition: 0.3s ease-in-out all;
    transition: 0.3s ease-in-out all;
}
nav ul li a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  font-size: 4.5vw;
  font-size: clamp(34px,4.5vw,42px);
  display: inline-block;
  -webkit-transition: 0.3s ease-in-out all;
  -moz-transition: 0.3s ease-in-out all;
  -o-transition: 0.3s ease-in-out all;
  -ms-transition: 0.3s ease-in-out all;
  transition: 0.3s ease-in-out all;
  line-height: 1.6;
  padding-bottom: 8px;
  padding-top: 8px;
  position: relative;
  z-index: 200;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 1px;
  font-size: 17px;
  text-transform: uppercase;
  border-bottom: 4px solid transparent !important;
}
nav ul#menu-main-menu > li {
  margin-top: 20px !important;
}
nav ul li:hover > a,
.current-menu-item > a,
.sub-menu a:hover{
  color: #fff;
  border-bottom: 4px solid var(--ftg-orange) !important;
}

.prefixed nav ul li a {
  color: #323232;
}
.scrolled nav ul li:hover > a,
.scrolled .current-menu-item > a,
.scrolled .sub-menu a:hover{
  color: var(--ftg-blue);
  border-bottom: 4px solid var(--ftg-orange) !important;
}
.scrolled .site-branding {
  max-width: 230px;
  height: 67px;
}
nav ul li > a:after{
  -webkit-text-stroke: .6px;
}
/* nav ul li > a:after{
  -webkit-transition: 0.3s ease-in-out all;
  -moz-transition: 0.3s ease-in-out all;
  -o-transition: 0.3s ease-in-out all;
  -ms-transition: 0.3s ease-in-out all;
  transition: 0.3s ease-in-out all;
  display: inline-block;
}
nav ul li:hover > a:after{
  transform: rotate(180deg);
} */
.sub-menu a {
  font-size: 19px;
  
}
/* #menu-main-menu > li > a::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #111;
  position: absolute;
  bottom: -8px;
  left: 0;
  -webkit-transition: 0.3s ease-in-out all;
  -moz-transition: 0.3s ease-in-out all;
  -o-transition: 0.3s ease-in-out all;
  -ms-transition: 0.3s ease-in-out all;
  transition: 0.3s ease-in-out all;
}
#menu-main-menu > li:hover > a::after,
#menu-main-menu > li.current-menu-ancestor > a::after,
#menu-main-menu > li.current-menu-item > a::after{
  width: 100%;
} */

.scrolled .sub-menu a{
  color: #fff;
}
.scrolled .menu-item-has-children > a::after{
  color: #323232
}
#n2-ss-2 {
  height: calc(100vh - 150px);
}

.parallax .panel-grid-cell {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding-left: 10%;
}
.parallax a {
  display: block;
  text-align: left;
  max-width: 290px;
  color: #fff !important;
  border: 2px solid #fff;
  text-align: center;
  padding: 16px 20px;
  border-radius: 46px;
  font-weight: 500;
  -webkit-transition: 0.3s ease-in-out all;
  -moz-transition: 0.3s ease-in-out all;
  -o-transition: 0.3s ease-in-out all;
  -ms-transition: 0.3s ease-in-out all;
  transition: 0.3s ease-in-out all;
}
.parallax a:hover{
  color: #27348b !important;
  background-color: #fff;
}
.parallax .panel-grid-cell h3 {
  font-size: 30px;
  text-align: left;
  font-weight: 500;
  letter-spacing: 1.9px;
  text-transform: uppercase;
  max-width: 760px;
  line-height: 1.7;
}
.contact-link {
  position: fixed;
  right: 0;
  top: 20%;
  z-index: 1000;
}
.contact-link a {
  background: #27348b;
  display: block;
  width: 55px;
  height: 55px;
  left: 0;
  padding: 10px 9px 4px 9px;
  -webkit-transition: 0.5s ease-in-out all;
  -moz-transition: 0.5s ease-in-out all;
  -o-transition: 0.5s ease-in-out all;
  -ms-transition: 0.5s ease-in-out all;
  transition: 0.5s ease-in-out all;
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
}
.contact-link.loaded a {
  transition-delay: .6s;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}
.contact-link a img {
  width: 100%;
  height: auto;
}
nav ul#menu-main-menu {
  width: 100%;
  display: flex;
  align-items: center;
  position: absolute;
  right: 0 !important;
  width: auto;
}
nav ul#menu-main-menu li {
  padding-right: 0 !important;
  padding-left: 0 !important;
  display: block;
  margin: 0px auto;
  text-align: center;
  margin-left: 40px !important;
}
nav ul#menu-main-menu li .sub-menu > li {
  padding-left: 20px !important;
  padding-right: 20px !important;
}


.site-branding {
  position: absolute;
  left: 0;
  top: 54%;
  transform: translateY(-50%);
  z-index: 20000;
  max-width: 250px;
  width: 100%;
  transition: all .3s cubic-bezier(.455,.03,.515,.955);
  -webkit-transition: all .3s cubic-bezier(.455,.03,.515,.955);
  height: 92px;
}
#leistungen-home .so-widget-image,
#leistungen-sub .so-widget-image {
  transform: scale(.8);
  opacity: .1;
  transition: all .75s cubic-bezier(.455,.03,.515,.655);
  -webkit-transition: all .75s cubic-bezier(.455,.03,.515,.655);
}
footer p {
  line-height: 1.7;
}
#leistungen-home .so-widget-image.visible,
#leistungen-sub .so-widget-image.visible {
  transform: scale(1);
  opacity: 1;
}
.site-branding a {
  display: block;
}
.scrolled .site-branding {
  max-width: 200px;
}
nav ul#menu-main-menu > li {
  margin-top: 20px !important;
  transition: all .3s cubic-bezier(.455,.03,.515,.955);
  -webkit-transition: all .3s cubic-bezier(.455,.03,.515,.955);
}
ul#menu-main-menu  li .sub-menu li{
  margin-top: 20px;
}
ul#menu-main-menu  > li > .sub-menu > li{
margin: 10px 0 10px !important;
}

.scrolled ul#menu-main-menu > li {
  margin-top: 0px  !important;
}
.scrolled .site-branding {
  top: 50%;
}
.styled_submenu {
  background-size: cover;
  background-position: center;
  min-height: 50vw;
}
nav ul#menu-main-menu > li {
  margin-top: 0 !important;
}
.site-branding img {
width: 100%;
height: auto;
}


.service-tiles .panel-grid-cell {
  display: flex;
  flex-wrap: wrap;
}
.service-tiles .panel-grid-cell .so-panel {
  width: 33.333%;
  margin: 0 !important;
}
.service-tiles h3 {
  margin: 0;
}
.service-tiles .panel-widget-style {
  aspect-ratio: 1;
  position: relative;
  background-size: cover;
}
.service-tiles .panel-widget-style:before {
content: "";
  _background: radial-gradient(ellipse at center, rgba(0,0,0,0.2) 0%,rgba(0,0,0,0.65) 90%);
  background: linear-gradient(13deg, rgba(36,47,95,.9) 20%,rgba(36,47,95,0) 80%);
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 1;
}
.service-tiles .panel-widget-style .textwidget {
  color: #fff;
  position: absolute;
  bottom: 40px;
  left: 40px;
  width: calc(100% - 80px);
}


#mastheader::before{
  transition: 0.25s ease-in-out;
}
#mastheader.prefixed::before{
  opacity: 0;
}

#metaheader {
  position: absolute;
  z-index: 10000000;
  top: 24px;
  text-align: right;
  width: 90%;
  left: 5%;
  color: #111;
}
.meta-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: right;
  align-items: center;
}

#metaheader {
  display: flex;
  justify-content: end;
  align-items: center;
}
.meta-box {
  margin-left: 40px;
}
.meta-box a {
  color: #fff;
  text-decoration: none;
}
.mb-icon {
  font-size: 24px;
  margin-right: 10px;
}
.mb-content {
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 2px;
}

.mobilMenu .text {
  position: absolute;
  letter-spacing: .6px;
  top: 13px;
  font-size: 24px;
  left: 64px;
  font-weight: 300;
  font-family: Outfit;
  color: #393339;
}
.mobilMenu {
  position: absolute;
  right: -8px;
  top: 50%;
  z-index: 2000000;
  height: 60px;
  width: 65px;
  padding: 15px 0;
  display: none;
  transform: translateY(-50%) scale(.85);
}
#nav-icon {
  width: 40px;
  height: 32px;
  position: relative;
  margin: 0px auto;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}
#nav-icon span{
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #000;
  border-radius: 1px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}
#argal img {
  aspect-ratio: 1.4;
  object-fit: cover;
}
#argal .fittop img {
  object-position: 50% 20%;
}
#nav-icon.open span,
.sticky #nav-icon.open span,
.normalizeLogo #nav-icon span{
  background: #000 !important;
}
.whiteNavigationItem #nav-icon span,
.whiteNavigationItem2 #nav-icon span{
  background: #000 !important;
}
.whiteNavigationItem #nav-icon.open span,
.whiteNavigationItem2 #nav-icon.open span{
  background: #000 !important;
}
#nav-icon span:nth-child(1) {
  top: 0px;
}

#nav-icon span:nth-child(2),#nav-icon span:nth-child(3) {
  top: 12px;
}

#nav-icon span:nth-child(4) {
  top: 24px;
}

#nav-icon.open span:nth-child(1) {
  top: 8px;
  width: 0%;
  left: 50%;
}

#nav-icon.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#nav-icon.open span:nth-child(4) {
  top: 8px;
  width: 0%;
  left: 50%;
}

.page-id-20 .wpcf7-form-control.wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid;
  padding-top: 10px;
  padding-bottom: 10px;
}
.page-id-20 .wpcf7-form-control.wpcf7-checkbox > span {
  margin-left: 0;
  width: 50% !important;
}
.wpcf7, .wpcf7 table, .wpcf7 tbody, .wpcf7 tr{
	width: 100%;
}
.wpcf7 td {
    padding-top: 20px !important;
    padding-right: 0 !important;
}
.wpcf7 br {
    display: none;
}
.label-col {
  width: 310px;
  vertical-align: top !important;
}
.wpcf7 ::placeholder {
  font-size: 14px !important;
  font-weight: 400 !important;
}
.wpcf7 input, .wpcf7 textarea, .wpcf7 select {
  background: #fff;
	border: none;
  padding: 9px;
  width: 100%;
  margin-bottom: 5px;
	font-family: 'Outfit', sans-serif;
	box-sizing: border-box;
	font-size: 14px;
	resize: none;
	border-bottom: 1px solid #111;
  outline: none !important;
}
.wpcf7 select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border: none;
	padding: 8px;
}
.select-wrapper {
      position: relative;
}
.select-wrapper::before {
    content: "\e64b";
    font-family: 'themify';
    font-size: 16px;
    position: absolute;
    right: 11px;
    top: 6px;
    color: #0c2d5f;
    z-index: 100;
    font-weight: bold;
}

#map {
  height: 65vh;
}
#map::before {
  content: "";
  background: linear-gradient(to bottom, rgb(255, 255, 255) 0%,rgba(255,255,255,0) 100%);
  height: 100px;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 100;
}
.gm-style-moc {
  display: none !important;
}
.wpcf7-form-control.wpcf7-submit {
    background: var(--ftg-blue);
    color: #fff !important;
    padding: 12px;
    display: inline-block;
    text-align: center;
    border-radius: 3px;
    font-weight: 500;
    min-width: 210px;
    font-size: 19px;
  -webkit-transition: 0.3s ease-in-out all;
  -moz-transition: 0.3s ease-in-out all;
  -o-transition: 0.3s ease-in-out all;
  -ms-transition: 0.3s ease-in-out all;
  transition: 0.3s ease-in-out all;
  border: none;
}
.job_description-after p {
  text-align: center;
  margin-top: 50px;
  line-height: 1.9;
  max-width: unset;
  margin-left: auto;
  margin-right: auto;
}
.page-id-332 .btn-endrow .arrow-btn::after {
  top: 16px;
}
.page-id-332 .arrow-btn {
  max-width: 470px;
}
.page-id-332 .btn-endrow .arrow-btn {
  max-width: 410px;
}
.wpcf7-form-control.wpcf7-submit:hover{
  color: #fff !important;
  background-color: #3d903b;
}
.page-id-169 #hero {
  height: 60vh !important;
}
.wpcf7-form {
  margin-left: 13%;
  padding-right: 10%;
  margin-top: 70px;
}
.wpcf7-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.wpcf7-form p {
  width: 46%;
  margin: 0 0 20px !important;
  padding: 0;
}
.wpcf7-form p:nth-child(6), .wpcf7-form p:nth-child(7) {
  width: 100% !important;
}
.wpcf7 label {
  color: #646466;
  font-weight: 300;
  font-size: 15px;
  margin-bottom: 5px;
  display: block;
  margin-top: 5px;
  text-transform: uppercase;
}
input[type="checkbox"] {
  display: inline !important;
  width: 20px !important;
  padding: 30px !important;
  height: 20px !important;
  appearance: auto !important;
  max-width: unset !important;
  display: inline !important;
  margin-left: 0;
}
input[type='text'], input[type='submit'],
input[type='email'], input[type='tel'],
input[type='date']{
	-webkit-appearance: none;
	-webkit-border-radius:0px;
}
.wpcf7-list-item-label {
  font-size: 14px;
  text-transform: none;
  margin-left: 2px;
  position: relative;
  top: -3px;
}
.wpcf7-acceptance .wpcf7-list-item {
  margin-left: 0;
}



/* HEROSECTION */

  #hero {
    height: 100%;
    width: 100%;
    position: relative;
    margin-bottom: 0px;
    /* background-size: cover !important;
    background-position: 50% 70% !important; */
    background: #faf9f7;
      overflow: hidden;
    } 


#hero::after {
  content: "";
  _background: radial-gradient(ellipse at center, rgba(0,0,0,0.2) 0%,rgba(0,0,0,0.65) 90%);
  background: linear-gradient(13deg, rgba(36,47,95,.9) 20%,rgba(36,47,95,0) 80%);
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 1;
}

.hero-img {
  height: 100vh;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}
#hero {
  height: 100vh;
  overflow: hidden;
}
.hero-img img{
  object-fit: cover;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  object-fit: center
}
#hero h1 + p {
  font-size: 28px;
  font-weight: 400;
}

#herotext {
  color: #fff;
  position: absolute;
  z-index: 100;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  width: 82%;
  max-width: 1480px;
  text-align: left;
}
.textwidget h1, .textwidget h2, .textwidget h3, .textwidget h4, .textwidget h5,  .textwidget h6, .textwidget p, .textwidget li{
  opacity: 0;
  transform: translateY(40px);
  -webkit-transition: .7s ease-in-out;
  -moz-transition: .7s ease-in-out;
  -o-transition: .7s ease-in-out;
  transition: .7s ease-in-out;
}
/* #pg-9-3{
  background: #232d59 !important;
  color: #fff;
}
#pg-9-3 h2{
  color: #fff;
} */
#hero .panel-grid-cell:first-of-type{
  opacity: 0;
  -webkit-transition: .9s ease-in-out;
  -moz-transition: .9s ease-in-out;
  -o-transition: .9s ease-in-out;
  transition: .9s ease-in-out;
}
#hero.visible .panel-grid-cell:first-of-type{
  opacity: 1;
}

.textwidget h1.visible, .textwidget h2.visible, .textwidget h3.visible, .textwidget h4.visible, .textwidget h5.visible,  .textwidget h6.visible, .textwidget p.visible, .textwidget li.visible{
  opacity: 1;
  transform: translateY(0px);
}

.styled_submenu .siteorigin-widget-tinymce.textwidget {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.styled_submenu .siteorigin-widget-tinymce.textwidget p {
  width: 50%;
  text-align: center;
  margin-top: 6.5vw;
  font-size: 1.35vw;
}
.styled_submenu .siteorigin-widget-tinymce.textwidget {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding-top: 4vw;
}
#herotext h2 {
  line-height: 1.4;
  font-weight: 450;
  letter-spacing: 4px;
  font-size: 32px;
}
#herotext h2 {
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 4px;
  font-size: 38px;
  max-width: 670px;
}

#herotext h1,
.arrow-down {
opacity: 0;
transition: 0.7s ease-in !important;
z-index: 5;
}

#herotext.loaded h1,
.arrow-down.loaded {
  opacity: 1;
}
#herotext h2 strong {
  font-size: 46px;
  display: block;
  margin-bottom: -40px;
}

#aktuelles {
  padding-bottom: 100px;
}
h1 strong {
  font-size: 38px;
  font-weight: 400;
}
.arrow-down {
  position: absolute;
  z-index: 1000;
  color: #fff;
  font-size: 45px;
  bottom: calc(10% + 30px);
  right: 4.5%;
  cursor: pointer;
}
#whyus .panel-grid-cell:not(:last-of-type)::after {
  content: "";
  width: 1px;
  height: 100%;
  background: #fff;
  position: absolute;
  top: 0;
  right: -6.5%;
}

footer{
  background: var(--ftg-blue);
  color: #fff;
  position: sticky;
  bottom: 0;
  z-index: 1;
}
footer a{
  color: #fff !important;
}
footer .so-widget-image {
  display: block;
  margin-top: 20px;
  max-width: 156px !important;

}
.open_submenu{
  display: none;
}



#herosub:after {
  content: "";
  background: linear-gradient(to top, rgba(0,0,0,0.22) 0%,rgba(0,0,0,0) 100%);
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
#bwg_thumbnails_mosaic_0 {
  width: 100% !important;
}
#grey-section {
  background: #f6f6fb;
  padding: 60px 0;
}
.so-widget-sow-tabs {
  max-width: 1480px;
  width: 74%;
  margin: auto;
  background: none !important;
}
.sow-tabs-panel {
  padding: 0 !important;
  background: transparent !important;
}
#bwg_container3_0 {
  background: none !important;
}
.sow-tabs-panel-container {
  background: none !important;
}
.sow-tabs-tab-container {
  background: none !important;
  padding: 0 !important;
}
#grey-section .widget-title {
  _text-align: center !important;
}
.bwg_loading_div_2 {
  background: transparent !important;
  border: none !important;
}
.bwg-a.bwg_load_btn {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  padding: 10px !important;
  display: block;
  max-width: 200px;
  margin: 30px auto 0 !important;
}
.sow-tabs-tab-container, #grey-section h3 {
  padding-left: 8px !important;
}
.sow-tabs-tab.sow-tabs-tab-selected {
  background: #0056b3 !important;
  color: #fff !important;
  border: 1px solid #0056b3;
}
.sow-tabs-tab {
  background: #fff;
  color: #0056b3 !important;
  border: 1px solid #e9e9e9;
  border-radius: 3px;
  padding: 12px !important;
}

#grey-section.grey-section-referenzen {
  padding-top: 0 !important;
  margin-top: -50px !important;
  background: none !important;
  padding-bottom: 80px;
}

/* REFERENZEN TEMP*/
#pl-390 {
  min-height: 100vh !important;
  background: #fff;
}


@media all and  (max-width: 1280px){

  .site-branding {
    max-width: 180px;
  }
  nav ul li a,
  .sub-menu a {
    font-size: 17px;
  }
}

@media all and  (max-width: 1150px){
.navbar.navbar-fixed-top {
  position: fixed;
  left: 0;
  width: 100%;
  top: 0;
  height: 100vh;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  transition: 0.6s cubic-bezier(.455,.03,.515,.955);
}
.navbar.navbar-fixed-top.visible {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.open_submenu {
  background: top;
  color: #000;
  padding: 17px 19px;
  display: block;
  line-height: 1;
}
ul#menu-main-menu > li:hover .open_submenu {
  color: #fff;
  background: #0056b3;
}
nav ul li a,
.sub-menu a {
  font-size: 21px;
}
.sub-menu a {
  font-size: 19px;
}
nav ul#menu-main-menu li .sub-menu > li {
  padding-left: 0px !important;
  padding-right: 0px !important;
}
ul#menu-main-menu > li > .sub-menu {
  padding-top: 0;
}
ul#menu-main-menu > li > a {
  width: calc(100% - 60px);
  padding: 10px 10px 10px 0;
}
ul#menu-main-menu > li > .sub-menu {
  position: static;
  box-shadow: none;
  border-top: 1px solid #dedede;
}
ul#menu-main-menu > li > .sub-menu li{
  padding-left: 0 !important;
}
.menu-item-has-children > a::after{
  display: none;
}
.noscroll {
  overflow: hidden;
}
nav ul#menu-main-menu > li {
  width: 100%;
  border-bottom: 1px solid;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
nav ul#menu-main-menu li{
  margin-left: 0 !important;
}
nav ul#menu-main-menu {
  display: flex;
  align-items: center;
  position: absolute;
  left: 50%;
  width: 100%;
  _max-width: 774px;
  flex-flow: column;
  min-height: unset !important;
  top: 150px;
  transform: translateX(-50%);
  right: auto;
  
}
nav ul#menu-main-menu > li{
width: 90%;
  max-width: 774px;
}
nav ul#menu-main-menu {
  height: calc(100vh - 155px);
  height: calc((var(--vh, 1vh) * 100) - 155px) !important;
  overflow: auto;
}
.inner-mastheader {
  max-width: 774px;
}
.mobilMenu {
  display: block;
}
ul#menu-main-menu > li .open_submenu.active_sub {
  color: #fff;
  background: #0056b3;
}
.open_submenu,
.open_submenu span{
  transition: 0.3s ease-in-out;
}
.open_submenu.active_sub span {
  transform: rotate(45deg);
  display: block;
}

}



@media all and  (max-width: 1090px){
.callto .textwidget {
  width: 100% !important;
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 100% !important;
}
.callto h4::after {
  display: none;
}
.callto h4 {
  margin-right: 40px;
  position: static;
  font-weight: 400;
  font-size: 26px;
  width: calc(100% - 230px);
  margin: 0;
  text-align: left !important;
}
}

@media all and  (max-width: 1024px){
  .sow-tabs-tab{
    margin-bottom: 15px !important;
    width: calc(50% - 15px);
  }
}

@media all and  (max-width: 991px){

  nav ul#menu-main-menu {
    height: calc(100vh - 105px);
    height: calc((var(--vh, 1vh) * 100) - 105px) !important;
    overflow: auto;
  }

/* KONFIGURATOR FORM */
  
  .label-col {
    width: 100% !important;
    display: block;
  }
  .wpcf7 td.form-col {
    width: 100% !important;
    display: block;
    padding-right: 0 !important;
  }

  /* KONFIGURATOR FORM */

  .so-widget-sow-tabs {
    max-width: 690px;
    width: 90%;
    margin: auto;
    background: none !important;
  }
#starttext, .starttext {
  width: 90%;
  padding-top: 60px;
  max-width: 680px;
}
.inner-mastheader {
  max-width: 680px;
}
#leistungen-sub .panel-grid-cell .panel-grid-cell {
  width: 100%;
  margin-bottom: 30px;
  margin-top: 0;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.site-branding, #mastheader.scrolled .site-branding{
  max-width: 180px !important;
}
.scrolled .site-branding {
  top: 54%;
}
#bkkonf {
  align-items: center !important;
  border: 1px solid;
  margin-top: 30px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
#bkkonf .panel-grid-cell {
  width: 100% !important;
}
#bkkonf .sow-image-container {
  max-height: 400px;
  overflow: hidden;
  position: relative;
  height: 400px;
  width: 100%;
}
#bkkonf .sow-image-container img {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  object-fit: cover;
}
#bkkonf .textwidget {
  padding: 0 30px 10px;
}
.content-section {
  padding: 60px 0;
  width: 90%;
}
#leistungen-home .panel-grid-cell .panel-grid-cell {
  width: 100% !important;
  margin-bottom: 30px;
  margin-top: 0px;
  margin-left: auto !important;
  margin-right: auto !important;
}
#leistungen-home{
  max-width: 680px;
  width: 90% !important;
  margin-left: auto;
  margin-right: auto;
}
.home #starttext{
  padding-bottom: 0 !important;
}
#leistungen-home .panel-grid-cell .panel-grid-cell:nth-of-type(2) {
  margin-top: 0px;
}
.balcony-type.box-l, .balcony-type.box-r {
  width: 100% !important;
}
.balcony-type.box-l .panel-grid-cell, .balcony-type.box-r .panel-grid-cell,
.content-section.balcony-type.box-l .panel-grid-cell:first-of-type, .content-section.balcony-type.box-r .panel-grid-cell:last-of-type,
.content-section.balcony-type.box-l .panel-grid-cell:last-of-type, .content-section.balcony-type.box-r .panel-grid-cell:first-of-type{
  width: 100% !important;
}
#product-types-outer .panel-grid {
  flex-flow: column !important;
  width: 90% !important;
  margin-left: auto;
  margin-right: auto;
  max-width: 680px;
}
.balcony-type .textwidget {
  width: 100%;
  margin: -30px auto 0;
  max-width: unset;
}

.parallax .panel-grid-cell{
  position: relative;
  transform: unset;
}

#benefits > .panel-grid-cell {
  padding: 90px 0;
  width: 72%;
  max-width: 1480px;
  position: absolute;
  margin: 0px auto;
    margin-right: auto;
  right: auto;
  height: 100%;
  left: 0%;
  top: 0;
}
#benefits .panel-grid-cell .textwidget {
  background: #fff;
  position: absolute;
  padding: 40px;
  right: 0;
  top: 50%;
  text-align: left;
  transform: translateY(-50%);
  min-width: 480px;
  max-width: 480px;
  left: 50%;
}
#benefits div {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
#benefits .panel-grid-cell .textwidget {
  background: #fff;
  position: absolute;
  padding: 40px;
  right: 0;
  top: 50%;
  text-align: left;
  transform: translateY(-50%) translateX(-50%);
  min-width: unset !important;
  max-width: 480px;
  left: 50%;
  width: 90% !important;
}
.balcony-type.box-r .textwidget {
  margin: 0 auto 0 0% !important;
}
.balcony-type.box-r {
  flex-flow: column-reverse !important;
  margin-top: 40px;
  margin-bottom: 40px;
}
.balcony-type.box-l {
  margin-bottom: 40px;
  margin-top: 40px;
}

.balcony-type.box-l > .panel-grid-cell,
.balcony-type.box-r > .panel-grid-cell:first-of-type{
  margin-bottom: 30px !important;
}
#product-types-outer{
  padding-top: 40px;
}
footer .content-section .panel-grid-cell {
  text-align: center;
  margin-bottom: 0 !important;
}
footer .content-section .panel-grid-cell:nth-of-type(3) .siteorigin-widget-tinymce.textwidget p:first-of-type{
  margin-bottom: -15px;
}
footer .content-section .panel-grid-cell:last-of-type .siteorigin-widget-tinymce.textwidget p:first-of-type {
  display: none;
}
footer .content-section .panel-grid-cell:last-of-type .siteorigin-widget-tinymce.textwidget p:last-of-type {
  display: flex;
  flex-wrap: wrap;
  align-items: ;
  justify-content: center;
}
footer .content-section .panel-grid-cell:last-of-type .siteorigin-widget-tinymce.textwidget p:last-of-type a {
  font-size: 16px;
  margin-left: 10px;
  margin-right: 10px;
}
footer .so-widget-image {
  margin-left: auto;
  margin-right: auto;
}
}

.ios #benefits {
  background-size: cover;
  background-attachment: scroll;
}

@media all and  (max-width: 781px){
  #grey-section.grey-section-referenzen {  
    padding-bottom: 40px;
  }

  #pl-10 {
    margin-top: 100px;
  }
  #leistungen-home .panel-grid-cell .panel-grid-cell a, #leistungen-sub .panel-grid-cell .panel-grid-cell a {
    font-size: 22px;
  }
  #herosub {
    height: 52vh;
    margin-top: 100px;
  }

  nav ul#menu-main-menu {
    top: 95px;
  }
nav ul#menu-main-menu li .sub-menu > li a {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}
ul#menu-main-menu > li:hover .open_submenu {
  color: #000;
  background: transparent;
}

#mastheader{
  height: 100px;
}
#mastheader.scrolled {
  height: 100px;
}
.scrolled .site-branding {
  top: 54%;
}

.site-branding, #mastheader.scrolled .site-branding{
  max-width: 180px !important;
}
#benefits .panel-grid-cell .textwidget {
  background: rgba(255,255,255,.85);
  position: absolute;
  padding: 40px;
  right: 0;
  top: 50%;
  text-align: left;
  transform: translateY(-50%) translateX(-50%);
  min-width: unset !important;
  max-width: 480px;
  left: 50%;
  width: 90% !important;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
#no-herosub {
  padding-top: 130px;
}
#herotext h1 {
  font-size: 42px;
}
h2, body:not(.home) h1 {
  font-weight: 400;
  font-size: 40px;
  margin-bottom: 10px !important;
}
#pg-10-0 {
  position: static !important;
}
#n2-ss-2 {
  height: 70vh;
}
.home #starttext {
  padding-top: 30px;
}
#leistungen-home h2 {
  margin-bottom: 30px !important;
}

}
.container.fullwidth {
  background: #fff;
  position: relative;
  z-index: 2;
}

.ios #pg-10-0 {
  position: static !important;
}

@media all and  (max-height: 640px){
footer {
  position: static;
}
}

.wpcf7-form-control.wpcf7-text.empfehlungvon,
#cam,
.cust-ral  {
  margin-left: 22px !important;
}

.wpcf7 input[type="checkbox"]{
  max-width: 15px !important;
  min-width: 15px !important;
  padding: initial !important;
  margin: 0 6px 0 0;
}
.wpcf7-checkbox label,
.wpcf7-checkbox > span {
  display: flex !important;
  align-items: start !important;
}

.sizeBalcony label {
  display: block !important;
}
.ios .wpcf7 input[type="checkbox"]{
  position: relative;
  top: 2px;
}
/* .az {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
} */

@media all and  (max-width: 680px){
  .preSubmit {
    max-width: unset !important;
    display: inline-block;
    min-width: 100% !important;
    position: relative;
  }
  .wpcf7-form-control.wpcf7-submit {
    max-width: unset !important;
    width: 100% !important;
  }
  .submit-row {
    max-width: unset !important;
  }
  .az td:last-child {
    align-content: revert;
    text-align: left !important;
  }
  .wpcf7-list-item-label{
    _white-space: nowrap;
  }
  .wpcf7 td {
    width: 100% !important;
    display: block;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
  .sow-tabs-tab {
    width: calc(100% - 15px) !important;
    margin-bottom: 10px !important;
  }
  .sow-tabs-tab {
    width: calc(50% - 15px);
  }
  .home #starttext {
    padding-top: 20px;
  }
  #herotext {
    color: #fff;
    position: absolute;
    z-index: 100;
    bottom: 10%;
    left: 9%;
    right: 9%;
  }
  #herotext h1 {
    text-align: center;
    margin-left: auto;
    margin-right: auto !important;
  }
  #herotext h1 {
    font-size: 30px;
  }
  footer .content-section {
    padding: 40px 0 30px !important;
  }
h2, body:not(.home) h1 {
  font-weight: 400;
  font-size: 30px;
  margin-bottom: 10px !important;
}
#leistungen-home h2 {
  margin-bottom: 30px !important;
}
h3 {
  font-size: clamp(18px, 1.2vw, 24px);
  font-weight: 400;
}
#bkkonf .sow-image-container {
  max-height: 40vh;
  min-height: 200px;
}
body:not(.home) .more-btn, body:not(.home) .more-btn-alt {
  margin-top: 20px;
  margin-right: 0;
  width: 100%;
}
#benefits p span {
  display: block;
  position: absolute;
  left: 0;
  top: 1px;
}
#benefits p {
  padding-left: 30px;
}
#herosub {
  height: 40vh;
  margin-top: 100px;
}
#n2-ss-2 {
  height: 50vh;
  min-height: 220px;
}
.callto h4 {
  font-size: 22px;
  width: 100% !important;
}
.callto .textwidget p {
  width: 100%;
}
.home .more-btn {
  width: 100% !important;
  max-width: unset !important;
}
#leistungen-home{
  padding-top: 20px;
}


#hero::before,
#herosub:before {
  content: "";
  background: #f1f1f1;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 100000;
  transition:  .7s cubic-bezier(.455,.03,.515,.955) 1.2s, opacity .7s cubic-bezier(.455,.03,.515,.955) 1.5s;
  -webkit-transition:  .7s cubic-bezier(.455,.03,.515,.955) 1.2s, opacity .7s cubic-bezier(.455,.03,.515,.955) 1.5s;
  animation: colors 3s infinite;
  opacity: 1;
}

@keyframes colors {
    0% {background-color: #e1e1e1;}  
    20% {background-color: #f1f1f1;} 
    45% {background-color: #e1e1e1;}   
    70% {background-color: #f1f1f1;} 
    100% {background-color: #e1e1e1;}  
}
#hero.visible::before,
#herosub.visible:before {
  width: 0%;
  opacity: 0;
}

}

#cookies_tbl td, #cookies_tbl th {
  text-align: left !important;
  font-size: 15px;
  padding-right: 10px;
  border-bottom: 1px solid;
  white-space: -o-pre-wrap; 
  word-wrap: break-word;
  white-space: pre-wrap; 
  white-space: -moz-pre-wrap; 
  white-space: -pre-wrap; 

}
#cookies_tbl {
  margin-top: 30px;
  border-spacing: unset;
  width: 100%;
  background: transparent;
  border-spacing: 12px 0;
  min-width: 800px;
  border-spacing: 0;
  max-width: none;
  position: relative;
}

#pg-221-0 {
  flex-direction: unset !important;
}
.tbl_wrapper {
  width: 100%;
  zoom:1;
  overflow: none;
  overflow-x: auto;
  display: block;
  
  margin: 0 0 1em;
  background: #f9f9f9;
  padding: 10px;
}

.tbl_wrapper::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
}

.tbl_wrapper::-webkit-scrollbar-thumb {
  border-radius: 8px;
  border: 3px solid #fff;
  background-color: rgba(0, 0, 0, .3);
}



.credits {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: .4px;
  text-align: center;
  padding: 0 10px 20px;
  margin-top: -20px;
  opacity: .5;
}



.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.img-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.img-choice {
  border: 2px solid #ddd;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  transition: border 0.2s;
}

.img-choice img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 10px;
}

.services img {
  max-width: 80px !important;
  display: block !important;
  margin-bottom: -15px;
}
#services-home {
  margin-top: -50px;
}
.img-choice input {
  margin-top: 8px;
}
nav ul#menu-main-menu > li {
  margin-top: 20px !important;
}
.services h3 {
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 30px;
}
.services h3::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #c6c6c6;
  position: absolute;
  left: 0;
  bottom: 0;
}
.ref-row img {
  aspect-ratio: .7;
  object-fit: cover;
}
.ref-row .panel-grid-cell {
  position: relative;
}
.ref-row .panel-grid-cell:after {
  content: "";
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  opacity: .7;
}

.ref-row .textwidget {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%)  translateY(-50%);
  z-index: 10;
}
.ref-row .textwidget a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 1px;
}

.cpr {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: .4px;
  text-align: center;
  padding: 0 0px 20px;
  margin-top: -20px;
  opacity: .5;
}
.ft-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 82%;
  max-width: 1480px;
  position: relative;
  margin: 0px auto;
}

.accordeon-arrow {
  width: 40px;
  display: block;
  margin: 10px auto 0;
}
.ref-row .accordeon-arrow path {
  fill: #fff;
}
#scrolldown{
  transition: 0.5s ease-in-out;
  cursor: pointer;
}
#scrolldown.hide{
  opacity: 0;
  pointer-events: none;
}

body:not(.home) #hero{  
  height: 75vh;
}
body:not(.home) #hero h1{
  color: #fff;
}

.current-menu-parent > a{
  color: #fff;
  border-bottom: 4px solid var(--ftg-orange) !important;
}
.current-menu-parent > a::after {
    color: #fff;
}

.scrolled .current-menu-parent > a{
  color: #323232;
  border-bottom: 4px solid var(--ftg-orange) !important;
}
.scrolled .current-menu-parent > a::after {
    color: #323232;
}
body:not(.home)  #herotext p:not(:last-child){
  max-width: unset;
}

#ueberuns .content-section #list-distance ul,
body:not(.home, .page-id-149) .content-section h3{
  margin-left: 13% !important;
  padding-right: 10% !important;
}
