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

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

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

a {
	color: #b54c2c;
}

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

.gap {
	gap: 30px 0;
}

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

#logo {
	display: inline-block;
}

#logo img {
	display: block;
}

@media (min-width: 992px) {
	#logo {
		position: absolute;
		top: -36px;
		transition: all 300ms linear;
	}

	#logo img {
		transition: all 300ms linear;
		max-width: 285px;
	}

	.is-sticky #logo img {
		max-width: 200px;
	}
}

@media (max-width: 991px) {
	#logo img {
		max-width: 160px;
	}
}

/* ------------------------------------------------- socials ------------------------------------------------ */

#menu .socials {
	color: #fff6e7;
	line-height: 0;
}

.socials,
.socials a {
	color: inherit;
	vertical-align: middle;
}

.socials img {
	border-radius: 100%;
	aspect-ratio: 1;
	transition: background-color 300ms;
	margin-right: 15px;
	width: 40px;
	height: 40px;
	object-fit: scale-down;
	object-position: center;
}

@media (min-width: 992px) {
	.socials img {
		margin-right: 0;
		margin-left: 15px;
	}
}

#menu .socials img {
	background: #fff6e7;
}

#footer .socials img {
	background: #3b5a2c;
}

#menu .socials img:is(:hover, :focus) {
	padding: 5px;
	background: #c2512f;
}

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

nav.horizontally {
	padding-top: 25px;
	padding-bottom: 20px;
	background-color: #3b5a2c;
	border-bottom: 1px solid #fff6e7;
}

.is-sticky nav.horizontally {
	left: auto !important;
}

/* burgermenu for tablet */

@media (max-width: 991px) {
	nav.horizontally {
	padding-top: 15px;
	padding-bottom: 15px;
}
	#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: #3b5a2c;
		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: #3b5a2c;
		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: 7px;
	}

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

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally {
		background-color: #3b5a2c;
		box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1);
	}

	.is-sticky nav.horizontally {
		left: auto !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.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: #fff6e7;
	font-weight: 400;
	text-align: left;
	padding: 10px 15px 15px 15px;
	position: relative;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
}

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

@media (min-width: 992px) {
	nav.horizontally a[class*="toplevel"] {
		text-align: center;
		padding: 6px 7px 5px 7px;
	}
}

/* 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: #3b5a2c;
	background: #fff6e7;
}

/* secondlevel + thirdlevel dropdown-box */

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

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

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

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

	nav.horizontally [class*="toplevel"]>ul {
		left: 0;
	}

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

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

/* secondlevel + thirdlevel */

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

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::before {
	content: "";
	width: 6px;
	aspect-ratio: 1;
	background: #fff6e7;
	top: 50%;
	transform: translateY(-50%);
	left: 15px;
	position: absolute;
	border-radius: 100px;
}

@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) {
	background: #c2512f;
	color: #fff6e7;
}

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

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

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

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

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

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

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

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

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

@media (min-width: 992px) {
	#headerpic .slider-wrapper {
		margin-left: calc(-50vw + 481px);
	}

	body:not(.index) #headerpic .slider-wrapper {
		margin-right: calc(-50vw + 481px);
	}
}

@media (min-width: 1200px) {
	#headerpic .slider-wrapper {
		margin-left: calc((clamp(1200px, 100vw, 1930px) - 1171px) / -2);
	}

	body:not(.index) #headerpic .slider-wrapper {
		margin-right: calc((clamp(1200px, 100vw, 1930px) - 1171px) / -2);
	}
}

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

.slider-mask {
	display: none;
}

/* -------------------------------------------- bannerTab ------------------------------------------ */

#bannerTab .tab {
	position: relative;
}

@media (min-width: 1200px) {
	#bannerTab .tab::after {
		content: '';
		position: absolute;
		pointer-events: none;
		top: 60px;
		right: -135px;
		width: 129px;
		height: 175px;
		background: url('../img/deko-arrow-green.png') center no-repeat;
	}
}

#bannerTab .tabHeadline {
	color: #3b5a2c;
	font-size: 1.375rem;
	margin: 0;
	line-height: 1.6;
	padding: 25px 35px;
	background: #ffffff;
}

#bannerTab .tab .tabContent {
	font-size: clamp(1rem, 1vw, 1.125rem);
	color: #fff6e7;
	line-height: 1.6;
	padding: 35px 30px;
	border-radius: 23px;
	background: #c2512f;
	box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1);
}

#bannerTab a {
	color: inherit;
	background: #3b5a2c;
	border-radius: 10px;
	padding: 6px 15px;
}

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

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

