@import url('https://fonts.verwaltungsportal.de/import/?family=Josefin+Sans:400,400i,700,700i%7CAnnie+Use+Your+Telescope:400');

html {
    max-width: 1930px;
    margin-left: auto;
    margin-right: auto;
    background: #d2f0ea;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    scrollbar-color: #28806e #ffffff;
    scrollbar-width: thin;
}

@media (min-width: 992px) {
    html {
        scroll-padding-top: 150px;
    }
}

body {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    color: #333333;
    background: #ffffff;
    font-size: clamp(1rem, 2vw, 1.125rem);
    /* 1rem = 16px */
    line-height: 1.5;
    box-shadow: 0 0 100px 0 rgba(0, 0, 0, 0.1);
}

a {
    color: #28806e;
}

a:is(:hover, :focus) {
    color: #28806e;
    text-decoration: underline;
}

b,
strong {
    font-weight: 700;
}

:is(main, footer .template-page) a {
    text-decoration: underline;
}

#overflow {
    overflow: clip;
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    nav.horizontally {
        position: static !important;
    }

    #burgerButton {
        font-size: 0;
        border: none !important;
        display: block;
        height: 50px;
        width: 60px;
        border-radius: 2px;
        padding: 6px 8px;
        cursor: pointer;
        background-color: #28806e;
    }

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

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

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

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

    #burgerButtonInner {
        top: 16px;
    }

    #burgerButton::before {
        top: 24px;
        content: "";
    }

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

    .navbar-nav {
        margin: 20px 0;
    }

    .navbar-collapse {
        width: calc(100% - 90px);
        max-width: 300px;
        top: 0;
        background: #ffffff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        overflow-y: auto;
        transition: left 300ms linear, opacity 300ms linear, box-shadow 600ms linear;
        box-shadow: 250px 0 50vw 50vw rgba(255, 255, 255, 0);
    }

    .navbar-collapse:is([aria-expanded="true"], .in) {
        left: 0;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        box-shadow: 250px 0 50vw 50vw rgba(0, 0, 0, 0.6);
    }

    .navbar-header {
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 101;
    }

    .dropdown-toggle-button-wrapper {
        top: 10px;
    }

    .dropdown-toggle-button-wrapper2 {
        top: 5px;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    .is-sticky {
        z-index: 1012;
    }

    nav.horizontally {
        background: #ffffff;
        padding: 60px 0 20px 0;
        position: sticky;
        top: 0;
        z-index: 1010;
        border-bottom: 6px solid #91ddcf;
        transition: padding 300ms linear;
    }

    .is-sticky nav.horizontally {
        padding: 28px 0 20px 0;
    }

    nav.horizontally .navbar-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        z-index: 13;
        position: relative;
    }

    nav.horizontally li[class*="toplevel"]>ul {
        position: absolute;
        top: 100%;
        left: 10px;
        z-index: 1000;
    }

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

    nav.horizontally .navbar-nav li {
        position: relative;
    }

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

    nav.horizontally .navbar-nav li.open>ul {
        pointer-events: none !important;
        opacity: 0 !important;
        visibility: hidden;
    }

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

    nav.horizontally .navbar-nav li:is(:hover, :focus)>ul {
        z-index: 1003;
    }
}

