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

:root {
    --primary-clr: #263952;
    --darker-primary-clr: #263952;
    --light-grey: #f3f3f3;
    --cta-clr: #00C6BF;
	--hover-cta-clr: #03f5ed;
    --darker-cta-clr: #018a97;
    --beige-clr: #ece5d4;
    --font-headlines: 'DM Sans', Helvetica, sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

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

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


/* .... 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: var(--beige-clr);
    color: var(--primary-clr);
}
.fullwidth.fullwidth-light h2,
.fullwidth.fullwidth-light h3,
.fullwidth.fullwidth-light h4 {
    color:var(--primary-clr);
}
.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: 6rem;
    padding-bottom: 6rem;
}
.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;
    position: relative;
}
.fullwidth.imageonly .fullwidth-content {
    height: 400px;
}
.fullwidth-parallax:not(.imageonly)::before {
    content:'';
    display: block;
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: 0;
    width: 60%;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&1+0,1+3,0.7+79,0+100 */
background: linear-gradient(to right,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 3%,rgba(255,255,255,0.7) 79%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
@media (max-width:781px) {
    .fullwidth-parallax:not(.imageonly)::before {
        width: 100%;
    }
}
.fullwidth-parallax:not(.imageonly) .fullwidth-content {
    position: relative;
    z-index: 5;
    color: var(--primary-clr);
}
.fullwidth-parallax:not(.imageonly) h1,
.fullwidth-parallax:not(.imageonly) h2,
.fullwidth-parallax:not(.imageonly) h3,
.fullwidth-parallax:not(.imageonly) h4 {
    color: var(--primary-clr);
}

/* 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 {
    position: relative;
    background-color: var(--primary-clr);
    color: #fff;
    cursor: pointer;
    margin: 0;
    padding: 10px 40px 8px 20px;
    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 {
    position: absolute;
    top: 13px;
    right: 15px;
    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;
}

/* 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: 600;
    font-size: 20px;
}
.team .text .title {
    margin-top: 6px;
    font-size: 16px;
}
.team .text a.wp-block-button__link {
    margin-top: 0;
}



/* 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;
}


/* .... 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;
}





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




/* .... TEASER .... */
.wp-block-lazyblock-teaser {
    width: 100%;
}
.teaser {
    position: relative;
}
.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 h3 {
    margin-top: 15px;
    color: var(--primary-clr) !important;
    line-height: 1.2em;
}
.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;
    color: #fff;
    background: rgba(255,255,255,0.2);
}
.teaser-tiles .teaserbox a:hover .inner,
.teaser-tiles .teaserbox a:focus .inner {
    background: rgba(255,255,255,0.4);
}
.teaser-tiles:not(.teaser-logos) .teaserbox .image {
    position: absolute;
    z-index: 1;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.teaser-tiles:not(.teaser-logos) .teaserbox .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.teaser-tiles.teaser-logos .teaserbox .image {
    order: 1;
    padding: 1.5rem;
}
.teaser-tiles.teaser-logos .teaserbox .image img {
    display: block;
}
.teaser-tiles .teaserbox .textbox {
    position: relative;
    z-index: 10;
    height: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem;
    transition: all 0.5s;
}
.teaser-tiles .teaserbox .textbox h3 {
    margin: 0;
    color: #fff !important;
}
.teaser-tiles .teaserbox .textbox h3::after {
    display: none;
}
.teaser-tiles .teaserbox .textbox .text {
    color: #fff;
    transition: all 0.5s ease-in-out;
    font-weight: 400;
}
.teaser-tiles .teaserbox .textinner {
    padding-top: 15px;
}
@media (max-width: 600px) {
    .teaser-tiles .teaserbox .textbox {
        padding: 1rem;
    }
}
@media (min-width: 1025px) and (max-width:1300px){
    .teaser-tiles .teaserbox .textbox {
        padding: 1rem;
    }
}

/* ... BILD MIT TEXT .... */
.bild-text {
    background: transparent;
}
.bild-text:not(.fullwidth) {
    margin: 5rem 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: 2.5rem 40px;
}
.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;
}
#hero::after {
    position: absolute;
    z-index: 10;
    bottom: -1px;
    width: 100%;
    height: 20%;
    content: '';
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#7db9e8+0,263952+100&0+0,1+100 */
background: linear-gradient(to bottom,  rgba(125,185,232,0) 0%,rgba(38,57,82,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
#hero.fullscreen {
    height: 100vh; /* Vollbildhöhe */
}
#hero.hero-nomargin {
    margin-bottom: 0;
}
#hero .textbox {
    position: absolute;
    z-index: 15;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: -ms-textbox!important;
    display: flex!important;
}
#hero .textbox .grid-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 80px 30px 0;
}
@media (min-width:769px) {
    #hero .textbox .grid-container {
        padding: 0 40px;
        margin-top: 80px;
    }
}

