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

/* Standard Farben */
:root {
	--Schriftfarbe: #444;
	/* Soll sich auf Unterseiten nich Ändern */
	--Schrift-Deko-Farbe: #687e26;
	/* MUSS Barrierefrei sein */
	--Deko: #b4cf5f;
	/* Muss mit Weiß ODER #444444 Barrierefrei sein */

	/* Heller Hintergrund */
	--Schriftfarbe-farbiger-Hintergrund: #444;
	/* Dunkler Hintergrund */
	/* --Schriftfarbe-farbiger-Hintergrund: #fff; */
}

/* Search Icon auf dunklem Hintergund */
/* form [id^="search_submit"] {
	filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(281deg) brightness(106%) contrast(101%);
} */

#style-MB-Tab {
	font-size: 0;
	line-height: 0;
	padding: 0;
	transform: scale(0);
	position: absolute;
}

html {
	max-width: 1930px;
	margin-left: auto;
	margin-right: auto;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.8) 100%) var(--Deko);
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
	scrollbar-color: var(--Schrift-Deko-Farbe) #ffffff;
}

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

a {
	color: var(--Schrift-Deko-Farbe);
}

a:is(:hover, :focus) {
	color: var(--Schrift-Deko-Farbe);
	text-decoration: underline;
}

b,
strong {
	font-weight: 600;
}

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

#overflow {
	overflow: hidden;
}

:not(.cc_banner-wrapper, form [id^="search_submit"]):focus-visible,
#vernetzt:focus-visible span {
	background-color: #fff !important;
	color: var(--Schriftfarbe) !important;
	z-index: 100;
	text-decoration: none;
	outline: 2px solid var(--Deko);
}

:not(.cc_banner-wrapper):focus-visible,
#vernetzt:focus-visible span {
	color: var(--Schriftfarbe) !important;
}

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

#topbar>.row {
	padding: 12px 0;
}

@media (min-width: 768px) {
	#topbar>.row::after {
		content: "";
		position: absolute;
		pointer-events: none;
		background: url(../img/pflanze-oben.png);
		width: 20.4167vw;
		height: 5.3646vw;
		max-width: 392px;
		max-height: 103px;
		background-size: contain;
		background-repeat: no-repeat;
		background-position: top center;
		top: -12px;
		left: 45%;
		transform: translateX(-50%);
	}
}

#logo {
	display: inline-block;
}

#logo img {
	display: block;
}

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

/* #region ------------------------------- contrast + styler ------------------------------------ */

#stylerBox {
	width: 100%;
	margin-bottom: 1.25rem;
	column-gap: 30px;
	flex-wrap: wrap;
	gap: 15px;
}

#stylerBox h2 {
	color: var(--Schriftfarbe);
	font-size: 1rem;
	margin: 0;
}

#stylerBox button {
	color: var(--Schriftfarbe);
	padding: 2px;
	border: 1px solid rgba(0, 0, 0, 0.6);
	display: inline-block;
	width: 1.25rem;
	height: 1.25rem;
	flex-shrink: 0;
	border-radius: 50%;
	font-weight: 400;
	text-align: center;
	background: transparent;
	position: relative;
	font-size: 1rem;
	z-index: 1;
	line-height: 1;
	margin-left: 10px;
}

#stylerBox button::before {
	content: "";
	display: block;
	position: absolute;
	z-index: -1;
	left: -6px;
	top: -6px;
	bottom: -6px;
	right: -6px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.1);
	opacity: 0;
	transition: opacity 150ms linear;
}

#stylerBox button:is(:hover, :focus)::before {
	opacity: 1;
}

#contrast_style button::after {
	content: "";
	display: block;
	position: absolute;
	top: 3px;
	right: 3px;
	left: 3px;
	bottom: 3px;
	border: 1px solid rgba(0, 0, 0, 0.6);
	border-radius: 50%;
	background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6) 50%, rgba(255, 255, 255, 1) 50%);
}

#contrast_style button:nth-of-type(2)::after {
	transform: scaleX(-1);
}

#contrast_style button:nth-of-type(3)::after {
	background: #ea5b0c;
	border: none;
}

/* #endregion ---------------------------- contrast + styler ------------------------------------ */

/* #region ------------------------------------- search ----------------------------------------- */

form[id^="search"] {
	background: var(--Deko);
	display: inline-flex;
	border-radius: 30px;
	width: 100%;
	max-width: 18.125rem;
	border: 4px solid #ffffff;
	overflow: hidden;
}


