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

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

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

@media (min-width: 1200px) {
	body.index {
		background-image: url("../img/stadtzeichnung-header.png");
		background-position: top 420px left;
		background-repeat: no-repeat;
	}
}

a {
	color: #3b7d3f;
}

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

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

#topbar {
	padding: 20px 0 5px 0;
	letter-spacing: 1px;
}

@media (max-width: 575px) {
	#topbar {
		border-bottom: 1px solid rgba(0, 0, 0, 0.2);
	}
}

@media (max-width: 991px) {
	.is-sticky #topbar {
		position: static !important;
	}
}

#topbar>.row {
	row-gap: 20px;
}

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

	.is-sticky #topbar {
		background-color: #ffffff;
		box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
		padding: 5px 0;
	}

	.topbar-col {
		column-gap: 35px;
		margin-bottom: 35px;
	}

	.is-sticky .topbar-col {
		margin-bottom: 0;
	}
}

#logo {
	display: inline-block;
}

#logo img {
	display: block;
	transition: max-width 150ms linear;
}

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

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

/* ------------------------------------------- styler ------------------------------------------- */

@media (min-width: 992px) {
	#style {
		margin-right: -10px;
	}

	#style h2 {
		font-size: 0.8125rem;
		color: inherit;
		text-transform: uppercase;
		margin: 0 10px 0 0;
		display: inline-block;
		width: auto;
	}

	#style button {
		padding: 0;
		border: none;
		font-size: 0.8125rem;
		color: inherit;
		display: inline-block;
		background-color: transparent;
		min-width: 22px;
		font-weight: 600;
		text-align: center;
		position: relative;
		line-height: 1;
		margin-left: 4px;
		transition: all 100ms linear;
	}

	#style button:is(:hover, :focus) {
		transform: scale(1.2);
	}
}

/* -------------------------------------------- suche ------------------------------------------- */

#search {
	display: inline-flex;
}

@media (max-width: 991px) {
	#search {
		display: flex;
		padding-top: 5px;
		border-top: 1px solid rgba(0, 0, 0, 0.2);
	}
}

#search_input {
	color: inherit;
	font-size: 0.8125rem;
	font-style: normal;
	font-weight: 600;
	background: transparent !important;
	padding: 7px 10px;
	border: 0;
	width: 100%;
}

#search_submit {
	min-width: 33px;
	flex-shrink: 0;
	background: url("../img/lupe-icon.png") center no-repeat;
	padding: 0;
	cursor: pointer;
	border: none;
	font-size: 0;
	transition: all 100ms linear;
	transform: scale(0.7);
}

#search_submit:is(:hover, :focus) {
	background-color: transparent;
	transform: scale(1);
}

#search_input::placeholder {
	color: inherit !important;
	opacity: 1 !important;
	font-style: normal !important;
	letter-spacing: inherit !important;
	text-transform: uppercase !important;
}

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

/* burgermenu for tablet */

#burgerButton {
	font-size: 0;
	border: none !important;
	position: relative;
	z-index: 1004;
	display: block;
	width: 50px;
	height: 50px;
	cursor: pointer;
	background-color: transparent !important;
}

@media (max-width: 991px) {
	#burgerButton {
		position: fixed;
		right: 15px;
		top: 15px;
		background-color: #ffffff !important;
		box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
		border-radius: 2px;
	}
}

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

#burgerButton::before,
#burgerButton::after,
#burgerButtonInner {
	position: absolute;
	background: #1a1a1a;
	width: 28px;
	height: 2px;
	left: calc(50% - 14px);
	color: #ffffff !important;
	transition: transform 200ms linear, opacity 200ms linear, width 200ms linear;
}

@media (prefers-contrast: more) {

	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		border: 1px solid #ffffff;
		box-sizing: border-box;
	}
}

#burgerButton[aria-expanded="true"] #burgerButtonInner {
	transform: rotate(-45deg) translate(-4px, 6px);
}

#burgerButton[aria-expanded="true"]::before {
	opacity: 0;
}

#burgerButton[aria-expanded="true"]::after {
	transform: rotate(45deg) translate(-4px, -6px);
	width: 28px;
}

#burgerButtonInner {
	top: 16px;
}

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

