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

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

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

a {
	color: #006bb3;
}

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

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

#over {
	overflow: clip;
	position: relative;
}

/* -------------------------------------------- topBox -------------------------------------------- */

@media (min-width: 992px) {
	#topBox {
		position: absolute;
		z-index: 56;
		left: 0;
		right: 0;
		top: 10px;
	}
}

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

@media (min-width: 992px) {
	#topbar {
		margin-bottom: 15px;
	}
}

#topbar > .row {
	max-width: 1860px;
	width: 100%;
}
/* -------------------------------------------- logo -------------------------------------------- */

#logo {
	display: flex;
	align-items: center;
	align-content: center;
	justify-content: center;
	gap: clamp(15px, 3vw, 30px);
	text-decoration: none;
}

#logo .logoImg img {
	display: block;
}

@media (max-width: 991px) {
	#logo {
		flex-wrap: wrap;
		padding: 5px 0;
	}

	#logo .logoImg img {
		max-width: 210px;
		width: 100%;
	}
}

@media (max-width: 575px) {
	#logo {
		display: block;
		text-decoration: none;
	}
}

#logo .logoTxt {
	color: #006bb3;
	font-weight: 500;
	line-height: 1.2;
	font-size: clamp(1.25rem, 3vw, 2.5rem);
}

/* -------------------------------------------- bannerButton ------------------------------------------ */

.bannerButton a {
	display: inline-block;
	text-decoration: none;
	color: #006bb3;
	font-weight: 500;
	text-align: center;
	text-transform: uppercase;
	font-size: clamp(1rem, 2vw, 1.125rem);
	max-width: 200px;
	border-radius: 0 0;
	padding: 15px 45px;
	pointer-events: all;
	background: #ffffff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
   .bannerButton a{
      position: fixed;
      left: 15px;
      bottom: 0;
      z-index: 1000;
      border-radius: 30px 30px 0 0;
   }
}

@media (min-width: 992px) {
	.bannerButton {
		position: fixed;
		pointer-events: none;
		top: 0;
		z-index: 12;
	}

	.bannerButton a {
		border-radius: 0 0 200px 200px;
		padding: 15px 45px 31px 45px;
	}
}
/* #region ---------------------------------- navigation ---------------------------------------- */

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

/* burger */

#burgerButton {
	font-size: 0;
	border: none !important;
	display: block;
	height: 80px;
	width: 80px;
	border-bottom-left-radius: 80%;
	padding: 6px 8px;
	cursor: pointer;
	position: fixed;
	top: 0;
	right: -5px;
	z-index: 1002;
	background: none;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	background: #ffffff;
	transition: background 300ms linear;
}

@media (min-width: 992px) {
	#burgerButton {
		left: 50px;
		top: 90px;
		height: 75px;
		width: 75px;
		border-radius: 100%;
	}

	#burgerButton[aria-expanded="true"] {
		background: transparent;
		box-shadow: none;
	}
}

#burgerButton::before,
#burgerButton::after,
#burgerButtonInner {
	background: #006bb3;
	position: absolute;
	height: 4px;
	right: 24%;
	transition:
		transform 200ms linear,
		opacity 200ms linear;
}

@media (prefers-contrast: more) {
	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		border: 2px solid #ffffff;
		box-sizing: border-box;
	}
}

@media (min-width: 992px) {
	#burgerButton[aria-expanded="true"] #burgerButtonInner,
	#burgerButton[aria-expanded="true"]::after {
		background: #ffffff;
	}
}

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

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

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

#burgerButtonInner {
	top: calc(50% - 12px);
	width: 40px;
}

#burgerButton::before {
	content: "";
	top: calc(50% - 2px);
	width: 40px;
}

#burgerButton::after {
	content: "";
	top: calc(50% + 8px);
	width: 40px;
}

/* navbar container */

.navbar-nav {
	margin: 80px 20px 40px 20px;
}

@media (min-width: 992px) {
	.navbar-nav {
		margin: 55px 60px 40px calc(33.33% + 30px);
		max-width: 570px;
	}

	#myNavbar .mCSB_scrollTools {
		right: 43px;
	}
}

@media (min-width: 1200px) {
	.navbar-nav {
		margin-left: calc(18% + 30px);
	}
}

.navbar-collapse {
	width: calc(100% - 90px);
	max-width: 300px;
	top: 0;
	background: #006bb3;
	position: fixed;
	right: -100%;
	bottom: 0;
	z-index: 100;
	height: auto !important;
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
	overflow-y: auto;
	transition:
		right 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) {
	right: 0;
	opacity: 1;
	pointer-events: auto;
	visibility: visible;
	box-shadow: -250px 0 50vw 50vw rgba(0, 0, 0, 0.6);
}

