@import url('https://fonts.verwaltungsportal.de/import/?family=Source+Sans+3:300,400,600,700,300i,400i,600i,700i');

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

body {
    font-family: "Source Sans 3", sans-serif;
    font-weight: 400;
    color: #232323;
    background: #ffffff;
    font-size: clamp(1rem, 2vw, 1.125rem);
    /* 1rem = 16px */
    line-height: 1.5;
}

a {
    color: #d22d67;
}

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

b,
strong {
    font-weight: 600;
}

@media (min-width: 1200px) {

    footer>.row,
    #topbar,
    #topbar2>.row,
    #menu>.row {
        max-width: 1600px;
        width: 100%;
    }
}

#over {
    overflow: hidden;
    position: relative;
}

/* ------------------------------------------- topbar ------------------------------------------- */

#topbar {
    background-color: #ffffff;
    color: #aaaaaa;
    font-weight: 300;
    padding-top: 20px;
    padding-bottom: 20px;
}

@media (max-width: 991px) {
    #topbar {
        row-gap: 15px;
    }
}

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

/* ------------------------------------------ language ------------------------------------------ */

#language {
    font-size: 0.875rem;
}

#language a {
    color: #aaaaaa;
    text-decoration: none;
}

#language a:is(:hover, :focus) {
    color: #d22d67;
}

#language a+a::before {
    content: "|";
    margin: 0 6px;
    color: #aaaaaa;
    position: relative;
    top: -1px;
}

/* ----------------------------------------- innerfooter ---------------------------------------- */

#innerfooter {
    font-size: 0.875rem;
}

#innerfooter ul {
    padding: 0;
}

#innerfooter a {
    color: #535353;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    #innerfooter li {
        display: inline-block;
    }

    #innerfooter li+li::before {
        content: "•";
        margin: 0 clamp(10px, 2vw, 25px);
        color: #535353;
    }
}

#innerfooter a:is(:hover, :focus) {
    color: #d22d67;
}

/* ------------------------------------------- topbar2 ------------------------------------------ */

#topbar2 {
    padding-top: 22px;
}

@media (min-width: 992px) {
    #topbar2 {
        padding: 28px 0;
        border-top: 1px solid #e0e0e0;
    }

    #topbar2>.row>*:last-child {
        margin-top: -10px;
    }
}

/* --------------------------------------------- logo ------------------------------------------- */

.logo {
    display: inline-block;
}

.logo img {
    display: block;
}

@media (max-width: 991px) {
    .logo img {
        max-width: calc(100vw - 120px);
        width: 100%;
        max-height: 50px;
    }
}

/* #region ----------------------------------- search ------------------------------------------- */

#search {
    background: #f4f4f4;
    position: relative;
    border-radius: 30px;
    width: 100%;
}

@media (min-width: 992px) {
    #search {
        min-width: 240px;
        max-width: 380px;
        width: auto;
    }
}

#search_input {
    color: #6e6e6e;
    font-size: 1rem;
    font-weight: 300;
    font-style: normal;
    background: transparent;
    border: 0;
    width: 100%;
    border-radius: 30px;
    padding: 7px 14px;
    line-height: 1;
}

#search_submit {
    border: 5px solid #ffffff;
    background: #d22d67 url('../img/lupe-icon.png') center / 14px 14px no-repeat;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    margin: -5px -5px -5px 0;
    font-size: 0;
    aspect-ratio: 1/1;
    min-width: 48px;
    flex-shrink: 0;
    transition: transform 150ms linear;
}

@media (min-width: 768px) {
    #search_submit:is(:hover, :focus) {
        transform: scale(1.2);
    }
}

#search input::placeholder {
    color: #6e6e6e !important;
    opacity: 1 !important;
    font-style: normal !important;
}

/* #endregion -------------------------------- search ------------------------------------------- */

