@import url('https://fonts.verwaltungsportal.de/import/?family=Patrick+Hand:400,400i%7CPoppins:400,600,400i,600i');

html {
    max-width: 1930px;
    margin-left: auto;
    margin-right: auto;
    background: #f7eec6;
}

body {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    color: #1f1f1f;
    background: #fff;
    font-size: 1.125rem;
    /* 1rem = 16px */
    line-height: 1.5;
    box-shadow: 0 0 100px 0 rgba(0, 0, 0, 0.1);
}

a {
    color: #1d5286;
    text-decoration: underline;
}

b,
strong {
    font-weight: 600;
}

main a,
#footer a {
    text-decoration: underline;
}

#overflow {
    overflow: clip;
}

/* #region --------------------------------------- logo ----------------------------------------- */

#logo {
    display: block;
}

#logo img {
    display: block;
    max-width: 400px;
}

@media (max-width: 991px) {
    #logo img {
        max-width: 210px;
        width: 100%;
    }

    #logo .row {
        margin-left: -15px;
        margin-right: -15px;
    }
}

/* #endregion ----------------------------------- logo ------------------------------------------ */

/* #region -------------------------------------- topbar ---------------------------------------- */

#topbar {
    padding-top: 15px;
    padding-bottom: 18px;
    line-height: 1.2;
    font-size: 1.125rem;
}

@media (min-width: 576px) and (max-width: 991px) {
    #topbar>.row>*:last-child>*:last-child {
        margin-right: 70px;
    }
}

@media (min-width: 992px) {
    #topbar {
        padding-top: 25px;
    }
}

/* contact col */

#phone-tab,
#mail-tab a,
#search-button {
    border-radius: 40px;
    padding: 9px 18px 7px 18px;
    display: block;
    min-height: 42px;
    min-width: 42px;
}

/* phone */

#phone-tab {
    font-size: 1rem;
    border: 2px solid #195c3d;
    padding-left: clamp(40px, 2vw, 48px);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' viewBox='0 96 960 960' width='48'%3E%3Cpath d='M795 936q-122 0-242.5-60T336 720q-96-96-156-216.5T120 261q0-19.286 12.857-32.143T165 216h140q13.611 0 24.306 9.5Q340 235 343 251l27 126q2 14-.5 25.5T359 422L259 523q56 93 125.5 162T542 802l95-98q10-11 23-15.5t26-1.5l119 26q15.312 3.375 25.156 15.188Q840 740 840 756v135q0 19.286-12.857 32.143T795 936ZM229 468l81-82-23-110H180q0 39 12 85.5T229 468Zm369 363q41 19 89 31t93 14V769l-103-21-79 83ZM229 468Zm369 363Z' fill='%23195c3d'/%3E%3C/svg%3E") center left 10px / 24px auto no-repeat;
}

/* mail */

#mail-tab {
    margin-left: 10px;
}

@media (min-width: 992px) {
    #mail-tab {
        margin-left: 30px;
    }
}

#mail-tab a {
    background: #195c3d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' viewBox='0 96 960 960' width='48'%3E%3Cpath d='M140 896q-24 0-42-18t-18-42V316q0-24 18-42t42-18h680q24 0 42 18t18 42v520q0 24-18 42t-42 18H140Zm340-302L140 371v465h680V371L480 594Zm0-60 336-218H145l335 218ZM140 371v-55 520-465Z' fill='%23fff'/%3E%3C/svg%3E") center / 24px auto no-repeat;
    color: #fff;
    font-size: 0;
}

/* search */

#search-button {
    background: #1d5286 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' viewBox='0 96 960 960' width='48'%3E%3Cpath d='M774 913 533 672q-30 26-69.959 40.5T378 727q-108.162 0-183.081-75Q120 577 120 471t75-181q75-75 181.5-75t181 75Q632 365 632 471.15 632 514 618 554q-14 40-42 75l243 241q9 8.442 9 20.721t-9.913 22.192Q809 922 795.778 922q-13.222 0-21.778-9ZM377 667q81.25 0 138.125-57.5T572 471q0-81-56.875-138.5T377 275q-82.083 0-139.542 57.5Q180 390 180 471t57.458 138.5Q294.917 667 377 667Z' fill='%23fff'/%3E%3C/svg%3E") right bottom / 34px auto no-repeat;
    color: #fff;
    font-size: 0;
}

*+#search-button {
    margin-left: 10px;
}

