@import url("https://fonts.verwaltungsportal.de/import/?family=Barlow:400,500,600,700,800,900,400i,500i,600i,700i,800i,900i");
@import url("https://fonts.verwaltungsportal.de/css/?family=Oswald:400");

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

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

a {
	color: #317738;
}

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

.linkUnderline a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: text-decoration 300ms;
}

.linkUnderline a:is(:hover, :focus) {
	text-decoration-color: transparent;
}

b,
strong {
	font-weight: 600;
}

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

body:not(.noListStyle) main ul:not([class*="menue"], [class*="slick-dots"], .units, .no-list-style, .footer_list) li:not(.gallery-list-item, .album-list-item, .entry, .unit-title) {
	padding: 5px 10px 5px 28px;
}

body:not(.noListStyle) main ul:not([class*="menue"], [class*="slick-dots"], .rsbtn_toollist, .units, .no-list-style, .footer_list) li:not(.gallery-list-item, .album-list-item, .entry, .unit-title, .single-comment)::before {
	top: 17px;
}

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

#logo {
	display: inline-block;
}

#logo img {
	display: block;
	transition: max-width 120ms linear;
	max-width: 320px;
	position: relative;
}

#logo.contrast_light_font img {
	background-color: #fff !important;
}

@media (min-width: 992px) {
	.is-sticky #logo img {
		max-width: 250px;
	}
}

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

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

nav.horizontally {
	background: #fff;
}

.is-sticky nav.horizontally {
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15);
}

/* burgermenu for tablet */

@media (max-width: 991px) {
	nav.horizontally {
		padding: 12px 0;
	}

	#burgerButton {
		font-size: 0;
		border: none !important;
		display: block;
		height: 50px;
		width: 60px;
		border-radius: 2px;
		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: #677f34;
		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(-4px, -6px);
	}

	#burgerButtonInner {
		top: 16px;
	}

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

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

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

	.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: 15px;
		right: 15px;
		z-index: 101;
	}

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

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

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally {
		padding: 21px 0 21px 0;
	}

	.is-sticky nav.horizontally {
		background-color: rgba(255, 255, 255, 0.95);
	}

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

	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.open>ul {
		pointer-events: none !important;
		opacity: 0 !important;
		visibility: hidden;
	}

	nav.horizontally .navbar-nav li:is(:hover)>ul,
	nav.horizontally .navbar-nav li[class*="secondlevel"]>ul[style*="block"] {
		pointer-events: auto !important;
		opacity: 1 !important;
		visibility: visible;
	}

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

@media (min-width: 1200px) {
	.horizontally>.row {
		max-width: 1800px;
		width: 100%;
		margin-left: calc((100% - 1150px) / 2);
	}
}

/* toplevel */

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

@media (max-width: 991px) {
	nav.horizontally li[class*="toplevel"] {
		border-bottom: 1px solid rgba(255, 255, 255, 0.8);
	}

	nav.horizontally a[class*="toplevel"].dropdown-toggle {
		padding-right: 35px;
	}
}

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

	nav.horizontally a[class*="toplevel"] {
		padding: 11px 0;
		text-align: center;
	}
}

nav.horizontally a[class*="toplevel"]::before {
	content: "";
	width: 0;
	height: 4px;
	display: block;
	position: absolute;
	left: 0;
	transform: translateX(-50%);
	bottom: 0;
	background-color: #677f34;
	opacity: 0;
	transition: opacity 300ms linear, width 300ms linear;
}

@media (min-width: 992px) {
	.navbar-default .navbar-nav>li>a::before {
		left: 50%;
	}
}

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

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

/* secondlevel + thirdlevel dropdown-box */

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

@media (max-width: 991px) {
	nav.horizontally [class*="toplevel"] ul {
		margin: 10px;
	}
}

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

nav.horizontally [class*="secondlevel"]>ul {
	padding-left: 10px;
}

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

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

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	color: #444444;
	font-weight: 400;
	text-align: left;
	padding: 9px 25px 9px 35px;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	position: relative;
}

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

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::before {
	content: "";
	display: block;
	position: absolute;
	left: 20px;
	top: 16px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #677f34;
}

nav.horizontally li[class*="toplevel"]:nth-child(2) a:is([class*="secondlevel"], [class*="thirdlevel"])::before {
	background: #45cdff;
}

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