@media (min-width: 1200px) {
    nav.horizontally .navbar-nav {
        padding: 0 30px;
    }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
    color: #333333;
    font-weight: 400;
    text-align: left;
    padding: 16px 35px 12px 20px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (max-width: 991px) {
    nav.horizontally li[class*="toplevel"] {
        border-bottom: 1px solid rgba(46, 60, 72, 0.2);
    }
}

@media (min-width: 992px) {
    nav.horizontally li[class*="toplevel"]+li {
        margin-left: 10px;
    }

    nav.horizontally li[class*="toplevel"]+li {
        display: flex;
        align-content: center;
        align-items: center;
        flex-grow: 1;
    }

    nav.horizontally li[class*="toplevel"]+li::before {
        content: "";
        display: inline-block;
        opacity: 0.1;
        height: 20px;
        width: 20px;
        background: url("data:image/svg+xml,%0A%3Csvg fill='%23000000' enable-background='new 0 0 512 512' viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='Layer_2'%3E%3Cg id='spiral'%3E%3Cpath d='m295.2 506.8c-54 .1-105.8-21.3-143.9-59.6-65.1-65.1-65.1-171 0-236.1 53.7-53.7 141.1-53.7 194.8 0 44.7 44.7 44.7 117.1 0 161.8-37.4 37.4-98 37.4-135.3 0-31.5-31.6-31.5-82.6 0-114.2 26.9-26.9 70.4-26.9 97.3 0 23.1 23.1 23.1 60.6 0 83.8-8.2 8.2-21.4 8.2-29.6 0s-8.2-21.4 0-29.6c6.8-6.8 6.8-17.7 0-24.5-10.5-10.5-27.5-10.5-38 0-15.2 15.1-15.2 39.7-.1 54.9 0 0 0 0 .1.1 21 21 55.1 21 76.1 0 28.3-28.3 28.3-74.2 0-102.5-37.5-37.4-98.1-37.4-135.6 0-48.8 48.9-48.8 128 0 176.9 63 63 165.5 63 228.5 0 80.8-80.8 80.8-212.2 0-293-103-103-270.6-103-373.7 0-8.2 8.2-21.5 8.2-29.7 0s-8.2-21.5 0-29.7c119.6-119.7 313.4-119.7 432.9-.2 97.3 97.3 97.3 255 0 352.2-38 38.3-89.8 59.8-143.8 59.7z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") center / 15px auto no-repeat;
        flex-grow: 1;
        margin-right: 10px;
    }

    nav.horizontally a[class*="toplevel"] {
        padding: 15px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
    }
}

/* toplevel-over */

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within)>a,
nav.horizontally li[class*="toplevel"]>a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"].open>a,
nav.horizontally li[class*="toplevel"].open>a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"][class*="_over"]>a,
nav.horizontally li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus) {
    color: #28806e;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
    background: #ffffff;
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.1);
}

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

    nav.horizontally [class*="secondlevel"]>ul {
        margin: 10px;
    }
}

@media (min-width: 992px) {
    nav.horizontally [class*="toplevel"] ul {
        padding: 18px 0;
        border-radius: 6px;
    }

    nav.horizontally [class*="toplevel"]>ul::before {
        content: '';
        position: absolute;
        display: block;
        top: -5px;
        height: 5px;
        left: 0;
        right: 0;
    }

    nav.horizontally [class*="secondlevel"]>ul {
        margin-top: -18px;
        margin-left: 10px;
    }

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

/* secondlevel + thirdlevel */

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

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #333333;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 400;
    padding: 12px 20px 8px 40px;
    line-height: 1.2;
    text-decoration: none;
    position: relative;
}

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

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::after {
    content: "";
    display: block;
    position: absolute;
    pointer-events: none;
    opacity: 0;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 30px;
    transform: rotate(-90deg);
    background: url("data:image/svg+xml,%0A%3Csvg fill='%2328806e' enable-background='new 0 0 512 512' viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='Layer_2'%3E%3Cg id='spiral'%3E%3Cpath d='m295.2 506.8c-54 .1-105.8-21.3-143.9-59.6-65.1-65.1-65.1-171 0-236.1 53.7-53.7 141.1-53.7 194.8 0 44.7 44.7 44.7 117.1 0 161.8-37.4 37.4-98 37.4-135.3 0-31.5-31.6-31.5-82.6 0-114.2 26.9-26.9 70.4-26.9 97.3 0 23.1 23.1 23.1 60.6 0 83.8-8.2 8.2-21.4 8.2-29.6 0s-8.2-21.4 0-29.6c6.8-6.8 6.8-17.7 0-24.5-10.5-10.5-27.5-10.5-38 0-15.2 15.1-15.2 39.7-.1 54.9 0 0 0 0 .1.1 21 21 55.1 21 76.1 0 28.3-28.3 28.3-74.2 0-102.5-37.5-37.4-98.1-37.4-135.6 0-48.8 48.9-48.8 128 0 176.9 63 63 165.5 63 228.5 0 80.8-80.8 80.8-212.2 0-293-103-103-270.6-103-373.7 0-8.2 8.2-21.5 8.2-29.7 0s-8.2-21.5 0-29.7c119.6-119.7 313.4-119.7 432.9-.2 97.3 97.3 97.3 255 0 352.2-38 38.3-89.8 59.8-143.8 59.7z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") center / 15px auto no-repeat;
    transition: 300ms opacity linear, 300ms transform linear;
}


