@import url("https://fonts.verwaltungsportal.de/css/?family=Comfortaa:300,400,700");

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

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

@media (min-width: 768px) {
    body {
        font-size: 1.125rem;
    }
}

a {
    color: #535b24;
}

a:hover,
a:focus {
    color: #535b24;
    text-decoration: underline;
}

main a,
b,
strong {
    font-weight: 700;
}

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

#overflow {
    overflow: clip;
}

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

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

@media (max-width: 991px) {
    #logo {
        margin: 15px 0;
    }

    #logo img {
        max-width: 210px;
        width: 100%;
    }

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

@media (max-width: 767px) {
    #logo img {
        max-width: 160px;
    }
}

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

#topbar {
    font-size: 0.875rem;
    background: #ffffff;
}

#topbar>.row>* {
    padding-top: 24px;
    padding-bottom: 24px;
}

@media (min-width: 992px) {
    #topbar>.row>* {
        padding-top: 12px;
        padding-bottom: 12px;
    }
}

/* topbar contact */


@media (max-width: 767px) {
    #topbar-contact {
        border-top: 2px solid #fff;
        position: fixed;
        z-index: 99;
        left: 0;
        bottom: 0;
        right: 0;
    }
}

#topbar-contact>*,
#topbar-contact+* {
    position: relative;
    z-index: 1;
}

#phone-tab,
#mail-tab {
    padding-top: 30px;
    display: block;
    min-height: 20px;
    min-width: 42px;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: auto 24px;
}

@media (min-width: 576px) {

    #phone-tab,
    #mail-tab {
        padding-top: 0;
        padding-left: 30px;
        background-position: center left;
    }
}

#phone-tab {
    background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M38.75 40.9q-5.6 0-11.25-2.875T17.3 30.6q-4.55-4.55-7.4-10.175Q7.05 14.8 7.05 9.2q0-.95.625-1.575T9.25 7h5.7q.8 0 1.35.5t.75 1.35l1.2 5.35q.1.75-.05 1.35-.15.6-.6 1l-4.7 4.6q2.85 4.8 6.375 8.275Q22.8 32.9 27.35 35.4l4.5-4.7q.5-.55 1.125-.775.625-.225 1.325-.075l4.85 1.1q.8.15 1.3.75t.5 1.45v5.5q0 .95-.625 1.6-.625.65-1.575.65Zm-27-21.8 4.1-4q.1-.1.125-.225.025-.125.025-.225L14.9 9.6q-.05-.2-.15-.275-.1-.075-.25-.075H9.6q-.15 0-.225.075Q9.3 9.4 9.3 9.55q-.05 1.95.6 4.325t1.85 5.225ZM29.5 36.45q2.05 1 4.475 1.55t4.425.65q.15 0 .225-.075.075-.075.075-.225v-4.9q0-.15-.075-.25t-.225-.15l-4.55-.9q-.1-.05-.2 0l-.2.1ZM11.75 19.1ZM29.5 36.45Z' fill='%23535b24'/%3E%3C/svg%3E");
}

@media (min-width: 1200px) {
    #phone-tab {
        margin-left: 10px;
        max-width: 220px;
    }
}

#mail-tab {
    margin-left: 20px;
    background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M7.9 39q-1.2 0-2.05-.85Q5 37.3 5 36.1V11.9q0-1.2.85-2.05Q6.7 9 7.9 9h32.2q1.2 0 2.05.85.85.85.85 2.05v24.2q0 1.2-.85 2.05-.85.85-2.05.85ZM24 24.3 7.25 13.25V36.1q0 .3.175.475t.475.175h32.2q.3 0 .475-.175t.175-.475V13.25Zm0-2.4 16.3-10.65H7.75ZM7.25 13.25v-2V36.1q0 .3.175.475t.475.175h-.65V36.1Z' fill='%23535b24'/%3E%3C/svg%3E");
}

@media (max-width: 767px) {
    #mail-tab {
        margin-left: 0;
    }

    #phone-tab, #mail-tab {
        padding-top: 0;
        padding-left: 20px;
        background-position: center left;
        font-size: 0.875rem;
    }
}

/* social-media */

#social-media img {
    vertical-align: middle
}

#social-media img+img,
#social-media a+a {
    margin-left: 8px;
}

/* search */

