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

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

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

a {
	color: #7b5710;
}

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

b,
strong {
	font-weight: 600;
}

#over {
	overflow: clip;
	position: relative;
}

/* ------------------------------------------------- topbar ------------------------------------------------ */

#topbar {
	z-index: 1;
	position: relative;
	background: #437e1b;
	padding: 10px 0;
	font-size: 1rem;
	color: #fff;
}

#topbar .contactElement {
	padding-left: 50px;
	position: relative;
}

.topbarMobil :is(h1, h2, h3, h4, h5, h6, a),
#topbar :is(h1, h2, h3, h4, h5, h6, a) {
	color: #fff;
}

.topbarMobil a,
#topbar a {
	text-decoration: underline;
}

#topbar .phoneElement {
	border-left: 2px solid #ffffffb7;
	margin-left: 20px;
	padding-left: 50px;
}

#topbar .contactElement::before {
	content: "";
	width: 40px;
	height: 40px;
	background-position: center;
	background-repeat: no-repeat;
	display: block;
	position: absolute;
	left: 8px;
	top: 50%;
	transform: translateY(-50%);
}

.topbarMobil .phoneElement::before,
#topbar .phoneElement::before {
	background-image: url(../img/telefon-icon.png);
}

.topbarMobil .mailElement::before,
#topbar .mailElement::before {
	background-image: url(../img/mail-icon.png);
}

@media (max-width: 991px) {
	.topbarMobil {
		background: #437e1b;
		padding: 10px;
		font-size: 0.875rem;
		color: #ffffff;
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	.topbarMobil .contactElement {
		padding-left: 18px;
		hyphens: auto;
		position: relative;
	}

	.topbarMobil .contactElement::before {
		content: "";
		width: 15px;
		height: 15px;
		background-position: center;
		background-repeat: no-repeat;
		display: block;
		position: absolute;
		left: 8px;
		top: 50%;
		transform: translateY(-50%);
		background-size: contain;
	}
}

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

#logo {
	display: inline-block;
}

#logo img {
	display: block;
}

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

@media (min-width: 992px) {
	#logo {
		background: #fff;
		padding: 10px;
		margin-top: -120px;
		margin-bottom: -90px;
		border-top-left-radius: 100%;
		border-top-right-radius: 100%;
		padding-top: 20px;
		padding-left: 15px;
		padding-right: 15px;
		transition: all 0ms linear;
	}

	.is-sticky #logo {
		margin: 0;
		padding: 0;
		background: transparent;
	}
}

@media (min-width: 1200px) {
	#logo {
		padding-top: 40px;
		padding-left: 30px;
		padding-right: 30px;
		margin-right: -50px;
		margin-top: -148px;
	}
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
	#menu {
		padding: 10px 0;
		background-color: #ffffff;
		position: static !important;
	}

	#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: #5aac25;
		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: #fff;
		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: 7px;
	}

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

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally {
		background-color: rgba(255, 255, 255, 0.95);
	}

	.is-sticky #menu {
		box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
	}

	#menu > .row {
		max-width: 1440px;
		width: 100%;
	}

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

	nav.horizontally .navbar-nav > li {
		flex-grow: 1;
	}

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

/* toplevel */

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

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

	nav.horizontally li[class*="toplevel"] + li {
		border-top: 1px solid rgba(0, 0, 0, 0.1);
	}

	nav.horizontally a[class*="toplevel"] {
		overflow-wrap: break-word;
		word-wrap: break-word;
		-webkit-hyphens: auto;
		-ms-hyphens: auto;
		-moz-hyphens: auto;
		hyphens: auto;
	}
}

@media (min-width: 992px) {
	nav.horizontally a[class*="toplevel"] {
		text-align: center;
		padding: 60px 10px;
		font-size: 19px;
	}

	.is-sticky nav.horizontally a[class*="toplevel"] {
		padding: 40px 10px;
	}
}

nav.horizontally a[class*="toplevel"]::before {
	content: "";
	width: 100%;
	height: 8px;
	background: #5e913c;
	display: block;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%);
	opacity: 0;
	transition: opacity 200ms linear;
}

