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

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

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

@media (min-width: 992px) {
	body {
		background: #ffffff url("../img/hintergrund.jpg") top left no-repeat;
	}
}

a {
	color: #356ea7;
}

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

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

#logo {
	display: inline-block;
}

@media (min-width: 992px) {
	body:not(.index) #logo img {
		max-width: 250px;
	}
}

#logo img {
	display: block;
}

@media (max-width: 575px) {
	#logo {
		margin-top: 15px;
		margin-bottom: 15px;
	}
}

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

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

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

header {
	position: relative;
	background: url(../img/hintergrund-asphalt.jpg);
	background-position: top left;
	background-repeat: no-repeat;
	z-index: 1;
}

header::after {
	content: "";
	display: block;
	position: absolute;
	z-index: -1;
	top: 0;
}

@media (max-width: 575px) {
	header::after {
		display: none;
	}
}

@media (min-width: 576px) {
	header::after {
		right: 0;
		bottom: 170px;
		left: calc(50% + 145px);
		background: #a6cbef;
		background-position: center;
		background-size: cover;
		background-repeat: no-repeat;
		border-bottom-left-radius: 500px;
	}
}

@media (min-width: 768px) {
	header::after {
		left: calc(50% + 70px);
	}
}

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

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

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

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

@media (max-width: 767px) {
	#headerpic {
		padding-top: 0 !important;
	}
}

/* header text */

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

@media (min-width: 576px) {
	#header-tab>.template-page {
		max-width: 370px;
	}
}

@media (min-width: 992px) {
	body:not(.index) #header-text {
		margin-top: 40px;
	}
}

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

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

#slider {
	background: #444444;
	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;
	}

	.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: #444444;
		border-left-color: #444444;
	}
}

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

#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 #1a1a1a;
	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: #1a1a1a;
}

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

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

.slider-mask {
	display: none;
}

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

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

/* burgermenu for tablet */

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

	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		background-color: #356ea7;
		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: #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: 4px;
	}
}

/* menu desktop */

@media (min-width: 992px) {
	nav.navbar {
		border: 1px solid #dbe2e1;
		border-right: unset;
		margin-top: 50px;
	}

	nav.navbar li:is([class*="_over"], [class*="open"])>ul {
		display: block;
	}
}

/* toplevel */

nav.navbar a[class*="toplevel"] {
	color: #444444;
	font-weight: 500;
	text-align: left;
	padding: 8px 15px 8px 15px;
	position: relative;
	font-size: 1.3125rem;
	line-height: 1.2;
	text-decoration: none;
	font-variant: small-caps;
}

@media (min-width: 992px) {
	nav.navbar a[class*="toplevel"] {
		padding: 13px clamp(15px, 2vw, 28px);
		position: relative;
	}

	nav.navbar a[class*="toplevel"].dropdown-toggle::after {
		content: "+";
		position: absolute;
		display: block;
		right: 10px;
		top: 50%;
		margin-top: -14px;
		font-variant: normal;
		font-weight: 400;
	}
}

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

nav.navbar li[class*="toplevel"]+li {
	border-top: 1px solid #dbe2e1;
}

/* toplevel-over */

nav.navbar li[class*="toplevel"]:is(:hover, :focus-within)>a,
nav.navbar li[class*="toplevel"]>a:is(:hover, :focus),
nav.navbar li[class*="toplevel"].open>a,
nav.navbar li[class*="toplevel"].open>a:is(:hover, :focus),
nav.navbar li[class*="toplevel"][class*="_over"]>a,
nav.navbar li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus) {
	color: #356ea7;
}

/* secondlevel + thirdlevel dropdown-box */

nav.navbar [class*="toplevel"]>ul {
	border-top: 1px solid #dbe2e1;
	padding: 12px 0 12px 14px;
	position: relative;
}

@media (min-width: 1200px) {
	nav.navbar [class*="toplevel"]>ul {
		padding-left: 30px;
	}
}

nav.navbar [class*="toplevel"]>ul::after {
	content: "";
	display: block;
	position: absolute;
	top: 28px;
	left: 20px;
	bottom: 28px;
	width: 1px;
	background: #dbe2e1;
}

@media (min-width: 1200px) {
	nav.navbar [class*="toplevel"]>ul::after {
		left: 35px;
	}
}

/* secondlevel + thirdlevel */

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

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

nav.navbar a[class*="secondlevel"] {
	padding: 9px 15px 9px 30px;
}

nav.navbar a[class*="secondlevel"]::before {
	content: "";
	display: block;
	position: absolute;
	z-index: 1;
	left: 0;
	top: 15px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #ffffff;
	border: 1px solid #356ea7;
	transition: background 300ms linear;
}

nav.navbar a[class*="thirdlevel"] {
	padding: 7px 15px 7px 45px;
}

/* secondlevel + thirdlevel over */

nav.navbar li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within)>a,
nav.navbar li:is([class*="secondlevel"], [class*="thirdlevel"])>a:is(:hover, :focus),
nav.navbar li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a,
nav.navbar li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a:is(:hover, :focus),
nav.navbar li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a,
nav.navbar li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a:is(:hover, :focus) {
	color: #356ea7;
}

nav.navbar li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within)>a::before,
nav.navbar li:is([class*="secondlevel"], [class*="thirdlevel"])>a:is(:hover, :focus)::before,
nav.navbar li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a::before,
nav.navbar li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a:is(:hover, :focus)::before,
nav.navbar li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a::before,
nav.navbar li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a:is(:hover, :focus)::before {
	background: #356ea7;
}

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

main {
	padding: 60px 0 120px 0;
}

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

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

h1,
.h1,
.legacy_h1 {
	font-size: clamp(1.875rem, 4vw, 3.125rem);
}

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

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

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

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

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

