
/* JKG visual refresh: navigation and gallery cards */
:root {
  --jkg-orange: #f08313;
  --jkg-black: #050505;
  --jkg-rust: #a52b14;
  --jkg-blue: #0867f2;
  --jkg-ink: #1f1f1f;
  --jkg-paper: #ffffff;
  --jkg-soft: #f7f4ef;
}

.header_wrapper,
.header_2 header#header {
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

#logo img {
  height: 76px !important;
  margin-top: -35px !important;
}

nav .menu > li > a {
  position: relative;
  padding: 10px 2px 18px;
  letter-spacing: .08em;
  transition: color .2s ease;
}

nav .menu > li > a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 9px;
  height: 3px;
  background: var(--jkg-orange);
  transition: left .22s ease, right .22s ease;
}

nav .menu > li > a:hover::after,
nav .menu > li.current-menu-item > a::after,
nav .menu > li.current-menu-parent > a::after {
  left: 0;
  right: 0;
}

nav .menu > li > a:hover,
nav .menu > li.current-menu-item > a,
nav .menu > li.current-menu-parent > a {
  color: var(--jkg-orange) !important;
}

.menu-small {
  display: none;
}

.extra_navigation {
  display: none !important;
}

.header_page {
  background: var(--jkg-orange) !important;
}

body.page-id-1628 #content {
  padding-top: 68px;
  padding-bottom: 72px;
}

body:is(.page-id-2, .parent-pageid-2) #content {
  padding-top: 72px;
  padding-bottom: 78px;
}

body:is(.page-id-2, .parent-pageid-2) .vc_row .vc_col-sm-2 {
  width: 29%;
}

body:is(.page-id-2, .parent-pageid-2) .vc_row .vc_col-sm-10 {
  width: 71%;
}

body:is(.page-id-2, .parent-pageid-2) .jahres-menu {
  position: sticky;
  top: 118px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  box-sizing: border-box;
  width: min(100%, 360px);
  margin: 0;
  padding: 18px;
  overflow: visible;
  list-style: none;
  border: 1px solid rgba(5, 5, 5, .08);
  border-top: 5px solid var(--jkg-orange);
  background: linear-gradient(180deg, #fff 0%, #fbfaf7 100%);
  box-shadow: 0 22px 54px rgba(5, 5, 5, .09);
}

body:is(.page-id-2, .parent-pageid-2) .jahres-menu::before {
  content: "Jahreschronik";
  grid-column: 1 / -1;
  margin: 0 0 6px;
  color: var(--jkg-black);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}

body:is(.page-id-2, .parent-pageid-2) .jahres-menu::after {
  content: none;
}

body:is(.page-id-2, .parent-pageid-2) .jahres-menu li {
  margin: 0;
  padding: 0;
}

body:is(.page-id-2, .parent-pageid-2) .jahres-menu li::marker {
  content: "";
}

body:is(.page-id-2, .parent-pageid-2) .jahres-menu a {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  min-height: 34px;
  padding: 9px 8px;
  border: 1px solid rgba(5, 5, 5, .08);
  background: #fff;
  color: var(--jkg-ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

body:is(.page-id-2, .parent-pageid-2) .jahres-menu a:hover,
body:is(.page-id-2, .parent-pageid-2) .jahres-menu a:focus {
  transform: translateY(-2px);
  border-color: var(--jkg-orange);
  background: var(--jkg-orange);
  color: #fff;
}

body:is(.page-id-2, .parent-pageid-2) .jahres-menu li:first-child a {
  border-color: var(--jkg-black);
  background: var(--jkg-black);
  color: #fff;
}

body:is(.page-id-2, .parent-pageid-2) .jahres-menu li:first-child a:hover,
body:is(.page-id-2, .parent-pageid-2) .jahres-menu li:first-child a:focus {
  border-color: var(--jkg-rust);
  background: var(--jkg-rust);
}

body.parent-pageid-2 .jahres-menu li:first-child a {
  border-color: rgba(5, 5, 5, .08);
  background: #fff;
  color: var(--jkg-ink);
}

body.parent-pageid-2 .jahres-menu li:first-child a:hover,
body.parent-pageid-2 .jahres-menu li:first-child a:focus,
body.parent-pageid-2 .jahres-menu li.current_page_item > a {
  border-color: var(--jkg-black);
  background: var(--jkg-black);
  color: #fff;
}

body:is(.page-id-2, .parent-pageid-2) .vc_col-sm-10 h2:first-child {
  margin-top: 2px;
}

body:is(.page-id-2, .parent-pageid-2) .vc_col-sm-10 p {
  max-width: 700px;
  font-size: 16px;
  line-height: 1.72;
}

body.page-id-858 #content {
  padding-bottom: 78px;
}

body.page-id-858 #content .vc_col-sm-1\/5 {
  box-sizing: border-box;
  padding-left: 10px;
  padding-right: 10px;
}

body.page-id-858 #content .vc_col-sm-1\/5 > .wpb_wrapper {
  min-height: 100%;
  padding: 24px 22px 26px;
  border: 1px solid rgba(5, 5, 5, .08);
  border-top: 5px solid var(--jkg-orange);
  background: linear-gradient(180deg, #fff 0%, #fbfaf7 100%);
  box-shadow: 0 20px 46px rgba(5, 5, 5, .08);
}

body.page-id-858 #content .vc_col-sm-1\/5 h3 {
  margin: 0 0 18px;
  color: var(--jkg-black);
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: .08em;
}

