/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

strong {
    font-weight: 600 !important;
}

h1 {
    hyphens: auto;
}

/* -------------- Menu --------------*/

.submenu-sep .awb-menu__sub-ul li a span {
    width: 100%;
    position: relative;
}

.submenu-sep .awb-menu__sub-ul li a span:before {
    content: "";
    background: #ccc;
    height: 1px;
    width: 100%;
    position: absolute;
    z-index: 1;
    bottom: -13px;
    left: 0;
    transform: scale(1.0005); /*Verhindert einen Pixel-Versatz*/
    transition: all .2s ease-in-out;
}

.submenu-sep .awb-menu__sub-ul li:hover a span:before, .submenu-sep .current_page_item a span:before {
    height: 2px;
    background: #0088A9;
}


.submenu-sep ul.awb-menu__sub-ul li:last-child{
    padding-bottom: 10px;
}

.desktop-menu{
    display: block;
}

.mobile-menu{
    display: none !important;
} 


.awb-menu .searchform{
    max-width: 400px;
}
.awb-menu__search-overlay{
    justify-content: flex-end;
}

@media (max-width: 1000px) {
    .desktop-menu{
        display: none !important;
    }
    
    .mobile-menu{
        display: block !important;
    } 
}



.top-menu-search a:after {
    font-family: var(--awb-fusion-font-family-typography);
    content: "Suche";
    color: var(--awb-color) !important;
}
.top-menu-search a:before {
    display: none;
}

/* menü test
.desktop-menu li{
    height: fit-content;
}

.desktop-menu ul{
    min-height: 0 !important;
}*/

/* -------------- Header -------------- */
.home-hero{
    min-height:790px;
    display:grid;
    grid-template-columns:repeat(3, 33.3333%);
    grid-template-rows:67% 33%;
 
  }
  
  /* großes Panel */
  .hero-visual{ 
    grid-area: 1 / 1 / 3 / 4; 
    position: relative; 
    overflow: hidden; 
  }

  .hero-visual h1{ 
    position:relative; 
    z-index:3; 
    color:#fff !important; 
    margin:30px 30px; 
    hyphens: none !important;
    text-transform: uppercase !important;
    display: flex;
    flex-direction: column;
  }

  .hero-visual h1 span{ 
    font-size: 24px !important;
    line-height: 1.3em;
  }


  .shade{ 
    position:absolute; 
    inset:0; 
    z-index:2;
    background:linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.45)); 
  }
  
  /* vier Bild-Layer */
  .hero-img{
    position:absolute; 
    inset:0; 
    z-index:1;
    width:100%; 
    height:100%; 
    object-fit:cover;
    opacity:0; 
    transition:opacity .6s ease;
  }
  
