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

html {
	max-width: 1930px;
	margin-left: auto;
	margin-right: auto;
	background: rgb(20, 20, 20);
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
	scrollbar-color: #00ffc9 #ffffff;
	scrollbar-width: thin;
}

body {
	font-family: "Open Sans", sans-serif;
	font-weight: 300;
	color: #ffffff;
	background: #191919;
	font-size: clamp(1rem, 2vw, 1.125rem);
	line-height: 1.5;
}

a {
	color: #f276d5;
}

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

b,
strong {
	font-weight: 600;
}

.overflow {
	overflow: clip;
	position: relative;
}
/* ----------------------------------- dekor, header + footer ----------------------------------- */

@media (min-width: 992px) {
	#headerpic {
		background:
			url("../img/kringel-repeat.png") top right repeat,
			linear-gradient(to right, transparent, transparent calc(50% + 402px), #f31fc2 calc(50% + 402px));
	}

	nav.horizontally {
		background:
			url("../img//kringel-repeat.png") bottom right repeat,
			linear-gradient(to right, transparent, transparent calc(50% + 480px), #f31fc2 calc(50% + 480px));
	}
}
/* --------------------------------------------- contact ---------------------------------------- */

.contact {
	font-size: 0.875rem;
	color: #ffffff;
	padding: 17px 0 15px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	font-weight: 400;
	font-family: "Open Sans", sans-serif;
}

@media (min-width: 992px) {
	.contact p {
		display: inline-block;
	}

	.contact p + p {
		margin-left: 7px;
	}
}

.contact a {
	color: #f276d5;
	text-decoration: underline;
}
.contact a:is(:hover, :focus) {
	text-decoration: none;
}
/* ----------------------------------------------- logo ----------------------------------------- */

#logo {
	display: block;
	background-color: #191919;
	padding: 15px 26px 13px 26px;
}

#logo img {
	display: block;
}

@media (max-width: 991px) {
	#logo {
		margin-left: -15px;
	}

	#logo img {
		max-width: 95px;
		width: 100%;
	}
}

@media (min-width: 992px) {
	nav.horizontally > .row > * {
		position: static;
	}

	#logo {
		position: absolute;
		top: -2px;
		right: 15px;
		min-height: 100%;
	}

	#logo img {
		max-height: 205px;
		transition: max-height 200ms linear;
	}

	.is-sticky #logo img {
		max-height: 113px;
	}
}

@media (min-width: 1200px) {
	#logo {
		max-width: 230px;
	}
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
	nav.horizontally {
		position: static !important;
		background-color: #191919;
	}

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

	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		background-color: #f31fc2;
		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 {
		border-left: 10px solid #f31fc2;
		width: calc(100% - 90px);
		max-width: 300px;
		top: 0;
		background: #191919;
		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: 9px;
	}

	.dropdown-toggle-button-wrapper2 {
		top: 5px;
	}
	.dropdown-toggle-button {
		background-color: #191919;
	}
}

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally {
		position: relative;
		z-index: 101;
		background-color: #191919;
		border-bottom: 1px solid transparent;
		transition: border 200ms linear;
	}

	.is-sticky nav.horizontally {
		border-color: #00ffc9;
	}

	nav.horizontally .navbar-nav {
		padding: 33px 0;
		display: flex;
		justify-content: space-between;
		transition: padding 200ms linear;
	}

	.is-sticky nav.horizontally .navbar-nav {
		padding: 17px 0;
	}

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

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

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

/* toplevel */

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

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

	nav.horizontally li[class*="toplevel"] + li {
		border-top: 1px solid rgba(255, 255, 255, 0.2);
	}

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

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

