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

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

body {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
  color: #444444;
  background: #ffffff;
  font-size: clamp(1rem, 2.3vw, 1.25rem);
  /* 1rem = 16px */
  line-height: 1.5;
  box-shadow: 0 0 100px 0 rgba(0, 0, 0, 0.1);
}

a {
  color: #d12e34;
}

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

b,
strong {
  font-weight: 700;
}

:is(main, #footer) a {
  text-decoration: underline;
}

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

/* #region --------------------------------------- logo ----------------------------------------- */

#logo {
  display: inline-block;
}

#logo img {
  display: block;
}

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

  #logo .row {
    margin-left: -15px;
    margin-right: -15px;
  }
}

/* #endregion ----------------------------------- logo ------------------------------------------ */

/* #region -------------------------------------- topbar ---------------------------------------- */

#topbar {
  padding: 15px 0 18px 0;
  line-height: 1.2;
  font-size: clamp(0.8125rem, 1vw, 1.125rem);
}

@media (min-width: 576px) and (max-width: 991px) {
  #topbar > .row > *:last-child > *:last-child {
    margin-right: 70px;
  }
}

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

/* contact col */

#phone-tab,
#mail-tab,
#contact-tab {
  border-radius: 40px;
  padding: 9px 18px 5px 18px;
  display: block;
  min-height: 42px;
  min-width: 42px;
  hyphens: auto;
}

/* phone */

#phone-tab,
#mail-tab {
  border: 2px solid #f7d331;
  padding-left: clamp(40px, 2vw, 48px);
  transition: 300ms background-color linear;
}

#phone-tab {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' viewBox='0 96 960 960' width='48'%3E%3Cpath d='M795 936q-122 0-242.5-60T336 720q-96-96-156-216.5T120 261q0-19.286 12.857-32.143T165 216h140q13.611 0 24.306 9.5Q340 235 343 251l27 126q2 14-.5 25.5T359 422L259 523q56 93 125.5 162T542 802l95-98q10-11 23-15.5t26-1.5l119 26q15.312 3.375 25.156 15.188Q840 740 840 756v135q0 19.286-12.857 32.143T795 936ZM229 468l81-82-23-110H180q0 39 12 85.5T229 468Zm369 363q41 19 89 31t93 14V769l-103-21-79 83ZM229 468Zm369 363Z' fill='%23444444'/%3E%3C/svg%3E") center left 10px / 24px auto no-repeat;
}

/* mail */

#mail-tab {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' viewBox='0 96 960 960' width='48'%3E%3Cpath d='M140 896q-24 0-42-18t-18-42V316q0-24 18-42t42-18h680q24 0 42 18t18 42v520q0 24-18 42t-42 18H140Zm340-302L140 371v465h680V371L480 594Zm0-60 336-218H145l335 218ZM140 371v-55 520-465Z' fill='%23444444'/%3E%3C/svg%3E") center left 10px / 24px auto no-repeat;
}

@media (min-width: 992px) {
  #mail-tab {
    margin-left: 20px;
  }
}

#mail-tab a,
#phone-tab a{
  color: #444444;
  text-decoration: none !important;
  text-wrap: wrap;
}

#mail-tab:is(:hover, :focus),
#phone-tab:is(:hover, :focus) {
  background-color: #f7d331;
  text-decoration: none !important;
}

/* #region ------------------------------- contrast + styler ------------------------------------ */
@media (min-width: 992px) {
  #style::before {
    content: "";
    display: block;
    pointer-events: none;
    position: absolute;
    left: -40px;
    top: calc(58% - 0px);
    background: rgba(0, 0, 0, 0.1);
    width: 10px;
    height: 10px;
    border-radius: 40px;
  }
}
#contrast_style + #style {
  margin-left: clamp(20px, 2vw, 40px);
}

#style {
  line-height: 1;
  position: relative;
  margin-left: 50px;
  margin-bottom: 20px;
}

@media (min-width: 992px) and (max-width: 1199px) {
  #options {
    row-gap: 4px;
  }

  #style {
    display: flex;
    align-items: center;
    column-gap: 5px;
  }
}

