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

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

body {
  font-family: "Urbanist", sans-serif;
  font-weight: 400;
  color: #3f4545;
  background: #ffffff;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.5;
}

a {
  color: #217d72;
}

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

#content a {
  text-decoration: underline;
}
#content a:is(:hover, :focus) {
  text-decoration: none;
}
b,
strong {
  font-weight: 700;
}
a:focus-visible,
button:focus-visible,
form:focus-visible,
input:focus-visible {
  outline: 3px solid #ff0000 !important;
}

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

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

#logo {
  display: inline-block;
}

#logo img {
  display: block;
}

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

  #logo img {
    max-width: 70px;
    width: 100%;
  }
}

@media (min-width: 992px) {
  #logo {
    position: absolute;
    margin-top: 33px;
  }
  #logo img {
    transition: all 300ms linear;
  }

  .is-sticky #logo img {
    display: block;
    max-width: 36%;
    padding: 10px 0;
  }

  .is-sticky #logo {
    position: relative;
    margin-top: 0px;
  }
}
.logoText {
  color: #0d5768;
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.125rem);
  margin-top: 40px;
}
@media (min-width: 991px) {
  .logoText {
    color: #0d5768;
    font-weight: 700;
    font-size: clamp(1.75rem, 4vw, 2.125rem);
    padding-left: 185px;
    margin-top: 40px;
  }
}
@media (min-width: 991px) and (max-width: 1199px) {
  .logoText{
   padding-left: 125px;
    margin-top: 10px;
  }
  #logo img {
    max-width: 110px;
  }
}

@media (max-width: 991px) {
 #logo img {
    max-width: 70px;
    
  }
   .logoText{
    font-size: clamp(1.25rem, 3vw, 1.5625rem);
    margin-top: 0px;
    align-content:center;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
  }
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
  nav.horizontally {
    position: relative;
    z-index: 101;
    background-color: #f5f5f7;
    transition: all 0.3s 0s linear;
  }

  .is-sticky nav.horizontally {
    background-color: #f5f5f7;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
  }
  #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: #0d5768;
    border-radius: 2px;
    position: absolute;
    width: 40px;
    height: 3px;
    left: 10px;
    transition:
      transform 200ms linear,
      opacity 200ms linear;
  }

  #burgerButton[aria-expanded="true"] #burgerButtonInner {
    transform: rotate(-45deg) translate(-6px, 6px);
  }

  #burgerButton[aria-expanded="true"]::before {
    opacity: 0;
  }

  #burgerButton[aria-expanded="true"]:after {
    transform: rotate(45deg) translate(-4px, -6px);
  }

  #burgerButtonInner {
    top: 16px;
  }

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

  #burgerButton::after {
    top: 32px;
    content: "";
  }

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

  .navbar-collapse {
    width: calc(100% - 90px);
    max-width: 300px;
    top: 0;
    background: #ffffff;
    position: fixed;
    left: -100%;
    bottom: 0;
    z-index: 100;
    height: auto !important;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    overflow-y: auto;
    transition:
      left 300ms linear,
      opacity 300ms linear,
      box-shadow 600ms linear;
    box-shadow: 250px 0 50vw 50vw rgba(255, 255, 255, 0);
  }

  .navbar-collapse:is([aria-expanded="true"], .in) {
    left: 0;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    box-shadow: 250px 0 50vw 50vw rgba(0, 0, 0, 0.6);
  }

  .navbar-header {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 101;
  }

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

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

/* menu desktop */

@media (min-width: 992px) {
  nav.horizontally {
    position: relative;
    z-index: 101;
    background-color: #f5f5f7;
    transition: all 0.3s 0s linear;
  }

  .is-sticky nav.horizontally {
    background-color: #f5f5f7;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
  }

  nav.horizontally .navbar-nav {
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-left: 50px;
  }

  nav.horizontally .navbar-nav > li {
    flex-grow: 1;
  }

  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:focus-within, :hover) > 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:is(:hover, :focus-within) > ul {
    z-index: 1003;
  }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
  color: #fff;
  background: #e9c46a;
  font-weight: 700;
  text-align: left;
  padding: 12px 15px;
  text-transform: uppercase;
  position: relative;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
}

nav.horizontally li[class*="toplevel"]:nth-child(5n + 2) > a {
  background: #f4a261;
}

nav.horizontally li[class*="toplevel"]:nth-child(5n + 3) > a {
  background: #ef542d;
}
nav.horizontally li[class*="toplevel"]:nth-child(5n + 4) > a {
  background: #009bb0;

}
nav.horizontally li[class*="toplevel"]:nth-child(5n + 5) > a {
  background: #773695;
}
@media (max-width: 991px) {
  nav.horizontally li[class*="toplevel"] {
    border-bottom: 2px solid #ffffff;
  }


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

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

  nav.horizontally a[class*="toplevel"] {
    padding: 19px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
  }
}

@media (max-width: 991px) {
  nav.horizontally a[class*="toplevel"] {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
  }
}

