@import url("https://fonts.verwaltungsportal.de/import/?family=Jost:300,400,500,600,300i,400i,500i,600i");

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

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

a {
	color: #007aa3;
}

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

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

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

b,
strong {
	font-weight: 600;
}

:focus-visible {
	outline: 3px solid #007aa3 !important;
}

#overflow {
   overflow: hidden;
}

/* #region --------------------- topbar + contrast + styler + kontaktBtn ------------------------ */

#topbar {
	font-size: 0.875rem;
	background: #bd121f;
	overflow: hidden;
	color: #fff;
}

#topbar h2 {
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
	margin: 0 15px 0 0;
	width: unset;
}

#topbar > .row > div > *:not(h2, address) {
	margin-right: clamp(15px, 2vw, 30px);
}

#contrast_style,
#style {
	background-color: rgba(255, 255, 255, 0.2);
}

:is(#contrast_style, #style) button {
	border: none;
	display: inline-block;
	background: transparent;
	min-height: 24px;
}

:is(#contrast_style, #style) button:is(:hover, :focus) {
	background: rgba(255, 255, 255, 0.8);
	color: #222222;
}

/* contrast */

#contrast_style {
	line-height: 0;
	padding: 5px 15px;
}

#contrast_style button {
	min-width: 24px;
	position: relative;
	padding: 5px;
}

#contrast_style button:nth-child(2) {
	transform: scale(-1);
}

#contrast_style button::after {
	content: "";
	width: 12px;
	height: 12px;
	border: 2px solid #fff;
	display: block;
	position: absolute;
	top: calc(50% - 8px);
	left: calc(50% - 8px);
}

#contrast_style button:after {
	background: linear-gradient(45deg, #fff, #fff 50%, #bd121f 50%);
}

#contrast_style button:nth-child(3):after {
	background: #fff;
}

/* style */

@media (min-width: 992px) {
	#style {
		padding: 5px 10px;
	}

	#style button {
		min-width: 30px;
		padding: 4px;
		color: inherit;
		text-align: center;
		line-height: 1;
	}
}

.kontaktBtn {
	background: #fff;
	color: #222222;
	font-weight: 500;
	line-height: 1.2;
	min-height: 34px;
	max-width: 50%;
}

@media (min-width: 992px) {
	.kontaktBtn {
		margin-left: 10px;
		max-width: 40%;
	}
}

.kontaktBtn a {
	color: #bd121f;
	padding: 8px 60px;
	display: inline-block;
}

.kontaktBtn a:is(:hover, :focus) {
	color: #222222;
	text-decoration: underline;
}

/* #endregion ------------------ topbar + contrast + styler + kontaktBtn ------------------------ */

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

#logo {
	display: inline-block;
}

#logo img {
	display: block;
}

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

@media (min-width: 1200px) {
	.is-sticky #logo img {
		max-height: 80px;
	}
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
	.sticky-wrapper {
		height: unset !important;
	}

	nav.horizontally {
		position: static !important;
		padding-top: 15px;
	}

	#burgerButton {
		font-size: 0;
		border: none !important;
		display: block;
		height: 50px;
		width: 60px;
		border-radius: 2px;
		padding: 6px 8px;
		cursor: pointer;
		background-color: #bd121f;
	}

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

	.navbar-collapse {
		width: calc(100% - 90px);
		max-width: 300px;
		top: 0;
		background: #fff center bottom 20px / auto 100px no-repeat;
		padding-bottom: 140px;
		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 {
		background-color: #bd121f;
      color: #fff;
	}

	.dropdown-toggle-button-wrapper {
		top: 5px;
	}

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

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally {
		background: #ffffff;
		padding-top: 30px;
		padding-bottom: 15px;
		border-bottom: 4px solid #0099cc;
	}

	.is-sticky .horizontally {
		padding-top: 15px;
	}

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

	nav.horizontally .navbar-nav li[class*="toplevel"] > ul {
		display: flex !important;
		flex-wrap: wrap;
		column-gap: 35px;
		pointer-events: none;
		position: absolute;
		opacity: 0;
		top: 100%;
		left: -34.4%;
		right: 0;
		z-index: 1000;
		padding: clamp(30px, 4vw, 60px) clamp(20px, 3vw, 47px);
		margin-top: 60px;
		visibility: hidden;
		transition: opacity 300ms linear;
	}

	nav.horizontally .navbar-nav > li:is(.open, :hover) > ul,
	nav.horizontally .navbar-nav > li.open:focus-within > ul {
		pointer-events: auto !important;
		opacity: 1 !important;
		visibility: visible;
		top: 100%;
	}

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

	nav.horizontally li[class*="secondlevel"] {
		margin-bottom: 20px;
		width: 31%;
		border-bottom: 2px solid rgba(41, 35, 0, 0.2);
	}

	nav.horizontally [class*="secondlevel"] > ul {
		display: block !important;
	}
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
	color: #222222;
	font-weight: 500;
	text-align: left;
	padding: 10px 15px;
	position: relative;
	font-size: 1.1875rem;
	line-height: 1.2;
	text-decoration: none;
	position: relative;
}

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

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

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

	nav.horizontally li[class*="toplevel"] + li {
		margin-left: 15px;
	}

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

	nav.horizontally a:is([class*="toplevel"], [class*="secondlevel"])[data-toggle="dropdown"]::after {
		content: "";
		position: absolute;
		display: block;
		right: 2px;
		top: 50%;
		margin-top: -2px;
		width: 6px;
		height: 6px;
		border-radius: 1px;
		display: inline-block;
		border-left: 2px solid #0000004d;
		border-bottom: 2px solid #0000004d;
		transform: rotate(-45deg);
		transition: border 300ms linear;
	}
}

