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

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

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

a {
	color: #2c75b5;
}

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

#content a,
b,
strong {
	font-weight: 700;
}

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

.logo {
	display: flex;
	flex-wrap: wrap;
	gap: 15px 15px;
	text-decoration: none !important;
	flex-direction: column;
	align-content: center;
	align-items: center;
}

.logo .template-page {
	width: auto;
}

.logo .cleaner {
	display: none;
}

.logoText {
	color: #181c14;
	font-size: clamp(1.125rem, 3vw, 1.625rem);
	align-content: center;
	line-height: 1.1;
	font-weight: 700;
	text-transform: uppercase;
}

.logoText :is(b, strong) {
	display: block;
}

.logoText br {
	display: none;
}

@media (max-width: 575px) {
	.logoText {
		hyphens: auto;
	}
}

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

.logo img {
	display: block;
	max-width: 30vw;
}

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

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

:is(#topbar2) {
	font-size: 0.875rem;
}

@media (max-width: 991px) {
	#topbar2 {
		background: #fff;
	}
}

:is(#topbar2) a {
	color: inherit;
}

#topbar2 {
	row-gap: 20px;
}

/* topbar */

#topbar2 {
	padding-top: 16px;
	padding-bottom: 16px;
}

/* phone + mail */

.phone,
.mail {
	position: relative;
	padding-left: 25px;
	font-size: 0.875rem;
	display: inline-block;
	margin-left: 20px;
	background: url(../img/icon-mail-blau.png) center left no-repeat;
}

.phone {
	background-image: url(../img/icon-telefon-blau.png);
}

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

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

#search {
	display: inline-flex;
	align-items: center;
	max-width: 320px;
	border-radius: 20px;
	width: 100%;
	transition: background 300ms;
	border: 1px solid #181c14;
}

#search:is(:hover, :focus) {
	background: #eaf2f4;
}

#search_input {
	color: #181c14;
	font-size: 1rem;
	font-style: normal;
	background: transparent;
	padding: 11px 15px;
	border: 0;
	width: 100%;
	font-weight: 400;
}

input[id*="search_submit"] {
	width: 54px;
	flex-shrink: 0;
	background: url("../img/lupe-icon.png") center / 22px auto no-repeat;
	cursor: pointer;
	border: none;
	height: 27px;
	font-size: 0;
	transition: background 100ms linear;
	border-left: 1px solid #181c14;
}

#search_input::placeholder {
	color: #181c14 !important;
	opacity: 1 !important;
	font-style: normal !important;
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
	nav.horizontally {
		padding-bottom: 20px;
	}

	.is-sticky nav.horizontally {
		position: static !important;
	}

	#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: #2c75b5;
		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: #2c75b5;
		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: 2px;
	}
}

/* menu desktop */

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

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

	nav.horizontally .navbar-nav ul {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 1000;
		display: block !important;
		pointer-events: none;
		opacity: 0;
		visibility: hidden;
		transition: opacity 300ms linear;
	}

	nav.horizontally .navbar-nav [class*="secondlevel"] > ul {
		left: 100%;
		top: 0;
	}

	nav.horizontally .navbar-nav li {
		position: relative;
		flex-grow: 1;
	}

	nav.horizontally .navbar-nav li.open > ul {
		pointer-events: none !important;
		opacity: 0 !important;
		visibility: hidden;
	}

	nav.horizontally .navbar-nav li:is(:hover) > 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:is(:hover, :focus) > ul {
		z-index: 1003;
	}
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
	color: #ffffff;
	font-weight: 400;
	text-align: left;
	padding: 10px 20px;
	position: relative;
	font-size: clamp(1rem, 2vw, 1.125rem);
	line-height: 1.2;
	text-decoration: none;
	transition: box-shadow 300ms;
	hyphens: auto;
}

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

@media (min-width: 992px) {
	nav.horizontally a[class*="toplevel"] {
		text-align: center;
		padding: 28px 10px;
	}
}

