@import url("https://fonts.verwaltungsportal.de/import/?family=Rubik:300,300i,500,500i,800,800i");

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

body {
	font-family: "Rubik", sans-serif;
	font-weight: 300;
	color: #ffffff;
	background: #0f0f0f;
	font-size: clamp(1rem, 2vw, 1.125rem);
	/* 1rem = 16px */
	line-height: 1.5;
	box-shadow: 0 0 100px 0 rgba(0, 0, 0, 0.1);
}

a {
	color: #ffca4c;
}

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

:is(main, footer, #headerpic) a,
b,
strong {
	font-weight: 500;
}

:is(#content-area, #headerpic, #news .tab, #events .tab, #topics, #footer, .tab-content) a {
	text-decoration: underline;
}

#overflow {
   overflow: hidden;
}

/* #region --------------------------------------- logo ----------------------------------------- */

#logo {
	display: inline-block;
}

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

#logo img {
	display: block;
}

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

#logo .row {
	margin: 0 -15px;
}

/* #endregion ----------------------------------- logo ------------------------------------------ */

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

/* burgermenu for tablet */

@media (max-width: 991px) {
   .dropdown-toggle-button-wrapper, .dropdown-toggle-button-wrapper2 {
      color: #0f0f0f;
   }
	nav.horizontally {
		position: static !important;
	}

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

	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		background-color: #fff;
		color: #0f0f0f;
		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 {
		padding: 20px 10px;
	}

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

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

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally {
		position: relative;
		z-index: 60;
		padding-top: 40px;
	}

	nav.horizontally > .row::after {
		content: "";
		display: block;
		position: absolute;
		z-index: -1;
		background: transparent;
		box-shadow: 0 20px 20px 0 rgba(0, 0, 0, 0.1);
		border-radius: 4px;
		inset: -15px -5px;
		right: 70%;
		transition: background 300ms;
	}

	.is-sticky nav.horizontally > .row::after {
		background: #0f0f0f;
	}

	nav.horizontally :is(.navbar, #myNavbar) {
		min-height: 100%;
		height: 100% !important;
	}

	nav.horizontally #myNavbar {
		background-color: #ffffff;
		border-bottom-left-radius: 4px;
		border-bottom-right-radius: 4px;
	}

	nav.horizontally .navbar-nav {
		width: 100%;
		position: relative;
		padding: 20px 15px 20px 15px;
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
	}

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

	nav.horizontally .navbar-nav li[class*="toplevel"] > ul {
		position: absolute;
		top: calc(100% + 20px);
		left: 0;
		z-index: 1000;
		pointer-events: none;
		opacity: 0;
		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;
	}

	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: #333333;
	font-weight: 500;
	text-align: left;
	padding: 12px 15px;
	position: relative;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	border: 1px solid transparent;
	border-radius: 30px;
	transition: color 300ms linear, border 300ms linear;
}

