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

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

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

a {
	color: #af0c00;
}

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

b,
strong {
	font-weight: 700;
}

/* ------------------------------------------- topbar ------------------------------------------- */

#topbar {
	background-color: #ffffff;
	color: #555555;
	font-weight: 400;
	padding-top: 20px;
	padding-bottom: 20px;
}

@media (max-width: 991px) {
	#topbar {
		row-gap: 15px;
	}
}

@media (min-width: 992px) {
	#topbar {
		padding-top: 12px;
		padding-bottom: 12px;
	}
}

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

#innerfooter {
	font-size: 0.875rem;
}

#innerfooter ul {
	padding: 0;
}

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

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

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

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

/* ------------------------------------------- topbar2 ------------------------------------------ */

#topbar2 {
	padding-top: 5px;
	position: relative;
	z-index: 1001;
}

@media (min-width: 992px) {
	#topbar2 {
		padding: 5px 0;
		border-top: 1px solid #e0e0e0;
	}

	#topbar2 > .row > *:last-child {
		margin-top: -10px;
	}
}

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

.logo {
	display: inline-block;
	padding: 5px 0;
}

.logo img {
	display: block;
}

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

/* ------------------------------------------------- suche ------------------------------------------------ */

@media (max-width: 991px) {
    #suche img {
        width: 20px;
        height: 20px;
        display: block;
    }
}

@media (max-width: 575px) {
    .elementCol {
        margin-top: 20px;
        box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.1);
        padding: 5px 15px;
    }
}

@media (min-width: 992px) {
    #suche {
        position: relative;
    }

    #suche:hover::after,
    #suche:focus::after {
        width: 45px;
        height: 45px;
    }

    #suche::after {
        content: '';
        width: 0;
        height: 0;
        display: inline-block;
        border-radius: 50%;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        pointer-events: none;
        transition: width 200ms linear, height 200ms linear;
        background: rgba(0, 0, 0, 0.05);
        z-index: -1;
    }
}


/* ------------------------------------------------- select ------------------------------------------------ */

#select {
    margin-left: clamp(10px, 2vw, 30px);
    font-size: 1rem;
}

@media (max-width: 991px) {
    #select div[class*="col"] {
        padding: 0px;
    }
}

#select summary {
    cursor: pointer;
    background: #10688e url("../img/kontakt-icon.png") center no-repeat;
    font-size: 0;
    list-style: none;
    border-radius: 4px;
    width: 60px;
    height: 60px;
    position: relative;
}

@media (max-width: 575px) {
    #select summary {
        background: #10688e url("../img/kontakt-icon.png") center no-repeat;
        border-radius: 4px;
        width: 30px;
        height: 30px;
        position: relative;
        background-size: 20px;
    }
}

#select summary::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 15px 15px 15px;
    border-color: transparent transparent #fff transparent;
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
}

@media (min-width: 578px) {
    #select summary::after {
        top: 65px;
    }
}

#select[open] summary::after {
    opacity: 1;
}

/* contact tab */

#contact-content {
    position: absolute;
    top: calc(100% + 20px);
    width: 100%;
    right: 15px;
    background: #fff;
    color: #282828;
    border-radius: 5px;
    padding: 20px;
    font-size: 1rem;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    transition: all 300ms linear;
}

@media (max-width: 991px) {
    #contact-content {
        left: 50%;
        transform: translate(-50%);
        right: unset;
        width: calc(100% - 20px);
    }
}

@media (min-width: 992px) {
    #contact-content {
        max-width: 290px;
    }
}

#contact-content {
    padding: 20px;
}

@media (min-width: 768px) {
    #contact-content>* {
        width: 50%;
        flex-grow: 1;
    }
}

