@import url("https://fonts.verwaltungsportal.de/import/?family=Oxygen:300,400,700%7COswald:400,700");

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

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

a {
  color: #2e478a;
}

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

b,
strong {
  font-weight: 700;
}

@media (min-width: 1200px) {
  .row {
    max-width: 1600px;
    width: 100%;
  }
}

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

#topbar {
  background-color: #fef6e0;
  color: #424242;
  font-size: 0.9375rem;
  font-weight: 300;
  padding: 15px 0;
}

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

  #topbar p {
    margin: 0;
    display: inline-block;
  }

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

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

@media (max-width: 991px) {
  #topbar {
    margin-bottom: 30px;
  }
}

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

.logo {
  display: flex;
  align-items: center;
  align-content: center;
  gap: 15px;
  text-decoration: none;
}

.logo .logoImg img {
  display: block;
}

.logo .logoTxt {
  color: #2e478a;
  display: block;
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(1.125rem, 4vw, 1.75rem);
  hyphens: auto;
  font-family: "Oswald", sans-serif;
  text-align: left;
}

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

  .logo .logoTxt {
    font-size: 1.125rem;
  }
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
  #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.15);
  }

  #burgerButton::before,
  #burgerButton::after,
  #burgerButtonInner {
    background-color: #2e478a;
    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: 12px;
  }

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

/* menu desktop */

@media (min-width: 992px) {
  #nav {
    padding: 15px 0 8px 0;
    background: #ffffff;
    transition: 150ms linear padding, 150ms linear box-shadow;
  }

  .is-sticky #nav {
    padding: 15px 0;
    box-shadow: 0 7px 12px 0 rgba(0, 0, 0, 0.08);
  }

  nav.horizontally .navbar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  nav.horizontally .navbar-nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: block !important;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms linear;
  }

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

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

  nav.horizontally .navbar-nav li.open>ul {
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden;
  }

  nav.horizontally .navbar-nav li:is(: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)>ul {
    z-index: 1003;
  }
}

/* toplevel */

nav.horizontally .navbar-nav a[class*="toplevel"] {
  color: #424242;
  font-weight: 400;
  text-align: left;
  padding: 15px 10px;
  text-transform: uppercase;
  position: relative;
  font-size: 1.1875rem;
  line-height: 1.2;
  text-decoration: none;
  font-family: "Oswald", sans-serif;
}

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

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

@media (min-width: 1200px) {
  nav.horizontally .navbar-nav a[class*="toplevel"] {
    padding: 10px 17px;
  }
}

nav.horizontally .navbar-nav a[class*="toplevel"]::before,
nav.horizontally .navbar-nav a[class*="toplevel"]::after {
  content: "";
  width: 0;
  height: 0;
  display: block;
  position: absolute;
  opacity: 0;
  transition: opacity 300ms linear, width 300ms linear, height 300ms linear;
}

nav.horizontally .navbar-nav a[class*="toplevel"]::before {
  border-top: 2px solid #a0a0a0;
  border-left: 2px solid #a0a0a0;
  top: 0;
  left: 0;
}

nav.horizontally .navbar-nav a[class*="toplevel"]::after {
  border-bottom: 2px solid #a0a0a0;
  border-right: 2px solid #a0a0a0;
  bottom: 0;
  right: 0;
}

nav.horizontally .navbar-nav li[class*="toplevel"]:nth-last-child(2)>a {
  color: #ffffff;
  border-radius: 4px;
  background: #424242;
}

nav.horizontally .navbar-nav li[class*="toplevel"]:nth-last-child(1)>a {
  color: #ffffff;
  border-radius: 4px;
  background: #2e478a;
}

nav.horizontally .navbar-nav li[class*="toplevel"]:nth-last-child(2)>a::before,
nav.horizontally .navbar-nav li[class*="toplevel"]:nth-last-child(2)>a::after,
nav.horizontally .navbar-nav li[class*="toplevel"]:nth-last-child(1)>a::before,
nav.horizontally .navbar-nav li[class*="toplevel"]:nth-last-child(1)>a::after {
  display: none;
}

/* toplevel-over */

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

