@media ( min-width: 1200px) {}

@media ( min-width: 992px) {}

@media ( min-width: 769px) {}

@media ( max-width: 768px) {}

@media ( max-width: 768px) {
    :where(.wp-block-columns.is-layout-flex) {
        gap: 0;
    }
}

:root{
    font-family: "Red Hat Display", Arial, Helvetica, sans-serif;
    color:#364042;
    background:#E9E5E5;
    font-synthesis:none;
    --lightgray:#E9E5E5;
    --blue:#8FA3B2;
    --midgray:#75756A;
    --darkgray:#364042;
}

h1 {
    color: var(--color1);
}

@media only screen and (min-width: 993px) {
    .container {
        width: 90%;
    }
    .container .container{
        width: 100%;
        padding-left:0.75rem;
        padding-right:0.75rem;;
    }
}
/* 
.container{
    padding-left: 20px;
    padding-right: 20px;
} */

a:focus {
    outline: none !important;
}

* {
    border: 0px;
    margin: 0px;
    padding: 0px;
    text-decoration: none;
    outline: none;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.4);
    box-sizing: border-box;
}

ul, ol{
    padding-left: 0;
}

*::selection {
    background: #ccc;
    color: #fff;
}

html,
body {
    min-height: 100%;
}

body {
    background: var(--lightgray);
    color: var(--darkgray);
    font-family: "Red Hat Display", Arial, Helvetica, sans-serif;
    font-size: 17px;
    -webkit-text-size-adjust: none;
    font-weight: 400;
}

div {
    position: relative;
}

img,
iframe,
video {
    vertical-align: bottom;
}

img {
    max-width: 100%;
    height: auto;
}

.image-fitted {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    transition: .6s;
    object-fit: cover;
    height: 100%;
    width: 100%;
    object-position: 50% 50%;
}

a{text-decoration: none;} 

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 10px 0;
    -webkit-hyphens: manual;
    hyphens: manual;
    word-wrap: break-word;
    font-family: "Parkinsans", sans-serif;
}

h1 {
    font-size: 40px;
    font-size: clamp(30px, 2.5vw, 42px);
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.1;
}

.mark, mark {
    padding: 0 !important;
    background-color: unset !important;
    color: var(--blue) !important;
}

.has-pale-cyan-blue-color{
    color: var(--blue) !important;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: bold;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 18px;
    text-transform: uppercase;
}


