@import url("https://fonts.verwaltungsportal.de/css/?family=Poppins:300,300i,500,500i,700,700i%7CPlayfair+Display:400,700");

html {
	max-width: 1930px;
	margin-left: auto;
	margin-right: auto;
	background: #f1f2f3;
	scroll-behavior: smooth;
	scroll-padding-top: 120px;
	scrollbar-color: #007a74 #ffffff;
	scrollbar-width: thin;
}

body {
	font-family: "Poppins", sans-serif;
	font-weight: 300;
	color: #333333;
	background: #ffffff;
	font-size: clamp(1rem, 2vw, 1.125rem);
	/* 1rem = 16px */
	line-height: 1.5;
	box-shadow: 0 0 100px 0 rgba(0, 0, 0, 0.1);
}

a {
	color: #007a74;
}

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

main a,
b,
strong {
	font-weight: 500;
}

.linkUnderline a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: text-decoration 300ms;
	font-weight: 500;
}

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

#overflow {
	overflow: clip;
}

hr {
	height: 2px;
	opacity: 0.2;
	background: #092532;
}

/* #region --------------------------------------- logo ----------------------------------------- */

#logo {
	display: inline-block;
	background: #ffffff;
	padding: 10px 15px clamp(30px, 3.5vw, 50px) 15px;
	border-radius: 0 0 100px 100px;
	box-shadow: 0px 1px 6px 0px rgba(0, 0, 0, 0.2);
}

#logo img {
	display: block;
}

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

	#logo .row {
		margin-left: -15px;
		margin-right: -15px;
	}
}

@media (min-width: 992px) {
	#logo {
		transition: margin 300ms linear, padding 300ms linear;
      margin-bottom: -60px;
	}

	.is-sticky #logo {
		margin-bottom: -70px;
		padding-top: 14px;
		padding-bottom: 40px;
	}

	#logo img {
		max-height: 150px;
      transition: max-height 300ms;
	}

	.is-sticky #logo img {
		max-height: 90px;
	}
}

/* #endregion ----------------------------------- logo ------------------------------------------ */

/* --------------------------------------- navigation --------------------------------------- */

#menu {
	position: relative;
	z-index: 100;
   transition: background 300ms;
   padding-bottom: 15px;
}

.is-sticky #menu {
	background-color: #f1f2f3;
	-webkit-box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.15);
	box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.15);
}

/* burgermenu for tablet */

@media (max-width: 991px) {
	#burgerButton {
		font-size: 0;
		border: none !important;
		position: relative;
		z-index: 1002;
		display: block;
		width: 46px;
		height: 40px;
		border-radius: 2px;
		cursor: pointer;
		background-color: #ffffff;
		padding: 3px;
	}
	#burgerButton:before,
	#burgerButton:after,
	#burgerButtonInner {
		background-color: #007a74;
		color: #fff;
		border-radius: 2px;
		position: absolute;
		width: 40px;
		height: 3px;
		left: 2px;
		-webkit-transition: transform 200ms linear, opacity 200ms linear;
		-moz-transition: transform 200ms linear, opacity 200ms linear;
		-ms-transition: transform 200ms linear, opacity 200ms linear;
		-o-transition: transform 200ms linear, opacity 200ms linear;
		transition: transform 200ms linear, opacity 200ms linear;
	}
	#burgerButton[aria-expanded="true"] #burgerButtonInner {
		-webkit-transform: rotate(-45deg) translate(-6px, 6px);
		transform: rotate(-45deg) translate(-6px, 6px);
	}
	#burgerButton[aria-expanded="true"]:before {
		opacity: 0;
	}
	#burgerButton[aria-expanded="true"]:after {
		-webkit-transform: rotate(45deg) translate(-4px, -6px);
		transform: rotate(45deg) translate(-4px, -6px);
	}
	#burgerButtonInner {
		top: 10px;
	}
	#burgerButton:before {
		top: 18px;
	}
	#burgerButton:after {
		top: 26px;
	}
	#burgerButton:before,
	#burgerButton:after {
		content: "";
		display: block;
	}
	.navbar-nav {
		margin: 20px 0;
	}
	.navbar-collapse {
		top: 0;
		background: #ffffff;
		position: fixed;
		left: -100%;
		bottom: 0;
		z-index: 100;
		height: auto !important;
		-webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
		box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
		opacity: 0;
		pointer-events: none;
		overflow-y: auto;
		-webkit-transition: left 300ms linear, opacity 300ms linear;
		-moz-transition: left 300ms linear, opacity 300ms linear;
		-ms-transition: left 300ms linear, opacity 300ms linear;
		-o-transition: left 300ms linear, opacity 300ms linear;
		transition: left 300ms linear, opacity 300ms linear;
	}
	.navbar-collapse.collapse.in {
		left: 0;
		opacity: 1;
		pointer-events: auto;
	}
	.navbar-header {
		height: 50px;
		width: 60px;
		border-radius: 2px;
		padding: 6px 8px;
		background-color: #ffffff;
		position: fixed;
		top: 15px;
		right: 15px;
		z-index: 101;
		-webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
		box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
	}
	.navbar-collapse.in:after {
		content: "";
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: -1;
		display: block;
		width: 90px;
		background-color: rgba(0, 0, 0, 0.5);
	}

	nav.horizontally {
		position: relative !important;
	}
}

