/*------------------------------ACF-Flexible-Content-----------------------------------------*/

.inhaltsbloecke{margin-top: 130px;overflow: hidden;}
div[class^="flx_"], div[class*="flx_"]{padding: 75px 0;}

.leistungsbuttonwrapper span{display:block;font-weight:600;margin-bottom:5px;margin-top:20px;}

.flx_headerblock{position: relative;margin-bottom: 75px!important;padding:0!important}
.flx_headerblock .content{position:absolute;top:25%;z-index:10;width: 50%;}
.flx_headerblock .content .iconbox{width: 50px;}
.flx_headerblock .content .iconbox img{width: 50px;height: auto;}
.flx_headerblock .content .headerbox .headline{color: var(--white);font-size: 300%;font-weight: 600;margin-bottom: 0;}
.flx_headerblock .content .headerbox .subline{color: var(--white);margin-bottom: 0;}
.flx_headerblock .content .headerbox p{color: var(--white);}

.flx_headerblock.mitbild:before{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:var(--main);opacity:0.75;z-index:5}
.flx_headerblock.mitbild .content{bottom: 50px;top: unset;display: flex;align-items: center;gap: 20px;}
.flx_headerblock.mitbild img{width: 100%;}

.flx_headerblock.mitvideo:before{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background: linear-gradient(90deg,rgba(7, 31, 53, 0.7) 0%, rgba(7, 31, 53, 0) 100%);z-index:5}
.flx_headerblock.mitvideo:after{content:'';position:absolute;right:0;bottom:0;left:0;width: 0px;height: 0px;transform:rotate(180deg);border-style: solid;border-width: 100px 2560px 0 0;border-color:var(--white) transparent transparent transparent;z-index:5}

.flx_headerblock.mitfarbe{height:250px;}
.flx_headerblock.mitfarbe .content{top:unset;bottom:20%;}

.flx_headerblock.slider{overflow: hidden;}
.flx_headerblock.slider::after{content:'';position:absolute;right:0;bottom:0;left:0;width: 0px;height: 0px;transform:rotate(180deg);border-style: solid;border-width: 100px 2560px 0 0;border-color:var(--white) transparent transparent transparent;z-index:5;}
.flx_headerblock.slider .swiper-slide::before{content: '';position: absolute;left: 0;top: 0;bottom: 0;width: 50%;height: 100%;z-index: 2;background: rgb(2,0,36);background: linear-gradient(90deg, rgba(2,0,36,0.7693277994791666) 0%, rgba(7,31,53,0.7245098723082983) 35%, rgba(0,212,255,0) 100%); }
.flx_headerblock.slider .swiper-container{width: 100%;height: 90vh;}
.flx_headerblock.slider .swiper-slide{position: relative;width: 100%;height: 70vh;overflow: hidden;background-size: cover;background-position: center;background-repeat: no-repeat;}
.flx_headerblock.slider .static-text-overlay{position: absolute;top: 0;left: 0;width: 100%;height: 100%;display: flex;align-items: center;justify-content: center;z-index: 10;}
.flx_headerblock.slider .static-text-overlay .headline, .flx_headerblock .static-text-overlay p, .flx_headerblock .static-text-overlay p strong{color: var(--white);}
.flx_headerblock.slider .static-text-overlay .headline{font-size: 350%;line-height: 1;margin-bottom: 20px;}
.flx_headerblock.slider .static-text-overlay p{font-size: 150%;}
.flx_headerblock.slider .swiper-button-next, .flx_headerblock .swiper-button-prev{color: var(--white);top: unset;bottom: 52.5px;width: 20px;height: 20px;}
.flx_headerblock.slider .swiper-button-prev{left:calc(50% - 100px);}
.flx_headerblock.slider .swiper-button-next{right: calc(50% - 100px);}
.flx_headerblock.slider .swiper-button-next::after, .flx_headerblock .swiper-button-prev::after{font-size: 20px;}
.flx_headerblock.slider .swiper-pagination-bullet{background: transparent;border: solid 2px var(--white);}
.flx_headerblock.slider .swiper-pagination-bullet-active{background: var(--white);}

