/* .... LAZY BLOCKS.... */


/* .... ABSTAENDE .... */

.lazy-margin {
    margin-top: 6rem;
    margin-bottom: 6rem;
}
.lazy-top-margin {
    margin-top: 6rem;
}
.lazy-bottom-margin {
    margin-bottom: 6rem;
}
.lazy-nomargin {
    margin-top: 0;
    margin-bottom: 0;
}


/* .... FULLWIDTH SECTION .... */
.fullwidth {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-color: var(--light-grey);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.fullwidth.fullwidth-white {
    background-color: #fff;
}
.fullwidth.fullwidth-dark {
    background-color: var(--primary-clr);
    color: #fff;
}
.fullwidth.fullwidth-light {
    background-color: var(--light-grey);
}
.fullwidth.fullwidth-cta {
    background-color: var(--cta-clr);
}

.fullwidth .fullwidth-content {
    max-width: 1400px;
    padding: 0px 40px;
    margin: 0 auto;
}
@media (max-width:768px) {
    .fullwidth .fullwidth-content {
        padding: 0px 30px;
    }
}
.fullwidth.fullwidth-padding .fullwidth-content,
.fullwidth.fullwidth-padding > .grid-container {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.lazyblock-inner-blocks h1:first-child,
.lazyblock-inner-blocks h2:first-child,
.lazyblock-inner-blocks h3:first-child {
    margin-top: 0;
}
.entry-content > .wp-block-lazyblock-fullwidth-section:last-child {
    margin-bottom: -8rem;
}
/* dark */
.fullwidth.fullwidth-dark h2,
.fullwidth.fullwidth-dark h3 {
    color: #fff;
}
/* parallax */
.fullwidth-parallax {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.fullwidth.imageonly .fullwidth-content {
    height: 400px;
}
/* ios hack (hier funktioniert der parallax effekt nicht */
@supports (-webkit-hyphens:none){
    .fullwidth-parallax {
        background-attachment: local;
        background-size: auto;
    } 
}


/*
.wp-block-lazyblock-fullwidth-section + .wp-block-lazyblock-fullwidth-section {
    margin-top: -6rem;
}
*/

/* .... SLIDESHOW (Hero und Content) .... */
.slideshow {
    position: relative;
}
.slideshow img {
    width: 100%;
    height: auto;
}
.slideshow .slide {
    position: relative;
}
.slideshow .slide img.line {
    position: absolute;
    top:0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: auto;
}
.slideshow .title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding-bottom: 2rem;
    text-align: center;
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
}
.slideshow .slick-arrow {
    position: absolute;
    z-index: 1;
    top: 50%;
    margin-top: -25px;
    width: 50px;
    height: 50px;
    background-position: left center;
    background-size: 50px 50px;
    background-repeat: no-repeat;
    background-color: transparent;
    transition: all 0.5s;
}
.slideshow .slick-arrow:hover {
    transform: scale(1.1);
}
.slideshow .slick-arrow::before {
    display: none;
}
.slideshow .slick-prev { 
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg height='100px' width='100px' fill='%2321b5ea' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' style='enable-background:new 0 0 24 24;'%3E%3Cg%3E%3Cpath d='M250.326 364.429L408.983 462.355C416.542 467.028 426 461.187 426 451.858L426 335.995C426 331.659 423.835 327.658 420.325 325.49L326.274 267.438C318.708 262.773 318.708 251.1 326.274 246.435L420.325 188.383C423.835 186.215 426 182.214 426 177.878L426 60.1465C426 50.8094 416.542 44.9766 408.983 49.6415L250.326 147.567L91.6695 245.501C84.1102 250.165 84.1102 261.831 91.6695 266.503L250.326 364.429Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
}
.slideshow .slick-next {
    right: 0;
    background-image: url("data:image/svg+xml,%3Csvg height='100px' width='100px' fill='%2321b5ea' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' style='enable-background:new 0 0 24 24;'%3E%3Cg%3E%3Cpath d='M261.674 147.571L103.017 49.6446C95.4577 44.9724 86 50.8126 86 60.1424V176.005C86 180.341 88.1646 184.342 91.6746 186.51L185.726 244.562C193.292 249.227 193.292 260.9 185.726 265.565L91.6746 323.617C88.1646 325.785 86 329.786 86 334.122V451.854C86 461.191 95.4577 467.023 103.017 462.359L261.674 364.433L420.331 266.499C427.89 261.835 427.89 250.169 420.331 245.497L261.674 147.571Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
}

@media (min-width:768px) {
    .slideshow .slick-arrow {
        margin-top: -30px;
        width: 60px;
        height: 60px;
        background-size: 60px 60px;
    }
}
@media (min-width:1000px) {
    .slideshow .slick-arrow {
        margin-top: -35px;
        width: 70px;
        height: 70px;
        background-size: 70px 70px;
    }
}
@media (min-width:1400px) {
    .slideshow .slick-arrow {
        margin-top: -40px;
        width: 80px;
        height: 80px;
        background-size: 80px 80px;
    }
}

/* Dots */
.slick-dots {
    position: absolute;
    bottom: 20px;
    display: block;
    width: 100%;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0;
    list-style: none;
    text-align: center;
}
.slick-dots li {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
}
.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}
.slick-dots li button:hover,
.slick-dots li button:focus {
    outline: none;
    background: none !important;
}
.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
    opacity: 1;
}
.slick-dots li button:before {
    font-size: 70px;
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    content: '•';
    text-align: center;
    opacity: 1;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.slick-dots li.slick-active button:before {
    opacity: 1;
    color: var(--ag-midnight);
}



/* .... ACCORDION .... */
.wp-block-lazyblock-accordion {
    margin-top: 2em;
    margin-bottom: 2em;
    padding-bottom: 2em;
}
.accordion-container,
.accordion-wrap {
    max-width: 1000px;
    margin: 0 auto;
}
.wp-block-lazyblock-accordion .grid-container {
    padding-left: 0;
}
button.accordion,
h3.accordion,
h3.accordion {
    background-color: var(--primary-clr);
    color: #fff;
    cursor: pointer;
    margin: 0;
    padding: 10px 20px 8px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    font-size: 1.2rem;
    font-family: var(--font-body);
}
button.accordion:hover,
button.accordion:focus,
h3.accordion:hover,
h3.accordion:focus {
    background-color: var(--darker-primary-clr);
}
.wp-block-lazyblock-accordion button.accordion.active {
    background-color: var(--darker-primary-clr);
}
button.accordion:after,
h3.accordion:after {
    content: '\002B';
    color: #fff;
    font-weight: normal;
    float: right;
    margin-left: 5px;
    font-size: 1.4em;
    margin-top: 0;
    line-height: .7em;
}
button.accordion.active:after,
h3.accordion.active:after {
    content: "\2212";
}
button.accordion + .panel,
h3.accordion + .panel {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    margin-bottom: 15px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.accordion + .panel .panel-content {
    padding: 2rem 0;
    padding: 20px 20px 20px;
    background: #f3f3f3;
}
.accordion + .panel p {
    margin: 0 0 20px;
    max-width: 100% !important;
}






/* .... TEAM .... */
.team-card {
    background: transparent;
}
.onlycontact .team-card {
    background: #f3f3f3;
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.onlycontact .team-card .text {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.onlycontact .team-card .text p.name {
    text-align: center;
}
@media (min-width:992px) and (max-width:1100px) {
    .wp-block-column .onlycontact {
        grid-template-columns: 1fr;
    }
    .wp-block-column .onlycontact .team-card {
        aspect-ratio: 4 / 1;
    }
}
@media (min-width:1101px) {
    .wp-block-column .onlycontact .team-card {
        aspect-ratio: 3 / 2;
    }
}

/* bild rechts */
.team-card.img-left {
    display: flex;
}
.team-card.img-right img {
    float: right;
}
/* kachel */
.team-tiles .tiles {
    display: flex;
    flex-direction: column; 
}
.team-tiles .tiles .image {
    display: flex;
    justify-content: center;
}
.team-tiles .tiles .text {
    text-align: center;
}
/* bild und text */
.team img {
    display: block;
}
.team .text {
    padding: 15px;
}
.team .text p.name {
    margin-bottom: 0;
    font-weight: 700;
    font-size: 22px;
    color: var(--primary-clr);
}
.team .text .title {
    margin-top: 6px;
    font-size: 16px;
}
.team .text a.wp-block-button__link {
    margin-top: 0;
    height: auto;
}

/* bild rechts */
.team-card.img-right:not(.noimage) {
    display: grid;
    grid-template-columns: 66.66666% 33.33333%;    
    gap: 1rem;
}
.team-card.img-right .image {
    order: 2; 
}
.team-card.img-right .text {
    order: 1; 
}

/* bild links */
.team-card.img-left:not(.noimage) {
    display: grid;
    grid-template-columns: 33.33333% 66.66666%;    
    gap: 1rem;
}
.team .img-left .text {
    text-align: left;
}


/* MULTIPLE */
@media (max-width:1000px) {
    .team-tiles.team-multiple {
        gap: 20px;
    }
}
.team-tiles.team-multiple .image {
    display: block;
    position: relative;
    margin-bottom: 1.3rem;
    padding-bottom: 100%;
    height: 0;
}
.team-tiles.team-multiple img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
}
.team-tiles.team-multiple .text {
    text-align: left;
    padding: 0;
}
.team-card span.isc-source {
    position: absolute;
    display: inline-block;
    line-height: initial;
    display: block;
    width: 100%;
    height: 100%;
}




/* .... KONTAKT .... */
.entry-content .contact {
    margin-bottom: 2em;
}
.contact .title {
    font-weight: 500;
    margin-bottom: 5px;
}
.contact i {
    width: 25px;
    margin-right: 10px;
    margin-top: 3px;
    color: var(--primary-clr);
    font-size: 20px;
    text-align: center;
}
main.site-main .contact p {
    margin-left: 0;
}
.contact > div {
    display: flex;
    margin-top: 15px;
}




/* .... TEASER .... */
.teaser {
    position: relative;
}
.teaser .grid {
    gap: 3rem;
}
.teaser.teaser-more {
    padding-top: 1rem;
}
.teaser a.button-more {
    position: absolute;
    top: -4rem;;
    right: 0;
}


/* .... TEASERBOX .... */
.teaserbox {
    padding: 0;
}
@media (min-width:700px) and (max-width:999px) {
    .teaser .grid-3 .teaserbox:last-child {
        grid-column: 1 / 3;
    }
}
.fullwidth .teaserbox {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    background: #fff;
    border: none;
}
.teaserbox .headline {
    margin-top: 15px;
    color: var(--primary-clr) !important;
    line-height: 1.2em;
}
.teaserbox .text {
    margin-bottom: 15px;
}
.teaserbox .text p {
    margin-bottom: 0;
}
.teaserbox a.button {
    display: block;
    color: var(--cta-clr) !important;
}


/* teaser tiles */
.teaser-tiles .grid  {
    gap: 3rem;
}
.teaser-tiles .teaserbox {
    position: relative;
}
/*
.teaser-tiles .teaserbox .image {
    position: absolute;
    z-index: 1;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.teaser-tiles .teaserbox .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
*/
.teaser-tiles .teaserbox .image {
    position: relative;
    height: 0;
    margin: -2rem -2rem 30px;
    padding-bottom: 60%;
}
.teaser-tiles .teaserbox .image  img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    border: none;
    object-fit: cover;
}

.teaser-tiles .teaserbox .textbox {
    position: relative;
    z-index: 10;
}
.teaser-tiles .teaserbox .textbox .text {
    overflow: hidden;
    margin: 0;
}
.teaser-tiles .teaserbox:hover .textbox {
    height: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.teaser-tiles .teaserbox:hover .text {
    height: auto;
    opacity: 1;
}
.teaser-tiles .teaserbox .textinner {
    padding-top: 15px;
}


/* ... BILD MIT TEXT .... */
.bild-text {
    display: grid;
    background: transparent;
}
.fullwidth .bild-text.grid-container {
    max-width: 1320px;
    margin: 0 auto !important;
}
.bild-text.img-right .text {
    order: -1;
}
.bild-text .isc-source {
    height: 100%;
}
.bild-text .img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bild-text .text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2.5rem 30px;
}
@media (min-width: 769px) {
    .bild-text .text {
        padding-left: 40px;
        padding-right: 40px;
    }
}
.bild-text h2 + h3 {
    margin-top: -1.5rem;
    color: #000;
    font-size: 22px;
}
.bild-text .text p {
    margin-left: 0;
}
@media (min-width:1001px) {
    .bild-text {
        display: grid;
        grid-template-columns: 50% 50%;
    }
    .bild-text.img-medium.img-left {
        grid-template-columns: 40% 60%;
    }
    .bild-text.img-medium.img-right {
        grid-template-columns: 60% 40%;
    }
    .bild-text .text {
        padding: 4.0rem 40px 4.0rem 40px;
    }
    .bild-text .text .inner  {
        max-width: 100%;
        margin-right: 0;
        margin-left: auto;
    }
    .fullwidth.bild-text .text .inner  {
        width: 620px;
    }
    .bild-text.img-left .text .inner  {
        margin-right: auto;
        margin-left: 0;
    }
}
@media (min-width:1200px) {
    .bild-text .text {
        padding: 4.5rem 60px 4.5rem 60px;
    }
    .bild-text.img-right .text {
        order: -1;
        padding-left: 40px;
    }
}
@media (min-width:1310px) and (max-width:1370px) {
    .bild-text.img-right .text {
        padding-left: 10px;
    }
}
@media (min-width:1371px) {
    .bild-text.img-right .text {
        padding-left: 0;
    }
}

.bild-text .gallery a {
    display: block;
    position: relative;
}
.bild-text .gallery a::after {
    content: "\f002";
    position: absolute;
    z-index: 10;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    padding: 5px 8px 8px 8px;
    background: var(--cta-clr);
    color: #fff;
    font-family: "Font Awesome 7 Pro";
    display: inline-block;
    text-align: center;
    font-weight: 400;
    font-size: 20px;
    opacity: 0.9;
}
.bild-text .gallery a:hover::after {
    opacity: 1;
}


/* .... DOWNLOAD .... */
.downloads {
    margin: 2rem 0;
}
.download {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
}
.download i {
    font-size: 1.4rem;
    color: var(--primary-clr);
    margin-right: 10px;
}
.download a {
    line-height: 1.2em;
    font-size: 1.1rem;
    color: var(--primary-clr);
}
.download a:hover,
.download a:focus {
    color: var(--cta-clr);
}


/* .... HERO .... */
#hero {
    position: relative;
    margin-bottom: 4rem;
}
#hero::after {
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    max-height: 100%;
    content: '';
    display: block;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
}
#hero.fullscreen {
    height: 100vh; /* Vollbildhöhe */
}
#hero.fullscreen img.hero-img {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Bild füllt den Bereich, ohne Verzerrung */
    z-index: 1;
}
#hero.overlay img.hero-img {
    filter: grayscale(100%);
    opacity: 0.6;
}  
#hero.overlay::after {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: '';
    background: linear-gradient(277.33deg, rgba(47, 181, 202, 0.7) -0.71%, rgba(0, 87, 105, 0.7) 70.25%);
} 
#hero.hero-nomargin {
    margin-bottom: 0;
}
#hero .textbox {
    position: absolute;
    z-index: 10;
    top: 80px;
    right: 0;
    bottom: 0;
    left: 0;
    display: -ms-textbox!important;
    display: flex!important;
}
#hero.fullscreen .textbox {
    top: 100px;
}