@media (min-width: 575px) and (max-width: 991px) {
	.navbar-collapse {
		width: 60%;
	}
	.navbar-collapse.collapse.in:after {
		width: 40%;
	}
}
/* menu desktop */

@media (min-width: 992px) {
	#menu {
		padding-top: 0;
		padding-bottom: 0;
		position: fixed;
		left: 0;
		right: 0;
		top: 0;
		z-index: 90;
	}
	nav.horizontally .navbar-nav {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: end !important;
		-ms-flex-pack: end !important;
		justify-content: flex-end !important;
		-webkit-box-align: center !important;
		-ms-flex-align: center !important;
		align-items: center !important;
		flex-wrap: wrap;
      flex-grow: 1;
	}
	nav.horizontally .navbar-nav > li {
		flex-grow: 1;
	}
	nav.horizontally .dropdown-menu {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 1000;
	}
	nav.horizontally .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
		position: absolute;
		left: 100%;
		top: 0;
	}
	nav.horizontally .navbar-nav > li,
	nav.horizontally .navbar-nav > li > .dropdown-menu > li {
		position: relative;
	}
	.navbar-default .navbar-nav li[class*="toplevel"] > ul,
	.navbar-default .navbar-nav li[class*="secondlevel"] > ul {
		display: block !important;
		pointer-events: none;
		opacity: 0;
		-webkit-transition: opacity 300ms linear;
		-moz-transition: opacity 300ms linear;
		-ms-transition: opacity 300ms linear;
		-o-transition: opacity 300ms linear;
		transition: opacity 300ms linear;
	}
	.navbar-default .open > .dropdown-menu,
	.navbar-default .navbar-nav li[class*="toplevel"]:hover > ul,
	.navbar-default .navbar-nav li[class*="secondlevel"]:hover > ul,
	.navbar-default .navbar-nav li[class*="secondlevel"] > ul[style*="block"] {
		pointer-events: auto !important;
		opacity: 1 !important;
	}
	.navbar-default .navbar-nav li[class*="toplevel"]:focus-within > ul,
	.navbar-default .navbar-nav li[class*="secondlevel"]:focus-within > ul {
		pointer-events: auto !important;
		opacity: 1 !important;
	}
	.navbar-default .nav .open > .dropdown-menu {
		pointer-events: none !important;
		opacity: 0 !important;
	}
	.navbar-default .navbar-nav li[class*="toplevel"]:hover > ul,
	.navbar-default .navbar-nav li[class*="secondlevel"]:hover > u {
		z-index: 1003;
	}
}

/* ---------------------------------------------- toplevel ---------------------------------------------- */

.navbar-default .navbar-nav > li > a {
	color: #333333;
	font-weight: 300;
	text-align: left;
	padding: 15px 35px 15px 15px;
	position: relative;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
   border-radius: 4px;
   isolation: isolate;
}