body.page-id-858 #content .section_clear > [class*="vc_col-sm-1/5"]:nth-of-type(5) .wpb_text_column h3 {
  font-size: 0;
}

body.page-id-858 #content .section_clear > [class*="vc_col-sm-1/5"]:nth-of-type(5) .wpb_text_column h3::before {
  content: "BIBLIOTHEK";
  color: var(--jkg-black);
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: .08em;
}

body.page-id-858 #content .vc_col-sm-1\/5 p {
  margin: 0 0 10px;
  color: var(--jkg-ink);
  font-size: 14px;
  line-height: 1.45;
}

body.page-id-858 #content .vc_col-sm-1\/5 p strong {
  color: var(--jkg-black);
}

body.page-id-858 #content .vc_col-sm-3 .wpb_text_column .wpb_wrapper > div:last-child p {
  box-sizing: border-box;
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(5, 5, 5, .08);
  border-left: 5px solid var(--jkg-orange);
  background: linear-gradient(180deg, #fff 0%, #fbfaf7 100%);
  box-shadow: 0 16px 34px rgba(5, 5, 5, .07);
  color: var(--jkg-black);
  max-width: 100%;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  line-height: 1.65;
  white-space: normal;
  overflow-wrap: anywhere;
}

body.page-id-858 #content .brlbs-cmpnt-container,
body.page-id-858 #content .brlbs-cmpnt-content-blocker,
body.page-id-858 #content .brlbs-cmpnt-cb-google-maps,
body.page-id-858 #content .wpb_raw_code,
body.page-id-858 #content .wpb_raw_code > .wpb_wrapper {
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100%;
  overflow: hidden;
}

body.page-id-858 #content p:has(+ .tablepress),
body.page-id-858 #content .wpb_wrapper > div:has(+ div .tablepress) > p,
body.page-id-858 #content .section_clear > [class*="vc_col-sm-1/5"]:nth-of-type(2) .wpb_text_column > .wpb_wrapper > p:nth-of-type(6),
body.page-id-858 #content .section_clear > [class*="vc_col-sm-1/5"]:nth-of-type(3) .wpb_text_column > .wpb_wrapper > div:nth-of-type(2) > p,
body.page-id-858 #content .section_clear > [class*="vc_col-sm-1/5"]:nth-of-type(5) .wpb_text_column > .wpb_wrapper > p:nth-of-type(4) {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  padding: 6px 10px;
  background: var(--jkg-black);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.1;
  text-transform: uppercase;
}

