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

body {
   font-family: "Noto Sans", sans-serif;
   color: #2c2c2c;
   background: #ffffff;
   font-size: 1rem;
   /* 1rem = 16px */
   line-height: 1.5;
}

@media (min-width: 768px) {
   body {
      font-size: 1.125rem;
   }
}

a {
   color: #032e97;
}

a:hover,
a:focus {
   color: #032e97;
   text-decoration: underline;
}

#content a {
   text-decoration: underline;
}

#content a:hover,
#content a:focus {
   text-decoration: none;
}

b,
strong {
   font-weight: 600;
}

/* LOGO MIT TEXT -------------------------------------------------------- */

.logo {
   display: flex;
   flex-wrap: wrap;
   gap: 15px 15px;
   text-decoration: none !important;
}

@media (max-width: 991px) {
   .logo {
      padding: 15px 0;
   }
}

@media (min-width: 992px) {
   .logo {
      padding-left: 45px;
   }
}

.logo .template-page {
   width: auto;
}

.logo .cleaner {
   display: none;
}

.logoText {
   color: #2c2c2c;
   font-size: 1rem;
   align-content: center;
   line-height: 1.1;
   font-family: "Overlock", sans-serif;
   font-weight: 700;
}

@media (max-width: 575px) {
   .logoText {
      hyphens: auto;
   }

   .logo {
      margin: 20px 0;
   }
}

.logo img {
   display: block;
   max-width: 30vw;
}

/* LOGO MIT TEXT -------------------------------------------------------- */

/* ------------------------------------------ contact ------------------------------------------- */

#topbar,
nav address {
   background-color: #fed501;
   color: #2c2c2c;
   font-size: 0.875rem;
   font-weight: 300;
}

nav address {
   padding: 10px 15px;
}

@media (max-width: 991px) {
   #topbar {
      padding: 10px 0;
   }
}

#topbar>.row {
   row-gap: 10px;
}

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

   .contactMail+.contactPhone {
      margin-left: 30px;
   }
}

#topbar a,
nav address a {
   color: #2c2c2c;
   text-decoration: underline;
}

.contactMail,
.contactPhone {
   padding-left: 20px;
   background-position: center left;
   background-repeat: no-repeat;
}

@media (max-width: 991px) {

   .contactMail,
   .contactPhone {
      background-position: center left 10px;
   }
}

nav address {
   background-position-x: 7px;
}

.contactMail {
   background-image: url("../img/mail-icon.png");
}

.contactPhone {
   background-image: url("../img/phone-icon.png");
}

.social {
   line-height: 1;
}

.social a+a,
.social img+img {
   margin-left: 10px;
}

/* ------------------------------------------ search -------------------------------------------- */

@media (min-width: 992px) {
   *+#search {
      padding-left: 40px;
      margin-left: 40px;
      border-left: 1px solid rgba(255, 255, 255, 0.3);
   }
}

#search label {
   text-transform: uppercase;
   font-weight: 400;
   margin-right: clamp(10px, 2vw, 20px);
   padding: 7px 0;
}

#search {
   display: inline-flex;
}

#search_input {
   color: #2c2c2c;
   font-size: 0.875rem;
   font-style: normal;
   font-weight: 300;
   background: transparent;
   padding: 7px 5px;
   border: 0;
   width: 140px;
}

#search_submit {
   min-width: 30px;
   flex-shrink: 0;
   border: none;
   background: url("../img/lupe-icon.png") center no-repeat;
   padding: 0;
   cursor: pointer;
   font-size: 0;
}

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

#search_input::placeholder {
   color: #2c2c2c !important;
   opacity: 1 !important;
   font-style: italic !important;
}

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

/* burgermenu for tablet */

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

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

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

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

/* menu desktop */