#hero img {
    display: block;
	width: 100%;
}
#hero.fullscreen 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 > div:not(.box-below) .textbox {
  width: 100%;
}
@media (max-width:767px) {
  #hero div:not(.box-below) .textbox {
    display: none;
  }
}
#hero .content {
    width: 100%;
    text-align: center;
}
#hero .content::after {
    content: '';
    display: block;
    width: 600px;
    max-width: 60%;
    height: 100px;
    margin: 0 auto;
    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 267.8 33.1'%3E%3C!-- Generator: Adobe Illustrator 29.0.0, SVG Export Plug-In . SVG Version: 2.1.0 Build 186) --%3E%3Cpath d='M161.8,10.9c14.5-2.9,29-5.2,43.1-.2-19.4-.6-36.4,3-55,6.3-40.3,7.3-28-12.6-50-11.8h0C73.6,6.1,30.5,34.8,0,23.7c22.6-.8,43.2-4.3,63.6-13.3,16-7,43.6-16.2,56-2,6.9,6,13.3,7.5,23.8,5.9M153.6,12.7h0' fill='%23fff'/%3E%3Cpath d='M177.5,24.1c-23.9,5.2-63.9,16.2-79.4-5.3-25.3-.2-41.2,14.7-68.5,12.1,25.4-1.8,51-19.4,72-15.7,16,26.9,72.6.5,111.8.4,5.5-.1,35.2-1,53.2,10.2-31.2-7-58.7-8.3-89.1-1.7h0Z' fill='%23fff'/%3E%3C/svg%3E");
    background-repeat: no-repeat no-repeat;
    background-position: center center;
    background-size: contain;
}
#hero h1,
#hero h2,
#hero h3,
#hero h4,
#hero .headline {
    margin: 0;
    padding: 7px 20px;  
    color: #fff;
    font-weight: 800;
    font-size: 9vw;
    opacity: 0.9;
    line-height: 1em;
    text-shadow: 0px 0 15px rgba(0,0,0,0.2);
}
#hero .subline {
    font-size: 6vw;
    font-weight: 600;
    opacity: 0.9;
    line-height: 1em;
}

@media (min-width:700px) {
    #hero h1,
    #hero h2,
    #hero h3,
    #hero h4,
    #hero .headline {
        font-size: 10vw;
    }
    #hero .subline {
        font-size: 5vw;
    }
}
@media (min-width:1000px) {
    #hero h1,
    #hero h2,
    #hero h3,
    #hero h4,
    #hero .headline {
        font-size: 9vw;
    }
    #hero .subline {
        font-size: 3vw;
    }
}
@media (min-width:1400px) {
    #hero h1,
    #hero h2,
    #hero h3,
    #hero h4,
    #hero .headline {
        font-size: 8vw;
    }
    #hero .subline {
        font-size: 3vw;
    }
}


#hero .social {
    position: absolute;
    z-index: 100;
    bottom: 20px;
    left: 0;
    right: 40px;
}
#hero .social .grid-container {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    width: 100%;
}
#hero .social a {
    color: #fff;
    font-size: 30px;
}
@media (max-width:700px) {
    #hero .social {
        right: 20px;
    }
}
@media (min-width:1000px) {
    #hero .social a {
        font-size: 40px;
    }
}


/* .... SPECIAL HEADLINE .... */
.special-headline {
    text-align: center;
}
.special-headline .preline {
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1rem;
}
.special-headline h1 {
    margin-bottom: 0;
    font-weight: 700;
}
.special-headline .subline {
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.2rem;
    font-weight: 400;
    text-transform: uppercase;
}