#burgerButton::after {
	top: 30px;
	width: 14px;
	content: "";
}

@media (min-width: 992px) {
	#menuspan {
		font-size: 0.8125rem;
		text-transform: uppercase;
		font-weight: 600;
	}
}

/* burgermenu for tablet */

@media (max-width: 991px) {
	.navbar-nav {
		margin: 20px 0;
		background-color: #ffffff;
		box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.15);
	}

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

	.dropdown-toggle-button::before,
	.dropdown-toggle-button::after {
		background: #3b7d3f;
	}
}

/* menu desktop */

@media (min-width: 992px) {
	#myNavbar {
		padding: 30px 15px;
		background: #ffffff;
		box-shadow: none;
		pointer-events: none;
		position: absolute;
		z-index: 1002;
		top: 70px;
		right: 0;
		opacity: 0;
		width: 992px;
		border-radius: 0;
		height: auto !important;
		overflow: visible !important;
		visibility: hidden;
		transition: opacity 300ms linear, top 300ms linear;
		box-shadow: 0px 0px 50px 10px rgba(0, 0, 0, 0.15), 0 0 0 100vw rgba(239, 227, 215, 0.4);
	}

	#burgerButton[aria-expanded="true"]+#myNavbar,
	#myNavbar:focus-within {
		pointer-events: auto;
		opacity: 1;
		top: 82px;
		visibility: visible;
	}

	#myNavbar::before {
		content: "";
		display: block;
		position: absolute;
		right: 14px;
		top: -16px;
		width: 30px;
		height: 16px;
		clip-path: polygon(0 100%, 100% 100%, 50% 0);
		background: #ffffff;
	}

	#myNavbar>.mCustomScrollBox {
		max-height: 70vh;
		padding-right: 15px;
	}

	nav.burger .navbar-nav {
		display: block;
		column-count: 3;
		column-gap: 30px;
		column-rule: 1px solid rgba(0, 0, 0, 0.2);
	}

	nav.burger .navbar-nav>li {
		padding-bottom: 17px;
		padding-top: 7px;
		float: none;
		-webkit-column-break-inside: avoid;
		page-break-inside: avoid;
		break-inside: avoid;
		display: table !important;
	}

	nav.burger .navbar-nav ul {
		display: block !important;
	}
}

@media (min-width: 1200px) {
	#myNavbar.navbar-collapse {
		width: 1200px;
	}

	nav.burger .navbar-nav {
		column-count: 4;
	}
}

/* toplevel */

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

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

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

@media (min-width: 992px) {
	nav.burger a[class*="toplevel"] {
		padding: 5px 20px;
	}
}

/* toplevel-over */

nav.burger li[class*="toplevel"]:is(:hover, :focus-within)>a,
nav.burger li[class*="toplevel"]>a:is(:hover, :focus),
nav.burger li[class*="toplevel"].open>a,
nav.burger li[class*="toplevel"].open>a:is(:hover, :focus),
nav.burger li[class*="toplevel"][class*="_over"]>a,
nav.burger li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus) {
	color: #3b7d3f;
	text-decoration: underline;
}

/* secondlevel + thirdlevel dropdown-box */

nav.burger [class*="toplevel"] ul {
	background: #ffffff;
}

/* secondlevel + thirdlevel */

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

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

	nav.burger a[class*="thirdlevel"] {
		padding-left: 45px;
	}
}

@media (min-width: 992px) {
	nav.burger a[class*="secondlevel"] {
		padding: 5px 5px 5px 30px;
	}

	nav.burger a[class*="thirdlevel"] {
		padding: 4px 10px 4px 53px;
	}

	nav.burger a[class*="thirdlevel"]::after {
		content: "\00BB";
		position: absolute;
		left: 41px;
		top: 2px;
		bottom: 0;
		margin: auto;
	}
}

nav.burger li:is([class*="_start"], [class*="end"]) {
	display: none;
}

/* secondlevel + thirdlevel over */

nav.burger li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within)>a,
nav.burger li:is([class*="secondlevel"], [class*="thirdlevel"])>a:is(:hover, :focus),
nav.burger li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a,
nav.burger li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a:is(:hover, :focus),
nav.burger li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a,
nav.burger li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a:is(:hover, :focus) {
	color: #3b7d3f;
	text-decoration: underline;
}

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

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

