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

body {
    background: #ffffff;
    color: #494b63;
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.5;
    /* 1rem = 16px */
}

a {
    color: #3c2291;
}

a:hover,
a:focus {
    color: #3c2291;
    text-decoration: underline;
}

b,
strong {
    font-weight: 700;
}

.noPadding {
    padding: 0px;
}

header {
    background: #ffe0be;
    padding-bottom: clamp(30px, 6vw, 80px);
}

:is(header, #leistungen, #team, #termin){
    overflow: hidden;
    position: relative;
}

#overflow {
    overflow: hidden;
}


/* ----------------------------------------------- buttonStyle ----------------------------------------------- */

.aktuelles .tab_link_mehr {
    font-size: 0px;
}

.aktuelles .tab_link_mehr a,
.buttonStyle a:not(.has-image):not([rel]):not(.nivo-directionNav > a),
.buttonStyleNeutral a:not(.has-image):not([rel]) {
    background: #3c2291;
    border-radius: 8px;
    box-shadow: 0px 2px 6px rgba(75, 89, 227, 0.2);
    color: #fff;
    display: inline-block;
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 15px 20px;
    transition: all 300ms;
    position: relative;
    margin-top: 15px;
    isolation: isolate;
    text-decoration: none;
}

.buttonStyle a:not(.has-image):not([rel]):not(.nivo-directionNav > a):focus,
.buttonStyle a:not(.has-image):not([rel]):not(.nivo-directionNav > a):hover {
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.4);
}

.aktuelles .tab_link_mehr a,
.buttonStyleNeutral a:not(.has-image):not([rel]) {
    background: transparent;
    color: #fff;
    text-decoration: none;
}

.aktuelles .tab_link_mehr a:hover,
.aktuelles .tab_link_mehr a:focus,
.buttonStyleNeutral a:not(.has-image):not([rel]):hover,
.buttonStyleNeutral a:not(.has-image):not([rel]):focus {
    background: rgba(255, 255, 255, 0);
    color: #3c2291;
}

.aktuelles .tab_link_mehr a::before,
.buttonStyleNeutral a:not(.has-image):not([rel])::before {
    background-color: #fff;
    content: '';
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    transition: all 0.3s;
    width: 100%;
    z-index: -1;
    opacity: 0;
    transform: scale(0.5, 0.5);
    border-radius: 8px;
}

.aktuelles .tab_link_mehr a:hover::before,
.aktuelles .tab_link_mehr a:focus::before,
.buttonStyleNeutral a:not(.has-image):not([rel]):hover::before,
.buttonStyleNeutral a:not(.has-image):not([rel]):focus::before {
    opacity: 1;
    transform: scale(1);
}

.aktuelles .tab_link_mehr a::after,
.buttonStyleNeutral a:not(.has-image):not([rel])::after {
    border: 2px solid #fff;
    border-radius: 8px;
    content: '';
    height: 100%;
    left: 0;
    opacity: 1;
    position: absolute;
    top: 0;
    transform: scale(1, 1);
    transition: all 0.3s;
    width: 100%;
    z-index: 1;
}

.aktuelles .tab_link_mehr a:hover::after,
.aktuelles .tab_link_mehr a:focus::after,
.buttonStyleNeutral a:not(.has-image):not([rel]):hover::after,
.buttonStyleNeutral a:not(.has-image):not([rel]):focus::after {
    opacity: 0;
    transform: scale(1.2, 1.2);
}

#termin .buttonStyleNeutral a:not(.has-image):not([rel]){
    font-size: clamp(1rem, 2vw, 1.125rem);
}

.buttonStyleNeutral a+a {
    margin-left: 10px;
}

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

#logo {
    display: inline-block;
    margin: 12px 0;
}

#logo .template-page>.row>* {
    padding: 0;
}

#logo img {
    display: block;
    max-width: 20vw;
}