/* 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: #ba9d55;
  color: #fff;
}
nav.horizontally li[class*="toplevel"]:nth-child(5n + 2):is(:hover, :focus-within) > a,
nav.horizontally li[class*="toplevel"]:nth-child(5n + 2) > a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"]:nth-child(5n + 2).open > a,
nav.horizontally li[class*="toplevel"]:nth-child(5n + 2).open > a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"]:nth-child(5n + 2)[class*="_over"] > a,
nav.horizontally li[class*="toplevel"]:nth-child(5n + 2)[class*="_over"] > a:is(:hover, :focus) {
  background: #f18e40;
  color: #fff;
}
nav.horizontally li[class*="toplevel"]:nth-child(5n + 3):is(:hover, :focus-within) > a,
nav.horizontally li[class*="toplevel"]:nth-child(5n + 3) > a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"]:nth-child(5n + 3).open > a,
nav.horizontally li[class*="toplevel"]:nth-child(5n + 3).open > a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"]:nth-child(5n + 3)[class*="_over"] > a,
nav.horizontally li[class*="toplevel"]:nth-child(5n + 3)[class*="_over"] > a:is(:hover, :focus) {
  background: #bf4324;
  color: #fff;
}

nav.horizontally li[class*="toplevel"]:nth-child(5n + 4):is(:hover, :focus-within) > a,
nav.horizontally li[class*="toplevel"]:nth-child(5n + 4) > a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"]:nth-child(5n + 4).open > a,
nav.horizontally li[class*="toplevel"]:nth-child(5n + 4).open > a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"]:nth-child(5n + 4)[class*="_over"] > a,
nav.horizontally li[class*="toplevel"]:nth-child(5n + 4)[class*="_over"] > a:is(:hover, :focus) {
  background: #007c8d;
  color: #fff;
}

nav.horizontally li[class*="toplevel"]:nth-child(5n + 5):is(:hover, :focus-within) > a,
nav.horizontally li[class*="toplevel"]:nth-child(5n + 5) > a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"]:nth-child(5n + 5).open > a,
nav.horizontally li[class*="toplevel"]:nth-child(5n + 5).open > a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"]:nth-child(5n + 5)[class*="_over"] > a,
nav.horizontally li[class*="toplevel"]:nth-child(5n + 5)[class*="_over"] > a:is(:hover, :focus) {
  background: #5f2b77;
  color: #fff;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
  background-color: #f4a261;
}
nav.horizontally [class*="toplevel"]:nth-child(5n + 2) ul {
  background-color: #f4a261;
}
nav.horizontally [class*="toplevel"]:nth-child(5n + 3) ul {
  background-color: #ef542d;
}
nav.horizontally [class*="toplevel"]:nth-child(5n + 4) ul {
  background-color: #009bb0;
}
nav.horizontally [class*="toplevel"]:nth-child(5n + 5) ul {
  background-color: #773695;
}

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

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

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

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

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

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

  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: #fff;
  font-weight: 400;
  text-align: left;
  padding: 9px 25px;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
}


@media (max-width: 991px) {
  nav.horizontally a[class*="secondlevel"].dropdown-toggle2 {
    padding-right: 35px;
  }
  nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
  }
  
}

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

nav.horizontally li[class*="toplevel"]:nth-child(5n + 4) li:is([class*="secondlevel"], [class*="thirdlevel"]) + li:not(:nth-child(2)),
nav.horizontally li[class*="toplevel"]:nth-child(5n + 5) li:is([class*="secondlevel"], [class*="thirdlevel"]) + li:not(:nth-child(2)) {
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}
/* 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: #fff;
  color: #121212 !important;
}

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

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

#content {
  text-align: left;
  padding-bottom: clamp(40px, 6vw, 80px);
  padding-top: clamp(30px, 4vw, 60px);
}
body:not(.index) #content {
  margin-top: 60px;
}

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

/* ----------------------------------------------- @17ev events -------------------------------------------- */

#ev17 {
  padding: 30px 0;
  margin-bottom: 30px;
}

#ev17 > .row {
  row-gap: clamp(30px, 3vw, 40px);
}

#ev17 .specialHeadline {
  color: #ffffff;
  background: #11778d;
  padding: 0 0 0 50px;
  width: calc(100% - 30px);
  max-width: 1170px;
  margin: 0 auto;
}

#ev17 .tabHeadline {
  color: #ffffff;
  font-size: 1.5625rem;
  margin: 0px;
  font-weight: 700;
}
@media (max-width: 991px) {
  #ev17 .tabHeadline{
    text-align: left;
    padding:0px 15px;
  }
}

#ev17 .tab_link_mehr a,
#ev17 .specialHeadline a:not(.has-image):not([rel]) {
  text-decoration: none;
  display: inline-block;
  position: relative;
  text-align: left;
  color: #ffffff;
  font-size: 0.875rem;
  width: 100%;
  max-width: 241px;
  padding: 15px 15px 15px 50px;
  background: #0d5768;
  text-transform: uppercase;
}


#ev17 .tab_link_mehr a {
  margin-top: 20px;
  color: #fff;
  width: auto;
  max-width: unset;
  padding: 12px 20px 12px 50px;
  text-transform: none;
  background: #11778d;
}

