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

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

body {
	font-family: "Open Sans", sans-serif;
	color: #252525;
	background: #eef6e5;
	font-size: 1rem;
	/* 1rem = 16px */
	line-height: 1.6;
}

a {
	color: #437218;
}

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

.linkUnderline a:not(.has-image, .shareButtonLink) {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: text-decoration 300ms;
}

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

b,
strong {
	font-weight: 600;
}

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

#topbar {
	padding: clamp(12px, 2vw, 24px) 0;
}

@media (max-width: 991px) {
	.social {
		margin-bottom: 20px;
	}
}

.social img {
	margin: 0 3px;
	vertical-align: middle;
}

/* LOGO MIT TEXT -------------------------------------------------------- */

.logo {
	display: flex;
	flex-wrap: wrap;
	gap: 15px 15px;
	text-decoration: none !important;
}

@media (max-width: 991px) {
	.logo {
		gap: 10px;
	}
}

.logo .template-page {
	width: auto;
}

.logo .cleaner {
	display: none;
}

.logoText {
	color: #252525;
	font-size: clamp(1rem, 1vw, 1.125rem);
	align-content: center;
	line-height: 1.1;
}

.logoText :is(b, strong) {
	display: block;
	color: #594c46;
	font-weight: 600;
	font-size: clamp(1.125rem, 3vw, 1.4375rem);
}

.logoText br {
	display: none;
}

@media (max-width: 575px) {
	.logoText {
		hyphens: auto;
	}
}

.logo img {
	display: block;
	max-width: 30vw;
}

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

/* LOGO MIT TEXT -------------------------------------------------------- */

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

/* burgermenu for tablet */

@media (max-width: 991px) {
	#burgerButton {
		font-size: 0;
		display: block;
		height: 50px;
		width: 60px;
		border-radius: 2px;
		padding: 6px 8px;
		cursor: pointer;
		background: #ffffff;
		border: none !important;
		box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
	}

	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		background-color: #437218;
		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;
		border-bottom: 1px solid #ebebeb;
		padding-bottom: 20px;
	}

	.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: 5px;
	}

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

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally {
		transition: background 300ms linear, box-shadow 300ms linear;
	}

	.is-sticky nav.horizontally {
		box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.15);
		background: #ffffff;
	}

	nav.horizontally .navbar-nav {
		border-top: 1px solid #7a6a60;
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		align-items: center;
	}

	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:is(.open:focus-within, :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-within)>ul {
		z-index: 1003;
	}
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
	color: #594c46;
	font-weight: 600;
	text-align: left;
	padding: 12px 15px;
	text-transform: uppercase;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
}

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

	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"] {
		padding: 24px 0;
		text-align: center;
	}

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

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

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	-webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15);
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15);
}

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

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

	nav.horizontally [class*="toplevel"]>ul {
		left: 0;
		border-bottom-left-radius: 4px;
		border-bottom-right-radius: 4px;
	}

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

	nav.horizontally [class*="secondlevel"]>ul::before {
		content: "";
		display: block;
		position: absolute;
		width: 20px;
		top: 0;
		bottom: 0;
		left: -20px;
	}
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	background: #ffffff;
	font-weight: normal;
	text-align: left;
	padding: 10px 18px;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	color: #252525;
}

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

/* secondlevel + thirdlevel over */

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

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

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

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

#slider {
	padding: 0;
	position: relative;
	max-height: clamp(230px, 46vw, 270px);
}

.slider-wrapper {
	background: #fff;
}

@media (min-width: 992px) {
	body.index :is(#slider) {
		max-height: clamp(280px, 68vw, 320px);
	}

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

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

#headerpic {
	position: relative;
	background: #7a6a60;
}

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

.slider-mask {
	display: none;
}

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

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

#contentWrap {
	text-align: left;
	row-gap: 40px;
	padding: 30px 15px;
	background: #fff;
	position: relative;
	height: 100%;
}

@media (min-width: 992px) {
	#contentWrap {
		padding: clamp(30px, 4vw, 60px) 30px clamp(40px, 6vw, 100px) 30px;
	}

	#contentWrap::after {
		content: "";
		position: absolute;
		left: 0;
		bottom: -30px;
		max-height: calc(100% + 30px);
		background: url(../img/gemuese.png);
		width: 261px;
		height: 905px;
		left: 60px;
		transform: translateX(-100%);
		background-position: bottom center;
		background-repeat: no-repeat;
	}

	.index #contentWrap {
		padding-right: 170px;
	}
}

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

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

h1,
.h1 {
	font-size: 1.875rem;
}

h2,
.h2 {
	font-size: 1.75rem;
}

h3,
.h3 {
	font-size: 1.625rem;
}

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

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

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

/* #region ------------------------------------ tabs -------------------------------------------- */

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

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

@media (min-width: 1200px) {
	#tabs {
		padding-left: 42px;
	}
}

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

#tabs .tab {
	background: #eef6e5;
	box-shadow: 2.5px 4.33px 10px 0px rgba(49, 92, 0, 0.1);
	padding: 30px 20px;
	text-align: center;
	font-size: .9375rem;
}

#tabs .tabHeadline {
	margin: 0 0 12px 0;
	color: #2b2b2b;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 1.25rem;
}

#tabs .tabContent {
	color: #525252;
	font-size: 0.875rem;
}

#tabs .tab_link_title a {
	color: inherit;
	font-weight: 600;
}

#tabs .tab_spacer {
	height: 15px;
}

#tabs .tab_link_mehr {
	text-align: center;
	font-size: 0;
}

:is(#tabs .tab_link_mehr, .buttonStyle) a:not([href^="mailto"], [href^="tel"]) {
	color: #ffffff;
	font-weight: 600;
	background: #594c46;
	border-radius: 2px;
	display: inline-block;
	padding: 4px 13px;
	font-weight: 600;
	font-size: .875rem;
	text-decoration: none;
}

.buttonStyle a:not([href^="mailto"], [href^="tel"]) {
	margin-top: 20px;
}

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

/* #endregion --------------------------------- tabs -------------------------------------------- */

/* ------------------------------------------- tab deko ----------------------------------------- */

#tabs .imgTab .banner {
	background-color: #437218;
	position: relative;
	min-height: 60px;
	display: block;
}

#tabs .imgTab .banner img {
	display: block;
	width: 100%;
}

/* ------------------------------------------- breaker ------------------------------------------- */

#breaker {
	padding: 50px 0;
	background-position: center;
	background-size: cover;
}

#breaker .tab {
	background: #fff;
	padding: 30px;
	font-size: clamp(1rem, 2vw, 1.25rem);
}

#breaker .tabHeadline {
	text-transform: uppercase;
	font-size: 1.25rem;
	font-weight: 700;
}

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

footer {
	background-color: #7a6a60;
	padding: 30px 0;
	color: #a2bfc4;
}

footer>.row {
	row-gap: 30px;
}

#innerfooter ul {
	padding: 0;
}

#innerfooter a {
	color: #fff;
	text-decoration: none;
	display: inline-block;
	font-size: 0.9375rem;
}

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

@media (min-width: 576px) {
	#innerfooter li {
		display: inline-block;
	}

	#innerfooter li+li::before {
		content: "|";
		margin: 0 clamp(10px, 2vw, 20px);
		color: #fff;
	}
}

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

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

#vernetzt span span {
	display: block;
}