@media (min-width: 992px) {
    *+#search-button {
        margin-left: 70px;
    }

    *+#search-button::before {
        content: "";
        display: block;
        pointer-events: none;
        position: absolute;
        left: -40px;
        top: calc(50% - 5px);
        background: rgba(0, 0, 0, 0.1);
        width: 10px;
        height: 10px;
        border-radius: 50%;
    }
}

#mail-tab a,
#search-button {
    position: relative;
    z-index: 1;
}

#mail-tab a::after {
    border: 2px solid #195c3d;
}

#search-button::after {
    border: 2px solid #1d5286;
}

#mail-tab a::after,
#search-button::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 1;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    opacity: 0;
    border-radius: 50%;
    transform: scale(0.8);
    transition: 300ms opacity linear, 300ms transform linear;
}

#mail-tab a:hover::after,
#mail-tab a:focus::after,
#search-button:hover::after,
#search-button:focus::after {
    opacity: 1;
    transform: scale(1);
}

/* #endregion -------------------------------------- topbar ---------------------------------------- */

/* #region ------------------------------------ navigation -------------------------------------- */

/* burgermenu for tablet */

@media (max-width: 991px) {
    #menu {
        position: static !important;
    }

    #burgerButton {
        font-size: 0;
        display: block;
        height: 50px;
        width: 60px;
        border-radius: 6px;
        padding: 6px 8px;
        cursor: pointer;
        background: #fff;
        border: none !important;
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    }

    #burgerButtonInner2,
    #burgerButton:after,
    #burgerButtonInner {
        background-color: #79b552;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 10px;
        transition: transform 200ms linear, opacity 200ms linear;
    }

    #burgerButton[aria-expanded="true"] #burgerButtonInner {
        -webkit-transform: rotate(-45deg) translate(-6px, 6px);
        transform: rotate(-45deg) translate(-6px, 6px);
    }

    #burgerButton[aria-expanded="true"] #burgerButtonInner2 {
        opacity: 0;
    }

    #burgerButton[aria-expanded="true"]:after {
        -webkit-transform: rotate(45deg) translate(-4px, -6px);
        transform: rotate(45deg) translate(-4px, -6px);
    }

    #burgerButtonInner {
        top: 16px;
    }

    #burgerButtonInner2 {
        top: 24px;
    }

    #burgerButton:after {
        top: 32px;
        content: "";
        display: block;
    }

    .navbar-nav {
        padding: 20px 10px;
    }

    .navbar-collapse {
        top: 0;
        background: #fff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        overflow-y: auto;
        transition: left 300ms linear, opacity 300ms linear;
    }

    .navbar-collapse[aria-expanded="true"],
    .navbar-collapse.in {
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }

    .navbar-header {
        position: fixed;
        top: 30px;
        right: 15px;
        z-index: 101;
        transition: top 300ms linear;
    }

    .is-sticky .navbar-header {
        top: 15px;
    }

    .navbar-toggle::before {
        content: "";
        opacity: 0;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 0;
        z-index: -1;
        display: block;
        background-color: rgba(0, 0, 0, 0.5);
        transition: width 300ms linear, opacity 300ms linear;
    }

    .navbar-toggle[aria-expanded="true"]::before {
        opacity: 1;
        width: 90px;
    }

    .dropdown-toggle-button-wrapper {
        top: 11px;
        right: 0;
    }

    .dropdown-toggle-button-wrapper2 {
        top: 1px;
        right: 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .navbar-header {
        top: 38px;
    }
}

@media (min-width: 575px) and (max-width: 991px) {
    .navbar-collapse {
        width: 60%;
    }

    .navbar-collapse.collapse.in:after,
    .navbar-toggle[aria-expanded="true"]::before {
        width: 40%;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    #menu {
        background: #fff;
        border-bottom: 6px solid #79b552;
    }

    .is-sticky #menu {
        left: auto !important;
    }

    nav.horizontally .navbar-nav {
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        margin-bottom: -6px;
        padding: 0 25px;
        position: relative;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        justify-content: center !important;
        align-items: center !important;
    }

    nav.horizontally li[class*="toplevel"]>.dropdown-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000;
    }

    nav.horizontally li[class*="secondlevel"]>.dropdown-menu {
        position: absolute;
        left: 100%;
        top: 0;
    }

    nav.horizontally :is([class*="toplevel"], [class*="secondlevel"]) {
        position: relative;
    }

    .navbar-default .navbar-nav li :is([class*="toplevel"]>ul, [class*="secondlevel"]>ul) {
        display: block !important;
        pointer-events: none;
        opacity: 0;
        transition: opacity 300ms linear;
    }

    .navbar-default :is(.open>.dropdown-menu, .navbar-nav li[class*="toplevel"]:hover>ul, .navbar-nav li[class*="secondlevel"]:hover>ul, .navbar-nav li[class*="secondlevel"]>ul[style*="block"]) {
        pointer-events: auto !important;
        opacity: 1 !important;
    }

    .navbar-default .navbar-nav :is(li[class*="toplevel"]:focus-within>ul, li[class*="secondlevel"]:focus-within>ul) {
        pointer-events: auto !important;
        opacity: 1 !important;
    }

    .navbar-default .nav .open>.dropdown-menu {
        pointer-events: none !important;
        opacity: 0 !important;
    }

    .navbar-default .navbar-nav :is(li[class*="toplevel"]:hover>ul, li[class*="secondlevel"]:hover>ul) {
        z-index: 1003;
    }
}