#logo-text p {
    font-size: clamp(1rem, 3vw, 1.375rem);
    font-weight: 300;
    color: #494b63;
}

#logo-text {
    margin-left: 30px;
}

#logo-text :is(b, strong) {
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    font-weight: 700;
    color: #3c2291;
}

@media (max-width: 575px) {
    #logo-text{
        margin-left: 5px;
    }
}

/* --------------------------------------------- options --------------------------------------------- */
.options {
    line-height: 1;
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    .options {
        background-color: #f6f6f6;
        padding: 10px 0;
        position: relative;
        z-index: 44;
    }
}

/* --------------------------------------------- buttons --------------------------------------------- */

.button1 {
    border-radius: 8px;
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 400;
    margin-left: 15px;
    padding: 17px 20px;
    transition: all 300ms;
}

.button1 {
    box-shadow: 0px 2px 6px rgba(75, 89, 227, 0.2);
}

@media (max-width: 991px) {
    .button1 {
        margin: 0px;
    }
}

.button1 {
    background: #fff;
    padding-left: 45px;
    position: relative;
}

.button1::before {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%233c2291" height="48" viewBox="0 -960 960 960" width="48"><path d="M777-487q-5-121.325-89.291-205.551Q603.418-776.778 482-781.778V-842q73 2 136.5 30.5T730-735q48 48 76.5 111.5T837-487h-60Zm-170 0q-5-50-40-84.5T482-611v-60q75 5 127.5 57T667-487h-60Zm188 367q-116 0-236.5-56T335-335Q232-438 176-558.5T120-795q0-19 13-32t32-13h140q14 0 24 10t14 25l27 126q2 14-.5 25.5T359-634L259-533q26 44 55 82t64 72q37 38 78 69.5t86 55.5l95-98q10-11 23-15t26-2l119 26q15 4 25 16t10 27v135q0 19-13 32t-32 13Z"/></svg>') no-repeat center / 24px auto;
    content: '';
    display: block;
    height: 20px;
    left: 14px;
    position: absolute;
    top: 13px;
    width: 23px;
}

.button1:hover::before {
    animation: shake 1s ease 1;
}

.button1 a {
    all: unset !important;
    cursor: pointer !important;
}

.button1:hover,
.button1:focus {
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.4);
}

/* ------------------------------------------- navigation ------------------------------------------- */

#menu {
    background-color: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 5px 0 5px 0;
    position: relative;
    transition: padding 200ms linear;
}

.is-sticky #menu {
    padding: 0;
}

/* burgermenu for tablet */
@media (max-width: 991px) {

    #menu {
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
        padding: 10px 0 10px 0;
        position: relative !important;
    }

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

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

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

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

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

    #burgerButtonInner {
        top: 16px;
    }

    #burgerButtonInner2 {
        top: 24px;
    }

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

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

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

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

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

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

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

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

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

@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) {
    .horizontally .navbar-nav {
        align-items: center !important;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between !important;
        margin-top: 27px;
        transition: margin-top 200ms linear;
    }

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

    nav.horizontally .dropdown-menu {
        left: 0;
        position: absolute;
        top: 100%;
        z-index: 1000;
    }

    nav.horizontally .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        left: 100%;
        position: absolute;
        top: -15px;
    }

    nav.horizontally .navbar-nav>li,
    nav.horizontally .navbar-nav>li>.dropdown-menu>li {
        position: relative;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu {
        left: 0;
        margin-top: 15px;
    }

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

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

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

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

    /* Pseudo */
    .navbar-default .navbar-nav>li>.dropdown-menu::before {
        content: "";
        display: block;
        height: 40px;
        left: 0;
        position: absolute;
        right: 0;
        top: -40px;
    }

    /* 3rd */
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu::before {
        bottom: 0;
        content: "";
        display: block;
        left: -40px;
        position: absolute;
        top: 0;
        width: 50px;
    }

    /* Fade in Hover End */
}