/* secondlevel + thirdlevel over */

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within)>a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])>a:is(:hover, :focus),
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a:is(:hover, :focus),
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a:is(:hover, :focus) {
    color: #28806e;
}

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within)>a::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])>a:is(:hover, :focus)::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a:is(:hover, :focus)::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a:is(:hover, :focus)::after {
    opacity: 1;
    transform: rotate(0deg);
}

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

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

#logo {
    padding: 20px;
    display: block;
    margin: 0 auto;
    width: max-content;
    background: #ffffff;
    border-radius: 50%;
}

@media (min-width: 992px) {
    #logo {
        padding: 49px 36px 20px 36px;
        margin: 0 auto -190px auto;
        pointer-events: all;
        transition: all 300ms linear;
    }

    .is-sticky #logo {
        max-width: 100px;
        padding: 15px;
    }

    .logoBox {
        margin-top: -20px;
        position: relative;
        z-index: 12;
        pointer-events: none;
    }

    #logo img {
        height: 172px;
        transition: all 300ms linear;
    }

    .is-sticky #logo img {
        height: auto;
    }
}

#logo img {
    display: block;
}

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

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

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

#news .tab_link_entries,
:is(#news, #innerfooter)>.row {
    row-gap: 30px;
}

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

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

#headerpic #slider {
    height: clamp(300px, 65vw, 450px);
}

#headerpic .nivo-controlNav {
    bottom: 30px;
}

@media (min-width: 576px) and (max-width: 991px) {
    #headerpic .nivo-controlNav {
        text-align: left;
        padding-left: 15px;
        max-width: 35vw;
    }
}

@media (min-width: 992px) {
    .index #headerpic #slider {
        height: clamp(450px, 75vw, 712px);
    }

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

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

    .index #headerpic .nivo-controlNav {
        bottom: 50px;
    }
}

#headerpic {
    position: relative;
    width: 100%;
}

#headerpic .nivo-main-image {
    min-height: 100% !important;
}

.slider-mask {
    display: block;
    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;
}

/* banner tab */

.bannerTab {
    background: url(../img/bg-overlay.svg) center / 100% 100% no-repeat;
    padding: 80px clamp(50px, 7vw, 90px) clamp(80px, 8vw, 120px) clamp(50px, 7vw, 90px);
    display: block;
    position: relative;
    z-index: 12;
    margin: -20px auto 40px auto;
}

@media (max-width: 575px) {
    .bannerTab {
        background: #ffffff;
        box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.2);
        padding: 30px;
        border-radius: 20px;
        max-width: calc(100% - 60px);
        width: 100%;
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    .bannerTab {
        margin: -250px 30px 0 30vw;
    }
}

@media (min-width: 992px) {
    .bannerTab {
        right: 90px;
        bottom: -50px;
        margin: 0;
        position: absolute;
        width: 690px;
    }
}

.bannerTab :is(h1, h2, h3, h4, h5, h6) :is(i, em) {
    font-size: 1.25rem;
    color: #333333;
    font-style: normal;
    text-transform: none;
    display: inline-block;
    margin-bottom: clamp(10px, 2vw, 25px);
}

@media (max-width: 575px) {
    .bannerTab::before {
        content: "";
        pointer-events: none;
        position: absolute;
        left: -10px;
        right: -10px;
        top: -10px;
        bottom: -10px;
        display: block;
        border: 3px dashed #ffffff;
        border-radius: 30px;
    }
}

