@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%;
    }
}

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

#menu {
	padding-top: 13px;
	padding-bottom: 13px;
}

/* burgerbutton */

#burgerButton {
	font-size: 15px;
	color: #045322;
	font-weight: 700;
	line-height: 1;
	position: relative;
	text-align: center;
	z-index: 1002;
	display: inline-block;
	width: 52px;
	height: 52px;
	cursor: pointer;
	padding: 8px 0 0 0;
	float: none;
	border: none;
	background: #ffffff;
	-webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.42);
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.42);
}

@media (max-width: 991px) {
	#burgerButton {
		position: fixed;
		top: 22px;
		right: 15px;
		margin-top: 0;
		border-radius: 0;
		border-radius: 10px;
	}
}

@media (min-width: 992px) {
	#burgerButton {
		width: 82px;
		height: 70px;
	}
}

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

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

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

@media (min-width: 992px) {
	#menu .navbar:hover #burgerButton #burgerButtonInner {
		opacity: 0;
	}

	#menu .navbar:hover #burgerButton #burgerButtonInner2 {
		-webkit-transform: rotate(-45deg) translate(2px, -4px);
		transform: rotate(-45deg) translate(2px, -4px);
	}

	#menu .navbar:hover #burgerButton:after {
		-webkit-transform: rotate(45deg) translate(-10px, -10px);
		transform: rotate(45deg) translate(-10px, -10px);
	}
}

#burgerButtonInner2,
#burgerButton:after,
#burgerButtonInner {
	pointer-events: none;
	-webkit-transition:
		transform 200ms linear,
		opacity 200ms linear;
	-moz-transition:
		transform 200ms linear,
		opacity 200ms linear;
	-ms-transition:
		transform 200ms linear,
		opacity 200ms linear;
	-o-transition:
		transform 200ms linear,
		opacity 200ms linear;
	transition:
		transform 200ms linear,
		opacity 200ms linear;
}

#burgerButtonInner2 {
	top: 26px;
}

#burgerButton:after {
	top: 36px;
}

@media (min-width: 992px) {
	#burgerButtonInner {
		margin-top: 10px;
	}
	#burgerButtonInner2 {
		top: 38px;
	}
	#burgerButton:after {
		top: 48px;
	}
}

#burgerButtonInner2,
#burgerButton:after {
	content: "";
	display: block;
	position: absolute;
	background: #045322;
	border-radius: 2px;
	width: 38px;
	height: 4px;
	left: 7px;
	font-size: 0;
}

@media (min-width: 992px) {
	#burgerButtonInner2,
	#burgerButton:after {
		left: 22px;
	}
}

.contrast_dark #burgerButtonInner2,
.contrast_dark #burgerButton:after {
	background: #ffffff !important;
}

.contrast_dark_font #burgerButtonInner2,
.contrast_dark_font #burgerButton:after {
	background: #000000 !important;
}

/* burgermenu for tablet */

@media (max-width: 991px) {
	.navbar-collapse {
		padding: 30px 0;
		top: 0;
		background: #ffffff;
		position: fixed;
		left: -100%;
		bottom: 0;
		z-index: 100;
		height: auto !important;
		-webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
		box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
		opacity: 0;
		pointer-events: none;
		overflow-y: auto;
		-webkit-transition:
			left 300ms linear,
			opacity 300ms linear;
		-moz-transition:
			left 300ms linear,
			opacity 300ms linear;
		-ms-transition:
			left 300ms linear,
			opacity 300ms linear;
		-o-transition:
			left 300ms linear,
			opacity 300ms linear;
		transition:
			left 300ms linear,
			opacity 300ms linear;
	}
	.navbar-collapse[aria-expanded="true"],
	.navbar-collapse.in {
		left: 0;
		opacity: 1;
		pointer-events: auto;
	}
	.navbar-header {
		height: 50px;
		width: 60px;
		border-radius: 2px;
		padding: 6px 8px;
		background-color: #ffffff;
		position: fixed;
		top: 15px;
		right: 15px;
		z-index: 101;
		-webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
		box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
	}
	.navbar-toggle::before {
		content: "";
		opacity: 0;
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		width: 0;
		z-index: -1;
		display: block;
		background-color: rgba(0, 0, 0, 0.5);
		-webkit-transition:
			width 300ms linear,
			opacity 300ms linear;
		-moz-transition:
			width 300ms linear,
			opacity 300ms linear;
		-ms-transition:
			width 300ms linear,
			opacity 300ms linear;
		-o-transition:
			width 300ms linear,
			opacity 300ms linear;
		transition:
			width 300ms linear,
			opacity 300ms linear;
	}
	.navbar-toggle[aria-expanded="true"]::before {
		opacity: 1;
		width: 90px;
	}
	#burgerButton[aria-expanded="true"] #burgerButtonInner2,
	#burgerButton[aria-expanded="true"]:after {
		background: #ffffff;
	}
	.dropdown-toggle-button-wrapper,
	.dropdown-toggle-button-wrapper2 {
		right: 8px;
	}
	.dropdown-toggle-button-wrapper {
		top: 10px;
	}
	.dropdown-toggle-button-wrapper2 {
		top: 6px;
	}
}

