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

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

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

a {
	color: #165910;
}

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

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

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

b,
strong {
	font-weight: 700;
}

/* --------------------------------------------- Header ------------------------------------------- */

header {
	background: #57be4b;
}

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

#logo {
	display: inline-block;
}

#logo img {
	display: block;
}

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
	nav.horizontally {
		position: static !important;
		padding: 15px 0;
	}

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

	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		background-color: #262626;
		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: #57be4b;
		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: #57be4b;
		padding: 15px 0;
		transition: padding 0.2s 0s linear;
	}

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

	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: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: #262626;
	font-weight: 500;
	text-align: left;
	padding: 10px 15px 14px 15px;
	position: relative;
	font-size: clamp(1.125rem, 2vw, 1.5rem);
	line-height: 1.2;
	text-decoration: none;
}

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

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

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

	nav.horizontally a[class*="toplevel"] {
		padding: 11px 0;
	}
}

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

@media (min-width: 992px) {
	nav.horizontally a[class*="toplevel"]::before {
		left: 50%;
	}
}

/* toplevel-over */

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within) > a::before,
nav.horizontally li[class*="toplevel"] > a:is(:hover, :focus)::before,
nav.horizontally li[class*="toplevel"].open > a::before,
nav.horizontally li[class*="toplevel"].open > a:is(:hover, :focus)::before,
nav.horizontally li[class*="toplevel"][class*="_over"] > a::before,
nav.horizontally 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;
	-webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.3);
	box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.3);
	border-radius: 4px;
}

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

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

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

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

	nav.horizontally [class*="toplevel"] > ul {
		margin-top: 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 {
		margin-top: -10px;
		margin-left: 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: #262626;
	font-weight: 400;
	text-align: left;
	padding: 9px 25px 9px 35px;
	font-size: clamp(1rem, 2vw, 1.125rem);
	line-height: 1.2;
	text-decoration: none;
	position: relative;
}

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

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::before {
	content: "";
	display: block;
	position: absolute;
	left: 20px;
	top: 16px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #327e2a;
	transition: background 300ms linear;
}

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

/* secondlevel + thirdlevel over */

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 {
	background: #165910;
}

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

/* ----------------------------------------- button design -------------------------------------- */

.buttonStyle a {
	display: inline-block;
	background: #165910;
	border-radius: 4px;
	color: #ffffff;
	font-size: 1rem;
	text-transform: uppercase;
	padding: 8px 50px;
	font-weight: 400;
	text-decoration: none;
	transition: background 300ms linear, color 300ms linear, border 300ms linear;
	border: 2px solid #165910;
}

.buttonImg a {
   padding: 5px 7px;
   align-content: center;
}

.buttonImg a img  {
   line-height: 0;
   vertical-align: middle;
}

@media (min-width: 768px) {
	.buttonStyle a + a {
		margin-left: 12px;
	}
}

.buttonStyle a:is(:hover, :focus) {
	color: #262626;
	background: #fff;
	border-color: #165910;
}

.buttonImg a:is(:hover, :focus)  {
   background: #262626;
}

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

#bannerTab {
	padding: clamp(60px, 8vw, 120px) 0;
	font-size: clamp(1.125rem, 2vw, 1.25rem);
}

@media (min-width: 992px) {
	#bannerTab {
		background-image: url(../img/banner-logo-katja-ella-v2.png);
		background-repeat: no-repeat;
		background-position: center left calc((100vw - 992px) / 2);
		background-size: 20%;
	}
}

@media (min-width: 1200px) {
	#bannerTab {
		background-position: center left calc((100vw - 1200px) / 2 + 60px);
		background-size: auto;
	}
}

#bannerTab .tabHeadline {
	font-size: clamp(1.5625rem, 3vw, 3.375rem);
	margin: 0;
	padding-bottom: 15px;
}

@media (min-width: 992px) {
	#bannerTab .tabHeadline {
		padding-right: 180px;
	}
}

#bannerTab hr {
	background: #165910;
	height: 2px;
	opacity: 1;
	border: none;
	margin: 20px 0;
}

@media (min-width: 992px) {
	#bannerTab .tabContent {
		padding-left: 50px;
		background: url(../img/quality-v2.png);
		background-repeat: no-repeat;
		background-position: left center;
		min-height: 50px;
	}
}

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

