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

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

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

a {
  color: #0015a9;
}

a:is(:hover, :focus) {
  color: #0015a9;
}

b,
strong {
  font-weight: 600;
}

:is(header, #leistungen, #feedback, #termin) {
  overflow: hidden;
  position: relative;
}

.overflow {
  overflow: clip;
  position: relative;
}

/* #region --------------------------------- buttonStyle ---------------------------------------- */

#aktuelles .tab_link_mehr a,
:is(.buttonStyle, .buttonStyleNeutral) a:not(.has-image):not([rel]):not(.nivo-directionNav > a) {
  background: #0015a9;
  border-radius: 8px;
  color: #ffffff;
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 16px 20px;
  transition: all 300ms;
  position: relative;
  line-height: 1.2;
}

#aktuelles .tab_link_mehr a,
.buttonStyleNeutral a:not(.has-image):not([rel]):not(.nivo-directionNav > a) {
  background: #ffffff;
  color: #181d4a;
}

#aktuelles .tab_link_mehr a:is(:focus, :hover),
.buttonStyleNeutral a:not(.has-image):not([rel]):not(.nivo-directionNav > a):is(:focus, :hover) {
  background: transparent;
  color: #ffffff;
}

/* specific buttons */

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

#termin .buttonStyleNeutral a:not(.has-image):not([rel]) {
  font-size: inherit;
}

/* border on hover */

#aktuelles .tab_link_mehr a::after,
.buttonStyleNeutral a:not(.has-image):not([rel])::after {
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  transform: scale(1.2);
  transition: all 0.3s;
  width: 100%;
  z-index: 1;
}

#aktuelles .tab_link_mehr a:is(:focus, :hover)::after,
.buttonStyleNeutral a:not(.has-image):not([rel]):is(:focus, :hover)::after {
  opacity: 1;
  transform: scale(1);
}

/* #endregion ------------------------------ buttonStyle ---------------------------------------- */

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

#logo {
  display: inline-block;
}

#logo img {
  display: block;
}

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

/* #region ----------------------------------- options ------------------------------------------ */

#options {
  font-size: 0.875rem;
  line-height: 1.2;
  gap: 20px;
}

/* buttons */

.button1 {
  background: #ffffff;
  padding: 16px 20px 16px 45px;
  position: relative;
  box-shadow: 0 2px 6px rgba(75, 89, 227, 0.2);
  transition: all 300ms;
  border-radius: 8px;
}

.button1:is(:hover, :focus-within) {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.button1 a {
  text-decoration: underline;
}

.button1::before {
  content: "";
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%234b59e3" height="48" viewBox="0 -960 960 960" width="48"><path d="M777-487q-5-121.325-89.291-205.551Q603.418-776.778 482-781.778V-842q73 2 136.5 30.5T730-735q48 48 76.5 111.5T837-487h-60Zm-170 0q-5-50-40-84.5T482-611v-60q75 5 127.5 57T667-487h-60Zm188 367q-116 0-236.5-56T335-335Q232-438 176-558.5T120-795q0-19 13-32t32-13h140q14 0 24 10t14 25l27 126q2 14-.5 25.5T359-634L259-533q26 44 55 82t64 72q37 38 78 69.5t86 55.5l95-98q10-11 23-15t26-2l119 26q15 4 25 16t10 27v135q0 19-13 32t-32 13Z"/></svg>') center / 24px auto no-repeat;
  display: block;
  left: 0;
  position: absolute;
  top: 2px;
  bottom: 0;
  width: 50px;
}

.button1:is(:hover, :focus-within)::before {
  animation: shake 1s ease 1;
}

/* #endregion -------------------------------- options ------------------------------------------ */

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

#search {
  background: #f6f5f7;
  display: inline-flex;
  width: 100%;
  padding: 5px;
  border-radius: 8px;
  position: relative;
  z-index: 2;
  margin-top: 50px;
}

@media (min-width: 992px) {
  .is-sticky #search {
    margin-top: 15px;
  }
}

@media (min-width: 1200px) {
  .searchCol::after {
    content: "";
    position: absolute;
    background: url(../img/dotline-header.png);
    width: 160px;
    height: 151px;
    bottom: -34px;
    z-index: 0;
    pointer-events: none;
    right: -84px;
    background-repeat: no-repeat;
    display: block;
  }

  .is-sticky .searchCol::after {
    content: "";
    position: absolute;
    background: url(../img/dotline-header.png);
    width: 160px;
    height: 151px;
    bottom: -38px;
    z-index: 0;
    pointer-events: none;
    right: -84px;
    background-repeat: no-repeat;
    display: block;
  }
}

@media (min-width: 992px) {
  #search {
    max-width: 270px;
  }
}

