@font-face {
    font-family: 'League Spartan';
    src: url('../Fonts/LeagueSpartan-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 300 800;
    font-style: normal;
    font-display: swap;
}
:root {
    --primary: #ff6600;
    --white: #f5f5f5;
    --grey: #777;
    --grad-dark: linear-gradient(100deg, #0f5368 0%, #083f51 80%);
}
body {
    background: var(--white);
    min-height: 100vh;
    font-weight: normal;
    overflow-x: hidden !important;
    font-family: 'League Spartan', sans-serif;
    font-size: 1.2rem;
}
body.cookie-open {
    overflow: hidden !important;
    width: 100%;
}
.vh-80 {
    height: 80vh !important;
}
.vh-90 {
    height: 90vh !important;
}
.vh-60 {
    height: 60vh !important;
}
h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5{
    font-weight: 300;
    letter-spacing: 3%;
}
h1, h2, .h1, .h2{
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--primary);
}
h3, h4, h5, .h3, .h4, .h5{
    font-size: 1.35em;
}
p{
    font-size: 1.2rem;
    line-height: 1.3;
    color: #191919;
    margin-bottom: 0;
    letter-spacing: 3%;
    font-weight: 300;
}
b, strong{
    font-weight: 500;
}
i{
    color: var(--primary);
}
.text-right{
    text-align: right;
}
a {
    color:  var(--primary);
    letter-spacing: 3%;
}
hr{
    margin: 4rem 0;
    border-top: 2px solid var(--primary);
    opacity: 1;
}
li{
    font-size: 1.2rem;
    font-weight: 300;
}
li::marker{
    color: var(--primary);
}
blockquote strong{
    letter-spacing: 0.3em;
}
:focus-visible {
    outline: solid var(--primary) !important;
}
.btn:focus-visible {
    outline: solid var(--primary);
}
.frame-space-before-small{
    margin-top: 2rem;
}
.frame-space-before-medium{
    margin-top: 4rem;
}
.frame-space-before-large {
    margin-top: 8rem;
}
#header {
    background: white;
    .logo-brand{
        display: flex;
        padding: 0 4rem 2rem 3rem;
    }
    .header-logo a{
        text-decoration: none;
    }
    a .logo-text{
        padding-bottom: 1rem;
        line-height: 1.3;
        text-align: center;
        max-width: 80%;
        font-weight: 400;
        font-size: 1.3rem;
    }
}
#navbar{
    background: var(--primary);
    transition: 0.5s all ease-in-out;
    .nav-container{
        flex-direction: row;
        position: sticky;
    }
    .navbar-toggler{
        margin-left: auto;
        padding: 0.75rem;
    }
    .navbar-collapse ul.navbar-nav {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        .nav-link{
            color: var(--white);
            text-transform: uppercase;
            font-weight: 300;
            transition: 0.2s all ease-in-out;
            text-align: left;
            padding-left: 0.5rem;
        }
        .nav-link:hover, .nav-link.is-current{
            color: var(--primary);
            background-color: var(--white);
            transition: 0.2s all ease-in-out;
        }
        .dropdown-menu {
            border-radius: 0;
            padding: 0;
        }
        .dropdown-menu .nav-link{
            padding: 1rem 0;
        }
        .dropdown-menu .nav-link.is-current{
            color: var(--white);
            background-color: var(--primary);
        }
    }
    .menu{
        font-size: 1.2rem;
        color: var(--white);
    }
}
.scrolled #navbar{
    box-shadow: 0 2px 7px rgba(0,0,0,.1);
    transition: 0.5s all ease-in-out;
}
#Content{
    min-height: 100vh;
    background-color: var(--white);
    position: relative;
    padding-bottom: 5rem;
    overflow: visible;
}
#Content::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 770px;
    top: 100%;
    left: 0;
    z-index: 1;
    background-image: url('../Images/background_basis_invert.png');
    background-size: auto 100%;
    background-position: top center;
    background-repeat: no-repeat;
    pointer-events: none;
}
.btn{
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    padding: 0.65rem 1.1rem;
    border-width: 1px;
    font-size: 1.2rem;
}
.btn:hover{
    background-color: var(--primary);
    border-color: var(--primary);
    color: #212529;
}
img{
    width: 100%;
    height: auto;
    transition: 0.5s all ease-in-out;
}
/*Content Element Slider*/
.full-slider{
    .slick-list{
        max-height: 85vh !important;
    }
    .slider-item{
        position: relative;
    }
    .description{
        width: fit-content;
        position: relative;
        display: flex;
        bottom: 0;
        font-style: italic;
        z-index: 3;
        font-size: 2rem;
        max-width: 80%;

        h2{
            font-weight: 800;
            margin: 1rem 0;
            background: linear-gradient(119deg,#ff6600 0%, #ff8900 40%, #db5c06 80%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            color: transparent;
        }
    }
    .slick-slider .image-wrapper{
        height: unset !important;
    }
    .slick-next, .slick-prev{
        z-index: 1;
        width: 30px;
        height: 30px;
    }
    .slick-next{
        right: 1.25rem !important
    }
    .slick-next::before {
        background-image: Url('../Images/arrow_arrow_right.svg');
        content: '' !important;
        display: block;
        width: 30px;
        height: 30px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        opacity: 1;
    }
    .slick-prev{
        left: 1.25rem !important;
    }
    .slick-prev::before {
        background-image: Url('../Images/arrow_arrow_left.svg');
        content: '' !important;
        display: block;
        width: 30px;
        height: 30px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        opacity: 1;
    }
    .slider-nav img{
        padding: 0 0.15rem;
    }
}
/*Content Element Accordion*/
.accordion-element{
    .accordion-button{
        font-size: 1.2rem;
    }
    .accordion-button:not(.collapsed) {
        color: var(--primary) !important;
        background-color: #ffece1 !important;
    }
    .accordion-button:focus {
        box-shadow: 0 0 0 0.25rem rgb(253 97 13 / 0.41);
    }
    .accordion-body{
        ul{
            margin-top: 0.75rem;
        }
        svg{
            display: none;
        }
        a.more{
            padding-top: 1rem;
            font-size: 1.2rem;
            svg{
                display: inline;
                margin-bottom: 0.2rem;
            }
        }
    }
}
/*Content Element Drei Karten*/
.dreispalten-element{
    .spalte {
        position: relative;
        overflow: hidden;
    }
    .darkimage {
        position: relative;
        overflow: hidden;
        box-shadow: 0px 0px 4px 1px rgba(0,0,0,0.13);
    }
    .darkimage img {
        display: block;
        width: 100%;
        height: auto;
        transition: transform 0.4s ease;
        filter: contrast(0.3) grayscale(1);
    }
    .spalte:hover .darkimage img {
        transform: scale(1.05);
    }
    .darkimage::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 80%);
        opacity: 0;
        transition: opacity 0.4s ease;
        pointer-events: none;
    }
    .spalte:hover .darkimage::after {
        opacity: 1;
    }
    .spalte h3 {
        position: absolute;
        left: 0;
        width: 100%;
        color: var(--primary);
        text-align: center;
        text-transform: uppercase;
        font-weight: 500;
        margin: 0;
        padding: 1rem;
        z-index: 3;
        pointer-events: none;
        top: 50%;
        transform: translateY(-50%);
        transition: top 0.4s ease;
        text-shadow: 1px 1px 14px rgba(0,0,0,0.19);
    }
    .spalte:hover h3 {
        top: 40%;
    }
    .spalte p {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        color: #fff;
        text-align: center;
        padding: 1rem;
        margin: 0;
        z-index: 3;
        opacity: 0;
        transform: translateY(100%);
        transition: transform 0.4s ease, opacity 0.4s ease;
    }
    .spalte:hover p {
        opacity: 1;
        transform: translateY(-25%); /* Schiebt sich leicht hoch */
    }
}
/*Content Element Timeline*/
.timeline-element{
    .timeline{
        border-left: 4px solid var(--primary);
        padding: 1rem 0 1rem 20px;
        margin-top: 2rem;
        position: relative;
    }
    .timeline-item{
        margin-bottom:3rem;
    }
    .timeline-date{
        width: fit-content;
        padding: 0.5rem 1rem;
        background: var(--primary);
        font-weight: bolder;
        margin-bottom: 0.75rem;
        i{
            color: var(--white) !important;
        }
    }
    .timeline-date::before{
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        left: -12px;
        border-radius: 50%;
        background-color: var(--primary);
        border: 5px solid var(--white);
    }
}
/* ── CONTENT ELEMENT HIGHLIGHTBOX ── */
.highlightbox {
    padding: 4rem 3rem;
    margin: 5rem 0;
    background: #ff6600;
    background: linear-gradient(119deg,#ff6600 0%, #ff8900 40%, #db5c06 80%);
    background: -webkit-linear-gradient(119deg,#ff6600 0%, #ff8900 40%, #db5c06 80%);
    background: -moz-linear-gradient(119deg,#ff6600 0%, #ff8900 40%, #db5c06 80%);
    color: var(--white);
    h2{
        color: var(--white);
        word-break: break-word;
        font-size: 1.4rem;
    }
    .text-center p{
        color: var(--white);
    }
    .link-list{
        margin-top: 4rem;
    }
    a{
        color: var(--white);
        border: 2px solid var(--white);
        padding: 0.9rem 1.4rem;
        transition: all 0.3s ease-in-out;
        background: transparent;
        text-decoration: none !important;
        font-size: 1.2rem;
        font-weight: 500;
    }
    a:hover{
        background: var(--white);
        color: var(--primary);
        transition: all 0.3s ease-in-out;
        text-decoration: none;
    }
}
section, .section{
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.ce-column.col-6.col-md-4.col-lg-3 {
    min-height: 365px;
}
.ce-column figcaption{
    text-align: center;
}
/*Lightbox Styling*/
#darkbox a:hover {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}
#darkbox_close::after {
    font-size: 6.2em !important;
    line-height: 0.2 !important;
}
/*Cookie Consent*/
.waconcookiemanagement {
    z-index: 1030 !important;
    overflow-y: auto !important;
}
#CookieBox .box-cookie-management {
    height: fit-content !important;
}
#CookieBox {
    left: 27% !important;
    width: 50% !important;
    overflow-y: scroll;
    border-radius: 0 !important;
    max-height: none !important;
    position: static !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
#CookieBox .text-center{
    text-align: left !important;
}
#CookieBox .cookie-btn {
    background: var(--primary) !important;
    font-weight: normal !important;
    letter-spacing: 0.2px;
    text-align: center !important;
    border-radius: 0 !important;
}
#CookieBox .text-back-right .cookie-btn, #CookieBox #data-cookie-individual.cookie-btn, #CookieBox #data-cookie-refuse.cookie-btn {
    background: var(--white) !important;
    border: 2px solid var(--primary);
    color: var(--primary) !important;
    white-space: unset !important;
}
#CookieBox .box-cookie-management-in > p {
    text-align: center !important;
    word-break: break-word;
}
footer{
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 770px;
    z-index: -1;
    padding-top: 8rem;
    padding-bottom: 3rem;

    /* Hintergrundbild einbinden */
    background-image: url('../Images/background_basis_dark.png');
    background-size: auto 100%;
    background-position: top center;
    background-repeat: no-repeat;
    color: var(--white);
    a, .nav-item a, p{
        color: var(--white);
        text-decoration: none;
        font-size: 1.2rem;
        line-height: 1.5rem;
        letter-spacing: 3%;
        font-weight: 300;
    }
    a:hover, .nav-item a:hover, .cookie-set:hover, .nav-link:focus, .nav-link:hover{
        color: var(--primary);
    }
    .seo ul{
        border-top: 1px solid var(--white);
    }
    .footer-logo{
        margin-bottom: 2.5rem;
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
    span{
        font-weight: 300;
    }
}
@media (min-width: 400px) {
    .timeline-element{
        .timeline img{
            max-width: 80%;
        }
    }
}
@media(max-width: 576px){
    #CookieBox {
        left: 10% !important;
        width: 80% !important;
    }
}
@media (min-width: 576px) {
    #header .header-logo a{
        gap: 2rem;
    }
    #header .header-logo a .logo-text{
        margin-top: auto;
        margin-bottom: auto;
        padding-bottom: 0;
        max-width: 360px;
    }
    #Content::after{
        height: 550px;
    }
    footer{
        height: 550px;
        .container.mt-5{
            margin-top: 4rem !important;
        }
        .seo ul{
            border-top: none;
        }
        .footer-logo{
            max-width: unset;
        }
    }
}
@media (min-width: 576px) and (max-width: 768px) {
    #header .logo-brand{
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

}
@media (max-width: 768px) {
    .container{
        padding-right: 1.5rem !important;
        padding-left: 1.5rem !important;
    }
    .container.p-0{
        padding: 0 !important;
    }
    .icon-menu {
        position: relative;
        display: inline-block;
        width: 35px;
        height: 25px;
        vertical-align: middle;
        fill: none;
        float: right;
        transition: all 0.3s ease-in-out;
    }
    .icon-menu.is-active{
        z-index: 10;
    }
    .icon-menu .line {
        position: absolute;
        left: 0;
        display: block;
        width: 100%;
        height: 3px;
        border-radius: 3px;
        -webkit-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1.000);
        -moz-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1.000);
        -o-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1.000);
        transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1.000);
        background-color: var(--white);
    }
    .icon-menu .line-1 {
        top: 0;
    }
    .icon-menu.is-active .line-1 {
        -webkit-transform: translateY(11px) translateX(0) rotate(45deg);
        -moz-transform: translateY(11px) translateX(0) rotate(45deg);
        transform: translateY(11px) translateX(0) rotate(45deg);
    }
    .icon-menu .line-2 {
        top: 50%;
        margin-top: -1.5px;
    }
    .icon-menu.is-active .line-2 {
        opacity: 0;
    }
    .icon-menu .line-3 {
        bottom: 0;
    }
    .icon-menu.is-active .line-3 {
        -webkit-transform: translateY(-11px) translateX(0) rotate(-45deg);
        -moz-transform: translateY(-11px) translateX(0) rotate(-45deg);
        transform: translateY(-11px) translateX(0) rotate(-45deg);
    }
    #navbarNavDropdown{
        margin-top: 1.2rem;
    }
    .navbar-collapse ul {
        flex-direction: column;
        text-align: center;
    }
    .nav-item {
        margin: 10px 0 10px 0;
    }
    .navbar-nav .nav-link {
        font-size: 1.2rem;
    }
}
@media (min-width: 768px) {
    #Content > .slider-element .slider-item img{
        height: 85vh !important;
    }
    h1, h2, .h1, .h2{
        font-size: 2em;
    }
    h3, h4, h5, .h3, .h4, .h5{
        font-size: 1.5em;
    }
    p{
        font-size: 1.2rem;
        line-height: 1.55;
    }
    .btn{
        font-size: 1.2rem;
    }
    #navbar{
        flex-direction: column;
        background: white;
        .nav-container{
            flex-direction: column;
        }
        #nav-header{
            width: 100%;
        }
        #nav-header ul.navbar-nav {
            width: 100%;
            display: flex;
            justify-content: flex-start;
            .nav-item {
                text-align: center;
            }
            .nav-link {
                padding: 1rem 0.75rem;
                font-size: 1.2rem;
                color: var(--grey);
                font-weight: 400;
            }
            .nav-link:hover, .nav-link.is-current{
                color: var(--primary);
                background-color: white;
            }
            .nav-item:first-child .nav-link {
                padding-left: 0;
            }
            .dropdown-menu {
                position: absolute;
                width: 100%;
                text-align: center;
                margin-top: 0;
            }
        }
    }
    #navbar:hover{
        background: white;
    }
    .btn-toggle-expand {
        display: none !important;
    }
    .timeline-element{
        .timeline img{
            max-width: 50%;
        }
    }
    #header .logo-brand{
        display: flex;
        padding: 1rem 2rem 2rem 0;
        max-width: 350px;
    }
    #header .header-logo a .logo-text{
        margin-left: auto;
        margin-right: unset;
    }
    #Content::after{
        background-size: cover;
        height: 600px;
    }
    footer{
        background-size: cover;
        height: 600px;
    }
    .full-slider .description{
        position: absolute;
        bottom: 5%;
        display: inline;
        .text{
            display: inline;
            background: white;
            padding: 2.2rem 1rem 0.75rem 1rem;
            box-decoration-break: clone;
        }
        h2{
            font-size: 1.8em;
            display: inline;
            padding: 1.5rem 0.5rem 1rem 0;
        }
    }
}
@media (min-width: 768px) and (max-width: 992px){
    #navbar {
        #nav-header ul.navbar-nav {
            .nav-link {
                padding: 1rem 0.5rem;
                font-size: 1.07rem;
            }
        }
    }
    .dreispalten-element{
        .spalte:hover h3 {
            top: 25%;
        }
        .spalte:hover p {
            opacity: 1;
            transform: translateY(0%);
        }
    }
}
@media (min-width: 992px) {
    .frame-space-before-small{
        margin-top: 2rem;
    }
    .frame-space-after-small{
        margin-bottom: 2rem;
    }
    .frame-space-before-medium{
        margin-top: 4rem;
    }
    .frame-space-after-medium{
        margin-bottom: 4rem;
    }
    .frame-space-before-large{
        margin-top: 10rem;
    }
    .frame-space-before-extra-large{
        margin-top: 12rem;
    }
    .navbar-nav .nav-link {
        font-size: 1.2rem;
    }
    .timeline-element{
        .timeline img{
            max-width: 40%;
        }
    }
    #header .header-logo a .logo-text {
        max-width: 450px;
    }
    #navbar {
        #nav-header ul.navbar-nav {
            .nav-link {
                font-size: 1.2rem;
            }
        }
    }
}
@media (max-width: 1000px) {
    #CookieBox {
        top: 10% !important;
        min-height: fit-content !important;
    }
}
@media (min-width: 1000px) {
    /* ── CONTENT ELEMENT HIGHLIGHTBOX ── */
    .highlightbox {
        padding: 7rem 9rem;
        h2{
            font-size: 1.8rem;
        }
    }
}
@media (min-width: 1200px){
    .timeline-element{
        .timeline img{
            max-width: 30%;
        }
    }
    footer .container.mt-5{
        margin-top: 5rem !important;
    }
    #Content::after{
        height: 600px;
    }
    footer{
        height: 600px;
        .seo ul{
            border-top: none;
        }
    }
}
