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

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

body {
	font-family: "Source Sans 3", sans-serif;
	color: #2a2a2a;
	background: #edf5e4;
	font-weight: 400;
	font-size: clamp(1rem, 2vw, 1.125rem);
	/* 1rem = 16px */
	line-height: 1.5;
}

a {
	color: #567718;
}

a:is(:hover, :focus) {
	color: #567718;
	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;
}

#over {
	overflow: hidden;
}

.rowWide {
   max-width: 1440px;
   width: 100%;
}

/* ------------------------------------------- header ------------------------------------------- */

#logoMobil img {
	max-width: calc(100vw - 120px);
	width: 100%;
	max-height: 85px;
}

.logo {
	display: inline-block;
}

.logo img {
	display: block;
}

.contact-information {
	position: relative;
	font-size: 1rem;
	font-weight: 400;
	color: #2d2d2d;
}

.contact-information :is(h1, h2, h3, h4, h5, h6) {
	margin: 0;
	margin-bottom: 5px;
	font-size: 1.375rem;
	font-weight: 600;
	color: #2a2a2a;
	font-family: "Source Sans 3", sans-serif;
}

.contact-information :is(h1, h2, h3, h4, h5, h6) :is(em, i) {
	font-style: normal;
	font-weight: 400;
	display: block;
	font-family: "Source Sans 3", sans-serif;
}

@media (max-width: 991px) {
	.contact-information :is(h1, h2, h3, h4, h5, h6, a),
	.contact-information {
		color: #ffffff;
	}
}

.buttonStyle a {
	margin-top: 10px;
	display: inline-block;
	text-decoration: none !important;
	text-transform: uppercase;
	position: relative;
	font-weight: 600;
	color: #567718;
	font-size: 0.9375rem;
	padding: 5px 20px;
	border: 1px solid #567718;
	background: #edf5e4;
}

.buttonStyle a:hover,
.buttonStyle a:focus {
	color: #ffffff;
	background: #567718;
}

#footer .buttonStyle a {
	font-size: 0.875rem;
	color: #2a2a2a;
	padding: 9px 20px;
	border-color: #edf5e4;
	background: transparent;
}

#footer .buttonStyle a:hover,
#footer .buttonStyle a:focus {
	color: #567718;
	background: #ffffff;
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
	.navbar-collapse > .row {
		padding-top: 15px;
		padding-bottom: 10px;
	}

	nav.horizontally {
		margin-top: 100px;
	}

	#burgerButton {
		font-size: 0;
		border: none !important;
		position: absolute;
		z-index: 1002;
		display: block;
		width: 46px;
		height: 40px;
		border-radius: 2px;
		cursor: pointer;
		background-color: #edf5e4;
		padding: 3px;
		right: 12px;
		top: 50%;
		margin-top: -20px;
	}

	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		background-color: #567718;
		border-radius: 2px;
		position: absolute;
		width: 40px;
		height: 3px;
		left: 2px;
		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: 11px;
	}

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

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

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

	.navbar-collapse {
		width: calc(100% - 90px);
		max-width: 300px;
		top: 70px;
		background: #a1c75d;
		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) {
		top: 100px;
		left: 0;
		opacity: 1;
		pointer-events: auto;
		visibility: visible;
		box-shadow: 250px 0 50vw 50vw rgba(0, 0, 0, 0.6);
	}

	.navbar-header {
		line-height: 1;
		padding: 10px 15px;
		background-color: #edf5e4;
		position: fixed;
		top: 0;
		right: 0;
		left: 0;
		z-index: 101;
		box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
	}

	.dropdown-toggle-button-wrapper,
	.dropdown-toggle-button-wrapper2 {
		z-index: 1;
	}

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

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

/* menu desktop */

@media (min-width: 992px) {
	#menu {
		background: linear-gradient(to bottom, rgba(0, 0, 0, 0.09), transparent 6px), #a1c75d;
	}

	.is-sticky #menu {
		left: unset !important;
		box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.15);
	}

	nav.horizontally .dropdown-menu {
		min-width: 340px;
	}

	.navbar-collapse > .row {
		padding-top: 25px;
		padding-bottom: 15px;
	}

	nav.horizontally {
		background: #edf5e4;
	}

	nav.horizontally .navbar-nav {
		display: flex;
		justify-content: space-between;
		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;
		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: #2a2a2a;
	font-weight: 400;
	padding: 10px 35px;
	position: relative;
	font-family: "Exo", sans-serif;
	z-index: 1;
	font-size: 1.5rem;
	line-height: 1.2;
	text-decoration: none;
}

@media (min-width: 992px) {
	nav.horizontally a[class*="toplevel"] {
		padding: 20px 14px;
		display: flex;
		align-content: center;
		align-items: center;
		justify-content: center;
		height: 100%;
		text-align: center;
	}
}