#contentBox {
	text-align: left;
	padding-block: clamp(30px, 5vw, 40px);
}

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

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

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

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

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

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

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

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

/* ------------------------------------------------ @14tab ----------------------------------------------- */

#tab14 {
	color: #262626;
	padding-top: 60px;
}

@media (max-width: 575px) {
	#tab14 {
		padding-top: 30px;
		padding-bottom: 30px;
	}
}

#tab14 .tab {
	font-size: 1.125rem;
	position: relative;
	min-height: 100%;
	padding: 20px;
	background-color: #ccebc9;
	transition: border-radius 400ms ease-in-out, margin 400ms ease-in-out, padding 400ms ease-in-out, background 400ms ease-in-out, min-height 400ms ease-in-out;
}

#tab14 .tab:hover,
#tab14 .tab:focus {
	background-color: #a3dc9e;
}

@media (min-width: 768px) {
	#tab14 > .row > *:nth-of-type(1) > .tab {
		border-top-left-radius: 30px;
		border-bottom-left-radius: 30px;
	}

	#tab14 > .row > *:nth-last-of-type(1) > .tab {
		border-top-right-radius: 30px;
		border-bottom-right-radius: 30px;
	}

	#tab14 .tab:hover,
	#tab14 .tab:focus {
		border-radius: 30px 30px 0 0;
		min-height: calc(100% + 55px);
		margin-top: -55px;
		padding-top: 30px;
	}
}

@media (min-width: 1200px) {
	#tab14 .tab {
		padding: 20px 45px 45px 45px;
	}
}

#tab14 .tabHeadline {
	font-size: 1.625rem;
	hyphens: none;
}

#tab14 .tab a {
	color: #262626;
}

#tab14 > .row > * {
	padding: 0px;
}

@media (max-width: 767px) {
	#tab14 {
		margin: 15px;
	}

	#tab14 > .row {
		border-radius: 30px;
		overflow: hidden;
	}
}

#tab14 .tabHeadline::before {
	content: "";
	pointer-events: none;
	display: block;
	width: 75px;
	height: 60px;
	margin: auto;
	margin-bottom: 10px;
	background-position: center !important;
	background-repeat: no-repeat !important;
   background-size: contain;
}

#tab14 .tab1 .tabHeadline::before {
	background-image: url(../img/icon-haus.png);
}

#tab14 .tab2 .tabHeadline::before {
	background-image: url(../img/icon-helfen.png);
}

#tab14 .tab3 .tabHeadline::before {
	background-image: url(../img/icon-distanz.png);
}

#tab14 .tab4 .tabHeadline::before {
	background-image: url(../img/icon-hund.png);
}

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

footer {
	background: #57be4b;
	padding: 40px 0;
	color: #262626;
	font-size: 1.125rem;
}

footer > .row {
	row-gap: 30px;
}

@media (min-width: 1199px) {
	footer > .row > div:nth-child(2) {
		padding: 0 30px;
	}
}

footer a,
footer a:is(:hover, :focus) {
	color: #262626;
}

footer :is(iframe, .iframe-wrapper-manual-enabling) {
	width: 100% !important;
	min-width: 100% !important;
}

.footerTab a {
	text-decoration: underline;
	border-radius: 4px;
	padding: 2px;
}

.footerTab a:is(:hover, :focus) {
	background-color: rgba(0, 0, 0, 0.2);
}

.footerTab :is(h1, h2, h3, h4, h5, h6) {
	font-size: 1.625rem;
}

#innerfooter ul {
	padding: 0;
	border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

#innerfooter li {
	border-top: 2px solid rgba(0, 0, 0, 0.1);
}

#innerfooter a {
	text-decoration: none;
	font-weight: 500;
	position: relative;
	display: inline-block;
	padding: 6px 10px 6px 25px;
}

#innerfooter a::before {
	content: "";
	display: block;
	position: absolute;
	left: 10px;
	top: 16px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.2);
	transition: background 300ms linear;
}

#innerfooter a:is(:hover, :focus)::before {
	background: #ffffff;
}

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

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

#vernetzt {
	gap: 18px;
	font-size: 0.8125rem;
	color: #262626;
	line-height: 1.3;
	font-weight: 400;
	text-decoration: none;
	flex-direction: column;
}

#vernetzt span span {
	display: block;
}

#vernetzt img {
	display: block;
}

@media (min-width: 992px) {
	#vernetzt img {
		margin-left: auto;
	}
}