#search-button {
    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='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='%23535b24'/%3E%3C/svg%3E") center / 30px auto no-repeat;
    display: inline-block;
    width: 24px;
    height: 30px;
    font-size: 0;
    position: relative;
}


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

#search-button::before,
*+#search-button::after {
    content: "";
    display: block;
    position: absolute;
    pointer-events: none;
}

#search-button::before {
    z-index: -1;
    top: -4px;
    right: -7px;
    bottom: -4px;
    left: -7px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    opacity: 0;
    transition: 300ms opacity linear;
}

#search-button:hover::before,
#search-button:focus::before {
    opacity: 1;
}

@media (min-width: 768px) {

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

    *+#search-button::after {
        left: -30px;
        top: 0;
        bottom: 0;
        width: 1px;
        background: #1d5997;
        opacity: 0.4;
    }
}

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

@media (max-width: 767px) {
    #menu-bg>.row>:last-child>*:first-child>*+* {
        margin-top: 15px;
    }
}

/* burgermenu for tablet */

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

    #menu-bg>.row>*+* {
        margin-top: 15px;
        padding: 0;
    }

    #menu-bg {
        padding-bottom: 15px
    }

    #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: #c3ce0c;
        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: 15px;
        right: 15px;
        z-index: 101;
        transition: top 300ms linear;
    }

    .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: 8px;
        right: 0;
    }

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

@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-sticky-wrapper {
        position: absolute;
        left: 0;
        right: 0;
    }

    #menu {
        transition: background 300ms linear, box-shadow 300ms linear;
        margin-top: 0px;
        background-color: #ffffff;
    }

    .is-sticky #menu,
    #menu-bg,
    #menu-bg::before {
        background: #fff;
        margin-top: 0px;
    }

    .is-sticky #menu {
        left: auto !important;
        box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.12);
    }

    #menu-bg>.row {
        min-height: 100px;
        position: relative;
        padding: 15px 0 14px 15px;
    }

    #menu-bg::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        width: 50vw;
        right: calc(-50vw + 15px);
    }

    .is-sticky #menu-bg::before {
        display: none;
    }

    #menu-bg :is(.navbar-default, #myNavbar, .navbar-nav, [class*="toplevel"]) {
        height: 100% !important;
    }

    #headerpic :is(.sticky-wrapper, #menu) {
        z-index: 101;
    }

    nav.horizontally .navbar-nav {
        position: relative;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify !important;
        -ms-flex-pack: justify !important;
        justify-content: space-between !important;
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
    }

    .is-sticky nav.horizontally .navbar-nav {
        border-top: none;
    }

    nav.horizontally li[class*="toplevel"]>.dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        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;
    }
}

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

    #menu-bg>.row {
        padding-left: 30px;
    }
}

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

.navbar-default li[class*="toplevel"]>a {
    color: #444444;
    font-weight: 700;
    text-align: left;
    padding: 14px 5px;
    position: relative;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    transition: border 300ms linear;
}