@media ( max-width: 768px) {
    h1 { font-size: 30px; }
    h2 { font-size: 24px; }
    h3 { font-size: 22px; }
    h4 { font-size: 20px; }
    h5 { font-size: 16px; }
    h6 { font-size: 16px; }
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover{
    color:var(--color1);
}

p {
    margin: 0 0 10px 0;
    line-height: 1.45em;
    letter-spacing: 0.02em;
    -webkit-hyphens: auto;
    hyphens: auto;
    text-align: justify;
}

p a {
    color: #666;
}

p a:hover {
    color: #888;
}

a.readmore:after {
    font-family: 'bootstrap-icons';
    content: '\F231';
    margin: 0 0 0 5px;
    transform: translate(0, 1px);
    color: var(--color1);
    display: inline-block;
    transition: .1s;
}

a.readmore:hover:after {
    transform: translate(3px, 1px);
}

a.underline {
    text-decoration: none;
    background-image: linear-gradient(var(--color3), var(--color3));
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 3px;
    transition: background-size .3s;
}

a.underline:hover, a.underline:focus {
    background-size: 100% 3px;
}

.no-hyphens {
    -webkit-hyphens: none;
    hyphens: none;
    word-wrap: break-word;
}

strong, b{
    font-weight: 700;
}

/*
.btn{
background:#d30000;
color:#fff;
padding:10px 15px;
transition:all .2s;
display:inline-block;
letter-spacing:1px;
position:relative;
font-weight:700;
text-transform:uppercase;
}


.btn:hover{
background:#fff;
color:#d30000;
transition:all .15s;
border:0;
}
*/

.arrow_right {
    padding-right: 35px;
}

.arrow_right:after {
    font-family: 'bootstrap-icons';
    content: '\F231';
    z-index: 100;
    color: #fff;
    position: absolute;
    top: 50%;
    margin-top: -5px;
    right: 15px;
    transition: all .15s;
}

.arrow_right:hover:after {
    color: #d30000;
    right: 10px;
}

.wp-block-separator {
    border: unset;
    border-left: none;
    border-right: none;
    height: unset;
}

hr {
    height: 0;
    margin: 20px 0 30px 0;
    border-bottom: 2px solid #999 !important; 
    width: 100%;
    text-align: left;
    opacity: 1;
}

.shaded {
    display: inline;
    color: #fff!important;
    background: none repeat scroll 0px 0px #285e7a;
    box-shadow: 5px 0 0 #285e7a, -5px 0 0 #285e7a;
    background-origin: border-box;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.lined {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 6px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-align: center;
    margin-bottom: 30px;
}

.lined:before,
.lined:after {
    background-color: #aaa;
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: middle;
    width: 50%;
}

.lined:before {
    right: 1em;
    margin-left: -50%;
}

.lined:after {
    left: 1em;
    margin-right: -50%;
}


/* LAYOUT */

.bodywrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.innerwrap {
    min-height: calc(100vh - 187px);
}

.section {
    width: 100%;
    padding: 0;
}

.bgimg {
    background-size: cover;
    background-position: center;
}


/*  <video autoplay muted loop playsinline class="bgvideo"> */

.bgvideo {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-color: black;
    background-position: center center;
    background-size: contain;
    z-index: 0;
    object-fit: cover;
}

.row {
    margin-bottom: 0;
}


/*.col{outline: 1px dotted #ccc;}*/

.padding30 {
    padding-top: 30px;
    padding-bottom: 30px;
}

.padding50 {
    padding-top: 50px;
    padding-bottom: 50px;
}

.padding70 {
    padding-top: 70px;
    padding-bottom: 70px;
}

.paddingbottom10 {
    padding-bottom: 10px;
}

.paddingbottom20 {
    padding-bottom: 20px;
}

.spacer10 {
    height: 10px;
}

.spacer20 {
    height: 20px;
}

.spacer30 {
    height: 30px;
}

.spacer50 {
    height: 50px;
}

@media ( max-width: 768px) {
    .desktop {
        display: none;
    }
    .mobile {
        display: block;
    }
    .wrap {
        width: 100%;
    }
    .padding30 {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .padding50 {
        padding-top: 25px;
        padding-bottom: 25px;
    }
    .padding70 {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .spacer10 {
        height: 5px;
    }
    
    .spacer20 {
        height: 10px;
    }
    
    .spacer30 {
        height: 15px;
    }
    
    .spacer50 {
        height: 25px;
    }
}

.full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* width100 for Gutenberg-Blocks */
.width100 {
    position: relative;
    left: 50%;
    right: 50%;
    width:calc(100vw - 15px);   
    margin-left: calc(-50vw + 7.5px);
    margin-right:calc(-50vw + 7.5px);

    width:100vw;   
    margin-left: -50vw;
    margin-right:-50vw;

}


.container90{
    width:90%;
    margin: auto;
}
 
.newsimagewrap{
    float:right; 
    width:50%;
    margin:10px 0 15px 20px;
 }
 
 .newsimagewrap p{
     font-size:14px;
     margin: 3px 0 5px 0;
     max-width: 100%;
  }
 
 
  @media ( max-width: 769px) {
     .newspost p{
         max-width: 100%;
      }
       
      .newsimagewrap{
         float:none; 
         width:100%;
         margin:10px 0 15px 0;
      }
      
      .newsimagewrap p{
          font-size:14px;
          margin: 3px 0 5px 0;
       }
 }

.content img {}

.image_right {
    float: right;
    margin: 0 !important;
    padding: 7px 0 10px 20px;
    width: 40%;
}

.image_left {
    float: left;
    margin: 0 !important;
    padding: 7px 20px 10px 0;
    width: 40%;
}

@media ( max-width: 768px) {
    .image_right,
    .image_left {
        float: none;
        width: 100%;
        padding: 5px 0 15px 0;
    }
}

.bgimgteaser {
    text-align: center;
    min-height: 200px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    overflow: hidden;
    transition: .2s;
    position: relative;
}

.bgimgteaser .text {
    opacity: 0;
    transition: .4s;
}

.bgimgteaser .image,
.bgimgteaser .blackoverlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-size: cover;
    background-position: center;
    transition: .6s;
    object-fit: cover;
    height: 100%;
    width: 100%;
    object-position: 50% 50%;
}

.bgimgteaser .blackoverlay {
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: .2s;
}

.bgimgteaser *,
.bgimgteaser:hover {
    color: #fff;
    text-decoration: none !important;
}

.bgimgteaser:hover>.image {
    transform: scale(1.1);
}

.bgimgteaser:hover>.text,
.bgimgteaser:hover>.blackoverlay {
    opacity: 1;
}

.half-width-image-left {
    width: calc(50vw - 7.5px);
    height: 100%;
    position: absolute;
    left: 0;
    object-fit: cover;
    object-position: 50% 50%;
}

.half-width-image-right {
    width: calc(50vw - 7.5px);
    height: 100%;
    position: absolute;
    right: 0;
    object-fit: cover;
    object-position: 50% 50%;
}

@media ( max-width: 768px) {
    .half-width-image-left,
    .half-width-image-right {
        float: none;
        width: 100%;
        max-height: 40vw;
        position: relative;
    }
}

.bodywrap {
    margin: 0 auto 0;
        max-width: 100%;
    overflow: hidden;
}

.footer {
    background: var(--darkgray);
    margin: 0 auto;
    width: 100%;
    padding: 30px 0 100px 0;
    transition: transform .15s;
    color: #fff;
    text-align: left;
}

.footer a {
    color: #fff;
    margin-left:10px;
}

.footer a:hover {
    opacity: .7;
}

@media ( max-width: 768px) {
    .footer {
        height: auto;
    }
    .bodywrap {
        margin: 0 auto;
        min-height: auto;
        height: auto;
    }
    .push {
        height: auto;
        display: none;
    }
}

/* NAVIGATION */ 



.navigation {
    position: absolute;
    right: 15px;
    top: 0;
}

.navigation ul {
    list-style: none;
    margin-bottom: 0;
}

.navigation ul li {

    float: left;
}

.navigation ul li a {
    display: block;
    color: #000;
    text-transform: uppercase;
}

.navigation ul li a:hover {
    opacity: 0.5;
}

.navigation ul li a.current {
    color: #666;
    font-weight: bold;
}

.navigation ul li a.current:hover {
    opacity: 1;
}

.navigation ul li ul {
    position: absolute;
    z-index: 100;
    left: 0px;
    padding-top: 10px;
    display: none;
    padding-bottom: 20px;
    padding-left: 35px;
}

.navigation ul li ul li {
    float: none;
    border-left: 0;
    padding: 5px 0 6px 0px;
    white-space: nowrap;
}

.navigation ul li ul li a {
    text-transform: none;
    font-weight: inherit;
}

.navigation li a {
    font-weight: normal; 
}

.navigation li.current-menu-item > a,
.navigation li.current-menu-ancestor > a {
    font-weight: bold; 
    color: var(--color3);
    border-bottom: 2px solid var(--color2);
}

.navigation li .sub-menu li a {
    font-weight: normal; 
}

.navigation li .sub-menu li.current-menu-item > a {
    font-weight: bold; 
    color: var(--color3);
    border-bottom: 2px solid var(--color2);

}

.navigation li.current-menu-ancestor > a {
    font-weight: bold; 
    color: var(--color3);
    border-bottom: 2px solid var(--color2);
}

.navoverlay {
    background: #f6f6f6;
    width: 100%;
    height: 0;
    position: absolute;
    left: 0;
    top: 110px;
    z-index: 99;
    transition: 0.15s;
    opacity: 0.4;
    display: block !important;
    z-index: 99;
}


.searchcontainer {
    padding: 30px 0 30px 0;
    display: none;
}

.big-search-field {
    background-color: #fff !important;
    padding: 10px 15px !important;
    height: auto !important;
    border: 0px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    width: calc(100% - 105px) !important;
    height: 44px;
}

.big-search-submit {
    width: 100px !important;
    height: 44px;
    font-size: 15px !important;
    color: #fff !important;
    background: var(--color1) !important;
    border: 0 !important;
    border-radius: 0 !important;
    position: absolute;
    right: 15px;
    top: 0;
}

/* CUSTOM */

.header {
    padding-top: 30px;
    padding-bottom: 30px;
    z-index: 5;
}

.logo {
    width: 110px;
}



@media ( max-width: 768px) {
    .header {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .logo {
        width: 140px;
    }
}

.imgbgheader{
    height: 30vh;
}


.content ul {
    margin: 10px 0;
    list-style: none;
}

.content ol {
    margin: 10px 0;
}

.content li {
    margin: 0 0 10px 15px;
    line-height: 1.45em;
    letter-spacing: 0.02em;
}

.content ol li {
    margin: 0 0 10px 18px;
    padding-left: 3px;
}

.content ul li:before {
    font-family: 'bootstrap-icons';
    content: '\F231';
    margin: 0 10px 0 -15px;
    color: var(--color1);
    position: absolute;
}

.content li a {
    color: #666;
}

.content li a:hover {
    opacity: .7;
}


/* VIDEO / YOUTUBE */

.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0px;
    height: 0;
    overflow: hidden;
}

.wp-embed-aspect-16-9 .wp-block-embed__wrapper, .wp-embed-aspect-16-9 iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wp-embed-aspect-16-9 {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0px;
    height: 0;
    overflow: hidden;
}

iframe[src*="youtube.com"]{
    width: 100% !important;
}

/* GRID */


/*<div class="grid" data-columns> */

@media ( max-width: 768px) {
    .grid[data-columns]::before {
        content: '1 .column.size-1of1';
    }
}

@media ( min-width: 769px) {
    .grid[data-columns]::before {
        content: '2 .column.size-1of2';
    }
}

@media ( min-width: 992px) {
    .grid[data-columns]::before {
        content: '3 .column.size-1of3';
    }
}

.column {
    float: left;
}

.size-1of1 {
    width: 100%;
}

.size-1of2 {
    width: 50%;
}

.size-1of3 {
    width: 33.333%;
}

.grid .item {
    padding: 0 15px 15px 15px;
}


/* ACC */

.acc_item {
    border-bottom: 1px solid #ccc;
    padding: 12px 0;
    font-size: 16px;
    line-height: 22px;
}

.acc_btn {
    font-weight: 500;
    cursor: pointer;
    padding-top: 4px;
    padding-right: 15px;
}

.acc_btn p {
    margin: 0;
}

.acc_btn:after {
    font-family: 'bootstrap-icons';
    content: '\F229';
    z-index: 100;
    color: var(--color1);
    position: absolute;
    top: 3px;
    right: 5px;
    transition: all .2s;
}

.acc_btn.active:after {
    transform: rotate(-180deg);
}

.acc_btn:hover {
    opacity: .7;
}

.acc_content {
    padding-top: 12px;
    display: none;
}

.cms .acc_content {
    display: block;
}


/* MAP */

.map {
    height: 400px;
    background: #f9f8f8;
    width: 100%;
}

@media ( max-width: 750px) {
    .map {
        height: 250px;
    }
}


/* *** */

.arrow_up_section {
    position: fixed;
    z-index: 15;
    bottom: 0;
    padding: 0;
    margin: 0;
}

.arrow_up_section .row {
    margin-bottom: 0;
}

.arrow_up {
    position: absolute;
    right: 15px;
    bottom: -200px;
    z-index: 10;
    transition: .5s;
    background: #ccc;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    font-size: 40px;
}

.arrow_up.visible {
    bottom: 0;
}

.arrow_up i {
    color: #fff;
}


/* GALLERY */

/*
object-fit: cover;
object-position: 50% 50%;
*/

.gallerywrap a img {
    float: left;
    position: relative;
}

.gallerywrap:hover img {
    opacity: .5;
    z-index: 900;
}

.gallerywrap a img {
    transition: all .4s;
}

.gallerywrap a:hover img {
    transform: scale(1.07);
    transition: all .1s;
    opacity: 1;
    z-index: 1000;
}

.collagewrap {
    background: #fff;
}

.collage {
    padding: 10px;
    background: #fff;
}

.collage img {
    vertical-align: bottom;
    float: left;
}

.collage img a {
    float: left;
}

.pics_in_a_row {
    margin: 1% 0 0 0;
    display: flex;
}

.pics_in_a_row>div:not(:last-child) {
    margin-right: 1%;
}

.pics_in_a_row img {
    width: 100%;
    height: auto;
    vertical-align: middle;
}


/* CONTENTOVERLAY / LIGHTBOX */

.contentoverlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #fff;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1250;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    text-align: center;
    padding: 40px 15px;
    display: none;
}

.contentoverlay img {
    max-width: 100%;
}

.contentoverlayclose {
    position: fixed;
    cursor: pointer;
    top: 15px;
    right: 30px;
    font-size: 20px;
    z-index: 360;
    color: #666;
}

.contentoverlayclose:hover {
    opacity: 0.5;
}


/* MARQUEE */

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-1800px, 0);
    }
}