:is(#style) h2 {
  font-size: 15px;
  font-weight: 400;
  color: #444444;
  margin: 0 5px 5px 5px;
  font-family: "Josefin Sans", sans-serif;
}

:is(#style) button {
  font-size: 18px;
  padding: 0;
  border: none;
  color: #ffffff;
  display: inline-block;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  text-align: center;
  background: #d12e34;
  position: relative;
  line-height: 1;
}

:is(#style) button:is(:hover, :focus) {
  background: #f7d331;
  color: #444444;
  text-decoration: none;
}

:is(#style) button + button {
  margin-left: 2px;
}

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

/* #endregion ----------------------------------- topbar ---------------------------------------- */

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

/* 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: 2px;
    padding: 6px 8px;
    cursor: pointer;
    background-color: #ffffff;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
  }

  #burgerButton::before,
  #burgerButton::after,
  #burgerButtonInner {
    background-color: #d12e34;
    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 {
    padding: 20px 10px;
  }

  .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: 30px;
    right: 15px;
    z-index: 101;
    transition: top 300ms linear;
  }

  .is-sticky .navbar-header {
    top: 15px;
  }

  .dropdown-toggle-button-wrapper {
    top: 11px;
    right: 0;
  }

  .dropdown-toggle-button-wrapper2 {
    top: 1px;
    right: 0;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .navbar-header {
    top: 38px;
  }
}

/* menu desktop */

@media (min-width: 992px) {
  nav.horizontally {
    background: #ffffff;
    border-bottom: 6px solid #f7d331;
  }

  nav.horizontally .navbar-nav {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: -6px;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  nav.horizontally [class*="toplevel"] > ul {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
  }

  nav.horizontally [class*="secondlevel"] > ul {
    position: absolute;
    left: 100%;
    top: 0;
  }

  nav.horizontally .navbar-nav li {
    position: relative;
  }

  nav.horizontally .navbar-nav li :is([class*="toplevel"] > ul, [class*="secondlevel"] > ul) {
    display: block !important;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms linear;
  }

  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: #444444;
  font-weight: 700;
  text-align: left;
  padding: 14px 5px;
  position: relative;
  font-size: 1.25rem;
  line-height: 1.2;
  text-decoration: none;
  transition: border 300ms linear;
  font-family: "Atma", sans-serif;
}

@media (max-width: 991px) {
  nav.horizontally li[class*="toplevel"] + li {
    margin-top: 2px;
  }

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

@media (min-width: 992px) {
  nav.horizontally li[class*="toplevel"] + li {
    display: flex;
    align-content: center;
    align-items: center;
    flex-grow: 1;
  }

  nav.horizontally li[class*="toplevel"] + li::before {
    content: "";
    display: inline-block;
    opacity: 0.1;
    height: 20px;
    width: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='13px' height='13px'%3E%3Cpath fill='%23000' d='M8.374,0.644 C9.200,0.042 10.348,0.700 10.247,1.716 L9.983,4.347 L12.100,5.962 C12.881,6.558 12.636,7.793 11.685,8.044 L8.995,8.755 L8.071,11.366 C7.735,12.315 6.441,12.436 5.935,11.565 L4.640,9.334 L2.061,9.346 C1.053,9.350 0.503,8.173 1.152,7.403 L2.937,5.285 L2.189,2.605 C1.924,1.658 2.865,0.821 3.774,1.194 L6.238,2.203 L8.374,0.644 Z'/%3E%3C/svg%3E") center / 13px auto no-repeat;
    flex-grow: 1;
  }

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

nav.horizontally a[class*="toplevel"]::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 0;
  height: 6px;
  width: 0;
  background: #d12e34;
  transform: translateX(-50%);
  transition: width 300ms linear;
}

/* toplevel-over */

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 {
  width: 100%;
}

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: #d12e34;
}

/* secondlevel + thirdlevel dropdown-box */

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

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

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

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

  nav.horizontally [class*="toplevel"] > ul {
    border-radius: 0 0 6px 6px;
  }

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

  nav.horizontally [class*="secondlevel"] > ul::before {
    content: "";
    position: absolute;
    display: block;
    width: 12px;
    top: 0;
    bottom: 0;
    left: -12px;
  }
}

