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

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

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

a {
	color: #1d7500;
}

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

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

#topbar {
	font-size: 1.125rem;
	padding-top: 20px;
	color: #383838;
	border-top: #1d7500 solid 4px;
	background: #fff url(../img/deko-logo.png);
	background-position: top center;
	background-repeat: no-repeat;
}

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

#topbar > .row,
#topbar > .row > * {
	gap: 30px 0;
}

#topbar > .row > div:last-of-type {
	flex-direction: column;
}

#topbar a {
	color: #383838;
	text-transform: uppercase;
	text-decoration: none;
}

#topbar :is(a, button):is(:hover, :focus) {
	color: #1d7500;
}

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

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

	#style h2 {
		color: inherit;
		font-size: inherit;
		font-weight: inherit;
		margin: 0;
		width: auto;
		line-height: 1;
	}

	#style button {
		color: #383838;
		font-weight: 400;
		background: transparent;
		border: none;
		line-height: 1;
		padding: 0 15px;
	}

	#style button + button {
		border-left: 1px solid #383838;
	}

	#style button:is(:hover, :focus) {
		color: #1d7500;
	}
}


#contrast_style h2 {
		color: inherit;
		font-size: inherit;
		font-weight: inherit;
		margin: 0;
		width: auto;
		line-height: 1;
	}

#contrast_style button {
	color: #000000;
	padding: 0;
	border: 1px solid rgba(0, 0, 0, 0.6);
	font-family: "Khand", sans-serif;
	display: inline-block;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	font-weight: 400;
	text-align: center;
	background: #ffffff;
	position: relative;
	z-index: 1;
	font-size: 0;
}

#contrast_style button::before {
	content: "";
	display: block;
	position: absolute;
	z-index: -1;
	left: -6px;
	top: -6px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.1);
	opacity: 0;
	-webkit-transition: opacity 150ms linear;
	-moz-transition: opacity 150ms linear;
	-ms-transition: opacity 150ms linear;
	-o-transition: opacity 150ms linear;
	transition: opacity 150ms linear;
}

#contrast_style *+* {
	margin-left: 10px;
}

#contrast_style button::after {
	content: "";
	display: block;
	position: absolute;
	top: 3px;
	right: 3px;
	left: 3px;
	bottom: 3px;
	border: 1px solid rgba(0, 0, 0, 0.6);
	border-radius: 50%;
}

#contrast_style button:nth-of-type(1)::after {
	background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6) 50%, rgba(255, 255, 255, 1) 50%);
}

#contrast_style button:nth-of-type(2)::after {
	background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1) 50%, rgba(0, 0, 0, 0.6) 50%);
}

#contrast_style button:nth-of-type(3)::after {
	background: #ea5b0c;
	border: none;
}

#counter b {
	display: inline-block;
	background: #1d7500;
	color: #fff;
	font-weight: 400;
	padding: 3px 30px;
	margin-left: 5px;
}

/* -------------------------------------------- logo -------------------------------------------- */

#logo {
	display: inline-block;
}

#logo img {
	display: block;
	transition: max-height 150ms linear, margin 150ms linear;
}

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

@media (min-width: 992px) {
	#logo img {
		max-height: 150px;
		margin: 30px 0;
	}

	.is-sticky #logo img {
		max-height: 100px;
		margin: 10px 0;
	}
}

.contrast_dark #logo img {
	background-color: #fff !important;
}
/* #region ---------------------------------- navigation ---------------------------------------- */

nav.horizontally {
	background: #ffffff;
}

.is-sticky nav.horizontally {
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

/* burgermenu for tablet */

@media (max-width: 991px) {
	nav.horizontally {
		padding: 10px 0;
	}

	#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: #1d7500;
		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: #ffffff;
		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: 10px;
	}

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

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally :is(.navbar, #myNavbar) {
		height: 100% !important;
	}

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

	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, :hover) > ul,
	nav.horizontally .navbar-nav li.open:focus-within > 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.open > ul {
		pointer-events: none !important;
		opacity: 0 !important;
		visibility: hidden;
	}

	nav.horizontally .navbar-nav li:is(:hover, :focus) > ul {
		z-index: 1003;
	}
}

/* toplevel */

nav.horizontally .navbar-nav a[class*="toplevel"] {
	color: #383838;
	font-weight: 400;
	text-align: center;
	padding: 10px 35px 15px 35px;
	position: relative;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
}

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

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

nav.horizontally .navbar-nav a[class*="toplevel"]::before {
	content: "";
	width: 0;
	height: 3px;
	display: block;
	position: absolute;
	left: 50%;
	bottom: -1px;
	background-color: #196300;
	opacity: 0;
	transition: opacity 300ms linear, width 300ms linear;
	transform: translateX(-50%);
}