/* ----------------------------------------------- @3nw news -------------------------------------------- */

#nw3 {
	font-size: 1rem;
	display: grid;
	row-gap: 15px;
	padding-top: 30px;
	padding-bottom: 30px;
}

#nw3 .tabHeadline {
	font-size: 1.875rem;
	margin-bottom: 0;
}

#nw3 .tab {
	font-size: 1rem;
	margin-bottom: 15px;
}

#nw3 .tab_link_entry {
	position: relative;
	margin-left: 285px;
	min-height: 105px;
	padding: 20px;
	display: grid;
	background: #ffffff;
	border-bottom: none !important;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

#nw3 .tab_link_entries {
	display: grid;
	gap: 15px;
}

@media (min-width: 992px) {
	#nw3 .tab_link_entry {
		padding: 25px;
	}

	#nw3 .tab_link_entries {
		gap: 25px;
	}
}

#nw3 .tab_link_title {
	order: 1;
}

#nw3 .vorschau {
	order: 2;
	opacity: 1;
}

#nw3 .tab_date {
	order: 3;
}

#nw3 .tab_link_mandat a {
	color: #444444;
}

#nw3 .tab_link_title a {
	display: block;
	color: #356ea7;
	font-weight: 600;
	margin-bottom: 2px;
}

#nw3 .tab_link_entry::after {
	content: "";
	background: center / cover no-repeat, #e3e3e3;
}

#nw3 .tab_preview_picture {
	background: #ffffff;
}

#nw3 .tab_link_entry::after,
#nw3 .tab_preview_picture {
	display: block;
	width: 270px;
	height: 100%;
	position: absolute;
	left: -285px;
	top: 0;
	overflow: hidden;
}

@media (max-width: 767px) {
	#nw3 .tab_link_entry {
		margin-left: 0px;
		padding-top: 185px !important;
	}

	#nw3 .tab_link_entry::after,
	#nw3 .tab_preview_picture {
		display: block;
		width: 100%;
		height: 170px;
		position: absolute;
		left: 0;
		top: 0;
		bottom: 0px;
		right: 0px;
		overflow: hidden;
	}
}

#nw3 .tab_preview_picture img {
	position: absolute;
	z-index: 2;
	height: 100%;
	width: 100%;
	object-fit: cover;
	object-position: center;
}

#nw3 .tab_spacer,
#nw3 .tab_link_entry>div:nth-last-child(2) {
	display: none;
}

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

footer {
	border-top: 1px solid #dbe2e1;
	position: relative;
	background: #ffffff url("../img/motorrad.png") bottom right no-repeat;
	margin-top: 300px;
}

@media (max-width: 1800px) {
	footer {
		background-image: none;
	}
}

footer::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -301px;
	background-size: cover;
	background-position: top right, center;
	background-repeat: no-repeat;
	display: block;
	height: 300px;
	max-width: 734px;
	pointer-events: none;
	border-top-right-radius: 235px;
}

@media (min-width: 992px) {
	footer {
		margin-top: 0;
	}

	footer::before {
		width: 33.33%;
		height: 495px;
		right: unset;
		top: unset;
		bottom: 0;
		border-top-right-radius: 450px;
	}
}

@media (min-width: 1200px) {
	footer::before {
		width: calc(400px + (50vw - 600px));
	}
}

#footer {
	padding: clamp(30px, 4vw, 55px) 0 clamp(30px, 4vw, 40px) 0;
}

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

.footerHeadline {
	font-variant: small-caps;
	font-size: 1.5625rem;
	margin: 0 0 clamp(15px, 2vw, 25px) 0;
}

.footerTab a,
.tab_link_mehr a {
	display: inline-block;
	position: relative;
	font-size: 1rem;
	font-weight: 500;
	padding: 10px 20px;
	margin-top: 15px;
}

.footerTab a:is(:hover, :focus),
.tab_link_mehr a:is(:hover, :focus) {
	text-decoration: none;
}

.footerTab a::after,
.footerTab a::before,
.tab_link_mehr a::after,
.tab_link_mehr a::before {
	content: "";
	display: block;
	position: absolute;
	height: 40%;
	width: 40%;
	border-color: #444444;
	border-style: solid;
	border-width: 0;
	transition: all 0.4s 0s ease;
}

.footerTab a::after,
.tab_link_mehr a::after {
	left: 0;
	bottom: 0;
	border-left-width: 3px;
	border-bottom-width: 3px;
}

.footerTab a::before,
.tab_link_mehr a::before {
	right: 0;
	top: 0;
	border-right-width: 3px;
	border-top-width: 3px;
}

.footerTab a:is(:hover, :focus)::after,
.footerTab a:is(:hover, :focus)::before,
.tab_link_mehr a:is(:hover, :focus)::after,
.tab_link_mehr a:is(:hover, :focus)::before {
	height: calc(100% - 4px);
	width: calc(100% - 4px);
}

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

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

#vernetzt {
	font-size: 0.875rem;
	color: #666666;
	justify-content: center;
	line-height: 1.3;
	text-decoration: none;
	display: inline-block;
}

#vernetzt span {
	color: #666666;
	display: block;
}

#vernetzt strong {
	color: #356ea7;
	font-weight: 500;
}

#vernetzt img {
	margin-bottom: 6px;
}

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

#innerfooter ul {
	border-top: 1px solid #dbe2e1;
	font-size: 1rem;
	padding: 22px 0;
}

#innerfooter a {
	color: #666666;
	text-decoration: none;
}

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

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

	#innerfooter li+li::before {
		content: "\2022";
		margin: 0 clamp(15px, 2vw, 25px);
		color: #666666;
	}
}

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

.contrast_light_font footer .row {
	background: transparent !important;
}