.marqueesection {
    background: #eee;
}

.marqueewrap {
    width: 100000px;
}

.marquee.animated {
    animation: marquee 80s linear infinite
}

.marquee a {
    transition: .1s;
    display: inline-block;
    color: #c0392b
}

.marquee h3 {
    font-size: 20px;
    display: inline;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--color1);
}

.marquee h3 a:hover {
    color: var(--color1);
}

.marquee h3 strong {
    font-size: 22px;
    display: inline;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--color1);
}

@media (max-width:800px) {
    .marquee h3 {
        font-size: 18px;
        display: inline;
    }
}


/*  * * * *  */

.fadeInOnLoad {
    opacity: 0;
    transition: .15s;
}

.clearer {
    clear: both;
}

.overflowhidden {
    overflow: hidden;
}

@media ( min-width: 769px) {
    .mobile {
        display: none !important;
    }
}

.navicon {
    position: absolute;
    right: 15px;
    top: 5px;
    height: 30px;
    width: 30px;
    display: block;
    z-index: 100;
}

.navicon .line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-top: 2px solid #000;
}

.navicon .line:nth-child(1) {
    top: 10px;
}

.navicon .line:nth-child(2) {
    top: 20px;
}


/* MOBILE  NAVIGATION * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

@media ( max-width: 768px) {
    .navigation {
        display: none;
    }

    .outerwrap {
        transition: transform .15s;
    }

    .shifted {
        transition: transform .15s;
        transform: translateX(-270px);
    }

    .subnav_mobile {
        background: var(--color1);
        position: fixed;
        width: 270px;
        top: 0;
        bottom: 0;
        right: -270px;
        transition: transform .15s;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        padding: 20px 0;
    }

    .subnav_mobile ul {
        list-style: none;
        margin:0;
        padding-left: 0;
    }

    .subnav_mobile ul ul {
        margin-left:10px;
    }

    .subnav_mobile ul li {
        margin: 0 0 0 0;
        text-transform: uppercase;
    }

    .subnav_mobile ul li ul li {
        text-transform: none;
    }

    .subnav_mobile ul li a {
        padding: 10px 5px 10px 20px;
        display: block;
        font-weight: 300;

        letter-spacing: 1px;
        word-wrap: break-word;
        hyphens: auto;
    }

    .subnav_mobile ul li a:hover {
        opacity: .8;
    }

    .subnav_mobile ul li a.current {
        color: #fff;
        font-weight: bold;
    }

    .subnav_mobile ul li ul {
        padding: 0 0 0 20px;
    }

    .subnav_mobile ul li ul li {}
    .subnav_mobile ul li ul li a {
        padding: 7px 0;
        color: #fff;
    }

    .subnav_mobile ul li ul li:last-child a {
        margin-bottom: 10px;
    }

    .subnav_mobile.shifted {
        /*box-shadow: 0 0 6px rgba(0, 0, 0, .3) !important;*/
    }

    .subnav_mobile_overlay {
        background: rgba(255, 255, 255, .7);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: none;
        transition: transform .15s;
    }

    .bodywrap {
        transition: transform .15s;
    }

}