@media (max-width: 991px) {
	.navbar-default .navbar-nav > li {
		border-bottom: 1px solid rgba(76, 60, 60, 0.2);
	}
}

@media (min-width: 992px) {
	.navbar-default .navbar-nav > li > a {
		padding: 14px 5px 16px 5px;
		display: flex;
		align-content: center;
		align-items: center;
		justify-content: center;
		text-align: center;
		height: 100%;
	}
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) and (min-width: 992px) {
	.navbar-default .navbar-nav > li > a {
		display: block;
	}
}

.navbar-default .navbar-nav > li > a::after {
	content: "";
	position: absolute;
	display: block;
	width: 0;
	bottom: 0;
   height: 100%;
	left: 0;
	background: #092532;
	-webkit-transition: width 300ms linear;
	-moz-transition: width 300ms linear;
	-ms-transition: width 300ms linear;
	-o-transition: width 300ms linear;
	transition: width 300ms linear;
   border-radius: 4px;
   z-index: -1;
}

/* -------------------------------------------- toplevel-over ------------------------------------------- */

.navbar-nav > li:hover > a,
.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus,
.navbar-nav > li.open > a,
.navbar-nav > li.open > a:hover,
.navbar-nav > li.open > a:focus,
.navbar-nav > li[class$="_over"] > a,
.navbar-nav > li[class$="_over"] > a:hover,
.navbar-nav > li[class$="_over"] > a:focus {
	color: #fff;
   background: #092532;
}

.navbar-nav > li:focus-within > a {
	color: #fff;
   background: #092532;
}

.navbar-nav > li:hover > a::after,
.navbar-nav > li > a:hover::after,
.navbar-nav > li > a:focus::after,
.navbar-nav > li.open > a::after,
.navbar-nav > li.open > a:hover::after,
.navbar-nav > li.open > a:focus::after,
.navbar-nav > li[class$="_over"] > a::after,
.navbar-nav > li[class$="_over"] > a:hover::after,
.navbar-nav > li[class$="_over"] > a:focus::after {
	width: 100%;
}

.navbar-nav > li:focus-within > a::after {
	width: 100%;
}

/* -------------------------------------- secondlevel + thirdlevel dropdown-box -------------------------------------- */

.navbar-default .navbar-nav > li > .dropdown-menu,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
	background: #fff;
   box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2);
   border-radius: 8px;
}

@media (max-width: 991px) {
	.navbar-default .navbar-nav > li > .dropdown-menu {
		padding: 10px;
	}
}

@media (min-width: 992px) {
	.navbar-default .navbar-nav > li > .dropdown-menu,
	.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
		padding-top: 20px;
		padding-bottom: 20px;
	}
	.navbar-default .navbar-nav > li > .dropdown-menu {
		left: 50%;
		-moz-transform: translate(-50%, 0);
		-webkit-transform: translate(-50%, 0);
		-o-transform: translate(-50%, 0);
		-ms-transform: translate(-50%, 0);
		transform: translate(-50%, 0);
      margin-top: 18px;
	}
	.navbar-default .navbar-nav > li > .dropdown-menu::after {
		content: "";
		display: block;
		position: absolute;
		left: 50%;
		top: -20px;
		margin-left: -20px;
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 20px 20px 0 20px;
		border-color: #ffffff transparent transparent transparent;
		-webkit-transition: top 150ms linear;
		-moz-transition: top 150ms linear;
		-ms-transition: top 150ms linear;
		-o-transition: top 150ms linear;
		transition: top 150ms linear;
	}
	.navbar-default .navbar-nav > li:hover > .dropdown-menu::after {
		top: 0;
	}
	.navbar-default .navbar-nav > li > .dropdown-menu::before {
		content: "";
		position: absolute;
		display: block;
		height: 18px;
		left: 0;
		right: 0;
		top: -18px;
	}
	.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
		margin-top: -20px;
		margin-left: 10px;
	}
	.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu::before {
		content: "";
		position: absolute;
		display: block;
		width: 10px;
		top: 0;
		bottom: 0;
		left: -10px;
	}
}