nav.horizontally .navbar-nav li[class*="toplevel"]:is(:hover, :focus-within)>a::before,
nav.horizontally .navbar-nav li[class*="toplevel"]>a:is(:hover, :focus)::before,
nav.horizontally .navbar-nav li[class*="toplevel"].open>a::before,
nav.horizontally .navbar-nav li[class*="toplevel"].open>a:is(:hover, :focus)::before,
nav.horizontally .navbar-nav li[class*="toplevel"][class*="_over"]>a::before,
nav.horizontally .navbar-nav li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus)::before,
nav.horizontally .navbar-nav li[class*="toplevel"]:is(:hover, :focus-within)>a::after,
nav.horizontally .navbar-nav li[class*="toplevel"]>a:is(:hover, :focus)::after,
nav.horizontally .navbar-nav li[class*="toplevel"].open>a::after,
nav.horizontally .navbar-nav li[class*="toplevel"].open>a:is(:hover, :focus)::after,
nav.horizontally .navbar-nav li[class*="toplevel"][class*="_over"]>a::after,
nav.horizontally .navbar-nav li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus)::after {
  opacity: 1;
  width: 20px;
  height: 20px;
}

/* secondlevel + thirdlevel dropdown-box */

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

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

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

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

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

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

  nav.horizontally [class*="toplevel"]>ul::before {
    height: 10px;
    left: 0;
    right: 0;
    top: -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: #424242;
  text-align: left;
  padding: 8px 35px;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  font-family: "Oxygen", sans-serif;
  font-weight: 400;
}

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

/* 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: #2e478a;
  background-color: #fef6e0;
}

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

/* -------------------------------------------- banner ------------------------------------------ */

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

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

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

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

#headerpic {
  padding: 0;
  overflow: hidden;
  position: relative;
  border-bottom: 5px solid #ffffff;
}

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

@media (min-width: 768px) {
  #headerpic {
    background: #424242;
  }
}

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

.slider-mask {
  display: block;
  background: rgba(193, 49, 49, 0.3);
}

@media (min-width: 768px) {
  .slider-mask {
    background: radial-gradient(rgba(193, 49, 49, 0.3), rgba(43, 32, 28, 0.7));
  }
}

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

#bannerOverlay {
  font-size: clamp(1rem, 3vw, 2rem);
}

.bannerHeadline {
  text-transform: uppercase;
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  margin: 0;
}

@media (max-width: 767px) {
  #bannerOverlay {
    padding-top: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  }
}

@media (min-width: 768px) {
  #bannerOverlay {
    text-shadow: 2px 1px 4px rgba(0, 0, 0, 0.5);
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: 50px;
    z-index: 60;
  }

  #headerpic :is(a, button),
  #bannerOverlay,
  .bannerHeadline {
    color: #ffffff;
  }

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

#bannerOverlay a {
  text-shadow: none;
  font-size: 1rem;
  color: #ffffff;
  background: #2e478a;
  display: inline-block;
  border-radius: 4px;
  padding: 12px 50px 12px 15px;
  position: relative;
  overflow: hidden;
  margin-top: clamp(15px, 2vw, 30px);
  font-weight: 700;
  text-decoration: none;
}

#bannerOverlay a:is(:hover, :focus) {
  background: #fee7a1;
  color: #2e478a;
}

#bannerOverlay a+a {
  margin-left: 15px;
}

#bannerOverlay a::after {
  content: "\00BB";
  font-size: 22px;
  position: absolute;
  width: 34px;
  text-align: center;
  display: block;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  padding-top: 4px;
  font-weight: 400;
}

#bannerOverlay a:is(:hover, :focus)::after {
  background: rgba(255, 255, 255, 0.5);
}

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

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

#content {
  text-align: left;
  padding-top: clamp(40px, 4vw, 70px);
  padding-bottom: clamp(40px, 6vw, 95px);
}

/* ----------------------------------------------- partner ----------------------------------------------- */

#partner {
  padding: 0px 0 76px 0;
  background: #ffffff;
  line-height: 1;
}

.sponsoren {
  min-height: 90px;
}

/* ----------------------------------------------- @3nw news / events -------------------------------------------- */

#tabBereich {
  background-color: #fff7de;
  padding: 25px 0;
}

.nw3Tab {
  display: grid;
  gap: clamp(30px, 3vw, 45px);
  padding: 30px 140px;
}

@media (max-width: 1190px) {
  .nw3Tab {
    display: grid;
    gap: clamp(30px, 3vw, 45px);
    padding: 30px 30px;
  }
}

.nw3Tab .tabHeadline {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.875rem;
  font-style: normal;
  margin-bottom: 0;
  font-family: "Oswald", sans-serif;
}

#ev7 .tabHeadline {
  color: #2e478a;
  font-weight: 700;
  font-size: 1.875rem;
  font-style: normal;
  margin-bottom: 0;
  font-family: "Oswald", sans-serif;
}

.nw3Tab .tab {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #404040;
  font-weight: 400;
}

