@import url("https://fonts.verwaltungsportal.de/css/?family=Open+Sans:400,400i,600,600i");

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

body {
    font-family: "Open Sans", sans-serif;
    color: #6e6e6e;
    background: #ffffff;
    font-size: clamp(1rem, 1vw, 1.125rem);
    /* 1rem = 16px */
    line-height: 1.5;
}

a {
    color: #5e0406;
}

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

b,
strong {
    font-weight: 600;
}

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

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

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

#topbar {
    color: #4c4c4c;
    padding: 20px 0;
    font-size: 0.875rem;
    border-top: 6px solid #dcdcdb;
    background: #ffffff;
}

@media (min-width: 992px) {
    #topbar {
        font-size: 0.9375rem;
        padding: 33px 0 28px 0;
        position: relative;
        z-index: 102;
    }
}

#topbar>.row {
    row-gap: 20px;
}

@media (max-width: 767px) {
    #topbar>.row>*+* {
        padding-top: 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.2);
    }
}

@media (max-width: 991px) {
    body:not(.index) #topbar {
        border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    }
}

/* phone / location */

.contact {
    column-gap: clamp(15px, 2vw, 40px);
}

@media (max-width: 991px) {
    body:not(.index) .contact {
        display: none !important;
    }
}

#phone-tab,
#location-tab {
    display: block;
    min-height: 42px;
    min-width: 42px;
    background: center / auto 34px no-repeat;
    position: relative;
    padding-top: 48px;
    width: 50%;
}

@media (min-width: 768px) {

    #phone-tab,
    #location-tab {
        width: unset;
    }
}

@media (min-width: 992px) {

    #phone-tab,
    #location-tab {
        padding: 0 0 0 60px;
    }
}

:is(#phone-tab, #location-tab)::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    z-index: 1;
    background: #dcdcdb center / 23px auto no-repeat;
}

@media (min-width: 992px) {
    :is(#phone-tab, #location-tab)::before {
        top: calc(50% - 20px);
    }
}

#phone-tab::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%23707070" height="48" viewBox="0 -960 960 960" width="48"><path d="M795-120q-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>');
}

#location-tab::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%23707070" height="48" viewBox="0 -960 960 960" width="48"><path d="M480.089-490Q509-490 529.5-510.589q20.5-20.588 20.5-49.5Q550-589 529.411-609.5q-20.588-20.5-49.5-20.5Q451-630 430.5-609.411q-20.5 20.588-20.5 49.5Q410-531 430.589-510.5q20.588 20.5 49.5 20.5ZM480-80Q319-217 239.5-334.5T160-552q0-150 96.5-239T480-880q127 0 223.5 89T800-552q0 100-79.5 217.5T480-80Z"/></svg>');
}

:is(#phone-tab, #location-tab) h2 {
    font-size: inherit;
    color: #4c4c4c;
    margin-bottom: 0;
}

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

/* #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: 8px;
        padding: 6px 8px;
        cursor: pointer;
        background-color: #ffffff;
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    }

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        background-color: #1a1a1a;
        border-radius: 2px;
        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(-5px, -6px);
    }

    #burgerButtonInner {
        top: 16px;
    }

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

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

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

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

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

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

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

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally {
        padding: 15px 0;
        border-top: 1px solid rgba(0, 0, 0, 0.2);
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
        background-color: #ffffff;
    }

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

    nav.horizontally .navbar-nav {
        display: flex;
        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, :hover)>ul,
    nav.horizontally .navbar-nav li.open:focus-within>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.open>ul {
        pointer-events: none !important;
        opacity: 0 !important;
        visibility: hidden;
    }

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

/* toplevel */

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

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

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

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

/* 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: #1a1a1a;
}

/* secondlevel + thirdlevel dropdown-box */

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

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

@media (min-width: 992px) {
    nav.horizontally [class*="toplevel"] ul {
        padding: 18px 20px;
        box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.1);
    }

    nav.horizontally li[class*="toplevel"]>ul {
        margin-top: 30px;
    }

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

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

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

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

/* secondlevel + thirdlevel */

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

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #6e6e6e;
    text-align: left;
    font-size: 1rem;
    font-weight: 400;
    padding: 11px 15px;
    line-height: 1.2;
    text-decoration: none;
}

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

/* 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: #1a1a1a;
}

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

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

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

@media (min-width: 992px) {
    #headerpic a.nivo-prevNav {
        left: 65px;
    }

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

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

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

#bannerOverlay .tab {
    font-size: clamp(1.5rem, 4vw, 1.875rem);
    font-weight: 600;
    color: #1a1a1a;
    padding: 0 clamp(50px, 6vw, 100px);
}

.tabButton a {
    display: inline-block;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    padding: 5px 10px;
    background-color: #5c0406;
    text-decoration: none;
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.10);
}

.tabButton a:is(:hover, :focus) {
    background-color: #1a1a1a;
}

@media (min-width: 992px) {
    #bannerOverlay {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 50%;
        z-index: 10;
        pointer-events: none;
        transform: translateY(50%);
    }

    .slider-mask {
        display: block;
        background: linear-gradient(180deg, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, .7) 100%);
    }

    .tabButton {
        position: relative;
        z-index: 10;
        margin: 10px 0 -50px 15px;
    }
}

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

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

#content {
    text-align: left;
}

@media (min-width: 992px) {
    body:not(.index) #content {
        height: 65vh;
        overflow-y: scroll;
    }
}

body:not(.index) #content {
    padding-top: clamp(30px, 4vw, 60px);
    padding-bottom: clamp(30px, 4vw, 60px);
}

body.index #aboveContent,
body.index #content_footer {
    display: none;
}

/* ------------------------------------------------ @26tab ----------------------------------------------- */