/* --------------------------------------------- secondlevel + thirdlevel -------------------------------------------- */

.navbar-default .navbar-nav > li > .dropdown-menu > li > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
	color: #333333;
	font-weight: 300;
	text-align: left;
	padding: 8px 25px;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
   position: relative;
}

@media (min-width: 992px) {
	.navbar-default .navbar-nav > li > .dropdown-menu > li > a,
	.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
		text-align: center;
      padding: 8px 50px;
	}
.navbar-default .navbar-nav > li > .dropdown-menu > li > a::before,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a::before {
   content: '';
   position: absolute;
   left: 15px;
   top: 50%;
   transform: translateY(-40%) scale(.25) rotate(-45deg);
   background: url(../img/aktiv.png);
   width: 31px;
   height: 35px;
   opacity: 0;
   transition: 300ms ease-in-out;
   transition-property: transform, opacity;
   transform-origin: bottom right;
}
}

/* ------------------------------------------ secondlevel + thirdlevel over ------------------------------------------ */

.navbar-nav > li > .dropdown-menu > li:hover > a::before,
.navbar-nav > li > .dropdown-menu > li > a:hover::before,
.navbar-nav > li > .dropdown-menu > li > a:focus::before,
.navbar-nav > li > .dropdown-menu > li.open > a::before,
.navbar-nav > li > .dropdown-menu > li.open > a:hover::before,
.navbar-nav > li > .dropdown-menu > li.open > a:focus::before,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a::before,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a:hover::before,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a:focus::before,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:hover::before,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:focus::before,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a::before,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:hover::before,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:focus::before,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a::before,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a:hover::before,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a:focus::before {
   opacity: 1;
   transform: translateY(-60%) scale(1) rotate(0);
}

.navbar-nav > li > .dropdown-menu > li:focus-within > a::before,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li:focus-within > a::before {
   opacity: 1;
   transform: translateY(-60%) scale(1) rotate(0);
}
.navbar-nav > li > .dropdown-menu > li:hover > a,
.navbar-nav > li > .dropdown-menu > li > a:hover,
.navbar-nav > li > .dropdown-menu > li > a:focus,
.navbar-nav > li > .dropdown-menu > li.open > a,
.navbar-nav > li > .dropdown-menu > li.open > a:hover,
.navbar-nav > li > .dropdown-menu > li.open > a:focus,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a:focus,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:hover,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:focus,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:hover,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:focus,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a:focus {
   color: #007a74;
}

.navbar-nav > li > .dropdown-menu > li:focus-within > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li:focus-within > a {
   color: #007a74;
}

/* ------------------------------------------ Logo ------------------------------------------ */

@media (min-width: 992px) {
   .navbar-collapse {
      display: flex;
      flex-direction: row;
      align-items: center;
   }
}

@media (max-width: 991px) {
   #search {
      margin-left: 15px;
   }
}

#search {
   height: 33px;
   display: inline-block;
   position: relative;
   width: 33px;
   flex-grow: 0;
}
#search_submit {
   width: 33px;
   background: url('../img/suche-icon.png') center no-repeat;
   padding: 0;
   cursor: pointer;
   line-height: 33px;
   border: none;
   position: absolute;
   top: 0;
   right: 0;
   height: 100%;
   font-size: 0;
   -webkit-transition: background-color 300ms linear;
   -moz-transition: background-color 300ms linear;
   -ms-transition: background-color 300ms linear;
   -o-transition: background-color 300ms linear;
   transition: background-color 300ms linear;
}
#search_submit:hover{
   background-color: #fff;
}

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

:is(#headerpic) .row {
	row-gap: 30px;
}

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

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