body.page-id-858 #content p:has(+ .tablepress) strong,
body.page-id-858 #content .wpb_wrapper > div:has(+ div .tablepress) > p strong,
body.page-id-858 #content .section_clear > [class*="vc_col-sm-1/5"]:nth-of-type(2) .wpb_text_column > .wpb_wrapper > p:nth-of-type(6) strong,
body.page-id-858 #content .section_clear > [class*="vc_col-sm-1/5"]:nth-of-type(3) .wpb_text_column > .wpb_wrapper > div:nth-of-type(2) > p strong,
body.page-id-858 #content .section_clear > [class*="vc_col-sm-1/5"]:nth-of-type(5) .wpb_text_column > .wpb_wrapper > p:nth-of-type(4) strong {
  color: #fff;
}

body.page-id-858 #content .section_clear > [class*="vc_col-sm-1/5"]:nth-of-type(2) .wpb_text_column > .wpb_wrapper > p:nth-of-type(6),
body.page-id-858 #content .section_clear > [class*="vc_col-sm-1/5"]:nth-of-type(3) .wpb_text_column > .wpb_wrapper > div:nth-of-type(2) > p,
body.page-id-858 #content .section_clear > [class*="vc_col-sm-1/5"]:nth-of-type(5) .wpb_text_column > .wpb_wrapper > p:nth-of-type(4),
body.page-id-858 #content .section_clear > [class*="vc_col-sm-1/5"]:nth-of-type(2) .wpb_text_column > .wpb_wrapper > p:nth-of-type(6) strong,
body.page-id-858 #content .section_clear > [class*="vc_col-sm-1/5"]:nth-of-type(3) .wpb_text_column > .wpb_wrapper > div:nth-of-type(2) > p strong,
body.page-id-858 #content .section_clear > [class*="vc_col-sm-1/5"]:nth-of-type(5) .wpb_text_column > .wpb_wrapper > p:nth-of-type(4) strong {
  font-size: 0;
}

body.page-id-858 #content .section_clear > [class*="vc_col-sm-1/5"]:nth-of-type(2) .wpb_text_column > .wpb_wrapper > p:nth-of-type(6)::before,
body.page-id-858 #content .section_clear > [class*="vc_col-sm-1/5"]:nth-of-type(3) .wpb_text_column > .wpb_wrapper > div:nth-of-type(2) > p::before,
body.page-id-858 #content .section_clear > [class*="vc_col-sm-1/5"]:nth-of-type(5) .wpb_text_column > .wpb_wrapper > p:nth-of-type(4)::before {
  font-size: 12px;
}

body.page-id-858 #content .section_clear > [class*="vc_col-sm-1/5"]:nth-of-type(2) .wpb_text_column > .wpb_wrapper > p:nth-of-type(6)::before {
  content: "BÜROZEITEN";
}

body.page-id-858 #content .section_clear > [class*="vc_col-sm-1/5"]:nth-of-type(3) .wpb_text_column > .wpb_wrapper > div:nth-of-type(2) > p::before {
  content: "SOZIALBÜROZEITEN";
}

body.page-id-858 #content .section_clear > [class*="vc_col-sm-1/5"]:nth-of-type(5) .wpb_text_column > .wpb_wrapper > p:nth-of-type(4)::before {
  content: "BIBLIOTHEKZEITEN";
}

body.page-id-858 #content .section_clear:has(> .vc_col-sm-1\/5) > .vc_col-sm-1\/5:nth-of-type(5) .wpb_text_column > .wpb_wrapper > p:nth-of-type(3),
body.page-id-858 #content .section_clear > [class*="vc_col-sm-1/5"]:nth-of-type(5) .wpb_text_column > .wpb_wrapper > p:nth-of-type(3),
body.page-id-858 #content .tablepress + .tablepress-edit-link,
body.page-id-858 #content .tablepress + p:has(a[href*="page=tablepress"]),
body.page-id-858 #content .tablepress + a[href*="page=tablepress"],
body.page-id-858 #content a[href*="admin.php?page=tablepress"],
body.page-id-858 #content a[href*="wp-admin/admin.php?page=tablepress"] {
  display: none !important;
}

body.page-id-858 #content .tablepress {
  display: block !important;
  width: 100% !important;
  margin: 10px 0 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 8px !important;
  background: transparent !important;
}

body.page-id-858 #content .tablepress tbody,
body.page-id-858 #content .tablepress tr,
body.page-id-858 #content .tablepress td {
  border: 0 !important;
  background: transparent !important;
}