.flx_bildblock{margin-bottom:200px;}
.flx_bildblock .inhalt{width:75%;display:block;margin:0 auto;}
.flx_bildblock .imageone{width:75%;display:block;position:relative;}
.flx_bildblock .imageone:after{content:'';display:block;width:100px;height:100px;background:#33CBE5;position:absolute;bottom:-25px;left:-25px;opacity:0.8;}
.flx_bildblock img{width:100%;}
.flx_bildblock .imagetwo{width: 40%;float: right;margin-top: -250px;position: relative;}

.flx_textblock.mitbildrechts .bild, .flx_textblock.mitbildlinks .bild{padding-bottom:200px!important;}
.flx_textblock.mitbildrechts .inner{position:relative;}
.flx_textblock.mitbildrechts .inner img{position:relative;z-index:99;border-radius:20px;}
.flx_textblock.mitbildrechts .inner .secondimage{display:block;width:400px;height:250px;object-fit:cover;position:absolute;bottom:-125px;left:-125px;z-index:100;border-radius:20px;}
.flx_textblock.mitbildlinks .inner{position:relative;}
.flx_textblock.mitbildlinks .inner img{position:relative;z-index:99;border-radius:20px;}
.flx_textblock.mitbildlinks .inner .secondimage{display:block;width:400px;height:250px;object-fit:cover;position:absolute;bottom:-125px;right:-125px;z-index:100;border-radius:20px;}

.flx_textblock.mitkalkulator .kalkulator{margin-top:-115px;position:relative;z-index: 999;}

.flx_seitenteaser .headerbox{text-align:center;}
.flx_seitenteaser .headerbox .inhalt{display:block;max-width:50%;margin:0 auto;}
.flx_seitenteaser .item{padding:55px;background:var(--lightgray);border-radius:20px;margin:15px 0;}
.flx_seitenteaser .item.hintergrundbild{background-size: cover; background-repeat: no-repeat; background-position: center;}
.flx_seitenteaser .item.hintergrundbild *{color: white;}
.flx_seitenteaser .item.hintergrundbild:before{content: ''; display: block; position: absolute; top: 15px; left: 15px; bottom: 15px; right: 15px; border-radius:20px; 
    background: linear-gradient(90deg, rgba(2,0,36,0.7693277994791666) 0%, rgba(7,31,53,0.7245098723082983) 50%, rgba(0,212,255,0) 100%);} 
.flx_seitenteaser .item.hintergrundbild .inner{z-index: 2; position: relative;}
.flx_seitenteaser .item.hintergrundbild .inhalt{z-index: 2; position: relative;}
.flx_seitenteaser .item.hintergrundbild .btn.light:hover{color: white;}
.flx_seitenteaser .item.hintergrundbild .btn.light::after{filter: brightness(0) invert(1);}
.flx_seitenteaser .item .inner{display:flex;flex-direction:row;gap:15px;}
.flx_seitenteaser .item .inner .headerbox{text-align:left;align-content:center;display:block;}
.flx_seitenteaser .item .inner .headerbox .headline{font-size: 130%;margin: 5px 0;}
.flx_seitenteaser .item .inhalt{margin: 25px 0 0 0;min-height: 45px;}
.flx_seitenteaser .icon{height: 70px;}

.flx_blogteaser{background:var(--main);padding:50px 0;}
.flx_blogteaser *{color:var(--white)!important;}
.flx_blogteaser .headerbox{text-align:left;}
.flx_blogteaser .item{display:flex;flex-direction:column;flex:1;width:100%;padding:75px;background:var(--mainhover);border-radius:20px;margin:15px 0;}
.flx_blogteaser .item .inner{display:flex;flex-direction:row;gap:15px; align-items: flex-start;}
.flx_blogteaser .item .inner .icon{max-width:55px; max-height: 55px; height: auto; object-fit: contain;} /* filter:brightness(0) invert(1); */
.flx_blogteaser .item .inner .headerbox{text-align:left;align-content:center;display:block;}
.flx_blogteaser .item .inner .headerbox .headline{margin:5px 0;font-size:130%;}
.flx_blogteaser .item .inhalt{flex:1;margin:25px 0;}
.flx_blogteaser .item .btn.light{margin-top:auto;}
.flx_blogteaser .item .btn.light:after{content:'';display:block;width:20px;height:20px;background:url('../media/right-circle-white.svg');background-repeat:no-repeat;background-position:center;background-size:100%;position:absolute;top:0;right:0;transition:all .3s ease;}
.flx_blogteaser .item .btn.light:hover:after{right:-5px;transition:all .3s ease;}
.flx_blogteaser .slider,.flx_blogteaser .row{margin-top:50px;}
.flx_blogteaser.alsgrid .row>[class*="col-"]{display:flex;}
.flx_blogteaser .slider .owl-stage{display:flex;align-items:stretch;}
.flx_blogteaser .slider .owl-item{display:flex;height:auto;}
.flx_blogteaser .slider .owl-item>div{display:flex;width:100%;}
.flx_blogteaser .slider .owl-item>div>.item{flex:1;}
.flx_blogteaser .slider .owl-nav{position:absolute;top:50%;width:100%;height:50px;transform:translateY(-50%);}
.flx_blogteaser .slider .owl-nav .owl-prev{display:block;width:30px;height:50px;background:url('../media/slider-arrow.svg');background-position:center;background-repeat:no-repeat;background-size:100%;position:absolute;left:-50px;top:0;transform:rotate(180deg);}
.flx_blogteaser .slider .owl-nav .owl-next{display:block;width:30px;height:50px;background:url('../media/slider-arrow.svg');background-position:center;background-repeat:no-repeat;background-size:100%;position:absolute;right:-50px;top:0;}
.flx_blogteaser .slider .owl-dots{display:flex;flex-direction:row;gap:10px;width:100%;align-items:center;justify-content:center;}
.flx_blogteaser .slider .owl-dots .owl-dot{display:block;width:10px;height:10px;background:var(--white);border-radius:50%;transition:all .3s ease;}
.flx_blogteaser .slider .owl-dots .owl-dot.active{width:15px;height:15px;transition:all .3s ease;}



.flx_iconblock{margin:100px 0;}
.flx_iconblock .item{padding:0 25px;}
.flx_iconblock .item img{max-width:35%;margin:0 auto 25px;display:block;}
.flx_iconblock .item .inhalt{text-align:center;}

.flx_kontaktblock.mitbild .wrapper{background:var(--main);position: relative;border-radius:20px;}
.flx_kontaktblock.mitbild .wrapper *{color:var(--white)!important;}
.flx_kontaktblock.mitbild .wrapper .bildinner{padding:0;}
.flx_kontaktblock.mitbild .wrapper .bildinner img{border-top-left-radius:20px;border-bottom-left-radius:20px;height: 100%;object-fit: cover;}
.flx_kontaktblock.mitbild .wrapper .textinner{padding:50px;}
.flx_kontaktblock.mitbild .wrapper .textinner .btn.light:after{content: '';display: block;width: 20px;height: 20px;background: url('../media/right-circle-white.svg');background-repeat: no-repeat;background-position: center;background-size: 100%;position: absolute;top: 0;right: 0;transition: all .3s ease;}
.flx_kontaktblock.mitbild .wrapper .textinner .btn.light:hover:after{right:-5px;transition:all .3s ease;}

/* Abschlagsaenderung */
.flx_kontaktblock.abschlag .abschlag-tabs { max-width: 900px; margin: 0 auto; }
.flx_kontaktblock.abschlag .abschlag-tab-nav { display: flex; justify-content: center; gap: 12px; margin: 0 0 32px; padding: 0; border: none; }
.flx_kontaktblock.abschlag .abschlag-tab-nav .nav-item { margin: 0; list-style: none;}
.flx_kontaktblock.abschlag .abschlag-tab-nav .nav-link { display: inline-flex; align-items: center; justify-content: center; min-width: 210px; padding: 13px 24px; font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--main); background: #f4f4f4; border: 1px solid #ddd; border-radius: 4px; cursor: pointer; transition: all 0.2s ease; }
.flx_kontaktblock.abschlag .abschlag-tab-nav .nav-link:hover { color: #000; background: #e9e9e9; border-color: #ccc; }
.flx_kontaktblock.abschlag .abschlag-tab-nav .nav-link.active { color: #fff; background: var(--main); border-color: var(--main); }
.flx_kontaktblock.abschlag .abschlag-tab-content { position: relative; width: 100%; }
.flx_kontaktblock.abschlag .abschlag-tab-content .tab-pane { width: 100%; }
.flx_kontaktblock.abschlag .abschlag-tab-content .tab-pane:not(.active) { display: none; }
.flx_kontaktblock.abschlag .abschlag-tab-content .tab-pane.active { display: block; }


.flx_tabellenblock .text.colorwhite *{color:var(--white);} 
.flx_tabellenblock .text .headline{display:block;text-align:center;}
.flx_tabellenblock .text .subline{display:block;text-align:center;}
.flx_tabellenblock .tabelle{margin-top:50px;}
.flx_tabellenblock .tabelle table{width:100%;margin:0 auto;}
.flx_tabellenblock .tabelle table tr{border-bottom:solid 1px var(--main);}
.flx_tabellenblock .tabelle table tbody tr:last-child{border:none;}
.flx_tabellenblock .tabelle table th{font-size:175%;font-weight:600;padding:25px 50px;border:solid 1px var(--main);}
.flx_tabellenblock .tabelle table td{font-size:100%;font-weight:400;padding:25px 50px;border:solid 1px var(--main);}

.flx_tabellenblock .expandableTable{width:100%;border-collapse:collapse;table-layout:fixed;}
.flx_tabellenblock .expandableTable th:nth-child(1),.flx_tabellenblock .expandableTable td:nth-child(1){width:45%;}
.flx_tabellenblock .expandableTable th:nth-child(2),.flx_tabellenblock .expandableTable td:nth-child(2){width:27.5%;}
.flx_tabellenblock .expandableTable th:nth-child(3),.flx_tabellenblock .expandableTable td:nth-child(3){width:27.5%;}
.flx_tabellenblock .expandableTable th,.flx_tabellenblock .expandableTable td{box-sizing:border-box;vertical-align:top;word-break:normal;overflow-wrap:break-word;}
.flx_tabellenblock .expandableTable .is-clickable{cursor:pointer;}
.flx_tabellenblock .expandableTable .child-row{display:none;}
.flx_tabellenblock .expandableTable .child-row.is-visible{display:table-row;}
.flx_tabellenblock .expandableTable .child-row td:first-child{padding-left:45px;}
.flx_tabellenblock .tableToggle{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin-left:10px;padding:0;border:0;background:none;line-height:1;vertical-align:middle;position:relative;}
.flx_tabellenblock .tableToggle::after { content:''; display:block; flex-shrink:0; margin-left:10px; margin-top:0; width:10px; height:20px; background-image:url('../media/right.svg'); background-repeat:no-repeat; background-position:center; background-size:10px auto; transition:transform 0.2s ease; transform-origin:center; }
.flx_tabellenblock .is-open .tableToggle::after { transform:rotate(90deg); }
.flx_tabellenblock .tableToggle .tableToggleText{font-size: 80%;}

.flx_tabellenblock .tabelle{width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;}

@media(min-width:1400px){
    .flx_tabellenblock .tabelle table:has(tr:first-child > :nth-child(5):last-child){width:100%;table-layout:fixed;}
    .flx_tabellenblock .tabelle table:has(tr:first-child > :nth-child(5):last-child) th:nth-child(n + 2),.flx_tabellenblock .tabelle table:has(tr:first-child > :nth-child(5):last-child) td:nth-child(n + 2){width:210px;max-width:210px;padding:25px;}
    .flx_tabellenblock .tabelle table:has(tr:first-child > :nth-child(5):last-child) th:first-child,.flx_tabellenblock .tabelle table:has(tr:first-child > :nth-child(5):last-child) td:first-child{width:auto;}
    .flx_tabellenblock .tabelle table:has(tr:first-child > :nth-child(5):last-child) th{font-size:125%;}
}

@media(max-width:1399px){
    .flx_tabellenblock .tabelle table th,.flx_tabellenblock .tabelle table td{padding:20px 25px;}
    .flx_tabellenblock .tabelle table th{font-size:140%;}
    .flx_tabellenblock .tabelle table:has(tr:first-child > :nth-child(5):last-child){min-width:950px;table-layout:fixed;}
    .flx_tabellenblock .tabelle table:has(tr:first-child > :nth-child(5):last-child) th:first-child,.flx_tabellenblock .tabelle table:has(tr:first-child > :nth-child(5):last-child) td:first-child{width:270px;}
    .flx_tabellenblock .tabelle table:has(tr:first-child > :nth-child(5):last-child) th:nth-child(n + 2),.flx_tabellenblock .tabelle table:has(tr:first-child > :nth-child(5):last-child) td:nth-child(n + 2){width:170px;}
}

@media(max-width:991px){
    .flx_tabellenblock .tabelle{margin-top:35px;}
    .flx_tabellenblock .tabelle table th,.flx_tabellenblock .tabelle table td{padding:18px 20px;}
    .flx_tabellenblock .tabelle table th{font-size:125%;}
    .flx_tabellenblock .tabelle table td{font-size:95%;}
    .flx_tabellenblock .expandableTable{min-width:720px;}
    .flx_tabellenblock .expandableTable th:nth-child(1),.flx_tabellenblock .expandableTable td:nth-child(1){width:320px;}
    .flx_tabellenblock .expandableTable th:nth-child(2),.flx_tabellenblock .expandableTable td:nth-child(2),.flx_tabellenblock .expandableTable th:nth-child(3),.flx_tabellenblock .expandableTable td:nth-child(3){width:200px;}
}

@media(max-width:767px){
    .flx_tabellenblock .tabelle{margin-top:25px;}
    .flx_tabellenblock .tabelle table th,.flx_tabellenblock .tabelle table td{padding:14px 16px;}
    .flx_tabellenblock .tabelle table th{font-size:115%;}
    .flx_tabellenblock .tabelle table td{font-size:90%;}
    .flx_tabellenblock .tabelle table:has(tr:first-child > :nth-child(5):last-child){min-width:820px;table-layout:fixed;}
    .flx_tabellenblock .tabelle table:has(tr:first-child > :nth-child(5):last-child) th:first-child,.flx_tabellenblock .tabelle table:has(tr:first-child > :nth-child(5):last-child) td:first-child{width:260px;}
    .flx_tabellenblock .tabelle table:has(tr:first-child > :nth-child(5):last-child) th:nth-child(n + 2),.flx_tabellenblock .tabelle table:has(tr:first-child > :nth-child(5):last-child) td:nth-child(n + 2){width:140px;}
    .flx_tabellenblock .expandableTable{min-width:680px;}
    .flx_tabellenblock .expandableTable .child-row td:first-child{padding-left:30px;}
}

@media(max-width:479px){
    .flx_tabellenblock .tabelle table th,.flx_tabellenblock .tabelle table td{padding:12px;}
    .flx_tabellenblock .tabelle table th{font-size:105%;}
    .flx_tabellenblock .tabelle table td{font-size:87.5%;}
    .flx_tabellenblock .tabelle table:has(tr:first-child > :nth-child(5):last-child){min-width:760px;}
    .flx_tabellenblock .tabelle table:has(tr:first-child > :nth-child(5):last-child) th:first-child,.flx_tabellenblock .tabelle table:has(tr:first-child > :nth-child(5):last-child) td:first-child{width:240px;}
    .flx_tabellenblock .tabelle table:has(tr:first-child > :nth-child(5):last-child) th:nth-child(n + 2),.flx_tabellenblock .tabelle table:has(tr:first-child > :nth-child(5):last-child) td:nth-child(n + 2){width:130px;}
}



.flx_downloadblock .item a{display: flex;flex-direction: row;flex-wrap: wrap;gap: 15px;}
.flx_downloadblock .item a .beschreibung{font-weight:600;color:var(--main);transition:all .3s ease;display: block;width: 90%;height: 70px;align-content: center;}
.flx_downloadblock .item a:hover .beschreibung{color:var(--mainhover);transition:all .3s ease;}
.flx_downloadblock .item a img{width:5%;transition:all .3s ease;}
.flx_downloadblock .item a:hover img{transform:scale(1.1);transition:all .3s ease;}


.flx_nachbarschaftsstorm .bild{padding-bottom:200px!important;}
.flx_nachbarschaftsstorm .inner{position:relative;}
.flx_nachbarschaftsstorm .inner img{position:relative;z-index:99;border-radius:20px;}
.flx_nachbarschaftsstorm .inner .secondimage{display:block;width:400px;height:250px;object-fit:cover;position:absolute;bottom:-125px;right:-125px;z-index:100;border-radius:20px;}
.flx_nachbarschaftsstorm .searchWrapper {display: flex; align-items: center; gap: 25px; margin-top: 30px;flex-wrap: wrap;}
.flx_nachbarschaftsstorm input {height: 40px; margin-right: 0; box-sizing: border-box; border-radius: 20px; padding-left: 15px;}
.flx_nachbarschaftsstorm .searchBtn {height: 40px; margin-top: 0; padding-top: 0;padding-bottom: 0; box-sizing: border-box; display: inline-flex; align-items: center; 
    justify-content: center; line-height: 1;}
.flx_nachbarschaftsstorm .success-message {margin-top: 15px; color: #1a7f37; font-weight: 600;}
.flx_nachbarschaftsstorm .error-message {margin-top: 15px; color: #c62828; font-weight: 600;}


.flx_faqblock .textwrapper{padding-right:75px;overflow:visible;}
.flx_faqblock .textwrapper .inner{top:150px;position:sticky;}
.flx_faqblock .accordionwrapper .accordion .accordion-item .accordion-header{border-top:solid 1px var(--font);position:relative;font-size:115%;font-weight:900;}
.flx_faqblock .accordionwrapper .accordion .accordion-item:first-child .accordion-header, .flx_faqblock .accordionwrapper .accordion .accordion-item:has(.accordion-button:not(.collapsed)) .accordion-header, .flx_faqblock .accordionwrapper .accordion .accordion-item:has(.accordion-button:not(.collapsed)) + .accordion-item .accordion-header{border-top:none;}
.flx_faqblock .accordionwrapper .accordion .accordion-item .accordion-header .accordion-button{background:var(--lightgray);border-top-left-radius:15px;border-top-right-radius:15px;border:none;box-shadow:none;padding:25px 85px 25px 25px;width:100%;text-align:left;position:relative;}
.flx_faqblock .accordionwrapper .accordion .accordion-item .accordion-header .accordion-button.collapsed{background:none;}
.flx_faqblock .accordionwrapper .accordion .accordion-item .accordion-header .accordion-button:before{content:'';width:40px;height:40px;background:url('../media/plusicon.svg');background-size:100%;background-position:center;background-repeat:no-repeat;position:absolute;top:20px;right:25px;transform:rotate(0deg);transition:all .3s ease;}
.flx_faqblock .accordionwrapper .accordion .accordion-item .accordion-header .accordion-button:not(.collapsed):before{background:url('../media/minusicon.svg');background-size:100%;background-position:center;background-repeat:no-repeat;transform:rotate(180deg);}
.flx_faqblock .accordionwrapper .accordion .accordion-item .accordion-header .accordion-button:after{display:none;}
.flx_faqblock .accordionwrapper .accordion .accordion-item .accordion-body{padding:25px;background:var(--lightgray);border-bottom-left-radius:15px;border-bottom-right-radius:15px;}