@media (max-width: 991px) {
	nav.horizontally li[class*="toplevel"] + li {
		margin-top: 4px;
	}

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

@media (min-width: 992px) {
	nav.horizontally li[class*="toplevel"] + li {
		margin-left: 1px;
	}

	nav.horizontally a[class*="toplevel"] {
		padding: 11px 8px;
		display: flex;
		align-items: center;
		justify-content: center;
		text-align: center;
		height: 100%;
	}
}

@media (min-width: 1200px) {
	nav.horizontally a[class*="toplevel"] {
		padding-left: 15px;
		padding-right: 15px;
	}
}

@media (min-width: 992px) {
	nav.horizontally a[class*="toplevel"].dropdown-toggle::before,
	nav.horizontally a[class*="toplevel"].dropdown-toggle::after {
		content: "";
		display: block;
		position: absolute;
	}

	nav.horizontally a[class*="toplevel"].dropdown-toggle::before {
		width: 7px;
		height: 7px;
		left: calc(50% - 3px);
		bottom: -5px;
		background: #ffffff;
		border-bottom: 1px solid #0f0f0f;
		border-right: 1px solid #0f0f0f;
		transform: rotate(45deg);
	}

	nav.horizontally a[class*="toplevel"].dropdown-toggle::after {
		left: calc(50% - 8px);
		bottom: -41px;
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 0 8px 8px 8px;
		border-color: transparent transparent #ffffff transparent;
		pointer-events: none;
		opacity: 0;
		transition: opacity 300ms linear;
	}
}

/* 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: #333333;
	border-color: #0f0f0f;
}

@media (min-width: 992px) {
	nav.horizontally li[class*="toplevel"]:hover > a.dropdown-toggle::after,
	nav.horizontally li[class*="toplevel"].open > a.dropdown-toggle::after,
	nav.horizontally li[class*="toplevel"].open > a.dropdown-toggle:is(:hover, :focus)::after {
		opacity: 1;
	}
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] > ul {
	background-color: #f7f2e4;
	padding: 10px 0;
	border-bottom: 4px solid #0f0f0f;
}

@media (max-width: 991px) {
	nav.horizontally [class*="toplevel"] > ul {
		margin-top: 10px;
		border-radius: 30px 30px 0 0;
		overflow: hidden;
	}
}

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

	nav.horizontally [class*="toplevel"] > ul {
		background-color: #ffffff;
		column-count: 3;
		column-gap: 0;
		column-rule: 1px solid rgba(0, 0, 0, 0.3);
		padding: 40px 20px;
		left: 0;
		right: 0;
		border-bottom-width: 8px;
		box-shadow: 0 20px 20px 0 rgba(0, 0, 0, 0.12);
	}

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

	nav.horizontally li[class*="secondlevel"] {
		padding: 0 30px 2px 30px;
		display: table;
		width: 100%;
	}
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	color: #333333;
	text-align: left;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	position: relative;
}

nav.horizontally a[class*="secondlevel"] {
	font-weight: 500;
	padding: 8px 20px;
	margin-bottom: 2px;
}

nav.horizontally a[class*="thirdlevel"] {
	font-weight: 300;
	padding: 6px 0 6px 45px;
}

nav.horizontally a[class*="thirdlevel"]::before {
	content: "";
	display: block;
	border-radius: 50%;
	background: #0f0f0f;
	height: 6px;
	width: 6px;
	position: absolute;
	left: 30px;
	top: 13px;
	opacity: 0;
	transition: opacity 300ms linear;
}

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

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

nav.horizontally li[class*="thirdlevel"]:is(:hover, :focus-within) > a::before,
nav.horizontally li[class*="thirdlevel"] > a:is(:hover, :focus)::before,
nav.horizontally li[class*="thirdlevel"].open > a::before,
nav.horizontally li[class*="thirdlevel"].open > a:is(:hover, :focus)::before,
nav.horizontally li[class*="thirdlevel"][class*="_over"] > a::before,
nav.horizontally li[class*="thirdlevel"][class*="_over"] > a:is(:hover, :focus)::before {
	opacity: 1;
}

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

/* #region -------------------------------------- header ---------------------------------------- */

header {
	position: relative;
	z-index: 101;
}

@media (min-width: 768px) {
	header::after,
	header::before {
		content: "";
		display: block;
		position: absolute;
		z-index: -1;
		top: 0;
	}

	header::after {
		right: 0;
		bottom: 286px;
		left: calc(50% + 73px);
		background: #ffca4c;
		background-position: center;
		background-size: cover;
		background-repeat: no-repeat;
		border-bottom-left-radius: 500px;
	}
}

@media (min-width: 992px) {
	header::after {
		left: calc(50% - 200px);
	}
}

body:not(.index) header::after {
	bottom: 65px;
}

@media (min-width: 992px) {
	header::before {
		left: 0;
		bottom: 170px;
		background: url("../img/deko-linien.png") center / cover no-repeat;
		width: 1200px;
		height: 736px;
	}
}

#headerpic {
	overflow: hidden;
	padding-top: clamp(30px, 10vw, 50px);
}

.index #headerpic {
	padding-top: clamp(30px, 10vw, 140px);
}

/* header text */

#header-text {
	padding-bottom: clamp(30px, 5vw, 62px);
}

@media (min-width: 992px) {
	#header-text {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}

	body:not(.index) #header-text {
		margin-top: 40px;
	}
}

#header-tab h2 {
	font-size: clamp(1.875rem, 5vw, 40px);
	margin-bottom: clamp(20px, 4vw, 40px);
	line-height: 1.15;
}

