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

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

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

a {
    color: #07712f;
}

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

b,
strong {
    font-weight: 600;
}

:focus-visible {
    outline: 3px solid #07712f !important;
}



/*  search */

#search {
    display: flex;
    position: relative;
    width: 100%;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
    min-height: 50px;
    max-width: calc(100% - 50px);
    margin: auto;
}

#search_input {
    color: inherit;
    font-size: inherit;
    font-style: normal;
    background: transparent;
    padding: 6px 15px;
    border: 0;
    width: 100%;
    flex-grow: 1;
    width: 100%;
}

#search_submit {
    width: 50px;
    flex-shrink: 0;
    background: url('../img/search-iconv2.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    border: none;
    font-size: 0;
    transition: all 300ms linear;
}

#search_submit:is(:hover, :focus) {
    background-color: rgba(0, 0, 0, 0.15);
}

#search_input::placeholder {
    color: inherit !important;
    opacity: 0.8 !important;
    font-style: italic !important;
}

/* #endregion ------------------ topbar + contrast + styler + search ---------------------------- */

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

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

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

nav.burger {
    padding: 15px 0;
    background: #ffffff;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15), 0 -120px 50px -100px rgba(66, 58, 1, 0.2);
}

@media (max-width: 991px) {
    nav.burger {
        position: static !important;
        padding: 15px 0;
    }
}

/* burger */

#burgerButton {
    font-size: 0;
    border: none !important;
    display: block;
    height: 60px;
    width: 60px;
    padding: 6px 8px;
    cursor: pointer;
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1002;
    box-shadow: none;
    background: #fff;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
}

@media (min-width: 992px) {
    #burgerButton {
        position: relative;
        top: unset;
        right: unset;
        height: 66px;
        width: 66px;
        transition: top 200ms linear, height 200ms linear;
        margin-left: auto;
    }

    #burgerButton[aria-expanded="true"] {
        background: #ffffff;
    }
}

#menuText {
    font-size: 15px;
    color: #007b3d;
    font-weight: 400;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translate(-50%);
}

#burgerButton::after,
#burgerButtonInner {
    background: #07712f;
    position: absolute;
    height: 3px;
    left: 50%;
    transition: transform 200ms linear, opacity 200ms linear, width 200ms linear;
    width: 34px;
    transform: translate(-50%);
}

@media (min-width: 992px) {

    #burgerButton[aria-expanded="true"]::after,
    [aria-expanded="true"] #burgerButtonInner {
        background: #222222;
    }
}

#burgerButton[aria-expanded="true"] #menuText {
    display: none;
}

@media (prefers-contrast: more) {

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        border: 1px solid #ffffff;
        box-sizing: border-box;
    }
}

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


#burgerButton[aria-expanded="true"]::after {
    transform: translate(-50%, -50%) rotate(45deg);
    top: 50%;
}


#burgerButtonInner {
    top: 36px;
}

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

/* navbar container */

.navbar-nav {
    margin: 80px 20px 40px 20px;
}

@media (min-width: 992px) {

    .burger .navbar {
        width: fit-content
    }

    .navbar-nav {
        margin: 0 auto;
        padding: 0 80px;
        max-width: 992px;
    }

    #myNavbar .mCSB_scrollTools {
        right: unset;
        left: calc(50% + 425px);
    }

    #myNavbar-heading {
        display: block;
        margin: 0 auto;
        color: #ffffff;
        font-size: 1.875rem;
        font-weight: 600;
        max-width: 832px;
        position: fixed;
        top: 150px;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (min-width: 1200px) {
    .navbar-nav {
        max-width: 1460px;
    }

    #myNavbar .mCSB_scrollTools {
        left: calc(50% + clamp(450px, 45vw, 743px));
    }

    #myNavbar-heading {
        max-width: 1300px;
    }
}

.navbar-collapse {
    width: 100%;
    max-width: 350px;
    top: 0;
    background: #07712f;
    position: fixed;
    right: -100%;
    bottom: 0;
    z-index: 100;
    height: auto !important;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    overflow-y: auto;
    transition: right 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) {
    right: 0;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    box-shadow: -250px 0 50vw 50vw rgba(0, 0, 0, 0.6);
}

@media (min-width: 992px) {
    .navbar-collapse {
        max-width: unset;
        right: 0;
        left: 0;
        padding: 200px 0 50px 0;
        box-shadow: none;
    }

    .navbar-collapse:is([aria-expanded="true"], .in) {
        box-shadow: none;
    }
}

/* toplevel */