@media (max-width: 1000px) {
    .hero-img {
        position: absolute;
        top: 0;
        z-index: 1;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        transition: opacity .6s ease;
        object-position: calc(50% - 100px) 0px;
    }
}

  /* jeweils aktives Bild (Default und Slider) */
  .hero-img.is-visible{
    opacity:1;
  }
  
  /* Kacheln unten */
  .div2{ 
    grid-area:2 / 1 / 3 / 2; 
    border-top:1px solid #fff; 
  }
  .div3{ 
    grid-area:2 / 2 / 3 / 3; 
    border-top:1px solid #fff; 
    border-left:1px solid #fff; 
  }
  .div4{ 
    grid-area:2 / 3 / 3 / 4; 
    border-top:1px solid #fff; 
    border-left:1px solid #fff; 
  }
  
  .hero-teaser{
    display:flex; 
    flex-direction:column; 
    justify-content:flex-end; 
    align-items:flex-start;
    padding:20px; 
    text-decoration:none; 
    color:#fff; 
    background:transparent;
    transition:background .25s ease; 
    z-index:4;
  }
  
  .hero-teaser:hover,
  .hero-teaser:focus-within{ 
    background:#004B66BF; 
  }
  .hero-teaser h2{ 
    margin:0 0 6px; 
    color:#ffffff; 
    font-size:24px !important; 
    font-weight:300 !important; 
    margin:0 !important;
    text-transform: uppercase !important;
  }
  
  .hero-teaser:hover h2{ 
    margin:0 0 6px; 
    color:#FEC232;
  }
  
  .hero-teaser p{
    margin:0; 
    max-height:0; 
    opacity:0; 
    overflow:hidden;
    transition:max-height .5s ease, opacity .4s ease, transform .4s ease;
    transform:translateY(6px);
    color:#fff;
    margin:0 !important;
  }
  
  .hero-teaser:hover p, 
  .hero-teaser:focus-within p{ 
    max-height:140px; 
    opacity:1; 
    transform:translateY(0); 
  }
  
  /* Hover übersteuert Slider vollständig */
  
  /* wenn irgendein Teaser aktiv ist, zuerst alle Bilder ausblenden */
  .home-hero:has(.t1:hover) .hero-img,
  .home-hero:has(.t1:focus-within) .hero-img,
  .home-hero:has(.t2:hover) .hero-img,
  .home-hero:has(.t2:focus-within) .hero-img,
  .home-hero:has(.t3:hover) .hero-img,
  .home-hero:has(.t3:focus-within) .hero-img{
    opacity:0;
  }
  
  /* Teaser 1 zeigt Bild i1 */
  .home-hero:has(.t1:hover) .hero-img.i1,
  .home-hero:has(.t1:focus-within) .hero-img.i1{ 
    opacity:1; 
  }
  
  /* Teaser 2 zeigt Bild i2 */
  .home-hero:has(.t2:hover) .hero-img.i2,
  .home-hero:has(.t2:focus-within) .hero-img.i2{ 
    opacity:1; 
  }
  
  /* Teaser 3 zeigt Bild i3 */
  .home-hero:has(.t3:hover) .hero-img.i3,
  .home-hero:has(.t3:focus-within) .hero-img.i3{ 
    opacity:1; 
  }
  


@media (max-width: 900px) {
    .home-hero {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 50% repeat(3, 1fr);
        grid-column-gap: 0px;
        grid-row-gap: 0px;

        min-height: calc(100vh - 240px) !important;
        max-height: 600px !important;
    }

    .hero-visual h1{
        margin: 20px  !important;
    }

        
    .div1 { grid-area: 1 / 1 / 5 / 2; border-left: none; }
    .div2 { grid-area: 2 / 1 / 3 / 2; border-left: none;}
    .div3 { grid-area: 3 / 1 / 4 / 2; border-left: none;}
    .div4 { grid-area: 4 / 1 / 5 / 2; border-left: none;}



    .hero-teaser{
        max-height: fit-content !important;
        height: 100% !important;
    }

    
    .hero-teaser p{
        display: none !important;
    }
}

@media (max-width: 400px) {
    .hero-teaser h2{ 
        font-size:18px !important; 
    }
    .hero-visual h1 { 
        font-size: 26px !important; 
    }

    .hero-visual h1 span{
        font-size: 18px !important;
    }
}
/*------------------- home-portrait -------------------*/

.home-portrait{

}

.home-portrait-img-wrapper .fusion-imageframe{
    width: 100%;
}




@media (max-width: 700px) {
    .home-portrait-img-wrapper .fusion-imageframe img{
        max-height: 450px;
    }

    .home-portrait .fusion-builder-row{
        display: flex;
        flex-direction: column-reverse;
    }

    .home-portrait-img-wrapper .fusion-imageframe img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top;
    }
    
}

@media (max-width: 450px) {
    .home-portrait-img-wrapper .fusion-imageframe img{
        max-height: 250px;
    }
}

/* --------------News Post Card -------------- */

.branchen-card{
    aspect-ratio: 16 / 9;
}

.news-card {
    min-height: 340px !important;
    aspect-ratio: 4 / 3 !important;
    max-height: fit-content !important;
}

@media (max-width: 500px) {
    .news-card {
        min-height: 340px;
        aspect-ratio: unset;
    }
}

.news-card-meta{
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
}

.news-card .news-cat{
    font-weight: 600;
}

.news-lightbox-meta{
    padding: 5px 10px;
    background-color: #0088A9;
}

.news-card-meta-wrapper{
    flex-grow: 1;
}

.post_card_hover .fusion-column-wrapper:after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: -1;
    transition: all .3s ease;
    opacity: .4;
}

.post_card_hover:hover .fusion-column-wrapper:after{
    opacity: .75;
    background: #004B66;
}


.post_card_hover .fusion-column-wrapper h2{
    transition: all .3s ease;
}


.post_card_hover:hover .fusion-column-wrapper h2 {
    color: #FEC232 !important;
}