@media (min-width: 768px) {
	#header-tab h2 {
		margin-right: -40px;
		width: calc(100% + 40px);
	}
}

@media (min-width: 992px) {
	#header-tab h2 {
		margin-right: -80px;
		width: calc(100% + 80px);
	}
}

/* #endregion ----------------------------------- header ---------------------------------------- */

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

#search {
	background: #191a19;
	border-radius: 4px;
	color: #ffffff;
	font-size: clamp(1rem, 2vw, 1.125rem);
	padding-left: clamp(10px, 4vw, 30px);
	overflow: hidden;
	margin-top: 25px;
	outline: 2px solid rgba(255, 255, 255, 0.5);
}

#search + *,
#header-search > .template-page {
	margin-top: 25px;
}

#search label {
	font-weight: 500;
	padding: clamp(10px, 4vw, 18px) 10px clamp(10px, 4vw, 18px) 0;
}

#search_input {
	color: #ffffff;
	font-style: normal;
	font-weight: 300;
	background: transparent;
	border: 0;
	padding: clamp(10px, 4vw, 18px) 10px;
	width: 100%;
}

#search_input:is(:hover, :focus) {
	background-color: #0f0f0f;
}

#search_submit {
	width: 64px;
	flex-shrink: 0;
	background: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M39.75 43.35 26.3 29.95q-1.45 1.15-3.425 1.8-1.975.65-4.275.65-5.75 0-9.75-4t-4-9.65q0-5.65 4-9.65t9.7-4q5.65 0 9.625 4 3.975 4 3.975 9.65 0 2.25-.625 4.175-.625 1.925-1.875 3.625l13.5 13.4ZM18.55 27.7q3.75 0 6.325-2.625t2.575-6.325q0-3.75-2.575-6.35Q22.3 9.8 18.55 9.8t-6.375 2.6Q9.55 15 9.55 18.75q0 3.7 2.625 6.325T18.55 27.7Z' fill='%23fff'/%3E%3C/svg%3E") center / 34px auto no-repeat;
	padding: 0;
	cursor: pointer;
	border: none;
	font-size: 0;
	transition: background-color 300ms linear;
}

#search_submit:is(:hover, :focus) {
	background-color: #0f0f0f;
}

#search_input::placeholder {
	color: #ffffff !important;
	opacity: 1 !important;
	font-style: italic !important;
}

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

/* #region -------------------------------------- banner ---------------------------------------- */

#slider {
	background: #0f0f0f;
	height: 90vw;
	overflow: hidden;
	position: relative;
	border-radius: 300px 300px 0 300px;
}

@media (max-width: 767px) {
	body:not(.index) #headerpic .slider-wrapper {
		display: none;
	}
}

@media (max-width: 991px) {
	#slider {
		max-height: 370px;
	}

	#headerpic .slider-wrapper {
		max-width: 370px;
		margin-left: auto;
		margin-right: auto;
	}
}

@media (min-width: 992px) {
	#slider {
		height: 370px;
	}

	body.index #slider {
		height: clamp(500px, 50vw, 570px);
	}

	.slider-wrapper {
		position: relative;
		z-index: 1;
	}

	#header-text + aside {
		margin-top: 44px;
	}

	.slider-wrapper::after {
		content: "";
		pointer-events: none;
		display: block;
		position: absolute;
		z-index: -1;
		top: -35px;
		left: -35px;
		right: -35px;
		bottom: -35px;
		border-radius: 50%;
		border: 12px solid transparent;
		border-top-color: #0f0f0f;
		border-left-color: #0f0f0f;
	}
}

/* arrows */

#headerpic .nivo-directionNav a {
	width: 40px;
	height: 40px;
	background: #ffffff url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='42'%3E%3Cpath d='m15.2 45.1-4-4.05L28.35 23.9 11.2 6.75l4-4.05 21.2 21.2Z' fill='%23191a19'/%3E%3C/svg%3E") center / 18px auto no-repeat;
	top: auto;
	bottom: calc(50% - 40px);
}

@media (min-width: 992px) {
	#headerpic .nivo-directionNav a {
		opacity: 1;
		bottom: 10px;
	}

	.index #headerpic .nivo-directionNav a {
		width: 50px;
		height: 50px;
		background-size: 22px auto;
	}
}