/* ---------------------------------------------- toplevel ---------------------------------------------- */
.navbar-default .navbar-nav>li>a {
    color: #494b63;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: normal;
    padding: 10px 35px 10px 15px;
    position: relative;
    text-align: left;
    text-decoration: none;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        align-content: center;
        align-items: center;
        display: flex;
        height: 100%;
        justify-content: center;
        padding: 5px 12px;
        text-align: center;
    }
}

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) and (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        display: block;
    }
}

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

.navbar-nav>li:hover>a,
.navbar-nav>li>a:hover,
.navbar-nav>li>a:focus,
.navbar-nav>li.open>a,
.navbar-nav>li.open>a:hover,
.navbar-nav>li.open>a:focus,
.navbar-nav>li[class$="_over"]>a,
.navbar-nav>li[class$="_over"]>a:hover,
.navbar-nav>li[class$="_over"]>a:focus {
    background: #fff6eb;
    border-radius: 8px;
    color: #3c2291;
}

.navbar-nav>li:focus-within>a {
    background: #fff6eb;
    border-radius: 8px;
    color: #3c2291;
}

/* -------------------------------------- secondlevel + thirdlevel dropdown-box -------------------------------------- */
.navbar-default .navbar-nav>li>.dropdown-menu,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    background: #fff;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15);
    padding: 15px;
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        padding: 15px;
    }

    .navbar-default .navbar-nav > li > .dropdown-menu,
    .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
        border-radius: 10px;
        margin: 10px 0;
    }
}

@media(min-width:992px) {

    .navbar-default .navbar-nav>li>.dropdown-menu,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        border-radius: 20px;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu {
        margin-top: 40px;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        margin-left: 25px;
    }
}

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    border-radius: 8px;
    color: #494b63;
    font-size: 0.875rem;
    font-weight: normal;
    padding: 8px 15px;
    text-align: left;
}

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

.navbar-nav>li>.dropdown-menu>li:hover>a,
.navbar-nav>li>.dropdown-menu>li>a:hover,
.navbar-nav>li>.dropdown-menu>li>a:focus,
.navbar-nav>li>.dropdown-menu>li.open>a,
.navbar-nav>li>.dropdown-menu>li.open>a:hover,
.navbar-nav>li>.dropdown-menu>li.open>a:focus,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:hover,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:focus {
    background: #fff6eb;
    color: #3c2291;
}

.navbar-nav>li>.dropdown-menu>li:focus-within>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a {
    background: #fff6eb;
    color: #3c2291;
}

/* ----------------------------------------------- banner ----------------------------------------------- */

#headerpic {
    margin: 0 auto;
    position: relative;
    width: 100%;
    z-index: 2;
}

#headerpic>.row:first-child {
    max-width: 1400px;
    width: 100%;
}

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

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

    body.index #slider {
        max-height: 530px;
    }

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

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

}

@media (min-width: 768px) {
    #headerpic .nivo-controlNav {
        bottom: auto;
        top: 5px;
    }
}

.slider-wrapper,
#slider {
    height: 100%;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

.slider-mask {
    display: none;
}

/* ------------------------------------------------ Banner-Tabs ----------------------------------------------- */

#bannerTabs {
    margin-top: 30px;
    position: relative;
}

#bannerTabs .tab {
    border-radius: 20px;
    font-size: 1rem;
    line-height: 1.8;
    min-height: 100%;
    padding: 40px 50px 30px 30px;
    position: relative;
    z-index: 12;
}

#bannerTabs .tab .tabHeadline {
    font-size: 1.25rem;
}

#bannerTabs .tab1 {
    background: #fff;
    box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
    color: #494b63;
    font-size: 1rem;
}
#bannerTabs a {
    text-decoration: underline;
    text-underline-offset: 1px;
    transition: all 200ms linear;
    color: #3c2291;
}
#bannerTabs a:focus,
#bannerTabs a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (min-width: 768px) {
    #bannerTabs {
        margin-top: -60px;
    }
}