nav.burger a[class*="toplevel"] {
    color: #ffffff;
    font-weight: 600;
    text-align: left;
    padding: 11px 15px;
    position: relative;
    font-size: 1.5rem;
    line-height: 1.2;
    text-decoration: none;
}

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

@media (min-width: 992px) {
    nav.burger a[class*="toplevel"] {
        font-size: 1.5rem;
        padding-right: 70px;
    }
}

nav.burger li[class*="toplevel"]+li,
nav.burger [class*="toplevel"]>ul {
    border-top: 1px solid #ffffff;
}

/* toplevel-over */

nav.burger li[class*="toplevel"]:is(:hover, :focus-within)>a,
nav.burger li[class*="toplevel"]>a:is(:hover, :focus),
nav.burger li[class*="toplevel"].open>a,
nav.burger li[class*="toplevel"].open>a:is(:hover, :focus),
nav.burger li[class*="toplevel"][class*="_over"]>a,
nav.burger li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus) {
    background: #07712f;
}

/* secondlevel + thirdlevel dropdown-box */

nav.burger [class*="toplevel"]>ul {
    padding: 15px 0;
}

nav.burger [class*="secondlevel"]>ul {
    padding: 5px 15px 5px 30px;
}

@media (min-width: 992px) {
    nav.burger [class*="toplevel"]>ul {
        padding: 10px 15px 10px 30px;
    }
}

/* secondlevel + thirdlevel */

nav.burger a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #ffffff;
    font-weight: 400;
    text-align: left;
    position: relative;
    font-size: 1.25rem;
    line-height: 1.2;
    text-decoration: none;
    display: inline-block;
    padding: 8px 15px 8px 30px;
}

nav.burger a[class*="secondlevel"] {
    font-size: 1.25rem;
}

nav.burger a[class*="thirdlevel"] {
    font-size: 1.125rem;
}

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

nav.burger a:is([class*="secondlevel"], [class*="thirdlevel"])::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    border: 2px solid #ffffff;
    transition: background 300ms linear;
}

/* secondlevel + thirdlevel over */

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

/* dropdown-toggle-button */

@media (max-width: 991px) {
    nav.burger :is(.dropdown-toggle-button-wrapper, .dropdown-toggle-button-wrapper2) {
        position: absolute;
    }

    nav.burger .dropdown-toggle-button-wrapper {
        display: block !important;
        top: 6px;
        right: 5px;
    }

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


    nav.burger .dropdownpr {
        position: relative !important;
    }

    nav.burger .dropdown-toggle-button {
        padding: 15px;
        border-radius: unset;
        background: transparent;
        transition: background 300ms linear;
        cursor: pointer;
    }

    nav.burger .dropdown-toggle-button::before {
        content: "+";
        color: #ffffff;
        position: absolute;
        right: 50%;
        top: 50%;
        font-size: 30px;
        font-weight: 500;
        background: transparent;
        transform: rotate(0deg) translateX(45%);
        text-align: center;
        font-family: inherit;
        width: unset;
        height: unset;
        line-height: 0;
    }

    nav.burger .dropdown-toggle-button::after {
        content: unset;
    }

    nav.burger .dropdown-toggle-button-open::before {
        content: "-";
    }
}

@media (min-width: 992px) {
    nav.burger a[class*="toplevel"].dropdown-toggle::after {
        content: "+";
        position: absolute;
        right: 5px;
        top: 50%;
        width: 40px;
        height: 40px;
        font-size: 30px;
        font-weight: 500;
        text-align: center;
        line-height: 0;
    }

    nav.burger .open a[class*="toplevel"].dropdown-toggle::after {
        content: "-";
    }
}

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

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

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

@media (min-width: 992px) {
    body.index #slider {
        max-height: clamp(400px, 80vw, 617px);
    }

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

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

    body.index #headerpic .nivo-controlNav {
        bottom: unset !important;
        top: 30px !important;
    }
}

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

@media (min-width: 992px) {
    #headerpic {
        background: #07712f;
        color: #ffffff;
    }
}

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

.slider-mask {
    display: none
}

/* ------------------------------------------ bannerOverlay ------------------------------------- */

#bannerOverlay {
    z-index: 12;
    position: relative;
    font-size: clamp(26px, 5vw, 50px);
    line-height: 1.2;
    font-weight: 300;
    padding-top: 40px;
}

@media (min-width: 992px) {
    #bannerOverlay {
        position: absolute;
        z-index: 30;
        left: 0;
        right: 0;
        bottom: 85px;
        padding-top: 0;
    }

    #bannerOverlay * {
        color: #ffffff;
        text-shadow: 0 0 20px rgba(0, 0, 0, 1);
    }
}