:is(.contact-tab) :is(h1, h2, h3, h4, h5, h6) {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.contact-tab :is(h1, h2, h3, h4, h5, h6) {
    color: #0c5c82;
	border-bottom: 1px solid #0e668d;
	
}

.contact-tab a {
    text-decoration: underline;
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
	#menu-wrapper {
		margin-top: 70px;
	}

	#burgerButton {
		font-size: 0;
		border: none !important;
		display: block;
		height: 40px;
		width: 46px;
		border-radius: 2px;
		padding: 3px;
		cursor: pointer;
		background-color: #ffffff;
		position: absolute;
		z-index: 1002;
		right: 12px;
		top: 50%;
		margin-top: -20px;
	}

	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		background-color: #10688e;
		color: #fff;
		border-radius: 2px;
		position: absolute;
		width: 40px;
		height: 3px;
		left: 2px;
		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: 11px;
	}

	#burgerButton::before {
		top: 19px;
		content: "";
	}

	#burgerButton::after {
		top: 27px;
		content: "";
		display: block;
	}

	.navbar-nav {
		margin: 20px 0;
	}

	.navbar-collapse {
		width: calc(100% - 90px);
		max-width: 300px;
		top: 70px;
		background: #10688e;
		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 {
		height: 70px;
		line-height: 1;
		padding: 10px 15px;
		background-color: #ffffff;
		position: fixed;
		top: 0;
		right: 0;
		left: 0;
		z-index: 101;
		box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
	}

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

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

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally {
		position: relative;
	}

	.sticky-wrapper,
	#menu {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
	}

	#menu {
		background-color: rgba(16, 104, 142, 0.85);
	}

	.sticky-wrapper #menu {
		top: 0;
	}

	.is-sticky #menu {
		left: unset !important;
		right: unset !important;
	}

	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, :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 .navbar-nav a[class*="toplevel"] {
	color: #ffffff;
	font-weight: 600;
	text-align: center;
	padding: 10px 35px 15px 35px;
	position: relative;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
}

nav.horizontally .navbar-nav li[class*="toplevel"] + li {
	border-top: 1px solid #ffffff;
}

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

	nav.horizontally .navbar-nav a[class*="toplevel"] {
		padding: 18px 4px;
	}
}

nav.horizontally .navbar-nav a[class*="toplevel"]::before {
	content: "";
	width: 0;
	height: 4px;
	display: block;
	position: absolute;
	left: 0;
	bottom: 0;
	transition: width 300ms linear, background-color 300ms linear;
}

/* toplevel-over */

nav.horizontally .navbar-nav li[class*="toplevel"]:is(:hover, :focus-within) > a,
nav.horizontally .navbar-nav li[class*="toplevel"] > a:is(:hover, :focus),
nav.horizontally .navbar-nav li[class*="toplevel"].open > a,
nav.horizontally .navbar-nav li[class*="toplevel"].open > a:is(:hover, :focus),
nav.horizontally .navbar-nav li[class*="toplevel"][class*="_over"] > a,
nav.horizontally .navbar-nav li[class*="toplevel"][class*="_over"] > a:is(:hover, :focus) {
	color: #ffffff;
	background-color: transparent;
}

nav.horizontally .navbar-nav li[class*="toplevel"]:is(:hover, :focus-within) > a::before,
nav.horizontally .navbar-nav li[class*="toplevel"] > a:is(:hover, :focus)::before,
nav.horizontally .navbar-nav li[class*="toplevel"].open > a::before,
nav.horizontally .navbar-nav li[class*="toplevel"].open > a:is(:hover, :focus)::before,
nav.horizontally .navbar-nav li[class*="toplevel"][class*="_over"] > a::before,
nav.horizontally .navbar-nav li[class*="toplevel"][class*="_over"] > a:is(:hover, :focus)::before {
	width: 100%;
	background-color: #ffffff;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	background-color: #ffffff;
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}

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

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

	nav.horizontally [class*="toplevel"] > ul {
		margin-top: 6px;
		left: 0;
		border-bottom-left-radius: 4px;
		border-bottom-right-radius: 4px;
	}

	nav.horizontally [class*="secondlevel"] > ul {
		margin-left: 6px;
		margin-top: -30px;
		border-radius: 4px;
	}

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	color: #2e3c48;
	font-weight: 400;
	text-align: center;
	padding: 6px 35px;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
}

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

/* secondlevel + thirdlevel over */

nav.horizontally li[class*="secondlevel"]:is(:hover, :focus-within) > a,
nav.horizontally li[class*="secondlevel"] > a:is(:hover, :focus),
nav.horizontally li[class*="secondlevel"].open > a,
nav.horizontally li[class*="secondlevel"].open > a:is(:hover, :focus),
nav.horizontally li[class*="secondlevel"][class*="_over"] > a,
nav.horizontally li[class*="secondlevel"][class*="_over"] > a:is(:hover, :focus) {
	background: #10688e;
	color: #ffffff;
}

