@import url("https://fonts.verwaltungsportal.de/css/?family=Montserrat:400,400i,600,600i");
@import url("https://fonts.verwaltungsportal.de/css/?family=Allison:400");
@import url("https://fonts.verwaltungsportal.de/css/?family=Bad+Script:400");
@import url("https://fonts.verwaltungsportal.de/css/?family=Sour+Gummy:400,400i");

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

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

a {
	color: #1d6f7c;
}

#content a,
a:is(:hover, :focus) {
	color: #1d6f7c;
	text-decoration: underline;
}

b,
strong {
	font-weight: 600;
}

#topbar {
	padding: 10px 0;
	border-bottom: 2px solid #e8e8e8;
}

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

#topbar .slogan {
	font-family: "Sour Gummy", sans-serif;
	font-weight: 400;
	font-size: clamp(1.25rem, 3vw, 1.875rem);
	color: #145660;
	line-height: 1;
}

#topbar .slogan :is(h1, h2, h3, h4, h5, h6) {
	font-family: "Sour Gummy", sans-serif;
	font-weight: 400;
	font-size: clamp(1.25rem, 3vw, 1.875rem);
	margin: 0;
}

#overflow {
	overflow: hidden;
}

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

#logo {
	display: inline-block;
}

#logo img {
	display: block;
}

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

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

nav.horizontally {
	border-bottom: 6px solid #e8e8e8;
}

/* burgermenu for tablet */

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

	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		background-color: #1d6f7c;
		color: #fff;
		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: 7px;
	}

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

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally .navbar-nav {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
	}

	.is-sticky nav.horizontally {
		background: #fff;
	}

	nav.horizontally .navbar-nav ul {
		position: absolute;
		top: 100%;
		left: 50%;
		transform: translateX(-50%);
		z-index: 1000;
		display: block !important;
		pointer-events: none;
		opacity: 0;
		transition: opacity 300ms linear;
	}

	nav.horizontally .navbar-nav [class*="secondlevel"]>ul {
		left: 100%;
		top: 0;
		transform: none;
	}

	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 a[class*="toplevel"] {
	color: #555555;
	font-weight: 400;
	text-align: left;
	padding: 12px 15px 16px 15px;
	position: relative;
	font-size: 1.25rem;
	line-height: 1.2;
	text-decoration: none;
}

nav.horizontally a[class*="toplevel"]::after {
	content: "";
	position: absolute;
	width: 100%;
	height: 6px;
	bottom: 0px;
	transition: all 300ms ease;
	background: transparent;
	left: 0;
	margin: auto;
	right: 0;
}

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

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

	.navbar-default .navbar-nav>li>a::after {
		bottom: -6px;
	}
}

/* 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: #1d6f7c;
	background-color: transparent;
}

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

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	padding: 10px 0;
	background-color: #1d6f7c;
}

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

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

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

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

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

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

/* secondlevel + thirdlevel */

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

@media (min-width: 992px) {
	nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
		padding: 12px 30px;
	}
}

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

@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: #fff;
	background-color: #8d033d;
}

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

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

#slider {
	max-height: clamp(300px, 62vw, 500px);
	position: relative;
}

@media (min-width: 992px) {
	#slider {
		max-height: clamp(350px, 62vw, 650px);
	}

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

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

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

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

.slider-mask {
	display: none;
}

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

.buttonStyle a:not(:is([href*="mailto"], [href*="tel"])),
#tabs .tab_link_mehr a {
	color: #fff;
	background: #8d033d;
	font-size: 0.875rem;
	font-weight: 400;
	border-radius: 4px;
	padding: 8px 12px;
	text-decoration: none;
	display: inline-block;
	margin-top: 15px;
}

.buttonStyle a:not(:is([href*="mailto"], [href*="tel"])):is(:hover, :focus),
#tabs .tab_link_mehr a:is(:hover, :focus) {
	background: rgba(0, 0, 0, 0.3);
}

/* #region ------------------------------------- teaser ----------------------------------------- */

#teaser {
	background: #145660;
	color: #ffffff;
}

#teaser a:is([href*="mailto"], [href*="tel"]) {
	color: inherit;
	text-decoration: underline;
}

#teaser .tabHeadline {
	color: #ffffff;
	font-size: 2rem;
	font-weight: 400;
	margin-bottom: 15px;
}

#teaser>.row>* {
	padding: 25px 15px;
}

#teaser>.row>*:nth-child(2) {
	background: #1d6f7c;
}

#teaser>.row>*:nth-child(3) {
	background: #145660;
}

@media (min-width: 1200px) {
	#teaser>.row>*:nth-child(1) {
		background: url("../img/icon-stethoskop.png") top 50px left 50px no-repeat;
		padding: 50px 30px 40px 150px;
	}

	#teaser>.row>*:nth-child(2) {
		background: url("../img/frau.png") bottom left no-repeat #1d6f7c;
		padding: 50px 30px 40px 150px;
	}

	#teaser>.row>*:nth-child(3) {
		background: url("../img/grafik-frau-header.png") top 30px right 40px no-repeat #145660;
		padding: 50px 170px 40px 30px;
	}
}

/* #endregion ---------------------------------- teaser ----------------------------------------- */

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

main {
	text-align: left;
	padding-top: clamp(30px, 5vw, 70px);
	padding-bottom: clamp(40px, 6vw, 90px);
}

/* --------------------------------------------- tabs ------------------------------------------- */

#tabs {
	padding: clamp(35px, 5vw, 75px) 0;
}

@media (min-width: 992px) {
	#tabs {
		background: url(../img/grafik-frau.png);
		background-repeat: no-repeat;
		background-position: bottom left;
	}
}