/* 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) {
	background-color: #00ffc9;
	color: #191919;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	background-color: #ffffff;
	box-shadow: 0 0px 5px 0 rgba(0, 0, 0, 0.15);
}

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

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

	nav.horizontally :is([class*="toplevel"], [class*="secondlevel"]) > ul::before {
		content: "";
		position: absolute;
		display: block;
	}

	nav.horizontally [class*="toplevel"] > ul::before {
		height: 15px;
		left: 0;
		right: 0;
		top: -15px;
	}

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

	nav.horizontally [class*="secondlevel"] > ul::before {
		width: 10px;
		top: 0;
		bottom: 0;
		left: -10px;
	}
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	color: #191919;
	font-weight: 400;
	text-align: left;
	padding: 10px 20px;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
}

@media (max-width: 991px) {
	nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
		padding: 10px 35px 10px 15px;
	}
}

@media (min-width: 992px) {
	nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]) + li:not(:nth-child(2)) {
		border-top: 1px solid rgba(0, 0, 0, 0.15);
	}
}

/* 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) {
	background: #00ffc9;
	color: #191919;
}

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

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

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

@media (min-width: 992px) {
	#slider {
		max-height: clamp(300px, 62vw, 650px);
	}

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

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

#headerpic {
	padding: 0 0 clamp(30px, 4vw, 75px) 0;
	overflow: hidden;
	position: relative;
}

#headerpic > .slider-wrapper {
	max-width: 1580px;
	margin: 0 auto;
}

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

.slider-mask {
	display: none;
}

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

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

/* ------------------------------------------- slogan ------------------------------------------ */
#slogan {
	padding: 49px 0;
	background: #f31fc2 url("../img/kringel-repeat.png") center bottom repeat;
	color: #191919;
}
#slogan a {
	text-decoration: underline;
	color: #191919;
}
#slogan a:is(:hover, :focus) {
	text-decoration: none;
}
#slogan :is(h1, h2, h3, h4, h5, h6) {
	font-weight: 600;
	font-size: clamp(2.5rem, 4vw, 3.125rem);
	color: #191919;
	margin-bottom: 0;
}

/* ------------------------------------------- team ------------------------------------------ */

#team {
   margin-top: 70px;
}

#team >.row::after {
   content: '';
   position: absolute;
   inset: 0 15px;
   border: 2px solid #444444;
   pointer-events: none;
}

#team .tab {
   padding: 70px 30px 70px 0;
}

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

#team .banner {
   height: 100%;
   line-height: 0;
}

#team .banner img {
   height: 100%;
   width: 100%;
   object-fit: cover;
   object-position: center;
   line-height: 0;
}

/* ------------------------------------------- Tabs ------------------------------------------ */
#tabBereich {
	padding: 60px 0 30px 0;
	color: #fff;
	font-size: 1rem;
}
#tabBereich > .row {
	row-gap: 30px;
}
#tabBereich .tabStyle {
	background-color: #191919;
	border: solid 2px #444444;
	padding: 30px;
	height: 100%;
}
#tabBereich .tabStyle hr {
	height: 2px;
	opacity: 0.7;
	background: #444444;
}
/* ------------------- Kontaktdaten ---------------------- */
#tabBereich .tabStyle .tabKontaktdaten {
	color: #fff;
	font-size: 1rem;
}
#tabBereich .tabStyle .tabKontaktdaten a {
	color: #f276d5;
	text-decoration: underline;
}
#tabBereich .tabStyle .tabKontaktdaten a:is(:hover, :focus) {
	text-decoration: none;
}

#tabBereich .tabStyle .tabKontaktdaten :is(h1, h2, h3, h4, h5, h6) {
	color: #00ffc9;
	font-weight: 600;
	font-size: 1.875rem;
}
/* ------------------- Anschriften ---------------------- */
#tabBereich .tabStyle .tabAnschrift :is(iframe, .iframe-wrapper-manual-enabling) {
	min-width: 100% !important;
	width: 100% !important;
	display: block;
	border-radius: 10px;
}
#tabBereich .tabStyle .tabAnschrift {
	align-content: center;
	align-items: center;
	color: #fff;
	font-size: 1rem;
}
#tabBereich .tabStyle .tabAnschrift :is(h1, h2, h3, h4, h5, h6) {
	color: #00ffc9;
	font-weight: 600;
	font-size: 1rem;
}
#tabBereich .tabStyle .tabAnschrift .btgrid > .row {
	align-content: center;
	align-items: center;
}
/* -------------------------------------- h1 - h6, newslink ------------------------------------- */

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

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

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

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

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

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

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

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

footer {
	padding: 30px 0 40px 0;
}

@media (max-width: 991px) {
	footer {
		border-top: 5px solid #f31fc2;
	}
}

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

#innerfooter ul {
	padding: 0;
	margin-top: 10px;
}

#innerfooter a {
	color: #ffffff;
	text-decoration: none;
	font-weight: 400;
	font-size: 1rem;
}
#innerfooter a:is(:hover, :focus) {
	color: #f276d5;
	text-decoration: underline;
}

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

	#innerfooter li + li::before {
		content: "•";
		margin: 0 15px;
		color: #00ffc9;
	}
}

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

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

#vernetzt {
	gap: 30px;
	text-align: right;
	font-size: 0.9375rem;
	color: #ffffff;
	line-height: 1.2;
	margin: 0 auto;
	font-weight: 400;
	text-decoration: none;
}

#vernetzt span span {
	display: block;
}