form[id^="search"] label {
	color: var(--Schriftfarbe-farbiger-Hintergrund);
	font-size: 1rem;
	font-weight: 600;
	padding: 3px 15px;
	margin: 6px 0;
	border-right: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 991px) {
	form[id^="search"] {
		width: calc(100% - 30px);
		margin: 20px 15px;
		display: flex;
		flex-wrap: wrap;
	}

	form[id^="search"] label {
		text-align: left;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.2);
		width: 100%;
		margin: 0;
		padding: 12px 15px 9px 15px;
	}
}

@media (min-width: 992px) {
	form#search1 {
		position: absolute;
		z-index: 60;
		right: 11px;
		bottom: -38px;
	}
}

form [id^="search_input"] {
	color: var(--Schriftfarbe-farbiger-Hintergrund);
	font-size: 1rem;
	font-style: normal;
	background: transparent;
	padding: 9px 15px;
	border: 0;
	width: 100%;
}

form [id^="search_submit"] {
	min-width: 40px;
	border: none;
	background: url("../img/lupe-icon.png") center no-repeat;
	filter: brightness(0) saturate(100%) invert(23%) sepia(0%) saturate(0%) hue-rotate(168deg) brightness(100%) contrast(85%);
	padding: 0;
	cursor: pointer;
	font-size: 0;
}

@media (max-width: 991px) {
	form [id^="search_submit"] {
		min-height: 40px;
		width: 100%;
	}
}

form [id^="search_submit"]:is(:hover, :focus) {
	background-color: rgba(0, 0, 0, 0.1);
}

form [id^="search_input"]::placeholder {
	color: var(--Schriftfarbe-farbiger-Hintergrund) !important;
	opacity: 1 !important;
	font-style: normal !important;
}

/* #endregion ---------------------------------- search ----------------------------------------- */

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

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

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

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

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

	#headerpic .nivo-controlNav {
		top: 15px;
		bottom: auto;
	}
}

#headerpic {
	padding: 0;
	overflow: hidden;
	position: relative;
	border-top: 5px solid var(--Deko);
	border-bottom: 5px solid var(--Deko);
}

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

.slider-mask {
	display: none;
}

/* #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: var(--Deko);
		border: none !important;
		outline: 5px solid #fff;
	}

	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		background-color: var(--Schriftfarbe-farbiger-Hintergrund);
		color: var(--Deko);
		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: 14px;
	}

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

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally {
		background-color: #fff;
		position: sticky;
		top: 0;
		z-index: 101;
		box-shadow: 0px 5px 12px 0px rgba(0, 0, 0, 0.1);
	}

	nav.horizontally .navbar-nav {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		gap: 40px 0;
		transition: gap 300px;
	}

	.is-sticky nav.horizontally .navbar-nav {
		gap: 0;
	}

	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;
		transition: opacity 300ms linear;
		display: none !important;
	}

	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: var(--Schriftfarbe);
	font-weight: 600;
	text-align: left;
	padding: 15px 15px;
	position: relative;
	font-size: clamp(1.125rem, 1.5vw, 1.375rem);
	line-height: 1.2;
	text-decoration: none;
}

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

	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: 20px 10px;
		padding-top: 40px;
		display: flex;
		align-items: center;
		justify-content: center;
		height: 100%;
	}
}

nav.horizontally a[class*="toplevel"]::after {
	content: "";
	width: 0;
	height: 5px;
	display: block;
	position: absolute;
	left: 50%;
	top: 0;
	background: #000;
	opacity: 0;
	transform: translateX(-50%);
	transition: opacity 300ms linear, width 300ms linear;
}

@media (min-width: 992px) {
	nav.horizontally a[class*="toplevel"]::after {
		bottom: unset;
		background: var(--Schrift-Deko-Farbe);
		top: -5px;
	}
}

/* Logos Toplevel */

nav.horizontally li a[class*="toplevel"]::before {
	content: "";
	position: absolute;
	top: 0;
	transform: translateY(-50%);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	transition: transform 300ms;
}

@media (min-width: 992px) {
	.is-sticky nav.horizontally li a[class*="toplevel"]::before {
		transform: translateY(-10px) scale(0.5);
	}
}

@media (max-width: 991px) {
	nav.horizontally li a[class*="toplevel"]::before {
		position: relative;
		display: inline-block;
		transform: none;
		max-height: 2rem;
		max-width: 2rem;
		margin-right: 15px;
		margin-bottom: -7px;
		background-position: center left;
	}
}