/* Change Autocomplete styles in Chrome*/

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus textarea:-webkit-autofill,
textarea:-webkit-autofill:hover textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: #111 !important;
    -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;
    transition: background-color 5000s ease-in-out 0s;
}


@keyframes wobble {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}


.stage .bgimg{
    animation: wobble 60s linear infinite;
    width: 100%;
    position: absolute;
    top:0;
    bottom:0;
}

.stage{
    padding: 100px 0 150px 0;
    overflow: hidden;
    height: 100%;
}

.stage .bgimg{
    animation: wobble 40s linear infinite;
    width: 100%;
    position: absolute;
    top:0;
    bottom:0;
}

.stage h1{  
    font-size: 66px;
    line-height: 62px;
    color:#fff;
    font-weight: 300;

}

.stage h1 strong{  
    font-weight: 600;
    
}

.stage p{
    color:#fff;
    hyphens: none;
    font-size: 23px;
}

@media ( max-width: 768px) {
    .stage h1{
        font-size: 44px;
        line-height: 44px;
    }
    
.stage p{
    font-size: 18px;
}
}


.slick-dots {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: -30px !important;
    z-index: 10000;
}

.slick-dots li {
    margin: 0 1px;
}

.slick-dots button {
    height: 15px !important;
    width: 15px !important;
    margin: 0 4px !important;
    background: rgba(255,255,255,0.5) !important;
    border-radius: 20px;
}

