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

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

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

a {
	color: #385888;
}

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

b,
strong {
	font-weight: 600;
}

.static {
	position: static;
}

/* ----------------------------------------------- @3tp topbar ----------------------------------------------- */

#tp3 {
	color: #ffffff;
	padding-top: 10px;
	padding-bottom: 10px;
	background: #507040;
}

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

@media (max-width: 575px) {
	#tp3>.row>*>*+* {
		margin-top: 10px;
	}
}

@media (min-width: 992px) {
	#tp3 {
		padding-top: 0;
		padding-bottom: 0;
	}
}

#tp3 span {
	color: #ffffff;
	font-size: 0.875rem;
	padding-right: 10px;
}

#topbar {
	padding: 20px 0;
}

/* ------------------------------------------------ contrast_style ---------------------------------------------- */

#contrast_style button {
	color: #000000;
	padding: 0;
	font-size: 0;
	border: unset !important;
	display: inline-block;
	text-align: center;
	width: 29px;
	height: 29px;
	font-weight: 400;
	background: #507040;
	transition: background 300ms linear;
	position: relative;
	z-index: 1;
}

#contrast_style button:nth-child(2n+2) {
	background: rgba(255, 255, 255, 0.8);
}

#contrast_style button:hover,
#contrast_style button:focus {
	background: #b9cf68;
}

#contrast_style *+* {
	margin-left: 3px;
}

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

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

#style button {
	padding: 0;
	border: none;
	color: #fff;
	display: inline-block;
	min-width: 29px;
	min-height: 29px;
	font-weight: 600;
	font-size: 0.875rem;
	text-align: center;
	background: #507040;
	position: relative;
	line-height: 1;
	transition: color 300ms linear, background 300ms linear;
}

#style button:nth-child(2n+2) {
	background: rgba(255, 255, 255, 0.8);
	color: #665a5a;
}

#style button+button {
	margin-left: 3px;
}

#style button:hover,
#style button:focus {
	color: #507040;
	background: #b9cf68;
}

/* ----------------------------------------------- search ----------------------------------------------- */

form[id^="search"] {
	min-height: 35px;
	display: block;
	position: relative;
	background: rgba(255, 255, 255, 0.8);
}

@media (max-width: 575px) {
	form[id^="search"] {
		display: inline-block;
	}
}

@media (min-width: 992px) {
	form[id^="search"] {
		margin-left: 30px;
	}
}

form [id^="search_input"] {
	font-size: 0.875rem;
	color: #665a5a;
	font-style: normal;
	background: transparent;
	padding: 0;
	border: 0;
	padding-left: 14px;
	padding-right: 54px;
	min-height: 35px;
	width: 100%;
	display: block;
}

form [id^="search_submit"] {
	width: 40px;
	background: url('../img/lupe-icon.png') center no-repeat;
	padding: 0;
	cursor: pointer;
	position: absolute;
	top: 6px;
	bottom: 6px;
	border: none;
	right: 0;
	font-size: 0;
	border-left: 1px solid #507040;
	transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
}

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
	top: 0;
	bottom: 0;
	background-color: #b9cf68;
}

[id^="search_input"]::-ms-input-placeholder {
	color: #665a5a !important;
}

[id^="search_input"]::-webkit-input-placeholder {
	color: #665a5a !important;
}

[id^="search_input"]::-moz-placeholder {
	opacity: 1;
}

[id^="search_input"]:-moz-placeholder {
	opacity: 1;
}


/* für :focus-visible -> setzt die Umrandung -3px weiter hinein */
form[id^="search"],
form [id^="search_input"],
form [id^="search_submit"] {
	outline-offset: -3px;
}


/* contact col */

#location-tab,
#contact-tab {
	padding-top: 42px;
	display: block;
	min-height: 42px;
	min-width: 42px;
	font-size: 1rem;
	background-position: top left;
	background-repeat: no-repeat;
	background-size: auto 34px;
}