header {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='1921px' height='741px'%3E%3Cpath fill-rule='evenodd' opacity='1' fill='rgb(241, 242, 243)' d='M0.001,0.000 L1920.999,0.000 L1920.999,420.1000 C1601.038,420.1000 1281.077,740.1000 961.116,740.1000 C640.744,740.1000 320.373,420.1000 0.001,420.1000 C0.001,140.1000 0.001,280.000 0.001,0.000 Z'/%3E%3Cpath fill-rule='evenodd' opacity='.1' fill='rgb(100, 215, 208)' d='M1920.000,679.008 C1849.689,714.086 1770.385,733.823 1686.469,733.823 C1397.177,733.823 1162.660,499.306 1162.660,210.014 C1162.660,135.327 1178.292,64.292 1206.461,-0.000 L1920.000,-0.000 L1920.000,679.008 Z'/%3E%3C/svg%3E") center top / 100% auto no-repeat;
}

@media (min-width: 1200px) {
	body:not(.index) header {
		background-position-y: -270px;
	}
}

#headerpic {
	margin-top: 30px;
}

/* header text */

#header-text {
	padding-top: clamp(30px, 8vw, 45px);
	padding-bottom: clamp(30px, 8vw, 65px);
}

#header-text :is(b, strong) {
	font-size: clamp(1.125rem, 6vw, 1.5rem);
}

body:not(.index) #header-text p {
	display: none;
}

/* header button */

#header-button {
	padding: 10px;
	position: absolute;
	z-index: 31;
	top: -20px;
	right: 25px;
	background: #092532 url("../img/icon-logo-rsg.png") bottom center no-repeat;
	border-radius: 50%;
	font-size: 1rem;
	line-height: 1.2;
	min-width: 125px;
	max-width: 200px;
	min-height: 125px;
	max-height: 250px;
	overflow: hidden;
	transition: background 300ms linear, transform 300ms linear, color 300ms;
}

@media (min-width: 576px) and (max-width: 991px) {
	body:not(.index) #header-button {
		top: -40px;
	}
}

@media (min-width: 992px) {
	#header-button {
		top: 20px;
		right: 45px;
	}
}

.index #header-button {
	animation: bounceAni 2s infinite 2s;
}

#header-button:is(:hover, :focus-within) {
	background-color: #00c2b9;
	transform: scale(1.2);
	animation-play-state: paused;
   color: #092532;
}

@keyframes bounceAni {
	0%,
	100%,
	20%,
	50%,
	80% {
		transform: scale(1);
	}

	40% {
		transform: scale(1.2);
	}

	60% {
		transform: scale(1.1);
	}
}

#header-button,
#header-button :is(h1, h2, h3, h4, h5, h6, a) {
	color: #ffffff;
}

#header-button a,
#header-button :is(h1, h2, h3, h4, h5, h6) {
	font-size: clamp(1.125rem, 2vw, 1.5rem);
}

#header-button:is(:hover, :focus) a,
#header-button:is(:hover, :focus) :is(h1, h2, h3, h4, h5, h6, a) {
	color: #092532;
}

#header-button a {
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
	padding: 0 10px;
	display: block;
}

/* contact */

#contact-tab {
	position: relative;
	z-index: 30;
	background: #ffffff;
	box-shadow: 0 20px 40px 0 rgba(82, 71, 47, 0.2);
	padding: 20px 20px 20px 20px;
   border-radius: 4px;
}

@media (min-width: 576px) {
	#contact-tab {
		position: absolute;
		bottom: 65px;
		right: 0;
	}
}

@media (min-width: 992px) {
	#contact-tab {
		right: -15px;
	}
}

#contact-tab :is(h1, h2, h3, h4, h5, h6) {
	font-size: 1.625rem;
   color: #007a74;
}

#phone-tab,
#mail-tab {
	position: relative;
	padding: 9px 0 9px 60px;
	min-height: 45px;
}

:is(#phone-tab, #mail-tab)::before {
	content: "";
	display: block;
	position: absolute;
	left: 0;
	top: calc(50% - 22px);
	width: 45px;
	height: 45px;
	border-radius: 50%;
	background: #092532 center / 32px auto no-repeat;
}

#phone-tab {
	font-weight: 500;
	font-size: clamp(1.125rem, 6vw, 1.375rem);
}