body.page-id-858 #content .tablepress tbody {
  display: block !important;
  width: 100% !important;
}

body.page-id-858 #content .tablepress tr {
  display: grid;
  grid-template-columns: minmax(58px, .92fr) minmax(74px, 1.08fr);
  gap: 8px;
  width: 100%;
  align-items: stretch;
}

body.page-id-858 #content .tablepress td {
  display: flex;
  align-items: center;
  min-height: 38px;
  min-width: 0;
  box-sizing: border-box;
  padding: 8px 6px !important;
  color: var(--jkg-ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

body.page-id-858 #content .tablepress .column-1 {
  justify-content: center;
  border: 1px solid rgba(5, 5, 5, .08) !important;
  background: #fff !important;
  text-align: center;
  white-space: nowrap;
}

body.page-id-858 #content .tablepress .column-2 {
  justify-content: center;
  border: 1px solid rgba(240, 131, 19, .28) !important;
  background: rgba(240, 131, 19, .10) !important;
  color: var(--jkg-black);
  text-align: center;
  white-space: nowrap;
}

body.page-id-858 #content #tablepress-2 .row-1 .column-1,
body.page-id-858 #content #tablepress-2 .row-2 .column-1,
body.page-id-858 #content #tablepress-2 .column-2,
body.page-id-858 #content #tablepress-3 .column-2,
body.page-id-858 #content #tablepress-5 .column-2 {
  font-size: 0;
}

body.page-id-858 #content #tablepress-2 .row-1 .column-1::before,
body.page-id-858 #content #tablepress-2 .row-2 .column-1::before,
body.page-id-858 #content #tablepress-2 .column-2::before,
body.page-id-858 #content #tablepress-3 .column-2::before,
body.page-id-858 #content #tablepress-5 .column-2::before {
  font-size: 11px;
  line-height: 1.2;
}

body.page-id-858 #content #tablepress-2 .row-1 .column-1::before {
  content: "Mo · Di\A Do · Fr";
  font-size: 10px;
  letter-spacing: 0;
  text-align: center;
  white-space: pre-line;
}

body.page-id-858 #content #tablepress-2 .row-2 .column-1::before {
  content: "Di · Do";
}

body.page-id-858 #content #tablepress-2 .row-1 .column-2::before,
body.page-id-858 #content #tablepress-5 .column-2::before {
  content: "09 - 13 Uhr";
}

body.page-id-858 #content #tablepress-2 .row-2 .column-2::before {
  content: "15 - 17 Uhr";
}

body.page-id-858 #content #tablepress-3 .row-1 .column-2::before {
  content: "11 - 13 Uhr";
}

body.page-id-858 #content .tablepress tr:has(td:empty + td:empty) {
  display: none;
}

body:is(.page-id-976, .postid-976) #content {
  padding-top: 72px;
  padding-bottom: 78px;
}

body:is(.page-id-976, .postid-976) .vc_toggle {
  margin: 0 0 14px;
}