/* ------------------------------------------- styler ------------------------------------------- */

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

    #style h2 {
        font-size: 1rem;
        color: inherit;
        font-weight: 300;
        margin: 0 0 10px 0;
    }

    #style button {
        font-size: 1.0625rem;
        border: none;
        color: #ffffff;
        display: inline-block;
        min-width: 38px;
        min-height: 38px;
        aspect-ratio: 1/1;
        border-radius: 50%;
        font-weight: 400;
        text-align: center;
        background-color: #d22d67;
        line-height: 1;
        transition: transform 150ms linear;
    }

    #style button+button {
        margin-left: 6px;
    }

    #style button:is(:hover, :focus) {
        transform: scale(1.2);
    }
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    #menu-wrapper {
        margin-top: 70px;
    }

    #burgerButton {
        font-size: 0;
        border: none !important;
        display: block;
        height: 40px;
        width: 46px;
        border-radius: 2px;
        padding: 3px;
        cursor: pointer;
        background-color: #ffffff;
        position: absolute;
        z-index: 1002;
        right: 12px;
        top: 50%;
        margin-top: -20px;
    }

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        background-color: #d22d67;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 2px;
        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: 11px;
    }

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

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

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

    .navbar-collapse {
        width: calc(100% - 90px);
        max-width: 300px;
        top: 70px;
        background: #d22d67;
        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 {
        height: 70px;
        line-height: 1;
        padding: 10px 15px;
        background-color: #ffffff;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 101;
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    }

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

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

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally {
        position: relative;
    }

    #menu {
        background: #fff;
        box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.15);
    }

    .sticky-wrapper #menu {
        top: 0;
    }

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

    nav.horizontally .navbar-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    nav.horizontally .navbar-nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        display: block !important;
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity 300ms linear;
    }

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

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

    nav.horizontally .navbar-nav li:is(.open:focus-within, :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-within)>ul {
        z-index: 1003;
    }
}

/* toplevel */

nav.horizontally .navbar-nav a[class*="toplevel"] {
    color: #232323;
    font-weight: 400;
    text-align: center;
    padding: 10px 35px 15px 35px;
    text-transform: uppercase;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

nav.horizontally .navbar-nav li[class*="toplevel"]+li {
    border-top: 1px solid #d22d67;
}

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

    nav.horizontally .navbar-nav a[class*="toplevel"] {
        padding: 18px 4px;
    }
}

nav.horizontally .navbar-nav a[class*="toplevel"]::before {
    content: "";
    width: 0;
    height: 4px;
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: width 300ms linear, background-color 300ms linear;
}


nav.horizontally .navbar-nav li[class*="toplevel"]:is(:hover, :focus-within)>a::before,
nav.horizontally .navbar-nav li[class*="toplevel"]>a:is(:hover, :focus)::before,
nav.horizontally .navbar-nav li[class*="toplevel"].open>a::before,
nav.horizontally .navbar-nav li[class*="toplevel"].open>a:is(:hover, :focus)::before,
nav.horizontally .navbar-nav li[class*="toplevel"][class*="_over"]>a::before,
nav.horizontally .navbar-nav li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus)::before {
    width: 100%;
    background-color: #d22d67;
}

/* secondlevel + thirdlevel dropdown-box */

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

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

@media (min-width: 992px) {
    nav.horizontally [class*="toplevel"] ul {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    nav.horizontally [class*="toplevel"]>ul {
        margin-top: 6px;
        left: 0;
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
    }

    nav.horizontally [class*="secondlevel"]>ul {
        margin-left: 6px;
        margin-top: -30px;
        border-radius: 4px;
    }

    nav.horizontally :is([class*="toplevel"], [class*="secondlevel"])>ul::before {
        content: "";
        position: absolute;
        display: block;
    }

    nav.horizontally [class*="toplevel"]>ul::before {
        height: 6px;
        left: 0;
        right: 0;
        top: -6px;
    }

    nav.horizontally [class*="secondlevel"]>ul::before {
        width: 6px;
        top: 0;
        bottom: 0;
        left: -6px;
    }
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #2e3c48;
    font-weight: 300;
    text-align: center;
    padding: 6px 35px;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (min-width:992px) {
    nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
        padding-left: 25px;
        padding-right: 25px;
    }
}

/* secondlevel + thirdlevel over */

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

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

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

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

#slider {
    max-height: clamp(300px, 46vw, 450px);
    position: relative;
}

@media (min-width: 992px) {
    body.index #slider {
        max-height: clamp(450px, 64vw, 670px);
    }

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

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

    #headerpic .nivo-controlNav {
        width: calc(100% - 200px);
        left: 100px;
    }

    #headerpic button {
        color: #fff;
    }
}

#headerpic {
    padding: 0;
    position: relative;
}

.slider-wrapper,
#slider {
    height: 100%;
}

.slider-mask {
    display: block;
    background: url(../img/banner-bogen.png) no-repeat bottom center / 100% auto, linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent 40%);
}

@media (min-width: 768px) {
    #headerpic {
        background: #535353;
    }

    #headerpic .nivo-controlNav {
        bottom: unset;
        top: 10px;
    }
}

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