/* 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: #bd121f;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] > ul {
	background-color: rgba(255, 255, 255, 0.93);
}

@media (max-width: 991px) {
	nav.horizontally [class*="toplevel"] > ul {
		padding: 10px 0;
		box-shadow: inset -1px 0px 5px 0 rgba(0, 0, 0, 0.2);
	}
}

@media (min-width: 992px) {
	nav.horizontally [class*="toplevel"] > ul {
		box-shadow: 0 15px 50px 0 rgba(66, 58, 1, 0.2);
	}

	nav.horizontally [class*="toplevel"] > ul::before {
		content: "";
		position: absolute;
		display: block;
		height: 80px;
		left: 0;
		right: 0;
		top: -70px;
	}
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	color: #222222;
	text-align: center;
	position: relative;
	width: 100%;
	line-height: 1.2;
	text-decoration: none;
}

nav.horizontally a[class*="secondlevel"] {
	font-weight: 500;
	padding: 0 20px 0 0;
	margin-bottom: 10px;
	font-size: 1.125rem;
}

nav.horizontally a[class*="thirdlevel"] {
	font-weight: 400;
	padding: 5px 0;
	font-size: 1rem;
}

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

	nav.horizontally a[class*="thirdlevel"] {
		padding: 8px 30px;
	}
}

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

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

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

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

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

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

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

	body.index #headerpic .nivo-controlNav {
		bottom: 100px !important;
	}
}

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

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

.slider-mask {
	display: block;
	background: linear-gradient(to top, #fff, rgba(255, 255, 255, 0) 40%);
}

/* -------------------------------------------- welcome ----------------------------------------- */

#welcome {
	background: #fff;
	padding: 30px 0 0 0;
}

@media (min-width: 992px) {
	body.index #welcome {
		padding-top: 0;
	}
}

/* ------------------------------------------ bannerOverlay ------------------------------------- */

#bannerOverlay {
	z-index: 12;
	position: relative;
	font-size: clamp(26px, 5vw, 50px);
	line-height: 1.2;
	font-weight: 300;
	color: #bd121f;
}

@media (min-width: 992px) {
	#bannerOverlay {
		margin-top: -90px;
	}
}

#bannerOverlay :is(b, strong) {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 600;
}

/* #region ----------------------------------- search ------------------------------------------- */

#searchbar {
	margin-top: clamp(30px, 6vw, 70px);
	padding-bottom: 100px;
}

#searchbar::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: -20px;
   transform: translateX(-100%);
   background: url(../img/silouette-deko-links.png);
   width: 17.1875vw;
   height: 20.3646vw;
   max-width: 330px;
   max-height: 150%;
   background-position: bottom left;
   background-repeat: no-repeat;
   background-size: contain;
}

@media (max-width: 991px) {
	#searchbar {
		margin-bottom: 30px;
	}
}