header>.row::after {
	content: "";
	background: url(../img/kaninchenzeichnun-header.png);
	width: 532px;
	height: 572px;
	position: absolute;
	background-position: bottom left;
	background-repeat: no-repeat;
	transform: translateX(-100%);
	left: 160px;
	bottom: -120px;
}

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

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

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

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

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

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

.slider-mask {
	display: none;
}

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

@media (min-width: 576px) {
	header {
		position: relative;
		z-index: 101;
	}

	header::after {
		content: "";
		position: absolute;
		z-index: -1;
		right: 0;
		bottom: 0;
		top: 0;
		width: 40vw;
		max-width: 960px;
		pointer-events: none;
		background-position: center;
		background-size: cover;
		background-repeat: no-repeat;
	}

	body.index header::after {
		bottom: 60px;
	}
}

@media (min-width: 992px) {
	header::after {
		width: 60vw;
	}
}

/* ------------------------------------------- headertab ---------------------------------------- */

#headertab {
	position: relative;
	padding: 0 0 clamp(20px, 3vw, 35px) clamp(20px, 3vw, 35px);
	text-transform: uppercase;
	font-size: .9375rem;
	font-weight: 600;
}

@media (max-width: 991px) {
	#headertab {
		padding-top: 30px;
	}
}

#headertab::before {
	content: "";
	position: absolute;
	top: 36px;
	bottom: 0;
	left: 0;
	right: 40%;
	pointer-events: none;
	border-left: 8px solid #3b7d3f;
	border-bottom: 8px solid #3b7d3f;
}

#headertab :is(h1, h2, h3, h4, h5, h6) {
	color: inherit;
	margin: 0;
	line-height: 1;
	text-transform: none;
}

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

#content {
	text-align: left;
	padding-bottom: clamp(40px, 8vw, 90px);
	padding-top: clamp(40px, 8vw, 90px);
}

/* #region -------------------------------------- news ------------------------------------------ */

#news-events {
	background: #81c785;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	padding: clamp(30px, 4vw, 60px) 0;
	gap: clamp(30px, 7vw, 110px) 0;
	display: grid;
}

:is(#news, #events) .tab :is(h1, h2, h3, h4, h5, h6) {
	font-size: clamp(1.875rem, 4vw, 2.1875rem);
}

:is(#news, #events) .tab :is(h1, h2, h3, h4, h5, h6, a) {
	color: inherit;
}

:is(#news, #events) .tab a {
	font-weight: 600;
	font-size: 0.9375rem;
	position: relative;
	padding-right: 20px;
	background: url("../img/arrow.png") right center no-repeat;
}

:is(#news, #events) .tab_link {
	margin-top: clamp(30px, 4vw, 50px);
}

:is(#news, #events) .tab_link_entries {
	display: grid;
	gap: 30px;
}

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

:is(#news, #events) .tab_link_entry {
	font-size: 1rem;
	width: 100%;
	background: #ffffff;
	padding: clamp(20px, 4vw, 45px) clamp(15px, 2.5vw, 25px);
	border: none !important;
	display: flex;
	flex-direction: column;
}

:is(#news, #events) .tab_link_title a {
	line-height: 1.2;
	font-weight: 600;
	font-size: 1.25rem;
	display: block;
	margin-bottom: 10px;
	color: #3b7d3f;
	text-transform: uppercase;
}

:is(#news, #events) .tab_date,
#events .tab_link_date {
	font-size: 1.125rem;
	display: inline-block;
}

.vorschau {
	opacity: 1 !important;
}

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

#events .tab_link_date {
	order: 1;
}

#events .tab_link_title {
	order: 2;
}

#events .tab_link_mandat {
	order: 3;
}

#events .tab_link_mandat a {
	color: #1a1a1a;
}

/* #endregion ----------------------------------- news ------------------------------------------ */

/* ------------------------------------------------ @23tab ----------------------------------------------- */

#tabs23 {
	padding: 60px 0;
}