@media (min-width: 575px) and (max-width: 991px) {
	.navbar-collapse {
		width: 60%;
	}
	.navbar-collapse.collapse.in:after,
	.navbar-toggle[aria-expanded="true"]::before {
		width: 40%;
	}
}

/* menu desktop */

@media (min-width: 992px) {
	#menu {
		padding-top: 20px;
		padding-bottom: 20px;
		position: fixed;
		left: 0;
		right: 0;
		top: 0;
		z-index: 61;
		-webkit-box-shadow: 0 0 8px 0 rgba(84, 73, 73, 0.1);
		box-shadow: 0 0 8px 0 rgba(84, 73, 73, 0.1);
		background: rgba(255, 255, 255, 0.95);
	}
	#myNavbar.navbar-collapse {
		-webkit-box-shadow: none;
		box-shadow: none;
		pointer-events: none;
		position: absolute;
		z-index: 1002;
		top: 70px;
		left: 15px;
		opacity: 0;
		width: 580px;
		border-radius: 0;
		height: auto !important;
		overflow: visible !important;
		-webkit-transition:
			opacity 300ms linear,
			top 300ms linear;
		-moz-transition:
			opacity 300ms linear,
			top 300ms linear;
		-ms-transition:
			opacity 300ms linear,
			top 300ms linear;
		-o-transition:
			opacity 300ms linear,
			top 300ms linear;
		transition:
			opacity 300ms linear,
			top 300ms linear;
	}
	#burgerButton[aria-expanded="true"] + #myNavbar,
	#menu .navbar:hover #burgerButton + #myNavbar {
		pointer-events: auto;
		opacity: 1;
		top: 120px;
	}
	#myNavbar.navbar-collapse::before {
		content: "";
		display: block;
		position: absolute;
		left: 0;
		top: -24px;
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 24px 0 0 24px;
		border-color: transparent transparent transparent #ffffff;
	}
	.contrast_dark #myNavbar.navbar-collapse::before {
		border-color: transparent transparent transparent #000000 !important;
	}
	#burgerButton::before {
		content: "";
		display: block;
		position: absolute;
		left: 0;
		right: -50px;
		bottom: -60px;
		height: 60px;
		pointer-events: none;
	}
	#menu .navbar:hover #burgerButton::before {
		pointer-events: all;
	}
	.navbar-nav {
		padding: 23px 0 25px 0;
		background: #ffffff;
		min-height: 300px;
	}
	.navbar-default .navbar-nav > li > .dropdown-menu {
		padding: 25px 20px;
		position: absolute;
		z-index: 2;
		left: 50%;
		top: 0 !important;
		right: 0;
		bottom: 0;
		overflow-y: auto;
	}
	.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
		padding: 25px 20px;
		position: absolute;
		z-index: 2;
		left: 50%;
		top: 0 !important;
		right: 0;
		bottom: 0;
		overflow-y: auto;
	}
	.navbar-nav,
	.navbar-default .navbar-nav > li > .dropdown-menu {
		width: 50%;
	}

	.navbar-default .navbar-nav > li > ul {
		display: block !important;
		pointer-events: none;
		opacity: 0;
		-webkit-transition: opacity 300ms linear;
		-moz-transition: opacity 300ms linear;
		-ms-transition: opacity 300ms linear;
		-o-transition: opacity 300ms linear;
		transition: opacity 300ms linear;
	}
	#burgerButton[aria-expanded="true"] + #myNavbar > ul > li[class$="_over"] > ul,
	#burgerButton[aria-expanded="true"] + #myNavbar > ul > li:hover > ul,
	#menu .navbar:hover #burgerButton + #myNavbar > ul > li[class$="_over"] > ul,
	#menu .navbar:hover #burgerButton + #myNavbar > ul > li:hover > ul {
		pointer-events: auto !important;
		opacity: 1 !important;
	}
	.navbar-default .navbar-nav > li:hover > ul {
		z-index: 3;
	}

	.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"] {
		pointer-events: auto !important;
		opacity: 1 !important;
		display: block;
	}
	.navbar-default .navbar-nav li[class*="toplevel"]:focus-within > ul,
	.navbar-default .navbar-nav li[class*="secondlevel"]:focus-within > ul {
		pointer-events: auto !important;
		opacity: 1 !important;
		display: block;
	}
	.navbar-default .nav .open > .dropdown-menu {
		pointer-events: none !important;
		opacity: 1 !important;
	}
}

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