#searchbar .tabHeadline {
	font-size: 1.625rem;
	font-weight: 500;
	margin-bottom: 0;
	color: #bd121f;
}

#search {
	background: #ffffff;
	display: inline-flex;
	width: 100%;
	position: relative;
	border: 1px solid #282828;
}

@media (max-width: 575px) {
	#search {
		margin-top: 20px;
	}
}

#search::before {
	content: "";
	position: absolute;
	right: 60px;
	top: 9px;
	bottom: 9px;
	width: 2px;
	background: rgba(41, 35, 0, 0.2);
}

#search_input {
	color: inherit;
	font-size: clamp(1rem, 2vw, 1.375rem);
	font-style: normal;
	background: transparent;
	padding: 13px clamp(15px, 2vw, 22px);
	border: 0;
	width: 100%;
}

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

#search_submit:is(:hover, :focus) {
	background-color: #e5f5fa;
}

#search_input::placeholder {
	color: inherit !important;
	opacity: 0.8 !important;
	font-style: italic !important;
}

/* #endregion -------------------------------- search ------------------------------------------- */

/* ----------------------------------------- scroll bottom -------------------------------------- */

#scrollBottom {
	position: relative;
	margin: 35px auto clamp(35px, 6vw, 70px) auto;
	width: 40px;
	height: 38px;
	display: block;
	font-size: 0;
	color: inherit;
	animation: bounceAni 2s infinite 2s;
}

#scrollBottom:is(:hover, :focus) {
	animation-play-state: paused;
}

#scrollBottom::after {
	content: "";
	width: 25px;
	height: 25px;
	display: inline-block;
	border-left: 5px solid #bd121f;
	border-bottom: 5px solid #bd121f;
	transform: rotate(-45deg);
	transition: border 200ms linear;
}

#scrollBottom:is(:hover, :focus)::after {
	border-color: #222222;
}

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

	40% {
		transform: translateY(-10px);
	}

	60% {
		transform: translateY(-5px);
	}
}

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

#content {
	text-align: left;
	padding-bottom: clamp(40px, 7vw, 95px);
	padding-top: clamp(40px, 4vw, 65px);
}

#content>.row::after {
   content: '';
   position: absolute;
   bottom: clamp(-95px, -7vw, -40px);
   right: -30px;
   transform: translateX(100%);
   background: url(../img/silouette-deko-rechts.png);
   width: 17.1875vw;
   height: 20.3646vw;
   max-width: 330px;
   max-height: 150%;
   background-position: bottom right;
   background-repeat: no-repeat;
   background-size: contain;
}

/* #region ----------------------------- tabSpecialHeadline ------------------------------------- */

.tabSpecialHeadline {
	font-size: 1rem;
}

.tabSpecialHeadline :is(h1, h2, h3, h4, h5, h6) {
	text-transform: none;
	font-weight: 600;
	position: relative;
	margin: 0;
}

.tabSpecialHeadline :is(h1, h2, h3, h4, h5, h6)::after {
	content: "";
	display: block;
	width: 100px;
	height: 8px;
	background: #bd121f;
}

.tabSpecialHeadline :is(i, em) {
	text-transform: uppercase;
	font-style: normal;
   color: #bd121f;
}

#news .tabSpecialHeadline :is(i, em) {
   color: #fff;
}

.tabSpecialButton a {
	background: #bd121f;
	font-size: 1rem;
	font-weight: 500;
	color: #ffffff;
	text-decoration: none;
	padding: 16px 70px 16px 20px;
	display: inline-block;
	width: 100%;
	position: relative;
	margin-top: 10px;
	line-height: 1.2;
	text-align: center;
	border: 1px solid #fff;
   transition: background 300ms;
   font-style: normal;
}

@media (min-width: 768px) {
	.tabSpecialButton a {
		max-width: 270px;
	}
}

.tabSpecialButton a::before {
	content: "\00BB";
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 50px;
	line-height: 45px;
	font-size: 30px;
	display: block;
	background-color: #bd121f;
	border-left: 1px solid #fff;
	transition: background-color 300ms linear;
}

.tabSpecialButton a:is(:hover, :focus) {
	background: #222222;
}

.tabSpecialButton a:is(:hover, :focus)::before {
	background: #222222;
}

.tabSpecialButton .btgrid > .row {
	align-items: center;
}