@media (min-width: 992px) {
   nav.horizontally {
      padding-top: 15px;
      background-color: #ffffff;
      box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.15);
   }

   nav.horizontally .navbar-nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 30px;
   }

   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: #2c2c2c;
   font-weight: 600;
   text-align: left;
   padding: 12px 35px 12px 15px;
   position: relative;
   font-size: 1rem;
   line-height: 1.2;
   text-decoration: none;
   text-transform: uppercase;
   isolation: isolate;
   hyphens: auto;
}

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

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

   nav.horizontally a[class*="toplevel"] {
      padding: 20px 0;
      text-align: center;
   }

   nav.horizontally a[class*="toplevel"]::after {
      content: "";
      display: block;
      position: absolute;
      background: url(../img/active-logo-wasserzeichen.png);
      width: 51px;
      height: 35px;
      top: 0;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: -1;
      transition: opacity 200ms, color 200ms;
      opacity: 0;
   }
}

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

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 {
   opacity: 1;
}

/* secondlevel + thirdlevel dropdown-box */

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

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

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

@media (min-width: 992px) {
   nav.horizontally [class*="toplevel"]>ul::after {
      content: "";
      position: absolute;
      top: 0;
      left: 50%;
      transform: translate(-50%, -100%);
      width: 0;
      height: 0;
      border-style: solid;
      border-right: 20px solid transparent;
      border-left: 20px solid transparent;
      border-bottom: 20px solid #fff;
      border-top: 0;
   }

   nav.horizontally [class*="toplevel"] ul {
      padding-top: 25px;
      padding-bottom: 25px;
      box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
      border-radius: 5px;
   }

   nav.horizontally [class*="toplevel"]>ul {
      margin-top: 20px;
   }

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
   color: #2c2c2c;
   font-weight: 300;
   text-align: left;
   padding: 8px 20px;
   font-size: 1rem;
   line-height: 1.2;
   text-decoration: none;
   position: relative;
   isolation: isolate;
}

@media (min-width: 992px) {
   nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::after {
      content: "";
      display: block;
      position: absolute;
      background: url(../img/active-logo.png);
      width: 44px;
      height: 30px;
      opacity: 0;
      top: 50%;
      transform: translateY(-50%);
      z-index: -1;
      transition: opacity 200ms, color 200ms;
   }

   nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
      text-align: center;
   }
}

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

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within)>a::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])>a:is(:hover, :focus)::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a:is(:hover, :focus)::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a:is(:hover, :focus)::after {
   opacity: 1;
}

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

/* #region ------------------------------------ banner ------------------------------------------ */
#headerpic {
   position: relative;
}

#slider {
   max-height: 300px;
   overflow: hidden;
   position: relative;
}

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

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

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

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

#overlay .tab {
   border-radius: 5px;
   background: rgba(255, 255, 255, 0.85);
   padding: 50px 20px 20px 20px;
}

#overlay .tabHeadline {
   font-size: 2.25rem;
}

#overlay a {
   display: inline-block;
   line-height: 1;
   background: #2c2c2c;
   color: #ffffff;
   font-size: 0.9375rem;
   text-decoration: none;
   text-transform: uppercase;
   padding: 7px 15px;
   border-radius: 5px;
   margin-right: 15px;
   margin-top: 30px;
}

#overlay a:is(:hover, :focus) {
   background: #032e97;
}

@media (min-width: 992px) {
   #overlay {
      position: absolute;
      bottom: 40px;
      width: 100%;
      z-index: 20;
   }
}

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

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

#content {
   text-align: left;
   padding-bottom: 30px;
   padding-top: 30px;
}

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

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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
   color: #2c2c2c;
   font-weight: 600;
   line-height: 1.2;
   font-family: "Noto Sans", sans-serif;
}

h1,
.h1,
.legacy_h1 {
   font-size: clamp(1.6875rem, 3vw, 2.25rem);
}

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

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

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

h5,
.h5,
.legacy_h5 {
   font-size: clamp(1.3125rem, 3vw, 1.4rem);
}

h6,
.h6,
.legacy_h6 {
   font-size: clamp(1.25rem, 3vw, 1.3125rem);
}

#newslinks,
#newsmandate {
   border: 1px solid #2c2c2c;
}

/* ---------------------------------------------- bildTabs ---------------------------------------------- */

.bildTabs {
   padding-bottom: 60px;
   display: flex;
   flex-wrap: wrap;
   gap: 30px 0;
}