/* 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: #181c14;
	background: #63c4f1;
	box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.3);
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	padding: 10px 0;
	background-color: #fff;
}

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

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

	nav.horizontally [class*="secondlevel"] > ul {
		margin: -11px 0 0 10px;
	}

	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::before {
		width: 20px;
		top: 0;
		bottom: 0;
		left: -20px;
	}
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	background-color: transparent;
	color: #181c14;
	font-weight: 400;
	text-align: left;
	padding: 6px 15px;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	hyphens: auto;
}

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

@media (min-width: 992px) {
	nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
		padding: 6px 30px;
	}
}

/* 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: #2c75b5;
	background-color: transparent;
}

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

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

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

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

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

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

#headerpic {
	padding: 0;
	overflow: hidden;
	position: relative;
	z-index: 6;
}

@media (min-width: 768px) {
	#headerpic {
		background: #ffffff;
		box-shadow: 0 0 0 20px #fafafa;
	}

	#bg-headerpic > .row > * + * {
		padding-left: 30px;
	}
}

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

.slider-mask {
	display: none;
}

#bg-headerpic {
	position: relative;
	z-index: 0;
	padding: clamp(30px, 6vw, 80px) 0;
}

#bg-headerpic > .row {
	row-gap: 25px;
}

@media (min-width: 768px) {
	body.index #bg-headerpic {
		padding-bottom: 190px;
	}
}

@media (min-width: 992px) {
	#bg-headerpic::before {
		content: "";
		position: absolute;
		z-index: -1;
		right: 0;
		top: 0;
		bottom: 0;
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
		display: block;
		max-width: 1160px;
		width: 65vw;
		clip-path: polygon(30% 0%, 100% 0, 100% 100%, 10% 100%);
	}
}

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

/* ------------------------------------------- topInfo ------------------------------------------ */

@media (min-width: 768px) {
	#topInfo {
		margin-top: -130px;
	}
}

@media (min-width: 992px) {
   #topInfo .tabHeadline{
      padding-right: 55% !important;
      
   }
}

#topInfo .tabContent {
	background: #ece8e2;
	font-size: 1rem;
	border-radius: 6px;
}

#topInfo .tabContent a {
	color: #181c14;
	display: block;
	margin-bottom: 2px;
	font-weight: 700;
}

#topInfo .tabContent a::after {
	content: "›";
	display: inline-block;
	position: relative;
	right: -5px;
}

#topInfo .tabContent a:is(:hover, :focus)::after {
	right: -8px;
}

#topInfo .tabContent img {
	margin-bottom: 5px;
}

#topInfo .template-page > .row {
	margin: 0;
}

#topInfo .template-page .row > .col {
	padding: 25px 30px;
}

@media (max-width: 767px) {
	#topInfo .tabContent > .template-page .row > .col + .col {
		border-top: 1px solid #a0a0a0;
	}
}

@media (min-width: 768px) {
	#topInfo .tabContent > .template-page .row > .col + .col {
		border-left: 1px solid #a0a0a0;
	}
}

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

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

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

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

:is(#topInfo, #sponsor, #nw16) .tabHeadline {
	padding: 6px 0 6px 17px;
	font-weight: 400;
	margin-bottom: 20px;
	font-size: 1.5625rem;
	color: inherit;
	text-transform: uppercase;
	border-left: 3px solid #2c75b5;
	hyphens: auto;
}

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

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

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

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

h5,
.h5,
.legacy_h5 {
	font-size: clamp(1.3125rem, 2vw, 1.625rem);
}

h6,
.h6,
.legacy_h6 {
	font-size: clamp(1.25rem, 1.5vw, 1.5rem);
}

/* #region ---------------------------------- @nw16 mbs ----------------------------------------- */

#nw16 {
	position: relative;
	z-index: 2;
}

#nw16 .tab_link {
	background: #ece8e2;
	font-size: 1rem;
	border-radius: 6px;
	margin-top: 30px;
}

#nw16 .tab_link_entries {
	display: grid;
}

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

#nw16 .tab_link_entry {
	position: relative;
	padding: 30px;
	border-bottom: none !important;
	width: 100%;
}

@media (max-width: 767px) {
	#nw16 .tab_link_entry + .tab_link_entry {
		border-top: 1px solid #a0a0a0;
	}
}

@media (min-width: 768px) {
	#nw16 .tab_link_entry + .tab_link_entry {
		border-left: 1px solid #a0a0a0;
	}
}

#nw16 .tab_link_title a {
	color: #181c14;
	font-weight: 700;
	font-size: 1.125rem;
	display: block;
	line-height: 1.2;
	margin-bottom: 8px;
}

#nw16 .tab_link_title a::after {
	content: "+";
	font-weight: 400;
	text-align: right;
	font-size: 34px;
	line-height: 66px;
	padding-right: 4px;
	color: #ffffff;
	width: 50px;
	height: 50px;
	position: absolute;
	bottom: -1px;
	right: -1px;
	z-index: 2;
	display: block;
	transition: all 300ms;
	background: #181c14 linear-gradient(-45deg, rgba(255, 255, 255, 0) 50%, #ffffff 50%);
	box-sizing: border-box;
}