@media (min-width: 992px) {
    #bannerTabs .tab1>.row>*+* {
        border-left: 1px solid #cccccc;
        padding-left: 30px;
    }
}

@media (max-width: 767px) {
    #bannerTabs>*+* {
        margin-top: 30px;
    }
}

#bannerTabs .tab::before {
    content: '';
    display: block;
    height: 30px;
    position: absolute;
    right: 20px;
    top: 20px;
}

#bannerTabs .tab:hover::before {
    animation: shake 1s ease 1;
}

#bannerTabs .tab1::before {
    background: url(../img/icon_fuer_dich_da.png) no-repeat;
    background-size: contain;
    width: 44px;
    height: 44px;
    
}

@media (max-width: 991px) {
    #bannerTabs .tab1>.row>div+div{
        margin-top: 30px;
    }
}

/* ------------------------------------------------ ICONS Shake ----------------------------------------------- */

@keyframes shake {

    40%,
    60% {
        transform: rotate(-5deg);
    }

    50% {
        transform: rotate(5deg);
    }

    70% {
        transform: rotate(0deg);
    }

    100% {
        transform: scale(1);
    }
}

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

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

body.index #content {padding-bottom: 50px;}

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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
    color: #3c2291;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1,
.h1,
.legacy_h1 {
    font-size: 2rem;
}

h2,
.h2,
.legacy_h2 {
    font-size: 1.875rem;
}

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

h4,
.h4,
.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
.legacy_h4 {
    font-size: 1.5rem;
}

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

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

#termin .tab :is(h1, h2, h3),
.aktuelles .specialHeadline :is(h1, h2, h3) {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.1;
}

#team .tab :is(h1, h2, h3) {
    color: #3c2291;
    font-size: clamp(2rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 30px;
}

#termin .tab :is(h1, h2, h3) {
    margin-bottom: 30px;
}

#team .tab :is(h4, h5, h6) {
    color: #3c2291;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0;
}

#termin .tab :is(h4, h5, h6),
.aktuelles .specialHeadline :is(h4, h5, h6) {
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 10px;
}

/* ------------------------------------------ team ----------------------------------------- */
#team {
    background: #fef4ea;
    padding: clamp(30px, 6vw, 80px) 0;
    position: relative;
}

#teamText {
    color: #494b63;
}

@media (min-width: 992px) {
    #teamText>.tabContent>.template-page>.row>div>.btgrid>.row.row-1>div {
        flex: 0 0 65%;
        max-width: 65%;
    }
    
    #teamText .tabContent .template-page .row div .btgrid .row.row-1>div+div {
        flex: 0 0 35%;
        max-width: 35%;
    }
}


#team .member {
    font-size: 1rem;
    margin-bottom: 30px;
}

#team .member b,
#team .member strong {
    color: #3c2291;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0px;
}

#team .member img {
    margin-bottom: 15px;
    border-radius: 50%;
}

#team .tab .tabContent {
    padding-bottom: 50px;
}

@media (min-width: 992px) {
    #team>.row>div:nth-child(1) {
        padding-right: 45px;
    }
}

#team .tab .tabContent .btgrid {
    font-size: 1rem;
}


#team .aktuelles {
    background: #361f82;
    border-radius: 20px;
    color: #fff;
    margin: 0 auto;
    max-width: 370px;
    position: relative;
    z-index: 1;
}

#team .aktuelles .specialHeadline {
    background: #3c2291;
    border-radius: 20px 20px 0 0;
    color: #fff;
    padding: 40px 30px;
    position: relative;
}