#headerpic .nivo-directionNav :is(a:hover, a:focus) {
	background-color: #ffca4c;
}

#headerpic a.nivo-prevNav {
	left: 10px;
	right: 60px;
	transform: scaleX(-1);
}

@media (min-width: 992px) {
	#headerpic a.nivo-prevNav {
		left: auto;
	}

	.index #headerpic a.nivo-prevNav {
		right: 70px;
	}
}

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

/* dots */

#headerpic .nivo-controlNav {
	right: 10px;
	width: auto;
	left: 25%;
	font-size: 0;
	bottom: 10px;
	text-align: right;
}

@media (min-width: 992px) {
	#headerpic .nivo-controlNav {
		right: 115px;
	}

	.index #headerpic .nivo-controlNav {
		right: 135px;
		bottom: 16px;
	}
}

#headerpic .nivo-controlNav a {
	position: relative;
	background: transparent;
	width: 25px;
	height: 30px;
	margin: 0;
}

#headerpic .nivo-controlNav a::after {
	content: "";
	display: block;
	position: absolute;
	left: calc(50% - 7px);
	top: calc(50% - 7px);
	background: #ffffff;
	border-radius: 50%;
	border: 2px solid #0f0f0f;
	width: 14px;
	height: 14px;
	box-sizing: border-box;
	transition: background 300ms linear, border 300ms linear;
}

#headerpic .nivo-controlNav a:is(:hover, :focus, .active)::after {
	border-color: #ffffff;
	background: #0f0f0f;
}

#headerpic .slider-wrapper {
	height: auto;
}

.nivo-main-image,
#slider > a > div {
	height: 100% !important;
}

.slider-mask {
	display: none;
}

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

/* #region ------------------------------------ quick links ------------------------------------- */

#quick-links {
	position: relative;
	z-index: 2;
	margin-top: clamp(15px, 4vw, 30px);
	font-size: 1rem;
	background: linear-gradient(to top, #f7f2e4, #f7f2e4 60px, rgba(255, 255, 255, 0) 60px);
}

#quick-links-bg {
	background: #0f0f0f;
	border-radius: 4px;
	box-shadow: 0 50px 20px -30px rgba(0, 0, 0, 0.1);
}

@media (min-width: 576px) {
	#quick-links-bg {
		padding: 10px 0;
	}
}

#quick-links-bg :is(b, strong, a) {
	font-size: 1.125rem;
}

#quick-links-bg > .row {
	margin: 0;
}

#quick-links-bg > .row > * {
	padding: 15px;
}

@media (min-width: 576px) {
	#quick-links-bg > .row > * {
		padding: 0 30px;
		margin-top: 15px;
		margin-bottom: 15px;
		flex-grow: 1;
		max-width: none;
	}
}

#quick-links-bg a {
	color: inherit;
}

#quick-links-bg .template-page a:last-of-type {
	color: inherit;
	position: static;
	z-index: 2;
}

#quick-links-bg .template-page > .row,
#quick-links-bg .template-page > .row > div {
	position: static;
}

#quick-links-bg .template-page a:last-of-type::after {
	content: "";
	position: absolute;
	inset: -25px 0;
	border-radius: 0;
	z-index: 2;
}

#quick-links-bg img {
	margin-bottom: 2px;
}

/* #endregion ---------------------------------- quick links ------------------------------------ */

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

#news,
#events {
	padding: clamp(30px, 10vw, 80px) 0;
	position: relative;
	z-index: 1;
	overflow: hidden;
}

#news {
	background: linear-gradient(to bottom, #f7f2e4, #f7f2e4 250px, rgba(255, 255, 255, 0) 250px);
}

@media (min-width: 992px) {
	:is(#news, #events)::after {
		content: "";
		display: block;
		position: absolute;
		z-index: -1;
		max-height: 75%;
		background: #ffca4c;
	}

	#news::after {
		left: 0;
		bottom: 0;
		height: 100%;
		max-height: 553px;
		right: calc(50% + 345px);
	}
}

@media (min-width: 1200px) {
	#news::after {
		right: calc(50% + 415px);
	}
}

#events::after {
	left: 50%;
	bottom: 0;
	height: 100%;
	right: 0;
}

@media (min-width: 992px) {
	#events::after {
		max-height: 363px;
		left: calc(50% - 345px);
	}
}