@media (max-width: 991px) {
	nav.horizontally a[class*="toplevel"]::before {
		height: 4px;
	}
}

/* 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) {
	background-color: #fbfcfb;
}

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

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	background-color: rgba(255, 255, 255, 0.94);
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	color: #2d2d2d;
	font-weight: 400;
	text-align: left;
	padding: 8px 25px;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
}

@media (max-width: 991px) {
	nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
		font-size: 1rem;
		overflow-wrap: break-word;
		word-wrap: break-word;
		-webkit-hyphens: auto;
		-ms-hyphens: auto;
		-moz-hyphens: auto;
		hyphens: auto;
	}

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

/* secondlevel + thirdlevel over */

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within) > a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]) > a:is(:hover, :focus),
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open > a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open > a:is(:hover, :focus),
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"] > a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"] > a:is(:hover, :focus) {
	background: #437e1b;
	color: #fff;
}

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

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

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

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

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

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

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

.slider-mask {
	display: none;
}

.video_wrapper {
	width: 100%;
	height: auto;
	max-height: clamp(400px, 62vw, 520px) !important;
	overflow: hidden;
	position: relative;
}

.body-video-background {
	width: 100%;
	z-index: 0;
	position: relative;
	margin-top: -40%;
	max-width: 100%;
	/*object-fit: cover;*/
}

@media (max-width: 991px) {
	.body-video-background {
		margin-top: 0%;
	}

	#hideVideoOnMobile {
		display: none;
	}
}

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

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

/* -------------------------------------- tabs------------------------------------- */

#tabs {
	padding-bottom: clamp(50px, 7vw, 100px);
	background-size: cover;
	background-position: center;
}

@media (max-width: 991px) {
	#tabs > .row > div {
		margin-top: 30px;
	}
}

@media (min-width: 992px) {
	#tabs {
		margin-top: 80px;
	}

	#tabs .tab {
		margin-top: -100px;
	}
}

#tabs .tab {
	position: relative;
	overflow: hidden;
	border-top-left-radius: 50px;
	border-top-right-radius: 50px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	border: 2px solid #fff;
	transition: border-color 200ms linear;
}

#tabs img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

#tabs .tab:hover {
	border-color: #437e1b;
}

#tabs .tabHeadline {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	display: block;
	width: 100%;
	margin: 0;
	pointer-events: none;
	text-align: center;
	padding: clamp(30px, 4vw, 40px) 0;
	background: rgba(255, 255, 255, 0.95);
	text-transform: uppercase;
	font-size: clamp(1.5rem, 3vw, 1.75rem);
	hyphens: auto;
}

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

.buttonStyle a {
	display: inline-block;
	padding: 10px 30px;
	color: #fff;
	border-radius: 30px;
	text-transform: uppercase;
	border: 2px solid #fff;
	font-weight: 700;
	text-decoration: none;
	transition:
		border-color 200ms linear,
		background-color 200ms linear;
	font-size: clamp(1rem, 2vw, 1.125rem);
}

.buttonStyle a:is(:hover, :focus) {
	background-color: #437e1b;
	border-color: #437e1b;
	text-decoration: none;
}

.buttonStyleColor a {
	background-color: #fff;
	border-color: #437e1b;
	color: #437e1b;
}

.buttonStyleColor a:is(:hover, :focus) {
	background-color: #437e1b;
	color: #fff;
}

/* -------------------------------------- breakerElement ------------------------------------- */

#breakerElement {
	color: #fff;
	padding: 60px 0;
	background-position: center;
	background-repeat: no-repeat;
}

#breakerElement :is(h1, h2, h3, h4, h5, h6, a) {
	color: #fff;
}

#breakerElement h3 {
	font-weight: 600;
	font-size: 2.125rem;
}

/* ----------------------------------------------- @13ev events -------------------------------------------- */

#ev13 {
	padding-top: clamp(30px, 4vw, 55px);
	padding-bottom: clamp(30px, 5vw, 85px);
	background: url(../img/deko-reh.png) no-repeat bottom right 100px;
}