body:is(.page-id-976, .postid-976) .vc_toggle_title {
  position: relative;
  min-height: 46px;
  box-sizing: border-box;
  padding: 12px 16px 12px 50px !important;
  border: 1px solid rgba(5, 5, 5, .08);
  background: linear-gradient(180deg, #fff 0%, #fbfaf7 100%);
  box-shadow: 0 10px 24px rgba(5, 5, 5, .055);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body:is(.page-id-976, .postid-976) .vc_toggle_title:hover {
  transform: translateY(-1px);
  border-color: rgba(240, 131, 19, .42);
  box-shadow: 0 16px 34px rgba(5, 5, 5, .09);
}

body:is(.page-id-976, .postid-976) .vc_toggle_title h4 {
  margin: 0;
  color: var(--jkg-black);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

body:is(.page-id-976, .postid-976) .vc_toggle_icon {
  display: none !important;
}

body:is(.page-id-976, .postid-976) .vc_toggle_title::before {
  content: "\2721";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(240, 131, 19, .36);
  border-radius: 50%;
  background: rgba(240, 131, 19, .08);
  color: var(--jkg-orange);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

body:is(.page-id-976, .postid-976) .vc_toggle_active .vc_toggle_title::before {
  border-color: var(--jkg-black);
  background: var(--jkg-black);
  color: #fff;
}

body:is(.page-id-976, .postid-976) .vc_toggle_content {
  margin: 0 0 20px 50px;
  padding: 18px 0 2px;
  border-left: 3px solid rgba(240, 131, 19, .22);
}

body:is(.page-id-976, .postid-976) .vc_toggle_content > * {
  margin-left: 22px;
}

.jkg-gallery-section {
  margin-bottom: 0 !important;
}

.jkg-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 34px;
  width: min(820px, calc(100vw - 48px));
  max-width: 820px;
  margin: 0 auto;
}

.jkg-gallery-card {
  display: grid;
  box-sizing: border-box;
  min-height: 286px;
  border: 1px solid rgba(5, 5, 5, .08);
  background: var(--jkg-paper);
  color: var(--jkg-ink);
  text-decoration: none;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.jkg-gallery-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 131, 19, .55);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .13);
}

.jkg-gallery-card__media {
  display: grid;
  place-items: center;
  min-height: 210px;
  background:
    linear-gradient(135deg, rgba(240, 131, 19, .08), rgba(5, 5, 5, .02)),
    var(--jkg-soft);
}

.jkg-gallery-card__media img {
  width: 100%;
  height: 100%;
  max-height: 230px;
  object-fit: contain;
  display: block;
}

.jkg-gallery-card__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px 22px;
  border-top: 5px solid var(--jkg-orange);
}

.jkg-gallery-card__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--jkg-black);
}

.jkg-gallery-card__action {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--jkg-black);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  transition: background .2s ease;
}

.jkg-gallery-card:hover .jkg-gallery-card__action {
  background: var(--jkg-orange);
}

@media (max-width: 782px) {
  #logo img {
    height: 64px !important;
    margin-top: -29px !important;
  }

  .jkg-gallery-grid {
    grid-template-columns: 1fr;
    width: calc(100vw - 96px);
    max-width: 420px;
    gap: 24px;
  }

  .jkg-gallery-card {
    min-height: 250px;
  }
}

