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


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

.lazy-margin {
    margin-top: 5rem;
    margin-bottom: 5rem;
}
.lazy-top-margin {
    margin-top: 5rem;
}
.lazy-bottom-margin {
    margin-bottom: 5rem;
}


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

.fullwidth .fullwidth-content {
    max-width: 1400px;
    padding: 0px 40px;
    margin: 0 auto;
}
.fullwidth.fullwidth-padding .fullwidth-content {
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.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;
}
/* bild rechts */
.team-card.img-right:not(.noimage) {
    display: grid;
    grid-template-columns: 66.66666% 33.33333%;    
}
.team-card.img-right .image {
    order: 2; 
}
.team-card.img-right .text {
    order: 1; 
}
/* bild links */
.team-card.img-left {
    display: flex;
}
/* 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: bold;
}
.team .text .title {
    margin-bottom: 10px;
}

/* MULTIPLE */
.team-tiles.team-multiple .image {
    display: block;
    position: relative;
    margin-bottom: 1.3rem;
    padding-bottom: 60%;
    height: 0;
}
.team-multiple img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
}


/* .... 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: 5px;
}
.contact div.anfahrt {
    margin-top: 0px;
}
.contact div.phone {
    margin-top: 20px;
}




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

.teaser .headline {
    font-size: 1.9rem;
    max-width: 100%;
    padding:20px 120px 20px 5px;
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='Ebene_1' data-name='Ebene 1' xmlns='http://www.w3.org/2000/svg' width='1400' height='170' viewBox='0 0 1400 170'%3E%3Cdefs%3E%3Cstyle%3E .cls-1 %7B fill: %23086697; %7D .cls-2 %7B fill: %23fff; %7D .cls-3 %7B stroke: %23069; stroke-miterlimit: 10; stroke-width: 4px; %7D .cls-3, .cls-4 %7B fill: %23069; %7D .cls-5 %7B fill: %23069; %7D %3C/style%3E%3C/defs%3E%3Cg%3E%3Ccircle class='cls-1' cx='1246.12' cy='59.58' r='3.71'/%3E%3Ccircle class='cls-1' cx='1286.16' cy='59.58' r='3.71' transform='translate(75.1 496.73) rotate(-22.5)'/%3E%3C/g%3E%3Cpath class='cls-2' d='M1215.05,163.45h-28.89c-2.06,0-3.74-1.67-3.74-3.74l-.2-13.46h36.36l.2,13.46c0,2.06-1.67,3.74-3.74,3.74Z'/%3E%3Cpath class='cls-5' d='M1185.18,88.76c-.88-3.49-5.42-2.98-5.51.62.88,3.49,5.42,2.98,5.51-.62Z'/%3E%3Cpath class='cls-5' d='M1196.68,68.09c.88,3.49,5.42,2.98,5.51-.62-.88-3.49-5.42-2.98-5.51.62Z'/%3E%3Cpath class='cls-5' d='M1200.7,81.55l-1.21,1.51-2.15,2.69-1.21,1.51c-.43,1.92.96,3.21,2.43,3l4.27-.59c.47-.06.89-.31,1.18-.67.02-.03.04-.06.06-.08.02-.03.05-.05.07-.08.29-.36.43-.82.39-1.29l-.37-4.3c-.13-1.48-1.69-2.55-3.47-1.71Z'/%3E%3Cpath class='cls-5' d='M1318.06,116.85V46.94l11.07-25.01c.4-.91.63-1.91.6-2.91-.16-5.96-4.66-9.94-9.78-9.94h-32.77c-2.7,0-5.2,1.42-6.59,3.73l-4.16,6.93h-20.58l-4.16-6.93c-1.39-2.31-3.89-3.73-6.59-3.73h-33.58c-1,0-2,.2-2.91.63-5.38,2.56-7.2,8.29-5.13,12.97l10.74,24.26v7.48l-34.24-27.36c-.57-.46-1.39-.49-1.96-.03-8.78,7.06-8.36,19.91-.09,26.51l.11.09-7.07,8.85-7.07,8.85-.11-.09c-7.3-5.83-17.98-4.63-23.79,2.69-1.73,2.18-1.35,5.35.82,7.08l52.57,42.73c-3.75,2.9-6.3,6.32-8.03,9.49-4.37,8-4.42,15.96-4.42,16.29v14.55c0,1.74,1.41,3.15,3.15,3.15h33.54c1.74,0,3.15-1.41,3.15-3.15l-.02-15.81s.03.24.02.24c-2.89-3.28-6.57-1.83-6.57,1.03v11.14s-6.98,0-6.98,0v-6.48c0-.45-.12-.81-.36-1.08s-.57-.41-.99-.41-.75.14-.99.41-.36.63-.36,1.08v6.48h-7.12v-6.48c0-.45-.12-.81-.36-1.08s-.57-.41-.99-.41-.75.14-.99.41-.36.63-.36,1.08v6.48h-7.22v-11.14c0-.07.04-6.6,3.62-13.15,4.43-8.11,12.2-12.47,23.11-12.96v10.37h5.9c.36,0,.65-.29.65-.65V58.24c1.66,1.17,3.67,1.84,5.78,1.84h2.41c2.68,0,5.09-1.63,6.09-4.12l10.84-27.02s0,0,0-.01c-1.46-4.12-5.61-3.63-6.67-.97l-10.25,25.56s0,0,0,0h-4.67s-14.83-33.5-14.83-33.5c-.71-1.6-.03-3.46,1.93-4.38h33.69c.4,0,.76.21.97.55l5.66,9.43c.25.42.71.68,1.21.68h26.41c.5,0,.95-.26,1.21-.68l5.66-9.43c.2-.34.57-.55.97-.55h33.69c1.96.92,2.64,2.78,1.93,4.38l-14.83,33.5s0,0,0,0h-4.67s0,0,0,0l-10.84-27.02c-3.91-1.98-6.57,1.25-5.5,3.9l10.25,25.56c1,2.49,3.41,4.12,6.09,4.12h2.41c2.11,0,4.12-.67,5.78-1.84v74.9c0,.36.29.65.65.65h5.9v-10.37M1199.39,120.16l-53.21-43.27c3.69-3.45,9.47-3.77,13.53-.52l2.16,1.73c2.83,2.26,6.96,1.8,9.22-1.03l-2.05-1.64,7.07-8.85,7.07-8.85,2.05,1.64c2.26-2.83,1.8-6.96-1.03-9.22l-2.16-1.73c-4.06-3.25-5.03-8.95-2.48-13.31l34.67,27.7v54.04c-5.98.24-10.85,1.49-14.84,3.31Z'/%3E%3Cpath class='cls-4' d='M1282.07,107.4c-5.67,0-11.01-2.77-14.3-7.42l-.72-1.01-.72,1.01c-3.29,4.64-8.63,7.42-14.3,7.42-9.36,0-17.04-7.39-17.49-16.64h5c.45,6.5,5.88,11.65,12.49,11.65,5.41,0,10.18-3.45,11.88-8.59.42-1.25-.13-2.6-1.3-3.21l-9.23-4.82c-2.5-1.15-3.78-3.88-3.1-6.5.57-2.2,2.4-3.83,4.65-4.14l12.17-.73s11.9.71,11.9.71c2.42.33,4.25,1.95,4.82,4.16.68,2.62-.61,5.35-3.06,6.49l-11.1,5.8c.91,6.36,6.25,10.84,12.42,10.84,6.61,0,12.04-5.15,12.49-11.65h5c-.46,9.25-8.13,16.64-17.49,16.64Z'/%3E%3Cline class='cls-3' x1='.21' y1='148.62' x2='1183.37' y2='148.62'/%3E%3Cline class='cls-3' x1='1216.89' y1='148.62' x2='1399.27' y2='148.62'/%3E%3C/svg%3E");
background-repeat: no-repeat no-repeat;
background-position: 93% 100%;
background-size: auto 100%;
}
@media (min-width:400px) {
    .teaser .headline {
    font-size: 2.0rem;
        padding:30px 130px 20px 5px;
    }
}
@media (min-width:600px) {
    .teaser .headline {
        font-size: 2.4rem;
        padding: 60px 100px 40px 10px;
        background-position: 93% 100%;
    }
}
@media (min-width:800px) {
    .teaser .headline {
        padding: 80px 100px 40px 20px;
        background-position: center right;
    }
}
@media (min-width:1000px) {
    .teaser .headline {
        padding: 100px 100px 40px 20px;
    }
}

/* .... TEASERBOX .... */
.teaserbox {
    padding: 0;
    color: #555;
}
@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 h3 {
    margin-top: 15px;
    text-align: center;
    color: var(--primary-clr) !important;
    line-height: 1.2em;
    font-size: 2.0rem;
}
.teaserbox .text {
    margin-bottom: 15px;
    text-align: center;
}
.teaserbox .text p {
    margin-bottom: 0;
}
.teaserbox a.button {
    display: block;
    text-align: center;
    color: var(--cta-clr) !important;
}