/* ---------------------------------------------- toplevel ---------------------------------------------- */

.navbar-default li[class*="toplevel"]>a {
    color: #1a470c;
    font-family: "Patrick Hand";
    text-align: left;
    padding: 5px 35px 5px 15px;
    position: relative;
    font-size: 1.5rem;
    line-height: 1.2;
    text-decoration: none;
    transition: border 300ms linear;
}

@media (min-width: 992px) {
    .navbar-default li[class*="toplevel"]>a {
        padding: 30px 5px 25px;
    }

    nav.horizontally li[class*="toplevel"]+li {
        padding-left: 20px;
    }
}

@media (max-width: 991px) {
    nav.horizontally li[class*="toplevel"]+li {
        margin-top: 2px;
    }

    nav.horizontally li[class*="toplevel"]>a.dropdown-toggle {
        padding-right: 35px;
    }
}



@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) and (min-width: 992px) {
    .navbar-default li[class*="toplevel"]>a {
        display: block;
    }
}

.navbar-default li[class*="toplevel"]>a::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 0;
    height: 6px;
    width: 0;
    background: #4b86c0;
    transform: translateX(-50%);
    transition: width 300ms linear;
}

/* -------------------------------------------- toplevel-over ------------------------------------------- */

.navbar-default li[class*="toplevel"]:hover>a,
.navbar-default li[class*="toplevel"]>a:hover,
.navbar-default li[class*="toplevel"]>a:focus,
.navbar-default li[class*="toplevel"].open>a,
.navbar-default li[class*="toplevel"].open>a:hover,
.navbar-default li[class*="toplevel"].open>a:focus,
.navbar-default li[class*="toplevel"][class*="_over"]>a,
.navbar-default li[class*="toplevel"][class*="_over"]>a:hover,
.navbar-default li[class*="toplevel"][class*="_over"]>a:focus {
    color: #1d5286;
}

.navbar-default li[class*="toplevel"]:hover>a::after,
.navbar-default li[class*="toplevel"]>a:hover::after,
.navbar-default li[class*="toplevel"]>a:focus::after,
.navbar-default li[class*="toplevel"].open>a::after,
.navbar-default li[class*="toplevel"].open>a:hover::after,
.navbar-default li[class*="toplevel"].open>a:focus::after,
.navbar-default li[class*="toplevel"][class*="_over"]>a::after,
.navbar-default li[class*="toplevel"][class*="_over"]>a:hover::after,
.navbar-default li[class*="toplevel"][class*="_over"]>a:focus::after {
    width: 100%;
}

.navbar-default li[class*="toplevel"]:focus-within>a::after {
    width: 100%;
}

/* -------------------------------------- secondlevel + thirdlevel dropdown-box -------------------------------------- */

.navbar-default :is([class*="toplevel"]>ul, [class*="secondlevel"]>ul) {
    background: #ffffff;
    box-shadow: 0 20px 20px 0 rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    .navbar-default li[class*="toplevel"]>ul {
        padding: 10px 0;
    }

    .navbar-default li[class*="secondlevel"]>ul {
        margin: 10px;
    }
}