@media (min-width: 992px) {
	.navbar-collapse {
		width: 100%;
		max-width: unset;
		right: 0;
		left: 0;
		padding-top: 100px;
		box-shadow: none;
	}

	.navbar-collapse:is([aria-expanded="true"], .in) {
		box-shadow: none;
	}

	.navbar-collapse::after {
		content: "";
		display: block;
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		height: 100%;
		width: 33.33%;
		margin: 0 auto;
		pointer-events: none;
		background: center / cover no-repeat;
	}
}

@media (min-width: 1200px) {
	.navbar-collapse::after {
		width: 50%;
	}
}

/* toplevel */

nav.burger a[class*="toplevel"] {
	color: #ffffff;
	font-weight: 400;
	text-align: left;
	padding: 14px 15px;
	position: relative;
	font-size: 1.25rem;
	line-height: 1.2;
	text-decoration: none;
	border-bottom: 2px solid rgba(0, 0, 0, 0.1);
	transition:
		background-color 300ms linear,
		color 300ms linear,
		border 300ms linear;
}

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

@media (min-width: 992px) {
	nav.burger a[class*="toplevel"] {
		font-size: 1.625rem;
		padding-right: 70px;
	}
}

nav.burger a[class*="toplevel"]::before {
	content: "› ";
}

/* toplevel-over */

nav.burger li[class*="toplevel"]:is(:hover, :focus-within) > a,
nav.burger li[class*="toplevel"] > a:is(:hover, :focus),
nav.burger li[class*="toplevel"].open > a,
nav.burger li[class*="toplevel"].open > a:is(:hover, :focus),
nav.burger li[class*="toplevel"][class*="_over"] > a,
nav.burger li[class*="toplevel"][class*="_over"] > a:is(:hover, :focus) {
	border-bottom-color: rgba(0, 0, 0, 0.2);
}

/* secondlevel + thirdlevel dropdown-box */

nav.burger [class*="toplevel"] > ul {
	padding: 15px 0;
}

nav.burger [class*="secondlevel"] > ul {
	padding: 5px 15px 5px 35px;
}

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

	nav.burger [class*="secondlevel"] > ul {
		padding: 5px 15px 0 50px;
	}
}

/* secondlevel + thirdlevel */

nav.burger a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	color: #ffffff;
	font-weight: 400;
	text-align: left;
	position: relative;
	line-height: 1.2;
	text-decoration: none;
	display: inline-block;
}

nav.burger a[class*="secondlevel"] {
	padding: 8px 22px;
	font-size: 1.125rem;
}

nav.burger a[class*="thirdlevel"] {
	padding: 8px 0 8px 0;
	font-size: 1rem;
}

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

nav.burger a[class*="thirdlevel"]::before {
	content: "»";
	left: -10px;
	position: absolute;
}

nav.burger a[class*="thirdlevel"]::after {
	content: "";
	display: inline-block;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 2px;
	width: 100%;
	background: #00568f;
	opacity: 0;
	transition: opacity 300ms linear;
}

/* secondlevel + thirdlevel over */

nav.burger li[class*="secondlevel"]:is(:hover, :focus-within) > a,
nav.burger li[class*="secondlevel"] > a:is(:hover, :focus),
nav.burger li[class*="secondlevel"].open > a,
nav.burger li[class*="secondlevel"].open > a:is(:hover, :focus),
nav.burger li[class*="secondlevel"][class*="_over"] > a,
nav.burger li[class*="secondlevel"][class*="_over"] > a:is(:hover, :focus) {
	background: #00568f;
	color: #ffffff;
}

nav.burger li[class*="thirdlevel"]:is(:hover, :focus-within) > a,
nav.burger li[class*="thirdlevel"] > a:is(:hover, :focus),
nav.burger li[class*="thirdlevel"].open > a,
nav.burger li[class*="thirdlevel"].open > a:is(:hover, :focus),
nav.burger li[class*="thirdlevel"][class*="_over"] > a,
nav.burger li[class*="thirdlevel"][class*="_over"] > a:is(:hover, :focus) {
	background: transparent;
	color: #ffffff;
}

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

/* dropdown-toggle-button */

nav.burger :is(.dropdown-toggle-button-wrapper, .dropdown-toggle-button-wrapper2) {
	position: absolute;
}

nav.burger .dropdown-toggle-button-wrapper {
	display: block !important;
	top: 10px;
}

@media (min-width: 992px) {
	nav.burger .dropdown-toggle-button-wrapper {
		right: 15px;
	}
}

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

@media (min-width: 992px) {
	nav.burger .dropdown-toggle-button-wrapper2 {
		display: none;
	}
}