#ev13 .tabHeadline {
	font-size: clamp(1.75rem, 2vw, 2.375rem);
	margin: 0;
}

#ev13 .tab_link_mehr {
	color: transparent;
	font-size: 0;
}

#ev13 > .row {
	row-gap: clamp(30px, 3vw, 45px);
}

#ev13 .tab_link_entries {
	display: grid;
	gap: 30px;
}

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

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

#ev13 .tab_link_entry {
	width: 100%;
	padding: 35px 20px 40px 20px;
	display: grid;
	color: #2d2d2d;
	background: #fff;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
	border-top: 10px solid #cce3bd;
}

#ev13 .tab_link_mandat a {
	color: #ffffff;
}

#ev13 .tab_link_title a {
	font-weight: 700;
	color: #437e1b;
	font-size: 1.25rem;
}

#ev13 .tab_link .tab_link_mehr,
#ev13 .tab_spacer,
#ev13 .tab_preview_picture {
	display: none;
}

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

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

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

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

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

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

h5,
.h5,
.legacy_h5 {
	font-size: clamp(1.375rem, 3.5vw, 1.875rem);
}

h6,
.h6,
.legacy_h6 {
	font-size: clamp(1.25rem, 3vw, 1.5625rem);
}

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

#footerTop {
	hyphens: auto;
	color: #fff;
	border-top: 10px solid #cce3bd;
	background: #203f0b;
}

#footerBottom {
	background: #437e1b;
}

@media (min-width: 1200px) {
	#footerTop > .row,
	#footerBottom > .row {
		max-width: 1440px;
		width: 100%;
	}
}

@media (max-width: 991px) {
	#footerBottom {
		padding: 10px 0;
	}

	#footerBottom > .row {
		row-gap: 10px;
	}
}

#footerTop .tabHeadline {
	font-size: clamp(1.625rem, 3vw, 1.875rem);
}

address.tabContent a {
	text-decoration: underline;
}

#footerTop :is(h1, h2, h3, h4, h5, h6, a) {
	color: #fff;
}

#footerTop .backgroundElement {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

#footerTop .backgroundElement::before {
	content: "";
	position: absolute;
	top: -10px;
	left: 0;
	height: 10px;
	width: 100%;
	background: #203f0b;
	display: block;
}

@media (min-width: 768px) {
	#footerTop .backgroundElement > .tabContent {
		padding: 0 40px;
		width: 100%;
	}

	#footerTop .tabContactAddress {
		padding-left: 50px;
	}

	#footerTop > .row > .col-xs-12 {
		padding: 80px 0;
	}
}

@media (max-width: 767px) {
	.backgroundElement > .tabContent,
	#footerTop .tab {
		padding: 40px 0;
	}
}

/*  innerfooter  */

#innerfooter {
	font-size: 1rem;
}

#innerfooter ul {
	padding: 0;
}

#innerfooter ul li {
	flex-grow: 1;
}

#innerfooter a {
	color: #fff;
	text-decoration: none;
	font-weight: 400;
}

@media (min-width: 992px) {
	#innerfooter ul {
		display: flex;
		align-items: center;
	}

	#innerfooter a {
		padding: 30px 15px;
		display: block;
		text-align: center;
	}

	#innerfooter a:hover,
	#innerfooter a:focus {
		background: #3e7619;
	}
}

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

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

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

/*  scrollTopBtn  */

#scrollTopBtn {
	width: 50px;
	height: 50px;
	border-radius: 100%;
	display: block;
	border: 2px solid #fff;
	font-size: 0;
	margin-left: auto;
	position: relative;
}

#scrollTopBtn:is(:hover, :focus) {
	background-color: #203f0b;
}

#scrollTopBtn::after {
	content: "";
	display: block;
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-bottom: 8px solid white;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

/* #endregion -------------------------------- footer ------------------------------------------- */

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

#vernetzt {
	gap: 18px;
	text-align: left;
	font-size: 0.875rem;
	color: #ffffff;
	line-height: 1.3;
	font-weight: 400;
	text-decoration: none;
}

#vernetzt span span {
	display: block;
}