@media(min-width: 992px) {
    .navbar-default :is(li[class*="toplevel"]>ul, li[class*="secondlevel"]>ul) {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .navbar-default li[class*="toplevel"]>ul {
        border-radius: 0 0 6px 6px;
    }

    .navbar-default li[class*="secondlevel"]>ul {
        margin-top: -18px;
        margin-left: 10px;
        border-radius: 6px;
    }

    .navbar-default li[class*="secondlevel"]>ul::before {
        content: "";
        position: absolute;
        display: block;
        width: 12px;
        top: 0;
        bottom: 0;
        left: -12px;
    }
}

/* --------------------------------------------- secondlevel + thirdlevel -------------------------------------------- */

.navbar-default :is(li[class*="secondlevel"]:not(:nth-last-child(2)), li[class*="thirdlevel"]):not(:nth-last-child(2)) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar-default :is(li[class*="secondlevel"]>a, li[class*="thirdlevel"]>a) {
    color: #40360d;
    text-align: center;
    font-size: 1rem;
    font-weight: 400;
    padding: 10px 20px;
    line-height: 1.2;
    text-decoration: none;
    position: relative;
}

@media(max-width: 991px) {
    nav.horizontally li[class*="secondlevel"]>a.dropdown-toggle2 {
        padding-right: 35px;
    }
}

/* ------------------------------------------ secondlevel + thirdlevel over ------------------------------------------ */

.navbar-default li[class*="secondlevel"]:hover>a,
.navbar-default li[class*="secondlevel"]>a:hover,
.navbar-default li[class*="secondlevel"]>a:focus,
.navbar-default li[class*="secondlevel"].open>a,
.navbar-default li[class*="secondlevel"].open>a:hover,
.navbar-default li[class*="secondlevel"].open>a:focus,
.navbar-default li[class*="secondlevel"][class*="_over"]>a,
.navbar-default li[class*="secondlevel"][class*="_over"]>a:hover,
.navbar-default li[class*="secondlevel"][class*="_over"]>a:focus,
.navbar-default li[class*="thirdlevel"]:hover>a,
.navbar-default li[class*="thirdlevel"]>a:hover,
.navbar-default li[class*="thirdlevel"]>a:focus,
.navbar-default li[class*="thirdlevel"].open>a,
.navbar-default li[class*="thirdlevel"].open>a:hover,
.navbar-default li[class*="thirdlevel"].open>a:focus,
.navbar-default li[class*="thirdlevel"][class*="_over"]>a,
.navbar-default li[class*="thirdlevel"][class*="_over"]>a:hover,
.navbar-default li[class*="thirdlevel"][class*="_over"]>a:focus {
    color: #4b86c0;
}

.navbar-default li[class*="thirdlevel"]:focus-within>a,
.navbar-default li[class*="secondlevel"]:focus-within>a {
    color: #4b86c0;
}

/* #endregion -------------------------------- navigation --------------------------------------- */

/* #region ------------------------------------- resp-gaps -------------------------------------- */

#topbar .row {
    row-gap: 15px;
}

#headerpic>.row,
#footer>.row {
    row-gap: 40px;
}

/* #endregion ---------------------------------- resp-gaps -------------------------------------- */

/* #region -------------------------------------- header ---------------------------------------- */

#headerpic {
    padding-top: clamp(50px, 10vw, 110px);
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='1920px' height='100px'%3E%3Cpath fill='%23fff' d='M0.000,-0.000 C0.000,-0.000 479.333,100.1000 958.1000,100.1000 C1439.333,100.1000 1920.1000,-0.000 1920.1000,-0.000 L1920.1000,100.1000 L0.000,100.1000 L0.000,-0.000 Z'/%3E%3C/svg%3E") center bottom / 101% auto no-repeat,
        linear-gradient(to bottom, rgba(247, 247, 247, 0.6), rgba(247, 247, 247, 0.6)),
        url('../img/header-hintergrund.jpg') center / cover no-repeat,
        #1a470c;
    position: relative;
    z-index: 1;
}

#headerpic {
    font-size: clamp(1.8rem, 8vw, 2.25rem);
}

.index #headerpic {
    padding-bottom: clamp(100px, 10vw, 144px);
}

body:not(.index) #headerpic {
    padding-top: 110px;
}

@media (max-width: 991px) {
    body:not(.index) #headerpic {
        padding-top: 40px;
    }
}


@media (min-width: 1200px) {
    .index #headerpic {
        background: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='1920px' height='100px'%3E%3Cpath fill='%23fff' d='M0.000,-0.000 C0.000,-0.000 479.333,100.1000 958.1000,100.1000 C1439.333,100.1000 1920.1000,-0.000 1920.1000,-0.000 L1920.1000,100.1000 L0.000,100.1000 L0.000,-0.000 Z'/%3E%3C/svg%3E") center bottom / 101% auto no-repeat,
        url("../img/storch.png") bottom right calc(50% + 740px) / auto no-repeat,
        linear-gradient(to bottom, rgba(247, 247, 247, 0.6), rgba(247, 247, 247, 0.6)),
        url("../img/header-hintergrund.jpg") center / cover no-repeat,
        #1a470c;
    }
    #headerpic {
        padding-top: clamp(50px, 10vw, 110px);
        background:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='1920px' height='100px'%3E%3Cpath fill='%23fff' d='M0.000,-0.000 C0.000,-0.000 479.333,100.1000 958.1000,100.1000 C1439.333,100.1000 1920.1000,-0.000 1920.1000,-0.000 L1920.1000,100.1000 L0.000,100.1000 L0.000,-0.000 Z'/%3E%3C/svg%3E") center bottom / 101% auto no-repeat,
            url("../img/storch.png") bottom right calc(50% + 740px) / auto no-repeat, linear-gradient(to bottom, rgba(247, 247, 247, 0.6), rgba(247, 247, 247, 0.6)),
            url('../img/header-hintergrund.jpg') center / cover no-repeat,
            #1a470c;
    }
    
    .slider-wrapper.theme-nivo {
        margin-right: -140px;
    }
}