@media (min-width: 992px) {

    .bannerTab::after,
    .bannerTab::before,
    #headerpic::after {
        content: "";
        pointer-events: none;
        position: absolute;
        display: block;
    }

    .bannerTab::after {
        background: url(../img/stift-deko.webp) center no-repeat;
        width: 185px;
        height: 167px;
        right: 22px;
        bottom: 10px;
    }

    .bannerTab::before {
        background: url(../img/globus-deko.webp) center no-repeat;
        width: 166px;
        height: 203px;
        top: -50px;
        left: 50px;
    }

    #headerpic::after {
        background: url(../img/rakete-deko.webp) center no-repeat;
        width: 199px;
        height: 206px;
        right: calc(50% + 660px);
        bottom: -60px;
        z-index: 20;
    }
}

/* scroll to content button */

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

@media (min-width: 576px) {
    #scroll2Content {
        bottom: -27px;
    }
}

#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='%2328806e'/%3E%3C/svg%3E") center -2px / 34px auto;
    transition: background-position 300ms linear;
}

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

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

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

#content-area {
    text-align: left;
    padding: clamp(45px, 5vw, 60px) 0 clamp(40px, 8vw, 90px) 0;
}

.index #content-area {
    padding-top: clamp(40px, 8vw, 90px);
}

/* #region --------------------------------------- news ----------------------------------------- */

#news {
    padding-bottom: clamp(40px, 6vw, 80px);
}

#news .tabbox1 {
    position: relative;
    z-index: 1;
}

#news .tab :is(h1, h2, h3, h4, h5, h6) {
    background: #ffffff;
}

#news .tabbox1>*+* {
    margin-top: 80px;
}

#news .tabbox1::before {
    content: "";
    display: block;
    position: absolute;
    top: 10px;
    right: 30px;
    bottom: 30px;
    left: 30px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    z-index: -1;
}

@media (min-width: 768px) {
    #news .tabbox1::before {
        top: 125px;
        right: calc(100% + -630px);
        bottom: 20px;
        left: 0;
    }
}

@media (min-width: 992px) {
    #news .tabbox1::after {
        content: "";
        pointer-events: none;
        position: absolute;
        display: block;
        background: url(../img/deko-aktuelles.webp) center no-repeat;
        width: 143px;
        height: 122px;
        left: -75px;
        bottom: 20px;
        z-index: 1;
    }
}

#news :is(.tab, .button-design) {
    margin-left: clamp(20px, 2vw, 30px);
    background: #ffffff;
}

@media (max-width: 767px) {
    #news :is(.tab, .button-design) {
        margin-right: clamp(20px, 2vw, 30px);
    }
}

#news .tab {
    padding: 0 clamp(20px, 2vw, 30px) clamp(20px, 2vw, 30px) clamp(20px, 2vw, 30px);
}

@media (min-width: 768px) {
    #news .tab {
        padding-top: 95px;
    }
}

#news .button-design {
    display: inline-block;
    padding: 0 clamp(20px, 4vw, 30px);
    width: max-content;
}

#news .tab_link_entries {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 30px;
}

@media (min-width: 576px) {
    #news .tab_link_entries {
        grid-template-columns: repeat(2, 1fr);
    }
}

#news .tabbox1::before,
#news .tab_link_entry {
    border-radius: 50px;
}

#news .tab_link_entry,
#news .tab_link_entry a {
    color: inherit;
}