.bildTabs .tabHeadline {
   margin: 0;
}

.bildTabs .tab {
   background: #f0f0f0;
   border-radius: 5px;
   overflow: hidden;
   line-height: 0;
   height: 100%;
   position: relative;
}

.bildTabs .tab:has(a):has(img, .arrow)::after {
   content: "";
   position: absolute;
   inset: 0 0 auto 0;
   background: linear-gradient(180deg, rgba(0, 99, 175, 1) 0%, rgba(16, 70, 145, 1) 100%);
   pointer-events: none;
   opacity: 0;
   transition: opacity 200ms;
}

.bildTabs .tab:has(a:hover):has(img, .arrow)::after {
   opacity: 0.75;
}

.bildTabs .tab:has(a:hover):has(img, .arrow) h3 {
   color: #032e97;
}

.bildTabs .template-page {
   font-size: 0;
}

.bildTabs .template-page :is(.row, .row > div) {
   position: static;
}

.bildTabs h3 {
   text-align: center;
   line-height: 1.2;
   font-size: 1.125rem;
   margin: 0;
   display: inline-block;
   padding: 20px 30px 22px 30px;
}

.bildTabs :is(img, .arrow),
.bildTabs .tab:has(a):has(img, .arrow)::after {
   box-shadow: 1.204px 1.597px 5px 0px rgba(44, 44, 44, 0.15);
   height: 270px;
   width: 100%;
}

@media (max-width: 767px) {

   .bildTabs :is(img, .arrow),
   .bildTabs .tab:has(a):has(img, .arrow)::after {
      height: 150px;
   }
}

.bildTabs img {
   object-fit: cover;
   object-position: center;
}

.bildTabs .arrow {
   display: block;
   font-size: 0;
   background: url(../img/icon-arrow.png);
   background-position: center;
   background-repeat: no-repeat;
}

.arrowTab a {
   position: absolute;
   inset: 0;
}

/* ---------------------------------------------- 6nw aktuelles ---------------------------------------------- */

#aktuellesBG {
   background-position: center;
   background-repeat: no-repeat;
   background-attachment: scroll, fixed;
   background-size: cover;
   font-size: 1rem;
}

#aktuellesBG>div {
   padding-bottom: 60px;
}

@media (max-width: 991px) {
   #aktuelles {
      background-size: 992px auto;
   }
}

#aktuelles .tabHeadline {
   margin-bottom: 0;
   margin-bottom: 5px;
}

#aktuelles .tab_link {
   margin-top: 22px;
}

@media (min-width: 768px) {
   #aktuelles .tab_link_entries {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -ms-flex-wrap: wrap;
      flex-wrap: wrap;
   }
}

@media (min-width: 768px) and (max-width: 991px) {
   #aktuelles .tab_link_entries {
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      justify-content: center;
   }

   #aktuelles .tab_link_entries+div {
      width: 50% !important;
      text-align: right;
      margin-left: 50%;
      margin-top: -80px;
   }
}

#aktuelles .tab_link_entry {
   border-bottom: none !important;
   text-align: left;
   position: relative;
   background: #f0f0f0;
   width: 100%;
   padding: 265px 20px 20px 20px;
   box-shadow: 1.204px 1.597px 5px 0px rgba(44, 44, 44, 0.15);
   border-radius: 5px;
   overflow: hidden;
}

@media (min-width: 768px) and (max-width: 991px) {
   #aktuelles .tab_link_entry {
      width: calc(50% - 15px);
   }

   #aktuelles .tab_link_entry:nth-child(2n + 1) {
      margin-right: 15px;
   }

   #aktuelles .tab_link_entry:nth-child(2n + 2) {
      margin-left: 15px;
   }
}

@media (min-width: 992px) {
   #aktuelles .tab_link_entry {
      width: calc(33.33% - 20px);
   }

   #aktuelles .tab_link_entry:nth-child(3n + 1) {
      margin-right: 15px;
   }

   #aktuelles .tab_link_entry:nth-child(3n + 2) {
      margin-right: 15px;
      margin-left: 15px;
   }

   #aktuelles .tab_link_entry:nth-child(3n + 3) {
      margin-left: 15px;
   }
}