@media (max-width: 979px) {
  body.page-id-858 #content .section_clear:has(> .vc_col-sm-1\/5) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  body.page-id-858 #content .vc_col-sm-1\/5 {
    width: 100% !important;
    padding-left: 0;
    padding-right: 0;
  }

  body.page-id-858 #content .vc_col-sm-1\/5 > .wpb_wrapper {
    padding: 22px 20px 24px;
  }

  body:is(.page-id-2, .parent-pageid-2) #content {
    padding-top: 42px;
    overflow-x: hidden;
  }

  body:is(.page-id-2, .parent-pageid-2) #content .container {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 24px;
    padding-right: 24px;
    overflow: visible;
  }

  body:is(.page-id-2, .parent-pageid-2) #content .vc_row,
  body:is(.page-id-2, .parent-pageid-2) #content .section_clear {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body:is(.page-id-2, .parent-pageid-2) #content .section_clear {
    display: flex;
    flex-direction: column;
  }

  body:is(.page-id-2, .parent-pageid-2) .vc_row .vc_col-sm-2,
  body:is(.page-id-2, .parent-pageid-2) .vc_row .vc_col-sm-10 {
    width: 100%;
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
  }

  body:is(.page-id-2, .parent-pageid-2) .vc_row .vc_col-sm-2 {
    order: 2;
  }

  body:is(.page-id-2, .parent-pageid-2) .vc_row .vc_col-sm-10 {
    order: 1;
  }

  body.parent-pageid-2 .vc_row .vc_col-sm-2 {
    order: 1;
  }

  body.parent-pageid-2 .vc_row .vc_col-sm-10 {
    order: 2;
  }

  body:is(.page-id-2, .parent-pageid-2) .vc_col-sm-10 .wpb_wrapper,
  body:is(.page-id-2, .parent-pageid-2) .vc_col-sm-10 .wpb_text_column,
  body:is(.page-id-2, .parent-pageid-2) .vc_col-sm-10 .wpb_wrapper > div {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
  }

  body:is(.page-id-2, .parent-pageid-2) .jahres-menu {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: none;
    margin: 28px 0 0;
    padding: 16px;
    overflow: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  body.parent-pageid-2 .jahres-menu {
    margin: 0 0 28px;
  }

  body:is(.page-id-2, .parent-pageid-2) .jahres-menu::before {
    grid-column: 1 / -1;
    margin: 0 0 6px;
  }

  body:is(.page-id-2, .parent-pageid-2) .jahres-menu::after {
    display: none;
  }

  body:is(.page-id-2, .parent-pageid-2) .jahres-menu li {
    min-width: 0;
  }

  body:is(.page-id-2, .parent-pageid-2) .jahres-menu a {
    min-width: 0;
  }

  body:is(.page-id-2, .parent-pageid-2) .vc_col-sm-10 p {
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  #navigation {
    display: none !important;
  }

  header#header {
    position: relative;
  }

  .mobile_small_menu {
    display: block !important;
    position: absolute;
    left: calc((100% - 100vw) / 2 + 20px);
    top: 28px;
    box-sizing: border-box;
    width: 82px;
    height: 40px;
    border: 1px solid rgba(5, 5, 5, .10) !important;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92) !important;
    box-shadow: 0 10px 28px rgba(5, 5, 5, .10);
    color: var(--jkg-black) !important;
    opacity: 1 !important;
    z-index: 90;
  }

  .mobile_small_menu::before,
  .mobile_small_menu::after {
    content: "";
    position: absolute;
    display: block;
  }

  .mobile_small_menu::before {
    content: "Menü";
    left: 0;
    right: 0;
    top: 50%;
    width: auto;
    height: auto;
    color: var(--jkg-black);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .02em;
    text-align: center;
    transform: translateY(-55%);
  }

  .mobile_small_menu::after {
    left: 50%;
    bottom: 8px;
    width: 24px;
    height: 3px;
    border-radius: 999px;
    background: var(--jkg-orange);
    transform: translateX(-50%);
  }

  .menu-small {
    position: absolute;
    left: 50%;
    right: auto;
    top: 100px;
    z-index: 80;
    box-sizing: border-box;
    width: min(350px, calc(100vw - 40px));
    background: #fff !important;
    border: 1px solid rgba(5, 5, 5, .10) !important;
    border-top: 4px solid var(--jkg-orange) !important;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 24px 52px rgba(5, 5, 5, .18);
    padding: 10px;
    transform: translateX(-50%);
  }

  .menu-small ul {
    display: grid;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .menu-small li {
    margin: 0;
    padding: 0;
  }

  .menu-small a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    box-sizing: border-box;
    padding: 12px 14px;
    border-radius: 6px;
    color: var(--jkg-black) !important;
    background: transparent !important;
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1.25;
    text-transform: uppercase;
  }

  .menu-small a:hover,
  .menu-small a:focus {
    background: rgba(240, 131, 19, .10) !important;
    color: var(--jkg-black) !important;
    outline: none;
  }

  .menu-small li.current-menu-item > a {
    background: var(--jkg-black) !important;
    color: #fff !important;
  }

  .menu-small li.current-menu-parent > a {
    background: transparent !important;
    color: var(--jkg-black) !important;
  }

  .menu-small .menu-item-has-children > a::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-left: 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
  }

  .menu-small .sub-menu {
    margin: 2px 0 8px 14px;
    padding-left: 10px;
    border-left: 3px solid var(--jkg-orange) !important;
    background: transparent !important;
  }

  .menu-small .sub-menu a {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 12px;
    color: #555 !important;
  }

  .menu-small .sub-menu a:hover,
  .menu-small .sub-menu a:focus,
  .menu-small .sub-menu li.current-menu-item > a {
    background: rgba(240, 131, 19, .10) !important;
    color: var(--jkg-black) !important;
  }
}