#news .tab_link_entry {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    background: #91ddcf url("data:image/svg+xml,%0A%3Csvg fill='%2328806e' enable-background='new 0 0 512 512' viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='Layer_2'%3E%3Cg id='spiral'%3E%3Cpath d='m295.2 506.8c-54 .1-105.8-21.3-143.9-59.6-65.1-65.1-65.1-171 0-236.1 53.7-53.7 141.1-53.7 194.8 0 44.7 44.7 44.7 117.1 0 161.8-37.4 37.4-98 37.4-135.3 0-31.5-31.6-31.5-82.6 0-114.2 26.9-26.9 70.4-26.9 97.3 0 23.1 23.1 23.1 60.6 0 83.8-8.2 8.2-21.4 8.2-29.6 0s-8.2-21.4 0-29.6c6.8-6.8 6.8-17.7 0-24.5-10.5-10.5-27.5-10.5-38 0-15.2 15.1-15.2 39.7-.1 54.9 0 0 0 0 .1.1 21 21 55.1 21 76.1 0 28.3-28.3 28.3-74.2 0-102.5-37.5-37.4-98.1-37.4-135.6 0-48.8 48.9-48.8 128 0 176.9 63 63 165.5 63 228.5 0 80.8-80.8 80.8-212.2 0-293-103-103-270.6-103-373.7 0-8.2 8.2-21.5 8.2-29.7 0s-8.2-21.5 0-29.7c119.6-119.7 313.4-119.7 432.9-.2 97.3 97.3 97.3 255 0 352.2-38 38.3-89.8 59.8-143.8 59.7z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") top right -20px / 100px auto no-repeat;
    padding: 276px clamp(20px, 3vw, 60px) 30px clamp(20px, 3vw, 60px);
    border: none !important;
}

#news .tab_link_entry::after {
    content: "";
    display: block;
    position: absolute;
    top: 204px;
    right: 35px;
    z-index: 1;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    pointer-events: none;
    background: #28806e url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M21.7 43.15q-2.9-2.1-6.125-3.4-3.225-1.3-6.625-1.7-1.25-.15-2.1-1.075Q6 36.05 6 34.9V19.35q0-1.3.9-2.125t2.05-.625q3.95.6 7.775 2.65T24 24.55q3.45-3.25 7.275-5.3t7.775-2.65q1.15-.2 2.05.625.9.825.9 2.125V34.9q0 1.15-.85 2.075-.85.925-2.1 1.075-3.4.4-6.625 1.7-3.225 1.3-6.125 3.4-1 .7-2.3.7-1.3 0-2.3-.7Zm2.45-25.75q-3.25 0-5.475-2.225Q16.45 12.95 16.45 9.7q0-3.25 2.225-5.475Q20.9 2 24.15 2q3.25 0 5.475 2.225Q31.85 6.45 31.85 9.7q0 3.25-2.225 5.475Q27.4 17.4 24.15 17.4Z' fill='%23ffffff'/%3E%3C/svg%3E") center / 25px auto no-repeat;
}

@media (min-width: 576px) {
    #news .tab_link_entries {
        margin-bottom: 80px;
    }
}

#news .tab_link_entry .tab_preview_picture,
#news .tab_link_entry .tab_link_title a::before {
    height: 220px;
    top: clamp(20px, 3vw, 30px);
    left: clamp(20px, 3vw, 30px);
    right: clamp(20px, 3vw, 30px);
    display: block;
    overflow: hidden;
    position: absolute;
}

#news .tab_link_entry .tab_preview_picture {
    border-radius: 78px 38px;
    z-index: 1;
}

#news .tab_link_entry .tab_preview_picture img {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
    margin: 0;
}

#news .tab_link_entry .tab_link_title a::before {
    content: "";
    border-radius: 80px 40px;
    background: center / cover no-repeat;
}

#news .tab_link_title a {
    color: inherit;
    font-weight: 400;
    font-size: 1.375rem;
    line-height: 1.2;
    font-family: "Annie Use Your Telescope", cursive;
}

#news .tab_link_title a:not(:hover):not(:focus) {
    text-decoration: none;
}

#news .tab_date {
    margin-bottom: 4px;
}

#news :is(.vorschau, .tab_link_mehr, .tab_spacer) {
    display: none;
}

/* #endregion ------------------------------------ news ----------------------------------------- */

/* #region -------------------------------------- numbers --------------------------------------- */

#numbers {
    position: relative;
    padding-bottom: clamp(40px, 6vw, 80px);
}