#hero .textbox .grid-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    padding: 0 40px;
}
@media (max-width: 768px) {
    #hero .textbox .grid-container {
        padding: 0 30px;
    }
}   
#hero .textbox .content {
    max-width: 700px;
}
#hero .button {
    color: #fff !important;
}
#hero .button::before {
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='Ebene_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 26 15'%3E%3Cdefs%3E%3Cstyle%3E .st0 %7B fill: %23ffffff; %7D %3C/style%3E%3C/defs%3E%3Cpath class='st0' d='M25.7,6.8L19.3.5c-.4-.4-1-.4-1.4,0-.4.4-.4,1,0,1.4l4.7,4.7H0v2h22.6l-4.7,4.7c-.4.4-.4,1,0,1.4s1,.4,1.4,0l6.4-6.4c.4-.4.4-1,0-1.4Z'/%3E%3C/svg%3E") !important;
}
#hero .button:hover::before,
#hero .button:focus::before {
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='Ebene_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 26 15'%3E%3Cdefs%3E%3Cstyle%3E .st0 %7B fill: %2369C6DB; %7D %3C/style%3E%3C/defs%3E%3Cpath class='st0' d='M25.7,6.8L19.3.5c-.4-.4-1-.4-1.4,0-.4.4-.4,1,0,1.4l4.7,4.7H0v2h22.6l-4.7,4.7c-.4.4-.4,1,0,1.4s1,.4,1.4,0l6.4-6.4c.4-.4.4-1,0-1.4Z'/%3E%3C/svg%3E")  !important;
}
#hero .logo img {
    max-width: 100px;
    margin-top: 2rem;
}
@media (min-width:1000px) {
    #hero .logo img {
        max-width: 150px;
        margin-top: 5rem;
    }
}