/* secondlevel + thirdlevel */

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

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
  color: #40360d;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 400;
  padding: 10px 20px 10px 40px;
  line-height: 1.2;
  text-decoration: none;
  position: relative;
}

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

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::after {
  content: "";
  display: block;
  position: absolute;
  pointer-events: none;
  opacity: 0;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='13px' height='13px'%3E%3Cpath fill='%23f7d331' d='M8.374,0.644 C9.200,0.042 10.348,0.700 10.247,1.716 L9.983,4.347 L12.100,5.962 C12.881,6.558 12.636,7.793 11.685,8.044 L8.995,8.755 L8.071,11.366 C7.735,12.315 6.441,12.436 5.935,11.565 L4.640,9.334 L2.061,9.346 C1.053,9.350 0.503,8.173 1.152,7.403 L2.937,5.285 L2.189,2.605 C1.924,1.658 2.865,0.821 3.774,1.194 L6.238,2.203 L8.374,0.644 Z'/%3E%3C/svg%3E") center / 13px auto no-repeat;
  transition: 300ms opacity linear, 300ms transform linear;
}

/* secondlevel + thirdlevel over */

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;
  transform: rotate(90deg);
}

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: #d12e34;
}

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

/* #region ------------------------------------- resp-gaps -------------------------------------- */

#topbar .row {
  row-gap: 15px;
}

#news .tab_link_entries,
#about-1 .row,
:is(#news, #innerfooter) > .row {
  row-gap: 30px;
}

:is(#headerpic, #footer) > .row {
  row-gap: 40px;
}

/* #endregion ---------------------------------- resp-gaps -------------------------------------- */

/* #region -------------------------------------- header ---------------------------------------- */

#headerpic {
  font-size: 1.125rem;
  padding-top: 50px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='1920px' height='100px'%3E%3Cpath fill='%23fff' d='M0.000,-0.000 C0.000,-0.000 479.333,100.1000 958.1000,100.1000 C1439.333,100.1000 1920.1000,-0.000 1920.1000,-0.000 L1920.1000,100.1000 L0.000,100.1000 L0.000,-0.000 Z'/%3E%3C/svg%3E") center bottom / 101% auto no-repeat, url("../img/bg-header.png") center / cover no-repeat, #d12e34;
  position: relative;
  z-index: 1;
}

.index #headerpic {
  padding: clamp(50px, 10vw, 110px) 0 clamp(100px, 10vw, 144px) 0;
}

/* header text */

@media (min-width: 768px) {
  body:not(.index) #header-text {
    padding-bottom: clamp(30px, 3vw, 50px);
  }
}

@media (min-width: 992px) {
  #header-text {
    padding-right: clamp(30px, 5vw, 60px);
  }
}

#headerpic,
#headerpic :is(h1, h2, h3, h4, h5, h6),
.slider-wrapper a {
  color: #ffffff;
  line-height: 1.5;
}

#headerpic :is(h1, h2, h3, h4, h5, h6) {
  font-size: 2.625rem;
}
#headerpic p :is(i, em) {
  font-weight: 500;
  background: #444444;
  padding: 6px 15px 4px 15px;
  border-radius: 6px;
  font-style: normal;
  display: inline-block;
  margin-bottom: 22px;
}

body:not(.index) #headerpic p {
  display: none;
}

body:not(.index) #headerpic :is(h1, h2, h3, h4, h5, h6) {
  margin: 0;
}

/* scroll to content button */

#scroll2Content {
  position: absolute;
  z-index: 2;
  display: block;
  width: 50px;
  height: 50px;
  bottom: -27px;
  left: calc(50% - 25px);
  background: #ffffff;
  border-radius: 6px;
  transform: rotate(45deg);
}