#numbers>.row::before {
    content: "";
    display: block;
    position: absolute;
    top: 10px;
    right: 30px;
    bottom: 30px;
    left: 30px;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    #numbers>.row::before {
        top: 180px;
        right: 15px;
        bottom: 20px;
        left: 200px;
    }
}

@media (min-width: 992px) {

    #numbers::after,
    #numbers::before {
        content: "";
        pointer-events: none;
        position: absolute;
        display: block;
        z-index: 20;
    }

    #numbers::after {
        background: url(../img/wecker-deko.webp) center no-repeat;
        width: 198px;
        height: 200px;
        right: calc(50% + 650px);
        bottom: 10px;
    }

    #numbers::before {
        background: url(../img/erfolg-deko.webp) center no-repeat;
        width: 173px;
        height: 227px;
        left: calc(50% + 530px);
        bottom: 120px;
    }
}

#numbers>.row::before,
#numbers .tab-bg {
    border-radius: 50px;
}

#numbers :is(.tab, .button-design) {
    margin-left: clamp(20px, 2vw, 30px);
    background: #ffffff;
}

@media (max-width: 767px) {
    #numbers :is(.tab, .button-design) {
        margin-right: clamp(20px, 2vw, 30px);
    }
}

#numbers .tab-bg {
    padding: 40px;
    background: #91ddcf;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    #numbers .tab-bg {
        margin-bottom: 80px;
    }
}

#numbers .tab-bg img {
    display: block;
    padding: 20px;
    width: 80px !important;
    height: 80px !important;
    background: #ffffff;
    border-radius: 10px 20px 10px 20px;
    margin: 0 auto;
}

#numbers .tab-bg :is(b, strong) {
    font-size: 2.5rem;
    font-family: "Annie Use Your Telescope", cursive;
    font-weight: inherit;
    color: inherit;
}

#numbers .tab {
    padding: 0 clamp(20px, 2vw, 30px) clamp(20px, 2vw, 30px) clamp(20px, 2vw, 30px);
}

@media (min-width: 768px) {
    #numbers .tab {
        padding-top: 95px;
    }
}

#numbers .button-design {
    display: inline-block;
    padding: 0 clamp(20px, 4vw, 30px);
    width: max-content;
}

/* #endregion ----------------------------------- numbers --------------------------------------- */

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

.button-design a:not(.has-image) {
    display: inline-block;
    line-height: 1.2;
    color: #16453c;
    border-radius: 40px;
    font-size: 1.125rem;
    font-weight: 400;
    background: #91ddcf;
    padding: 12px 20px 9px 42px;
    position: relative;
    text-decoration: none !important;
}

#headerpic .button-design a:not(.has-image) {
    margin-top: clamp(1px, 1vw, 15px);
}

.button-design a:not(.has-image)::after,
#headerpic .button-design a:not(.has-image)::before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
}

.button-design a:not(.has-image)::after {
    top: 1px;
    left: 8px;
    width: 30px;
    background: url("data:image/svg+xml,%0A%3Csvg fill='%2316453c' enable-background='new 0 0 512 512' viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='Layer_2'%3E%3Cg id='spiral'%3E%3Cpath d='m295.2 506.8c-54 .1-105.8-21.3-143.9-59.6-65.1-65.1-65.1-171 0-236.1 53.7-53.7 141.1-53.7 194.8 0 44.7 44.7 44.7 117.1 0 161.8-37.4 37.4-98 37.4-135.3 0-31.5-31.6-31.5-82.6 0-114.2 26.9-26.9 70.4-26.9 97.3 0 23.1 23.1 23.1 60.6 0 83.8-8.2 8.2-21.4 8.2-29.6 0s-8.2-21.4 0-29.6c6.8-6.8 6.8-17.7 0-24.5-10.5-10.5-27.5-10.5-38 0-15.2 15.1-15.2 39.7-.1 54.9 0 0 0 0 .1.1 21 21 55.1 21 76.1 0 28.3-28.3 28.3-74.2 0-102.5-37.5-37.4-98.1-37.4-135.6 0-48.8 48.9-48.8 128 0 176.9 63 63 165.5 63 228.5 0 80.8-80.8 80.8-212.2 0-293-103-103-270.6-103-373.7 0-8.2 8.2-21.5 8.2-29.7 0s-8.2-21.5 0-29.7c119.6-119.7 313.4-119.7 432.9-.2 97.3 97.3 97.3 255 0 352.2-38 38.3-89.8 59.8-143.8 59.7z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") center / 18px auto no-repeat;
}