/* header text */

@media (min-width: 768px) {
    body:not(.index) #header-text {
        padding-bottom: clamp(30px, 8vw, 50px);
    }
}

@media (max-width: 991px) {
    body:not(.index) #header-text{
        display: none;
    }
}

#headerpic,
#headerpic :is(h1, h2, h3, h4, h5, h6),
.slider-wrapper a {
    color: #202020;
}

#headerpic :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(2.2rem, 10vw, 3.125rem);
    font-family: "Patrick Hand";
    font-weight: 400;
    margin: 0;
}

/* scroll to content button */

#scroll2Content {
    position: absolute;
    z-index: 2;
    display: block;
    width: 50px;
    height: 50px;
    bottom: -27px;
    left: calc(50% - 25px);
    background: #fff;
    border-radius: 6px;
    transform: rotate(45deg);
}

#scroll2Content::after {
    content: "";
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    transform: rotate(-45deg);
    background: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M24 39.4q-.25 0-.525-.1t-.525-.35l-13.9-13.9Q8.6 24.6 8.6 24q0-.6.45-1.05.45-.45 1.05-.45.6 0 1.05.45L22.5 34.3V9.5q0-.65.425-1.075Q23.35 8 24 8q.65 0 1.075.425.425.425.425 1.075v24.8l11.35-11.35q.45-.45 1.05-.45.6 0 1.05.45.45.45.45 1.05 0 .6-.45 1.05l-13.9 13.9q-.25.25-.5.35-.25.1-.55.1Z' fill='%231d5286'/%3E%3C/svg%3E") center -2px / 34px auto;
    transition: background-position 300ms linear;
}

#scroll2Content:hover::after,
#scroll2Content:focus::after {
    background-position-y: 32px;
}

/* #endregion ----------------------------------- header ---------------------------------------- */

/* #region -------------------------------------- banner ---------------------------------------- */

#slider {
    height: 300px;
    overflow: hidden;
    position: relative;
}

@media (min-width: 992px) {
    #slider {
        height: 400px;
    }

    body.index #slider {
        height: 460px;
    }

    #headerpic a.nivo-prevNav {
        left: 30px;
    }

    #headerpic a.nivo-nextNav {
        right: 30px;
    }
}

#headerpic .slider-wrapper {
    position: relative;
    z-index: 1;
    margin-bottom: clamp(-50px, -4vw, -10px);
}

#slider,
#headerpic .slider-wrapper::after {
    border-radius: clamp(100px, 15vw, 200px) 50px;
}

#headerpic .slider-wrapper::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    right: -30px;
    bottom: -30px;
    left: 30px;
    top: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.slider-mask {
    display: none;
}

/* #endregion ------------------------------------ banner --------------------------------------- */

/* ---------------------------------------------- content --------------------------------------- */

#content-area {
    position: relative;
    text-align: left;
    padding: clamp(40px, 8vw, 60px) 0 clamp(40px, 10vw, 100px) 0;
}

/* #region --------------------------------------- buttons -------------------------------------- */

.button-design a:not(.has-image) {
    display: inline-block;
    font-family: "Patrick Hand";
    line-height: 1.2;
    color: #fff;
    border-radius: 40px;
    font-size: 1.25rem;
    background: #1d5286;
    padding: 10px 50px;
    position: relative;
    text-decoration: none;
    transition: background-color 300ms linear, color 300ms linear;
}

.button-design a:not(.has-image)::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    right: -8px;
    bottom: -8px;
    left: 8px;
    top: 8px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 20px;
}

.button-design a:not(.has-image):is(:hover, :focus) {
    background: #fff;
    color: #1d5286;
}


#header-text.button-design a:not(.has-image) {
    margin-top: clamp(1px, 2vw, 36px);
}