#bannerOverlay :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(30px, 6vw, 70px);
    font-weight: 600;
}

/* ----------------------------------------- scroll bottom -------------------------------------- */

#scrollBottom {
    position: relative;
    margin: 35px auto 0 auto;
    width: 56px;
    height: 56px;
    display: block;
    font-size: 0;
    color: inherit;
    animation: bounceAni 2s infinite 2s;
    background: #07712f;
}

#scrollBottom:is(:hover, :focus) {
    animation-play-state: paused;
    background: #07712f;
}

#scrollBottom::after {
    content: "";
    width: 16px;
    height: 16px;
    display: inline-block;
    border-left: 5px solid #ffffff;
    border-bottom: 5px solid #ffffff;
    transform: rotate(-45deg);
    margin-top: 12px;
}

@keyframes bounceAni {

    0%,
    100%,
    20%,
    50%,
    80% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* --------------------------------------------- ticker ----------------------------------------- */

#tickerBox {
    margin-top: 40px;
    background: #ffffff;
    color: #07712f;
    border-bottom: 8px solid #07712f;
    box-shadow: 0 60px 50px -30px rgba(66, 58, 1, 0.2);
    padding: clamp(5px, 2vw, 30px) 0;
}

@media (min-width: 992px) {
    #tickerBox {
        margin-top: -45px;
        position: relative;
        z-index: 10;
        padding: clamp(5px, 2vw, 30px) 30px;
    }
}

#tickerBox a {
    color: inherit;
    text-decoration: none;
    display: inline-block;
    transition: all 200ms linear;
}

#tickerBox a:is(:hover, :focus) {
    color: #07712f;
    transform: scale(1.04);
}

#tickerBox .newsticker-position {
    margin: 0;
}

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

#content {
    text-align: left;
    padding-bottom: clamp(40px, 7vw, 95px);
    padding-top: clamp(40px, 4vw, 65px);
}



/* ------------------------------------------- sticky contact -------------------------------------------- */

.stickyContact {
	pointer-events: none;
	font-size: 14px;
	line-height: 1.3;
}

.contrast_dark .stickyContact,
.contrast_dark .stickyContact > div,
.contrast_dark .stickyContact > div > div {
	background: transparent !important;
}

@media (min-width: 992px) {
	.stickyContact {
		font-size: 1rem;
		position: fixed;
		z-index: 70;
		right: 0;
		top: 50%;
		-moz-transform: translateY(-50%);
		-webkit-transform: translateY(-50%);
		-o-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
		transform: translateY(-50%);
	}
	.stickyContact .row,
	.stickyContact .row > div {
		margin: 0;
		padding: 0;
	}
}

.stickyContact .row > div + div {
	margin-top: 15px;
}

@media (min-width: 576px) and (max-width: 991px) {
	.stickyContact .row > div + div {
		margin-top: 0;
	}
}

.stickyContact .tab {
	padding: 65px 15px 15px 15px;
	background-position: center top 17px;
	background-repeat: no-repeat;
	pointer-events: all;
	background-color: #ffffff;
	-webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
	.stickyContact .tab {
		height: 100%;
		min-height: 100%;
	}
}

@media (min-width: 992px) {
	.stickyContact .tab {
		padding: 15px 15px 15px 65px;
		background-position: center left 15px;
		max-width: 280px;
		border-top-left-radius: 80px;
		border-bottom-left-radius: 80px;
		position: relative;
		right: -190px;
		-webkit-transition: right 200ms linear;
		-moz-transition: right 200ms linear;
		-ms-transition: right 200ms linear;
		-o-transition: right 200ms linear;
		transition: right 200ms linear;
	}
	.stickyContact .tab:hover {
		right: 0;
	}

	.abstand {
		padding-left: 0;
		padding-right: 0;
	}
}

.stickyContact .tab1 {
	background-image: url("../img/icon-kalender-v2.png");
	margin-bottom: 25px;
}

.stickyContact .tab2 {
	background-image: url("../img/icon-telefon-v2.png");
	margin-bottom: 25px;
}

.stickyContact .tab3 {
	background-image: url("../img/icon-mail-v2.png");
    margin-bottom: 25px;
}

.stickyContact .tab4 {
	background-image: url("../img/icon-facebook-black.png");
	margin-bottom: 25px;
}

.stickyContact .tab5 {
	background-image: url("../img/icon-instagram-black.png");
}