@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 (min-width: 992px) {
    .navbar-default li[class*="toplevel"]>a {
        padding: 10px 0;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
    }

    .navbar-default li[class*="toplevel"]+li {
        margin-left: 10px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .navbar-default li[class*="toplevel"]>a {
        font-size: 14px;
    }

    .navbar-default li[class*="toplevel"]+li {
        margin-left: 10px;
    }
}

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

/* -------------------------------------------- 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: #535b24;
}

.navbar-default li[class*="toplevel"]:focus-within>a {
    color: #535b24;
}

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

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

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

    .navbar-default li[class*="toplevel"]>ul {
        margin-top: 25px;
    }

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

    .navbar-default li[class*="toplevel"]>ul::before,
    .navbar-default li[class*="secondlevel"]>ul::before {
        content: "";
        position: absolute;
        display: block;
    }

    .navbar-default li[class*="toplevel"]>ul::before {
        height: 27px;
        left: 0;
        right: 0;
        top: -27px;
    }

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

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

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

@media(max-width: 991px) {
    .navbar-default :is(li[class*="secondlevel"]>a, li[class*="thirdlevel"]>a) {
        padding-left: 20px;
    }

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

.navbar-default li[class*="secondlevel"]>a::after,
.navbar-default li[class*="thirdlevel"]>a::after {
    content: "";
    display: block;
    position: absolute;
    opacity: 0;
    pointer-events: none;
    left: 25px;
    top: calc(50% - 3px);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #535b24;
    transition: opacity 300ms linear;
}

@media(max-width: 991px) {

    .navbar-default li[class*="secondlevel"]>a::after,
    .navbar-default li[class*="thirdlevel"]>a::after {
        left: 0;
    }
}

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

.navbar-default li[class*="secondlevel"]:hover>a::after,
.navbar-default li[class*="secondlevel"]>a:hover::after,
.navbar-default li[class*="secondlevel"]>a:focus::after,
.navbar-default li[class*="secondlevel"].open>a::after,
.navbar-default li[class*="secondlevel"].open>a:hover::after,
.navbar-default li[class*="secondlevel"].open>a:focus::after,
.navbar-default li[class*="secondlevel"][class*="_over"]>a::after,
.navbar-default li[class*="secondlevel"][class*="_over"]>a:hover::after,
.navbar-default li[class*="secondlevel"][class*="_over"]>a:focus::after,
.navbar-default li[class*="thirdlevel"]:hover>a::after,
.navbar-default li[class*="thirdlevel"]>a:hover::after,
.navbar-default li[class*="thirdlevel"]>a:focus::after,
.navbar-default li[class*="thirdlevel"].open>a::after,
.navbar-default li[class*="thirdlevel"].open>a:hover::after,
.navbar-default li[class*="thirdlevel"].open>a:focus::after,
.navbar-default li[class*="thirdlevel"][class*="_over"]>a::after,
.navbar-default li[class*="thirdlevel"][class*="_over"]>a:hover::after,
.navbar-default li[class*="thirdlevel"][class*="_over"]>a:focus::after {
    opacity: 1;
}

.navbar-default li[class*="secondlevel"]:focus-within>a::after,
.navbar-default li[class*="thirdlevel"]:focus-within>a::after {
    opacity: 1;
}

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

#tabs>.row,
#blog>.row,
#blog .tab_link_entries,
#feedback>.row {
    row-gap: 30px;
}

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

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

@media (min-width: 992px) {
    header {
        position: relative;
    }
}

/* header text */

#header-text {
    position: relative;
    z-index: 10;
    padding-top: clamp(40px, 16vw, 225px);
    padding-bottom: clamp(40px, 12vw, 65px);
}

@media (min-width: 992px) {
    #header-text {
        padding-top: clamp(40px, 20vw, 225px);
        padding-right: clamp(30px, 4vw, 55px);
    }
}

body:not(.index) #headerpic p {
    display: none;
}



#header-text>* {
    position: relative;
    z-index: 1;
}

#header-text :is(b, strong) {
    font-size: 1.25rem;
}

#header-text :is(b, strong),
#header-text :is(h1, h2, h3, h4, h5, h6) :is(i, em) {
    color: #535b24;
}

#header-text :is(h1, h2, h3, h4, h5, h6),
#header-text :is(h1, h2, h3, h4, h5, h6) :is(b, strong) {
    color: #1f1f1f;
}

#header-text :is(h1, h2, h3, h4, h5, h6) :is(b, strong) {
    font-size: inherit;
}

/* banner */

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

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

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

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

#headerpic {
    position: relative;
    padding-top: 50px;
}

.slider-mask {
    display: none;
}

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


#headerBG {
    position: relative;
    background-color: #e7e7e5;
    border-bottom-right-radius: clamp(100px, 20vw, 300px);
}

@media (min-width: 992px) {

    #headerBG::before,
    #headerpic::before {
        width: 501px;
        height: 428px;
        background-image: url('../img/header-welle.png');
        background-position: top left;
        background-repeat: no-repeat;
        position: absolute;
        content: '';
        display: block;
        z-index: 0;
        pointer-events: none;
    }

    #headerpic::after {
        content: '';
        display: block;
        position: absolute;
        top: 0px;
        left: 0;
        right: 0;
        height: 50px;
        width: 100%;
        background: linear-gradient(to right, rgba(195, 206, 12, 1) 0%, rgba(195, 206, 12, 1) 50%, rgba(242, 242, 242, 1) 50%, rgba(242, 242, 242, 1) 100%);
    }
}

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

#content-area {
    text-align: left;
    padding: clamp(40px, 4vw, 50px) 0 clamp(40px, 10vw, 90px) 0;
}

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