.slick-dots .slick-active button {
    background: #fff !important;
}

.slick-dots li button:before{
    content: '';
}


.slick-prev, .slick-next{
    left: 20px;
    content:'';
    z-index: 1000;
    opacity: .6;
}

.slick-next{
    right: 20px;
    left: unset;
}

.slick-next:before{
    content:'';
}

.slick-next:after, .slick-prev:after{
    font-family: 'bootstrap-icons';
    content:'\F133';
    position: absolute;
    top:0;
    right: 0;
    font-size: 30px;
    color: #999;

}

.slick-prev:after{
    content:'\F129';
    right: unset;
    left: 0;
}

.slick-dotted.slick-slider {
     margin-bottom: 0; 
}

/*
.owl-nav {
    position: absolute !important;
    top:50% !important;
    width: 100%;
}

.owl-prev, .owl-next{
    color:#eee !important;
    position: absolute !important;
    top: calc(50% - 35px) !important;
    font-size: 50px !important;
}

.owl-prev{
    left:-30px;
}

.owl-prev:before{
    font-family: 'bootstrap-icons';
    content:'\F27A';
}

.owl-next{
    right:-30px;
}

.owl-next:after{
    font-family: 'bootstrap-icons';
    content:'\F27B';
}

.owl-dots {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: -40px !important;
    z-index: 100;
}

.owl-dots button {
    height: 10px;
    width: 10px;
    margin: 0 4px;
    background: #eee !important;
    border-radius: 20px;
}

.owl-dot.active {
    background: var(--color2) !important;
}
*/

.embed-responsive {
    margin-bottom: 20px;
}

.wp-block-image .alignright, .wp-block-image .alignleft {
    max-width: 40%;
}

@media ( max-width: 768px) {
    :where(.wp-block-columns.is-layout-flex) {
        gap: 0;
    }
}

.wp-block-button__link{
    color:#fff;
    background: var(--color5);
    font-size: 18px;    
    font-weight: 700;
    border-radius: 0;
    text-transform: uppercase;
    transition: .15s;
}

.wp-block-button__link:hover{
    color:var(--color5);
    background: #eee;
}


.wpcf7 label {
    display: unset;
}

.wp-block-table a{
    color:#111;
}

.wp-block-table a:hover{
   text-decoration: underline;
}

.wpcf7-list-item {
    display: inline-block;
    margin: 0 0 5px 0;
}

.wpcf7-list-item-label{
    padding-left: 5px;
}

.wp-block-button__link {
    height: unset;
    width: unset; 
}

.df-loading-icon{
    display: none;
}

.df-container .df-loading-info {
    background: none;
    box-shadow: none;
    padding-top: 100px;
}

.page-numbers {
    display: inline-block;
    margin: 0 3px;
    padding: 6px 12px;
    color: #333;
    text-decoration: none;
    list-style: none;
    margin-top: 20px;
}

.page-numbers li{
    display: inline-block;
}

.page-numbers.current {
    font-weight: bold;
    background: #EE2D24;
    border-radius: 2px;
    color: #fff;
}

.page-numbers.dots {
    background: none;
    pointer-events: none;
}