/* 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: #677f34;
}

nav.horizontally li[class*="toplevel"]:nth-child(2) li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within)>a,
nav.horizontally li[class*="toplevel"]:nth-child(2) li:is([class*="secondlevel"], [class*="thirdlevel"])>a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"]:nth-child(2) li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a,
nav.horizontally li[class*="toplevel"]:nth-child(2) li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"]:nth-child(2) li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a,
nav.horizontally li[class*="toplevel"]:nth-child(2) li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a:is(:hover, :focus) {
	color: #677f34;
}

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

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

#slider {
	max-height: clamp(300px, 42vw, 400px);
	overflow: hidden;
	position: relative;
	border-radius: clamp(30px, 4vw, 60px);
}

#headerpic {
	padding-top: 30px;
}

@media (min-width: 992px) {
	#headerpic {
		padding: 0;
	}

	#slider {
		margin-top: 10px;
	}

	body.index #slider {
		max-height: clamp(400px, 45vw, 575px);
	}

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

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

@media (min-width: 1600px) {
	#headerpic>.row {
		max-width: 1800px;
		width: 100%;
		margin-left: calc((100% - 1200px) / 2);
	}

	#headerpic>.row>.col-xl-3 {
		max-width: 38%;
		width: 100%;
	}

	#headerpic>.row>.col-xl-9 {
		max-width: 60%;
	}
}

#headerpic {
	position: relative;
	background: url(../img/deko-streifen-1.jpg);
	background-repeat: no-repeat;
	background-position: top left 185px;
}

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

.slider-mask {
	display: none;
}

/* bannerTab + bannerColorTab */

#bannerTab {
	background: #677f34;
	border-radius: clamp(20px, 2.5vw, 40px);
	color: #fff;
	padding: clamp(10px, 3vw, 40px) 30px;
	font-weight: 700;
	font-size: clamp(1.25rem, 2vw, 1.875rem);
}

#bannerTab :is(b, strong) {
	font-size: clamp(1.625rem, 3vw, 2.625rem);
	font-weight: 700;
	display: block;
	line-height: 1.7;
}

#bannerTab a {
	color: #fff;
}

#bannerColorTab {
	position: relative;
	font-weight: 500;
	font-size: 1.375rem;
	border-radius: clamp(20px, 2.5vw, 40px);
	padding: 40px 160px 40px 30px;
	background: #a3dff5;
}

#bannerColorTab::after {
	content: '';
	display: block;
	position: absolute;
	top: -34px;
	right: -20px;
	width: 159px;
	height: 174px;
	background: url('../img/icon-roboter-v2.png') center right no-repeat;
}

@media (max-width: 767px) {
	#bannerColorTab {
		padding: 30px clamp(100px, 11vw, 160px) 30px 10px;
	}

	#bannerColorTab::after {
		content: '';
		display: block;
		position: absolute;
		top: -34px;
		right: -40px;
		width: 159px;
		height: 174px;
		background: url('../img/icon-roboter-v2.png') center right no-repeat;
		transform: scale(0.7);
	}
}

#bannerColorTab,
#bannerColorTab * {
	color: #444444;
}

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

#bannerColorTab a {
	text-decoration: none;
}

#bannerColorTab .template-page :is(.row, .row>*) {
	position: static;
}

#bannerColorTab a::after {
	content: "";
	display: block;
	position: absolute;
	inset: 0;
	z-index: 2;
}

@media (min-width: 992px) {
	#bannerTab {
		background: rgba(103, 127, 52, 0.95);
	}

	#bannerColorTab {
		position: relative;
		margin-top: -100px;
		right: 60px;
		z-index: 12;
		margin-left: auto;
		max-width: 500px;
		width: 100%;
	}
}

@media (max-width: 991px) {
	#headerpic>.row {
		row-gap: 30px;
	}

	#bannerColorTab {
		margin-top: 30px;
	}
}

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

#content {
	text-align: left;
	padding-bottom: 30px;
	padding-top: clamp(30px, 5vw, 80px);
}

#information {
	padding-top: clamp(30px, 4vw, 60px);
	padding-bottom: clamp(30px, 4vw, 60px);
}

#information>.row {
	row-gap: 30px;
}

#information .headline {
	margin-bottom: 25px;
}

/* ----------------------------------------- events + news -------------------------------------- */

:is(#events, #news) .tab_link {
	font-size: 1rem;
}

:is(#events, #news) .tab_link a {
	color: inherit;
}

:is(#events, #news) .tab_link_title a {
	font-weight: 600;
}