#search_input {
  color: #252525;
  font-size: 1rem;
  font-style: normal;
  background: transparent;
  padding: 6px 14px;
  border: 0;
  width: 100%;
}

#search_submit {
  min-width: 48px;
  flex-shrink: 0;
  background: url("../img/icon-suche.png") center top 9px no-repeat;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 0;
  border-radius: 8px;
  background-color: #e08606;
}

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

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

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

nav.horizontally {
  padding: 20px 0;
  background: #ffffff;
  border-bottom: 10px solid #f6f5f7;
  position: relative;
}

nav.horizontally>.row::after {
  content: "";
  bottom: -26px;
  left: -85px;
  right: -85px;
  position: absolute;
  border-bottom: 10px solid #0015a9;
}

@media (max-width: 991px) {
  nav.horizontally>.row::after {
    bottom: -30px;
  }
}

/* burgermenu for tablet */

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

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

  #burgerButton::before,
  #burgerButton::after,
  #burgerButtonInner {
    background-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;
    right: 15px;
    top: 15px;
    z-index: 101;
  }

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

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

/* menu desktop */

@media (min-width: 992px) {
  nav.horizontally {
    padding: 20px 0 15px 0;
    transition: padding 200ms linear;
  }

  .is-sticky nav.horizontally {
    padding: 10px 0 10px 0;
  }

  .is-sticky nav.horizontally>.row::after {
    content: "";
    bottom: -20px;
    left: -85px;
    right: -85px;
    position: absolute;
    border-bottom: 10px solid #0015a9;
  }

  nav.horizontally .navbar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 2px;
    margin-top: 70px;
    transition: margin-top 200ms linear;
  }

  .is-sticky nav.horizontally .navbar-nav {
    margin-top: 12px;
  }

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

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

@media (min-width: 992px) {
  nav.horizontally a[class*="toplevel"] {
    padding: 9px 12px;
  }

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

  nav.horizontally a[class*="toplevel"].dropdown-toggle::after {
    content: "";
    border-bottom: 1px solid #181d4a;
    border-left: 1px solid #181d4a;
    border-radius: 1px;
    display: block;
    position: absolute;
    right: 13px;
    top: calc(50% - 5px);
    transform: rotate(-45deg);
    height: 6px;
    width: 6px;
    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) {
  background: #f6f5f7;
  color: #0015a9;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  padding: 15px;
  border-radius: 10px;
}

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

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

@media (min-width: 992px) {
  nav.horizontally [class*="toplevel"] ul {
    border-radius: 20px;
  }

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

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
  color: #252525;
  font-weight: 400;
  text-align: left;
  padding: 9px 15px;
  font-size: 0.875rem;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 8px;
}

@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) {
  background: #f6f5f7;
  color: #0015a9;
}

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

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

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

@media (min-width: 768px) {
  body.index #headerpic .nivo-controlNav {
    bottom: 70px;
  }
}

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

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

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

#headerpic {
  padding: 30px 0 clamp(40px, 6vw, 80px) 0;
  z-index: 2;
}

@media (min-width: 992px) {
  #headerpic {
    padding-top: 0;
  }
}

#headerpic>.row:first-child {
  max-width: 1400px;
  width: 100%;
}

#headerpic>.row:not(#bannerTabs)::before {
  border-width: 50px;
  bottom: -115px;
  left: -100px;
  height: 135px;
  width: 135px;
}

#headerpic>.row:not(#bannerTabs)::after {
  right: -150px;
  top: -175px;
  height: 230px;
  width: 230px;
}

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

.slider-mask {
  display: none;
}

/* Banner-Tabs */

#bannerTabs {
  margin-top: 0px;
}

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

#bannerTabs,
#bannerTabs .tab1>.row {
  row-gap: 30px;
  background: #f6f5f7;
  max-width: 1370px !important;
  width: 100%;
}

@media (min-width: 1200px) {

  #bannerTabs,
  #bannerTabs .tab1>.row {
    row-gap: 30px;
    max-width: 1370px !important;
    background: #f6f5f7;
    padding: 0 28px;
  }
}

#bannerTabs a {
  text-decoration: underline;
}

#bannerTabs .tab {
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100%;
  padding: 42px 50px 32px 30px;
  position: relative;
  z-index: 12;
}

#bannerTabs .tabHeadline {
  color: #0015a9;
  font-size: 1.375rem !important;
  font-weight: 400;
}

#bannerTabs .tab1 {
  background: #f6f5f7;
}

@media (min-width: 992px) {
  #bannerTabs .tab1>.row>*:not(:last-child) {
    padding-right: 30px;
  }

  #bannerTabs .tab1>.row>*+* {
    padding-left: 30px;
  }
}

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

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