@media (min-width: 1200px) {
	#events::after {
		left: calc(50% - 415px);
	}
}

:is(#news, #events) > .row > * + * {
	margin-top: 35px;
}

/* tab image */

@media (max-width: 991px) {
	.tab-narrow > * {
		max-width: 340px;
		margin-left: auto;
		margin-right: auto;
	}
}

@media (min-width: 992px) {
	#news .tab-narrow {
		padding-right: clamp(30px, 4vw, 45px);
	}

	#events .tab-narrow {
		padding-left: clamp(30px, 4vw, 45px);
	}
}

:is(#news, #events) .tab-image {
	position: relative;
	z-index: 1;
	min-height: 80px;
	margin-bottom: -108px;
}

:is(#news, #events) .tab-image::after {
	content: "";
	display: block;
	position: absolute;
	z-index: -1;
	left: -28px;
	right: -28px;
	top: 50%;
	bottom: -28px;
	background: #ffffff;
	border-bottom-left-radius: 200px;
}

:is(#news, #events) .tab-image .banner {
	border-radius: 200px 200px 0 200px;
	margin-bottom: 28px;
}

:is(#news, #events) .tab-image .banner img {
	display: block;
	aspect-ratio: 1/1;
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 200px 200px 0 200px;
}

/* tab */

:is(#news, #events) .tab {
	border: 8px solid #0f0f0f;
	background: #ffffff;
	color: #0f0f0f;
	padding: 105px clamp(15px, 2vw, 30px) clamp(30px, 3vw, 36px) clamp(15px, 2vw, 30px);
}

:is(#news, #events) .tab > h2 {
	font-size: clamp(1.5rem, 3vw, 1.875rem);
	margin-bottom: clamp(15px, 4vw, 25px);
	color: #0f0f0f;
	hyphens: none;
}
:is(#news, #events) .tab a {
	color: #0f0f0f;
}

:is(#news, #events) .button-design {
	margin-top: clamp(20px, 4vw, 40px);
}

/* tabnews/tabevents */

#news .tab_link_entries {
	margin-top: clamp(10px, 3vw, 70px);
}

#events .tab_link_entries {
	margin-top: clamp(10px, 3vw, 70px);
}

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

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

:is(#news, #events) .tab_link_entry {
	font-size: 1rem;
	border-bottom: none !important;
	position: relative;
	border-radius: 4px;
	padding: 140px clamp(15px, 4vw, 30px) clamp(15px, 4vw, 26px) clamp(15px, 4vw, 30px);
	box-shadow: 0 15px 15px 0 rgba(0, 0, 0, 0.1);
}

#news .tab_link_entry {
	background: #ffffff url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M7 42q-1.25 0-2.125-.875T4 39V6l3.35 3.35L10.65 6 14 9.35 17.35 6l3.3 3.35L24 6l3.35 3.35L30.65 6 34 9.35 37.35 6l3.3 3.35L44 6v33q0 1.25-.875 2.125T41 42Zm0-3h15.5V25H7v14Zm18.5 0H41v-5.5H25.5Zm0-8.5H41V25H25.5ZM7 22h34v-6H7Z' fill='%23f7f2e4'/%3E%3C/svg%3E") top -12px right 6px / 96px auto no-repeat;
}