/* 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: #383838;
	background-color: #ebebeb;
}

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 {
	opacity: 1;
	width: 100%;
}

/* secondlevel + thirdlevel dropdown-box */

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

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

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

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

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

	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: #383838;
	font-weight: 400;
	padding: 8px 25px;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
}

@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: #383838;
	background-color: #ebebeb;
}

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

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

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

@media (min-width: 768px) {
	#headerpic .nivo-directionNav a {
		top: auto;
		bottom: 16px;
	}

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

@media (min-width: 992px) {
	body.index #slider {
		max-height: clamp(450px, 66vw, 640px);
	}
}

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

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

.slider-mask {
	display: none;
}

@media (min-width: 992px) {
	body.index .slider-mask {
		display: block;
		background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
	}
}

#bannerOverlay {
	text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.25);
	font-size: clamp(1.875rem, 3vw, 2.6875rem);
	pointer-events: none;
}

#bannerOverlay :is(h1, h2, h3, h4, h5, h6) {
	font-size: clamp(2rem, 4vw, 3.4375rem);
	font-weight: 200;
	font-style: normal;
}

@media (max-width: 991px) {
	#bannerOverlay {
		padding: 25px 0;
	}
}

@media (min-width: 992px) {
	#bannerOverlay {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 70px;
		z-index: 50;
		color: #fff;
      background: linear-gradient(0deg,rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
	}

	#bannerOverlay :is(h1, h2, h3, h4, h5, h6) {
		color: #fff;
	}
	#bannerOverlay a {
		color: #fff;
		text-decoration: underline;
	}
}

#slogan {
	pointer-events: auto;
}

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

/* ---------------------------------------------- tab ------------------------------------------- */

#tabs {
	padding-top: clamp(30px, 7vw, 100px);
}

@media (min-width: 992px) {
	#tabs > .row::after {
		content: "";
		position: absolute;
		background: url(../img/deko-reagenzglaeser.png);
		width: 169px;
		height: 239px;
		left: -110px;
		bottom: -50px;
		transform: translateX(-100%);
	}
}

#tabs>.row {
   gap: 30px 0;
}

#tabs .tab {
	padding: 50px 20px;
	background: #ffffff url(../img/gluehbirne.png);
	background-position: top 15px right 30px;
	background-repeat: no-repeat;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05);
	position: relative;
	padding-top: 90px;
	min-height: calc(100% - 110px);
	height: 100%;
	font-size: 0.9375rem;
}

#tabs .tab.tab2 {
	background: #ffffff url(../img/hut.png);
	background-position: top 15px right 30px;
	background-repeat: no-repeat;
}

#tabs .tab.tab3 {
	background: #ffffff url(../img/rakete.png);
	background-position: top 15px right 30px;
	background-repeat: no-repeat;
}

#tabs .tabHeadline {
	margin: 0 0 30px 0;
	padding-right: 100px;
	font-size: 2rem;
}

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

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

#content .tabHeadline {
	font-weight: 700;
	font-size: 1.5rem;
	text-align: center;
	padding: 15px 0;
	color: #383838;
	background-color: #ebebeb;
}

#content .tabAside {
	color: #383838;
	padding: 25px;
	font-size: 1rem;
	background-color: #ebebeb;
}

#content .tabAside a {
	color: #383838;
	text-decoration: underline;
}

@media (max-width: 991px) {
	#content .tabContact {
		margin-top: 40px;
	}
}

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

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

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

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

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

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

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

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


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

#footer {
	background-color: #fcfcfc;
	padding: 30px 0;
	font-size: 1.125rem;
}

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

@media (min-width: 768px) {
	#footer > .row > .col-xs-12 + :nth-child(2) {
		border: none;
		margin-top: 0;
		padding-top: 0;
	}
}

@media (min-width: 1200px) {
	#footer > .row::before {
		content: "";
		display: block;
		position: absolute;
		width: 280px;
		height: 271px;
		max-height: 100%;
		left: -200px;
		top: 50%;
		transform: translateY(-50%);
		background: url("../img/logo-freisteller.png") center no-repeat;
		background-size: contain;
	}
}

footer .tabHeadline {
	margin: 0 0 4px 0;
	font-size: 1.5rem;
}

#innerfooter ul {
	padding: 0;
}

#innerfooter a {
	color: inherit;
	text-decoration: none;
	display: block;
}

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

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

#vernetzt {
	display: inline-block;
	font-size: 0.875rem;
	color: #383838;
	line-height: 1.3;
	text-decoration: none;
}

#vernetzt img {
	margin-bottom: 6px;
}

#vernetzt strong {
	color: #1d7500;
}

#vernetzt span {
	display: block;
}

#sponsoren {
   padding: 30px 0;
}