#nw16 .tab_link_title a:is(:hover, :focus)::after {
	background-color: #2c75b5;
}

#nw16 .tab_link_date {
	color: inherit;
	font-size: 1rem;
}

#nw16 .tab_spacer {
	height: 3px;
}

#nw16 .tab_link_mehr {
	display: none;
}

/* #endregion ------------------------------- @nw16 mbs ----------------------------------------- */

.buttonStyle a {
	display: inline-block;
	color: #ffffff;
	font-size: clamp(1rem, 2vw, 1.125rem);
	background: #2c75b5;
	border-radius: 100px;
	padding: 5px 30px 5px 30px;
	text-transform: uppercase;
	text-decoration: none;
	position: relative;
	transition:
		padding 300ms,
		background 300ms,
		margin 300ms;
	margin-left: 20px;
}

@media (max-width: 991px) {
	.buttonStyle a {
		text-transform: none;
	}
}

.buttonStyle a::after {
	content: "";
	position: absolute;
	background: #ece8e2 url(../img/Pfeil-dunkel.png);
	background-repeat: no-repeat;
	background-position: center;
	height: 100%;
	aspect-ratio: 1 / 1;
	top: 0;
	right: 0;
	border-radius: 100px;
	opacity: 0;
	transition: opacity 300ms;
}

.buttonStyle a:is(:hover, :focus) {
	background: #181c14;
	padding: 5px 50px 5px 30px;
	margin-left: 0;
}

.buttonStyle a:is(:hover, :focus)::after {
	opacity: 1;
}

.buttonLight a {
	background: #ece8e2;
	color: #181c14;
	margin-left: 0;
	margin-right: 20px;
	margin-top: 30px;
}

.buttonLight a::after {
	background: #181c14 url(../img/Pfeil-weiss.png);
	background-repeat: no-repeat;
	background-position: center;
}

.buttonLight a:is(:hover, :focus) {
	background: #ece8e2;
	color: #181c14;
	margin: 0;
	margin-top: 30px;
}

/* #region ----------------------------------- breaker ------------------------------------------ */

#breaker {
	position: relative;
	z-index: 0;
	padding-top: clamp(40px, 6vw, 80px);
	margin-bottom: clamp(40px, 6vw, 70px);
}

#breaker::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 0;
	top: -80px;
	bottom: clamp(-71px, -6vw, -41px);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: block;
	max-width: 1400px;
	width: 80vw;
	clip-path: polygon(0 0, 70% 0%, 100% 100%, 0% 100%);
}

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

#breaker .tab-1 {
	background: #2c75b5;
	padding: clamp(40px, 6vw, 80px);
	position: relative;
	z-index: 2;
	font-size: clamp(1rem, 1.5vw, 1.25rem);
}

#breaker .tabHeadline {
	font-weight: 400;
}

#breaker .tab-1::before {
	content: "";
	display: block;
	position: absolute;
	top: clamp(15px, 2vw, 30px);
	right: clamp(15px, 2vw, 30px);
	bottom: clamp(15px, 2vw, 30px);
	left: clamp(15px, 2vw, 30px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	pointer-events: none;
}

#breaker .tab-1 .tabHeadline {
	margin-bottom: clamp(20px, 3vw, 40px);
}

/* #endregion -------------------------------- breaker ------------------------------------------ */

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

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

#kontakt {
	padding: clamp(40px, 4vw, 50px) 0;
	hyphens: auto;
}

:is(#kontakt, #footer) > .row {
	row-gap: 30px;
}

#kontakt a {
	color: #181c14;
}

.footerHeadline {
	font-weight: 400;
	margin-bottom: 20px;
	font-size: 1.375rem;
	color: inherit;
	text-transform: uppercase;
}

#footer {
	background: #2c75b5;
	padding: 30px 0 25px 0;
}

/* ------------------------------------------ GoogleMaps ---------------------------------------- */

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

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

@media (min-width: 768px) {
	.iframeMapsTab :is(iframe, .iframe-wrapper-manual-enabling) {
		margin-bottom: -100px;
	}
}

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

#innerfooter ul {
	padding: 0;
}

#innerfooter ul a {
	color: #ffffff;
	text-decoration: none;
	font-weight: 400;
}

#innerfooter li {
	display: inline-block;
}

#innerfooter li + li {
	margin-left: 25px;
}

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

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

#vernetzt {
	gap: 10px;
	text-align: left;
	font-size: 0.875rem;
	color: #ffffff;
	line-height: 1.4;
	text-decoration: none;
}

#vernetzt span span {
	display: block;
}