#tabs>.row>div>.row {
	background: #1d6f7c;
	color: #ffffff;
	font-size: 1rem;
	max-width: 1170px;
}

#tabs>.row>div>.row>* {
	padding: 20px 15px;
}

@media (min-width: 1200px) {
	#tabs>.row>div>.row>* {
		padding: 60px 45px;
	}
}

#tabs>.row>div>.row::after {
	content: "";
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	height: 300px;
	width: 100%;
}

@media (min-width: 992px) {
	#tabs>.row>div>.row::after {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		width: 50%;
		height: auto;
	}
}

#tabs :is(h1, h2, h3, h4, h5, h6) {
	color: #ffffff;
	font-size: 2rem;
	margin-bottom: 0;
}

#tabs :is(h1, h2, h3, h4, h5, h6) :is(i, em) {
	color: #ffffff;
	font-size: 60%;
	margin-top: 5px;
	display: block;
	font-size: 1rem;
}

#tabs>.row>div>.row>* .template-page a:is([href*="mailto"], [href*="tel"]) {
	text-decoration: underline;
	color: #fff;
}

/* #region ---------------------------------- newsletterBox ------------------------------------- */

#newsletterBox {
	background: #1d6f7c center / cover no-repeat;
	position: relative;
	background-attachment: fixed;
}

#newsletterBox::before {
	content: "";
	position: absolute;
	right: 30px;
	left: 30px;
	bottom: 30px;
	top: 30px;
	background-color: rgba(29, 111, 124, 0.8);
	/* 
	background-blend-mode: multiply; */
	backdrop-filter: blur(10px);
}

@media (min-width: 768px) {
	#newsletterBox::before {
		right: 0;
		left: calc(50% + 15px);
		bottom: 0;
		top: 0;
	}
}

#newsletterBox .tab {
	padding: clamp(50px, 6vw, 85px) clamp(50px, 4vw, 60px) 50px clamp(50px, 4vw, 60px);
}

#newsletterBox .tab,
#newsletterBox .tab :is(h1, h2, h3, h4, h5, h6, a) {
	color: #ffffff;
}

#newsletterBox .tab :is(h1, h2, h3, h4, h5, h6) {
	color: #ffffff;
	font-size: 2rem;
}

#newsletterBox .tab a {
	text-decoration: underline;
}

#newsletterInputs {
	min-height: 50px;
	background: #ffffff;
	display: flex;
	position: relative;
	margin-top: clamp(30px, 2vw, 40px);
	border-radius: 4px;
}

#newsletter_input {
	color: #555555;
	font-size: 1rem;
	font-style: italic;
	background: transparent;
	padding: 8px 20px;
	border: 0;
	width: 100%;
}

#newsletter_submit {
	width: 70px;
	flex-shrink: 0;
	background: url("../img/newsletter-icon.png") center no-repeat;
	padding: 0;
	cursor: pointer;
	border: none;
	font-size: 0;
	transition: all 300ms linear;
}

#newsletter_submit:is(:hover, :focus) {
	transform: translate(-10px, 0);
}

#newsletter_input::placeholder {
	color: #555555 !important;
	opacity: 1 !important;
	font-style: italic !important;
}

/* #endregion ------------------------------- newsletterBox ------------------------------------- */

/* ------------------------------------------- tab1 ---------------------------------------- */

#tab1 {
	padding: clamp(35px, 6vw, 85px) 0;
	color: #fff;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	font-size: clamp(1.25rem, 2vw, 1.625rem);
	background-color: #145660;
	overflow: hidden;
}

@media (min-width: 992px) {
	#tab1>.row>div {
		position: relative;
	}

	#tab1>.row>div::before {
		content: "";
		position: absolute;
		pointer-events: none;
		display: block;
		background: url("../img/grafik-frau-footer.png") no-repeat;
		width: 212px;
		height: 276px;
		bottom: clamp(-85px, -6vw, -35px);
		right: -30px;
		transform: translateX(100%);
	}
}

#tab1 :is(h1, h2, h3, h4, h5, h6) {
	color: #fff;
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin-bottom: 10px;
}

#tab1 a {
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	margin-top: 30px;
}

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

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

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

h2,
.h2,
.legacy_h2 {
	font-size: clamp(2.125rem, 3vw, 2.5rem);
}

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

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

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

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

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

/* ------------------------------------------- footer ------------------------------------------- */

footer {
	padding: 32px 0;
	background: #ffffff;
	color: rgba(51, 67, 59, 0.8);
}

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

#innerfooter ul {
	padding: 0;
}

#innerfooter a {
	color: #555555;
	text-decoration: none;
	display: inline-block;
	font-size: 0.9375rem;
	border-radius: 2px;
	padding: 2px 4px;
}

#innerfooter ul a:is(:hover, :focus) {
	color: #8d033d;
}

@media (min-width: 576px) {
	#innerfooter ul li {
		display: inline-block;
	}

	#innerfooter ul li+li::before {
		content: "•";
		margin: 0 clamp(10px, 2vw, 20px);
		color: #555555;
	}
}

/* --------------------------------------------- B-Zaeler --------------------------------------- */

#B-Zaeler {
	border: 1px solid rgba(29, 111, 124, 0.5);
	line-height: 1;
	display: inline-block;
	padding: 10px 20px;
}

#B-Zaeler span {
	color: #145660;
	font-weight: 600;
	margin-right: 15px;
}

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

#vernetzt {
	gap: 10px;
	text-align: right;
	font-size: .8125rem;
	color: #555555;
	line-height: 1.4;
	font-weight: 400;
	text-decoration: none;
}

#vernetzt span span {
	display: block;
}

#vernetzt b {
	color: #8d033d;
}