#tabs23>.row::after {
	content: "";
	background: url(../img/dekor-hase.png);
	background-position: bottom -60px center;
	background-repeat: no-repeat;
	width: 304px;
	height: 610px;
	position: absolute;
	transform: translateX(100%);
	right: 0;
	bottom: -60px;
}

#tabs23 .rowGrid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	grid-template-rows: 1fr 1fr 1fr;
	max-width: 1170px;
	width: 100%;
	margin: auto;
	gap: clamp(2px, 1.5vw, 30px);
}

#tabs23 .box {
	min-height: 200px;
	overflow: hidden;
}

#tabs23 .box3 {
	grid-column: 3/5;
	grid-row: 1/3;
}

#tabs23 .box4 {
	grid-column: 1/3;
	grid-row: 2/4;
}

@media (max-width: 767px) {
	#tabs23 .box1 {
		grid-column: 1/3;
	}

	#tabs23 .box5 {
		grid-column: 3/5;
	}
}

#tabs23 .banner,
#tabs23 img {
	height: 100% !important;
	max-width: unset;
	display: block;
	width: 100% !important;
	object-fit: cover;
	object-position: center;
}

#tabs23 .nivo-slice,
#tabs23 .slider-wrapper,
#tabs23 #slider {
	height: 100% !important;
	width: 100% !important;
}

#tabs23 .specialHeadline {
	font-size: 1.75rem;
	margin-bottom: 35px;
	letter-spacing: 3px;
	text-transform: uppercase;
	font-size: 1.75rem;
}

#tabs23 .galerieButton {
	margin-top: 35px;
}

#tabs23 .galerieButton a {
	display: inline-block;
	text-decoration: none;
	font-size: 1.125rem;
	color: #1a1a1a;
	font-weight: 600;
	letter-spacing: 3px;
	padding: 4px 16px;
	border-bottom: 2px solid #1a1a1a;
	transition: color 300ms linear, border-color 300ms linear;
}

#tabs23 .galerieButton a:hover,
#tabs23 .galerieButton a:focus {
	color: #3b7d3f;
	border-color: #3b7d3f;
}

#tabs23 .galerieButton a::after {
	content: " \203A";
}

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

:is(#headertab, #tabs .tab1, .tabSpecial, #sight .tab) :is(b, strong) {
	font-size: 0.9375rem;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 1px;
}

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
	color: #3b7d3f;
	font-weight: 600;
	line-height: 1.2;
	font-family: "Work Sans", sans-serif;
	letter-spacing: 1px;
}

h1,
.h1,
.legacy_h1,
:is(#headertab, .tabSpecial) :is(h1, h2, h3, h4, h5, h6) {
	font-size: clamp(1.875rem, 4vw, 2.8125rem);
}

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

h3,
.h3,
.legacy_h3,
#tabs .tab2 .tabHeadline,
#sight .tab :is(h1, h2, h3, h4, h5) {
	font-size: clamp(1.625rem, 3vw, 1.875rem);
}

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

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

footer {
	background: #81c785;
	font-size: 1rem;
}

#footer {
	row-gap: 30px;
	padding: clamp(40px, 8vw, 90px) 0;
}

#footer .tabHeadline {
	font-size: 1.25rem;
	color: #1a1a1a;
}

#footer .tab a {
	color: #1a1a1a;
}

.iframetab :is(iframe, .iframe-wrapper-manual-enabling) {
	min-width: 100% !important;
	width: 100% !important;
	display: block;
	max-height: 205px;
}

#innerfooter ul.footer_list {
	padding: 0;
}

#innerfooter ul.footer_list a {
	color: #1a1a1a;
	text-decoration: none;
	display: inline-block;
	padding: 2px 0;
}

#innerfooter ul.footer_list a:is(:hover, :focus) {
	text-decoration: underline;
	color: #1a1a1a;
}

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

#vernetzt {
	gap: 18px;
	text-align: right;
	font-size: 0.9375rem;
	color: #1a1a1a;
	line-height: 1.3;
	margin: 0 auto;
	font-weight: 400;
	display: inline-block;
	text-decoration: none;
}

#vernetzt strong {
	color: #3b7d3f;
	font-weight: 400;
}

#vernetzt span span {
	display: block;
}