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

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

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

a {
	color: #00855a;
}

#content a {
	text-decoration: underline;
}

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

:not(.cc_banner-wrapper):focus-visible,
#vernetzt:focus-visible span {
	background-color: #fff !important;
	color: #00855a !important;
	z-index: 100;
	text-decoration: none;
	outline: 2px solid #00855a;
}

b,
strong {
	font-weight: 600;
}

.rowGap {
	row-gap: 30px;
}

#overflow {
   overflow: hidden;
}

/* ------------------------------------------ contact ------------------------------------------- */

.contact {
	line-height: 1.8;
	color: #ffffff;
	padding: 11px 0;
	font-size: 0.875rem;
	background-color: #00855a;
}

@media (min-width: 992px) {
	.contact {
		line-height: 1.2;
	}
}

.contact p {
	margin: 0;
	display: inline-block;
}

@media (min-width: 992px) {
	.contact p + p::before {
		content: "|";
		margin: 0 20px;
	}
}

.contact a {
	color: #ffffff;
	text-decoration: underline;
}

/* ------------------------------------------- tickerWrapper ------------------------------------------- */

#tickerWrapper {
	font-size: 0.875rem;
	line-height: 1.3;
}

.newsticker-position {
	margin-bottom: 0;
}

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

#topbar {
	padding: 15px 0;
}

#logo {
	display: inline-block;
}

#logo img {
	display: block;
}

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

/* ------------------------------------------ styler -------------------------------------------- */

@media (min-width: 992px) {
	#style h2 {
		font-size: inherit;
		font-weight: 400;
		color: inherit;
		width: unset;
		margin: 0 5px 0 0;
	}

	#style button {
		border: none;
		color: #202020;
		display: inline-block;
		font-weight: 400;
		text-align: center;
		background: #ffffff;
		line-height: 1;
		font-size: 1.125rem;
		min-width: 2.25rem;
		min-height: 2.25rem;
		border-radius: 12px;
		padding: 0 0 2px 0;
		margin-left: 10px;
		box-shadow:
			0.819px 0.574px 0px 0px rgba(0, 0, 0, 0.2),
			0px 0px 10px 0px rgba(0, 0, 0, 0.1);
	}

	#style button:is(:hover, :focus) {
		color: #ffffff;
		background: #00855a;
	}

	#style + * {
		margin-left: 40px;
	}
}

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

/* burgermenu for tablet */

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

	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		background-color: #00855a;
		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: #00855a;
      padding: 10px;
		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: 6px;
	}

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

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally {
		background-color: #00855a;
		padding: 10px 0;
	}
	.is-sticky nav.horizontally {
		border-bottom: 1px solid #fff;
	}

	nav.horizontally .navbar-nav {
		display: flex;
		justify-content: space-between;
		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: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: 12px 15px;
	text-transform: uppercase;
	position: relative;
	font-size: 1.25rem;
	line-height: 1.2;
	text-decoration: none;
	border-radius: 12px;
}

@media (max-width: 991px) {
	nav.horizontally li[class*="toplevel"] {
      margin: 3px 0;
	}

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

@media (min-width: 992px) {
	nav.horizontally a[class*="toplevel"] {
		padding: 15px 20px;
		display: flex;
		align-content: center;
		align-items: center;
		justify-content: center;
		text-align: 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) {
	color: #00855a;
	background: #fff;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
	border-radius: 12px;
}

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

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

	nav.horizontally [class*="toplevel"] > ul {
		margin-top: 10px;
		left: 50%;
		transform: translate(-50%, 0);
	}

	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 {
		margin-top: -18px;
		margin-left: 50px;
	}

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

/* secondlevel + thirdlevel */

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

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

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

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

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::before {
	content: "\203A \203A";
	display: inline-block;
	position: relative;
	bottom: 2px;
	position: absolute;
	left: 0;
	top: 8px;
	opacity: 0;
	transition: opacity 300ms linear;
}

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

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

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

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

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

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

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

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

	.index #headerpic .nivo-controlNav {
		bottom: 115px;
	}
}

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

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

.slider-mask {
	display: none;
}

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

.index main {
	background: #f6f6f6;
}

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

/* -------------------------------------- Tabs ------------------------------------- */

#tabs {
	padding-block: 30px;
	background: #00855a;
}

@media (min-width: 992px) {
	#tabs>.row {
		max-width: 992px;
		width: 100%;
	}
}

#tabs>.row::after {
   content: '';
   position: absolute;
   background: url(../img/badminton.png);
   width: 118px;
   height: 385px;
   bottom: -165px;
   right: -60px;
   transform: translateX(100%);
}

#tabs .tab {
	background: #fff;
	border-radius: clamp(22px, 2vw, 48px);
	box-shadow: 0px 0px 20px 0px rgba(5, 10, 2, 0.4);
	padding: 40px 15px;
	overflow: hidden;
	position: relative;
	color: #00855a;
	text-transform: uppercase;
	font-weight: 600;
	height: 100%;
   font-size: 1.5rem;
   hyphens: auto;
   transition: box-shadow 200ms linear;
}

#tabs .tab:is(:hover, :focus) {
   box-shadow: none;
}

#tabs .tab img {
	min-width: calc(100% + 30px);
	margin: -40px -15px 30px -15px;
	height: 200px;
	object-fit: cover;
	object-position: center;
}

#tabs a {
	text-decoration: none;
}

#tabs a::after {
	content: "";
	position: absolute;
	inset: -1000vw;
}

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

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

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

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

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

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

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

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

/* ----------------------------------------------- tabWid ----------------------------------------------- */

@media (min-width: 1200px) {
	.tabWid {
		position: relative;
	}

	.index .tabWid::before {
		content: "";
		position: absolute;
		pointer-events: none;
		left: -375px;
		top: 30px;
      transform: translateY(-100%);
		width: 307px;
		height: 297px;
		background: url("../img/fussballer-links.png") center no-repeat;
	}
}

.tabWid .tabHeadline {
	font-size: clamp(1.75rem, 2vw, 1.875rem);
	margin-bottom: clamp(15px, 2vw, 30px);
}

.tabWid {
	padding-bottom: clamp(40px, 7vw, 80px);
}

/* ----------------------------------------------- @5f footer ----------------------------------------------- */

#f5 {
	padding-top: 12px;
	padding-bottom: 12px;
	background-color: #00855a;
}

#f5>.row::after {
   content: '';
   position: absolute;
   background: url(../img/fussballer-rechts.png);
   width: 258px;
   height: 357px;
   bottom: -12px;
   right: -60px;
   transform: translateX(100%);
}

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

@media (max-width: 767px) {
	#innerfooter {
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		padding-bottom: 15px;
		margin-bottom: 15px;
	}
}

#innerfooter ul {
	padding: 0;
}

#innerfooter li {
	display: inline-block;
}

#innerfooter a {
	color: #ffffff;
	text-decoration: none;
	display: inline-block;
	font-size: 1rem;
}

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

#innerfooter li + li::before {
	content: "I";
   color: #fff;
	margin: 0 6px;
}

@media (min-width: 992px) {
	#innerfooter li + li::before {
		margin: 0 25px;
	}
}

@media (max-width: 767px) {
	#innerfooter li {
		display: block;
		text-align: center;
		padding: 5px;
		margin: 0;
	}

	#innerfooter li + li::before {
		display: none;
	}
}

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

#vernetzt {
	gap: 12px;
	text-align: right;
	font-size: 0.9375rem;
	color: #ffffff;
	line-height: 1.3;
	text-decoration: none;
}

#vernetzt span span {
	display: block;
}