#events .tab_link_entry {
	display: flex;
	flex-direction: column;
	background: #ffffff url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M9 44q-1.2 0-2.1-.9Q6 42.2 6 41V10q0-1.2.9-2.1Q7.8 7 9 7h3.25V4h3.25v3h17V4h3.25v3H39q1.2 0 2.1.9.9.9.9 2.1v31q0 1.2-.9 2.1-.9.9-2.1.9Zm0-3h30V19.5H9V41Zm0-24.5h30V10H9Zm0 0V10v6.5ZM24 28q-.85 0-1.425-.575Q22 26.85 22 26q0-.85.575-1.425Q23.15 24 24 24q.85 0 1.425.575Q26 25.15 26 26q0 .85-.575 1.425Q24.85 28 24 28Zm-8 0q-.85 0-1.425-.575Q14 26.85 14 26q0-.85.575-1.425Q15.15 24 16 24q.85 0 1.425.575Q18 25.15 18 26q0 .85-.575 1.425Q16.85 28 16 28Zm16 0q-.85 0-1.425-.575Q30 26.85 30 26q0-.85.575-1.425Q31.15 24 32 24q.85 0 1.425.575Q34 25.15 34 26q0 .85-.575 1.425Q32.85 28 32 28Zm-8 8q-.85 0-1.425-.575Q22 34.85 22 34q0-.85.575-1.425Q23.15 32 24 32q.85 0 1.425.575Q26 33.15 26 34q0 .85-.575 1.425Q24.85 36 24 36Zm-8 0q-.85 0-1.425-.575Q14 34.85 14 34q0-.85.575-1.425Q15.15 32 16 32q.85 0 1.425.575Q18 33.15 18 34q0 .85-.575 1.425Q16.85 36 16 36Zm16 0q-.85 0-1.425-.575Q30 34.85 30 34q0-.85.575-1.425Q31.15 32 32 32q.85 0 1.425.575Q34 33.15 34 34q0 .85-.575 1.425Q32.85 36 32 36Z' fill='%23f7f2e4'/%3E%3C/svg%3E") top -6px right 6px / 96px auto no-repeat;
}

#news .tab_link_entry .tab_date,
#events .tab_link_entry .tab_link_date {
	font-size: 0.875rem;
	font-weight: 500;
	background: #ffca4c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M9 44q-1.2 0-2.1-.9Q6 42.2 6 41V10q0-1.2.9-2.1Q7.8 7 9 7h3.25V4h3.25v3h17V4h3.25v3H39q1.2 0 2.1.9.9.9.9 2.1v31q0 1.2-.9 2.1-.9.9-2.1.9Zm0-3h30V19.5H9V41Zm0-24.5h30V10H9Zm0 0V10v6.5Z' fill='333'/%3E%3C/svg%3E") center left 10px / 18px auto no-repeat;
	line-height: 1.2;
	padding: 8px 10px 6px 35px;
	border-radius: 30px;
	position: absolute;
	top: 50px;
	right: clamp(15px, 4vw, 30px);
	max-width: calc(100% - 170px);
	min-width: 130px;
}

:is(#news, #events) .tab_link_entry .tab_link_title::after {
	content: "-";
	display: block;
	margin: 3px 0;
	font-weight: 500;
	line-height: 1;
}

:is(#news, #events) .tab_link_entry .tab_link_title a {
	font-size: 1.25rem;
	line-height: 1.2;
	display: block;
	text-decoration: none;
	color: #0f0f0f;
}

:is(#news, #events) .tab_link_entry .tab_link_title a::before {
	content: "";
	background: #ffca4c url("../img/meldungen-platzhalter.jpg") center / cover no-repeat;
}

:is(#news, #events) .tab_link_entry .tab_preview_picture,
:is(#news, #events) .tab_link_entry .tab_link_title a::before {
	display: block;
	overflow: hidden;
	border-radius: 50%;
	width: 100px;
	height: 100px;
	position: absolute;
	top: 20px;
	left: clamp(15px, 4vw, 30px);
}

:is(#news, #events) .tab_link_entry .tab_preview_picture img {
	display: block;
	object-fit: cover;
	width: 100%;
	height: 100%;
	margin: 0;
}

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

#events .tab_link_entry .tab_link_mandat {
	order: 100;
	line-height: 1.2;
	text-align: right;
	margin-top: clamp(15px, 4vw, 26px);
	margin-bottom: clamp(-5px, 4vw, -20px);
	padding-top: 15px;
	border-top: 1px solid rgba(0, 0, 0, 0.3);
}

#events .tab_link_entry .tab_link_mandat :is(a, span) {
	font-size: 0.875rem;
	padding-left: 20px;
	min-height: 18px;
	display: inline-block;
	background: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M24 23.5q1.45 0 2.475-1.025Q27.5 21.45 27.5 20q0-1.45-1.025-2.475Q25.45 16.5 24 16.5q-1.45 0-2.475 1.025Q20.5 18.55 20.5 20q0 1.45 1.025 2.475Q22.55 23.5 24 23.5Zm0 16.55q6.65-6.05 9.825-10.975Q37 24.15 37 20.4q0-5.9-3.775-9.65T24 7q-5.45 0-9.225 3.75Q11 14.5 11 20.4q0 3.75 3.25 8.675Q17.5 34 24 40.05ZM24 44q-8.05-6.85-12.025-12.725Q8 25.4 8 20.4q0-7.5 4.825-11.95Q17.65 4 24 4q6.35 0 11.175 4.45Q40 12.9 40 20.4q0 5-3.975 10.875T24 44Zm0-23.6Z' fill='%23333333'/%3E%3C/svg%3E") center left / 18px auto no-repeat;
	color: #333333;
	text-decoration: none;
	font-weight: 300;
}