@media (min-width: 576px) {

	#location-tab,
	#contact-tab {
		padding-top: 0;
		padding-left: 48px;
		background-position: center left;
	}

	#location-tab {
		padding-left: 50px;
	}

	#contact-tab {
		margin-left: clamp(20px, 4vw, 49px);
		padding-left: 60px;
	}
}

#location-tab {
	background-image: url("../img/icon-standort.png");
	background-size: 34px 48px
}

#contact-tab {
	background-image: url("../img/icon-kontakt.png");
	background-size: 42px;
}

#contact-tab a {
	text-decoration: underline;
}

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

#logo {
	display: inline-block;
}

#logo img {
	display: block;
}

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

/* ----------------------------------------- quicklinks ----------------------------------------- */

@media (max-width: 991px) {
	.quickLinks {
		padding: 20px 15px 0 15px;
	}

	#myNavbar .quickLinks a {
		color: #ffffff;
	}
}

.quickLinks a {
	font-size: 1rem;
	color: inherit;
	text-decoration: none;
	display: inline-block;
}

.quickLinks a:is([title*="Startseite"], [title*="Start"], [title*="Home"])::before {
	content: "\2302";
	font-family: "Arial", sans-serif;
	margin-right: 3px;
}

.quickLinks a:is(:hover, :focus) {
	text-decoration: underline;
}

.quickLinks li+li {
	margin-left: clamp(15px, 2vw, 22px);
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
	#burgerButton {
		font-size: 13px;
		display: block;
		width: 48px;
		height: 48px;
		border-radius: 2px;
		padding: 8px 0 0 0 !important;
		cursor: pointer;
		background: #ffffff;
		border: none !important;
		border-radius: 4px;
		color: #385888;
		font-weight: 700;
		line-height: 1;
		text-transform: uppercase;
		text-align: center;
		box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
	}

	#burgerButtonInner {
		margin-bottom: 26px;
		display: inline-block;
	}

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

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

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

	#burgerButton::before {
		top: 26px;
	}

	#burgerButton::after {
		top: 36px;
	}

	#burgerButton::before,
	#burgerButton::after {
		content: "";
		display: block;
		position: absolute;
		background: #385888;
		border-radius: 2px;
		width: 38px;
		height: 3px;
		left: 5px;
		font-size: 0;
		transition: transform 200ms linear, opacity 200ms linear;
	}

	.navbar-nav {
		margin: 20px 0;
	}

	.navbar-collapse {
		width: calc(100% - 90px);
		max-width: 300px;
		top: 0;
		background: #385888;
		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: 22px;
		right: 15px;
		z-index: 101;
	}

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

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

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally {
		background: #385888;
	}

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

	nav.horizontally li[class*="toplevel"]>ul {
		position: absolute;
		top: auto;
		right: 0;
		left: 50% !important;
		transform: translate(-50%);
		width: 100%;
		z-index: 1000;
		margin: 0;
		padding: 20px 25px;
		max-height: 60vh;
		overflow: visible;
		display: block !important;
		pointer-events: none;
		opacity: 0;
		visibility: hidden;
		transition: opacity 300ms linear;
		background: rgba(255, 255, 255, 0.96);
	}

	nav.horizontally li[class*="toplevel"]>ul:not(.mCustomScrollbar),
	nav.horizontally li[class*="toplevel"]>ul .mCSB_container {
		column-count: 4;
		column-gap: 30px;
		max-width: 992px;
		margin: 0 auto;
		padding: 0 15px;
		height: auto;
	}

	nav.horizontally li[class*="secondlevel"] {
		float: none;
		page-break-inside: avoid;
		break-inside: avoid;
		display: table !important;
	}

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

	#mCSB_1_scrollbar_vertical {
		left: 50%;
		margin-left: calc(962px / 2);
	}
}

@media (min-width: 1200px) {

	nav.horizontally li[class*="toplevel"]>ul:not(.mCustomScrollbar),
	nav.horizontally li[class*="toplevel"]>ul .mCSB_container {
		max-width: 1200px;
		padding-top: 25px;
		padding-bottom: 45px;
	}

	#mCSB_1_scrollbar_vertical {
		margin-left: calc(1140px / 2);
	}
}