#tab26 {
    margin: auto;
    width: 100%;
    max-width: 1200px;
    padding-top: clamp(30px, 3vw, 40px);
    padding-bottom: 30px;
}

#tab26 .firstTab .tabHeadline {
    font-weight: 400;
    color: #4d4d4d;
    margin: 0;
    font-size: clamp(1.75rem, 2vw, 1.875rem);
}

#tab26 .tab {
    font-size: 1rem;
    background: #ffffff;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    max-width: 270px;
}

#tab26 .tab::before {
    content: '';
    position: absolute;
    pointer-events: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1;
    transition: opacity 300ms linear;
    opacity: 0;
}

#tab26 .tab:hover::before,
#tab26 .tab:focus::before {
    opacity: 1;
}

#tab26 .tab .tabHeadline {
    font-size: 1.5625rem;
    font-weight: 400;
    color: #4d4d4d;
    position: absolute;
    pointer-events: none;
    z-index: 2;
    margin: 0;
    transition: display 300ms linear;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
    align-content: end;
    align-items: end;
    display: none;
    transform-origin: top;
    writing-mode: sideways-lr;
    padding: 14px;
}

#tab26 .tab:hover .tabHeadline,
#tab26 .tab:focus .tabHeadline {
    display: flex;
}

#tab26 .tab .tabContent {
    font-size: 0;
    position: relative;
}

#tab26 img {
    display: block;
    max-width: unset;
    position: relative;
}

/* ----------------------- @26tab slider arrows + dots ------- DO NOT DELETE ----------------------- */

#tab26 .slick-slide {
    padding: 15px;
}

#tab26 .slick-dots button,
#tab26 .slick-button {
    background: transparent;
    border: none;
    padding: 5px;
}

#tab26 .slick-button {
    font-size: 0px;
    position: relative;
    top: 4px;
}

#tab26 .slick-prev {
    margin-left: 14px;
}

@media (max-width: 767px) {
    #tab26 .slick-next {
        margin-left: 14px;
    }
}

#tab26 .slick-button::before {
    display: block;
    line-height: 9px;
    height: 20px;
    font-size: 40px;
    color: #000000;
}

#tab26 .slick-button::after {
    content: "";
    position: absolute;
    pointer-events: none;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.05);
    transition: width 200ms linear, height 200ms linear;
    z-index: -1;
}

#tab26 .slick-button:focus::after,
#tab26 .slick-button:hover::after {
    width: 28px;
    height: 28px;
}

@media (max-width: 767px) {

    #tab26 .slick-button::after,
    #tab26 .slick-button::after {
        width: 28px;
        height: 28px;
    }
}

#tab26 .slick-dots {
    padding: 0 15px;
    list-style: none;
}

#tab26 .slick-dots>li {
    display: inline-block;
    position: relative;
    top: 50%;
    font-size: 0px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #a1a1a1;
    transform: translateY(-50%);
}

#tab26 .slick-dots,
#tab26 .slick-button {
    display: inline-block !important;
}

@media (max-width: 767px) {
    #tab26 .slick-dots {
        display: none !important;
    }
}

#tab26 .slick-dots>li.slick-active {
    background: #1a1a1a;
    transition: background 200ms linear;
}

#tab26 .slick-dots>li+li {
    margin-left: 10px;
}

#tab26 .slick-prev::before {
    content: "\2039";
}

#tab26 .slick-next::before {
    content: "\203A";
}

/* ------------ @26tab slider 1 stop/play button for accessibility ------- DO NOT DELETE ------------ */

#tab26 .slick-animate-control {
    position: relative;
    z-index: 2;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    top: -5px;
    left: 10px;
    border: 1px solid #ffffff;
    background-color: #000;
    background-size: 16px 16px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M12 36V12h24v24Z' fill='%23fff'/%3E%3C/svg%3E");
}

#tab26 .slick-animate-control.slick-pause {
    background-size: 20px 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M16 37.85v-28l22 14Z' fill='%23fff'/%3E%3C/svg%3E");
}

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

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

h1,
.h1,
.legacy_h1 {
    font-size: clamp(2rem, 3vw, 2.8125rem);
}

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

h3,
.h3,
.legacy_h3 {
    font-size: clamp(1.75rem, 2vw, 35px);
}

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

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

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

/* ----------------------------------------------- @5f footer ----------------------------------------------- */

#f5 {
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #ffffff;
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
    margin-bottom: 5px;
}

#f5>.row {
    row-gap: 12px;
}

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

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

#innerfooter a {
    color: #6e6e6e;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
}

#innerfooter a:hover,
#innerfooter a:focus {
    color: #1a1a1a;
    text-decoration: underline;
}

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

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

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

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

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

#vernetzt {
    gap: 12px;
    text-align: right;
    font-size: 0.9375rem;
    color: #6e6e6e;
    line-height: 1.3;
    text-decoration: none;
}

#vernetzt b {
    color: #1a1a1a;
    font-weight: 400;
}

#vernetzt span span {
    display: block;
}