nav.horizontally li:nth-of-type(1) a[class*="toplevel"]::before {
	background-image: url(../img/wappen-menu/vg-krumback.png);
	width: 74px;
	height: 62px;
}

nav.horizontally li:nth-of-type(2) a[class*="toplevel"]::before {
	background-image: url(../img/wappen-menu/wappen-aletshausen.png);
	width: 63px;
	height: 62px;
}

nav.horizontally li:nth-of-type(3) a[class*="toplevel"]::before {
	background-image: url(../img/wappen-menu/wappen-breitenthal.png);
	width: 61px;
	height: 62px;
}

nav.horizontally li:nth-of-type(4) a[class*="toplevel"]::before {
	background-image: url(../img/wappen-menu/wappen-deisenhausen.png);
	width: 61px;
	height: 62px;
}

nav.horizontally li:nth-of-type(5) a[class*="toplevel"]::before {
	background-image: url(../img/wappen-menu/wappen-ebershausen.png);
	width: 61px;
	height: 62px;
}

nav.horizontally li:nth-of-type(6) a[class*="toplevel"]::before {
	background-image: url(../img/wappen-menu/wappen-waltenhausen.png);
	width: 61px;
	height: 62px;
}

nav.horizontally li:nth-of-type(7) a[class*="toplevel"]::before {
	background-image: url(../img/wappen-menu/wappen-wiesenbach.png);
	width: 61px;
	height: 62px;
}

/* 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: rgba(68, 68, 68, 0.1);
}

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: 0.1;
	width: 100%;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	border-top: 5px solid var(--Deko);
	background: #ffffff;
	box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.1);
}

:is(nav.horizontally, #menu-left) ul[class*="thirdlevel"] {
	background: #ececec;
}

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

	nav.horizontally [class*="toplevel"] ul {
		margin: 10px;
	}
}

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

	nav.horizontally [class*="toplevel"]>ul {
		margin-top: 15px;
	}

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

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

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

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

/* secondlevel + thirdlevel */

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

:is(nav.horizontally, #menu-left) a[class*="secondlevel"] {
	font-weight: 600;
}

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

@media (min-width: 992px) {
	#menu-left a[class*="thirdlevel"] {
		padding-left: 30px;
	}
}

/* secondlevel + thirdlevel over */