.nw3Tab .tab_link_entry {
  color: #404040;
  font-size: 1rem;
  position: relative;
  min-height: 90px;
  padding: 11px 22px 11px 11px;
  display: grid;
  background: #f9f9f9;
  border-bottom: none !important;
  position: relative;
  min-height: 105px;
  display: grid;
  background: #ffffff;
  border-bottom: none !important;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

.nw3Tab .tab_link_entries {
  display: grid;
  gap: 15px;
}

@media (min-width: 768px) {
  .nw3Tab .tab_link_entry {
    padding: 11px 22px 11px 105px;
  }

  .nw3Tab .tab_link_entries {
    gap: 25px;
  }
}

.nw3Tab .tab_link_title {
  order: 1;
}

.nw3Tab .vorschau {
  order: 3;
  opacity: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Begrenzung auf 2 Zeilen */
  -webkit-box-orient: vertical;
  overflow: hidden; /* Versteckt den überlaufenden Text */
  text-overflow: ellipsis; 
}

.nw3Tab .tab_date {
  order: 2;
}

.nw3Tab .tab_link_mandat a {
  color: #404040;
}

.nw3Tab .tab_link_title a {
  display: block;
  color: #404040;
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 1rem;
  font-family: "Oxygen", sans-serif;
}

.nw3Tab .tab_link_entry::after {
  content: "";
  background: center / cover no-repeat, #e3e3e3;
}

.nw3Tab .tab_preview_picture {
  background: #ffffff;
}

.nw3Tab .tab_link_entry::after,
.nw3Tab .tab_preview_picture {
  display: block;
  width: 85px;
  height: 100%;
  position: absolute;
  left: 0px;
  top: 0;
  overflow: hidden;
}

@media (max-width: 767px) {
  .nw3Tab .tab_link_entry {
    margin-left: 0px;
    padding-top: 185px !important;
  }

  .nw3Tab .tab_link_entry::after,
  .nw3Tab .tab_preview_picture {
    display: block;
    width: 100%;
    height: 165px;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0px;
    right: 0px;
    overflow: hidden;
  }
}

.nw3Tab .tab_preview_picture img {
  position: absolute;
  z-index: 2;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.nw3Tab .tab_spacer,
.nw3Tab .tab_link_entry>div:nth-last-child(2) {
  display: none;
}

/* ----------------------------------------------- @7ev events -------------------------------------------- */

#ev7 {
  font-size: 1rem;
  display: grid;
  row-gap: 15px;
  padding-top: 30px;
  padding-bottom: 30px;
}

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

#ev7 .ev7Tab {
  display: grid;
  gap: clamp(30px, 3vw, 45px);
  padding: clamp(20px, 4vw, 60px) clamp(20px, 6vw, 100px) clamp(40px, 4vw, 70px) clamp(20px, 6vw, 100px);
}

#ev7 .tab {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #404040;
  font-weight: 400;
}

#ev7 .tab_link {
  position: relative;
}

#ev7 .tab_link_entries {
  display: grid;
  gap: 15px;
}

#ev7 .tab_link_entry {
  color: #404040;
  font-size: 1rem;
  position: relative;
  min-height: 90px;
  padding: 11px 22px 11px 110px;
  display: grid;
  background: #f9f9f9;
  border-bottom: none !important;
  position: relative;
  min-height: 105px;
  display: grid;
  background: #ffffff;
  border-bottom: none !important;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

@media (max-width: 575px) {
  #ev7 .tab_link_entry {
    padding: 110px 22px 22px 22px;
  }
}

@media (min-width: 992px) {
  #ev7 .tab_link_entries {
    gap: 40px;
  }
}

#ev7 .tab_link_entry::after {
  content: "";
  position: absolute;
  pointer-events: none;
  display: block;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100px;
  height: 100%;
  background: url("../img/icon-kalender.png") center no-repeat, #2e478a;
}

@media (max-width: 575px) {
  #ev7 .tab_link_entry::after {
    width: 100%;
    height: 85px;
  }
}

#ev7 .tab_link_title {
  order: 1;
}

#ev7 .tab_link_mandat {
  order: 3;
}

#ev7 .tab_link_date {
  order: 2;
}

#ev7 .tab_link_title a {
  display: block;
  color: #404040;
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 1rem;
  font-family: "Oxygen", sans-serif;
}

#ev7 .tab_link_mandat a {
  color: #404040;
}

#ev7 .tab_preview_picture,
#ev7 .tab_spacer,
#ev7 .tab_link_entry>div:nth-last-child(2) {
  display: none;
}