#phone-tab::before {
	background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M38.55 22.75q-.5-5.75-4.525-9.775T24.3 8.55V7q3.15.15 5.95 1.45 2.8 1.3 4.9 3.425 2.1 2.125 3.4 4.925 1.3 2.8 1.5 5.95Zm-8.25 0q-.45-2.3-2.075-3.95-1.625-1.65-3.925-2.05V15.2q2.95.4 5 2.5t2.55 5.05Zm7.45 17q-5.05 0-10.325-2.725-5.275-2.725-9.575-7-4.3-4.275-7.025-9.525Q8.1 15.25 8.1 10.15q0-.9.6-1.525Q9.3 8 10.25 8h4.4q.85 0 1.475.525.625.525.775 1.375l1.05 4.45q.15.8-.025 1.425T17.25 16.8l-4.4 4.15q2.95 4.95 6.475 8.425Q22.85 32.85 27.6 35.45L31.9 31q.5-.55 1.075-.775.575-.225 1.275-.075L38 31q.9.15 1.4.8.5.65.5 1.55v4.25q0 .95-.6 1.55-.6.6-1.55.6ZM12.05 19.6l4.2-3.9q.15-.15.2-.425.05-.275 0-.525l-1-4.6q-.05-.3-.275-.45-.225-.15-.525-.15h-4.5q-.25 0-.4.15-.15.15-.15.4-.05 1.95.6 4.35.65 2.4 1.85 5.15Zm17 16.55q2.05 1.05 4.525 1.575 2.475.525 4.275.525.25 0 .4-.15.15-.15.15-.35v-4.5q0-.3-.15-.5t-.5-.25l-3.9-.8q-.25-.05-.425 0t-.325.2Zm-17-16.55Zm17 16.55Z' fill='%23fff'/%3E%3C/svg%3E");
}

#mail-tab::before {
	background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M24 42q-3.8 0-7.075-1.4-3.275-1.4-5.7-3.825Q8.8 34.35 7.4 31.075 6 27.8 6 24q0-3.8 1.4-7.075 1.4-3.275 3.825-5.7Q13.65 8.8 16.925 7.4 20.2 6 24 6q3.8 0 7.075 1.4 3.275 1.4 5.7 3.825 2.425 2.425 3.825 5.7Q42 20.2 42 24v1.85q0 2.5-1.7 4.175-1.7 1.675-4.2 1.675-2 0-3.4-1.025t-2-2.825q-1.1 1.75-2.65 2.8Q26.5 31.7 24 31.7q-3.2 0-5.45-2.25T16.3 24q0-3.25 2.25-5.475Q20.8 16.3 24 16.3t5.45 2.225Q31.7 20.75 31.7 24v1.85q0 1.75 1.275 3.025T36.1 30.15q1.8 0 3.075-1.275Q40.45 27.6 40.45 25.85V24q0-6.8-4.825-11.625T24 7.55q-6.8 0-11.625 4.825T7.55 24q0 6.8 4.825 11.625T24 40.45h10.3V42Zm0-11.85q2.55 0 4.35-1.8 1.8-1.8 1.8-4.35 0-2.6-1.8-4.375T24 17.85q-2.55 0-4.35 1.775-1.8 1.775-1.8 4.375 0 2.55 1.8 4.35 1.8 1.8 4.35 1.8Z' fill='%23fff'/%3E%3C/svg%3E");
}

#mail-tab a {
	color: inherit;
   font-weight: 300;
}

#phone-tab + #mail-tab {
	margin-top: 6px;
}

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

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

#slider {
	height: 100vw;
	max-height: 300px;
	position: relative;
}

body.index #slider {
	max-height: 688px;
}

@media (min-width: 992px) {
	#slider {
		max-height: 400px;
	}

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

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

#slider {
	animation: initBoxShadow 1s forwards;
}

@keyframes initBoxShadow {
	0% {
		box-shadow: 0 0 rgba(255, 255, 255, 0);
	}

	100% {
		box-shadow: -30px -30px rgba(0, 194, 185, 0.6);
	}
}