@media (max-width: 991px) {
    .row > div {
        margin-bottom: 30px;
    }
}
/* #region ----------------------------- tabSpecialHeadline ------------------------------------- */

.tabSpecialHeadline {
    font-size: 1rem;
}

.tabSpecialHeadline :is(h1, h2, h3, h4, h5, h6) {
    text-transform: none;
    font-weight: 600;
    position: relative;
    margin: 0;
}

.tabSpecialHeadline :is(h1, h2, h3, h4, h5, h6)::after {
    content: "";
    display: block;
    width: 100px;
    height: 8px;
    background: #07712f;
    margin-top: 10px;
}

.tabSpecialHeadline :is(i, em) {
    text-transform: uppercase;
    font-style: normal;
}

.tabSpecialButton a {
    font-size: 1rem;
    font-weight: 500;
    color: #000000;
    text-decoration: none;
    padding: 16px 70px 16px 20px;
    display: inline-block;
    width: 100%;
    position: relative;
    line-height: 1.2;
    text-align: left;
}

.btnNav .tabSpecialButton a {
    padding: 16px 0px 16px 58px;
}

@media (min-width: 768px) {
    .tabSpecialButton a {
        max-width: 270px;
    }

    .btnNav .tabSpecialButton a {
        max-width: 220px;
    }
}

.btnNav .tabSpecialButton a:is(:hover, :focus) {
    text-decoration: underline;
}

.tabSpecialButton a::before {
    content: '\00BB';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50px;
    line-height: 45px;
    font-size: 30px;
    display: block;
    transition: background-color 300ms linear;
}

.btnNav .tabSpecialButton a::before {
    content: '';
    left: 0;
    right: unset;
    background: url(../img/icon-hausv2.png) center no-repeat;
}



.tabSpecialButton .btgrid>.row {
    align-items: center;
}

/* #endregion -------------------------- tabSpecialHeadline ------------------------------------- */

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

#news {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: clamp(40px, 6vw, 70px) 0;
}

#news .tabSpecialHeadline :is(h1, h2, h3, h4, h5, h6)::after {
    content: "";
    display: none;
}

#news .tab_link_entries {
    display: grid;
    gap: 30px;
    margin-top: clamp(30px, 4vw, 60px);
}

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

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

#news .tab_link_entry {
    font-size: 1rem;
    position: relative;
    background: #ffffff;
    padding: 230px 20px 70px 20px;
    border: none !important;
}

#news .tab_link_entry::after {
    content: "";
    position: absolute;
    display: block;
    top: 180px;
    left: 0;
    right: 0;
    width: 50px;
    height: 50px;
    margin: auto;
    background: #ffffff url('../img/icon-aktuelles.png') center no-repeat;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 10px 0 rgba(1, 88, 168, 0.1);
}

#news .tab_link_entry .tab_link_title a::before,
#news .tab_link_entry .tab_preview_picture {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    overflow: hidden;
}

#news .tab_link_entry .tab_link_title a::before {
    content: "";
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: inset 0 -2px 0 #07712f;
}

#news .tab_preview_picture img {
    margin: 0 !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

#news .tab_link_title a {
    font-weight: 500;
    font-size: 1.25rem;
    display: block;
    color: #07712f;
    margin-bottom: 20px;
    line-height: 1.2
}

#news .tab_date {
    font-size: 0.875rem;
    font-style: italic;
}

#news .tab_link_entry .tab_link_mehr {
    font-size: 0;
}

#news .tab_link_entry .tab_link_mehr a {
    display: inline-block;
    position: absolute;
    text-decoration: none;
    bottom: 20px;
    left: 20px;
    font-size: 0.875rem;
    color: inherit;
    padding: 7px 26px;
    background-color: #ffffff;
    border: 2px solid #07712f;
    margin-top: 25px;
    transition: all 200ms linear;
}

#news .tab_link_entry .tab_link_mehr :is(a:hover, :focus) {
    background-color: #07712f;
    color: #ffffff;
}

#news .tab_spacer {
    height: 5px;
}

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

/* #region ----------------------------------- service ------------------------------------------ */

#service {
    padding: clamp(40px, 7vw, 100px) 0;
}

#service>.row+.row {
    margin-top: clamp(1px, 4vw, 30px);
}

#service .tab {
    margin-top: 30px;
    background: #e6f1ea;
    border-bottom: 8px solid #07712f;
    height: calc(100% - 30px);
    padding: 0 clamp(20px, 3vw, 30px) 30px clamp(20px, 3vw, 30px);
}