.navbar-default .navbar-nav > li > a {
	color: #222222;
	font-weight: 400;
	text-align: left;
	padding: 13px 35px 13px 15px;
	position: relative;
	font-size: 1.25rem;
}

@media (max-width: 991px) {
	.navbar-default .navbar-nav > li {
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}
}

@media (min-width: 992px) {
	.navbar-default .navbar-nav > li > a {
		padding: 5px 30px 5px 15px;
		text-align: right;
	}
}

/* -------------------------------------------- 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 {
	color: #ffffff;
	background-color: #07712f;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
	background: #07712f;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > a,
.navbar-default .navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li > a {
	color: #ffffff;
	font-weight: 400;
	text-align: left;
	padding: 8px 35px 8px 15px;
	position: relative;
	font-size: 1.125rem;
}

.navbar-default .navbar-nav > li > .dropdown-menu li[class*="_start"],
.navbar-default .navbar-nav > li > .dropdown-menu li[class*="end"] {
	display: none;
}

@media (min-width: 992px) {
	.navbar-default .navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] {
		border-top: 1px dashed rgba(255, 255, 255, 0.4);
	}
	.navbar-default .navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > a {
		padding: 4px 2px 4px 2px;
	}
	.navbar-default .navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li > a {
		padding: 4px 10px 4px 34px;
	}
	.navbar-default .navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li > a::after {
		content: "";
		position: absolute;
		left: 8px;
		top: 50%;
		background: #ffffff;
		width: 5px;
		height: 5px;
		margin-top: -2px;
		border-radius: 50%;
		opacity: 0;
		-webkit-transition: opacity 300ms linear;
		-moz-transition: opacity 300ms linear;
		-ms-transition: opacity 300ms linear;
		-o-transition: opacity 300ms linear;
		transition: opacity 300ms linear;
	}
}

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

.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"]:hover > a,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > a:hover,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > a:focus,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"].open > a,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"].open > a:hover,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"].open > a:focus,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"][class$="_over"] > a,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"][class$="_over"] > a:hover,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"][class$="_over"] > a:focus {
	color: #bfdfcb;
}

.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li > a:hover,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li > a:focus,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li.open > a,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li.open > a:hover,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li.open > a:focus,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li[class$="_over"] > a:focus {
	background: rgba(255, 255, 255, 0.15);
}

.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li > a:hover::after,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li > a:focus::after,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li.open > a::after,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li.open > a:hover::after,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li.open > a:focus::after,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li[class$="_over"] > a::after,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li[class$="_over"] > a:hover::after,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li[class$="_over"] > a:focus::after {
	opacity: 1;
}

/* -------------------------------------------- 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: -160px;
		-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;
}