/* box vertical center */
#hero .textbox.box-left,
#hero .textbox.box-right,
#hero .textbox.box-center {
    -ms-flex-align: center!important;
    align-items: center!important;
}
/* box left */
#hero .textbox.box-left .grid-container {
    justify-content: flex-start;
}
/* box right */
#hero .textbox.box-right .grid-container {
    justify-content: flex-end;
}
/* box center */
#hero .textbox.box-center .grid-container {
    justify-content: center;
}

#hero img.hero-img {
    display: block;
	width: 100%;
}
#hero > div:not(.box-below) .textbox {
  width: 400px;
  background: rgba(255,255,255,0.7);
}
@media (max-width:767px) {
  #hero div:not(.box-below) .textbox {
    display: none;
  }
}
#hero .text {
  padding: 20px 0;
  font-size: 1.2rem;
  color: #fff;
}
#hero h1,
#hero h2,
#hero h3,
#hero h4,
#hero .headline {
  margin: 0;
  padding: 7px 0px;   
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
}
#hero.fullscreen h1,
#hero.fullscreen h2,
#hero.fullscreen h3,
#hero.fullscreen h4,
#hero.fullscreen .headline {
  font-size: 3rem;
}
@media (min-width: 800px) {
    #hero h1,
    #hero h2,
    #hero h3,
    #hero h4,
    #hero .headline {
        font-size: 2.5rem;
    }
    #hero.fullscreen h1,
    #hero.fullscreen h2,
    #hero.fullscreen h3,
    #hero.fullscreen h4,
    #hero.fullscreen .headline {
        font-size: 4rem;
    }
    #hero .text {
        font-size: 1.3rem;
    }
}
@media (min-width: 1100px) {
    #hero h1,
    #hero h2,
    #hero h3,
    #hero h4,
    #hero .headline {
        font-size: 3rem;
    }
    #hero.fullscreen h1,
    #hero.fullscreen h2,
    #hero.fullscreen h3,
    #hero.fullscreen h4,
    #hero.fullscreen .headline {
        font-size: 5rem;
    }
}