/* #endregion -------------------------------- news + events ------------------------------------ */

/* #region --------------------------------------- buttons -------------------------------------- */

.button-design a {
	display: inline-block;
	color: #ffffff;
	font-size: 1rem;
	font-weight: 500;
	background: #0f0f0f;
	padding: 9px 60px 9px 20px;
	border-radius: 30px;
	position: relative;
	text-decoration: none !important;
	outline: 2px solid rgba(255, 255, 255, 0.5);
}

.button-design a::after {
	content: "";
	display: block;
	position: absolute;
	top: 4px;
	right: 4px;
	bottom: 4px;
	width: 34px;
	background: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M27 34.85q-.45-.45-.45-1.075t.4-1.025l7.35-7.35H9.5q-.65 0-1.075-.425Q8 24.55 8 23.9q0-.65.425-1.075Q8.85 22.4 9.5 22.4h24.8L26.9 15q-.45-.45-.425-1.05.025-.6.475-1.05.45-.4 1.075-.4t1.025.4L39 22.85q.25.25.35.5.1.25.1.55 0 .3-.1.55-.1.25-.35.5l-9.9 9.9q-.45.45-1.05.45-.6 0-1.05-.45Z' fill='%23fff'/%3E%3C/svg%3E") center / 24px auto no-repeat;
	border-radius: 50%;
	transition: background 300ms linear;
}

.button-design a:is(:hover, :focus) {
	color: #0f0f0f;
	background-color: #ffca4c;
}

.button-design a:is(:hover, :focus)::after {
	background-color: #333333;
}

.button-design a + a {
	margin-left: 10px;
}

/* #endregion ------------------------------------ buttons -------------------------------------- */

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

#content-area {
	text-align: left;
	padding-top: clamp(30px, 10vw, 50px);
	padding-bottom: clamp(30px, 10vw, 100px);
}

/* #region ---------------------------------- h1 - h6, newslink --------------------------------- */

.headline-border,
.tab-headline h2 {
	padding-left: clamp(30px, 3vw, 40px);
	position: relative;
	color: #0f0f0f;
}
#events .headline-border {
	color: #fff;
}
#events .headline-border :is(h1, h2, h3, h4, h5, h6) {
	color: #ffca4c;
}
.tab-headline h2 {
	color: #ffca4c;
	margin: 0 !important;
	line-height: 0.9;
}
.headline-border-weiss {
	padding-left: clamp(35px, 4vw, 45px);
	color: #fff;
	margin-bottom: 80px;
}
.headline-border :is(h1, h2, h3, h4, h5, h6) {
	color: #fff;
	margin: 0 !important;
}
.headline-border :is(h1, h2, h3, h4, h5, h6) {
	color: #fff;
	margin: 0 !important;
}
.headline-border-weiss :is(h3, h4, h5, h6) {
	font-size: 1.75rem;
}

.tab-content,
#news .tab-content a,
.tab-content :is(h1, h2, h3, h4, h5, h6) {
	color: #0f0f0f;
}

@media (max-width: 991px) {
	#news .tab-content a,
	.tab-content :is(h1, h2, h3, h4, h5, h6),
   #news .headline-border {
		color: #fff;
	}
}
#topics .tab-headline h2 {
   margin-bottom: 40px !important;
}

.headline-border::before,
.tab-headline h2::before {
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	bottom: clamp(7px, 1vw, 11px);
	left: 0;
	background: url(../img/deko-gelb.png);
	width: 21px;
	height: 74px;
	max-height: 100%;
	background-position: center right;
	background-repeat: no-repeat;
	background-size: contain;
}
.headline-border-weiss::before {
	background: url(../img/deko.png);
	width: 31px;
	height: 112px;
	background-position: center right;
	background-repeat: no-repeat;
	background-size: contain;
}

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
	color: #ffca4c;
	font-weight: 800;
	line-height: 1.2;
	font-family: "Rubik", sans-serif;
	margin-bottom: 15px;
}