#team .aktuelles .specialHeadline::before {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="48" fill="%23fff" viewBox="0 -960 960 960" width="48"><path d="M180-120q-24 0-42-18t-18-42v-600q0-24 18-42t42-18h462l198 198v462q0 24-18 42t-42 18H180Zm0-60h600v-428.571H609V-780H180v600Zm99-111h402v-60H279v60Zm0-318h201v-60H279v60Zm0 159h402v-60H279v60Zm-99-330v171.429V-780v600-600Z"/></svg>') no-repeat center / 38px auto;
    content: '';
    display: block;
    height: 33px;
    position: absolute;
    right: 18px;
    top: 18px;
    width: 32px;
}

#team .aktuelles .specialHeadline:hover::before {
    animation: shake 1s ease 1;
}

#team .aktuelles .tabContent {
    color: #fff;
    padding: 40px 30px 30px 30px;
}

#team .aktuelles .tab_link_entry {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    margin-bottom: 20px;
}

#team .aktuelles .tab_link_title a {
    color: #fff;
    display: inline;
    font-weight: 700;
    order: 2;
    font-size: 1rem;
}

#team .aktuelles .tab_link_title {
    display: block;
    order: 2;
}

#team .aktuelles .tab_link_date {
    display: block;
    order: 1;
    font-size: 1rem;
}

#team .tab_spacer {
    display: none;
}

/* ------------------------------------------ termin ----------------------------------------- */

#termin {
    color: #fff;
    overflow: hidden;
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

@media (min-width: 1200px) {
    #termin>.row {
        max-width: 1170px;
        width: 100%;
    }
}
#termin .tab {
    background: #3c2291;
    font-size: 1rem;
    padding: 80px 60px 95px 60px;
    width: 100%;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

@media (max-width: 767px) {
    #termin .tab{
        border-radius: 20px;        
    }

    #termin > .row > div.col-xs-12{
        padding: 0 15px;
    }
}

#tabImg {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    bottom: 0px;
    left: 0px;
    position: absolute;
    right: 0px;
    top: 0px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    overflow: hidden;
}

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

footer {
    font-size: 1rem;
}

footer .iframe-wrapper-manual-enabling,
footer iframe {
    border-radius: 20px;
    display: block;
    min-width: 100% !important;
    width: 100% !important;
}

footer hr {
    background: rgba(0, 0, 0, 0.3);
    margin: 38px 0;
    opacity: 1;
}

#footer {
    font-size: 1rem;
    padding: 20px 0 0 0;
}

@media (max-width: 991px) {
    #footer>.row>*+* {
        margin-top: 30px;
    }
}

.footerTab a:hover {
    text-decoration: underline;
}

#footer h2 {
    font-size: 1.125rem;
    margin-bottom: 20px;
}

#innerfooter {
    font-size: 1rem;
    padding-bottom: 30px;
    padding-top: 30px;
    background: #ffe0be;
    position: relative;
}

@media (min-width: 992px) {
    .index #innerfooter {
        padding-bottom: 80px;
        padding-top: 50px;
    }
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: block;
}

#innerfooter ul a {
    color: #494b63;
    text-decoration: none;
}

#innerfooter ul a:hover,
#innerfooter ul a:focus {
    color: #3c2291;
    text-decoration: underline;
}

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

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

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

/* -------------------------------------- vernetzt -------------------------------------- */
#vernetzt {
    color: #494b63;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.3;
    text-align: left;
    text-decoration: none;
    padding-bottom: 30px;
    padding-top: 30px;
    position: relative;
}

@media (min-width: 768px) {
    .index #vernetzt {
        background: #ffe0be;
        margin: 30px auto 0 0;
    }
    .index #vernetzt::before, #vernetzt::after  {
        content: '';
        position: absolute;
        background: #ffe0be;
        width: 100vw;
        z-index: -1;
    }
    
    .index #vernetzt::before {
        inset: 0 auto -30px 0;
        transform: translateX(-100%);
    }
    
    .index #vernetzt::after {
        inset: 0 0 -30px auto;
        transform: translateX(100%);
    }
}

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

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



#socialtab {
    padding-top: 30px;
    padding-bottom: 30px;
}

#footer .row>div:has(.footerTab) {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}