#events .buttonStyle a {
    font-family: "Patrick Hand";
    font-size: 1.25rem;
    background: #1d5286;
    border-radius: 3px;
    color: #ffffff;
    display: inline-block;
    border-radius: 20px;
    padding: 5px 20px;
    text-decoration: none;
    position: relative;
    margin-top: 20px;
    transition: background 300ms linear, color 300ms linear, border 300ms linear;
}

@media (min-width: 768px) {
    #events .buttonStyle a+a {
        margin-left: 12px;
    }
}

#events .buttonStyle {
    position: relative;
    z-index: 1;
}

#events .buttonStyle a::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    right: -8px;
    bottom: -8px;
    left: 8px;
    top: 8px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 20px;
}

#events .buttonStyle a:hover,
#events .buttonStyle a:focus {
    background: #fff;
    color: #0c5c82;
}

#events {
    background: url("../img/dots.jpg") center / contain no-repeat;
    padding: 50px 0;
}

/* #endregion ------------------------------------ buttons -------------------------------------- */

/* #region ---------------------------------- h1 - h6, newslink --------------------------------- */

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
    color: #3a6610;
    line-height: 1;
    font-family: "Patrick Hand", sans-serif;
    margin-bottom: 15px;
}

#headerpic :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(2.25rem, 6vw, 3.75rem);
}

h1,
.h1,
.legacy_h1 {
    font-size: clamp(2.25rem, 6vw, 3.125rem);
    margin-bottom: clamp(15px, 4vw, 38px);
}

h2,
.h2,
.legacy_h2 {
    font-size: clamp(2.0625rem, 6vw, 2.8125rem);
}

h3,
.h3,
.legacy_h3 {
    font-size: clamp(1.875rem, 6vw, 2.5rem);
}

h4,
.h4,
.legacy_h4 {
    font-size: clamp(1.6875rem, 6vw, 2.1875rem);
}

h5,
.h5,
.legacy_h5 {
    font-size: clamp(1.5625rem, 6vw, 1.875rem);
}

h6,
.h6,
.legacy_h6 {
    font-size: clamp(1.4375rem, 6vw, 1.5625rem);
}

/* #endregion ---------------------------------- h1 - h6, newslink ------------------------------ */

/* ----------------------------------------------- nw2 ----------------------------------------------- */

#nw2 {
    background: #fafafa;
    color: #ffffff;
    padding-bottom: 40px;
    padding-top: 40px;
    margin-bottom: 30px;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    #nw2 {
        padding-bottom: 80px;
        padding-top: 80px;
        margin-bottom: 50px;
    }
}

#nw2 .specialHeadline{
    position: relative;
}

#nw2 .specialHeadline h1,
#nw2 .specialHeadline h2,
#nw2 .specialHeadline h3{
    font-size: clamp(1.25rem, 10vw, 3.125rem);
    font-weight: 600;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    #nw2 .specialHeadline {
        margin-bottom: 30px;
    }
}

@media (min-width: 768px) {
    #nw2 .tab_link_entries {
        -ms-flex-wrap: wrap;
        display: -ms-flexbox;
        display: -webkit-box;
        display: flex;
        flex-wrap: wrap;
    }
}

@media (min-width: 992px) {
    #nw2 .tab_link_entries {
        padding-right: 100px;
        position: relative;
    }
}

#nw2 .tab_link_entry {
    color: #202020;
    background-color: #9fde80;
    padding: 20px;
    width: 100%;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
    #nw2 .tab_link_entry {
        padding: 35px 25px;
        width: calc(50% - 15px);
    }

    #nw2 .tab_link_entry:nth-child(2n+1) {
        margin-right: 15px;
    }

    #nw2 .tab_link_entry:nth-child(2n+2) {
        margin-left: 15px;
    }
}

#nw2 .tab_link_entry+.tab_link_entry {
    margin-top: 30px;
}

@media (min-width: 768px) {
    #nw2 .tab_link_entry:nth-child(2) {
        margin-top: 0;
    }
}

#nw2 .tab_link_mehr {
    color: transparent;
    font-size: 0;
    margin-top: 30px;
}

@media (min-width: 992px) {
    #nw2 .tab_link_mehr {
        margin-top: 0;
    }
}

#nw2 .tab_link_mehr a {
    background: #1d5286;
    color: #ffffff;
    display: inline-block;
    font-weight: 600;
    line-height: 0.5;
    padding: 8px 10px 10px 10px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    width: 100%;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