/* -----------------------------------------  tab_link_mehr ---------------------------------------- */

.nw3Tab .tab_link_mehr {
  z-index: 12;
  margin: auto;
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
  font-size: 0;
  margin: 0 !important;
}

#ev7 .tab_link_mehr {
  font-size: 0;
  position: absolute;
  z-index: 12;
  left: 0;
  right: 0;
  bottom: -135px;
  margin: auto;
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {

  .nw3Tab .tab_link_mehr,
  #ev7 .tab_link_mehr {
    left: unset;
    top: -80px;
    right: -145px;
    bottom: 0;
  }
}

@media (min-width: 992px) {

  .nw3Tab .tab_link_mehr,
  #ev7 .tab_link_mehr {
    right: -165px;
  }
}

.nw3Tab .tab_link_mehr a,
#ev7 .tab_link_mehr a {
  text-decoration: none;
  position: relative;
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 5px 5px;
  width: 101px;
  height: 120px;
  transition: color 300ms linear, background 300ms linear;
  hyphens: inherit;
  text-align: center;
  word-break: break-word;
  font-family: "Oxygen", sans-serif;
}

.nw3Tab .tab_link_mehr a {
  background: #fef6e0;
  color: #2e478a;
}

.nw3Tab .tab_link_mehr a:is(:hover, :focus) {
  background: #fee7a1;
  color: #2e478a;
}

#ev7 .tab_link_mehr a {
  background: #2e478a;
  color: #fff;
}

#ev7 .tab_link_mehr a:is(:hover, :focus) {
  background: #fee7a1;
  color: #2e478a;
}

@media (max-width: 991px) {
  .nw3Tab .tab_link_mehr {
    margin-top: 15px !important;
  }

  #ev7 .tab_link_mehr {
    position: relative !important;
    margin-top: 15px !important;
    bottom: unset !important;
  }
}

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

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

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

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

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

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

/* ------------------------------------------ footer1 ------------------------------------------ */

#footer1 {
  font-size: 1rem;
  padding-top: clamp(30px, 5vw, 80px);
  padding-bottom: clamp(30px, 4vw, 60px);
}

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

#footer1 .tabHeadline {
  font-size: clamp(1.75rem, 2vw, 1.875rem);
  text-transform: uppercase;
  margin-bottom: 5px;
}

#footer1 .tab.tabKontakt a[href^="mailto:"] {
  color: #2e478a;
  text-decoration: underline;
}

#footer1 .tab.tabKontakt a:not([href^="mailto:"]) {
  margin-top: clamp(15px, 2vw, 30px);
  display: inline-block;
  text-decoration: none;
  font-size: 1rem;
  color: #ffffff;
  font-weight: 700;
  border-radius: 4px;
  padding: 12px 50px 12px 15px;
  background: #2e478a;
  position: relative;
}

#footer1 .tab.tabKontakt a:not([href^="mailto:"]):is(:hover, :focus) {
  background: #fee7a1;
  color: #2e478a;
}

#footer1 .tab.tabKontakt a:not([href^="mailto:"])::after {
  content: "\00BB";
  position: absolute;
  display: block;
  top: 0;
  right: 0;
  bottom: 0;
  font-weight: 400;
  font-size: 22px;
  width: 34px;
  text-align: center;
  padding-top: 4px;
  background: rgba(255, 255, 255, 0.1);
}

#footer1 .tab.tabKontakt a:not([href^="mailto:"]):is(:hover, :focus)::after {
  background: rgba(255, 255, 255, 0.5);
}

#footer1 .footerIcon {
  display: inline-block;
}

#footer1 .footerIcon .tabContent {
  margin-top: 35px;
}

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

#innerfooter ul {
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  padding: 0;
}

#innerfooter li {
  border-top: 2px solid rgba(0, 0, 0, 0.1);
}

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

#innerfooter a::before {
  content: "";
  position: absolute;
  display: block;
  left: 10px;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  transition: background 300ms linear;
}

#innerfooter a:is(:hover, :focus)::before {
  background: #2e478a;
}

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

#footer {
  padding: 26px 0;
  background: #fef6e0;
}

#footer>.row {
  row-gap: 26px;
}

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

#vernetzt {
  gap: 18px;
  text-align: right;
  font-size: 0.8125rem;
  color: #424242;
  line-height: 1.3;
  font-weight: 300;
  text-decoration: none;
}

#vernetzt strong {
  color: #2e478a;
  font-weight: 700;
}

#vernetzt span span {
  display: block;
}