/* #region ------------------------------------ slogan ------------------------------------------ */

#slogan {
    font-weight: 600;
    text-transform: uppercase;
    pointer-events: auto;
    color: #d22d67;
    font-size: clamp(1rem, 2vw, 1.5625rem);
}

@media (max-width: 767px) {
    #slogan {
        border-bottom: 1px solid #e0e0e0;
        padding: 20px 15px;
    }
}

@media (min-width: 768px) {
    #slogan {
        color: #ffffff;
    }

    #bannerOverlay {
        position: absolute;
        right: 0;
        bottom: 50px;
        left: 0;
        z-index: 9;
        pointer-events: none;
    }
}

@media (min-width: 1200px) {
    #bannerOverlay {
        bottom: 160px;
    }
}

#slogan .headline {
    font-size: clamp(1.5rem, 6vw, 5.875rem);
    font-weight: 700;
}

@media (min-width: 768px) {
    #slogan .headline {
        color: #ffffff;
        margin-bottom: 0;
        text-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
    }
}

#slogan a {
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    line-height: 1;
    border: 3px solid #ffffff;
    border-radius: 28px;
    color: #ffffff;
    padding: clamp(10px, 1.5vw, 17px) clamp(15px, 2vw, 22px);
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.6);
    backface-visibility: hidden;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.15);
    transition: transform 150ms linear;
}

@media (min-width: 992px) {
    #slogan a {
        background: rgba(0, 0, 0, 0.2);
    }
}

#slogan a:nth-child(2n+1) {
    background: rgba(201, 79, 124, 0.85);
}

#slogan a:is(:hover, :focus) {
    transform: scale(1.1);
}

#slogan a+a {
    margin-left: clamp(15px, 2vw, 25px);
}

#slogan :is(b, strong) {
    font-weight: 700;
}

/* #endregion --------------------------------- slogan ------------------------------------------ */

/* #region ------------------------------------- tabs ------------------------------------------- */

.tab {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    background-color: #f8f8f8;
}

.tab .tabHeadline {
    font-size: 1.125rem;
    margin: 0;
    text-transform: uppercase;
    color: #d22d67;
    font-weight: 700;
    text-align: center;
    padding: 18px 20px 15px 20px;
    border-bottom: 2px solid #d22d67;
}

.tab .tabContent {
    padding: 20px 25px;
    font-weight: 300;
}

#bg-right .tab {
    max-width: unset;
}

#bg-right .tabContent {
    font-size: 1rem;
}

.teaser a,
#kontakt .tabContent a {
    font-weight: 600;
}


.teaser a,
#kontakt .tabContent a {
    text-transform: uppercase;
}


.tab#news .tabContent .eventclndr-tab {
    margin-left: -25px;
    margin-right: -25px;
    margin-bottom: 20px;
}

.tab_link_title a {
    font-weight: 600;
}

.tab_link_mandat a {
    color: #232323;
    font-weight: 300;
}

.tab_spacer {
    height: 10px;
}

.tab#news .tab_link_mehr {
    color: transparent;
    margin-top: 10px;
}

.tab#news .tab_link_mehr a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1rem;
}

.tab#news .tab_link_mehr a:after {
    content: " \0203A";
}



/* #endregion ---------------------------------- tabs ------------------------------------------- */



/* -------------------------------------- h1 - h6, newslink ------------------------------------- */

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #d22d67;
    font-weight: 600;
    line-height: 1.2;
    font-family: "Source Sans 3", sans-serif;
}

:is(h1, h2) :is(em, i) {
    font-style: normal;
    font-weight: 400;
    color: #232323;
    font-size: 70%;
}

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

h2,
.h2,
.legacy_h2 {
    font-size: clamp(1.75rem, 3.5vw, 2rem);
}

h3,
.h3,
.legacy_h3 {
    font-size: 1.75rem;
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
    font-size: 1.625rem;
}

h5,
.h5,
.legacy_h5 {
    font-size: 1.5rem;
}

h6,
.h6,
.legacy_h6 {
    font-size: 1.25rem;
}

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

main {
    text-align: left;
    padding-bottom: clamp(30px, 4vw, 60px);
}

.index main {
    background: url(../img/kamille-hintergrund.png) no-repeat bottom center
}

.index main>.row {
    max-width: 1600px;
    width: 100%;
}

main>.row {
    row-gap: 30px;
    z-index: 12;
}