.slider-wrapper {
	position: relative;
	z-index: 1;
	height: auto !important;
}

@media (min-width: 576px) {
	.slider-wrapper {
		margin: 0 30px 30px 30px;
	}
}

@media (min-width: 992px) {
	.slider-wrapper {
		margin-left: 70px;
	}
}

.slider-wrapper::after {
	content: "";
	display: block;
	position: absolute;
	z-index: -1;
	top: 30px;
	left: 30px;
	right: 0;
	bottom: 0;
	border: 2px solid #00c2b9;
	animation: initBorderRight 1s forwards;
}

@keyframes initBorderRight {
	0% {
		right: 0;
		bottom: 0;
	}

	100% {
		right: -30px;
		bottom: -30px;
	}
}

#slider,
.slider-wrapper::after {
	border-radius: 300px 300px 4px 4px;
}

.slider-mask {
	display: none;
}

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

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

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

#content-area {
	text-align: left;
	padding: clamp(40px, 6vw, 60px) 0 clamp(40px, 10vw, 90px) 0;
}

/* #region -------------------------------------- service --------------------------------------- */

#service {
	position: relative;
	z-index: 1;
	padding-bottom: clamp(60px, 10vw, 100px);
}

#service .service-headline :is(h1, h2, h3, h4, h5, h6) {
	color: #092532;
}

.service-content {
	padding-left: 95px;
}

@media (max-width: 767px) {
	.service-content {
		margin-top: 60px;
	}
}

@media (min-width: 992px) {
	.service-content {
		padding-bottom: clamp(40px, 10vw, 90px);
	}
}

#service ul {
	margin: 0 0 0 -110px;
}

#service ul li {
	background: transparent;
	padding: clamp(20px, 2vw, 28px) clamp(20px, 2vw, 30px) clamp(20px, 2vw, 35px) 110px;
	transition: background 300ms linear, box-shadow 300ms linear;
}

#service ul li:is(:hover, :focus-within) {
	z-index: 2;
	background: #ffffff;
	box-shadow: 0 20px 40px 0 rgba(82, 71, 47, 0.2);
   border-radius: 4px;
}

#service ul li::before {
	content: "";
	position: absolute;
	top: 34px;
	left: 0;
	width: 110px;
	height: 48px;
	background: url("../img/icon-fitness.png") center no-repeat;
}

/* #endregion ----------------------------------- service --------------------------------------- */

/* #region -------------------------------- service + news banner ------------------------------- */

#service .banner {
	position: relative;
	z-index: 1;
	min-height: 400px;
	max-height: 800px;
	height: 100%;
}

@media (max-width: 767px) {
	#service .banner {
		max-width: 400px;
		margin-left: auto;
		margin-right: auto;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	#service .banner {
		margin-right: 40px;
	}
}

#service .banner::after,
#service .banner::before {
	content: "";
	display: block;
	position: absolute;
}

#service .banner::after {
	z-index: -1;
	top: 50%;
	border: 2px solid #007a74;
	bottom: -30px;
}

#service .banner::after {
	left: 30px;
	right: -30px;
}

#service .banner::before {
	z-index: 1;
	pointer-events: none;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	opacity: 0.5;
	transition: all 300ms linear;
}

#service .banner::before {
	background: #00c2b9;
}

#service .banner,
#service .banner img,
#service .banner::after,
#service .banner::before {
   border-radius: 4px;
	border-bottom-right-radius: 205px;
}

#service .banner:hover::before {
	opacity: 0;
	top: 50%;
	left: 50%;
	right: 50%;
	bottom: 50%;
}

#service .banner img {
	display: block;
	object-fit: cover;
	width: 100%;
	height: 100%;
}

/* #endregion ----------------------------- service + news banner ------------------------------- */

/* #region --------------------------------------- buttons -------------------------------------- */

.button-design a:not(.has-image) {
	display: inline-block;
	line-height: 1.2;
	color: #ffffff;
	font-size: 1rem;
	font-weight: 700;
	background: #007a74;
	padding: 15px clamp(24px, 3vw, 50px);
	position: relative;
	z-index: 1;
	text-decoration: none;
	overflow: hidden;
   border-radius: 4px;
}

