@font-face {
    font-family: 'Roboto';
    src: url('../Fonts/roboto/Roboto-VariableFont_wdth,wght.ttf') format('truetype-variations');
    font-weight: 300 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Roboto Italic';
    src: url('../Fonts/roboto/Roboto-Italic-VariableFont_wdth,wght.ttf') format('truetype-variations');
    font-weight: 300 600;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Ysabeau';
    src: url('../Fonts/ysabeau/YsabeauOffice-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Ysabeau Italic';
    src: url('../Fonts/ysabeau/YsabeauOffice-Italic-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 400 700;
    font-style: italic;
    font-display: swap;
}
:root {
    --bs-btn-bg: #57ad57 !important;
    --bs-btn-border-color: #57ad57 !important;
    --primary: #57ad57;
    --yellow-light: #f7e505;
    --yellow-light_50: rgba(247, 229, 5, 0.5);
    --yellow: #f3b12f;
    --yellow_50: rgba(243, 177, 47, 0.5);
    --orange: #ee8145;
    --orange_50: rgba(238, 129, 69, 0.5);
    --bs-body-font-size: 1.25rem !important;
}
body {
    background: white;
    min-height: 100vh;
    font-family: 'Ysabeau', sans-serif;
    font-weight: 400;
    overflow-x: hidden !important;
}
/*Font-Size Styling*/
h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5{
    font-family: 'Ysabeau', sans-serif;
    font-weight: 400;
    letter-spacing: 3%;
}
h1, h2, .h1, .h2{
    font-size: 1.7em;
}
h3, h4, h5, .h3, .h4, .h5{
    font-size: 1.5em;
}
p{
    font-size: 1.3rem;
}
.fs-4 {
    font-size: calc(1.5rem + .3vw) !important;
}
header{
    font-family: 'Ysabeau', sans-serif;
}
.fs-4 {
    font-weight: bold;
    word-wrap: break-word;
}
strong{
    font-weight: bold;
}
.text-right{
    text-align: right;
}
a {
    color: var(--primary);
}
a.text-decoration-none h3{
    font-size: 1.7em;
}
/*Font-Size Styling Ende*/
#header {
    font-family: 'Ysabeau', sans-serif;
    transition: all 0.4s ease-in-out;
    background: rgb(157, 117, 97, 0.7);
    width: 100%;
    z-index: 1000;
}
.shadow{
    box-shadow: 0 0 40px 0 rgba(0,0,0,0.15) !important;
    -webkit-box-shadow: 0 0 40px 0 rgba(0,0,0,0.15) !important;
    -moz-box-shadow: 0 0 40px 0 rgba(0,0,0,0.15) !important;
}
.logo-link {
    color: white !important;
    text-decoration: none !important;
    font-size: 2.3rem;
    z-index: 1050;
    line-height: 1;
    font-weight: 400;
    white-space: nowrap;
    transition: color 0.4s ease-in-out;
    position: relative;
}
.logo{
    width: 40px;
    height: auto;
}
.navbar-nav .nav-link {
    color: white !important;
}
.navbar-nav .nav-link.is-active {
    color: #222 !important;
}
#header.scrolled{
    background: white;
    transition: all 0.4s ease-in-out;
    .wave-path {
        fill: white !important;
        filter: url(#waveShadow);
    }
    .logo-link{
        color: #222222 !important;
        transition: color 0.4s ease-in-out;
    }
    .navbar-nav .nav-link {
        color: #222 !important;
    }
    .navbar-nav .nav-link.is-active {
        color: var(--primary) !important;
    }
}

.navbar-collapse ul.navbar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

/*Allgemeine Stylings*/
.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;
}
#Content{
    min-height: 100vh;
}
.vh-80 {
    height: 80vh !important;
}
.section{
    padding: 6rem 0;
}
.section.slider-container{
    padding: 0;
}
.section.bg-light{
    /*background: #fff4c3 !important;*/
    background: rgba(247,229,5,0.5);
    background: linear-gradient(1200deg,rgba(247,229,5,0.5) 0%, rgba(255,222,108,0.5) 90%);
    background: -webkit-linear-gradient(120deg,rgba(247,229,5,0.5) 0%, rgba(255,222,108,0.5) 90%);
    background: -moz-linear-gradient(120deg,rgba(247,229,5,0.5) 0%, rgba(255,222,108,0.5) 90%);
}
.section.bg-yellow{
    background: rgba(243,177,47,0.5);
    background: linear-gradient(120deg,rgba(243,177,47,0.5) 0%, rgba(255,222,108,0.5) 90%);
    background: -webkit-linear-gradient(120deg,rgba(243,177,47,0.5) 0%, rgba(255,222,108,0.5) 90%);
    background: -moz-linear-gradient(120deg,rgba(243,177,47,0.5) 0%, rgba(255,222,108,0.5) 90%);
}
.section.bg-orange{
    background: rgba(243,152,47,0.5);
    background: linear-gradient(240deg,rgba(243,152,47,0.5) 0%, rgba(238,129,69,0.5) 90%);
    background: -webkit-linear-gradient(240deg,rgba(243,152,47,0.5) 0%, rgba(238,129,69,0.5) 90%);
    background: -moz-linear-gradient(240deg,rgba(243,152,47,0.5) 0%, rgba(238,129,69,0.5) 90%);
}
.section-text ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}
.section-text ul li {
    position: relative;
    padding-left: 2.2em;
    margin-bottom: 0.5rem;
    display: flex;
}
.section-text ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 1.5em;
    height: 1.5em;
    background-image: url('../Images/listenelement.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.section-subtitle::before {
    content: "";
    display: inline-block;
    width: 25px;
    height: 20px;
    background-image: url('../Images/stamm.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.section-subtitle{
    color: var(--primary);
    font-weight: bold;
    font-size: 1.3rem;
}
img{
    width: 100%;
    height: auto;
    transition: 0.5s all ease-in-out;
}
.partner img{
    width: 60%;
    margin: auto;
    display: flex;
}
.btn{
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--primary) !important;
    color: var(--primary);
    padding: 0.65rem 1.1rem;
    border-width: 2px;
    margin-top: 1rem;
}
.btn:hover{
    background-color: var(--primary) !important;
    color: white;
}
/*Allgemeine Stylings Ende*/
/*Section spezifisches Styling*/
.section.header-4-cols{
    a{
        color: black;
    }
    .link-text{
        color: grey;
        transition: color 0.3s ease, font-weight 0.3s ease;
    }
    svg{
        width: 16px;
        height: 16px;
        transition: all 0.3s ease;
    }
    a:hover .cards, .cards:hover{
        /*box-shadow: 0 0 10px 0 rgba(0,0,0,0.15) !important;*/
        /*-webkit-box-shadow: 0 0 120px 0 rgba(0,0,0,0.15) !important;*/
        /*-moz-box-shadow: 0 0 10px 0 rgba(0,0,0,0.15) !important;*/
        transform: scale(1.03);
    }
    a:hover .link-text{
        color: var(--primary);
        font-weight: bold;
    }
    a:hover svg{
        width: 22px;
        height: 22px;
        margin-bottom: 3px;
        transition: all 0.3s ease;
    }
}
.cards{
    border-radius: 5px;
    background: white;
    border: 2px solid var(--primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 3rem;
    align-content: center;
}
.bg-image-with-text {
    overflow: hidden;
}
.bg-image-with-text p{
    margin: 0;
}
.bg-image-with-text.bg-block .container{
    background: var(--primary);
    margin-left: 0;
    padding-left: 1.5rem;
    margin-right: 0;
    width: fit-content;
    max-width: none;
    h1{
        margin-bottom: .5rem !important;
    }
}
.two-column-image-text[class*="bg-"]{
    margin: 3em 0;
}
section.two-column-image-text[class*="bg-"]:last-child {
    margin: 0 !important;
}
.section.two-column-image-text:has(+ .section.slider-container) {
    margin-bottom: 0 !important;
}
.two-column-image-text.min-vh-100{
    margin: 0;
}
.two-column-image-text h2{
    margin-bottom: 1rem !important;
}
/*Slick Styling*/
.slick-track {
    display: flex !important;
    align-items: stretch;
}
.slick-slide {
    height: auto !important;
}
.slider-container .image-wrapper {
    position: relative;
    width: 100%;
}
.slider-container img {
    display: block;
    object-fit: cover;
    height: 100%;
    width: 100%;
}
iframe{
    height: 70vh !important;
}
/*Footer Styling*/
footer{
    a, .nav-item a{
        color: #222;
        text-decoration: none;
        font-size: 1.3rem;
    }
    a:hover, .nav-item a:hover{
        color: var(--primary);
    }
    .cookie-set:hover{
        color: var(--primary);
    }
}
/*Cookie Consent*/
#CookieBox .box-cookie-management {
    height: fit-content !important;
}
#CookieBox {
    left: 27% !important;
    width: 50% !important;
    overflow-y: scroll;
}
#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;
}
#CookieBox .text-back-right .cookie-btn, #CookieBox #data-cookie-individual.cookie-btn, #CookieBox #data-cookie-refuse.cookie-btn {
    background: white !important;
    border: 2px solid var(--primary);
    color: var(--primary) !important;
}
#CookieBox .box-cookie-management-in > p {
    text-align: center !important;
}
.frame-type-waconcookiemanagement_script{
    margin-top: 73px;
}
/*Responsive Styling*/
@media (max-width: 450px) {
    .logo{
        font-size: 110%;
    }
}
@media(max-width: 576px){
    #CookieBox {
        left: 10% !important;
        width: 80% !important;
    }
    footer .nav-item{
        width: 100%;
    }
}
@media(min-width: 576px){
    .bg-image-with-text.bg-block .container{
        padding-left: calc((100vw - 540px) / 2 + 1.5rem) !important;
    }
}
@media (max-width: 660px) {
    .section.bg-image-with-text.bg-block{
        padding-bottom: 0 !important;
    }
}
@media (max-width: 768px) {
    .section{
        padding: 3rem 0;
    }
    .section.slider-container{
        padding: 0;
    }
    .section[class*="bg-"]{
        margin: 3rem 0;
    }
    .section .container{
        padding: 0 1.5rem;
    }
    .partner [class*="col-"]:first-child img{
        margin-bottom: 2rem;
    }
    .icon-menu {
        position: relative;
        display: inline-block;
        width: 33px;
        height: 24px;
        vertical-align: middle;
        fill: none;
        float: right;
        transition: all 0.3s ease-in-out;
    }
    .navbar {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important; /* Verhindert das Rutschen des Buttons unter das Logo */
        justify-content: space-between !important;
        width: 100%;
    }
    .logo-link {
        display: flex;
        align-items: center;
        z-index: 1100; /* Höher als das Collapse-Menü */
        max-width: 80%; /* Platz für den Button lassen */
    }
    .logo {
        width: 40px !important; /* Feste Breite für Mobile, damit Text daneben passt */
        height: auto;
    }
    .logo-brand {
        font-size: 1.8rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .navbar-toggler {
        z-index: 1100; /* Button bleibt über dem Menü-Layer */
        padding: 0;
        border: none !important;
        margin-left: 10px;
    }
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh !important;
        background-color: #fff; /* Hintergrundfarbe bei offenem Menü */
        padding-top: 80px; /* Platz für die obere Leiste */
        z-index: 1090;
        transition: all 0.3s ease-in-out;
        text-align: center;
    }
    .navbar-nav .nav-item{
        margin: 1.5rem 0;
    }
    .navbar-nav .nav-link {
        font-size: 1.5rem;
    }
    .navbar-collapse.show .nav-link {
        color: #222 !important;
    }
    .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: #ffffff;
    }
    #header.scrolled .icon-menu .line{
        background-color: #343434;
    }
    .icon-menu .line-1 {
        top: 0;
    }
    .icon-menu.is-active .line-1 {
        -webkit-transform: translateY(10px) translateX(0) rotate(45deg);
        -moz-transform: translateY(10px) translateX(0) rotate(45deg);
        transform: translateY(10px) 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);
    }
    .shrink {
        display: flex;
        justify-content: center;
        img{
            width: 60%;
        }
    }
    .section.bg-image-with-text {
        margin: 0;
    }
    .about-img {
        margin-bottom: 15px;
    }
}
@media (min-width: 768px) {
    h1, h2, .h1, .h2{
        font-size: 1.8em;
    }
    .logo-brand{
        font-size: 1.8rem;
    }
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        color: #222;
        font-size: 1.2rem;
    }
    .navbar-nav .nav-link:hover, .navbar-nav .nav-link.is-active  {
        color: white;
    }
    .bg-image-with-text.bg-block .container{
        padding-left: calc((100vw - 720px) / 2 + 1.5rem) !important;
    }
    .cards{
        padding: 1.5rem;
    }
    .frame-type-waconcookiemanagement_script{
        margin-top: 77px;
    }
}
@media (min-width: 992px) {
    h1, h2, .h1, .h2{
        font-size: 2.2em;
    }
    .navbar-nav .nav-link {
        font-size: 1.5rem;
    }
    .section.two-column-image-text .left{
        padding-right: 50px;
    }
    .section.two-column-image-text .right{
        padding-left: 50px;
    }
    .bg-image-with-text.bg-block .container{
        padding-left: calc((100vw - 960px) / 2 + 1.5rem) !important;
    }
    .cards{
        padding: 2rem;
    }
    .frame-type-waconcookiemanagement_script{
        margin-top: 84px;
    }
}
@media (max-width: 1000px) {
    #CookieBox {
        top: 15% !important;
        min-height: fit-content !important;
    }
}
@media (min-width: 1200px) {
    h1, h2, .h1, .h2{
        font-size: 2.5em;
    }
    .section.two-column-image-text .right{
        padding-left: 80px;
    }
    .bg-image-with-text.bg-block .container{
        padding-left: calc((100vw - 1140px) / 2 + 1.5rem) !important;
    }
    .cards{
        padding: 3rem;
    }
}
@media (min-width: 1400px) {
    .section.two-column-image-text .right{
        padding-left: 100px;
    }
    .bg-image-with-text.bg-block .container{
        padding-left: calc((100vw - 1320px) / 2 + 1.5rem) !important;
    }
}
#toTopButton {
    transition: opacity 0.5s, visibility 0.5s;
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    border: solid 2px forestgreen;
    outline: none;
    background-color: transparent;
    color: forestgreen;
    padding: 15px;
    border-radius: 50%;
    overflow: visible;
    font-size: revert;
}
#toTopButton.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
#toTopButton:hover {
    background-color: forestgreen;
    color: white;
}

.bg-text-wrapper {
    position: relative;
    width: 100%;
}
.svg-shape-bg {
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -70%);
    width: 100%;
    height: 210%;
    pointer-events: none;
    z-index: 0;
}
.bg-text {
    position: relative;
    z-index: 1;
}