/* textbox als Banner */
#hero .textbox.box-below {
	position: relative;
	top: inherit;
	right: inherit;
	bottom: inherit;
	left: inherit;
	background: #55c1cc;
}
#hero .box-below .textbox {
	width: 100%;
	padding: 20px 0 20px;
    text-align: center;
}
#hero .box-below h3 {
	padding: 0;
	margin-bottom: 10px;
	background: none;
	text-align: center;
	font-size: 2rem;
}
#hero .box-below .text {
	padding: 0;
	background: transparent;
	color: #fff;
	font-size: 1.5rem;
}
#hero .box-below p {
	margin-bottom: 0;
}


/* .... badge (noch nicht im Template integriert) .... */
#hero .badge {
    position: absolute; 
    padding: 0;
    color: #fff;
    white-space: normal;
    hyphens: auto;
    line-height: 1.6rem;
    font-size: 1.2rem;
}
#hero .badge-right {
    top: -10px;
    right: 5%;
    transform: rotate(8deg);
}
#hero .badge-left {
    top: -10px;
    left: 5%;
    transform: rotate(-8deg);
}
#hero .badge-rightbottom {
    bottom: -40px;
    right: 5%;
    transform: rotate(8deg);
}
#hero .badge-leftbottom {
    bottom: -40px;
    left: 5%;
    transform: rotate(-8deg);
}
#hero .badge p {
    margin: 0;
    line-height: 1.8rem;
}
#hero .badge span,
#hero .badge a:link, 
#hero .badge a:visited {    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;    
    width: 140px;
    height: 140px;
    border-radius: 70px;
    background: #56ada0;
    color: #fff;
    padding: 1.2rem;
}