.page-numbers a:hover{
    color:#333;
}

.page-numbers .bi{
    display: inline-block;
    position: relative;
    transform: translateY(1px);
    color: #EE2D24;
}

.imageslider{
    height: 50vh;
    overflow: hidden;
    margin: 30px 0;
}

.imageslider .slick-slide img{
    height: 50vh;
    width: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.wp-block-lazyblock-content-container .bgwhite{
    padding: 70px 0;
    background: #fff;
}





.project-teaser {
    position: relative;
    width: 100%;
    height: 55vh;
    overflow: hidden;
    background: #222;
    color: #fff;
}

/* Hintergrundbild */
.project-teaser__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;

    transition:
        transform .7s cubic-bezier(.2,.7,.2,1);
}


/* Abdunklung */
.project-teaser__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.78) 0%,
            rgba(0,0,0,.25) 50%,
            rgba(0,0,0,.05) 100%
        );

    transition:
        opacity .5s ease;
}


/* kompletter Inhalt sitzt unten */
.project-teaser__content {
    position: absolute;
    z-index: 2;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 25px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    overflow: hidden;
}


/* graue Fläche fährt von unten hoch */
.project-teaser__content::before {
    content: "";

    position: absolute;
    z-index: 0;

    inset: 0;

    background: var(--lightgray);

    transform: translateY(100%);

    transition:
        transform .55s cubic-bezier(.2,.7,.2,1);
}


/* Inhalt über Hintergrundfläche */
.project-teaser__content > * {
    position: relative;
    z-index: 1;
}


/* Headline */
.project-teaser__headline {
    margin: 0;
    padding: 0;

    font-size: clamp(22px, 1.7vw, 30px);
    line-height: 1.05;
    font-weight: 700;
    text-transform: uppercase;

    max-width: 90%;

    color: #fff;

    transition:
        color .3s ease;
}


/* ausgeblendeter Bereich */
.project-teaser__details {
    width: 100%;

    max-height: 0;
    opacity: 0;
    overflow: hidden;

    transform: translateY(20px);

    transition:
        max-height .55s cubic-bezier(.2,.7,.2,1),
        opacity .3s ease .05s,
        transform .55s cubic-bezier(.2,.7,.2,1);
}


/* Text */
.project-teaser__text {
    margin-top: 14px;
    max-width: 500px;

    font-size: 16px;
    line-height: 1.45;

    color: var(--midgray);
}


.project-teaser__text p {
    margin: 0 0 15px 0;
}


/* Button */
.project-teaser__button {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-top: 10px;
    padding: 9px 14px;

    background: var(--midgray);
    color: #fff;

    font-size: 14px;
    line-height: 1;

    text-decoration: none;

    transition:
        opacity .25s ease,
        transform .25s ease;
}


.project-teaser__button span {
    font-size: 22px;
    line-height: .7;
}


.project-teaser__button:hover {
    opacity: .8;
    color: #fff;
    transform: translateX(3px);
}



/* -------------------------
   HOVER
-------------------------- */

/* Details klappen auf */
.project-teaser:hover .project-teaser__details {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
}


/* graue Fläche fährt hoch */
.project-teaser:hover .project-teaser__content::before {
    transform: translateY(0);
}


/* Headline wird grau */
.project-teaser:hover .project-teaser__headline {
    color: var(--midgray);
}


/* Bild ganz leicht zoomen */
.project-teaser:hover .project-teaser__bg {
    transform: scale(1.03);
}


/* Abdunklung verschwindet im unteren Bereich,
   weil dort jetzt die graue Fläche liegt */
.project-teaser:hover .project-teaser__overlay {
    opacity: .75;
}



/* -------------------------
   MOBILE / TOUCH
-------------------------- */

@media (hover: none) {

    .project-teaser__content::before {
        transform: translateY(0);
    }

    .project-teaser__headline {
        color: var(--midgray);
    }

    .project-teaser__details {
        max-height: 250px;
        opacity: 1;
        transform: none;
    }

}


/* kleinere Displays */
@media (max-width: 700px) {

    .project-teaser {
        height: 40vh;
    }

    .project-teaser__content {
        padding: 22px;
    }

    .project-teaser__headline {
        font-size: 25px;
    }

    .project-teaser__text {
        font-size: 14px;
    }

}



.ct-timeline {
  --ct-ink: #354140;
  --ct-muted: #93a5ae;
  --ct-line: #b6bab8;
  --ct-background: none;
  --ct-height: 780px;
  position: relative;
  width: 100%;
  min-width: 0;
  color: var(--ct-ink);
  background: var(--ct-background);
  font-family: inherit;
  isolation: isolate;
}
.ct-timeline *, .ct-timeline *::before, .ct-timeline *::after { box-sizing: border-box; }
/* Ohne JavaScript bleiben alle Inhalte als normale Liste lesbar. */
.ct-timeline:not(.ct-ready) .ct-rail,
.ct-timeline:not(.ct-ready) .ct-rule,
.ct-timeline:not(.ct-ready) .ct-controls { display: none; }
.ct-timeline:not(.ct-ready) .ct-entry { padding: 24px; }
.ct-timeline:not(.ct-ready) .ct-image { max-width: 420px; }
 .ct-timeline.ct-ready { height: var(--ct-height); /*overflow: hidden; */ }
