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

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

body {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  color: #404040;
  background-color: #d7efd7;
  font-size: clamp(1rem, 2vw, 1.375rem);
  line-height: 1.5;
}

a {
  color: #97430b;
}

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

b,
strong {
  font-weight: 700;
}

.overflow {
  overflow: clip;
  position: relative;
}
main {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (min-width: 1200px) {
  .rowSmall {
    padding-left: 20px;
    padding-right: 20px;
  }
}



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

form[id^="search"] {
    min-height: 35px;
    display: block;
    position: relative;
    background: #c3dfc6;
}

@media (max-width: 575px) {
    form[id^="search"] {
        display: inline-block;
    }
}

@media (min-width: 576px) {
    form[id^="search"] {
        margin-left: 30px;
    }
}

form [id^="search_input"] {
    font-size: 0.875rem;
    color: #404040;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    padding-left: 14px;
    padding-right: 54px;
    min-height: 35px;
    width: 100%;
    display: block;
}

form [id^="search_submit"] {
    width: 40px;
    background: url('../img/icon-lupe.png') center no-repeat;
    padding: 0;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 6px;
    bottom: 6px;
    right: 0;
    font-size: 0;
    border-left: 1px solid #0c4726;
    transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
}

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
    top: 0;
    bottom: 0;
    background-color: #fff;
}

[id^="search_input"]::-ms-input-placeholder {
    color: #404040 !important;
}

[id^="search_input"]::-webkit-input-placeholder {
    color: #404040 !important;
}

[id^="search_input"]::-moz-placeholder {
    opacity: 1;
}

[id^="search_input"]:-moz-placeholder {
    opacity: 1;
}


/* für :focus-visible -> setzt die Umrandung -3px weiter hinein */
form[id^="search"],
form [id^="search_input"],
form [id^="search_submit"] {
    outline-offset: -3px;
}

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

#topbar {
  color: #fff;
  background-color: #0c4726;
  padding: 10px 0 19px 0;
  hyphens: auto;
}

@media (min-width: 992px) {
  #topbar {
    margin-bottom: 14px;
  }
}

#topbar2 {
  margin-bottom: 20px;
  hyphens: auto;
}

/* #region ------------------------------------ phone + mail -------------------------------------------- */
#mail a,
#phone a {
  color: #fff;
  text-decoration: underline;
}
#mail,
#phone {
  color: #fff;
  display: inline-block;
  font-weight: 400;
  margin-top: 15px;
  line-height: 1;
  position: relative;
  min-height: 18px;
  font-size: 1rem;
}

@media (min-width: 992px) {
  #mail,
  #phone {
    margin-top: 0;
    display: inline-flex;
    align-items: center;
  }

  #mail {
    margin-left: 30px;
  }
}

#mail {
  padding-left: 35px;
  background: url("../img/icon-mail.png") center left no-repeat;
}

#phone {
  padding-left: 35px;
  background: url("../img/icon-telefon.png") center left no-repeat;
}
@media (min-width: 1200px) {
  #phone {
    margin-right: 126px;
  }
}
@media (min-width: 768px) {
  #phone {
    margin-right: 60px;
  }
}

#kontakt {
  font-style: normal;
  font-size: 1.125rem;
  color: #404040;
  font-weight: 300;
  line-height: 1.7;
}
#kontakt :is(b, strong) {
  font-weight: 400;
}


.bgAddress {
  background-color: #0c4726;
  padding: 5px;
}

/* #endregion --------------------------------- phone + mail -------------------------------------------- */

/* ----------------------------------------------- styler ----------------------------------------------- */

@media (min-width: 992px) {
  #style {
    margin-right: -10px;
    display: inline-block;
  }

  #style h2 {
    font-size: 1.125rem;
    font-weight: 400;
    color: #fff;
    width: auto;
    margin: 0;
  }

  #style button {
    color: #fff;
    font-weight: 400;
    background: transparent;
    border: none;
    padding: 0 10px;
    line-height: 1;
    font-size: 1.125rem;
  }

  #style button:is(:hover, :focus) {
    text-decoration: underline;
  }

  #style button + button {
    border-left: 1px solid #fff;
  }
}

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

.logo {
  display: inline-block;
}

.logo img {
  display: block;
}

@media (max-width: 991px) {
  .logo {
    margin-bottom: 28px;
    align-content: center;
    align-items: center;
    justify-content: center;
    display: flex;
    margin-top: 30px;
  }

  .logo img {
    max-width: 200px;
    width: 100%;
  }
}

@media (min-width: 992px) {
  .logo {
    margin-top: 10px;
    width: auto;
  }
}

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

nav.horizontally {
  background-color: #d7efd7;
}

/* 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: #0c4726;
    border-radius: 2px;
    position: absolute;
    width: 40px;
    height: 3px;
    left: 10px;
    transition: transform 200ms linear, opacity 200ms linear;
    display: block;
  }

  #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: #d7efd7;
    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: 5px;
  }

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

/* menu desktop */