@media (min-width: 992px) {
    #nw2 .tab_link_mehr a {
        align-content: center;
        align-items: center;
        bottom: 0;
        display: flex;
        justify-content: center;
        position: absolute;
        right: 15px;
        top: 0;
        width: 70px;
    }
}

#nw2 .tab_link_mehr a:hover,
#nw2 .tab_link_mehr a:focus {
    background: #194470;
}

#nw2 .tab_link_mehr a::after {
    content: "»";
    font-size: 60px;
}

@media (min-width: 992px) {
    #nw2 .tab_link_mehr a::after {
        margin-top: -8px;
    }
}

#nw2 .tab_link_title a {
    color: #202020;
    font-size: 1.5625rem;
    font-weight: 600;
    line-height: 1.1;
}

/* #region --------------------------------------- events --------------------------------------- */

#eventsBG {
    background-color: #9fde80;
    border-radius: 30px;
    overflow: hidden;
}

#events .tab {
    background-position: top 20px right 20px;
    background-repeat: no-repeat;
    color: #202020;
    font-size: 1rem;
    padding: 30px;
}

#events .tabHeadline {
    color: #202020;
    font-size: clamp(1.25rem, 10vw, 1.75rem);
    font-weight: 600;
    margin: 0 0 20px 0;
}

@media (min-width: 768px) {
    #events .tabHeadline {
        margin: 0 0 25px 0;
    }
}

@media (min-width: 1200px) {
    #events .tabHeadline {
        -moz-hyphens: manual;
        -ms-hyphens: manual;
        -webkit-hyphens: manual;
        hyphens: manual;
    }
}

#events .tabHeadline::after {
    display: none;
}

#events .tab_link_entry {
    font-size: 1rem;
    position: relative;
    width: 100%;
}

#events .tab_link_title a {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 8px;
    text-decoration: none;
}

#events .tab_link_title a:is(:focus, :hover) {
    text-decoration: underline;
}

@media (min-width: 576px) {
    #events .tab_link_entries {
        -ms-flex-wrap: wrap;
        display: -ms-flexbox;
        display: -webkit-box;
        display: flex;
        flex-wrap: wrap;
    }
}

#events {
    margin-bottom: 50px;
}

@media (min-width: 992px) {
    #events {
        margin-bottom: 140px;
    }
}

#events .tab_link,
#events .tab_link>div {
    height: 100%;
    min-height: 100%;
}

#events .tab_link_entry {
    border: none !important;
    color: #202020;
    font-size: 1rem;
    padding: 30px;
}

@media (min-width: 576px) and (max-width: 767px) {
    #events .tab_link_entry {
        width: 50%;
    }
}

@media (min-width: 768px) {
    #events .tab_link_entry {
        width: 33.33%;
    }
}

#events .tab_link_title a {
    color: #202020;
}

#events .tab_link_entries+div,
#events .tab_link_entries .tab_spacer,
#events .tab_link_entry>div:nth-last-child(2) {
    display: none;
}

@media (max-width: 767px) {
    #events .tab_link_entry:nth-child(3n+1) {
        background: rgba(0, 0, 0, 0.1);
    }

    #events .tab_link_entry:nth-child(3n+2) {
        background: rgba(255, 255, 255, 0.1);
    }
}

@media (min-width: 768px) {

    #events .tab_link_entry:nth-child(6n+1),
    #events .tab_link_entry:nth-child(6n+5) {
        background: rgba(0, 0, 0, 0.1);
    }

    #events .tab_link_entry:nth-child(6n+3),
    #events .tab_link_entry:nth-child(6n+4) {
        background: rgba(255, 255, 255, 0.1);
    }
}

/* #endregion ---------------------------------- events ------------------------------ */

/* #region --------------------------------------- footer --------------------------------------- */

footer,
footer a,
footer a:hover,
footer a:focus {
    color: #fff;
}

#footer {
    padding: clamp(60px, 10vw, 100px) 0 clamp(40px, 10vw, 60px) 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='1920px' height='100px'%3E%3Cpath fill='%23fff' d='M0.000,100.000 C0.000,100.000 480.000,0.000 958.1000,0.000 C1440.000,0.000 1920.1000,100.000 1920.1000,100.000 L1920.1000,0.000 L0.000,0.000 L0.000,100.000 Z'/%3E%3C/svg%3E") center top / 101% auto no-repeat,
        url('../img/footer-hintergrund.jpg') center bottom / 100% auto no-repeat,
        #8fca71;
}

#footer :is(h1, h2, h3, h4, h5, h6) {
    color: #fff;
    font-weight: 400;
    font-size: 1.75rem;
}