.ct-rail { position: absolute; inset: 0 auto 0 0; width: 43%; z-index: 4; cursor: grab; touch-action: none; user-select: none; }
.ct-timeline.ct-dragging .ct-rail { cursor: grabbing; }
.ct-circle { position: absolute; border: 1.5px solid var(--ct-line); border-radius: 50%; pointer-events: none; }
.ct-years { position: absolute; inset: 0; }
.ct-timeline .ct-year {
  position: absolute; left: 0; top: 0; display: flex; align-items: center;
  width: 135px; height: 52px; margin: 0 0; padding: 0 0 0 46px;
  border: 0; border-radius: 0; background: var(--lightgray); box-shadow: none;
  color: var(--ct-muted); font: inherit; font-size: clamp(18px, 1.6vw, 25px);
  line-height: 1; font-weight: 650; text-align: left; cursor: pointer;
  transform-origin: 0 50%; white-space: nowrap; transition: color .2s;
}
.ct-timeline .ct-year[aria-current="step"] { color: var(--ct-ink); }
.ct-dot { position: absolute; top: 50%; left: 0; width: 9px; height: 9px; border-radius: 50%; background: currentColor; transform: translate(-50%, -50%); transition: width .2s, height .2s; }
.ct-year[aria-current="step"] .ct-dot { width: 15px; height: 15px; }
.ct-year:focus-visible, .ct-controls button:focus-visible { outline: 2px solid var(--ct-ink); outline-offset: 5px; }
.ct-rule { position: absolute; left: 25.5%; right: 12%; top: var(--ct-axis, 50%); height: 1px; background: var(--ct-line); z-index: 1; }
.ct-content { position: absolute; inset: 0; pointer-events: none; }
.ct-ready .ct-entry { position: absolute; width: var(--ct-copy-width, 330px); left: 0; top: 0; transform-origin: 0 0; will-change: transform, opacity; }
.ct-entry[aria-hidden="false"] { pointer-events: auto; }
.ct-image { margin: 0; }
.ct-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ct-ready .ct-image { position: absolute; left: 0; bottom: 34px; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; }
.ct-ready .ct-copy { position: absolute; left: 0; top: 28px; width: 100%; }
.ct-timeline .ct-copy h3 { margin: 0 0 20px; color: inherit; font: inherit; font-size: clamp(19px, 1.6vw, 25px); font-weight: 700; line-height: 1.24; text-transform: uppercase; overflow-wrap: anywhere; }
.ct-timeline .ct-copy p { margin: 0; color: #6d7472; font: inherit; font-size: 15px; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.ct-controls { position: absolute; left: calc(25.5% - 62px); top: var(--ct-axis, 50%); transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; z-index: 5; }
.ct-timeline .ct-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; margin: 0; border: 0; background: transparent; color: var(--ct-ink); font: inherit; font-size: 24px; cursor: pointer; box-shadow: none; }
.ct-controls button:disabled { opacity: .2; cursor: default; }
.ct-drag-hint { font-size: 10px; color: var(--ct-muted); letter-spacing: .05em; }
.ct-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Mobil bleiben Zeitleiste und Inhalt nebeneinander. */
.ct-timeline.ct-mobile .ct-rail { width: 92px; height: 100%; overflow: hidden; }
.ct-timeline.ct-mobile .ct-year { padding-left: 14px; font-size: 14px; width: 72px; }
.ct-timeline.ct-mobile .ct-year-label { max-width: 58px; overflow: hidden; text-overflow: ellipsis; }
.ct-timeline.ct-mobile .ct-dot { width: 6px; height: 6px; }
.ct-timeline.ct-mobile .ct-year[aria-current="step"] .ct-dot { width: 10px; height: 10px; }
.ct-timeline.ct-mobile .ct-rule { left: 20px; right: 12px; top: var(--ct-axis); }
.ct-timeline.ct-mobile .ct-controls { left: 2px; top: calc(var(--ct-axis) + 178px); transform: none; flex-direction: row; }
.ct-timeline.ct-mobile .ct-controls button { font-size: 21px; }
.ct-timeline.ct-mobile .ct-drag-hint { display: none; }
.ct-timeline.ct-mobile .ct-image { bottom: 22px; }
.ct-timeline.ct-mobile .ct-copy { top: 22px; }
.ct-timeline.ct-mobile .ct-copy h3 { font-size: clamp(17px, 3.8vw, 22px); margin-bottom: 14px; }
.ct-timeline.ct-mobile .ct-copy p { font-size: 14px; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) {
  .ct-timeline .ct-year, .ct-timeline .ct-dot { transition: none; }
}

.ct-ready .ct-fallback-year { display: none; }

.is-style-lead{
    font-size: 1.3em;
}

.single-projekt{
    background: #fff;
}