nav.horizontally a[class*="toplevel"]::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 4px;
	opacity: 0;
	z-index: -1;
	background: #f0ecd9;
	transition: opacity 300ms linear;
}

/* toplevel-over */

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

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	padding: 10px 0;
	background-color: rgba(237, 245, 228, 0.95);
	box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2);
}

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

@media (min-width: 992px) {
	nav.horizontally [class*="toplevel"] > ul {
		margin-top: 4px;
	}

	nav.horizontally [class*="secondlevel"] > ul {
		margin: -10px 0 0 4px;
	}

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	background-color: transparent;
	color: #2d2d2d;
	font-weight: 400;
	padding: 6px 35px;
	font-size: 1.0625rem;
	line-height: 1.2;
	text-decoration: none;
}

@media (min-width: 992px) {
	nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
		text-align: left;
		padding: 6px 15px;
	}
}

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::before {
	content: "\2013";
	margin-right: 30px;
}

/* 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: #567718;
	background-color: transparent;
}

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

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

#slider {
	max-height: clamp(300px, 30vw, 575px);
	overflow: hidden;
	position: relative;
}

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

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

	body.index #headerpic a.nivo-nextNav {
		right: 65px;
		top: 45%;
	}

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

	.theme-nivo .nivo-controlNav {
		bottom: clamp(10px, 8vw, 30px);
	}
}

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

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

.slider-mask {
	display: block;
	background: url("../img/overlay.png") center bottom / 100% auto no-repeat;
}

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

.button-style a {
	color: #567718;
	text-transform: uppercase;
	font-weight: 600;
	display: inline-block;
	text-align: center;
	font-size: 0.9375rem;
	text-decoration: none;
	min-width: 110px;
	padding: 6px clamp(10px, 2vw, 20px);
	margin-top: 15px;
	transition:
		background-color 300ms linear,
		color 300ms linear,
		border 100ms linear;
}

#footer .button-style a {
	color: #567718;
	background: #ffffff;
	text-decoration: none;
}

#footer .button-style a:is(:hover, :focus) {
	background: #567718;
	color: #fff;
}

.button-style a + a {
	margin-left: 20px;
}

/* -------------------------------------------- main ----------------------------------------- */

main {
	background-size: cover;
	background-position: center bottom;
	background-repeat: no-repeat;
}

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

#content {
	text-align: left;
	padding: 45px 0;
}

#content > .row {
	padding-top: 20px;
	padding-bottom: 20px;
	background-color: #ffffff;
}

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

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

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

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

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

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

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

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

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

#footer {
	background: #a1c75d;
	padding: 40px 0 28px 0;
	color: #2a2a2a;
	position: relative;
	line-height: 1.4;
	font-size: 1.125rem;
}

@media (max-width: 991px) {
	:is(#footer, #innerfooter) > .row > .col-xs-12 + * {
		border-top: 1px solid #89a853;
		margin-top: 20px;
		padding-top: 20px;
	}
}

@media (min-width: 768px) {
	#innerfooter > .row > .col-xs-12 + :nth-child(2) {
		border: none;
		margin-top: 0;
		padding-top: 0;
	}
}

#footer a {
	color: #2a2a2a;
	text-decoration: underline;
}

.footerHeadline {
	color: #2a2a2a;
	margin: 0 0 10px 0;
	font-size: 1.875rem;
}

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

#innerfooter {
	color: #2a2a2a;
	border-top: 1px solid #89a853;
	background-color: #a1c75d;
	padding: 20px 0;
	font-size: 1rem;
}

#innerfooter ul {
	padding: 0;
}

#innerfooter li {
	display: inline-block;
}

.innerfooter a {
	color: #2a2a2a;
	text-decoration: none;
	display: inline-block;
	padding: 10px 12px;
}

.innerfooter a:is(:hover, :focus) {
	color: #2a2a2a;
	background: rgba(136, 160, 81, 0.3);
}

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

@media (max-width: 575px) {
	#innerfooter li {
		display: block;
		line-height: 2;
	}
}

/* ------------------------------------------- scroll top --------------------------------------- */

#scrollTop {
	font-size: 0;
	width: 33px;
	height: 33px;
	display: block;
	position: relative;
	margin: 0 auto;
	background: #ffffff;
}

@media (min-width: 768px) {
	#scrollTop {
		margin-right: 0;
	}
}

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

#scrollTop::after {
	content: "";
	position: absolute;
	left: 10px;
	top: 3px;
	width: 10px;
	height: 10px;
	border-radius: 2px;
	margin-top: 10px;
	display: inline-block;
	border-right: 3px solid #567718;
	border-top: 3px solid #567718;
	transform: rotate(-45deg);
	transition: border 300ms linear;
}

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

#vernetzt {
	gap: 14px;
	text-align: right;
	color: #2a2a2a;
	line-height: 1.3;
	font-weight: 400;
	text-decoration: none;
	font-size: 0.8125rem;
}

#vernetzt span span {
	display: block;
}