nav.burger .dropdownpr {
	position: relative !important;
}

nav.burger .dropdown-toggle-button {
	border-radius: 50%;
	background: transparent;
	transition: background 300ms linear;
}

@media (min-width: 992px) {
	nav.burger .dropdown-toggle-button {
		width: 40px;
		height: 40px;
	}
}

nav.burger .dropdown-toggle-button-open,
nav.burger li.dropdownpr:is(:hover, :focus-within) .dropdown-toggle-button,
nav.burger li.dropdownpr.open .dropdown-toggle-button,
nav.burger li.dropdownpr[class*="_over"] .dropdown-toggle-button {
	background: rgba(0, 0, 0, 0.2);
}

nav.burger .dropdown-toggle-button::before {
	content: "+";
	color: #ffffff;
	position: absolute;
	right: 50%;
	top: 50%;
	font-size: 30px;
	font-weight: 500;
	background: transparent;
	-moz-transform: rotate(0deg) translateX(45%);
	-webkit-transform: rotate(0deg) translateX(45%);
	-o-transform: rotate(0deg) translateX(45%);
	-ms-transform: rotate(0deg) translateX(45%);
	transform: rotate(0deg) translateX(45%);
	text-align: center;
	font-family: inherit;
	width: unset;
	height: unset;
	line-height: 0;
}

nav.burger .dropdown-toggle-button::after {
	content: unset;
}

nav.burger .dropdown-toggle-button-open::before {
	content: "-";
}

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

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

#search {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	display: block;
	padding-top: 16px;
}

@media (min-width: 992px) {
	#search {
		border-top: none;
		border-left: 1px solid rgba(0, 0, 0, 0.1);
		margin-left: clamp(15px, 2vw, 30px);
		padding: 16px 0 16px 15px;
		flex: 0 0 auto;
	}
}

@media (min-width: 1200px) {
	#search {
		padding: 16px 9px 16px 24px;
	}
}

#search img {
	display: block;
	margin: 0 auto;
	padding: 10px;
	border: 2px solid transparent;
	transition: border 200ms linear;
}

@media (min-width: 992px) {
	#search img {
		padding: 4px;
	}
}

#search:is(:hover, :focus) img {
	border-color: #032946;
}

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

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

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

	.index #slider {
		max-height: clamp(300px, 58vw, 800px);
	}

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

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

#headerpic {
	padding: 0;
	position: relative;
	background-color: #006bb3;
}

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

.slider-mask {
	display: block;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.85) 15%, rgba(255, 255, 255, 0) 28%, rgba(0, 0, 0, 0) 57%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, 0.7) 100%);
}

/* -------------------------------------------- bannerOverlay ------------------------------------------ */

@media (max-width: 1199px) {
	#bannerOverlay {
		padding: 30px 0;
		background: #006bb3;
	}
}

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

#bannerOverlay {
	line-height: 1.2;
	font-weight: 500;
	font-size: clamp(1rem, 3vw, 1.25rem);
}

#bannerOverlay :is(h1, h2, h3, h4, h5, h6) {
	margin: 0;
}

#bannerOverlay :is(h1, h2, h3) {
	text-transform: uppercase;
	font-size: clamp(1.875rem, 4vw, 3.125rem);
}

@media (min-width: 1200px) {
	#bannerOverlay {
		position: absolute;
		pointer-events: none;
		left: 0;
		bottom: clamp(30px, 5vw, 70px);
		right: 0;
		z-index: 12;
	}

	#bannerOverlay .tab {
		pointer-events: all;
	}
}

/* -------------------------------------------- buttonStyle ------------------------------------------ */

.buttonStyle a {
	color: #444444;
	font-size: 0.875rem;
	font-weight: 600;
	position: relative;
	padding-right: 20px;
}

.buttonStyle a::after {
	content: "";
	background: url(../img/pfeil-dunkel.png) no-repeat right center;
	width: 11px;
	height: 11px;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}

#tabs .buttonStyle a {
	color: #fff;
}

#tabs .buttonStyle a::after {
	background: url(../img/pfeil-weiss.png) no-repeat right center;
}

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

#content {
	text-align: left;
	padding-top: clamp(40px, 6vw, 50px);
}

body:not(.index) #content {
	padding-bottom: 60px;
}

/* ------------------------------------------------ @6tab ----------------------------------------------- */
#tab6 {
	padding: 40px 0 150px 0;
}

#tab6 > .row + .row {
	margin-top: 40px;
}

