@import url("https://fonts.verwaltungsportal.de/import/?family=Oxygen:300,400,700%7COutfit:500,900");

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

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

a {
	color: #257e3e;
}

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

@media (min-width: 1200px) {
	.row {
		max-width: 1600px;
		width: 100%;
	}
}

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

#topbar {
	background-color: #ffff;
	color: #424242;
	font-size: 0.9375rem;
	font-weight: 300;
	padding: 15px 0;
}

@media (min-width: 992px) {
	#topbar {
		padding: 6px 0;
	}

	#topbar p {
		margin: 0;
		display: inline-block;
	}

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

#topbar > .row {
	row-gap: 15px;
}

#innerfooter ul {
	padding: 0;
}

#innerfooter li {
	display: inline-block;
}

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

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

/* #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: #257e3e;
		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: #000000;
		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: 12px;
	}

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

/* menu desktop */

@media (min-width: 992px) {
	#nav {
		padding: 35px 0;
		background: #000000;
		transition: 150ms linear padding, 150ms linear box-shadow;
	}

	.is-sticky #nav {
		padding: 15px 0;
		box-shadow: 0 7px 12px 0 rgba(0, 0, 0, 0.08);
	}

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

	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.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 .navbar-nav a[class*="toplevel"] {
	color: #fff;
	font-weight: 400;
	text-align: center;
	padding: 15px 10px;
	position: relative;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
}

@media (min-width: 992px) {
	nav.horizontally .navbar-nav li[class*="toplevel"] + li {
		margin-left: -2px;
	}

	nav.horizontally .navbar-nav a[class*="toplevel"] {
		padding: 10px 8px;
		display: flex;
		align-content: center;
		align-items: center;
		justify-content: center;
		height: 100%;
	}
}

@media (min-width: 1200px) {
	nav.horizontally .navbar-nav a[class*="toplevel"] {
		padding: 10px 10px;
	}
}

nav.horizontally .navbar-nav a[class*="toplevel"]::before,
nav.horizontally .navbar-nav a[class*="toplevel"]::after {
	content: "";
	width: 0;
	height: 0;
	display: block;
	position: absolute;
	opacity: 0;
	transition: opacity 300ms linear, width 300ms linear, height 300ms linear;
}

nav.horizontally .navbar-nav a[class*="toplevel"]::before {
	border-top: 2px solid #c6e657;
	border-left: 2px solid #c6e657;
	top: 0;
	left: 0;
}

nav.horizontally .navbar-nav a[class*="toplevel"]::after {
	border-bottom: 2px solid #c6e657;
	border-right: 2px solid #c6e657;
	bottom: 0;
	right: 0;
}

/* toplevel-over */

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

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,
nav.horizontally .navbar-nav li[class*="toplevel"]:is(:hover, :focus-within) > a::after,
nav.horizontally .navbar-nav li[class*="toplevel"] > a:is(:hover, :focus)::after,
nav.horizontally .navbar-nav li[class*="toplevel"].open > a::after,
nav.horizontally .navbar-nav li[class*="toplevel"].open > a:is(:hover, :focus)::after,
nav.horizontally .navbar-nav li[class*="toplevel"][class*="_over"] > a::after,
nav.horizontally .navbar-nav li[class*="toplevel"][class*="_over"] > a:is(:hover, :focus)::after {
	opacity: 1;
	width: 20px;
	height: 20px;
}

/* secondlevel + thirdlevel dropdown-box */

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

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

@media (min-width: 992px) {
	nav.horizontally [class*="toplevel"] ul {
		padding: 18px 0;
		border-radius: 4px;
	}

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

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

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

	nav.horizontally [class*="toplevel"] > ul::before {
		height: 10px;
		left: 0;
		right: 0;
		top: -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: #424242;
	text-align: center;
	padding: 8px 35px;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	font-weight: 400;
}

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

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

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

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

#search {
	display: block;
	height: 27px;
	font-size: 0;
	background: url("../img/lupe-icon.png") center no-repeat;
	flex-shrink: 0;
}

@media (min-width: 992px) {
	#search {
		width: 27px;
	}
}

/* -------------------------------------------- social ------------------------------------------ */

@media (min-width: 992px) {
	#search + * {
		border-left: 1px solid rgba(255, 255, 255, 1);
		margin-left: 10px;
		padding-left: 10px;
	}
}

#social {
	font-size: 0.875rem;
	color: #fff;
}

#social a {
	color: #fff;
}

@media (max-width: 991px) {
	#social {
		margin-top: 15px;
		padding-bottom: 30px;
	}
}

#social img {
	max-width: 30px;
	max-height: 30px;
}

/* #region ---------------------------------- logo + images ------------------------------------- */

.logo {
	display: inline-block;
	align-content: center;
	gap: 30px;
	text-decoration: none !important;
	display: flex;
	justify-content: center;
}

@media (min-width: 768px) {
	.logo {
		flex-grow: 1;
		display: grid;
		place-items: center;
	}
}

.logo img {
	display: block;
}

@media (max-width: 767px) {
	.logo {
      max-width: 80%;
		margin: 15px 0;
      display: flex;
      flex-wrap: wrap;
		background: #000000;
		border-bottom-right-radius: 40px;
		border-bottom-left-radius: 40px;
      padding: 0 20px 20px 20px;
	}

	.logo img {
		max-width: calc(100vw - 180px);
	}
}

.logoText {
	color: #ffffff;
	font-size: 1rem;
	align-content: center;
	line-height: 1.1;
}