.footer-tab {
    font-size: 1rem;
    border: 1px rgba(255, 255, 255, 0.3) solid;
    border-radius: 50px;
    background: rgba(29,82,134,0.9);
    padding: 40px 40px 34px 60px;
    position: relative;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    height: 100%;
    min-height: 100%;
}

.footer-tab::after {
    content: "";
    display: block;
    position: absolute;
    left: -10px;
    top: -10px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 30px auto;
}

.footer-tab-1::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' viewBox='0 96 960 960' width='48'%3E%3Cpath d='M795 936q-122 0-242.5-60T336 720q-96-96-156-216.5T120 261q0-19.286 12.857-32.143T165 216h140q13.611 0 24.306 9.5Q340 235 343 251l27 126q2 14-.5 25.5T359 422L259 523q56 93 125.5 162T542 802l95-98q10-11 23-15.5t26-1.5l119 26q15.312 3.375 25.156 15.188Q840 740 840 756v135q0 19.286-12.857 32.143T795 936ZM229 468l81-82-23-110H180q0 39 12 85.5T229 468Zm369 363q41 19 89 31t93 14V769l-103-21-79 83ZM229 468Zm369 363Z' fill='%231d5286'/%3E%3C/svg%3E");
}

.footer-tab-2::after {
    background-size: 32px auto;
    background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M18.5 25.5v-9.25L24 12.6l5.5 3.65v9.25h-3v-6h-5v6ZM24 40.05q6.65-6.05 9.825-10.975Q37 24.15 37 20.4q0-5.9-3.775-9.65T24 7q-5.45 0-9.225 3.75Q11 14.5 11 20.4q0 3.75 3.25 8.675Q17.5 34 24 40.05ZM24 44q-8.05-6.85-12.025-12.725Q8 25.4 8 20.4q0-7.5 4.825-11.95Q17.65 4 24 4q6.35 0 11.175 4.45Q40 12.9 40 20.4q0 5-3.975 10.875T24 44Z' fill='%231d5286'/%3E%3C/svg%3E");
}

.footer-tab-3::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' viewBox='0 96 960 960' width='48'%3E%3Cpath d='M140 896q-24 0-42-18t-18-42V316q0-24 18-42t42-18h680q24 0 42 18t18 42v520q0 24-18 42t-42 18H140Zm340-302L140 371v465h680V371L480 594Zm0-60 336-218H145l335 218ZM140 371v-55 520-465Z' fill='%231d5286'/%3E%3C/svg%3E");
}

#innerfooter {
    color: #1a470c;
    padding: 30px 0;
    background: #fff;
}

@media (min-width: 992px) {
    #innerfooter {
        padding: 15px 0;
    }
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: block;
}

@media (min-width: 576px) {
    #innerfooter li+li::before {
        font-family: "Patrick Hand";
        content: "•";
        margin: 0 15px;
        color: #1a470c;
    }

    #innerfooter li {
        display: inline-block;
    }
}

@media (min-width: 1200px) {
    #innerfooter li+li::before {
        margin: 0 22px;
    }
}

#innerfooter li a {
    font-family: "Patrick Hand";
    text-decoration: none;
    color: inherit;
}

#innerfooter li a:is(:hover, :focus) {
    color: #1d5286;
}

@media (max-width: 575px) {
    #innerfooter li a {
        padding: 4px;
        display: inline-block;
    }
}

/* #endregion ------------------------------------ footer --------------------------------------- */

/* #region -------------------------------------- vernetzt -------------------------------------- */

#innerfooter #vernetzt {
    text-align: right;
    font-size: 0.875rem;
    color: #202020;
    line-height: 1.3;
    margin: 20px auto 0 auto;
    text-decoration: none;
}

@media (min-width: 768px) {
    #innerfooter #vernetzt {
        margin: 0;
    }
}

#innerfooter #vernetzt span span {
    display: block;
}

#innerfooter #vernetzt strong {
    font-weight: 400;
    font-family: "Patrick Hand";
    font-size: 1.125rem;
    color: #1d5286;
}

#innerfooter #vernetzt img {
    margin-left: 15px;
}

/* #endregion -------------------------------- vernetzt ----------------------------------------- */

/* #region ---------------------------------------- deco ----------------------------------------- */

@media (min-width: 992px) {
    #footer>.row::before {
        content: "";
        display: inline-block;
        position: absolute;
        background: url("../img/junge.png");
        width: 163px;
        height: 369px;
        bottom: 100%;
        right: 100%;
    }
}

/* #endregion ------------------------------------- deco ----------------------------------------- */