@media (max-width: 991px) {
	#tab6 > .row:nth-child(2) > *:nth-child(1),
	#tab6 > .row:nth-child(1) > *:nth-child(2) {
		margin-top: 40px;
	}

	#tab6 > .row:nth-child(2) > *:first-child {
		order: 2;
	}

	#tab6 > .row:nth-child(2) > *:last-child {
		order: 1;
	}
}

@media (min-width: 992px) {
	#tab6 > .row + .row {
		margin-top: 85px;
	}
}

@media (min-width: 1200px) {
	#tab6 > .row {
		max-width: 1920px;
		width: 100%;
	}
}

#tab6 .tab {
	color: #fff;
	position: relative;
	z-index: 55;
	padding: 30px 30px;
	font-size: 1.125rem;
	background: #006bb3;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

#tab6 :is(.tabHeadline, h2, h3, h4, h5, h6) {
	color: #fff;
	font-size: 1.75rem;
	margin-bottom: 20px;
	font-weight: 700;
	text-transform: uppercase;
}

#tab6 .tab a {
	color: #fff;
	text-decoration: underline;
	position: relative;
}

#tab6 .bildImg-left,
#tab6 .bildImg-right {
	min-height: 225px;
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

@media (min-width: 992px) {
	#tab6 .tab {
		padding: 50px;
	}

	#tab6 .tabRight {
		margin-left: -200px !important;
	}

	#tab6 .tabLeft {
		margin-right: -200px !important;
	}

	#tab6 .bildImg-left,
	#tab6 .bildImg-right {
		min-height: 425px;
	}

	#tab6 .bildImg-right2 {
		min-height: 625px;
	}
}

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
	color: #006bb3;
	font-weight: 600;
	line-height: 1.2;
	font-family: "Roboto", sans-serif;
}

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

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

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

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

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

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

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

footer {
	color: #ffffff;
	font-size: 1rem;
	padding-top: 0;
	padding-bottom: clamp(30px, 3vw, 40vw);
	background-color: #006bb3;
	position: relative;
}

footer > .row {
	row-gap: clamp(30px, 4vw, 60px);
}

@media (min-width: 1200px) {
	footer::after {
		content: "";
		position: absolute;
		pointer-events: none;
		display: block;
		right: 130px;
		top: -134px;
		width: 141px;
		height: 105px;
		background: url(../img/dekoelement-logo-plus.png) no-repeat center center;
	}
}

footer a {
	color: #ffffff;
}

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

/* ------------------------------------------ tabFirst ------------------------------------------ */

footer .tabFirst {
	font-size: clamp(1rem, 2vw, 1.25rem);
	padding-bottom: 30px;
}

footer .tabFirst :is(h1, h2, h3, h4, h5, h6) {
	color: #ffffff;
}

footer .tabFirst :is(h1, h2, h3) {
	text-transform: uppercase;
	font-weight: 500;
	font-size: clamp(1.75rem, 3vw, 1.875rem);
}

footer .tabFirst a {
	text-decoration: underline;
	color: #ffffff;
	font-weight: 500;
	display: inline-block;
	position: relative;
	padding: 12px 65px;
}

footer .tabFirst a::before {
	content: "";
	position: absolute;
	pointer-events: none;
	left: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	width: 50px;
	height: 50px;
	background:
		url("../img/button-pfeil-kleiner-v3.png") center no-repeat,
		#ffffff;
}

/* ------------------------------------------ footerTab ------------------------------------------ */

footer .footerTab {
	font-size: clamp(1rem, 1vw, 1.125rem);
}

footer .footerTab a {
	text-decoration: underline;
}

footer .footerTab .tabHeadline {
	color: #ffffff;
	font-weight: 300;
	text-transform: uppercase;
	font-size: 1.5625rem;
}

footer .footerTab :is(em, i) {
	font-style: normal;
	font-weight: 300;
}

footer .footerTab .btgrid > .row {
	align-items: center;
	align-content: center;
}

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

#innerfooter {
	padding-top: 55px;
	background: url("../img/icon-link.png") top left no-repeat;
	line-height: 1.8;
}

@media (max-width: 575px) {
	#innerfooter {
		padding-top: 55px;
		background: url("../img/icon-link.png") top center no-repeat;
		line-height: 1.8;
	}
}

#innerfooter ul {
	padding: 0;
}

#innerfooter a {
	color: #ffffff;
	text-decoration: none;
	display: inline-block;
	font-weight: 400;
	font-size: clamp(1rem, 1vw, 1.125rem);
}

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

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

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

#vernetzt span span {
	display: block;
}

#googleMaps {
	margin-bottom: 40px;
}

#googleMaps .row {
	max-width: none;
}

#googleMaps .template-page .row,
#googleMaps .template-page .row [class^="col"] {
	margin: 0;
	padding: 0;
}

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