/* #endregion -------------------------- tabSpecialHeadline ------------------------------------- */

/* #region ------------------------------------ news -------------------------------------------- */

#news {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	padding: clamp(40px, 6vw, 70px) 0;
	border-top: 5px solid #0099cc;
}

#news .tabSpecialHeadline :is(h1, h2, h3, h4, h5, h6)::after {
	content: "";
	background: #fff;
}

#news .tabSpecialHeadline :is(h1, h2, h3, h4, h5, h6),
#news .tabSpecialHeadline {
	color: #fff;
}

#news .tab_link_entries {
	display: grid;
	gap: 30px;
	margin-top: clamp(30px, 4vw, 60px);
}

@media (min-width: 576px) {
	#news .tab_link_entries {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 992px) {
	#news .tab_link_entries {
		grid-template-columns: repeat(4, 1fr);
	}
}

#news .tab_link_entry {
	font-size: 1rem;
	position: relative;
	box-shadow: 0 60px 30px -30px rgba(66, 58, 1, 0.2);
	background: #ffffff;
	padding: 230px 20px 70px 20px;
	border: none !important;
}

#news .tab_link_entry .tab_link_title a::before,
#news .tab_link_entry .tab_preview_picture {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	right: 0;
	height: 150px;
	overflow: hidden;
}

#news .tab_link_entry .tab_link_title a::before {
	content: "";
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-bottom: 5px solid #bd121f;
}

#news .tab_preview_picture img {
	margin: 0 !important;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#news .tab_link_title a {
	font-weight: 500;
	font-size: 1.25rem;
	display: block;
	color: #bd121f;
	margin-bottom: 20px;
	line-height: 1.2;
}

#news .tab_date {
	font-size: 0.875rem;
	font-style: italic;
}

#news .tab_link_mehr {
	font-size: 0;
}

#news .tab_link_mehr a {
	display: inline-block;
	position: absolute;
	text-decoration: none;
	bottom: 20px;
	left: 20px;
	font-size: 0.875rem;
	color: inherit;
	padding: 7px 26px;
	background-color: #ffffff;
	border: 2px solid #bd121f;
	margin-top: 25px;
	transition: all 200ms linear;
}

#news .tab_link_mehr :is(a:hover, :focus) {
	border-color: #007aa3;
	color: #007aa3;
}

#news .tab_spacer {
	height: 5px;
}

/* #endregion --------------------------------- news -------------------------------------------- */

/* #region ----------------------------------- events ------------------------------------------- */

#events {
	padding: clamp(40px, 6vw, 70px) 0 clamp(40px, 7vw, 90px) 0;
}

#events .tab_link_entries {
	display: grid;
	gap: 30px;
	margin-top: clamp(30px, 4vw, 60px);
}

@media (min-width: 576px) {
	#events .tab_link_entries {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 992px) {
	#events .tab_link_entries {
		grid-template-columns: repeat(3, 1fr);
	}
}

#events .tab_link_entries a {
	color: inherit;
}

#events .tab_link_title a {
	font-weight: 500;
	font-size: 1.25rem;
	line-height: 1.2;
}

#events .tab_link_entry:not(:last-of-type) {
	padding-bottom: 25px;
	border-bottom: 2px solid rgba(41, 35, 0, 0.2);
}

@media (min-width: 576px) {
	#events .tab_link_entry:nth-last-of-type(2) {
		padding-bottom: 0;
		border-bottom: 0;
	}
}

@media (min-width: 992px) {
	#events .tab_link_entry:nth-last-of-type(3) {
		padding-bottom: 0;
		border-bottom: 0;
	}
}

#events :is(.tab_link_mehr, .tab_spacer) {
	display: none !important;
}

/* #endregion -------------------------------- events ------------------------------------------- */

/* #region ----------------------------------- Mitglied ------------------------------------------ */

#mitglied {
	border-top: 5px solid #0099cc;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	padding: clamp(40px, 6vw, 70px) 0 clamp(40px, 7vw, 90px) 0;
   color: #fff;
}

#mitglied .tabHeadline {
   color: #fff;
}

/* #endregion -------------------------------- Mitglied ------------------------------------------ */

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

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

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