@media (max-width: 520px) {
  body:is(.page-id-976, .postid-976) #content {
    padding-top: 48px;
  }

  body:is(.page-id-976, .postid-976) #content .container {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px;
    padding-right: 20px;
  }

  body:is(.page-id-976, .postid-976) .vc_col-sm-6 {
    box-sizing: border-box;
    width: 100% !important;
    padding-left: 0;
    padding-right: 0;
  }

  body:is(.page-id-976, .postid-976) .vc_toggle_title {
    padding-right: 12px !important;
  }

  body:is(.page-id-976, .postid-976) .vc_toggle_content {
    margin-left: 20px;
  }

  body:is(.page-id-976, .postid-976) .vc_toggle_content > * {
    margin-left: 16px;
  }

  body.page-id-858 #content {
    overflow-x: hidden;
  }

  body.page-id-858 #content .container {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px;
    padding-right: 20px;
  }

  body.page-id-858 #content .vc_col-sm-3,
  body.page-id-858 #content .vc_col-sm-9,
  body.page-id-858 #content .vc_col-sm-9 > .wpb_wrapper {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.page-id-858 #content .vc_col-sm-3,
  body.page-id-858 #content .vc_col-sm-9 {
    padding-left: 20px;
    padding-right: 20px;
  }

  body.page-id-858 #content .vc_col-sm-9 .wpb_raw_code,
  body.page-id-858 #content .brlbs-cmpnt-container,
  body.page-id-858 #content .brlbs-cmpnt-content-blocker,
  body.page-id-858 #content .brlbs-cmpnt-cb-google-maps {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.page-id-858 #content .section_clear:has(> .vc_col-sm-1\/5) {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body.page-id-858 #content .vc_col-sm-1\/5,
  body.page-id-858 #content .vc_col-sm-1\/5 > .wpb_wrapper,
  body.page-id-858 #content .tablepress {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.page-id-858 #content .vc_col-sm-3 .wpb_text_column .wpb_wrapper > div:last-child p {
    padding: 14px 15px;
    font-size: 12px;
  }

  body.page-id-858 #content .brlbs-cmpnt-cb-main,
  body.page-id-858 #content .brlbs-cmpnt-cb-content,
  body.page-id-858 #content .brlbs-cmpnt-cb-buttons {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.page-id-858 #content .brlbs-cmpnt-cb-main {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    padding: 18px 16px !important;
  }

  body.page-id-858 #content .brlbs-cmpnt-cb-content {
    padding: 0 !important;
  }

  body.page-id-858 #content .brlbs-cmpnt-cb-description {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 6px !important;
    font-size: 0 !important;
    line-height: 1.25 !important;
    overflow-wrap: break-word;
    text-align: center;
    white-space: normal !important;
  }

  body.page-id-858 #content .brlbs-cmpnt-cb-description::before {
    content: "Google Maps anzeigen?";
    display: block;
    font-size: 12px !important;
  }

  body.page-id-858 #content .brlbs-cmpnt-cb-buttons {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
  }

  body.page-id-858 #content .brlbs-cmpnt-cb-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    padding: 10px 12px !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere;
    text-align: center;
    white-space: normal !important;
  }

  body.page-id-858 #content .brlbs-cmpnt-cb-btn[data-borlabs-cookie-accept-service] {
    font-size: 0 !important;
  }

  body.page-id-858 #content .brlbs-cmpnt-cb-btn[data-borlabs-cookie-accept-service]::before {
    content: "Service akzeptieren und entsperren";
    font-size: 12px !important;
  }

  body:is(.page-id-2, .parent-pageid-2) #content .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  body:is(.page-id-2, .parent-pageid-2) .vc_row .vc_col-sm-2,
  body:is(.page-id-2, .parent-pageid-2) .vc_row .vc_col-sm-10,
  body:is(.page-id-2, .parent-pageid-2) .vc_col-sm-10 .wpb_wrapper,
  body:is(.page-id-2, .parent-pageid-2) .vc_col-sm-10 .wpb_text_column,
  body:is(.page-id-2, .parent-pageid-2) .vc_col-sm-10 .wpb_wrapper > div,
  body:is(.page-id-2, .parent-pageid-2) .vc_col-sm-10 p,
  body:is(.page-id-2, .parent-pageid-2) .jahres-menu {
    width: min(330px, calc(100vw - 40px)) !important;
    max-width: 330px !important;
  }

  body:is(.page-id-2, .parent-pageid-2) .jahres-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 16px;
    overflow: visible;
  }

  body:is(.page-id-2, .parent-pageid-2) .jahres-menu a {
    min-height: 36px;
    font-size: 12px;
  }
}