.button-design a:not(.has-image):is(:hover, :focus)::after {
    animation: iconSpin 2s linear infinite;
}

@keyframes iconSpin {
    100% {
        transform: rotate(360deg);
    }
}

#headerpic .button-design a:not(.has-image)::before {
    top: 0;
    right: 0;
    left: 0;
    z-index: -1;
    border-radius: 40px;
    border: 1px solid rgba(40, 128, 110, 0.3);
    transition: transform 200ms linear;
}

.button-design a:not(.has-image):is(:hover, :focus)::before {
    transform: translateX(10px) translateY(10px);
}

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

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #28806e;
    font-weight: 400;
    line-height: 1;
    font-family: "Annie Use Your Telescope", cursive;
    margin-bottom: 15px;
}

#headerpic :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(2.25rem, 6vw, 4.5rem);
    margin-bottom: clamp(15px, 4vw, 30px);
    text-transform: uppercase;
}

:is(#news, #numbers) .tab :is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: clamp(15px, 4vw, 34px);
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
}

h1,
.h1,
.legacy_h1,
:is(#news, #numbers) .tab :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(2.25rem, 6vw, 3.125rem);
    margin-bottom: clamp(15px, 4vw, 38px);
}

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

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

h4,
.h4,
.legacy_h4,
#maps_contact .tabHeadline {
    font-size: clamp(1.6875rem, 4.5vw, 2.1875rem);
}

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

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

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

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

/* @7f footer */

footer {
    font-size: 0.875rem;
    background: #91ddcf;
}

/* maps_contact */

#maps_contact {
    padding-top: clamp(30px, 4vw, 65px);
    padding-bottom: 25px;
}

#maps_contact .noPadding {
    padding: 0px;
}

#maps_contact .tabHeadline {
    color: inherit;
    margin-bottom: 20px;
}

#maps_contact a {
    color: inherit;
}

#maps_contact .footerTabs {
    padding-bottom: 10px;
}

#maps_contact hr {
    height: 1px;
    opacity: 0.5;
    margin: 30px 0;
    border: unset !important;
    background: #6e948d;
}

/* innerfooter */

#innerfooter {
    margin-top: auto;
    padding: 0;
    position: relative;
}

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

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

#innerfooter a {
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

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

#innerfooter li+li::before {
    content: "•";
    margin: 0 10px;
}

@media (max-width: 767px) {
    #innerfooter li {
        display: block;
        text-align: center;
        padding: 5px;
        margin: 0;
    }

    #innerfooter li+li::before {
        display: none;
    }
}

/* vernetzt */

#vernetzt {
    text-align: right;
    gap: 15px;
    color: inherit;
    line-height: 1.3;
    text-decoration: none;
}

#vernetzt span span {
    display: block;
}

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

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

@media (min-width: 992px) {
    :is(#headerpic, .bannerTab, #numbers)::after {
        animation: float1 6s ease-in-out infinite;
    }

    #news .tabbox1::after,
    :is(.bannerTab, #numbers)::before {
        animation: float2 6s ease-in-out infinite;
    }
}

@keyframes float1 {
    0% {
        transform: translateY(0px) translateX(0px);
    }

    50% {
        transform: translateY(-20px) translateX(10px);
    }

    100% {
        transform: translateY(0px) translateX(0px);
    }
}

@keyframes float2 {
    0% {
        transform: translateY(0px) translateX(0px);
    }

    50% {
        transform: translateY(20px) translateX(-10px);
    }

    100% {
        transform: translateY(0px) translateX(0px);
    }
}

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