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

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

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

a {
	color: #4d671f;
}

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

b,
strong {
	font-weight: 600;
}

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

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

#topbar {
	padding-top: 23px;
	background: #ffffff;
	position: relative;
}

@media (min-width: 1200px) {
	#topbar > .row::after {
		content: "";
		position: absolute;
		pointer-events: none;
		top: -23px;
		right: -365px;
		width: 216px;
		height: 220px;
		background: url("../img/eichhoernchen.png") center no-repeat;
	}
}

@media (min-width: 992px) {
	#topbar {
		z-index: 102;
		position: relative;
	}
}

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

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

#logo {
	display: inline-block;
	color: #191919;
	font-size: clamp(1.5625rem, 4vw, 2.1875rem);
	text-decoration: none !important;
	line-height: 1;
}

#logo b,
#logo strong {
	color: #57771d;
	font-size: clamp(1.875rem, 4vw, 3.5625rem);
	font-weight: 600;
}

#logo :is(i, em) {
	color: #57771d;
	font-size: clamp(1.875rem, 4vw, 3.5625rem);
	font-style: normal;
	font-weight: 400;
}

#logo img {
	display: block;
}

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

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
	nav.horizontally {
		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: #4d671f;
		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: 64px;
		right: 15px;
		z-index: 101;
	}

	.is-sticky .navbar-header {
		top: 15px;
	}

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

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

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally {
		background: rgba(255, 255, 255, 0.94);
		padding: 30px 0;
		transition: padding 200ms linear;
	}

	.is-sticky nav.horizontally {
		padding: 10px 0;
		box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.1);
	}

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

	nav.horizontally .navbar-nav li[class*="toplevel"] > ul {
		display: flex !important;
		flex-wrap: wrap;
		column-gap: 35px;
		pointer-events: none;
		position: absolute;
		opacity: 0;
		top: 100%;
		left: 0;
		right: 0;
		z-index: 1000;
		padding: clamp(30px, 4vw, 60px) clamp(20px, 3vw, 47px);
		margin-top: 30px;
		visibility: hidden;
		transition: opacity 300ms linear;
	}

	nav.horizontally .navbar-nav > li:is(.open, :hover) > ul,
	nav.horizontally .navbar-nav > li.open:focus-within > ul {
		pointer-events: auto !important;
		opacity: 1 !important;
		visibility: visible;
		top: 100%;
	}

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

	nav.horizontally li[class*="secondlevel"] {
		margin-bottom: 20px;
		width: 31%;
		border-bottom: 2px solid rgba(41, 35, 0, 0.2);
	}

	nav.horizontally [class*="secondlevel"] > ul {
		display: block !important;
	}
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
	color: #222222;
	font-weight: 400;
	text-align: left;
	padding: 12px 15px;
	position: relative;
	font-size: 1.25rem;
	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(46, 60, 72, 0.2);
	}
}

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

	nav.horizontally li[class*="toplevel"] + li {
		margin-left: 15px;
	}
}

@media (min-width: 992px) {
	.navbar-default .navbar-nav > li.dropdownpr > a::after {
		content: "";
		position: absolute;
		bottom: 0;
		left: calc(50% - 3px);
		display: block;
		width: 6px;
		height: 6px;
		border-right: 1px solid #222222;
		border-bottom: 1px solid #222222;
		transform: rotate(45deg);
	}
}

@media (min-width: 992px) {
	nav.horizontally a[class*="toplevel"]::before {
		content: "";
		position: absolute;
		pointer-events: none;
		bottom: 0;
		left: 0;
		right: 0;
		margin: auto;
		width: 47px;
		height: 55px;
		background: url("../img/hover-hauptmenue.png") center no-repeat;
		opacity: 0;
		transition: opacity 300ms linear;
	}
	nav.horizontally a[class*="toplevel"] {
		z-index: 1;
	}

	nav.horizontally a[class*="toplevel"]::before {
		z-index: -1;
	}
}

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

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.93);
}

@media (max-width: 991px) {
	nav.horizontally [class*="toplevel"] > ul {
		padding: 10px 0;
		box-shadow: inset -1px 0px 5px 0 rgba(0, 0, 0, 0.2);
	}
}