@media (max-width: 1400px) {
    .news-card{
        aspect-ratio: unset;
    }
}


.awb-swiper-button-next, .awb-swiper-button-prev{
    opacity: 0.5 !important;
}



/*-------------------- Positionen --------------------*/

.block-pos{
    min-height: 500px;
}

/*-------------------- Ansprechpartner --------------------*/

.theme__ansprechpartner-container{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* (allgemein) Box layout */
.theme__ansprechpartner-box{
    background: #F5F5F5;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}


.theme__ansprechpartner-box.theme__ansprechpartner-box--white{
    background: #ffffff !important;
}


    
.theme__ansprechpartner-wrapper{
    padding: 15px 20px 15px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 60%;
}

 .theme__ansprechpartner-img{
    width: 24%;
    aspect-ratio: 1 / 1;
    flex-grow: 1;
    min-width: 200px;
}

.theme__ansprechpartner-img img{
    /*min-width: 220px;*/
    height: 100%;
    object-fit: cover;
    width: 100%;
}


.theme__ansprechpartner-email a, .theme__ansprechpartner-phone a{
    color: #0088A9 !important;
}

.theme__ansprechpartner-email i, .theme__ansprechpartner-phone i{
    transition: all .3s ease;
}

.theme__ansprechpartner-email a:hover i, .theme__ansprechpartner-phone a:hover i{
    color: #FEC232 !important;
}

.theme__ansprechpartner-wrapper .theme__ansprechpartner-title,
.theme__ansprechpartner-wrapper .theme__ansprechpartner-email,
.theme__ansprechpartner-wrapper .theme__ansprechpartner-phone
{
    margin-bottom: 5px !important;
    font-size: 15px;
    /*white-space: nowrap !important;*/

}

.theme__ansprechpartner-wrapper p a{
    display: flex;
    gap: 10px;
    align-items: center;
    flex-direction: row;
    width: fit-content;
}

.theme__ansprechpartner-name{
    font-size: clamp(16px, 2vw, 20px);
    color: #0088A9;
    flex-grow: 1;
    font-weight: 400;
    font-family: "Titillium Web", Arial, Helvetica, sans-serif !important;
}

.theme__ansprechpartner-phone i{
    color: #0088A9;
}

.theme__ansprechpartner-email i{
    margin-top: 0px;
    color: #0088A9;
}

.theme__ansprechpartner-title{
    font-weight: 600;
}


/*-------------------- Pressekontakt --------------------*/

.pressekontakt-box {
    display: flex;
    gap: 70px;
    flex-wrap: wrap;
    color: #fff;
    font-weight: 300;
}

.pressekontakt-box P{
    margin-bottom: 10px !important;
}

.pressekontakt-box a{
    color: #fff;
    transition: all .3s ease;
}

.pressekontakt-box a:hover{
    color: #fff;
}

.pressekontakt-box a i{
    transition: all .3s ease;
}

.pressekontakt-box a:hover i{
    color: #FEC232 !important;
}

/*-------------------- Verband Personen --------------------*/

.verband__personen-box {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.verband__personen-wrapper {
    display: flex;
    gap: 20px;
    width: calc(50% - 10px);
}

.verband__personen-content {
    background: #fff;
    padding: 20px;
    width: 50%;
    display: flex;
    flex-direction: column;
}

.verband__separator{
    flex-grow: 1;
}

.verband__personen-wrapper.img-left{
    flex-direction: row;
}

.verband__personen-wrapper.img-right{
    flex-direction: row-reverse;    
}

.verband__personen-name{
    font-size: 24px !important;
    color: #0088A9;
    margin-bottom: 5px !important;
    text-transform: capitalize !important;
}

.verband__personen-position{
    font-size: 15px !important;
    font-weight: 600 !important;
}

.verband__personen-content p{
    margin-bottom: 5px !important;
    font-size: 15px !important;
}

.verband__personen-img {
    width: 50%
}

.verband__personen-img img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.verband__personen-adresse{
    display: flex;
    flex-direction: row;
}

.verband__personen-content i{
    margin-right: 10px !important;
    margin-top: 7px;
    color: #0088A9;
}

.verband__personen-content a {
    color: #0088A9 !important;
}


.verband__personen-content a i{
    transition: all .3s ease;
}


.verband__personen-content a:hover i{
    color: #FEC232 !important;
}

@media (max-width: 900px) and (min-width: 600px) {
    .verband__personen-wrapper {
        width: 100%;
    }

    .verband__personen-wrapper:nth-child(2n) {
        flex-direction: row-reverse !important;
    }

    .verband__personen-wrapper.img-right {
        flex-direction: row;
    }
    
    .verband__personen-wrapper.img-left {
        flex-direction: row;
    }


}


@media (max-width: 600px) {
    .verband__personen-wrapper {
        width: 100%;
    }

    .verband__personen-wrapper {
        flex-direction: column !IMPORTANT;
    }

    .verband__personen-img, .verband__personen-content {
        width: 100% !important;
    }

    .verband__personen-wrapper{
        gap: 0px !important;
    }
}


/* -------------- News Archive Filter -------------- */
.news-archive-filter{
    display: flex;
    /*gap: 10px;*/
    justify-content: flex-end;
    border-bottom: 1px solid #E6E6E6;
    margin-bottom: 30px;
    align-items: center;
}

.news-archive-filter__submit{
    display: none;
}

.news-archive-filter__terms{
    display: flex;
    /*gap: 10px; */
    flex-wrap: wrap;
    font-size: 15px !important;
}

.news-archive-filter__term {
    border: 1px solid #E6E6E6;
    border-bottom: none;
    padding: 10px 15px;
    margin-right: 10px;
    /*margin-bottom: 10px;*/
}

.news-archive-filter__year{
    border: 1px solid #E6E6E6;
    border-bottom: none !important;
    padding: 0px 10px;
}

.news-archive-filter__year select{
    border: none;
    min-width: 100px;
    width: 100%;
    font-size: 15px !important;
    font-weight: 300 !important;
}


.news-archive-filter__term {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}


/* Checkbox style */
.news-archive-filter__term input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    width: 18px;
    height: 18px;
    border: 2px solid #687278;
    border-radius: 0px;      /* hier dein border-radius */
    background: #fff;        /* Hintergrund ungecheckt */
    display: inline-block;
    position: relative;
    cursor: pointer;
}


/* Häkchen zeichnen */
.news-archive-filter__term input[type="checkbox"]::after {
    content: "";
    position: absolute;
    inset: 2px 5px 4px 5px;  /* etwas Feintuning für das Häkchen */
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    opacity: 0;
}

/* Häkchen nur im checked Zustand zeigen */
.news-archive-filter__term input[type="checkbox"]:checked::after {
    opacity: 1;
}


.news-archive-filter__term input[type="checkbox"]:checked {
    background: #0088A9;
    border-color: #0088A9;
}



/* Standard: Label ausgegraut */
.news-archive-filter__term span {
    color: #808080;
}

/* Wenn Checkbox aktiv ist: Label normal einfärben */
.news-archive-filter__term input[type="checkbox"]:checked + span {
    color: #000; 
}

@media (max-width: 770px) {
    .news-archive-filter__term span{
        font-size: 15px;
    }

    .news-archive-filter__term {
        border: 1px solid #E6E6E6;
        border-bottom:  1px solid #E6E6E6;
        margin-bottom: 10px;
    }

    .news-archive-filter{
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 500px) {
    .news-archive-filter__term{
        width: 100%;
    }

    .news-archive-filter__year{
        width: calc(100% - 10px) !important;
        width: 100%;
    }
}


/* -------------- Button -------------- */
.button-default i, .btn-icon-hover i{
    position: relative;
    transition: all .3s ease !important;
    font-size: 20px;
    right: 5px !important;
}

.button-default:hover i, .btn-icon-hover:hover i, .box-link:hover .button-default i, .box-link:hover .btn-icon-hover i{
    right: 0px !important;
    color: #FEC232 !important;
}


.btn-icon-no-hover i{
    right: 0px !important;
}

.btn-icon-no-hover:hover i{
    right: 0px !important;
    color: #FEC232 !important;
}

.lang-activ{
    color: #000;
    font-weight: 800 !important;
    margin-right: 5px;
}

.menu-lang{
   pointer-events: none;
   font-weight: 400 !important;
}

.btn-on-yellow:hover i{
    color: #fff !important;
}


.btn-white > *{
    color: #fff !important;
}


/*----------------- Formular ------------------*/
.custom-form input, .custom-form textarea{
    padding: 0 !important;
}

.privacy-field label{
    font-size: 12px !important;
    padding: 0 0 0 30px !important;
}

.privacy-field label:before, .privacy-field label:after{
    border-radius: 0 !important;
    border-color: #000008 !important;
    top: 8px !important;
}

.form-submission-notices .messages-wrap {
    display: none;
}

/* -------------- Themen Slider -------------- */
.themen-slider-wrapper{
    overflow: hidden;
    position: relative;
}

.theme-slide{
    position: relative;
    min-height: 255px;
    padding: 15px;
    aspect-ratio: 16 / 9 !important;
}

.theme-slide img {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    object-fit: cover;
}

.theme-slide a{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    height: 100%;
}

.theme-slide h2{
    margin: 0 !important;
    color: #fff;
    font-size: 24px !important;
    transition: all .3s ease;
    text-transform: uppercase !important;
}

.theme-slide:hover h2{
    color: #FEC232 !important;
}
    

.theme-slide p{
    margin: 0 !important;
    color: #fff;
    font-size: 17px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .9s ease, opacity .4s ease, transform .4s ease !important;
    opacity: 0;
}

.theme-slide:hover p{
    max-height: 220px;
    opacity: 1;
}


.theme-slide:after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background:#004B66BF;
    z-index: -1;
    opacity: 0;
    transition: all .3s ease;
}

.theme-slide:hover:after{
    opacity: 1;
}


.themen-slider-button-next, .themen-slider-button-prev{
    background: #fff;
    color: #000;
    cursor: pointer;
    position: absolute;
    aspect-ratio: 1/1;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 10;
    top: 50%;
    transform: translate(0px, -50%);
    transition: all .3s ease;
    opacity: 0.5 !important;
}



.themen-slider-button-next{
right: 0;
}

.themen-slider-button-prev{
left: 0;
}

.themen-slider-button-next:hover, .themen-slider-button-prev:hover{
    background: #0088a9 !important;
    color: #FEC232 !important;
}


/* -------------- Themen Grid -------------- */

.themen-grid-items{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}


.theme-item{
    position: relative;
    height: 255px;
    padding: 15px;
    width: calc(33% - 9px);
    aspect-ratio: 16 / 9 !important;
    /*flex-grow: 1;*/
}

.theme-item img {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    object-fit: cover;
}

.theme-item a{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    height: 100%;
}

.theme-item h2{
    margin: 0 !important;
    color: #fff;
    font-size: 24px !important;
    transition: all .3s ease;
    text-transform: uppercase !important;
}

.theme-item:hover h2{
    color: #FEC232 !important;
}
    

.theme-item p{
    margin: 0 !important;
    color: #fff;
    font-size: 17px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;

    transition: max-height .9s ease, opacity .4s ease, transform .4s ease !important;
}

.theme-item:hover p{
    max-height: 250px;
    opacity: 1;
}


.theme-item:after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background:#004B66BF;
    z-index: -1;
    opacity: 0;
    transition: all .3s ease-in-out;
}

.theme-item:hover:after{
    opacity: 1;
}


@media (max-width: 1200px) {
    .theme-item{
        width: calc(50% - 20px);
    }
}

@media (max-width: 900px) {
    .theme-item{
        width: 100%;
    }

    .theme-item p{
        font-size: 15px;
    }
}

@media (max-width: 420px) {
    .theme-item {
        height: 320px;
    }
}

/* -------------- Theme -------------- */
.theme-heder-img{
    /*max-height: 660px;*/
    height: 100%;
    object-fit: cover;
    max-height: 50vh;
    object-position: center;
    object-fit: cover;
}

/* -------------- Downloadlink -------------- */

.download-link{
    color: #0088A9;
}

.download-link-wrapper{
    font-weight: 400;
    margin: 10px 0;
}

.download-link:hover{
    color: #0088A9;
}

.download-link i{
    margin-right: 10px;
    transition: all .3s ease;
}

.download-link:hover i{
    color: #FEC232 !important;
}

/*-------------- Couter Box --------------*/

.custom-counter-box .display-counter{
    font-size: 100px;
    font-weight: 600;
    font-family: "Titillium Web", Arial, Helvetica, sans-serif;
}

.custom-counter-box{
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, 50%);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.custom-counter-box .fusion-counter-box{
    width: 100% !important;
    margin: 0;
    padding: 0 !important;
    height: 100% !important;
}

.fusion-counter-box{
    width: 100% !important;
}

.fusion-counters-box .fusion-counter-box .counter-box-container{
    border: none !important;
}

.custom-counter-box > .fusion-counter-box:nth-child(1){
    grid-area: 1 / 1 / 2 / 2;
    border-right: 1px solid #ffffff !important;
    border-bottom: 1px solid #ffffff !important;
    border-left: 1px solid #ffffff !important;
}

.custom-counter-box > .fusion-counter-box:nth-child(2){
    grid-area: 1 / 2 / 2 / 3;
    border-bottom: 1px solid #ffffff !important;
}

.custom-counter-box > .fusion-counter-box:nth-child(3){
    grid-area: 2 / 1 / 3 / 2;
    border-right: 1px solid #ffffff !important;
    border-left: 1px solid #ffffff !important;
}

.custom-counter-box > .fusion-counter-box:nth-child(4){
    grid-area: 2 / 2 / 3 / 3;
}

.counter-box-container{
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 900px) {
    .display-counter{
        font-size: clamp(3rem, 10vw, 100px) !important;
    }


    .custom-counter-box > .fusion-counter-box:nth-child(1){
        border-top: 1px solid #ffffff !important;
    }
    
    .custom-counter-box > .fusion-counter-box:nth-child(2){
        border-top: 1px solid #ffffff !important;
    }
}


@media screen and (max-width: 1024px) and (min-width: 768px){
    .custom-counter-box{
        display: flex;
    }



    .custom-counter-box > .fusion-counter-box:nth-child(1){
        border-top: 1px solid #ffffff !important;
        border-bottom:none
    }
    
    .custom-counter-box > .fusion-counter-box:nth-child(2){
        border-top: 1px solid #ffffff !important;
        border-bottom:none
    }
    
    .custom-counter-box > .fusion-counter-box:nth-child(3){
        border-top: 1px solid #ffffff !important;
        border-bottom:none
    }
    
    .custom-counter-box > .fusion-counter-box:nth-child(4){
        border-top: 1px solid #ffffff !important;
        border-bottom:none
    }

    
}
/* -------------- Footer -------------- */
.foo-link-wrapper, .foo-content-wrapper {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    color: #ffffff80;
    font-size: 13px;
}

.foo-content-wrapper{
    margin-bottom: 10px;
}

.foo-link-wrapper {
    gap: 20px;
}

.foo-content-copy{
    max-width: 39%;
}

.foo-social a{
    margin-left: 10px;
}

.foo-social i{
    font-size: 20px;
}

.foo-link-wrapper a{
    color: #ffffff;
    font-size: 15px;
}

.foo-links{
    display: flex;
    gap: 20px 50px;
    flex-wrap: wrap;
}

.footer-width .fusion-builder-row{
    max-width: calc(1456px + 100px) !important;
}

@media (max-width: 900px) {
    .foo-link-wrapper, .foo-content-wrapper {
        flex-direction: column;
    }

    .foo-content-copy{
        max-width: 100%;
    }

    .foo-content-img {
        margin-bottom: 50px;
    }
}

/* ---------------------------- */

.custom-social-share{
    min-height: 0 !important;
    flex-direction: row !important;
}

.sharingbox-shortcode-icon-wrapper{
    flex-direction: row !important;
    justify-content: end !important;
}

/* -------------- Verband Mitglieder -------------- */

.verband__mitglieder{
    margin-top: 50px;
}

.verband__mitglieder-wrapper{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 15px;
}

.verband__mitglieder-item-wrapper {
    display: flex;
    flex-direction: column;
    background: #fff;
    width: calc(25% - 20px);
}

.vm_content-wrapper{
    padding: 20px 20px 15px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
};

.vm_adresse{
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.vm_adresse i{
    position: relative;
    bottom: -5px;
}

.vm-seperator{
    display: flex;
    grow: 1;	
}

.vm_logo-wrapper{
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.vm_logo-wrapper img{
    max-height: 120px;
    padding: 10px;
    max-width: 85%;
}


.verband__mitglieder-wrapper i{
    color: #0088A9;
    transition: all .3s ease !important;
    margin-right: 5px !important;
    width: 15px;
}

.verband__mitglieder-wrapper a:hover i{
    color: #FEC232;
}

.verband__mitglieder-wrapper a{
    color: #0088A9;
    transition: all .3s ease !important;
}


.verband__mitglieder-wrapper p{
    margin-bottom: 0px !important;
}

.verband__mitglieder-wrapper p.vm_name{
    margin-bottom: 10px !important;
    line-height: 150%;
}


.verband__mitglieder-wrapper p.vm_region{
    margin-bottom: 10px !important;
}

@media (max-width: 1040px) {
    .verband__mitglieder-item-wrapper {
        width: calc(33% - 11px);
    }
}

@media (max-width: 757px) {
    .verband__mitglieder-item-wrapper {
        width: calc(50% - 11px);
    }
}	

@media (max-width: 500px) {
    .verband__mitglieder-item-wrapper {
        width: 100%;
    }
}
/* -------------- Verband Tabs -------------- */

.verband-tabs__bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid #0088A9;
    flex-wrap: wrap;
   gap: 20px 50px;
}

.verband-tabs__active-label {
    font-size: 24px;
    font-weight: 600;
    padding: 10px 0;
}

.verband-tabs__nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.verband-tabs__tab {
    border: none;
    background: #ffffff;
    padding: 13px 15px 11px 15px;
    cursor: pointer;
    font-size: 15px;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    line-height: 1.7em !important;
    font-weight: 300;
}

.verband-tabs__tab.is-active {
    background: #0088A9;
    color: #fff;
}

.verband-tabs__panels {
    position: relative;
}

.verband-tabs__panel {
    position: absolute;
    inset: 0; /* top:0; right:0; bottom:0; left:0; */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease;

    height: 0;
    overflow: hidden;
}

.verband-tabs__panel.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    height: fit-content;
}


@media (max-width: 560px) {
    .verband-tabs__nav {
        display: flex;
        gap: 10px;
        flex-direction: column;
        width: 100%;
    }

    .verband-tabs__bar {
        justify-content: flex-start;
        align-items: flex-start;
        flex-direction: column;
    }
}

/*-------------- Toggle ------------------*/
/*
.fusion-toggle-heading{
    hyphens: auto;
}

.branchen-toggle .toggle a{
    color: #0088A9 !important;
}


.branchen-toggle .toggle:hover a{
    color: #FEC232 !important;
}*/

.branchen-card{
    height: calc(255px + 20px);
    aspect-ratio: 16 / 9 !IMPORTANT;
}



/* -------------- Blog -------------- */

@media (max-width: 400px) {
    .newsletter-img img{
        max-height: 120px;
        object-fit: contain;
        object-position: left;
    }
}


/* -------------- LinkedIn Feed -------------- */
.hdh-linkedin-feed-wrapper{
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
}

.hdh-linkedin-feed-wrapper iframe{
    width: calc(25% - 15px);
    max-height: 550px;
}

.hdh-linkedin-feed-wrapper iframe article{
    border-radius: 0px !important;
}



/* -------------- Porträt -------------- */
.hdh-portraet-container{
    padding: 50px 30px 30px 30px;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: #fff;
}

.hdh-portraet-container::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.portraet-sep{
    flex-grow: 1;
}

.hdh-portraet-container img{
    position: absolute;
    object-fit: cover;
    top: 0;
    left: 0;
    z-index: -1;
    height: 100%;
}

.hdh-portraet-title{
    color: #fff !important;
    font-weight: 300 !important;
    font-size: 32px !important;
    line-height: 130% !important;
    margin-bottom: 15px !important;
}

.hdh-portraet-container a{
    width: fit-content;
    color: #fff !important;
    line-height: 150% !important;
    padding: 10px 0;
    display: flex;
    align-items: center;
    font-size: 15px !important;
}


.hdh-portraet-label{
    color:#0088A9 !important;
    font-size: 24px !important;
    font-weight: 600;
    margin-bottom: 20px !important;
}

.hdh-portraet-zitat{
    font-size: 24px !important;
    max-width: 50%;
    margin-bottom: 100px !important;
    line-height: 150% !important;
    color: #fff !important;
}

.hdh-portraet-container .button-default{
    display: flex;
    justify-content: flex-start;
    color: #fff;
}

@media screen and (max-width: 1080px) {
    .hdh-portraet-zitat{
        font-size: 24px !important;
        max-width: 100%;
    }
    
}