#aktuelles .tab_link_entry+.tab_link_entry {
   margin-top: 30px;
}

@media (min-width: 768px) {
   #aktuelles .tab_link_entry:nth-child(2) {
      margin-top: 0;
   }
}

@media (min-width: 992px) {
   #aktuelles .tab_link_entry:nth-child(3) {
      margin-top: 0;
   }
}

#aktuelles .tab_link_entry::before {
   content: "";
   position: absolute;
   display: block;
   top: 0;
   left: 0;
   right: 0;
   height: 245px;
   background: #2c2c2c;
   background-size: cover !important;
   background-position: center !important;
}

#aktuelles .tab_link_entry .tab_preview_picture {
   display: block;
   position: absolute;
   left: 0;
   right: 0;
   top: 0;
   height: 245px;
   overflow: hidden;
   background: #ffffff;
}

#aktuelles .tab_preview_picture img {
   position: absolute;
   left: 50%;
   top: 50%;
   max-width: none;
   min-width: 100%;
   min-height: 100%;
   max-width: 100%;
   width: auto;
   height: auto;
   -ms-interpolation-mode: bicubic;
   -moz-transform: translateX(-50%) translateY(-50%);
   -webkit-transform: translateX(-50%) translateY(-50%);
   -o-transform: translateX(-50%) translateY(-50%);
   -ms-transform: translateX(-50%) translateY(-50%);
   transform: translateX(-50%) translateY(-50%);
}

#aktuelles .tab_date {
   font-size: 1rem;
   position: absolute;
   left: 50%;
   top: 230px;
   z-index: 1;
   display: inline-block;
   padding: 7px 15px;
   background: #2c2c2c;
   color: #ffffff;
   border-radius: 5px;
   -moz-transform: translateX(-50%);
   -webkit-transform: translateX(-50%);
   -o-transform: translateX(-50%);
   -ms-transform: translateX(-50%);
   transform: translateX(-50%);
   font-weight: 400;
}

#aktuelles .tab_link_title a {
   color: #2c2c2c;
   font-weight: 600;
   font-size: clamp(1.25rem, 2vw, 1.5625rem);
   line-height: 1.2;
   text-decoration: none;
}

#aktuelles .tab_link_entry>div:nth-last-child(2) {
   line-height: 1;
   font-size: 0;
   margin-top: 30px;
}

#aktuelles .tab_link_entry>div:nth-last-child(2)>a {
   position: absolute;
   right: 0;
   bottom: 0;
   background: #2c2c2c;
   z-index: 1;
   color: #ffffff;
   text-align: center;
   font-size: 0;
   font-weight: 600;
   display: -webkit-box !important;
   display: -ms-flexbox !important;
   display: inline-block !important;
   border-top-left-radius: 5px;
   padding: 20px;
}

#aktuelles .tab_link_entry>div:nth-last-child(2)>a:is(:hover, :focus) {
   background: #032e97;
}

#aktuelles div:nth-last-child(2)>a::after {
   content: "los geht‘s »";
   font-size: 1rem;
}

#aktuelles a:hover,
#aktuelles a:focus {
   text-decoration: none;
}

/* ----------------------------------------- news button ---------------------------------------- */

#aktuelles .tab_link_mehr_main {
   color: transparent;
   font-size: 0;
   text-align: right;
   margin-top: 30px;
}

#aktuelles .tab_link_mehr_main a::before {
   content: "ALLE NEUIGKEITEN";
   font-size: 1rem;
}

#aktuelles .tab_link_mehr_main a::after {
   content: "\203A";
   display: block;
   position: absolute;
   right: 0;
   top: 14px;
   bottom: 9px;
   width: 35px;
   text-align: center;
   font-size: 16px;
}

#aktuelles .tab_link_mehr_main a:hover,
#aktuelles .tab_link_mehr_main a:focus {
   background: #032e97;
   color: #ffffff;
}

/* ------------------------------------------------ footerTabs ---------------------------------------------- */