:is(#events, #news) .tab_spacer,
:is(#events, #news) .tab_link .tab_link_mehr {
	display: none;
}

:is(#events, #news) .tab_link_mehr a::after {
	content: "\00BB";
	margin-left: 3px;
}

:is(#events, #news) .tab_link_entry {
	position: relative;
	border-bottom: none !important;
	padding: 20px;
	background: #ffffff;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

:is(#events, #news) .tab_link_entry+.tab_link_entry {
	margin-top: 25px;
}

:is(#events, #news) .tab_link_entry .tab_preview_picture {
	margin-bottom: 20px;
	display: block;
	z-index: 12;
}

:is(#events, #news) .tab_link_entry {
	margin-left: 185px;
	min-height: 120px;
}

:is(#events, #news) .tab_link_entry .tab_link_title a::before,
:is(#events, #news) .tab_link_entry .tab_preview_picture {
	position: absolute;
	display: block;
	top: 0;
	left: -185px;
	bottom: 0;
	width: 170px;
	overflow: hidden;
	margin: 0;
	border-radius: 20px;
}

:is(#events, #news) .tab_link_entry .tab_link_title a::before {
	content: "";
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #e4e4e4;
}

:is(#events, #news) .tab_preview_picture img {
	margin: 0 !important;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

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

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

h1,
.h1,
.legacy_h1 {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 900;
	letter-spacing: 1px;
}

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

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

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

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

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

/* ------------------------------------- leistungen + infos ------------------------------------- */

#leistungen {
	background: #e4e4e4 url(../img/deko-streifen-2neu.png);
	background-position: center right;
	background-repeat: no-repeat;
	padding: 50px 0;
}

#leistungen>.row,
#infos>.row {
	gap: 30px 0;
}

#leistungen>.row>*:first-child .tabHeadline {
	margin: 0;
}

#leistungen .tab {
	background: #fff top 10px right 20px no-repeat;
	border-radius: clamp(20px, 2.5vw, 40px);
	padding: 30px;
}

#leistungen>.row>*:nth-child(2) .tab {
	background-image: url(../img/icon-aktentasche2.png);
}

#leistungen>.row>*:nth-child(3) .tab {
	background-image: url(../img/icon-geldscheine2.png);
}

#leistungen>.row>*:nth-child(4) .tab {
	background-image: url(../img/relations-icon.png);
}

#infos {
	background: #e4e4e4 url(../img/deko-streifen-3.png);
	background-position: center left;
	padding: 50px 0;
}

#infos img {
	border-radius: clamp(20px, 2.5vw, 40px);
}

#infos :is(h1, h2, h3, h4, h5, h6) {
	color: #586d2c;
	font-size: clamp(1.625rem, 3.5vw, 2.1875rem);
}

#infos .row {
	align-items: center;
	align-content: center;
}

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

#events .tab_link_mehr {
	font-size: 0;
}

.buttonStyle:not([href^="mailto"], [href^="tel"]) a,
:is(#events, #news) .tab_link_mehr a {
	display: inline-block;
	background: #677f34;
	color: #fff;
	font-size: 1rem;
	border-radius: 15px;
	text-decoration: none;
	padding: 5px 20px;
	margin-top: 40px;
	transition: background 300ms;
}

.buttonStyle:not([href^="mailto"], [href^="tel"]) a:is(:hover, :focus),
:is(#events, #news) .tab_link_mehr a:is(:hover, :focus) {
	background: #677f34;
}

:is(#events, #news) .tab_link_mehr a {
	padding: 10px 20px;
}

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

@media (min-width: 992px) {
	footer {
		margin-top: clamp(30px, 10vw, 150px);
		position: relative;
	}

	footer::before {
		content: "Gemeinsam Zukunft gestalten";
		position: absolute;
		color: #444444;
		opacity: 0.15;
		font-size: clamp(2.5rem, 9vw, 7.0625rem);
		font-weight: 400;
		font-family: "Oswald", sans-serif;
		top: 1px;
		right: 30px;
		transform: translateY(-100%);
		line-height: 103px;
		overflow: hidden;
	}
}

/* ----------------------------------------- @19f footer ---------------------------------------- */

#f19 {
	color: #ffffff;
	padding-top: clamp(25px, 3vw, 30px);
	padding-bottom: clamp(25px, 3vw, 35px);
	background-color: #677f34;
}

#f19>.row>*+* {
	margin-top: 25px;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

#vernetzt span span {
	display: block;
}

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

#innerfooter ul {
	padding: 0;
}

#innerfooter li {
	font-size: 1rem;
	display: inline-block;
	color: #ffffff;
}

#innerfooter a {
	color: #ffffff;
	text-decoration: none;
	display: inline-block;
	font-weight: 400;
	font-size: 1rem;
}

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

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

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

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

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