#ev17 .tab_link_mehr {
  font-size: 0px;
  text-align: left !important;
}

#ev17 .tab_link_mehr a::before,
#ev17 .specialHeadline a::before {
  content: "";
  position: absolute;
  pointer-events: none;
  display: block;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" height="20px" viewBox="0 -960 960 960" width="20px" fill="%23ffffff"><path d="M120-520v-320h320v320H120Zm0 400v-320h320v320H120Zm400-400v-320h320v320H520Zm0 400v-320h320v320H520Z"/></svg>') center no-repeat;
}

#ev17 .tab_link_mehr a::before {
  background: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" height="20px" viewBox="0 -960 960 960" width="20px" fill="%23fff"><path d="M120-520v-320h320v320H120Zm0 400v-320h320v320H120Zm400-400v-320h320v320H520Zm0 400v-320h320v320H520Z"/></svg>') center no-repeat;
}

#ev17 .tab_link_mehr a:hover,
#ev17 .tab_link_mehr a:focus {
  color: #ffffff;
  background: #0d5768;
}



#ev17 .specialHeadline a:not(.has-image):not([rel]):hover,
#ev17 .specialHeadline a:not(.has-image):not([rel]):focus {
  background: #3f4545;
}

#ev17 .tab_link_mehr a:hover::before,
#ev17 .tab_link_mehr a:focus::before {
  background-image: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" height="20px" viewBox="0 -960 960 960" width="20px" fill="%23ffffff"><path d="M120-520v-320h320v320H120Zm0 400v-320h320v320H120Zm400-400v-320h320v320H520Zm0 400v-320h320v320H520Z"/></svg>');
}

@media (max-width: 768px) {
  #ev17 .specialHeadline {
    padding: 0px;
  }

  #ev17 .specialHeadline .tabHeadline {
    margin-bottom: 10px;
    margin-top: 10px;
  }

  #ev17 .specialHeadline a:not(.has-image):not([rel]) {
    max-width: unset;
  }
}

#ev17 .tab_link_entries {
  display: grid;
  gap: 30px;
}

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

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

#ev17 .tab_link_entry {
  width: 100%;
  font-size: 1.125rem;
  color: #3f4545;
  padding: 30px;
  background: #ffffff;
  box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.05);
}

#ev17 .tab_link_title {
  margin-bottom: 15px;
}

#ev17 .tab_link_title a {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  font-weight: 700;
  color: #11778d;
  display: inline-block;
}

#ev17 .tab_link_mandat a {
  color: #3f4545;
}

#ev17 .tab_spacer,
#ev17 .vorschau {
  display: none;
}
/* -------------------------------------- h1 - h6, newslink ------------------------------------- */

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

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

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

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.375rem;
}

/* -------------------------------------------- kontaktTab ---------------------------------------- */

#kontaktTab {
  padding: clamp(60px, 6vw, 88px) 0 60px 0;
  color: #3f4545;
  font-size: 1rem;
  background-color: #f5f5f7;
  position: relative;
  line-height: 1.8;
}
#kontaktTab::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 10px;
  top: 0px;
  z-index: 0;
  pointer-events: none;
  left: 0;
  display: block;
  background: linear-gradient(90deg, #e9c46a 0%, #e9c46a 10%, #f4a261 10%, #f4a261 20%, #e76f51 20%, #e76f51 30%, #2a9d8f 30%, #2a9d8f 40%, #18a9c9 40%, #18a9c9 50%, #e9c46a 50%, #e9c46a 60%, #f4a261 60%, #f4a261 70%, #e76f51 70%, #e76f51 80%, #2a9d8f 80%, #2a9d8f 90%, #18a9c9 90%, #18a9c9 100%);
}

#kontaktTab :is(h1, h2, h3, h4, h5, h6) {
  color: #11778d;
  margin-bottom: 30px;
  text-transform: uppercase;
  font-size: clamp(1.5625rem, 4vw, 1.875rem);
}

#kontaktTab :is(b, strong) {
  font-weight: 700;
}
#kontaktTab a {
  text-decoration: underline;
}

#kontaktTab a:is(:hover, :focus) {
  text-decoration: none;
}
/* ------------------------------------------- innerfooter -------------------------------------- */

#innerfooter {
  padding: 25px 0;
  font-size: 0.9375rem;
}

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

#innerfooter ul {
  padding: 0;
}

#innerfooter ul a {
  color: #3f4445;
  text-decoration: none;
}

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

  #innerfooter ul li + li::before {
    content: "•";
    margin: 0 clamp(15px, 2vw, 25px);
    color: #3f4445;
  }
}

#innerfooter ul a:is(:hover, :focus) {
  color: #217d72;
  text-decoration: underline;
}

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

#vernetzt {
  gap: 15px;
  text-align: right;
  font-size: 0.875rem;
  color: #3f4445;
  line-height: 1.4;
  font-weight: 400;
  text-decoration: none;
}
#vernetzt:is(b, strong) {
  font-weight: 700;
}

#vernetzt span span {
  display: block;
}