.logo .logoText {
   background: #000000;
   border-radius: 20px;
   padding: 20px;

}

.logoText :is(b, strong) {
	display: block;
	font-size: clamp(1.75rem, 4vw, 2.375rem);
	text-transform: uppercase;
	font-family: "Outfit", sans-serif;
	font-weight: 900;
}

.logoText br {
	display: none;
}

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

#logoCol {
	gap: 30px;
}

header .banner {
	width: 100%;
	height: 300px;
}

header .banner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50px;
}

/* #endregion ------------------------------- logo + images ------------------------------------- */

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

@media (min-width: 768px) and (max-width: 991px) {
	header {
		padding-top: 15px;
	}
}

#slider {
	height: 300px;
	position: relative;
	border-radius: 50px;
	overflow: hidden;
}

@media (min-width: 768px) {
	#slider {
		height: 400px;
	}

	body.index #slider {
		height: 705px;
	}

	body.index .nivo-directionNav a {
		top: auto;
		bottom: 12px;
	}
}

header {
	background: url(../img/wave.png);
	background-repeat: no-repeat;
	background-position: top center;
}

body:not(.index) header {
   background: #000000;
   padding-bottom: 30px;
}

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

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

.slider-mask {
	display: none;
}

@media (min-width: 768px) {
	.slider-mask {
		display: block;
		border-radius: 50px;
		background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75));
	}
}

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

#bannerOverlay {
	font-size: clamp(1rem, 2vw, 1.125rem);
}

#bannerOverlay :is(b, strong) {
	color: #010101;
	background: #c6e657;
	border-radius: 6px;
	font-weight: 400;
	text-shadow: none;
	padding: 10px 20px;
	display: block;
	margin-bottom: 30px;
	width: fit-content;
}

#bannerOverlay :is(h1, h2, h3, h4, h5, h6) {
	font-family: "Outfit", sans-serif;
	font-weight: 500;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
}

#bannerOverlay :is(h1, h2, h3, h4, h5, h6) :is(i, em) {
	font-weight: 900;
	font-size: clamp(2rem, 4vw, 3.125rem);
	font-style: normal;
	display: block;
	text-transform: uppercase;
}

@media (max-width: 767px) {
	#bannerOverlay {
		padding-top: 30px;
		padding-bottom: 25px;
	}
}

@media (min-width: 768px) {
	#bannerOverlay :is(h1, h2, h3, h4, h5, h6) {
		color: #fff;
	}
	#bannerOverlay {
		text-shadow: 2px 1px 4px rgba(0, 0, 0, 0.5);
		position: absolute;
		left: 40px;
		right: 40px;
		bottom: 50px;
		z-index: 60;
      background: linear-gradient(0deg,rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
	}

	#headerpic :is(a, button),
	#bannerOverlay {
		color: #000000;
	}

	#headerpic .nivo-controlNav {
		width: calc(100% - 100px);
		left: 50px;
	}
}

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

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

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

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

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

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

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

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

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

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

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

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

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

#teaser,
#teaserBox {
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	position: relative;
}

#teaser {
	padding: 50px 0;
	background: #000000;
	color: #fff;
}

#teaserBox {
	background-color: #000000;
	padding: clamp(40px, 5vw, 80px) clamp(25px, 4vw, 50px) clamp(40px, 5vw, 80px) clamp(25%, 18vw, 38%);
	border-radius: 50px;
}

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

#teaserBox .teaserHeadline {
	font-size: 1.875rem;
}

#teaserBox a {
	color: #c6e657;
}

@media (min-width: 768px) {
	#teaser {
		background: #000000 url(../img/footer-bg.jpg);
		background-repeat: no-repeat;
		background-position: bottom right;
	}
	#footerFacts {
		font-size: 1.0625rem;
	}
	#teaserBox::before {
		content: "";
		position: absolute;
		background: url(../img/ju-jutsu-uebung.png);
		width: 413px;
		height: 288px;
		left: calc((100% - 1200px) / 2 - 30px);
		bottom: -50px;
	}
}

#footerFacts :is(h1, h2, h3, h4, h5, h6) {
	font-family: inherit;
	font-size: 1.125rem;
	margin: 0 0 4px 0;
}

#footerFacts a {
	color: #fff;
}

#footerFacts :is(b, strong) {
	color: #c6e657;
	font-size: 1.125rem;
}

#footer {
	padding: 24px 0;
}

body:not(.index) #footer {
   border-top: 1px solid #000000;
}

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

#logoFooter .logoText {
	color: #010101;
	text-transform: uppercase;
	font-family: "Outfit", sans-serif;
	font-weight: 900;
}

#logoFooter .logoText p {
	display: inline-block;
	padding: 20px;
}

#logoFooter img {
	max-width: 265px;
	vertical-align: middle;
	display: inline-block;
}

.footerIcon {
	padding: 5px 0;
	display: inline-block;
	background: #c6e657;
	border-radius: 6px;
	font-size: 1.125rem;
	padding: 10px 20px;
	color: #010101;
}

.footerIcon a {
	color: inherit;
}

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

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

#vernetzt {
	gap: 18px;
	text-align: right;
	font-size: 0.8125rem;
	color: #424242;
	line-height: 1.3;
	font-weight: 300;
	text-decoration: none;
}

#vernetzt strong {
	color: #257e3e;
	font-weight: 700;
}

#vernetzt span span {
	display: block;
}