/* teaser tiles */
.teaser-tiles .teaserbox {
    position: relative;
    min-height: 300px;
}
.teaser-tiles .teaserbox .inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.teaser-tiles .teaserbox .image {
    position: absolute;
    z-index: 1;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,102,153,0.25)	;
    transition: all 0.5s ease-in-out;
}
.teaser-tiles .teaserbox .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    mix-blend-mode: darken;
}
.teaser-tiles .teaserbox .textbox {
    position: relative;
    z-index: 10;
    max-height: 90px;
    padding: 1rem;
    transition: all 0.5s ease-in-out;
}
.teaser-tiles .teaserbox .textbox h3 {
    margin: 0;
    color: #fff !important;
}
.teaser-tiles .teaserbox .textbox h3::after {
    display: none;
}
.teaser-tiles .teaserbox .textbox .text {
    height: 0;
    overflow: hidden;
    margin: 0;
    color: #fff;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}
.teaser-tiles .teaserbox:hover .image {
    background-color: rgba(0,102,153,0.5)	;
}
.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;
}
.teaser-tiles .teaserbox a.button {
    display: none;
}
.teaser-tiles .teaserbox:hover a.button {
    display: block;
    background: none;
    margin: 0;
    padding: 5px;
    color: #FFF !important;
}
.teaser-tiles .teaserbox:hover a.button:hover {
    color: var(--cta-clr) !important;
}