nav.horizontally li[class*="thirdlevel"]:is(:hover, :focus-within) > a,
nav.horizontally li[class*="thirdlevel"] > a:is(:hover, :focus),
nav.horizontally li[class*="thirdlevel"].open > a,
nav.horizontally li[class*="thirdlevel"].open > a:is(:hover, :focus),
nav.horizontally li[class*="thirdlevel"][class*="_over"] > a,
nav.horizontally li[class*="thirdlevel"][class*="_over"] > a:is(:hover, :focus) {
	background: #fbfbfb;
	color: #10688e;
}

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

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

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

@media (min-width: 992px) {
	body.index #slider {
		max-height: clamp(450px, 64vw, 710px);
	}

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

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

	#headerpic .nivo-controlNav {
		width: calc(100% - 200px);
		left: 100px;
	}
}

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

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

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

@media (min-width: 768px) {
	#headerpic {
		background: #10688e;
	}
   .slick-dots button {
      color: #fff;
   }

	#headerpic .nivo-directionNav a {
		top: auto;
		bottom: 12px;
	}
}

@media (min-width: 1200px) {
	#headerpic .nivo-directionNav a {
		bottom: 20px;
	}

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

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

/* #region ------------------------------------ slogan ------------------------------------------ */

#slogan {
	pointer-events: auto;
	color: #10688e;
	font-size: clamp(1rem, 2vw, 1.5625rem);
}

@media (max-width: 767px) {
	#slogan {
		border-bottom: 1px solid #e0e0e0;
		padding: 20px 15px;
	}
}

@media (min-width: 768px) {
	#slogan {
		color: #ffffff;
	}

	#bannerOverlay {
		position: absolute;
		right: 0;
		bottom: 50px;
		left: 0;
		z-index: 9;
		pointer-events: none;
	}
}

@media (min-width: 1200px) {
	#bannerOverlay {
		bottom: 90px;
	}
}

#slogan .headline {
	font-size: clamp(1.5rem, 6vw, 4.0625rem);
	font-weight: 700;
}

@media (min-width: 768px) {
	#slogan .headline {
		color: #ffffff;
		margin-bottom: 0;
		text-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
	}
}

#slogan a {
	text-decoration: none;
	display: inline-block;
	font-size: 1rem;
	line-height: 1;
	border: 3px solid #ffffff;
	border-radius: 28px;
	color: #ffffff;
	padding: clamp(10px, 1.5vw, 17px) clamp(15px, 2vw, 22px);
	margin-top: 20px;
	background: rgba(0, 0, 0, 0.6);
	backface-visibility: hidden;
	box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.15);
	transition: transform 150ms linear;
	font-weight: 700;
}

@media (min-width: 992px) {
	#slogan a {
		background: rgba(0, 0, 0, 0.2);
	}
}

#slogan a:nth-child(2n + 1) {
	background: rgba(3, 109, 155, 0.85);
}

#slogan a:is(:hover, :focus) {
	transform: scale(1.1);
}

#slogan a + a {
	margin-left: clamp(15px, 2vw, 25px);
}

#slogan :is(b, strong) {
	font-weight: 700;
}

/* #endregion --------------------------------- slogan ------------------------------------------ */

/* #region ------------------------------------- tabs ------------------------------------------- */

#bg-right  {
   margin-bottom: clamp(30px, 4vw, 60px);
   margin-top: clamp(30px, 4vw, 60px);
}
#bg-right .tab {
	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
	background-color: #fff;
	box-shadow: 0px 6px 20px 0px rgba(105, 107, 109, 0.26);
   color: #555555;
}

#bg-right .tab .tabHeadline {
	font-size: 1.6875rem;
	margin: 0;
	color: #10688e;
	font-weight: 700;
	text-align: center;
	padding: 18px 20px 15px 20px;
	border-bottom: 2px solid #10688e;
}

#bg-right .tab .tabContent {
	padding: 20px 25px;
	font-weight: 400;
}

#kontakt .tabContent a :is(b, strong) {
	font-weight: 600;
	color: #10688e;
	text-decoration: underline;
	text-transform: uppercase;
   font-size: 1rem;
}

#kontakt .tabContent a :is(b, strong)::after,
#kontakt .tabContent :is(b, strong) a::after {
	content: " ›";
}