.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]) {
    display: inline-block;
    line-height: 1.2;
    color: #535b24;
    font-size: 1rem;
    font-weight: 700;
    background: #fff;
    padding: 12px 20px 11px 20px;
    border-radius: 24px;
    position: relative;
    text-decoration: none !important;
    text-shadow: none !important;
    border: 2px solid #535b24;
    transition: border 300ms linear, color 300ms linear, background 300ms linear;
}

.button-design.button-design-2 a:not(.has-image):not([href*="mailto"]):not([href*="tel"]) {
    border-color: transparent;
}

#header-text.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]) {
    margin-top: clamp(20px, 4vw, 45px);
}

#tabs .tab.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]) {
    margin-top: 10px;
}

.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]):hover,
.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]):focus {
    background: #535b24;
    color: #fff;
}

.button-design.button-design-2 a:not(.has-image):not([href*="mailto"]):not([href*="tel"]):hover,
.button-design.button-design-2 a:not(.has-image):not([href*="mailto"]):not([href*="tel"]):focus {
    border-color: #535b24;
}

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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
    color: #535b24;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Comfortaa", sans-serif;
    margin-bottom: 15px;
}

:is(h1, h2, h3, h4, h5, h6) :is(b, strong) {
    font-weight: 700;
}

:is(h1, h2, h3, h4, h5, h6) :is(i, em) {
    display: block;
    margin-bottom: 12px;
    position: relative;
    font-weight: 400;
    color: #1f1f1f;
    font-size: clamp(1.375rem, 6vw, 1.625rem);
    font-style: normal;
}

:is(h1, h2, h3) :is(i, em) {
    display: flex;
    align-items: center;
    align-content: center;
}

.xs-text-center :is(h1, h2, h3) :is(i, em) {
    justify-content: center;
}

h1 i::before,
h1 em::before,
h2 i::before,
h2 em::before,
h3 i::before,
h3 em::before,
.xs-text-center h1 i::after,
.xs-text-center h1 em::after,
.xs-text-center h2 i::after,
.xs-text-center h2 em::after,
.xs-text-center h3 i::after,
.xs-text-center h3 em::after {
    content: "";
    display: block;
    width: clamp(20px, 2vw, 50px);
    flex-shrink: 0;
    height: 1px;
    margin-top: 2px;
    background: #1f1f1f;
}

h1 i::before,
h1 em::before,
h2 i::before,
h2 em::before,
h3 i::before,
h3 em::before {
    margin-right: 15px;
}

.xs-text-center h1 i::after,
.xs-text-center h1 em::after,
.xs-text-center h2 i::after,
.xs-text-center h2 em::after,
.xs-text-center h3 i::after,
.xs-text-center h3 em::after {
    margin-left: 15px;
}

#header-text :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(1.75rem, 2vw, 2.4375rem);
}

@media (min-width: 768px) and (max-width: 1199px) {
    #header-text :is(h1, h2, h3, h4, h5, h6) {
        font-size: 2.4375rem;
    }
}

h1,
.h1,
.legacy_h1 {
    margin-bottom: clamp(15px, 4vw, 35px);
}

h1,
.h1,
.legacy_h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
}

h2,
.h2,
.legacy_h2 {
    font-size: clamp(1.625rem, 5vw, 1.875rem);
}

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

h4,
.h4,
.legacy_h4 {
    font-size: clamp(1.375rem, 5vw, 1.625rem);
}

h5,
.h5,
.legacy_h5 {
    font-size: clamp(1.3125rem, 5vw, 1.5rem);
}

h6,
.h6,
.legacy_h6 {
    font-size: clamp(1.25rem, 5vw, 1.375rem);
}

/* ----------------------------------------------- footer ----------------------------------------------- */

footer {
    background: #c3ce0c;
    color: #535b24;
    font-size: 0.875rem;
    padding-top: 30px;
    padding-bottom: 30px;
    position: relative;
    margin-top: 220px;
}

@media (min-width: 1200px) {
    footer::before {
        background: url('../img/footer-overlay.png') no-repeat;
        position: absolute;
        content: '';
        display: block;
        width: 100%;
        height: 310px;
        top: -305px;
    }
}

footer a {
    color: inherit;
}

#innerfooter ul {
    padding: 0;
}

