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

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

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

a {
  color: #467500;
}

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

#content a,
b,
strong {
  font-weight: 600;
}

#content a,
.linkUnderline a {
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration 300ms;
}

#content a:is(:hover, :focus),
.linkUnderline a:is(:hover, :focus) {
  text-decoration-color: transparent;
  text-decoration: underline;
}

/* ------------------------------------------- Header --------------------------------------------- */

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

#topbarTabs {
  gap: 30px;
}

@media (min-width: 992px) {
  #topbar {
    background: linear-gradient(90deg, rgba(103, 173, 0, 0.72) 0%, rgb(255, 255, 255) 17%, rgb(255, 255, 255) 40%, rgb(103, 173, 0) 100%);
  }
  #topbarTabs {
    flex-direction: column;
  }
}

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

/* ------------------------------------------- Buttons --------------------------------------------- */
#btnSupport a {
  background: #d2fa96;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  color: #0d0d0d;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  padding: 20px 7px;
  margin-bottom: 40px;
  transition:
    margin 300ms,
    padding 300ms;
  position: relative;
  width: 4.6875rem;
  text-align: center;
  line-height: 1.1;
  min-height: 4.6875rem;
}

#btnSupport a + a {
  margin-left: 10px;
}

@media (min-width: 992px) {
  #btnSupport a:is(:hover, :focus) {
    margin-bottom: 0;
    padding-bottom: 60px;
    text-decoration: none;
  }
}

@media (max-width: 991px) {
  #btnSupport a {
    padding: 20px 7px 60px 7px;
    min-height: 116px;
  }
}

#btnSupport a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 50px;
  pointer-events: none;
  background: url(../img/icons/icon-logo.png);
  background-position: center top;
  bottom: 0;
  left: 0;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 300ms;
}

#btnSupport a:nth-of-type(2n + 2)::after {
  background-image: url(../img/icons/icon-herz.png);
}

@media (min-width: 992px) {
  #btnSupport a:is(:hover, :focus)::after {
    opacity: 1;
  }
}

@media (max-width: 991px) {
  #btnSupport a::after {
    opacity: 1;
  }
}

/* ------------------------------------------- Schriftgröße --------------------------------------------- */

@media (min-width: 992px) {
  #style span {
    font-weight: 600;
    font-size: 1rem;
    margin-right: 10px;
  }
  #style button {
    border: none;
    color: #fff;
    display: inline-block;
    width: 2.375rem;
    height: 2.375rem;
    border-radius: 50%;
    font-weight: 400;
    text-align: center;
    background-color: #467500;
    position: relative;
    line-height: 1;
  }
  #style button + button {
    margin-left: 5px;
  }
  #style button:hover {
    background: #d2fa96;
    color: #0d0d0d;
  }
  #style button:focus-visible {
    outline: 2px auto;
  }
}

/* ------------------------------------------- Suche --------------------------------------------- */

#search {
  height: 2.375rem;
  background: #d2fa96;
  display: inline-block;
  position: relative;
  min-width: 215px;
  margin-left: auto;
  border-radius: 100px;
  margin-bottom: 70px;
}
@media (max-width: 991px) {
  #search {
    margin-right: 0;
    margin-left: auto;
    margin-bottom: 0;
  }
}
#search_input {
  color: #0d0d0d;
  font-size: 16px;
  font-style: normal;
  background: transparent;
  padding: 0;
  border: 0;
  line-height: 2.375rem;
  padding-left: 15px;
  padding-right: 43px;
  height: 2.375rem;
  width: 100%;
}
#search_submit {
  width: 2.375rem;
  background: #467500 url("../img/lupe-icon.png") center no-repeat;
  border-radius: 100px;
  padding: 0;
  cursor: pointer;
  line-height: 2.375rem;
  border: none;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  font-size: 0;
  -webkit-transition: background-color 300ms linear;
  -moz-transition: background-color 300ms linear;
  -ms-transition: background-color 300ms linear;
  -o-transition: background-color 300ms linear;
  transition: background-color 300ms linear;
}
#search_submit:hover {
  background-color: #67ad00;
}
#search_input::-ms-input-placeholder {
  color: #0d0d0d !important;
  opacity: 1;
}
#search_input::-webkit-input-placeholder {
  color: #0d0d0d !important;
  opacity: 1;
}
#search_input::-moz-placeholder {
  color: #0d0d0d !important;
  opacity: 1;
}
#search_input:-moz-placeholder {
  color: #0d0d0d !important;
  opacity: 1;
}

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