.single-projekt .innerwrap{
   padding-bottom: 100px;
}

.box_grey{
    background: var(--lightgray);
    padding: 35px 23px 25px 35px;
}

.row.kundenstimme {
    align-items: stretch;
}

.row.kundenstimme > div {
    display: flex;
    flex-direction: column;
}

.kundenstimme .box_grey {
    padding: 50px 150px;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


@media ( max-width: 768px) {
    .kundenstimme .box_grey {
    padding: 30px 30px;
    width: 100%;
}

}

/* Bild füllt ebenfalls die gesamte Spalte */
.row.kundenstimme > div > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kundenstimme .box_grey h2{
    font-size: clamp(26px, 2.0vw, 38px);
    font-weight: 700;
    text-transform: uppercase;
}

.footer, .menu-hauptmenue-container{
    letter-spacing: 0.05em;
    font-size: 15px;
}

.footer-nav a, .menu-hauptmenue-container li{
    text-transform: uppercase;
    margin-left: 0;
    padding-left: 35px;
    position: relative;
}

.footer-nav a:before, .menu-hauptmenue-container li:before{
    content: '';
     border-left: 1px solid var(--lightgray);
     height: 13px;
     width: 0;
     position: absolute;
     left: 14px;
     top:5px;
}

.menu-hauptmenue-container li:before{
    border-left: 1px solid var(--darkgray);
} 

.footer-nav a:first-of-type:before, .menu-hauptmenue-container li:first-of-type:before{
    content: '';
     border-left: 0px;
}

.footer-nav a:hover, .menu-hauptmenue-container a:hover{
    opacity: 1;
    text-decoration: underline;
}

.fotoheader{
    min-height: 90vh;
}

.fotoheaderslider, .fotoheaderslider .slide{
    min-height: 90vh;
    background-position: center 30%;
}

.negativemargin{
    margin-top:-230px;
    z-index: 0;
}

.slick-prev:before, .slick-next:before{
content: '';
}

.wp-block-lazyblock-content-container .wp-block-list{
    letter-spacing: 0.02em;
    padding-left: 15px;
}

.kontaktsection h3{
    color: #fff;
}

.border-white{
    padding: 25px;
    border: 2px solid #fff;
}

.border-white *{
    color:#fff;
}

.wpcf7-form .row>* {
     margin-top: 0; 
}

.wpcf7-form br {
     display:none;
}

.wpcf7-form label{
     font-size: 15px;
}

.wpcf7 .wpcf7-submit {
  background-color: #364042;
  border-color: #364042;
  color: #fff;
}

.wpcf7 .wpcf7-submit:hover,
.wpcf7 .wpcf7-submit:focus {
  background-color: #293133;
  border-color: #293133;
  color: #fff;
}

/* Beide Spalten auf dieselbe Höhe strecken */
.kontakt-spalten {
  align-items: stretch !important;
}

.kontakt-spalten > .wp-block-column {
  display: flex;
  flex-direction: column;
}

/* Rahmen füllt die gesamte Spaltenhöhe */
.kontakt-spalten > .wp-block-column > .border-white {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Inhalt innerhalb des Rahmens unten ausrichten */
.kontakt-spalten .border-white > .wp-block-group__inner-container {
  margin-top: auto;
  width: 100%;
}

.bghellgrau{
    background-color: var(--lightgray);
}

.borderbox{
    border: 3px solid var(--darkgray);
    padding: 30px;
}

.wp-block-column:has(.borderbox){
    padding-bottom: 30px;
}

.site-main ul{
    padding-left: 20px;
        line-height: 1.45em;
    letter-spacing: 0.02em;
}

.page-id-19 .logo {
    position: absolute;
    top: 23vh;
    left: calc(50% - 12vw);
    width:24vw;
    aspect-ratio: 1;
}

.page-id-17 .wp-block-lazyblock-accordion{
    margin-top:-110px;
}


.subnav_mobile .menu-hauptmenue-container li:before{
    display: none;
}

.subnav_mobile .menu-hauptmenue-container a{
    color:#000;
}

.ht-team__role{
    text-align: left;
}

@media ( max-width: 768px) {
   .footer-nav{
    padding-top: 30px;
   }
}

@media ( max-width: 768px) {
    .footer-nav a, .menu-hauptmenue-container li {
        text-align: left;
        padding-left: 10px;
    }

    .footer-nav a:before{
        border: 0;
    }
}

.projekt-kachel__fuss{
    min-height: 160px;
        align-items: start !important;
        padding-top: 20px !important;
}

.projekt-kachel__fuss p{
   text-align: left;
}
 
.page-id-245 .bgimg{
    background-position: 80% 100%;
}

.page-id-245 .navicon .line {
    border-top: 2px solid #fff;
}

@media ( max-width: 768px) {
    .page-id-245 .kontaktsection .bgimg{
    padding-top: 100px;
}

.projekt-kachel__fuss{
    min-height: unset;

        padding-top: 20px !important;
}
}

.project-teaser__text{
    text-align: justify;
    hyphens: auto;
}