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

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

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

a {
	color: #3f7e15;
}

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

.linkUnderline a:not(.has-image, .shareButtonLink) {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: text-decoration 300ms;
}

.linkUnderline a:not(.has-image, .shareButtonLink):is(:hover, :focus) {
	text-decoration-color: transparent;
}

b,
strong {
	font-weight: 600;
}

.gap {
	gap: 30px 0;
}

#overflow {
	overflow: hidden;
}

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

.logo {
	display: flex;
	flex-wrap: wrap;
	gap: 15px 15px;
	text-decoration: none !important;
	flex-direction: column;
	align-content: start;
	text-align: center;
	background: #ffffff;
	width: fit-content;
	box-shadow: 10px 10px 0 rgba(63, 126, 21, 0.6), 0px 20px 30px 0px rgba(0, 0, 0, 0.2);
	padding: 10px 20px 20px 20px;
	border-bottom-right-radius: 40px;
	position: absolute;
	align-items: center;
	top: 0;
}

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

.logo .cleaner {
	display: none;
}

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

.logoText :is(b, strong) {
	display: block;
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
}

.logoText br {
	display: none;
}

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

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

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
	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: #3f7e15;
		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 {
		padding: 20px 10px;
	}

	.navbar-collapse {
		width: calc(100% - 90px);
		max-width: 300px;
		top: 0;
		background: #3f7e15;
		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: 8px;
		right: 0;
	}

	.dropdown-toggle-button-wrapper2 {
		top: 6px;
		right: 0;
	}
}

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally {
		transition: background 300ms linear;
	}

	.is-sticky nav.horizontally {
		left: auto !important;
		background: #3f7e15;
	}

	nav.horizontally .navbar-nav {
		padding: 20px 0;
		position: relative;
		display: flex;
		justify-content: space-between;
		align-items: center;
		transform: translateY(40px);
		transition: transform 300ms;
		gap: 20px;
	}

	.is-sticky .horizontally .navbar-nav {
		transform: translateY(0);
	}

	.is-sticky nav.horizontally .navbar-nav {
		border-top-color: transparent;
	}

	nav.horizontally li[class*="toplevel"] {
		flex-grow: 1;
	}

	nav.horizontally [class*="toplevel"] > ul {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 1000;
	}

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

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

	nav.horizontally .navbar-nav li :is([class*="toplevel"] > ul, [class*="secondlevel"] > ul) {
		display: block !important;
		pointer-events: none;
		opacity: 0;
		transition: opacity 300ms linear;
	}

	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: 14px 5px;
	position: relative;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
	transition: border 300ms linear;
	background: #3f7e15;
}

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

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

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

nav.horizontally a[class*="toplevel"]::after {
	content: "";
	display: block;
	position: absolute;
	z-index: 1;
	left: 50%;
	bottom: 0;
	height: 4px;
	width: 0;
	background: #ffffff;
	transform: translateX(-50%);
	transition: width 300ms linear;
}

@media (min-width: 992px) {
	nav.horizontally a[class*="toplevel"]::after {
		bottom: 0;
	}
}

/* toplevel-over */

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within) > a::after,
nav.horizontally li[class*="toplevel"] > a:is(:hover, :focus)::after,
nav.horizontally li[class*="toplevel"].open > a::after,
nav.horizontally li[class*="toplevel"].open > a:is(:hover, :focus)::after,
nav.horizontally li[class*="toplevel"][class*="_over"] > a::after,
nav.horizontally li[class*="toplevel"][class*="_over"] > a:is(:hover, :focus)::after {
	width: 100%;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	padding: 10px;
	background: #ffffff;
	box-shadow: 0 20px 30px 0 rgba(0, 0, 0, 0.2);
}

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

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

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

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

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

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

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

/* secondlevel + thirdlevel */

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

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

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

/* 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: #3f7e15;
}

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

/* #region ------------------------------------- resp-gaps -------------------------------------- */

#topbar .row {
	row-gap: 25px;
}

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

/* #endregion ---------------------------------- resp-gaps -------------------------------------- */

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

#headerpic {
	background: #252525;
	position: relative;
}

#headerpic .nivo-controlNav * {
   color: #fff;
}

@media (max-width: 991px) {
	#slider {
		height: 450px !important;
	}
}

#headerpic > *:not(.slider-wrapper):not(.sticky-wrapper):not(nav.horizontally) {
	position: relative;
	z-index: 10;
}

/* header text */

#header-text {
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	padding: clamp(100px, 15vw, 200px) 0 clamp(100px, 15vw, 200px) 0;
}

.theme-default .nivo-controlNav a,
#header-text,
#header-text :is(h1, h2, h3, h4, h5, h6) {
	color: #ffffff;
	text-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

/* banner */