nav.horizontally li:is([class$="_end"], [class$="_start"]) {
	display: none;
}

/* toplevel */

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

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

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

	.navbar-default .navbar-nav>li>a {
		padding: 12px 15px 30px 15px;
	}
}

@media (min-width: 992px) {
	nav.horizontally .navbar-nav a[class*="toplevel"] {
		padding: 20px 30px 39px 30px;
		display: flex;
		align-content: center;
		align-items: center;
		justify-content: center;
		text-align: center;
		height: 100%;
	}
}

.navbar-default .navbar-nav li[class*="toplevel"]>a::before {
	content: "";
	display: block;
	height: 2px;
	width: 0;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
	background: #ffffff;
	transition: width 200ms linear;
}

.navbar-default .navbar-nav>li>a::after {
	content: '';
	font-size: 0.875rem;
	font-weight: 400;
	width: 100%;
	display: block;
	text-align: center;
	position: absolute;
	bottom: 20px;
	left: 0;
	color: #fff;
	text-transform: none;
}

@media (max-width: 991px) {
	.navbar-default .navbar-nav>li>a::after {
		text-align: left;
		bottom: -1px;
		left: 15px;
		hyphens: auto;
	}
}

.navbar-default .navbar-nav>li:nth-child(1)>a::after {
	content: 'Wobydlerski serwis';
}

.navbar-default .navbar-nav>li:nth-child(2)>a::after {
	content: 'Zarjadnistwo';
}

.navbar-default .navbar-nav>li:nth-child(3)>a::after {
	content: 'Wjesne dźělić';
}

.navbar-default .navbar-nav>li:nth-child(4)>a::after {
	content: 'Twarić a bydlić';
}

.navbar-default .navbar-nav>li:nth-child(5)>a::after {
	content: 'Kubłanje a socialne';
}

.navbar-default .navbar-nav>li:nth-child(6)>a::after {
	content: 'Turizm a wólny čas';
}

.navbar-default .navbar-nav>li:nth-child(7)>a::after {
	content: 'Čestne zastojnstwo';
}

.navbar-default .navbar-nav>li:nth-child(8)>a::after {
	content: 'Čestne zastojnstwo';
}

/* toplevel-over */

nav.horizontally .navbar-nav li[class*="toplevel"]:is(:hover, :focus-within)>a::before,
nav.horizontally .navbar-nav li[class*="toplevel"]>a:is(:hover, :focus)::before,
nav.horizontally .navbar-nav li[class*="toplevel"].open>a::before,
nav.horizontally .navbar-nav li[class*="toplevel"].open>a:is(:hover, :focus)::before,
nav.horizontally .navbar-nav li[class*="toplevel"][class*="_over"]>a::before,
nav.horizontally .navbar-nav li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus)::before {
	width: 100%;
}

/* secondlevel + thirdlevel dropdown-box */

@media (max-width: 991px) {
	nav.horizontally [class*="toplevel"] ul {
		padding: 10px;
		background: rgba(255, 255, 255, 1);
	}
}

@media (min-width: 992px) {
	nav.horizontally [class*="secondlevel"]>ul {
		display: block;
	}
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	color: #665a5a;
	text-align: left;
	padding: 8px 35px 8px 15px;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
}

nav.horizontally a[class*="secondlevel"] {
	font-weight: 700;
	text-transform: uppercase;
}

nav.horizontally a[class*="thirdlevel"] {
	font-weight: 400;
}

@media (min-width: 992px) {
	nav.horizontally a[class*="secondlevel"] {
		padding: 20px 0 2px;
	}

	nav.horizontally a[class*="thirdlevel"] {
		padding: 5px 0 5px 20px;
	}
}