/* ... BILD MIT TEXT .... */
.bild-text {
    background: transparent;
}
.bild-text:not(.fullwidth) {
    margin: 3rem 0;
}
.bild-text.img-right .text {
    order: -1;
    padding-left: 0;
}
.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: 0rem 40px;
}
.bild-text .text h1:first-child,
.bild-text .text h2:first-child,
.bild-text .text h3:first-child,
.bild-text .text h4:first-child { 
    margin-top: 0;
}
.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 .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;
    }
}

.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 .fas {
    font-size: 1.4rem;
    color: var(--primary-clr);
    margin-right: 10px;
}
.download a {
    line-height: 1.2em;
    font-size: 1.1rem;
}


/* .... HERO .... */
#hero {
    position: relative;
    margin-bottom: 4rem;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#d6d2cd+0,eae5e1+100 */
background: linear-gradient(135deg,  #d6d2cd 0%,#eae5e1 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
#hero::before {
    content: '';
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: url(../gfx/hero-overlay.webp) top left no-repeat;
    background-size: contain;
}
@media (max-width:600px) {
    #hero::before {
        background-size: cover;
    }
}
#hero,
#hero .logo-container {
    height: 70vh;
}
#hero.hero-halfheight,
#hero.hero-halfheight .logo-container {
    height: 350px
}
#hero .logo-container {
    position: relative;
    z-index: 9;
    width: 100%;   
    display: grid;
    grid-template-columns: 4fr 5fr;
}
#hero .logo {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 20px;
}
#hero .logo a {
    display: block;
    height: 100%;
}
#hero .logo-container .logo img {
    width: auto;
    height: 100%;
    max-height: 100%;
}
#hero .logo-container .image {
    overflow: hidden;
    display: flex;
    justify-content: flex-end;
}
#hero .logo-container .image img {
    width: auto;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: bottom;
}
#hero.hero-nomargin {
    margin-bottom: 0;
}
#hero .textbox {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: -ms-textbox!important;
    display: flex!important;
}
#hero .textbox .grid-container {
    display: flex;
    width: 100%;
    padding: 0 30px;
}



@media (max-width: 768px) {
    #hero .logo {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    #hero .logo img {
        object-fit: contain;
        object-position: top;
    }
    #hero.hero-halfheight,
    #hero.hero-halfheight .logo-container  {
        height: 200px
    }
    #hero.hero-halfheight .logo-container {
        grid-template-columns: 2fr 1fr;
    }
    #hero.hero-halfheight .logo {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}