h2,
.h2,
.legacy_h2,
.tabSpecialHeadline :is(h1, h2, h3, h4, h5, h6) {
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

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

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

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

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

/* #region -------------------------------- footerwrapper --------------------------------------- */

.footerwrapper {
	background: #222222;
	border-top: 5px solid #0099cc;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	font-size: 1rem;
	position: relative;
   color: #fff;
}

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

.footerwrapper > .row:first-child {
	padding: 40px 0 5px 0;
}

@media (min-width: 992px) {
	.footerwrapper > .row:first-child > * {
		padding-top: clamp(30px, 5vw, 50px);
		padding-bottom: clamp(30px, 5vw, 50px);
	}

	.footerwrapper > .row:first-child > *+*::before {
		content: "";
		position: absolute;
		left: -100px;
		top: 0;
		bottom: 0;
		width: 2px;
		margin: auto;
		background-color: rgba(255, 255, 255, 0.2);
	}

	.footerwrapper > .row:first-child > *+*+*::before {
		left: 0;
	}
}

.footerwrapper > .row:last-child {
	padding: 35px 0;
}

.footerwrapper a {
	color: inherit;
}

.footerwrapper .tabHeadline {
	margin-bottom: 10px;
	font-size: 1.625rem;
	color: inherit;
}

.footerwrapper .theme .tabHeadline {
	font-size: clamp(1.625rem, 3vw, 2.875rem);
}

.footerwrapper .theme :is(b, strong) {
   font-size: 1.375rem;
   font-weight: 500;
}

.footerwrapper .tab2 {
	line-height: 1.8;
}

.footerwrapper .tab2 a {
	text-decoration: underline;
}

.footerwrapper .theme {
	line-height: 2.4;
}


#footerRight {
	display: flex;
	flex-wrap: wrap;
	gap: 30px 60px;
	align-content: space-between;
}
footer .tabSpecialButton a{
   font-size: 1.125rem;
}

/* #endregion ----------------------------- footerwrapper --------------------------------------- */

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

#vernetzt {
	gap: 18px;
	text-align: right;
	font-size: 0.8125rem;
	color: inherit;
	line-height: 1.3;
	font-weight: 400;
	text-decoration: none;
   font-style: normal;
}

#vernetzt span span {
	display: block;
}

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

#counter {
   padding: 0 0 30px 0;
   hyphens: auto;
}

#innerfooter {
	background: #bd121f;
	padding: 22px 0;
}

#innerfooter ul {
	padding: 0;
}

#innerfooter a {
	color: #ffffff;
	text-decoration: none;
	font-size: 0.875rem;
	padding: 5px;
	display: inline-block;
}

#innerfooter a:is(:hover, :focus) {
	color: #f4cc2b;
}

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

	#innerfooter li + li {
		margin-left: clamp(15px, 5vw, 50px);
	}
}

/* --------------------------------------------- contrast --------------------------------------- */

.contrast_dark :is(#language, #style, #contrast_style) {
	background-color: #ffffff !important;
}

#scrollBottom a.contrast_dark_font:is(:hover, :focus)::after {
	border-color: rgba(0, 0, 0, 0.5) !important;
}

#scrollBottom a.contrast_light_font:is(:hover, :focus)::after {
	border-color: rgba(255, 255, 255, 0.5) !important;
}

:is(.contrast_light_font, .contrast_dark_font) #news .tab_link_title a::before,
:is(.contrast_light_font, .contrast_dark_font) .tab_link_title a::after {
	display: none !important;
}

.contrast_dark_font #vernetzt img {
	background-color: #000000;
}

.contrast_light_font .tabSocial img,
.contrast_dark_font #bannerOverlay {
	background-color: #ffffff;
}

#logo .contrast_dark img {
	background: #fff;
}

.navbar-default .navbar-nav > li:is(.contrast_light_font, .contrast_dark_font) .dropdown-menu > li:first-child,
.navbar-default .navbar-nav > li:is(.contrast_light_font, .contrast_dark_font) .dropdown-menu > li:last-child {
	display: none !important;
}

.contrast_light_font #logo img {
	filter: brightness(0) saturate(100%) invert(99%) sepia(0%) saturate(22%) hue-rotate(111deg) brightness(105%) contrast(100%);
}

.contrast_dark_font #contrast_style button::after {
	border: 2px solid #000 !important;
}

.contrast_dark_font .tabSpecialButton a::before {
	color: #fff !important;
}