/* 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) {
	color: #507040;
}

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

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

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

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

#bannerOverlay {
	padding-top: 25px;
}

#bannerOverlay :is(h1, h2, h3, h4, h5, h6) {
	font-size: clamp(22px, 4vw, 30px);
}

#bannerOverlay :is(h1, h2, h3, h4, h5, h6) :is(b, strong) {
	font-weight: 700;
	font-size: clamp(30px, 4vw, 60px);
	display: block;
}

#bannerOverlay a {
	text-decoration: underline;
}

@media (min-width: 576px) {
	#bannerOverlay {
		padding-top: 0;
		position: absolute;
		left: 0;
		right: 0;
		bottom: 120px;
		z-index: 60;
		color: #ffffff;
		text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
		font-weight: 600;
	}

	#bannerOverlay :is(h1, h2, h3, h4, h5, h6, a) {
		color: #ffffff;
	}

	#bannerOverlay :is(b, strong) {
		font-weight: 700;
	}
}

@media (min-width: 992px) {
	#bannerOverlay {
		bottom: 115px;
	}
}

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

@media (min-width: 992px) {
	#headerpic {
		background: #665a5a;
	}
}

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

.slider-mask {
	display: none;
}

@media (min-width: 576px) {
	.slider-mask {
		display: block;
		background: linear-gradient(to top, rgba(56, 88, 136, 0.8), rgba(56, 88, 136, 0) 60%);
	}
}

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

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

#headerpic .nivo-directionNav {
	height: 40px;
	pointer-events: none;
	width: 100%;
	position: absolute;
	z-index: 7;
	left: 50%;
	bottom: 80px;
	transform: translateX(-50%);
}

@media (min-width: 992px) {
	#headerpic .nivo-directionNav {
		max-width: 992px;
		bottom: 100px;
	}
}

@media (min-width: 1200px) {
	#headerpic .nivo-directionNav {
		max-width: 1200px;
	}
}

#headerpic .nivo-directionNav a {
	pointer-events: auto;
	background: #507040 url('../img/banner-arrows.png') top 10px center / 18px auto no-repeat;
	width: 40px;
	height: 40px;
}

#headerpic .nivo-directionNav a.nivo-nextNav {
	transform: scaleX(-1)
}

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

@media (min-width: 576px) {
	#headerpic .nivo-controlNav {
		bottom: 65px;
	}
}

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

#headerpic .nivo-controlNav button {
	background: transparent;
	border-radius: 50%;
	border: 1px solid #ffffff;
	width: 12px;
	height: 12px;
	padding: 0;
}

#headerpic .nivo-controlNav button:is(:hover, :focus),
#headerpic .nivo-controlNav .slick-active button {
	background: #ffffff !important;
}

#headerpic .nivo-controlNav {
	pointer-events: none;
}

#headerpic .nivo-controlNav button {
	pointer-events: auto;
}

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

@media (max-width: 991px) {
	body:not(.index) #searchArea {
		display: none;
	}
}

#searchBox {
	background: #ffffff;
	padding: 35px 0;
	box-shadow: 0 30px 50px -30px rgba(56, 88, 163, 0.3);
}

@media (min-width: 576px) {
	#searchBox {
		position: relative;
		z-index: 54;
		margin-top: -50px;
		padding-left: clamp(25px, 4vw, 40px);
		padding-right: clamp(25px, 4vw, 40px);
	}
}

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

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

.importantLinks a {
	font-size: 1rem;
	border-radius: 2px;
	display: inline-block;
	background: #e5f6ff;
	color: #385888;
	padding: 2px 6px;
}

.importantLinks a+a {
	margin-left: 4px;
}

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

/* #region ------------------------------------ topInfo ----------------------------------------- */

#topInfo {
	padding-top: clamp(40px, 8vw, 150px);
	padding-bottom: clamp(40px, 3vw, 60px);
	position: relative;
	z-index: 1;
}

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

#topInfo .tab-text {
	font-weight: 300;
}

@media (min-width: 992px) {
	#topInfo .tab-text {
		padding-top: 50px;
		padding-right: 30px;
		padding-bottom: 110px;
	}
}

#topInfo .tab-text>* {
	background: #507040;
}

#topInfo .tab-text,
#topInfo .tab-text :is(h1, h2, h3, h4, h5, h6, a) {
	color: #ffffff;
}

#topInfo .tab-text :is(h1, h2, h3, h4, h5, h6) :is(b, strong) {
	font-size: 3.5rem;
}