@media (min-width: 769px) {
    #hero .logo-container {
        grid-template-columns: 3fr 6fr;
    }
    #hero.hero-halfheight,
    #hero.hero-halfheight .logo-container  {
        height: 250px
    }
    #hero.hero-halfheight .logo-container {
        grid-template-columns: 3fr 6fr;
    }
    #hero .logo {
        padding-left: 40px;
    }
    #hero.hero-halfheight .logo {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}
@media (min-width: 1200px) {
    #hero .logo-container {
        grid-template-columns: 3fr 7fr;
    }
    #hero.hero-halfheight {
        height: 300px
    }
}

/* 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 {
    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;
  font-size: 1rem;
}
#hero h1,
#hero h2,
#hero h3,
#hero h4,
#hero .headline {
  margin: 0;
  padding: 7px 20px;    
  background: #fff;
  color: #555;
  font-weight: 400;
}
#hero h1 {
  font-size: 3rem;
}
#hero h2 {
  font-size: 2.6rem;
}
#hero h3 {
  font-size: 2.2rem;
}
#hero h4 {
  font-size: 2rem;
}
#hero .headline {
    font-size: 2.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;
}


/* hero mit Infoboxen */
#hero.hero-info {
    margin-bottom: 0;
}
.infoboxes.grid-container {
    position: relative;
    z-index: 10;
    gap: 60px 30px;
    margin-top: -3rem;
    margin-bottom: 4rem;
}
@media (max-width:1450px) {
    .infoboxes.grid-container {
        margin-left: 40px;
        margin-right: 40px;
    }
}

.infoboxes .box {
    position: relative;
    padding: 35px 25px 25px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 7px rgba(0,0,0,0.2);
}
.infoboxes .box:first-child::before {
    content: '';
    position: absolute;
    left: -70px;
    top: 30px;
    width: 70px;
    height: 110px;
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='Ebene_1' data-name='Ebene 1' xmlns='http://www.w3.org/2000/svg' width='42.95' height='64.83' viewBox='0 0 42.95 64.83'%3E%3Cdefs%3E%3Cstyle%3E .cls-1 %7B fill: %23086697; %7D %3C/style%3E%3C/defs%3E%3Cg%3E%3Ccircle class='cls-1' cx='25.93' cy='36.39' r='1.57'/%3E%3Ccircle class='cls-1' cx='35.94' cy='23.86' r='1.57' transform='translate(-2.49 43.46) rotate(-60.59)'/%3E%3Cpath class='cls-1' d='M36.44,32.28l-.46.58-1.26,1.58-.46.58c-.33.41-.38.98-.11,1.44.26.46.77.71,1.3.64l2.52-.35c.28-.04.52-.18.69-.39.01-.02.02-.03.04-.05.01-.02.03-.03.04-.05.17-.21.25-.48.23-.76l-.22-2.53c-.05-.53-.4-.97-.91-1.12-.51-.15-1.05.01-1.38.43Z'/%3E%3C/g%3E%3Cpath class='cls-1' d='M42.82,59.03L4.6,29.23c2.17-2.03,5.57-2.22,7.96-.31l1.27,1.02c1.67,1.33,4.1,1.06,5.43-.61l-.58-.46c-.35-.28-.4-.78-.13-1.13l3.66-4.58,3.66-4.58c.28-.35.78-.4,1.13-.13l.58.46c1.33-1.67,1.06-4.1-.61-5.43l-1.27-1.02c-2.39-1.91-2.96-5.27-1.46-7.84l18.58,14.84v-4.94L25.92,1.02c-1.28-1.02-3.15-.83-4.17.45-3.44,4.29-2.75,10.58,1.55,14.01l.07.05-4.16,5.21-4.16,5.21-.07-.05c-4.29-3.43-10.58-2.72-14,1.58-1.02,1.28-.8,3.15.48,4.17l41.37,32.27v-4.89Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat no-repeat;
    background-position: center right;
    background-size: contain;
}
@media (min-width:700px) and (max-width:999px) {
    .infoboxes.grid-3 .box:last-child {
        grid-column: 1 / 3;
    }
}
.infoboxes .box i {
    position: absolute;
    top: -30px;
    left: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 54px;
    height: 54px;
    font-size: 27px;
    color: #fff;
    background: var(--cta-clr);
    border-radius: 50%;
}
.infoboxes .headline {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    color: var(--primary-clr);
    font-weight: 600;
}