#service .tabHeadline {
    padding: 30px 30px 30px 0;
    font-size: 1.875rem;
    margin: 0;
    position: relative;
}

#service .tab a {
    color: inherit;
    border-top: 2px solid #ffffff;
    padding: 18px calc(clamp(20px, 3vw, 30px) * 1.5) 12px 30px;
    display: block;
    text-decoration: none;
    margin: 0 calc(clamp(20px, 3vw, 30px) * -1);
    background: url('../img/Pfeil.png') center right clamp(20px, 3vw, 30px) no-repeat;
}

#service .tab a:is(:hover, :focus) {
    color: #07712f;
}

/* #endregion -------------------------------- service ------------------------------------------ */

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

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

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

h2,
.h2,
.legacy_h2,
.tabSpecialHeadline :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

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

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

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

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

/* #region -------------------------------- footerwrapper --------------------------------------- */

.footerwrapper {
    background: #07712f;
    font-size: 1rem;
    position: relative;
}

@media (max-width: 991px) {
    .footerwrapper {
        padding: 40px 0;
    }
}

.footerwrapper * {
    color: #ffffff;
}

.footerwrapper .template-page a {
    text-decoration: underline;
}

.footerwrapper>.row {
    row-gap: 30px;
}

@media (min-width: 992px) {
    .footerwrapper>.row:first-child>* {
        padding-top: clamp(30px, 5vw, 50px);
        padding-bottom: clamp(30px, 5vw, 50px);
    }

    .footerwrapper>.row:first-child>*:nth-child(2)::before {
        content: "";
        position: absolute;
        right: -50px;
        top: 0;
        bottom: 0;
        width: 2px;
        margin: auto;
        background-color: rgba(255, 255, 255, 0.2);
    }
}

.footerwrapper a {
    color: inherit;
}

.footerwrapper .tabHeadline {
    margin-bottom: 10px;
    font-size: 1.125rem;
    color: inherit;
}

.tabButtons :is(p+p, a+a) {
    margin-top: 20px;
}

.tabButtons a {
    font-size: 1.125rem;
    font-weight: 500;
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    padding: 12px 55px 12px 20px;
    display: block;
    position: relative;
    line-height: 1.2;
    text-decoration: none !important;
}

.tabButtons a:is(:hover, :focus) {
    background-color: rgba(255, 255, 255, 0.1);
}

.tabButtons a::after {
    content: "\00BB";
    position: absolute;
    width: 50px;
    text-align: center;
    right: 0;
    top: 8px;
    bottom: 8px;
    font-size: 30px;
    line-height: 25px;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
}

/* #endregion ----------------------------- footerwrapper --------------------------------------- */

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

#vernetzt {
    gap: 18px;
    font-size: 0.8125rem;
    color: inherit;
    line-height: 1.3;
    font-weight: 400;
    text-decoration: none;
}

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

#vernetzt span {
    display: block;
}

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

#innerfooter ul {
    padding: 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

#innerfooter li {
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

#innerfooter a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.875rem;
    position: relative;
    display: inline-block;
    padding: 8px 10px 8px 25px;
}

#innerfooter a::before {
    content: "";
    display: block;
    position: absolute;
    left: 10px;
    top: 16px;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    transition: background 300ms linear;
}

#innerfooter a:is(:hover, :focus)::before {
    background: #ffffff;
}

/* --------------------------------------------- contrast --------------------------------------- */

.contrast_dark :is(#language, #style, #contrast_style) {
    background-color: #ffffff !important;
}

.contrast_light_font #search_input {
    color: #000000 !important;
}

#scrollBottom a.contrast_dark_font:is(:hover, :focus)::after {
    border-color: rgba(0, 0, 0, 0.5) !important;
}

#scrollBottom a.contrast_light_font:is(:hover, :focus)::after {
    border-color: rgba(255, 255, 255, 0.5) !important;
}

:is(.contrast_light_font, .contrast_dark_font) #news .tab_link_title a::before,
:is(.contrast_light_font, .contrast_dark_font) .tab_link_title a::after {
    display: none !important;
}

.contrast_dark_font #vernetzt img {
    background-color: #000000;
}

.contrast_light_font .tabSocial img,
.contrast_dark_font #bannerOverlay {
    background-color: #ffffff;
}

#logo .contrast_dark img {
    background: #fff;
}

.navbar-default .navbar-nav>li:is(.contrast_light_font, .contrast_dark_font) .dropdown-menu>li:first-child,
.navbar-default .navbar-nav>li:is(.contrast_light_font, .contrast_dark_font) .dropdown-menu>li:last-child {
    display: none !important;
}