.Footertab {
   color: #fff;
   font-weight: normal;
}

.Footertab a {
   color: #fff;
   font-weight: 600;
}

.FooterHeadline {
   color: #fff;
   padding-bottom: 25px;
   font-weight: 600;
   font-size: 1.5625rem;
}

@media (max-width: 767px) {
   .Footertab {
      margin-bottom: 30px;
   }
}

/* --------------------------------------------- formular --------------------------------------------- */

#kontakt a {
   color: #fff;
}

#kontakt .formtab p {
   margin: 0;
}

#kontakt .formgen_element,
#kontakt input[id$="_input"],
#kontakt input[name="captcha"],
#kontakt input[type="text"],
#kontakt textarea {
   color: #2b2b2b;
   background: rgba(255, 255, 255, 0.9);
   border: 1px solid #ffffff;
   width: 100%;
}

#kontakt input[type="submit"] {
   color: #2b2b2b;
   border-radius: 0px;
   border: none;
   padding: 6px 20px;
   font-size: 0.875rem;
   font-weight: 600;
   background: #fff;
}

@media (max-width: 767px) {
   #kontakt>.row>div+div {
      margin-top: 30px;
   }
}

#kontakt h1,
#kontakt h2,
#kontakt h3,
#kontakt p {
   color: #ffffff;
}

#kontakt h4,
#kontakt h5,
#kontakt h6,
#kontakt a,
#kontakt a:hover {
   color: #fff;
}

#kontakt .formgen {
   -webkit-column-count: auto;
   -moz-column-count: auto;
   column-count: auto;
   -webkit-column-gap: auto;
   -moz-column-gap: auto;
   column-gap: auto;
   font-size: clamp(1rem, 3vw, 1.25rem);
   margin: 0;
}

@media (min-width: 992px) {
   .formtabnew {
      margin-top: -20px;
   }
}

#kontakt #welcomepage-wrapper .direction-center .formgen_top,
#kontakt .formgen_element:not(.vorwahl):not([name*="vorwahl"]):not([name*="nummer"]),
#kontakt .hasDatepicker,
.phone-wrapper .formgen_right,
#kontakt .phone-wrapper .formgen_bottom {
   width: 100% !important;
}

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

footer>.row {
   padding-top: 30px;
   padding-bottom: 30px;
}

#footer>.row {
   position: relative;
}

footer {
   background: #1571c4;
   padding-top: 25px;
   color: #fff;
   background-attachment: fixed;
}

#innerfooter a {
   color: #fff;
   text-decoration: none;
   display: inline-block;
   font-weight: 400;
   font-size: 1rem;
}

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

@media (min-width: 576px) {
   #innerfooter a+a::before {
      content: "";
      margin: 0 15px;
   }
}

#innerfooter1 a {
   color: #fff;
   text-decoration: none;
   display: block;
   line-height: 1rem;
   font-weight: 400;
   font-size: 1rem;
}

#innerfooter1 a:hover {
   color: #fff;
   text-decoration: underline;
}

#innerfooter1 a::before {
   content: "\A";
   margin-right: 0px;
   white-space: pre;
}

@media (max-width: 575px) {
   #innerfooter a {
      display: block;
      line-height: 2;
   }
}

#footer {
   background: #1571c4;
   background-size: cover;
   padding-top: 40px;
   padding-bottom: 40px;
}

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

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

   #footer>.row {
      align-content: center;
      align-items: center;
   }

   footer>.row {
      padding-top: 60px;
   }

   #footer>.row::before {
      content: "";
      position: absolute;
      width: 98%;
      height: 1px;
      background-color: #fff;
      left: 0;
      right: 0;
      margin: 0 auto;
      top: -40px;
   }
}

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

#vernetzt {
   text-align: right;
   font-size: 0.875rem;
   color: #fff;
   line-height: 1.3;
   margin: 0 auto 20px auto;
   font-weight: 300;
}

#vernetzt b {
   color: #fff;
   font-weight: 300;
}

#vernetzt span {
   color: #fff;
}

#vernetzt span span {
   display: block;
}

#vernetzt img {
   margin-left: 14px;
}