.index #content {
	padding-top: clamp(30px, 4vw, 60px);
}

/* ----------------------------------------------- counter ----------------------------------------------- */

#counter {
	padding: 100px 0;
	background-position: center;
	background-size: cover;
}

@media (min-width: 1200px) {
	#counter>.row::after {
		content: "";
		position: absolute;
		pointer-events: none;
		bottom: -160px;
		right: -245px;
		width: 124px;
		height: 185px;
		background: url('../img/deko-muelleimer-logo2.png')center no-repeat;
		z-index: 2;
	}
}

#counter :is(h1, h2, h3, h4, h5, h6) {
	color: #fff6e7;
}

@media (min-width: 992px) {
	#counter .counter-header :is(h1, h2, h3, h4, h5, h6) {
		max-width: 50%;
	}
}

/* -------------------------------------------- sammeln ------------------------------------------ */

#sammeln {
	background: #fff6e7;
	padding-block: 50px 80px;
	font-size: 1.25rem;
}

@media (min-width: 1200px) {
	#sammeln>.row::before {
		content: '';
		position: absolute;
		pointer-events: none;
		bottom: -150px;
		left: -280px;
		width: 258px;
		height: 172px;
		background: url('../img/logo-clean-up-deko.png') center no-repeat;
		z-index: 1;
	}

}

#sammeln :is(b, strong) {
	font-size: clamp(2.5rem, 5vw, 5rem);
	color: #3b5a2c;
}

/* ----------------------------------------------- helfer ----------------------------------------------- */

#helfer {
	padding: 80px 0;
	background: #ebeee9;
	position: relative;
}

@media (min-width: 992px) {
	#helfer>.row>div:first-of-type {
		margin-bottom: 160px;
		position: relative;
	}

	#helfer>.row>div:last-of-type {
		margin-left: -100px;
		margin-top: 100px;
	}
}

#helfer .tab {
	padding: clamp(30px, 5vw, 70px) clamp(30px, 7vw, 100px);
}

#helfer .tab a {
	display: inline-block;
	background: #3b5a2c;
	border-radius: 20px;
	color: #fff6e7;
	font-size: 1.125rem;
	padding: 15px 50px;
	margin-top: 15px;
}

#helfer .tab a:is(:hover, :focus) {
	background: #b54c2c;
	text-decoration: none;
}

#helfer>.row>div>* {
	border-radius: 10px;
	background: #fff;
	box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	height: 100%;
}

#helfer .banner {
	line-height: 0;
}

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

/* ----------------------------------------------- dankeBox ----------------------------------------------- */

#dankeBox {
	padding-top: clamp(30px, 4vw, 70px);
	padding-bottom: clamp(30px, 4vw, 65px);
	background: #3b5a2c;
	position: relative;
}

#dankeBox .tab {
	color: #453100;
	font-size: clamp(1rem, 2vw, 1.25rem);
	padding: clamp(30px, 4vw, 60px);
	border-radius: 10px;
	background: #ffffff;
	box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
}

#dankeBox .tab .tabHeadline {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	margin-bottom: 30px;
}

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
	color: #3b5a2c;
	font-weight: 700;
	line-height: 1.2;
	font-family: "Poppins", 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.3125rem);
}

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

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4,
#counter :is(h1, h2, h3, h4, h5, h6) {
	font-size: clamp(1.5rem, 4vw, 1.875rem);
}

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

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

/* ----------------------------------------------- @2f footer ----------------------------------------------- */

#footer {
	padding-top: 30px;
	padding-bottom: 30px;
	background-color: #fff;
}

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

#footer .col-xs-12>hr {
	background: #3b5a2c;
	height: 2px;
	opacity: 0.2;
	border: none;
	margin: 10px 0;
}

/* --------------------------------------------- logoFooter -------------------------------------------- */

#logoFooter {
	display: inline-block;
}

#logoFooter img {
	display: block;
}

#footer .tabContent {
	vertical-align: middle;
}

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

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

#vernetzt span span {
	display: block;
}

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

#innerfooter {
	font-size: 1rem;
	color: #fff6e7;
	padding-top: 22px;
	padding-bottom: 22px;
	background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url(../img/steine.jpg);
	background-position: bottom center;
	background-size: cover;
}

#innerfooter ul {
	padding: 0 !important;
}

#innerfooter li {
	display: inline-block;
}

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

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

#innerfooter li+li::before {
	content: "•";
	margin: 0 10px;
}

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