@media (min-width: 992px) {
	nav.horizontally [class*="toplevel"] > ul {
		box-shadow: 0 15px 50px 0 rgba(66, 58, 1, 0.2);
	}

	nav.horizontally [class*="toplevel"] > ul::before {
		content: "";
		position: absolute;
		display: block;
		height: 60px;
		left: 0;
		right: 0;
		top: -50px;
	}
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	color: #222222;
	text-align: left;
	position: relative;
	width: 100%;
	line-height: 1.2;
	text-decoration: none;
}

nav.horizontally a[class*="secondlevel"] {
	font-weight: 500;
	padding: 0 20px 0 0;
	margin-bottom: 10px;
	font-size: 1.125rem;
}

nav.horizontally a[class*="thirdlevel"] {
	font-weight: 400;
	padding: 5px 0;
	font-size: 1rem;
}

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

	nav.horizontally a[class*="thirdlevel"] {
		padding: 8px 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) {
	background: transparent;
	color: #57771d;
}

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

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

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

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

@media (min-width: 768px) {
	.slider-mask {
		display: block;
		background: url("../img/bogen-maske-banner.png") bottom center no-repeat;
	}
}

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

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

@media (min-width: 992px) {
	#content > .row::after {
		content: "";
		position: absolute;
		pointer-events: none;
		bottom: -60px;
		right: -60px;
		transform: translateX(100%);
		width: 240px;
		height: 306px;
		background: url("../img/waschbaer.png") center no-repeat;
	}
}

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

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

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

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

h3,
.h3,
.legacy_h3 {
	font-size: 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;
}

/* ----------------------------------------------- dekoBox -------------------------------------------- */

#dekoBox {
	background: #ffffff;
	position: relative;
}

@media (min-width: 1200px) {
	#counterModul > .row::before {
		content: "";
		position: absolute;
		pointer-events: none;
		bottom: -40px;
		left: -70px;
		transform: translateX(-100%);
		width: 258px;
		height: 401px;
		background: url("../img/wildschwein.png") center no-repeat;
	}
}

/* ----------------------------------------------- @1nw news -------------------------------------------- */

#nw1 {
	padding-top: clamp(30px, 4vw, 55px);
	padding-bottom: 30px;
	background: #ffffff;
	position: relative;
}

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

#nw1 .tab a {
	text-decoration: none !important;
	display: inline-block;
	position: relative;
	text-align: right;
	color: #222;
	font-weight: 400;
	padding: 10px 30px;
	font-size: 1.125rem;
	background-color: #fff;
	outline: 2px solid #4d671f;
	border-radius: 10px;
}

#nw1 .tab a:hover,
#nw1 .tab a:focus {
	color: #ffffff;
	background-color: #4d671f;
}

#nw1 :is(h1, h2, h3, h4, h5, h6) {
	color: #4d671f;
	font-weight: 700;
	hyphens: auto;
	font-size: clamp(1.875rem, 3vw, 2.8125rem);
}

#nw1 .tab,
#nw1 .tab_link,
#nw1 .tab_link > div {
	height: 100%;
	min-height: 100%;
}

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

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

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

#nw1 .tab_link_entry {
	font-size: 1rem;
	position: relative;
	width: 100%;
	border-radius: 3px;
	padding: 200px 30px 30px 30px;
	background: #4d671f;
	color: #fff;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	border-radius: 10px;
}

#nw1 .vorschau {
	opacity: 1;
}

#nw1 .tab_preview_picture {
	background: #ffffff;
}

#nw1 .tab_link_entry::before,
#nw1 .tab_link_entry .tab_preview_picture {
	position: absolute;
	display: block;
	top: -1px;
	left: -1px;
	right: -1px;
	height: 180px;
	overflow: hidden;
	border-radius: 10px 10px 0 0;
}

#nw1 .tab_link_entry::before {
	content: "";
	background:
		center / cover no-repeat,
		#666666;
}

#nw1 .tab_preview_picture img {
	position: absolute;
	margin: 0 !important;
	left: 50%;
	top: 50%;
	max-width: none;
	min-width: 100%;
	min-height: 100%;
	max-width: 350px;
	width: auto;
	height: auto;
	-ms-interpolation-mode: bicubic;
	transform: translateX(-50%) translateY(-50%);
}

#nw1 .tab_link_title a {
	display: block;
	font-weight: 600;
	font-size: 1rem;
	color: #fff;
	line-height: 1.2;
	margin-bottom: 8px;
}

#nw1 .tab_link_entries + div,
#nw1 .tab_link_entries .tab_spacer,
#nw1 .tab_link_entry > div:nth-last-child(2) {
	display: none;
}

#counterModul {
	padding: 40px 0;
	background: #ffffff;
}