#slider {
	position: relative;
	height: 100%;
}

@media (min-width: 768px) {
	body.index #headerpic .nivo-controlNav {
		bottom: 30px;
	}
}

@media (min-width: 992px) {
	#headerpic a.nivo-prevNav {
		left: 65px;
	}

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

@media (max-width: 1199px) {
	#headerpic a:is(.nivo-prevNav, .nivo-nextNav) {
		top: auto;
		bottom: 8px;
		z-index: 51;
	}
}

@media (min-width: 992px) {
	.slider-wrapper {
		position: absolute !important;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
	}
}

.slider-mask {
	display: none;
}

@media (min-width: 992px) {
	.slider-mask {
		display: block;
		background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 220px, rgba(255, 255, 255, 0));
	}
}

#headerpic .nivo-main-image {
	min-height: 100% !important;
}

#headerpic hr {
	background: transparent;
	height: 43px;
	background-image: url(../img/sammlung-von-tintenpinselstrichen.png);
	opacity: 1;
	border: none;
	background-repeat: no-repeat;
}

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

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

.buttonStyle a {
	outline: 1px solid #3f7e15;
	border-radius: 20px;
	font-size: 1.125rem;
	display: inline-block;
	padding: 8px 20px;
	margin-top: 40px;
	transition-property: color, background, border-color;
	transition-duration: 300ms;
	text-decoration: none;
	background: #fff;
	padding-right: 50px;
	position: relative;
}

.buttonStyle.buttonNoMargin a {
	margin: 0;
}

#headerpic .buttonStyle a {
	outline-color: transparent;
}

.buttonStyle a::after {
	content: "";
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: url(../img/pfeil-grun.png);
	width: 19px;
	height: 15px;
	right: 20px;
	transition: right 300ms, filter 300ms;
}

.buttonStyle a:is(:hover, :focus)::after {
	right: 10px;
	filter: invert(1) saturate(0) brightness(100);
}

.buttonStyle a:is(:hover, :focus) {
	outline-color: #fff;
	color: #fff;
	background: #3f7e15;
}

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

#content {
	text-align: left;
	padding-block: clamp(50px, 5vw, 80px);
}

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

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

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

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

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

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

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

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

.hUppercase {
	text-transform: uppercase;
	color: inherit;
}

.hUnderline {
	position: relative;
	margin: 0;
}

.hUnderline::after {
	content: "";
	display: block;
	margin: clamp(10px, 2vw, 30px) auto;
	background: url(../img/sammlung-von-tintenpinselstrichen-kleiner.png);
	width: 295px;
	height: 34px;
}

/* ----------------------------------------------- bannerSG ----------------------------------------------- */

.bannerSG {
	padding-bottom: 80px;
}

@media (min-width: 992px) {
	.bannerSG .tab {
		padding: 55px 0;
	}
}

.bannerSG .tab .tabHeadline {
	margin-bottom: 1em;
}

.bannerSG .banner {
	height: 100%;
}

@media (max-width: 991px) {
	.bannerSG .banner {
		max-height: 200px;
	}
}

.bannerSG .banner img {
	border-radius: 100px 0 100px 0;
	height: 100%;
	width: 100%;
	object-fit: cover;
	object-position: center;
}

/* ----------------------------------------------- kooperation, mitglied, widget ----------------------------------------------- */

:is(#kooperation, #widget) {
	background-position: center;
	background-size: cover;
	isolation: isolate;
}

#kooperation {
	background-attachment: fixed;
	padding: clamp(30px, 7vw, 105px) 0;
}

#kooperation > .row {
	padding: 40px 0;
}

#kooperation > .row::after {
	content: "";
	position: absolute;
	inset: 0 -100vw;
	background: rgba(255, 255, 255, 0.8);
	z-index: -1;
}

#widget {
	padding: clamp(30px, 12vw, 190px) 0 clamp(30px, 12vw, 130px) 0;
}

#widget .tab {
	background: #fff;
	box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
}

#mitglied {
	padding: 60px;
}

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

#footerTabs {
	border-top: 2px solid #3f7e15;
	padding: 40px 0;
}

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

#footerTabs #scrollTopBtn {
	background: #3f7e15 url(../img/pfeil-weiss-nach-oben.png);
	background-position: center right 20px;
	background-repeat: no-repeat;
	color: #fff;
	border-radius: 20px;
	font-size: 1.125rem;
	padding: 10px 55px 10px 20px;
}

#footerTabs #scrollTopBtn:is(:hover, :focus) {
	background-color: #252525;
	text-decoration: none;
}

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

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

#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: "";
	margin: 0 6px;
}

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

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

#footerRight {
	display: flex;
	flex-wrap: wrap;
	gap: 30px 60px;
	align-content: space-between;
}