#topInfo .tab-text a {
	text-decoration: underline;
}

#topInfo .tab-text a:is(:hover, :focus) {
	color: #59c722;
}

#topInfo .tab-text h2::after {
	content: "";
	display: block;
	width: 20px;
	height: 8px;
	background: #fff;
	margin: 20px auto;
}

@media (min-width: 992px) {
	#topInfo .tab-text h2::after {
		margin-right: 0;
	}
}

#topInfo::after {
	content: "";
	position: absolute;
	z-index: -1;
	display: block;
	top: 0;
	left: 0;
	right: 0;
	bottom: clamp(20px, 6vw, 115px);
	background: #507040;
	border-bottom-right-radius: 500px;
}

@media (min-width: 992px) {
	#topInfo::after {
		right: 50%;
	}
}

#topInfo .tab {
	background: #e5f6ff;
	padding: clamp(30px, 3vw, 40px);
	min-height: 100%;
	height: 100%;
	position: relative;
}

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

	.tab_spacer {
		height: 16px;
	}
}

@media (min-width: 992px) {
	#topInfo .tab {
		padding-bottom: 70px;
	}
}

#topInfo .tabHeadline {
	text-transform: uppercase;
	font-size: clamp(1.25rem, 3vw, 1.625rem);
	margin-bottom: 20px;
	padding-top: 75px;
	background-position: top left;
	background-repeat: no-repeat;
}

#tab1 .tabHeadline {
	background-image: url('../img/kalender-icon.png');
}

#tab2 .tabHeadline {
	background-image: url('../img/zeitung-icon.png');
}

#topInfo .tab_link_mehr {
	color: transparent;
	font-size: 0;
}

.teaserText a,
#topInfo .tab_link_mehr a {
	background: #507040;
	display: inline-block;
	color: #ffffff;
	font-weight: 700;
	text-transform: uppercase;
	padding: 6px 15px;
	text-decoration: none;
}

#topInfo .tab_link_mehr a {
	position: absolute;
	bottom: 0;
	right: 0;
	font-size: 1rem;
}

@media (min-width: 992px) {
	#topInfo .tab_link_mehr a {
		padding: 15px 34px;
	}
}

.teaserText a:is(:hover, :focus),
#topInfo .tab_link_mehr a:is(:hover, :focus) {
	background: #1b360d;
}

.teaserText a::after,
#topInfo .tab_link_mehr a::after {
	content: "\2794";
	font-weight: 400;
	position: relative;
	left: 0;
	margin-left: 4px;
	top: 1px;
	transition: left 200ms linear;
}

.teaserText a:is(:hover, :focus)::after,
#topInfo .tab_link_mehr a:is(:hover, :focus):after {
	left: 6px;
}

.tab_link_title a {
	font-weight: 600;
}

:is(.tab_link_title, .tab_link_mandat) a {
	color: inherit;
}

/* #endregion --------------------------------- topInfo ----------------------------------------- */

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

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

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

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

h1,
.h1,
.legacy_h1 {
	font-size: clamp(2.125rem, 5vw, 2.8125rem);
}

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

h3,
.h3,
.legacy_h3 {
	font-size: clamp(1.875rem, 4vw, 2.1875rem);
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
	font-size: clamp(1.75rem, 3.5vw, 1.875rem);
}

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

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

/* --------------------------------------------- facts ------------------------------------------ */

#facts {
	padding: 56px 0;
	background: #e5f6ff;
}

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

#facts a {
	text-decoration: underline;
}

#facts :is(b, strong) {
	color: #385888;
	font-size: clamp(2.125rem, 5vw, 3.5rem);
	display: block;
	font-weight: 700;
	line-height: 1.1;
}

#facts>.row>div:last-child a {
	color: #385888;
	font-size: 1.8125rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

#facts>.row>div:last-child a::after {
	content: "\2794";
	display: block;
	font-weight: 400;
	color: #507040;
	font-size: 3.5rem;
}

#facts>.row>div:last-child a:is(:hover, :focus) {
	color: #00509b;
}