:is(nav.horizontally, #menu-left) li[class*="secondlevel"]:is(:hover, :focus-within)>a,
:is(nav.horizontally, #menu-left) li[class*="secondlevel"]>a:is(:hover, :focus),
:is(nav.horizontally, #menu-left) li[class*="secondlevel"].open>a,
:is(nav.horizontally, #menu-left) li[class*="secondlevel"].open>a:is(:hover, :focus),
:is(nav.horizontally, #menu-left) li[class*="secondlevel"][class*="_over"]>a,
:is(nav.horizontally, #menu-left) li[class*="secondlevel"][class*="_over"]>a:is(:hover, :focus) {
	background: var(--Deko);
	color: var(--Schriftfarbe-farbiger-Hintergrund);
}

:is(nav.horizontally, #menu-left) li[class*="thirdlevel"]:is(:hover, :focus-within)>a,
:is(nav.horizontally, #menu-left) li[class*="thirdlevel"]>a:is(:hover, :focus),
:is(nav.horizontally, #menu-left) li[class*="thirdlevel"].open>a,
:is(nav.horizontally, #menu-left) li[class*="thirdlevel"].open>a:is(:hover, :focus),
:is(nav.horizontally, #menu-left) li[class*="thirdlevel"][class*="_over"]>a,
:is(nav.horizontally, #menu-left) li[class*="thirdlevel"][class*="_over"]>a:is(:hover, :focus) {
	background: var(--Schrift-Deko-Farbe);
	color: #fff;
}

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

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

#content {
	text-align: left;
	background-color: #ffff;
	padding-bottom: clamp(40px, 6vw, 95px);
	padding-top: clamp(30px, 4vw, 65px);
}

@media (min-width: 992px) {
	#contentCol {
		padding-top: 30px;
	}
}

#content>.row {
	row-gap: 40px;
}

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

#tabsLeft,
#tabsRight {
	display: grid;
	gap: 50px;
}

@media (min-width: 992px) {

	#tabsLeft,
	#tabsRight {
		align-items: start;
		align-content: start;
	}

	:not(.contrast_dark_font, .contrast_light, .contrast_light_font, .contrast_dark) :is(#tabsLeft, #tabsRight) {
		margin-bottom: -160px;
	}

	#tabsLeft {
		padding-right: clamp(20px, 2vw, 38px);
	}

	#tabsRight {
		padding-left: clamp(20px, 2vw, 38px);
	}
}

.tab,
#menu-left {
	max-width: 360px;
	background: #ffffff;
	border-top: 4px solid var(--Deko);
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

:is(.contrast_light_font, .contrast_dark) :is(#tabsLeft, #tabsRight) .tab {
	outline: 4px solid #fff;
}

:is(.contrast_dark_font, .contrast_light) :is(#tabsLeft, #tabsRight) .tab {
	outline: 4px solid #000;
}

#menu-left {
	padding: 10px 0;
	display: none;
}

#menu-left:has(ul[style="display: block;"]) {
	display: block;
}

.tab {
	margin: 0 auto 0 auto;
	position: relative;
	padding: 30px 20px 20px 20px;
	font-size: 1.125rem;
}

.tab :is(h1, h2, h3, h4, h5, h6, .tabHeadline) {
	color: var(--Schrift-Deko-Farbe);
	font-size: 1.375rem;
	margin: 0 0 16px 0;
	text-align: center;
}

.tab .tab_link_title a, .clr-events-tab-h3 {
	color: var(--Schriftfarbe);
	font-weight: 600;
}

.tab .tab_link_title a, .clr-events-tab-h3 {
	font-size: 1.125rem !important;
	color: var(--Schriftfarbe) !important;
}

.tab .tab_link_mandat a {
	color: inherit;
}

.tab .tab_link_mehr {
	display: none;
}

.tab3 a {
	text-decoration: none;
	padding: 4px 15px 3px 15px;
	display: inline-block;
	border-radius: 2px;
	font-size: 1rem;
	background: transparent;
	color: var(--Schrift-Deko-Farbe);
	font-weight: 600;
	border: 1px solid rgba(0, 0, 0, 0.15);
}

.tab3 a {
	margin-top: 15px;
}

:is(.tab3, .tab .tab_link_mehr) a:is(:hover, :focus) {
	background: var(--Schrift-Deko-Farbe);
	color: #ffffff;
}

.tab .eventclndr-tab {
	margin-bottom: 22px;
}

.tab #clr-events-hide>p:first-child {
	margin-bottom: 15px;
}

.tab .tab_spacer {
	height: 15px;
}

.tab hr {
	height: 4px;
	opacity: 1;
	background: var(--Deko);
	max-width: 100px;
	width: 100%;
	margin: 28px auto;
	display: block;
	border: none;
}

.tab3 img {
	margin: 0 -20px 25px -20px;
	display: block;
	width: calc(100% + 40px) !important;
	min-width: calc(100% + 40px) !important;
}

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

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
	color: var(--Schrift-Deko-Farbe);
	font-weight: 600;
	line-height: 1.2;
}

h1,
.h1,
.legacy_h1 {
	font-size: 1.75rem;
}

h2,
.h2,
.legacy_h2 {
	font-size: 1.5rem;
}

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

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

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

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

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

#news {
	padding-top: clamp(40px, 4vw, 55px);
}

@media (min-width: 768px) {
	#news {
		font-size: 1.125rem;
	}
}

#news .tab_link_entries {
	margin-bottom: 30px;
	display: grid;
	gap: 30px;
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	#news .tab_link_entries {
		display: grid;
		grid-template-columns: 1fr;
	}
}

/* delete */

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

/* news */

#news {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	position: relative;
}

#news>.row {
	position: relative;
	z-index: 2;
}

#news h2 {
	font-weight: 600;
	font-size: clamp(1.25rem, 2vw, 1.75rem);
	margin-bottom: 30px;
}

#news .tab_link_entry {
	padding: 70px 20px 20px 20px;
	background: #ffffff;
	position: relative;
	min-height: 106px;
	display: flex;
	border-top: 5px solid var(--Deko);
	flex-direction: column;
	box-shadow: 0px 0px 10px 0px rgba(0, 1, 0, 0.1), 0px 5px 0px 0px rgba(180, 207, 95, 0.004);
}

:is(.contrast_light_font, .contrast_dark) #news .tab_link_entry {
	outline: 4px solid #fff;
}

:is(.contrast_dark_font, .contrast_light) #news .tab_link_entry {
	outline: 4px solid #000;
}

@media (min-width: 576px) {
	#news .tab_link_entry {
		padding: 20px 30px 20px 135px;
	}
}