@media (min-width:768px) {
    #hero .badge {
        line-height: 1.8rem;
        font-size: 1.35rem;
    }
    #hero .badge span,
    #hero .badge a:link, 
    #hero .badge a:visited {  
        width: 150px;
        height: 150px;
        border-radius: 75px;
    }
}
@media (min-width:1600px) {
    #hero .badge-right {
        top: -20px;
        right: 15%;
    }
    #hero .badge-left {
        top: -20px;
        left: 15%;
    }
    #hero .badge-rightbottom {
        right: 15%;
    }
    #hero .badge-leftbottom {
        left: 15%;
    }
}






/* .... STICKY SIDEBAR .... */
/* sticky sidebar */
/*
.sticky-sidebar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}
.sticky-sidebar > div {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}
.sticky-sidebar .sticky-button {
    position: relative;
    flex: 1 0 auto;
    background: #fff;
    -webkit-transition: all .6s ease-in-out;
    -moz-transition: all .6s ease-in-out;
    -ms-transition: all .6s ease-in-out;
    -o-transition: all .6s ease-in-out;
    transition: all .6s ease-in-out;
}

.sticky-sidebar .sticky-button > a,
.sticky-sidebar .sticky-button > span {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 12px 14px;
    color: #fff;
    border: none;
    border-right: none;
    font-size: 17px;
}

.sticky-sidebar .sticky-button > a > i {
    width: auto;
    height: 25px;
}

.sticky-sidebar .sticky-button .title {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
}

@media (min-width: 1000px) {
    .sticky-sidebar {
        position: fixed;
        top: 25vh;
        bottom: inherit;
        left: inherit;
        box-shadow: none;
        z-index: 100;
        right: 0;
        max-width: 55px;
        overflow: visible;
    }

    .sticky-sidebar>div {
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .sticky-sidebar .sticky-button {
        position: relative;
        right: 0px;
        margin-bottom: 15px;
        border-radius: 0;
        box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
        background-color: var(--cta-clr);
    }

    .sticky-sidebar .sticky-button:hover {
        background-color: var(--cta-clr-darker);
    }

    .sticky-sidebar .sticky-button:not(.notitle):hover,
    .sticky-sidebar .sticky-button:not(.notitle):focus {
        left: -170px;
        width: 225px;
    }

    .sticky-sidebar .sticky-button > a,
    .sticky-sidebar .sticky-button > span {
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        width: 230px;
        color: #fff;
        text-decoration: none;
        background: var(--cta-clr);
        padding: 12px 14px 12px 60px;
    }

    .sticky-sidebar .sticky-button > a:hover,
    .sticky-sidebar .sticky-button > a:focus {
        color: #fff;
    }

    .sticky-sidebar .sticky-button > a > i,
    .sticky-sidebar .sticky-button:last-child img {
        width: 45px;
        height: auto;
        margin: 0;
        font-size: 30px;
        position: absolute;
        left: 14px;
    }

    .sticky-sidebar .sticky-button > a > i.fa-address-book {
        margin-left: 3px;
    }

    .sticky-sidebar .sticky-button-content {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        display: none;
        padding: 15px 15px 5px;
        background: #f3f3f3;
        color: #333;
        font-size: 0.9rem;
    }
    .sticky-sidebar .sticky-button-content p {
        font-size: 15px !important;
        line-height: 1.25em;
    }
    .sticky-sidebar .sticky-button-content p.footer-title {
        margin-bottom: 0;
    }

    .sticky-sidebar .sticky-button:hover .sticky-button-content {
        display: block;
    }
    .sticky-sidebar .sticky-button-content .phone i {
        margin-right: 5px;
    }

}


@media (max-width: 999px) {
    .site-footer {
        margin-bottom: 2.7em;
    }
    .sticky-sidebar .sticky-button:not(:first-child) {
        border-left: 2px solid rgba(255, 255, 255, 0.8);
    }
    .sticky-sidebar {
        display: flex;
        right: 0;
        bottom: 0;
        left: 0;
    }
    .sticky-sidebar .sticky-button {
        display: flex;
        justify-content: center;
        width: 20%;
        background-color: var(--cta-clr);
        border-top: none;
    }
    .sticky-sidebar .sticky-button:hover {
        background-color: var(--cta-clr-darker);
    }
    .sticky-sidebar .sticky-button > a,
    .sticky-sidebar .sticky-button > span {
        width: 100%;
        justify-content: center;
        font-size: 15px;
        padding: 10px 15px;
        flex-direction: row;
        border: none;
    }
    .sticky-sidebar .sticky-button > a > i,
    .sticky-sidebar .sticky-button img {
        margin-right: 10px;
        color: #fff;
        font-size: 24px;
    }
    .sticky-sidebar .sticky-button > span {
        color: #fff;
    }
    .sticky-sidebar .sticky-button > a span {
        display: none;
    }
    .sticky-sidebar .sticky-button-content {
        display: none;
    }
}

@media (max-width: 505px) {
    .sticky-sidebar .sticky-button > a,
    .sticky-sidebar .sticky-button > span {
        padding-left: 5px;
        padding-right: 5px;
    }
    .sticky-sidebar .sticky-button > a > i {
        margin-right: 10px;
    }
}
*/