#kontakt .tabContent a:not([href*"mailto:"]) {
	text-transform: uppercase;
}

#bg-right .tab_link_title a {
	font-weight: 700;
}

#bg-right .tab_link_mandat a {
	color: #232323;
	font-weight: 400;
}
#bg-right .tab_spacer {
	height: 10px;
}

.tabButton {
	margin-top: 30px;
}

.tabButton a {
	color: #ffffff;
	display: inline-block;
	padding: 25px;
	border-radius: 10px;
	box-shadow: 0px 6px 20px 0px rgba(105, 107, 109, 0.26);
	background: #c7050f;
}

.tabButton a:is(:hover, :focus) {
	background-color: #595959;
}

/* #endregion ---------------------------------- tabs ------------------------------------------- */

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

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

#content2 {
	padding-bottom: clamp(30px, 4vw, 60px);
}

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

@media (min-width: 1200px) {
	#content {
		padding-left: 30px;
	}

	#content:not(.no-padding-right) {
		padding-right: 30px;
	}
}

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

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

:is(h1, h2) :is(em, i) {
	font-style: normal;
	font-weight: 400;
	color: #232323;
	font-size: 70%;
}

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

h2,
.h2,
.legacy_h2 {
	font-size: clamp(1.75rem, 3.5vw, 2rem);
}

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

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

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

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

/* ------------------------------------------------ @28tab ----------------------------------------------- */

#tab28 {
	padding: 40px 0;
	padding-bottom: clamp(60px, 10vw, 140px);
   background-position: center;
   background-size: cover;
}

#tab28 > .row {
	gap: clamp(30px, 3vw, 45px) 0;
}

#tab28 :is(h1, h2, h3, h4, h5, h6, .tabBox) {
	color: #ffffff;
}

#tab28 .tabHeadline {
	font-weight: 600;
	font-size: clamp(1.25rem, 3vw, 2.0625rem);
}

#tab28 .tabBox a {
	margin-top: 15px;
	text-decoration: none;
	display: inline-block;
	font-size: 1rem;
	font-weight: 600;
	padding: 8px 25px;
	color: #191919;
	background: #51d66e;
	transition: background 300ms ease, color 300ms ease;
}

#tab28 .tabBox a:hover,
#tab28 .tabBox a:focus {
	color: #fff;
	background-color: #036d9b;
}

#tab28 .tabBox {
	position: relative;
	z-index: 1;
	overflow: hidden;
	display: flex;
	align-content: center;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	margin-left: auto;
	margin-right: auto;
	padding: 25px;
	min-height: 100%;
	min-height: 370px;
	max-width: 370px;
	perspective: 1000px;
	background: #0c5c82;
	box-shadow: 0px 0px 16px 12px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0px 0px 16px 12px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0px 0px 16px 12px rgba(0, 0, 0, 0.2);
	transition: all, 300ms;
	border-radius: 20px;
}

#tab28 .tabBox:hover {
	background: #004261;
}

#tab28 .tabBox::before {
	content: "";
	position: absolute;
	pointer-events: none;
	display: block;
	width: 38px;
	height: 18px;
	bottom: 50px;
	left: 0;
	right: 0;
	margin: auto;
	opacity: 1;
	z-index: 1;
	background: url("../img/pfeil-gruen.png") center no-repeat;
	-webkit-transition: opacity 0.4s 0s ease;
	-moz-transition: opacity 0.4s 0s ease;
	-o-transition: opacity 0.4s 0s ease;
	transition: opacity 0.4s 0s ease;
}

#tab28 .tabBox:hover::before,
#tab28 .tabBox:focus::before {
	opacity: 0;
}

#tab28 .template-page > .row,
#tab28 .template-page {
	min-height: 100%;
}

#tab28 .flip-box-inner {
	position: relative;
	width: 100%;
	height: 100%;
	text-align: center;
	transition: transform 0.8s;
	transform-style: preserve-3d;
	display: flex;
	align-content: center;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

#tab28 .flip-box:hover .flip-box-inner,
#tab28 .flip-box:focus .flip-box-inner {
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	-ms-transform: rotateY(180deg);
	-o-transform: rotateY(180deg);
	transform: rotateY(180deg);
	opacity: 1;
}