h1,
.h1,
.legacy_h1,
:is(.tab-content, .tab-headline) h2 {
	font-size: clamp(1.875rem, 4vw, 3.125rem);
	margin-bottom: clamp(20px, 4vw, 30px);
}

:is(h1, .h1, h2, .h2) :is(i, em) {
	font-style: normal;
	font-weight: 500;
	font-size: 1.125rem;
	display: block;
}

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

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

h4,
.h4,
.legacy_h4 {
	font-size: clamp(1.5rem, 2.5vw, 1.875rem);
}

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

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

/* #endregion ---------------------------------- h1 - h6, newslink ------------------------------ */

/* #region --------------------------------------- topics --------------------------------------- */

#topics {
	position: relative;
	z-index: 1;
	padding-top: clamp(30px, 10vw, 80px);
	font-size: 1rem;
}

#topics :is(a) {
	font-size: 1.125rem;
}

#topics::after,
#topics::before {
	content: "";
	display: block;
	position: absolute;
	z-index: -1;
	top: 0;
}

#topics::after {
	right: 0;
	bottom: 125px;
	left: calc(50% - 200px);
	background: #333333;
	border-bottom-left-radius: 500px;
}

@media (min-width: 992px) {
	#topics::before {
		left: 0;
		max-width: 545px;
		width: 30vw;
		top: 260px;
		bottom: 130px;
		background: url("../img/deko-linien.png") top left / cover no-repeat;
	}
}

.topic-tabs :is(h2, h3) {
	font-size: clamp(1.25rem, 4vw, 1.5rem);
	margin-bottom: clamp(15px, 4vw, 22px);
	color: #fff;
}

@media (min-width: 992px) {
	.topic-tab-1 {
		margin-top: clamp(-20px, 4vw, -30px);
	}
}

.topic-tab-2 {
	margin-top: clamp(30px, 5vw, 100px);
}

.topic-tabs .row {
	display: flex;
	align-content: end;
	align-items: end;
}

.topic-tabs .row + .row {
	padding-top: clamp(20px, 4vw, 55px);
}

.topic-tabs img {
	display: block;
	border-radius: 200px 200px 0 200px;
}

/* #endregion ------------------------------------ topics --------------------------------------- */

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

footer {
	background: #0f0f0f;
	background-position: center;
	background-size: cover;
}

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

#footer {
	font-size: 1rem;
	padding: clamp(30px, 10vw, 80px) 0;
}

#footer > .row {
	gap: 40px 0;
}

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

#innerfooter {
	padding: 28px 0;
	font-size: 0.9375rem;
	background: #333333;
}

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

#innerfooter ul {
	padding: 0;
}

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

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

@media (min-width: 576px) {
	#innerfooter li + li::before {
		content: "•";
		margin: 0 15px;
		color: #fff;
	}

	#innerfooter li {
		display: inline-block;
	}
}

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

/* #region -------------------------------------- vernetzt -------------------------------------- */

#innerfooter #vernetzt {
	gap: 15px;
	text-align: left;
	font-size: 0.8125rem;
	color: #fff;
	line-height: 1.3;
	font-weight: 300;
	text-decoration: none;
}

#innerfooter #vernetzt span span {
	display: block;
}

/* #endregion -------------------------------- vernetzt ----------------------------------------- */

/* #region -------------------------------------- contrast -------------------------------------- */

.contrast_dark .tab_link_entry,
.contrast_dark .tab_link_entry :is(.tab_date, .tab_link_date) {
	background: #000 !important;
}

.contrast_light .tab_link_entry,
.contrast_light .tab_link_entry :is(.tab_date, .tab_link_date) {
	background: #ffffff !important;
}

:is(.contrast_dark, .contrast_light) :is(#news, #events) .tab-image::after,
:is(.contrast_dark, .contrast_light) :is(#news, #events) .tab_link_entry .tab_link_title a::before {
	display: none !important;
}

.contrast_light #search :is(label, input) {
	color: #ffffff !important;
}

/* #endregion ----------------------------------- contrast -------------------------------------- */