#scroll2Content::after {
  content: "";
  display: block;
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: 10px;
  left: 10px;
  transform: rotate(-45deg);
  background: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M24 39.4q-.25 0-.525-.1t-.525-.35l-13.9-13.9Q8.6 24.6 8.6 24q0-.6.45-1.05.45-.45 1.05-.45.6 0 1.05.45L22.5 34.3V9.5q0-.65.425-1.075Q23.35 8 24 8q.65 0 1.075.425.425.425.425 1.075v24.8l11.35-11.35q.45-.45 1.05-.45.6 0 1.05.45.45.45.45 1.05 0 .6-.45 1.05l-13.9 13.9q-.25.25-.5.35-.25.1-.55.1Z' fill='%23444444'/%3E%3C/svg%3E") center -2px / 34px auto;
  transition: background-position 300ms linear;
}

#scroll2Content:is(:hover, :focus)::after {
  background-position-y: 32px;
}

/* #endregion ----------------------------------- header ---------------------------------------- */

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

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

@media (min-width: 992px) {
  body.index #slider {
    height: 460px;
  }

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

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

#headerpic .slider-wrapper {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(-50px, -2vw, -10px);
}

#slider,
#headerpic .slider-wrapper::after {
  border-radius: clamp(100px, 15vw, 200px) 50px;
}

#headerpic .slider-wrapper::after {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  right: -30px;
  bottom: -30px;
  left: 30px;
  top: 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.nivo-main-image,
#slider > a > div {
  height: 100% !important;
}

.slider-mask {
  display: none;
}

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

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

#content-area {
  text-align: left;
  padding: clamp(45px, 5vw, 60px) 0 clamp(40px, 10vw, 100px) 0;
}

/* ----------------------------------------------- @6nw news -------------------------------------------- */

#nw6 {
  font-size: 1rem;
  padding-top: clamp(30px, 4vw, 65px);
  padding-bottom: clamp(30px, 3vw, 50px);
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll, fixed;
  background-size: cover;
}

@media (min-width: 1200px) {
  #nw6 > .row::after {
    content: "";
    position: absolute;
    background: url(../img/deko-elemente-links.png) no-repeat;
    width: 243px;
    height: 415px;
    top: 18px;
    z-index: 0;
    pointer-events: none;
    left: -280px;
    display: block;
  }
  #nw6 > .row::before {
    content: "";
    position: absolute;
    background: url(../img/deko-elemente-rechts.png) no-repeat;
    width: 243px;
    height: 415px;
    top: 168px;
    z-index: 0;
    pointer-events: none;
    right: -280px;
    display: block;
  }

  .tab_link_mehr_main::after {
    content: "";
    position: absolute;
    background: url(../img/deko-stern.png) no-repeat;
    width: 28px;
    height: 27px;
    top: 10px;
    z-index: 0;
    pointer-events: none;
    left: 290px;
    display: block;
  }
}

#nw6 .tab_link_mehr_main {
  position: relative;
}
#nw6 .tabHeadline {
  color: #d12e34;
  font-size: clamp(2.1875rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 5px;
}

#nw6 .tabContent {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #444444;
}

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

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

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

@media (min-width: 768px) {
  #nw6 .tab_link {
    margin-top: 18px;
  }

  #nw6 .tab_link_entries {
    grid-template-columns: repeat(3, 1fr);
  }
}

#nw6 .tab_link_entry {
  text-align: center;
  position: relative;
  width: 100%;
  border-bottom: none !important;
  padding: 165px 20px 20px 20px;
  background: #d12e34;
  box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  color: #fff;
}

#nw6 .tab_link_entry::before {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: center / cover no-repeat, #666666;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
}

#nw6 .tab_link_entry .tab_preview_picture {
  position: absolute;
  display: block;
  left: 0;
  right: 0;
  top: 0;
  height: 150px;
  overflow: hidden;
  background: #ffffff;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
}

#nw6 .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;
  transform: translateX(-50%) translateY(-50%);
}

#nw6 .tab_date {
  position: absolute;
  display: inline-block;
  z-index: 1;
  left: 50%;
  top: 134px;
  font-weight: 400;
  font-style: italic;
  font-size: 1rem;
  color: #444444;
  padding: 4px 10px;
  background: #f7d331;
  transform: translateX(-50%);
  border-radius: 10px;
}