#news .tab_link_title a {
	color: inherit;
	font-weight: 600;
	line-height: 1.3;
	display: inline-block;
	color: var(--Schrift-Deko-Farbe);
	font-size: 1.375rem;
}

#news .tab_date {
	font-size: 1rem;
	color: var(--Schriftfarbe-farbiger-Hintergrund);
	font-weight: 400;
	background: var(--Deko);
	text-align: center;
	line-height: 1;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	padding: 30px 15px;
	align-content: center;
}

#news .tab_date::before {
	content: url(../img/kalender-icon.png);
	margin-bottom: 10px;
	display: block;
}

@media (min-width: 576px) {
	#news .tab_date {
		right: auto;
		bottom: 0;
		width: 105px;
		padding: 20px 0;
	}
}

/* news events button */

#news .buttonStyle a {
	background: var(--Deko);
	font-weight: 400;
	font-size: 1rem;
	color: var(--Schriftfarbe-farbiger-Hintergrund);
	padding: 8px 55px 8px 20px;
	position: relative;
	text-decoration: none;
	display: inline-block;
}

#news .buttonStyle a::after {
	content: "\00BB";
	display: block;
	position: absolute;
	right: 0;
	top: 9px;
	bottom: 9px;
	width: 35px;
	text-align: center;
	font-size: 16px;
	line-height: 18px;
	border-left: 2px solid rgba(0, 0, 0, 0.1);
	font-weight: 400;
}

#news .buttonStyle a:is(:hover, :focus) {
	background: var(--Schriftfarbe);
	color: #fff;
}

/* --------------------------------------------- teaser ----------------------------------------- */

#teaser {
	margin: 5px 0;
	min-height: 300px;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

/* #region ----------------------------------- footer ------------------------------------------- */

footer {
	color: var(--Schriftfarbe-farbiger-Hintergrund);
	background: var(--Deko);
	font-size: 1.125rem;
}

#footer>.row::after {
	content: "";
	position: absolute;
	background: url(../img/pflanze-unten.png);
	width: 11.5625vw;
	height: 26.4063vw;
	max-width: 222px;
	max-height: 507px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: bottom left;
	left: -33px;
	bottom: -20px;
	transform: translateX(-100%);
}

footer a,
footer a:is(:hover, :focus) {
	color: var(--Schriftfarbe-farbiger-Hintergrund);
}

footer :is(h1, h2, h3, h4, h5, h6, .footerHeadline) {
	color: var(--Schriftfarbe-farbiger-Hintergrund);
	font-size: 1.375rem;
	margin: 0;
}

#footer {
	padding: 40px 0;
}

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

:is(.footerTab, .socialTab) a {
	text-decoration: underline;
}

.footerTab :is(iframe, .iframe-wrapper-manual-enabling) {
	min-width: 100% !important;
	width: 100% !important;
	display: block;
}

#innerfooter>div {
	width: 100%;
}

#innerfooter ul {
	padding: 0;
	line-height: 1.7;
	width: 100%;
}

@media (min-width: 992px) {
	#innerfooter ul li+li {
		margin-top: 5px;
	}
}

#innerfooter a {
	font-size: 1.125rem;
}

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

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

#vernetzt {
	gap: 18px;
	font-size: 0.8125rem;
	color: var(--Schriftfarbe-farbiger-Hintergrund);
	line-height: 1.3;
	font-weight: 400;
	text-decoration: none;
	display: flex;
	flex-direction: column;
}

#vernetzt span span {
	display: block;
}

/* ------------------------------------------- contrast ----------------------------------------- */


:is(.contrast_light_font, .contrast_dark) #logo {
	outline: 15px solid #fff;
	background: #fff !important;
}

:is(.contrast_light_font, .contrast_dark) #logo * {
	background: transparent !important;
}

.contrast_light_font :is(form[id^="search"], #search_input1, #footer2) {
	background-color: #000000 !important;
}

.contrast_dark_font :is(form[id^="search"], #search_input1, #scrollTopBtn) {
	background-color: #ffffff !important;
}

:is(.contrast_light_font, .contrast_dark_font) form [id^="search_submit"] {
	background: #fff url("../img/lupe-icon.png") center no-repeat !important;
	filter: none !important;
}

:is(.contrast_light_font, .contrast_dark_font) #content,
.contrast_light_font #teaser>.row,
.contrast_light_font #teaser>.row>* {
	background: none !important;
}