#logo {
  display: inline-block;
}

#logo img {
  display: block;
}

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

/* #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.08);
  }

  #burgerButton::before,
  #burgerButton::after,
  #burgerButtonInner {
    background-color: #467500;
    border-radius: 2px;
    position: absolute;
    width: 40px;
    height: 5px;
    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: #67ad00;
    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: 4px;
  }
}

/* menu desktop */

@media (min-width: 992px) {
  nav.horizontally {
    background: #67ad00;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
  }
  nav.horizontally .navbar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    grid-area: 20px;
  }

  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, :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: #0d0d0d;
  font-weight: 600;
  padding: 15px 35px 15px 35px;
  position: relative;
  font-size: 1.25rem;
  line-height: 1.2;
  text-decoration: none;
}

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

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

/* toplevel-over */

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

/* secondlevel + thirdlevel dropdown-box */

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

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

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

  nav.horizontally [class*="toplevel"] > ul {
    left: 50%;
    transform: translate(-50%, 0);
    margin-top: 10px;
  }

  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: #0d0d0d;
  font-weight: 400;
  padding: 9px 25px;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
}

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

/* secondlevel + thirdlevel over */

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within) > a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]) > a:is(:hover, :focus),
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open > a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open > a:is(:hover, :focus),
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"] > a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"] > a:is(:hover, :focus) {
  color: #467500;
  text-decoration: underline;
}

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

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

#content > .row {
  text-align: left;
  padding-top: clamp(30px, 4vw, 60px);
  padding-bottom: clamp(30px, 4vw, 60px);
}

#content > .row {
  gap: 60px 0;
}

@media (min-width: 992px) {
  #content > .row {
    padding-left: 30px;
    padding-right: 30px;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
  }
}

#extra .tab {
  outline: 6px solid #67ad00;
  outline-offset: -6px;
  padding: 40px 50px;
}

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

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

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

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

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

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

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

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

/* ------------------------------------------- Tabs ------------------------------------------ */

.headlineTab .tab {
  background: #fff;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  height: 100%;
}
.headlineTab .tabHeadline {
  background: #67ad00;
  font-size: 1.25rem;
  padding: 20px 30px;
  color: #0d0d0d;
  margin-bottom: 25px;
}
.headlineTab .tabContent {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
}

#content .headlineTab .tab_link_title > a {
  color: #0d0d0d;
  text-decoration: none;
}

#content .headlineTab .tab_link_mandat > a {
  color: #0d0d0d;
  text-decoration: none;
  font-weight: 400;
}

#content .headlineTab .tab_link_mehr {
  font-size: 0;
}

#content .headlineTab .tab_link_mehr > a {
  font-size: 1rem;
}

#content .headlineTab .tab_link_mehr > a::after {
  content: " ››";
}

#sponsoren {
  padding: 30px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

/* ----------------------------------------------- @5f footer ----------------------------------------------- */

#f5 {
  padding-top: 22px;
  padding-bottom: 22px;
  background-color: #67ad00;
}

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

@media (max-width: 767px) {
  #innerfooter {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 15px;
    margin-bottom: 15px;
  }
}

#innerfooter ul {
  padding: 0;
}

#innerfooter li {
  display: inline-block;
}

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

#innerfooter a:hover,
#innerfooter a:focus {
  color: #0d0d0d;
  text-decoration: none;
}

#innerfooter li a {
  position: relative;
}

#innerfooter li a:is(:hover, :focus)::before {
  content: "";
  position: absolute;
  background: #0d0d0d;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  bottom: 0;
  top: 0;
  margin: auto;
  z-index: 0;
  pointer-events: none;
  left: -10px;
  display: block;
}

#innerfooter li {
  margin: 0 20px;
}

@media (max-width: 767px) {
  #innerfooter li {
    display: block;
    text-align: center;
    padding: 5px;
    margin: 0;
  }

  #innerfooter li + li::before {
    display: none;
  }
}

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

#vernetzt {
  gap: 12px;
  text-align: right;
  font-size: 0.9375rem;
  color: #0d0d0d;
  line-height: 1.3;
  text-decoration: none;
}

#vernetzt span span {
  display: block;
}