.button-design a:not(.has-image):is(:hover, :focus) {
	background: #092532;
}

.button-design a:not(.has-image)::after {
	content: "";
	display: block;
	position: absolute;
	z-index: -1;
	left: 0;
	width: 0;
	top: 0;
	bottom: 0;
	background: #092532;
	transition: width 300ms linear;
}

.button-design.button-design-2 a:not(.has-image) {
	background: #092532;
}

.button-design.button-design-2 a:not(.has-image):is(:hover, :focus),
.button-design.button-design-2 a:not(.has-image)::after {
	background: #007a74;
}

.button-design a:not(.has-image):is(:hover, :focus)::after {
	width: 100%;
}

#header-text.button-design a:not(.has-image) {
	margin-top: clamp(1px, 2vw, 26px);
}

/* #endregion ------------------------------------ buttons -------------------------------------- */

/* #region ---------------------------------- h1 - h6, newslink --------------------------------- */

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
	color: #092532;
	font-weight: 700;
	line-height: 1.2;
	font-family: "Playfair Display", serif;
	margin-bottom: 15px;
}

#header-text :is(h1, h2, h3, h4, h5, h6) {
	margin-bottom: clamp(1.25rem, 4vw, 2.5rem);
}

:is(#header-text, .tab-headline) :is(h1, h2, h3, h4, h5, h6) {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.tab-headline :is(h1, h2, h3, h4, h5, h6) {
	color: #092532;
	margin: 0;
}

.tab-headline :is(h1, h2)::after {
	content: "";
	display: block;
	margin: 18px auto clamp(1.25rem, 8vw, 5rem) auto;
	height: 2px;
	width: 150px;
	background: #007a74;
}

#header-text :is(h1, h2, h3, h4, h5, h6) {
	font-weight: 700;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
}

#header-text :is(h1, h2, h3, h4, h5, h6) :is(b, strong) {
	color: #092532;
	font-weight: 700;
	font-style: normal;
	font-size: inherit;
}

h1,
.h1,
.legacy_h1,
.service-content :is(h1, h2, h3, h4, h5, h6) {
	font-size: clamp(2.125rem, 6vw, 2.5rem);
}

h1,
.h1,
.legacy_h1 {
	margin-bottom: clamp(.9375rem, 4vw, 2.5rem);
}

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

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

h4,
.h4,
.legacy_h4 {
	font-size: clamp(1.5625rem, 4.5vw, 1.75rem);
}

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

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

/* #endregion ---------------------------------- h1 - h6, newslink ------------------------------ */
/* ---------------------------------------------- footer ---------------------------------------------- */

footer {
	background-color: #092532;
	padding-top: 12px;
	padding-bottom: 12px;
}

@media (min-width: 768px) {
	footer .row {
		align-content: center;
		align-items: center;
	}
}

@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: #fff;
	text-decoration: none;
	display: inline-block;
	font-size: 1rem;
}

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

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

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

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

#vernetzt {
	text-align: right;
	font-size: 0.9375rem;
	color: #ffffff;
	line-height: 1.3;
	margin: 0 auto;
	text-decoration: none;
}

@media (min-width: 768px) {
	#vernetzt {
		margin: 0;
	}
}

#vernetzt span {
	color: #ffffff;
}

#vernetzt span span {
	display: block;
}

#vernetzt img {
	margin-left: 12px;
}
/* #region ------------------------------------ deco words -------------------------------------- */

@media (min-width: 992px) {
	#service::after {
		color: #092532;
		opacity: 0.1;
		position: absolute;
		z-index: -1;
		line-height: 0;
		font-family: "Playfair Display", serif;
		font-size: 300px;
		font-weight: 700;
		white-space: nowrap;
		display: block;
	}

	#service::after {
		content: "Reha";
		top: 165px;
		left: -30px;
	}
}

/* #endregion --------------------------------- deco words -------------------------------------- */