@media (max-width: 767px) {
    #innerfooter ul {
        margin-top: 20px;
    }
}

#innerfooter li {
    display: inline-block;
}

#innerfooter a {
    color: #535b24;
}

#innerfooter a:hover {
    text-decoration: underline;
}

#innerfooter li+li {
    margin-left: 20px;
}

@media (min-width: 1200px) {
    #innerfooter li+li {
        margin-left: 35px;
    }
}

/* --------------------------------------------- vernetzt -------------------------------------------- */

#vernetzt {
    font-size: 0.75rem;
    color: #535b24;
    line-height: 1.4;
    margin: 25px auto 0 auto;
    text-decoration: none;
    position: relative;
    z-index: 45;
    display: inline-block;
}

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

#vernetzt span {
    color: #535b24;
    display: block;
}

#vernetzt img {
    margin-left: 10px;
}

/* --------------------------------------------- tabs-17f -------------------------------------------- */

#tabs-17f {
    background: #fff;
    border-top: 10px solid #c3ce0c;
    padding: 30px 20px;
    color: #444444;
    font-size: 1rem;
    position: relative;
    margin-top: -230px;
    margin-bottom: 30px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.15);
}

@media (min-width: 992px) {
    #tabs-17f {
        padding: 30px 40px;
    }
}

#tabs-17f a {
    color: #535b24;
}

#tabs-17f .tabHeadline {
    color: #535b24;
    font-size: 1.875rem;
    font-weight: 700;
}

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

    #tabs-17f .tabHeadline {
        hyphens: auto;
    }
}

#service ul {
    padding-left: 30px;
    margin: 0;
}

#service ul li+li {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

#service ul li {
    padding: 7px 0;
    background: transparent;
    position: relative;
}

#service ul li::marker {
    color: #ffffff;
}

#service ul li::before {
    position: absolute;
    content: "";
    display: block;
    top: 10px;
    left: -30px;
    width: 18px;
    height: 18px;
    opacity: 1;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13.957' height='15.4' viewBox='0 0 13.957 15.4'%3E%3Cpath id='psychology_FILL0_wght400_GRAD0_opsz48' d='M22.3,27.1l.1,1.5a.9.9,0,0,0,.25.5.678.678,0,0,0,.5.2h1.6a.678.678,0,0,0,.5-.2.9.9,0,0,0,.25-.5l.1-1.5a3.081,3.081,0,0,0,1.125-.425,5.087,5.087,0,0,0,.925-.725l1.5.5a.65.65,0,0,0,.5,0,.812.812,0,0,0,.4-.35l.75-1.3a.8.8,0,0,0,.125-.5.662.662,0,0,0-.275-.45l-1-.8a4.33,4.33,0,0,0,0-2.9l1-.8a.662.662,0,0,0,.275-.45.8.8,0,0,0-.125-.5l-.75-1.3a.812.812,0,0,0-.4-.35.65.65,0,0,0-.5,0l-1.5.5a4.126,4.126,0,0,0-.95-.7,5.1,5.1,0,0,0-1.1-.45l-.1-1.5a.9.9,0,0,0-.25-.5.678.678,0,0,0-.5-.2h-1.6a.678.678,0,0,0-.5.2.9.9,0,0,0-.25.5l-.1,1.5a5.1,5.1,0,0,0-1.1.45,4.126,4.126,0,0,0-.95.7l-1.5-.5a.65.65,0,0,0-.5,0,.812.812,0,0,0-.4.35l-.75,1.3a.8.8,0,0,0-.125.5.662.662,0,0,0,.275.45l1,.8a4.33,4.33,0,0,0,0,2.9l-1,.8a.662.662,0,0,0-.275.45.8.8,0,0,0,.125.5l.75,1.3a.812.812,0,0,0,.4.35.65.65,0,0,0,.5,0l1.5-.5a5.087,5.087,0,0,0,.925.725A3.081,3.081,0,0,0,22.3,27.1Zm1.65-2a3.5,3.5,0,0,1-2.475-5.975,3.5,3.5,0,0,1,4.95,4.95A3.372,3.372,0,0,1,23.95,25.1ZM24.85,25.5Z' transform='translate(-16.971 -13.9)' fill='%23535b24'/%3E%3C/svg%3E%0A") center / 15px auto no-repeat;
}