#tab28 .flip-box:hover .flip-box-inner .flip-box-front,
#tab28 .flip-box:focus .flip-box-inner .flip-box-front {
	opacity: 0;
	pointer-events: none;
}

#tab28 .flip-box-front,
#tab28 .flip-box-back {
	position: absolute;
	width: 100%;
	height: 100%;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	display: flex;
	align-content: center;
	align-items: center;
	justify-content: center;
	min-height: 370px;
	flex-direction: column;
}

#tab28 .flip-box-front {
	-webkit-transition: opacity 0.4s 0s ease;
	-moz-transition: opacity 0.4s 0s ease;
	-o-transition: opacity 0.4s 0s ease;
	transition: opacity 0.4s 0s ease;
}

#tab28 .flip-box-front p,
#tab28 .flip-box-front blockquote {
	display: none;
}

#tab28 .flip-box-back {
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	-ms-transform: rotateY(180deg);
	-o-transform: rotateY(180deg);
	transform: rotateY(180deg);
}

#tab28 .flip-box-back :is(h1, h2, h3, h4, h5, h6) {
	display: none;
}

#tab28 .flip-box-back .tabHeadline {
	position: relative;
	margin-bottom: 35px;
	display: block !important;
}

#tab28 .flip-box-back .tabHeadline::after {
	content: "";
	position: absolute;
	pointer-events: none;
	bottom: -20px;
	left: 0;
	right: 0;
	width: 7px;
	height: 3px;
	margin: 0 auto;
	background: #ffffff;
}

#tab28 .flip-box-front p:has(img) {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
	display: flex !important;
	align-content: center;
	align-items: center;
	justify-content: center;
}

#tab28 p:has(img)::after {
	content: "";
	position: absolute;
	pointer-events: none;
	top: 0;
	bottom: 0;
	left: -25px;
	right: -25px;
	width: calc(100% + 50px);
	background: #004261;
	transition: opacity 0.4s 0s ease, background 0.4s 0 ease;
	opacity: 0.8;
	z-index: 0;
}

#tab28 .tabBox:is(:hover, :focus) p:has(img)::after {
	background: #004261;
	opacity: 1;
}

#tab28 p:has(img):hover::after,
#tab28 p:has(img):focus::after {
	opacity: 0;
}

#tab28 :is(.flip-box-front, .flip-box-back) p:has(img) img {
	max-width: min-content;
	height: 100%;
}

#tab28 .flip-box-back p:has(img) img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
#tab28 .flip-box-back .template-page > .row,
#tab28 .flip-box-back .template-page > .row > div,
#tab28 .flip-box-back .tab p:has(img) {
	position: static;
}

#tab28 .flip-box-front :is(h1, h2, h3, h4, h5, h6) {
	position: absolute;
	z-index: 12;
}

#tab28 .flip-box-back {
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	-ms-transform: rotateY(180deg);
	-o-transform: rotateY(180deg);
	transform: rotateY(180deg);
	justify-content: center;
	height: unset;
}

#tab28 .flip-box-back p:first-of-type:has(img) {
	height: 0;
}

#tab28 .flip-box-back p:not(:first-of-type),
#tab28 .flip-box-back h2 {
	z-index: 10;
   position: relative;
}

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

footer {
	background-color: #fbfbfb;
	padding: clamp(30px, 4vw, 60px) 0;
	color: #595959;
}

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

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

#footerTab {
	margin-top: 15px;
	padding-top: 15px;
	font-size: 1rem;
}

/* ------------------------------------------- scroll top --------------------------------------- */

#scrollTop {
	display: inline-block;
	text-transform: uppercase;
	color: #ffffff;
	background-color: #10688e;
	font-weight: 400;
	font-size: 1rem;
	border-radius: 30px;
	padding: 16px 30px 16px 50px;
	opacity: 1 !important;
	text-decoration: none;
	position: relative;
}

#scrollTop:is(:hover, :focus) {
	background-color: #595959;
}

#scrollTop::after {
	content: "";
	position: absolute;
	border-radius: 1px;
	left: 30px;
	width: 7px;
	height: 7px;
	top: 50%;
	margin-top: -1px;
	display: inline-block;
	border-right: 2px solid #ffffff;
	border-top: 2px solid #ffffff;
	transform: rotate(-45deg);
}

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

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

#vernetzt span span {
	display: block;
}