#content {
  text-align: left;
  padding-top: 40px;
  padding-bottom: clamp(40px, 2vw, 45px);
}

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
  color: #0015a9;
  font-weight: 400;
  line-height: 1.2;
  font-family: "Source Serif 4", sans-serif;
}

h1,
.h1,
.legacy_h1,
:is(#leistungen, #feedback .tabHeadline, #termin) :is(h1, h2) {
  font-size: clamp(1.75rem, 4vw, 2rem);
}

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

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

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

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

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

#bannerTabs .tab .tabHeadline,
#footer :is(h1, h2, h3, h4, h5, h6) {
  font-size: 1.125rem;
}

main :is(h1, h2) {
  margin-bottom: 25px;
}

:is(#termin .tab, #aktuelles .tabHeadline) :is(h1, h2, h3) :is(i, em) {
  color: #ffffff;
}

/* #region ------------------------------------ feedback ---------------------------------------- */

#feedback {
  padding: clamp(40px, 2vw, 45px) 0 clamp(40px, 5vw, 70px) 0;
}

#feedback small {
  font-size: 1rem;
}

#feedback>.row {
  row-gap: 25px;
}

@media (max-width: 767px) {
  #feedback>.row>div:nth-child(2)~div {
    border-top: 1px solid rgba(0, 0, 0, 0.29);
    padding-top: 20px;
  }
}

@media (min-width: 768px) {
  #feedback>.row>div:nth-child(2)~div {
    border-left: 1px solid rgba(0, 0, 0, 0.29);
  }
}

@media (min-width: 992px) {
  #feedback>.row>div:nth-child(2)~div {
    padding-left: 30px;
  }

  #feedback>.row>div:nth-child(1):not(:last-child)~div {
    padding-right: 30px;
  }

  #feedback .tabHeadline {
    margin-bottom: 25px;
  }
}

#feedback a {
  text-decoration: underline;
}

#feedback .tabHeadline :is(h1, h2, h3, h4, h5, h6) {
  margin-bottom: 10px;
  line-height: 0;
}

#feedback .tab {
  font-size: 1rem;
}

/* #endregion --------------------------------- feedback ---------------------------------------- */

/* #region ------------------------------------- footer ----------------------------------------- */
/* #region ----------------------------------- footer ------------------------------------------- */

footer {
  color: #252525;
  background: #f6f5f7;
  font-size: 1rem;
  border-top: solid 5px #e08606;
  position: relative;
}

footer a,
footer a:is(:hover, :focus) {
  color: #0015a9;
}

footer :is(h1, h2, h3, h4, h5, h6, .footerHeadline) {
  color: #0015a9;
  font-size: 1.25rem !important;
  margin: 0;
  margin-bottom: 30px;
}

#footer {
  padding: 130px 0 40px 0;
  position: relative;
}

@media (min-width: 992px) {
  #footer {
    padding: 56px 0 50px 0;
  }
}

#footer>.row {
  row-gap: 30px;
  position: relative;
}

@media (min-width: 1200px) {
  #footer>.row::after {
    content: "";
    position: absolute;
    background: url(../img/deko-footer.png);
    width: 298px;
    height: 549px;
    bottom: 275px;
    z-index: 2;
    pointer-events: none;
    left: -322px;
    background-repeat: no-repeat;
    display: block;
  }
}

:is(.footerTab, .socialTab) a {
  text-decoration: underline;
}

.footerTab :is(iframe, .iframe-wrapper-manual-enabling) {
  min-width: 100% !important;
  width: 100% !important;
  display: block;
}

#innerfooter ul {
  padding: 0;
  line-height: 1.7;
}

@media (min-width: 992px) {
  #innerfooter ul {
    margin-bottom: -10px;
  }
}

#innerfooter a {
  font-size: 0.9375rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #252525;
}

#innerfooter a {
  text-decoration: none;
  position: relative;
  display: block;
  font-size: 1rem;
  font-weight: 400;
  padding: 6px 10px 6px 25px;
}

@media (min-width: 576px) {
  #innerfooter a::before {
    content: "";
    position: absolute;
    display: block;
    left: 10px;
    top: 16px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e08606;
    transition: background 300ms linear;
  }
}

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

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

.socialTab img {
  max-height: 25px;
  vertical-align: middle;
}

.socialTab a img {
  transition: all 0.3s 0s ease;
}

.socialTab a:is(:focus, :hover) img {
  transform: scale(1.3);
}

.map iFrame {
  border-radius: 20px;
}

/* #endregion -------------------------------- footer ------------------------------------------- */

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

#vernetzt {
  font-size: 0.875rem;
  color: #252525;
  line-height: 1.3;
  font-weight: 400;
  text-decoration: none;
}

#vernetzt span {
  display: block;
}

#vernetzt b {
  font-weight: 400;
}

#vernetzt b:is(:focus, :hover) {
  text-decoration: underline;
}