@media (min-width: 992px) {
  .sticky-wrapper {
    border-top: solid 2px #0c4726;
    height: 100% !important;
  }
  .is-sticky nav.horizontally {
    border-bottom: solid 2px #0c4726;
  }

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

  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.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 a[class*="toplevel"] {
  color: #404040;
  font-weight: 500;
  text-align: left;
  padding: 20px 15px;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

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

@media (min-width: 992px) {
  nav.horizontally a[class*="toplevel"] {
    padding: 24px 15px;
    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: #fff;
  background-color: #0c4726;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
  padding: 12px 0;
  background-color: #ffffff;
  border: 1px solid #447505;
}

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

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



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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
  color: #1d1d1d;
  font-weight: 400;
  text-align: left;
  padding: 4px 30px;
  background-color: transparent;
  position: relative;
  font-size: 1rem;
  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"])::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 12px;
  display: block;
  width: 7px;
  height: 7px;
  background-color: #0c4726;
  opacity: 0;
  transition: opacity 300ms linear;
}

/* 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: #0c4726;
}

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within) > a::before,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]) > a:is(:hover, :focus)::before,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open > a::before,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open > a:is(:hover, :focus)::before,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"] > a::before,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"] > a:is(:hover, :focus)::before {
  opacity: 1;
}

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

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

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

h1,
.h1,
.legacy_h1 {
  font-size: clamp(2.8125rem, 4vw, 3.1875rem);
  margin-bottom: clamp(20px, 3vw, 30px);
}

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

h3,
.h3,
.legacy_h3 {
  font-size: clamp(2.25rem, 3vw, 2.625rem);
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
  font-size: clamp(2rem, 3vw, 2.375rem);
}

h5,
.h5,
.legacy_h5 {
  font-size: clamp(1.75rem, 3vw, 2.125rem);
}

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

/* ----------------------------------------------- content ---------------------------------------------- */
#content {
  padding-top: 0px;
  padding-bottom: 30px;
}
#content > .row {
  margin-top: 30px;
  margin-bottom: 30px;
  background-color: #d7efd7;
  padding-top: 25px;
  padding-bottom: 25px;
}

#leererBereich {
  height: clamp(300px, 23vw, 428px);
  border-bottom: solid 8px #ffffff;
}

body:not(.index) #leererBereich {
  height: clamp(250px, 10vw, 300px);
  border-bottom: solid 8px #ffffff;
}
/* ----------------------------------------------- footer ---------------------------------------------- */
/* ----------------------------------------------- @11f footer ----------------------------------------------- */

/* --------------------------------------------- order -------------------------------------------- */

@media (max-width: 991px) {
  .order1 {
    order: 1;
  }

  .order2 {
    order: 3;
  }

  .order3 {
    order: 2;
  }
}

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

#footer {
  color: #ffffff;
  font-size: 1.125rem;
  padding-top: 50px;
  padding-bottom: 57px;
  background-color: #0c4726;
  border-top: solid 10px #447505;
  line-height: 1.3;
  hyphens: auto;
}
@media (max-width: 991px) {
  #footer {
    margin-top: 0px;
    padding-top: 50px;
  }
}

#footer :is(h1, h2, h3, h4, h5, h6, .footerHeadline) {
  color: #ffffff;
  font-size: clamp(1.5625rem, 3vw, 2rem);
  font-weight: 400;
  margin-bottom: 20px;
}

#footer a {
  color: #ffffff;
}

#footer .footerTab a {
  color: #ffffff;
  text-decoration: underline;
}

#footer .footerTab a:hover,
#footer .footerTab a:focus {
  color: #c8ead7;
}

#footer .footerTab ul {
  padding: 0 !important;
}

#footer .footerTab ul li {
  list-style-type: none !important;
}

@media (max-width: 575px) {
  #footer > .row:nth-child(2) > * + * {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
  }
}

@media (min-width: 576px) {
  #footer > .row:nth-child(2) > * + *:not(:nth-child(2)) {
    border-left: 1px solid rgba(255, 255, 255, 0.3);
  }
}

@media (min-width: 992px) {
  #footer > .row:nth-child(2) > * + * {
    border-left: 1px solid rgba(255, 255, 255, 0.3);
  }

  #footer .footerTab {
    padding-top: 10px;
  }

  #footer .footerTab2 {
    padding-left: 20px;
  }
}

/* --------------------------------------------- iframeMapsTab -------------------------------------------- */

#footer iframe,
#footer .iframe-wrapper-manual-enabling {
  min-width: 100% !important;
  width: 100% !important;
  display: block;
}

#footer .iframeMapsTab {
  max-height: 210px;
  overflow: hidden;
}

@media (min-width: 576px) and (max-width: 991px) {
  #footer .iframeMapsTab {
    margin-top: 30px;
  }
}

/* --------------------------------------------- footer2 -------------------------------------------- */

#footer2 {
  padding: 26px 0;
  color: #404040;
  background: #d7efd7;
}

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

#innerfooter ul {
  padding: 0;
}

@media (max-width: 575px) {
  #innerfooter {
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    margin-top: 15px;
    padding-top: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  }
}

#innerfooter a {
  color: #fff;
  display: inline-block;
  font-weight: 400;
  font-size: 1.125rem;
  text-decoration: none !important;
  line-height: 1.6;
}
#innerfooter a:is(:hover, :focus) {
  text-decoration: underline !important;
  color: #fff !important;
}
/* --------------------------------------------- vernetzt -------------------------------------------- */

#vernetzt {
  gap: 10px;
  text-align: left;
  font-size: 1rem;
  color: #404040;
  line-height: 1.3;
  text-decoration: none;
}

#vernetzt span span {
  display: block;
}

#vernetzt :is(b, strong) {
  color: #0c4726;
  font-weight: 500;
}