/* .... LOGOS .... */
.logos .grid {
    display: flex;
    justify-content: center;
    align-items: center;
}
.logos.align-left .grid {
    justify-content: flex-start;
}
.logos .logobox {
    display: flex;
    justify-content: center;
    align-items: center;
}
.logos img {
    height: 80px;
    transition: all 0.5s;
}
.logos a:hover img {
    transform: scale(1.05);
}


/* .... ICON-TEASER .... */
.icon-teaser .grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
}
.iconbox {
    max-width: 200px;
    text-align: center;
    padding: 0;
}
@media (min-width:600px) and (max-width:800px) {
    .teaser .grid-3 .iconbox:last-child {
        grid-column: 1 / 3;
    }
}
@media (min-width:800px) {
    .icon-teaser .grid {
        display: flex;
        justify-content: center;
        gap: 4rem;
        margin: 0 50px;
    }
}

@media (min-width:1100px) {
    .icon-teaser .grid {
        gap: 6rem;
    }
}
.iconbox .image {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    margin: 0 auto 1rem;
    border-radius: 100%;
    transition: all 0.4s ease-in-out;
}
.iconbox img,
.iconbox svg {
    max-width: 60%;
    transition: all 0.5s;
}
.fullwidth .iconbox .image {    
    background: #fff;
}
.fullwidth .iconbox img,
.fullwidth .iconbox svg {
    max-width: 40%;
}
.iconbox .headline {
    margin-top: 0 !important;  
    margin-bottom: 0.5rem !important;  
    color: var(--primary-clr) !important;
    line-height: 1.2em;
}
.iconbox .text {
    line-height: 1.2em;
}


/* .... SPECIAL HEADLINE .... */
.special-headline .preline {
    margin-bottom: 5px;
    font-size: 33px;
    font-weight: 700;
}
.special-headline .headline {
    font-size: 45px;
}


/* .... SOCIAL .... */
.social {
    display: flex;
    gap: 0.5rem;
    margin-top: 3rem;
}
.social svg {
    width: 30px;
    height: 30px;
    fill: var(--primary-clr);
}
.social .external svg {
    width: 28px;
    height: 28px;
}
.social a:hover svg,
.social a:focus svg {
    fill: var(--cta-clr);
}