/* #region -------------------------------- aktuelles + news ------------------------------------ */

#newsSide {
	background-color: #eef1e8;
	padding-bottom: 6px;
	padding-top: 100px;
}

@media (min-width: 1200px) {
	#newsSide {
		background:
			url("../img/hirsch.png") bottom right no-repeat,
			#eef1e8;
	}
}

#newsSide article {
	background-color: #fff;
}

#newsSide a {
	color: inherit;
}

#newsSide .tabHeadline {
	color: #4d671f;
	font-size: 1.75rem;
	margin-bottom: 28px;
}

#newsSide :is(.tabHeadline, .tab_link_title) {
	font-weight: 600;
}

#newsSide .tab {
	padding: 30px;
}

@media (min-width: 768px) {
	#news .tab {
		padding-left: clamp(15px, 2vw, 35px);
	}

	#events .tab {
		padding-right: clamp(15px, 2vw, 35px);
	}
}

#newsSide .tab_spacer {
	height: 25px;
}

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

#newsSide #tab1 .tab,
#newsSide #tab2 .tab,
#newsSide #tab3 .tab,
#newsSide #tab4 .tab {
	position: relative;
	z-index: 2;
}

#newsSide #tab1 .tab::before,
#newsSide #tab3 .tab::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: -170px;
	height: 100%;
	background: #fff;
	width: 300px;
	z-index: -1;
	border-radius: 100% 0 0 100%;
}

#newsSide #tab2 .tab::before,
#newsSide #tab4 .tab::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	right: -170px;
	height: 100%;
	background: #fff;
	border-radius: 0 100% 100% 0;
	width: 300px;
	z-index: -1;
}

#newsSide #tab1,
#newsSide #tab2,
#newsSide #tab3,
#newsSide #tab4 {
	background-color: #fff;
	margin-bottom: 60px;
	box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
}

#newsSide .pic {
	padding-left: 0;
	padding-right: 0;
}

#newsSide .pic .banner {
	line-height: 0;
	height: 100%;
}

#newsSide .pic .banner img {
	width: 100%;
	object-fit: cover;
	object-position: center;
	height: 100%;
}

/* #endregion -------------------------------- aktuelles + news ------------------------------------ */

/* ----------------------------------------------- @4f footer ----------------------------------------------- */

#f4 {
	overflow: hidden;
	background-color: #f9f9f9;
}

@media (min-width: 1200px) {
	#footer {
		position: relative;
	}

	#footer::after {
		content: "";
		position: absolute;
		pointer-events: none;
		bottom: 16px;
		left: -365px;
		width: 345px;
		height: 291px;
		background: url("../img/fuchs.png") center no-repeat;
	}
}

#f4 .tabHeadline {
	font-size: 1.875rem;
	font-weight: 700;
	color: #4d671f;
	margin-bottom: 10px;
}

#f4 a[href^="mailto:"] {
	color: #4d671f;
}

#f4 .tab {
	padding-top: 40px;
	padding-bottom: 30px;
	margin-bottom: 30px;
	border-bottom: 1px solid #4d671f;
}

@media (min-width: 992px) {
	#f4 .tab {
		padding-top: 60px;
		padding-bottom: 50px;
		margin-bottom: 60px;
	}
}

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

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

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

#vernetzt span {
	display: block;
}

#counter {
	border-radius: 5px;
	border: 2px solid #191919;
	padding: 8px 15px;
	display: inline-block;
	margin-bottom: 60px;
}

#counter-l,
#counter-r {
	display: inline-block;
}

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

#innerfooter {
	margin-top: auto;
	padding: 30px 0;
	position: relative;
	background: #4d671f;
}

#innerfooter::before {
	content: "";
	position: absolute;
	pointer-events: none;
	display: block;
	top: -70px;
	width: 100%;
	height: 73px;
	background: url("../img/bogen-maske-footer.png") no-repeat;
}

#innerfooter::after {
	width: 800px;
	right: -800px;
	left: unset;
}

#innerfooter ul {
	padding: 0;
}

#innerfooter li {
	display: inline-block;
}

#innerfooter li + li {
	margin-left: 25px;
}

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

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

@media (max-width: 767px) {
	#innerfooter {
		padding: 30px 0;
	}

	#innerfooter li {
		display: block;
		text-align: center;
		padding: 5px;
		margin: 0;
	}

	#innerfooter li + li {
		margin-left: 0;
	}
}