#nw6 .tab_link_title a {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  text-decoration: none;
  font-family: "Atma", sans-serif;
}

#nw6 .tab_link_entry > div:nth-last-child(2) {
  font-size: 0;
  line-height: 0;
}

#nw6 .tab_link_entry > div:nth-last-child(2) > a {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  text-align: center;
  font-size: 0;
  color: #ffffff;
  font-weight: 400;
  display: flex !important;
  justify-content: center;
  align-items: center;
  align-content: center;
  background: linear-gradient(to bottom, rgba(209, 46, 52, 0.8), rgba(209, 46, 52, 1) 150px);
  opacity: 0;
  transition: opacity 200ms linear;
  border-radius: 50px;
}

#nw6 .tab_link_entry:hover div:nth-last-child(2) > a {
  opacity: 1;
}

#nw6 .tab_link_entry div:nth-last-child(2) > a::before {
  content: "";
  position: absolute;
  display: block;
  top: 50%;
  left: 50%;
  margin-left: -40px;
  margin-top: -60px;
  width: 80px;
  height: 80px;
  background: url("../../../mbs/img/6nw/mehr-erfahren.png") center no-repeat;
  /*Replace url with ("../img/YOUR-IMAGE.png")*/
}

#nw6 div:nth-last-child(2) > a::after {
  content: "mehr erfahren";
  margin-top: 100px;
  font-size: 1.25rem;
}

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

/* ----------------------------------------- @6nw tab_link_mehr_main ---------------------------------------- */

#nw6 .tab_link_mehr_main {
  color: transparent;
  font-size: 0;
  text-align: right;
}

#nw6 .tab_link_mehr_main a {
  text-decoration: none;
  display: inline-block;
  position: relative;
  font-size: 1rem;
  font-weight: 700;
  color: #444444;
  padding: 13px 25px;
  background: #f7d331;
  transition: color 300ms linear, background 300ms linear;
  border-radius: 15px;
}

@media (min-width: 992px) {
  #nw6 .tab_link_mehr_main a {
    padding: 13px 60px;
  }
}

#nw6 .tab_link_mehr_main a:hover,
#nw6 .tab_link_mehr_main a:focus {
  color: #ffffff;
  background: #d12e34;
}

/* #endregion ------------------------------------ buttons -------------------------------------- */

/* #region ---------------------------------- h1 - h6, newslink --------------------------------- */

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
  color: #d12e34;
  font-weight: 700;
  line-height: 1;
  font-family: "Atma", sans-serif;
  margin-bottom: 15px;
}

h1,
.h1,
.legacy_h1 {
  font-size: clamp(2.25rem, 6vw, 3.125rem);
  margin-bottom: clamp(15px, 4vw, 38px);
}

h2,
.h2,
.legacy_h2 {
  font-size: clamp(2.0625rem, 5.5vw, 2.5rem);
}

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

h4,
.h4,
.legacy_h4 {
  font-size: clamp(1.6875rem, 4.5vw, 2.1875rem);
}

h5,
.h5,
.legacy_h5,
#about-2 :is(h3, h4, h5, h6) {
  font-size: clamp(1.5625rem, 4vw, 1.875rem);
}

h6,
.h6,
.legacy_h6 {
  font-size: clamp(1.4375rem, 3.5vw, 1.5625rem);
}

/* #endregion ---------------------------------- h1 - h6, newslink ------------------------------ */

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

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

footer {
  color: #444444;
}

#footer {
  padding: clamp(60px, 10vw, 100px) 0 clamp(40px, 5vw, 60px) 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='1920px' height='100px'%3E%3Cpath fill='%23fff' d='M0.000,100.000 C0.000,100.000 480.000,0.000 958.1000,0.000 C1440.000,0.000 1920.1000,100.000 1920.1000,100.000 L1920.1000,0.000 L0.000,0.000 L0.000,100.000 Z'/%3E%3C/svg%3E") center top / 101% auto no-repeat, url("../img/footer-bg.png") center bottom / 100% auto no-repeat, #d12e34;
}