/* #region ------------------------------------- teaser ----------------------------------------- */

#teaser {
	padding: clamp(40px, 8vw, 100px) 0;
	position: relative;
	z-index: 10;
}

#teaser::after {
	content: "";
	position: absolute;
	z-index: -1;
	display: block;
	top: 0;
	left: 0;
	right: 0;
	bottom: 80px;
	background: #507040;
	border-bottom-left-radius: 500px;
}

@media (min-width: 992px) {
	#teaser::after {
		top: -55px;
		left: 50%;
		bottom: 0;
		border-bottom-left-radius: 0;
		border-top-left-radius: 500px;
	}
}

#teaser .tabHeadline {
	font-size: 1.1875rem;
	text-transform: uppercase;
}

#teaser .teaserInfo a {
	text-decoration: underline;
}

.teaserText .tabHeadline {
	font-size: 1.625rem;
}

@media (max-width: 991px) {

	#teaser .teaserInfo,
	#teaser .teaserInfo :is(.tabHeadline, a) {
		color: #ffffff;
	}

	#teaser .teaserInfo>* {
		background: #507040;
	}
}

.teaserText .tabHeadline::after {
	content: "";
	display: block;
	width: 10px;
	height: 3px;
	background: #507040;
	margin: 10px auto 12px auto;
}

#teaserBox {
	background: #e5f6ff;
	margin: 35px 0 0 0;
	box-shadow: 0 80px 40px -60px rgba(56, 88, 136, 0.3);
	overflow: hidden;
}

#teaserBox .teaserText {
	padding: clamp(30px, 4vw, 55px) 25px;
	font-weight: 300;
}

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

#teaserBox .teaserText a {
	margin-top: 15px;
	font-size: 0.875rem;
}

#teaserBox .banner {
	min-height: 200px;
	height: 100%;
}

#teaserBox .banner img {
	width: calc(100% + 30px);
	max-width: calc(100% + 30px);
	margin-left: -15px;
	height: 100%;
	object-fit: cover;
}

/* #endregion ---------------------------------- teaser ----------------------------------------- */

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

#footer {
	background: #e5f6ff;
	padding: clamp(40px, 8vw, 80px) 0 clamp(40px, 8vw, 95px) 0;
	font-size: 1rem;
}

@media (max-width: 991px) {
	#footer>.row>*+* {
		border-top: 1px solid rgba(0, 0, 0, 0.2);
		margin-top: 20px;
		padding-top: 20px;
	}
}

@media (min-width: 768px) {
	#footer>.row>*:nth-child(2) {
		border-top: none;
		margin-top: 0;
		padding-top: 0;
	}
}

#footer>.row>*:last-child>*+* {
	margin-top: 30px;
}

#footer a {
	color: #385888;
	text-decoration: underline;
}

#footer a:is(:hover, :focus) {
	color: #03193a;
}

#footer .footerHeadline {
	margin: 0 0 15px 0;
	font-size: 1.25rem;
	text-transform: uppercase;
}

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

#footer .shadow {
	box-shadow: 0 30px 50px -30px rgba(56, 88, 136, 0.3);
}

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

#footer #vernetzt {
	gap: 12px;
	text-align: right;
	color: #665a5a;
	line-height: 1.3;
	font-weight: 400;
	text-decoration: none;
	font-size: 0.8125rem;
}

#vernetzt b {
	color: #385888;
}

#vernetzt span span {
	display: block;
}

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

#innerfooter {
	font-size: 1rem;
	padding: clamp(30px, 3vw, 40px) 0;
}

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

.footer_list ul {
	padding: 0;
	text-transform: uppercase;
}

.footer_list :is(li, p) {
	display: inline-block;
}

#innerfooter a {
	text-decoration: none;
	display: inline-block;
	font-weight: 400;
	text-transform: uppercase;
}

#innerfooter ul a {
	color: inherit;
}

#innerfooter a:is(:hover, :focus) {
	color: #385888;
}

#innerfooter li+li {
	margin-left: clamp(15px, 2vw, 25px);
}