main>.row::after {
    content: '';
    display: block;
    background: linear-gradient(to top, transparent 200px, transparent 200px, #fff, #fff);
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.15);
    position: absolute;
    left: -60px;
    top: -60px;
    right: -60px;
    bottom: -60px;
    z-index: -1;
}

#content {
    margin-bottom: 40px;
}

@media (min-width: 1200px) {
    #content {
        padding-left: 30px;
    }

    #content:not(.no-padding-right) {
        padding-right: 30px;
    }
}


.teaser {
    background: #fff;
    padding: 40px 60px;
    margin-bottom: 60px;
    margin-top: 40px;
    border-radius: 20px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.08);
    font-weight: 300;
    background-position: right center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    font-size: 1.25rem;
}

.teaser a {
    font-size: 1rem;
}

@media (max-width: 991px) {
    .teaser {
        background: #fff !important;
    }
}

.teaser h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.1875rem);
}

.teaser h3 {
    font-size: clamp(1rem, 2vw, 1.5625rem);
}

.teaser :is(h1, h2, h3, h4, h5, h6) {
    text-transform: uppercase;
    font-weight: 600;
    margin: 0;
}

.teaser h3 {
    color: #535353;
}

.tabElement {
    border-radius: 30px;
    padding: 105px 40px 40px 40px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    font-weight: 300;
    background: #535353;
}

.tabElement,
.tabElement a,
.tabElement :is(h1, h2, h3, h4, h5, h6) {
    color: #fff;
}

.tabElement h2 {
    text-transform: uppercase;
    font-size: 1.5625rem;
}

.tabElement h2 i,
.tabElement h2 em {
    font-style: normal;
    color: #fff;
    font-size: clamp(1.5625rem, 4vw, 3.125rem);
    font-weight: 600;
}



.tabElement a {
    display: inline-block;
    text-transform: uppercase;
    color: #ffffff;
    background-color: transparent;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 20px;
    padding: 10px 25px;
    text-decoration: none;
    border: 2px solid #fff;
    border-radius: 30px;
    position: relative;
}

.tabElement a:is(:hover, :focus) {
    background-color: #ffffff;
    color: #d22d67;
}

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

footer {
    background-color: #f9f9f9;
    padding: clamp(30px, 4vw, 60px) 0;
    color: #595959;
}

@media (min-width: 1200px) {
    footer>.row::after {
        content: '';
        display: block;
        background: url(../img/dekor.png) no-repeat bottom center;
        width: 201px;
        position: absolute;
        right: -150px;
        bottom: -60px;
        height: 314px;
    }
}


footer #counterElement {
    font-weight: 600;
    font-size: 1rem;
}

footer #counterElement>span {
    color: #d22d67;
    margin-right: 10px;
}

footer>.row {
    row-gap: 25px;
}

footer>.row>*:last-child {
    gap: 25px;
}

#footerTab {
    border-top: 2px solid #c9c9c9;
    margin-top: 15px;
    padding-top: 15px;
    font-size: 1rem;
}

@media (max-width: 767px) {
    #footer>.row>.col-xs-12+* {
        border-top: 1px solid rgba(0, 0, 0, 0.2);
        margin-top: 15px;
        padding-top: 15px;
    }
}

@media (min-width: 1200px) {
    #footerTab .btgrid .row.row-1>div {
        flex: 0 0 70%;
        max-width: 70%;
    }
    #footerTab .btgrid .row.row-1>div+div {
        flex: 0 0 30%;
        max-width: 30%;
    }
}

/* ------------------------------------------- scroll top --------------------------------------- */

#scroll-top {
    display: inline-block;
    text-transform: uppercase;
    color: #ffffff;
    background-color: #d22d67;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 30px;
    padding: 16px 30px 16px 50px;
    opacity: 1 !important;
    text-decoration: none;
    position: relative;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-bottom: 30px;
}

#scroll-top:is(:hover, :focus) {
    background-color: #a3335a;
}

#scroll-top::after {
    content: "";
    position: absolute;
    border-radius: 1px;
    left: 30px;
    width: 7px;
    height: 7px;
    top: 50%;
    margin-top: -1px;
    display: inline-block;
    border-right: 2px solid #ffffff;
    border-top: 2px solid #ffffff;
    transform: rotate(-45deg);
}

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

#vernetzt {
    gap: 18px;
    text-align: right;
    font-size: 0.9375rem;
    color: #595959;
    line-height: 1.3;
    font-weight: 400;
    text-decoration: none;
}

#vernetzt span span {
    display: block;
}