#footer a {
  color: #d12e34;
  font-weight: 400;
}

#footer :is(h1, h2, h3, h4, h5, h6) {
  font-size: 1.375rem;
  color: #d12e34;
  font-weight: 700;
}

.footer-tab {
  border: 1px rgba(255, 255, 255, 0.3) solid;
  border-radius: 50px;
  background: #fff;
  padding: 40px clamp(20px, 2vw, 30px) 34px calc(clamp(20px, 2vw, 30px) + 20px);
  position: relative;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  height: 100%;
  min-height: 100%;
  hyphens: auto;
}

.footer-tab-1 strong {
  font-weight: 400;
  font-size: 1.25rem;
}
.footer-tab::after {
  content: "";
  display: block;
  position: absolute;
  left: -10px;
  top: -10px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #ffffff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 30px auto;
}

.footer-tab-1::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' viewBox='0 96 960 960' width='48'%3E%3Cpath d='M795 936q-122 0-242.5-60T336 720q-96-96-156-216.5T120 261q0-19.286 12.857-32.143T165 216h140q13.611 0 24.306 9.5Q340 235 343 251l27 126q2 14-.5 25.5T359 422L259 523q56 93 125.5 162T542 802l95-98q10-11 23-15.5t26-1.5l119 26q15.312 3.375 25.156 15.188Q840 740 840 756v135q0 19.286-12.857 32.143T795 936ZM229 468l81-82-23-110H180q0 39 12 85.5T229 468Zm369 363q41 19 89 31t93 14V769l-103-21-79 83ZM229 468Zm369 363Z' fill='%23444444'/%3E%3C/svg%3E");
}

.footer-tab-2::after {
  background-size: 32px auto;
  background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M18.5 25.5v-9.25L24 12.6l5.5 3.65v9.25h-3v-6h-5v6ZM24 40.05q6.65-6.05 9.825-10.975Q37 24.15 37 20.4q0-5.9-3.775-9.65T24 7q-5.45 0-9.225 3.75Q11 14.5 11 20.4q0 3.75 3.25 8.675Q17.5 34 24 40.05ZM24 44q-8.05-6.85-12.025-12.725Q8 25.4 8 20.4q0-7.5 4.825-11.95Q17.65 4 24 4q6.35 0 11.175 4.45Q40 12.9 40 20.4q0 5-3.975 10.875T24 44Z' fill='%23444444'/%3E%3C/svg%3E");
}

.footer-tab-3::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' viewBox='0 96 960 960' width='48'%3E%3Cpath d='M140 896q-24 0-42-18t-18-42V316q0-24 18-42t42-18h680q24 0 42 18t18 42v520q0 24-18 42t-42 18H140Zm340-302L140 371v465h680V371L480 594Zm0-60 336-218H145l335 218ZM140 371v-55 520-465Z' fill='%23312069'/%3E%3C/svg%3E");
}

#innerfooter {
  padding: 30px 0;
  background: #444444;
  color: #fff;
}

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

#innerfooter ul {
  padding: 0;
}

@media (min-width: 576px) {
  #innerfooter li + li::before {
    content: "•";
    margin: 0 clamp(15px, 2vw, 22px);
    color: #f7d331;
  }

  #innerfooter li {
    display: inline-block;
  }
}

#innerfooter li a {
  color: inherit;
  display: inline-block;
}

#innerfooter li a:is(:hover, :focus) {
  color: #f7d331;
}
@media (max-width: 575px) {
  #innerfooter li a {
    padding: 4px;
    display: inline-block;
  }
}

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

/* #region -------------------------------------- vernetzt -------------------------------------- */

#innerfooter #vernetzt {
  gap: 15px;
  text-align: right;
  font-size: 0.875rem;
  color: #ffffff;
  line-height: 1.3;
  text-decoration: none;
}

#innerfooter #vernetzt b {
  color: #f7d331;
  font-weight: 400;
}
#innerfooter #vernetzt span span {
  display: block;
}

/* #endregion -------------------------------- vernetzt ----------------------------------------- */
