* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: #241f1b;
  background: #fff;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: #5b61c9;
}

a:hover,
a:focus {
  color: #7a4b1f;
}

.rg-home-places-link {
  display: block;
  margin: 0 0 18px;
  color: #2f251c;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.rg-home-places-link:hover,
.rg-home-places-link:focus {
  color: #7a4a22;
  text-decoration: underline;
}

.rg-header {
  position: relative;
  z-index: 100;
  border-bottom: 1px solid #dedede;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.rg-header__inner,
.rg-footer__inner,
.rg-container {
  width: min(100% - 32px, 1140px);
  margin: 0 auto;
}

.rg-header__inner {
  display: flex;
  justify-content: flex-start;
  gap: 52px;
  align-items: center;
  flex-wrap: nowrap;
  min-height: 82px;
  padding: 18px 0 17px;
}

.rg-header__brand {
  flex: 0 0 auto;
  min-width: 0;
}

.rg-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.rg-logo__image {
  display: block;
  width: 320px;
  max-width: 100%;
  height: auto;
}

.rg-logo:hover .rg-logo__image,
.rg-logo:focus .rg-logo__image {
  opacity: 0.88;
}

.rg-header__navwrap {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
}

.rg-top-nav {
  flex: 0 0 auto;
}

.rg-header__search {
  position: relative;
  z-index: 110;
  flex: 0 1 376px;
  margin-left: auto;
}

.rg-top-menu,
.rg-secondary-nav__list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.rg-top-menu {
  gap: 28px;
  align-items: center;
  font-size: 16px;
  font-weight: 400;
}

.rg-top-menu__item,
.rg-secondary-nav__item,
.rg-top-menu > .menu-item {
  position: relative;
}

.rg-top-menu a,
.rg-secondary-nav__link {
  text-decoration: none;
}

.rg-top-menu a {
  color: #000;
}

.rg-top-menu a:hover,
.rg-top-menu a:focus {
  color: #7a4b1f;
}

.rg-top-menu a.is-active,
.rg-top-menu .current-menu-item > a,
.rg-top-menu .current-menu-ancestor > a {
  color: #000;
}

.rg-top-menu__item.has-children > a::after,
.rg-top-menu .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  margin-left: 9px;
  border: 4px solid transparent;
  border-top-color: currentColor;
  transform: translateY(2px);
}

.rg-top-menu__submenu,
.rg-secondary-nav__submenu,
.rg-top-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  margin: 0;
  padding: 7px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #cfc7bf;
  box-shadow: 0 7px 16px rgba(0, 0, 0, 0.16);
  z-index: 80;
}

.rg-top-menu__item.has-children:hover > .rg-top-menu__submenu,
.rg-top-menu__item.has-children:focus-within > .rg-top-menu__submenu,
.rg-secondary-nav__item.has-children:hover > .rg-secondary-nav__submenu,
.rg-secondary-nav__item.has-children:focus-within > .rg-secondary-nav__submenu,
.rg-top-menu .menu-item-has-children:hover > .sub-menu,
.rg-top-menu .menu-item-has-children:focus-within > .sub-menu {
  display: block;
}

.rg-top-menu__submenu-link,
.rg-secondary-nav__submenu-link,
.rg-top-menu .sub-menu a {
  display: block;
  padding: 7px 14px;
  color: #674022;
  text-decoration: none;
  line-height: 1.35;
  white-space: nowrap;
}

.rg-top-menu__submenu-link:hover,
.rg-top-menu__submenu-link:focus,
.rg-top-menu .sub-menu a:hover,
.rg-top-menu .sub-menu a:focus {
  background: #f5eee6;
  color: #241f1b;
}

.rg-section-masthead {
  background: #f4f4f4;
}

.rg-section-masthead__inner {
  width: min(100% - 32px, 1140px);
  margin: 0 auto;
  padding: 48px 0 0;
}

.rg-section-masthead__title {
  margin: 0 0 32px;
  color: #7a4b1f;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 700;
}

.rg-secondary-nav {
  position: relative;
  z-index: 40;
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 3px solid #f0a13a;
  box-shadow: none;
}

.rg-secondary-nav__list {
  width: 100%;
  margin: 0;
  align-items: flex-end;
  gap: 4px;
  overflow: visible;
}

.rg-secondary-nav__item {
  flex: 0 0 auto;
  border: 0;
}

.rg-secondary-nav__link {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  min-height: 49px;
  align-items: center;
  padding: 0 25px;
  border: 1px solid #d8d8d8;
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.rg-secondary-nav__label {
  display: block;
}

.rg-secondary-nav__subtitle {
  display: none;
}

.rg-secondary-nav__link:hover,
.rg-secondary-nav__link:focus {
  background: #fbfbfb;
  color: #7a4b1f;
}

.rg-secondary-nav__link.is-active {
  background: #835424;
  border-color: #835424;
  color: #fff;
}

.rg-secondary-nav--region .rg-secondary-nav__item--overview .rg-secondary-nav__link::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-right: 7px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 11.5 12 4l9 7.5v8a1 1 0 0 1-1 1h-5.5v-5.5h-5V20.5H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 11.5 12 4l9 7.5v8a1 1 0 0 1-1 1h-5.5v-5.5h-5V20.5H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.rg-secondary-nav__item.has-children > .rg-secondary-nav__link::after {
  display: none;
}

.rg-secondary-nav__submenu {
  min-width: 210px;
  background: #fff;
  border-color: #d8d8d8;
}

.rg-secondary-nav__submenu-link {
  color: #241f1b;
  border-bottom: 1px solid #eeeeee;
}

.rg-secondary-nav__submenu-link:hover,
.rg-secondary-nav__submenu-link:focus {
  background: #f5eee6;
  color: #241f1b;
}

.rg-header-local-nav {
  position: relative;
  z-index: 35;
  background: #f5f5f5;
  border-top: 2px solid #e68a1f;
  border-bottom: 1px solid #d8d8d8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.rg-header-local-nav__inner {
  width: min(100% - 32px, 1140px);
  margin: 0 auto;
}

.rg-header-local-nav nav,
.rg-header-local-nav nav > ul {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rg-header-local-nav nav > li,
.rg-header-local-nav nav > ul > li {
  position: relative;
  display: block;
  flex: 0 1 230px;
  min-width: 0;
  max-width: 220px;
  list-style: none;
  border: 0;
}

.rg-header-local-nav nav > li > a,
.rg-header-local-nav nav > ul > li > a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 54px;
  max-width: 100%;
  padding: 8px 16px 12px;
  border: 1px solid transparent;
  border-radius: 7px 7px 0 0;
  color: #241f1b;
  background: #f7f7f7;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
}

.rg-header-local-nav nav > li > a span,
.rg-header-local-nav nav > ul > li > a span {
  display: block;
  margin-bottom: 4px;
  color: #8a5422;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.rg-header-local-nav nav > li.ortsstartseite,
.rg-header-local-nav nav > ul > li.ortsstartseite {
  flex: 0 0 116px;
  max-width: 116px;
}

.rg-header-local-nav nav > li.ortsstartseite > a,
.rg-header-local-nav nav > ul > li.ortsstartseite > a {
  align-items: center;
  min-height: 82px;
  padding: 8px 10px 10px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.2;
}

.rg-header-local-nav nav > li.ortsstartseite > a img,
.rg-header-local-nav nav > ul > li.ortsstartseite > a img {
  width: 42px;
  height: auto;
  max-width: 42px;
  margin: 0 0 6px;
}

.rg-header-local-nav nav > li.ortsstartseite > a br,
.rg-header-local-nav nav > ul > li.ortsstartseite > a br {
  display: none;
}

.rg-header-local-nav nav > li.ortsstartseite > a span,
.rg-header-local-nav nav > ul > li.ortsstartseite > a span {
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.rg-header-local-nav nav > li.active > a,
.rg-header-local-nav nav > li > a:hover,
.rg-header-local-nav nav > li > a:focus,
.rg-header-local-nav nav > ul > li.active > a,
.rg-header-local-nav nav > ul > li > a:hover,
.rg-header-local-nav nav > ul > li > a:focus {
  border-color: #d8d8d8;
  background: #fff;
  color: #241f1b;
}

.rg-header-local-nav nav > li.active > a,
.rg-header-local-nav nav > ul > li.active > a {
  border-color: #e7e7e7;
  background: #fff;
  color: #241f1b;
}

.rg-header-local-nav nav > li.active > a span,
.rg-header-local-nav nav > ul > li.active > a span {
  color: #7a4619;
}

.rg-header-local-nav nav > li.sub > a::after,
.rg-header-local-nav nav > ul > li.sub > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  border: 5px solid transparent;
  border-top-color: currentColor;
  transform: translateX(-50%);
}

.rg-header-local-nav nav > li > ul,
.rg-header-local-nav nav > ul > li > ul {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 90;
  display: none;
  min-width: 260px;
  max-height: min(70vh, 560px);
  overflow-y: auto;
  margin: 0;
  padding: 7px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #d8d8d8;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.rg-header-local-nav nav > li:hover > ul,
.rg-header-local-nav nav > li:focus-within > ul,
.rg-header-local-nav nav > ul > li:hover > ul,
.rg-header-local-nav nav > ul > li:focus-within > ul {
  display: block;
}

.rg-header-local-nav nav > li > ul li,
.rg-header-local-nav nav > ul > li > ul li {
  list-style: none;
}

.rg-header-local-nav nav > li > ul a,
.rg-header-local-nav nav > ul > li > ul a {
  display: block;
  padding: 9px 14px;
  border-bottom: 1px solid #eeeeee;
  color: #241f1b;
  font-size: 13px;
  line-height: 1.3;
  text-decoration: none;
}

.rg-header-local-nav nav > li > ul a:hover,
.rg-header-local-nav nav > li > ul a:focus,
.rg-header-local-nav nav > ul > li > ul a:hover,
.rg-header-local-nav nav > ul > li > ul a:focus {
  background: #f5eee6;
  color: #241f1b;
}

.rg-search-form {
  position: relative;
  display: block;
  width: 100%;
  height: 44px;
}

.rg-search-form__input {
  width: 100%;
  max-width: none;
  height: 44px;
  padding: 0 52px 0 48px;
  border: 1px solid #dddddd;
  border-radius: 999px;
  background: #fff;
  color: #666666;
  font: inherit;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.06);
}

.rg-search-form__input::-webkit-search-cancel-button,
.rg-search-form__input::-webkit-search-decoration,
.rg-search-page__form input::-webkit-search-cancel-button,
.rg-search-page__form input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.rg-search-form__input::-ms-clear,
.rg-search-page__form input::-ms-clear {
  display: none;
  width: 0;
  height: 0;
}

.rg-search-form__input:focus {
  border-color: #9a5a20;
  color: #241f1b;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(154, 90, 32, 0.13), 0 8px 24px rgba(0, 0, 0, 0.08);
}

.rg-search-form__button {
  position: absolute;
  top: 50%;
  left: 15px;
  z-index: 1;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #7a4b1f;
  cursor: pointer;
  transform: translateY(-50%);
}

.rg-search-form__button::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.rg-search-form__button::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 15px;
  width: 9px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
}

.rg-search-form__clear {
  position: absolute;
  top: 50%;
  right: 7px;
  z-index: 2;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: #c83e62;
  cursor: pointer;
  transform: translateY(-50%);
}

.rg-search-form__clear::before,
.rg-search-form__clear::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 11px;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.rg-search-form__clear::before {
  transform: rotate(45deg);
}

.rg-search-form__clear::after {
  transform: rotate(-45deg);
}

.rg-search-form__clear:hover,
.rg-search-form__clear:focus {
  border-color: #c83e62;
  background: #fff7f9;
  outline: 0;
}

.rg-search-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 120;
  width: min(420px, calc(100vw - 24px));
  max-height: min(72vh, 560px);
  overflow: auto;
  border: 1px solid #eaded3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 44px rgba(42, 32, 24, 0.2);
  font-family: Arial, Helvetica, sans-serif;
  scrollbar-width: thin;
}

.rg-search-panel__status {
  padding: 12px 22px 4px;
  color: #6d6259;
  font-size: 12px;
  font-weight: 700;
}

.rg-search-panel__status:empty {
  display: none;
}

.rg-search-panel__results {
  padding: 8px 0 0;
}

.rg-search-panel__group {
  padding: 0 0 8px;
}

.rg-search-panel__group h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 22px 8px;
  color: #111;
  font-size: 15px;
  line-height: 1.2;
}

.rg-search-panel__group h2 span:last-child {
  color: #8b8178;
  font-size: 13px;
}

.rg-search-panel__marker,
.rg-search-results-group__marker {
  position: relative;
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d9355f;
}

.rg-search-panel__marker::after,
.rg-search-results-group__marker::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 4px;
  width: 1px;
  height: 10px;
  background: #8e6d56;
}

.rg-search-panel__item {
  display: block;
  padding: 10px 24px;
  color: #111;
  text-decoration: none;
  border-left: 3px solid transparent;
}

.rg-search-panel__item:hover,
.rg-search-panel__item:focus {
  border-left-color: #f1a449;
  background: #fff8ef;
  color: #111;
  text-decoration: none;
  outline: 0;
}

.rg-search-panel__title,
.rg-search-panel__meta,
.rg-search-panel__excerpt {
  display: block;
}

.rg-search-panel__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.rg-search-panel__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 4px;
  color: #7d756e;
  font-size: 12px;
  line-height: 1.3;
}

.rg-search-panel__excerpt {
  margin-top: 5px;
  color: #241f1b;
  font-size: 14px;
  line-height: 1.45;
}

.rg-search-panel mark,
.rg-search-page mark {
  padding: 1px 4px;
  border-radius: 4px;
  background: #ffbb62;
  color: inherit;
}

.rg-search-panel__empty {
  padding: 18px 24px 22px;
  color: #665b52;
}

.rg-search-panel__footer {
  position: sticky;
  bottom: 0;
  padding: 14px 18px 16px;
  border-top: 1px solid #eee7df;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), #fff 30%);
}

.rg-search-panel__all {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #835424;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.rg-search-panel__all:hover,
.rg-search-panel__all:focus {
  background: #6f4421;
  color: #fff;
  text-decoration: none;
  outline: 0;
}

.rg-main {
  min-height: 60vh;
}

.rg-container {
  padding: 24px 0 54px;
}

.rg-breadcrumb {
  margin: 0 0 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.35;
}

.rg-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 9px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rg-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.rg-breadcrumb__item + .rg-breadcrumb__item::before {
  content: "\00BB";
  color: #b6a99e;
  font-weight: 700;
}

.rg-breadcrumb__link {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  max-width: 100%;
  padding: 5px 11px;
  border: 1px solid #f0d7c6;
  border-radius: 999px;
  background: #fff;
  color: #a95425;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.rg-breadcrumb__link:hover,
.rg-breadcrumb__link:focus {
  border-color: #d89155;
  background: #fff3e8;
  color: #7a3f1e;
  box-shadow: 0 2px 8px rgba(122, 75, 31, 0.12);
  text-decoration: none;
}

.rg-breadcrumb__link:focus-visible {
  outline: 2px solid #d89155;
  outline-offset: 2px;
}

.rg-breadcrumb__current {
  display: inline-block;
  max-width: 100%;
  color: #241f1b;
  font-weight: 700;
}

.rg-page-header h1 {
  margin: 0 0 18px;
  font-family: Arial, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.12;
  font-weight: 400;
  color: #111;
}

.rg-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
}

.rg-layout.has-local-nav.no-sidebar {
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
}

.rg-layout.has-local-nav.has-sidebar {
  grid-template-columns: 220px minmax(0, 1fr) 340px;
  align-items: start;
}

.rg-layout.has-sidebar {
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
}

.rg-layout.no-sidebar .rg-layout__main {
  max-width: none;
}

.rg-content {
  font-family: Arial, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.52;
}

.rg-content [id],
.rg-anchor-target {
  scroll-margin-top: 120px;
}

.rg-anchor-target {
  display: block;
  height: 0;
  overflow: hidden;
}

.rg-content h2,
.rg-content h3,
.rg-content h4 {
  font-family: Arial, "Times New Roman", serif;
  color: #16110e;
}

.rg-content h2 {
  font-size: 21px;
}

.rg-content h3 {
  margin: 18px 0 8px;
  font-size: 17px;
}

.rg-content p {
  margin: 0 0 14px;
}

.rg-content img {
  max-width: 100%;
  height: auto;
}

.rg-content figure {
  margin: 16px 0;
}

.rg-content figcaption,
.rg-content .caption {
  color: #8a5a2b;
  font-size: 12px;
  font-weight: 700;
}

.rg-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
}

.rg-content th,
.rg-content td {
  padding: 7px 9px;
  border: 1px solid #ddd0c0;
  vertical-align: top;
}

.rg-content th {
  background: #f4b65d;
  color: #4c2f18;
  text-align: left;
}

.rg-content .csc-collapsible-wrap {
  margin: 16px 0;
  background: #fbf0df;
  border-radius: 4px;
  overflow: hidden;
}

.rg-content .csc-collapsible {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.rg-content .csc-collapsible-label {
  display: block;
  min-height: 44px;
  padding: 9px 14px 8px 32px;
  background: #f4b65d;
  color: #2a170b;
  font-family: Arial, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}

.rg-content .csc-collapsible-label::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 18px;
  border: 5px solid transparent;
  border-left-color: #7a4b1f;
}

.rg-content .csc-collapsible-wrap.is-open .csc-collapsible-label::before,
.rg-content .csc-collapsible:checked + .csc-collapsible-label::before {
  top: 20px;
  border-left-color: transparent;
  border-top-color: #7a4b1f;
}

.rg-content .csc-collapsible-content {
  display: none;
  padding: 13px 20px 18px;
}

.rg-content .csc-collapsible-wrap.is-open .csc-collapsible-content,
.rg-content .csc-collapsible:checked + .csc-collapsible-label + .csc-collapsible-content {
  display: block;
}

.rg-content .csc-collapsible-content > h3:first-of-type,
.rg-content .csc-collapsible-content > a:first-child + h3 {
  display: none;
}

.rg-content .csc-menu {
  margin: 0;
  padding-left: 18px;
}

.rg-content .csc-menu li {
  margin: 2px 0;
}

.rg-latest-aufsaetze {
  margin: 34px 0 8px;
}

.rg-aufsatz-landing-intro {
  margin: 0 0 26px;
  padding: 18px 20px;
  border: 1px solid #ead9c6;
  border-radius: 6px;
  background: #fffaf4;
  color: #5b4b3f;
  font-size: 16px;
  line-height: 1.55;
}

.rg-aufsatz-landing-intro a {
  font-weight: 700;
}

.rg-latest-aufsaetze__header {
  margin-bottom: 18px;
}

.rg-latest-aufsaetze__eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #8a5a2b;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rg-latest-aufsaetze h2 {
  margin: 0;
  color: #24180f;
  font-size: 30px;
  line-height: 1.2;
}

.rg-latest-aufsaetze__grid {
  display: grid;
  gap: 14px;
}

.rg-latest-aufsaetze__item {
  margin: 0;
}

.rg-latest-aufsaetze__link {
  display: block;
  padding: 18px 20px;
  border: 1px solid #e4d7c7;
  border-left: 4px solid #ee9848;
  border-radius: 6px;
  background: #fff;
  color: #2a170b;
  text-decoration: none;
  box-shadow: 0 5px 16px rgba(70, 52, 34, 0.08);
}

.rg-latest-aufsaetze__link:hover,
.rg-latest-aufsaetze__link:focus {
  border-left-color: #835424;
  color: #2a170b;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(70, 52, 34, 0.14);
}

.rg-latest-aufsaetze__author {
  display: block;
  margin-bottom: 5px;
  color: #8a5a2b;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.rg-latest-aufsaetze__link h3 {
  margin: 0 0 7px;
  color: #24180f;
  font-family: Arial, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.25;
}

.rg-latest-aufsaetze__link p {
  margin: 0;
  color: #665b52;
  font-size: 14px;
  line-height: 1.45;
}

.rg-content:has(> .csc-frame-teasermain) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.rg-layout.has-sidebar .rg-content:has(> .csc-frame-teasermain) {
  grid-template-columns: repeat(2, minmax(250px, 19rem));
  justify-content: start;
}

.rg-layout.no-sidebar .rg-content:has(> .csc-frame-teasermain) {
  grid-template-columns: repeat(2, minmax(250px, 17.5rem));
  justify-content: start;
  align-items: start;
}

.rg-content:has(> .csc-frame-teasermain) > :not(.csc-frame-teasermain) {
  grid-column: 1 / -1;
}

.rg-content .csc-frame-teasermain {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin: 0;
  border: 1px solid #e4ded6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(53, 42, 31, 0.13);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.rg-content .csc-frame-teasermain:hover,
.rg-content .csc-frame-teasermain:focus-within {
  box-shadow: 0 12px 26px rgba(53, 42, 31, 0.18);
  transform: translateY(-2px);
}

.rg-content .csc-frame-teasermain h2,
.rg-content .csc-frame-teasermain h3,
.rg-content .csc-frame-teasermain h4 {
  order: 3;
  margin: 0;
  padding: 0 18px;
  font-family: Arial, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.14;
}

.rg-content .csc-frame-teasermain h2 a,
.rg-content .csc-frame-teasermain h3 a,
.rg-content .csc-frame-teasermain h4 a {
  color: #2b1b11;
  text-decoration: none;
}

.rg-content .csc-frame-teasermain h2 a:hover,
.rg-content .csc-frame-teasermain h2 a:focus,
.rg-content .csc-frame-teasermain h3 a:hover,
.rg-content .csc-frame-teasermain h3 a:focus,
.rg-content .csc-frame-teasermain h4 a:hover,
.rg-content .csc-frame-teasermain h4 a:focus {
  color: #6f4421;
}

.rg-content .csc-frame-teasermain .rubrik {
  order: 2;
  margin: 0;
  padding: 16px 18px 7px;
  color: #8a5a2b;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
}

.rg-content .csc-frame-teasermain .csc-textpic {
  display: contents;
}

.rg-content .csc-frame-teasermain .csc-textpic-imagewrap {
  order: 1;
  width: 100%;
  overflow: hidden;
  background: #e9e3da;
}

.rg-content .csc-frame-teasermain .csc-textpic-imagewrap > dl,
.rg-content .csc-frame-teasermain .csc-textpic-imagewrap > figure,
.rg-content .csc-frame-teasermain .csc-textpic-imagewrap > p {
  display: block;
  width: 100% !important;
  margin: 0;
}

.rg-content .csc-frame-teasermain .csc-textpic-image,
.rg-content .csc-frame-teasermain .csc-textpic-image dt,
.rg-content .csc-frame-teasermain .csc-textpic-image a {
  display: block;
  width: 100% !important;
  margin: 0;
}

.rg-content .csc-frame-teasermain .csc-textpic-image {
  aspect-ratio: 16 / 9;
}

.rg-content .csc-frame-teasermain .csc-textpic-image dt,
.rg-content .csc-frame-teasermain .csc-textpic-image a {
  height: 100%;
}

.rg-content .csc-frame-teasermain .csc-textpic-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rg-content .csc-frame-teasermain .csc-textpic-imagewrap > img,
.rg-content .csc-frame-teasermain .csc-textpic-imagewrap > p > img,
.rg-content .csc-frame-teasermain .csc-textpic-imagewrap > figure > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.rg-content .csc-frame-teasermain .csc-textpic-caption {
  display: none;
}

.rg-content .csc-frame-teasermain .csc-textpic-text {
  order: 4;
  display: flex;
  flex: 1;
  flex-direction: column;
  position: relative;
  padding: 10px 18px 52px;
}

.rg-content .csc-frame-teasermain .csc-textpic-text p {
  margin: 0;
  color: #4a423b;
  font-size: 15px;
  line-height: 1.48;
}

.rg-content .csc-frame-teasermain .csc-textpic-text > p:has(> a[target="_top"]):last-child,
.rg-content .csc-frame-teasermain .csc-textpic-text > p:has(> a[target="_top"]):has(+ p:empty:last-child),
.rg-content .csc-frame-teasermain .csc-textpic-text .news-list-morelink:last-child {
  margin-top: auto;
}

.rg-content .csc-frame-teasermain .csc-textpic-text .news-list-morelink:last-child {
  text-align: right;
}

.rg-content .csc-frame-teasermain .csc-textpic-text > p:last-child > a[target="_top"]:last-of-type,
.rg-content .csc-frame-teasermain .csc-textpic-text > p:has(+ p:empty:last-child) > a[target="_top"]:last-of-type,
.rg-content .csc-frame-teasermain .csc-textpic-text .news-list-morelink:last-child a {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-block;
  margin-top: 0;
  color: #6f4421;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.rg-content .csc-frame-teasermain .csc-textpic-text > p:empty {
  display: none;
}

.rg-content .csc-frame-teasermain > p:empty {
  display: none;
}

.rg-content .csc-frame-teasermain .clearer {
  display: none;
}

.rg-content .abc-box {
  margin: 18px 0 16px;
}

.rg-content .abc-box h1 {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  border: 1px solid #b79373;
  background: #f4b65d;
  font-family: Arial, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1;
}

.rg-content .abc-box h1 a {
  display: block;
  min-width: 35px;
  padding: 5px 8px 4px;
  border-right: 1px solid rgba(122, 75, 31, 0.25);
  text-align: center;
  text-decoration: none;
  color: #6067d0;
}

.rg-content .abc-box h1 a:hover,
.rg-content .abc-box h1 a:focus {
  background: #fbf0df;
  color: #7a4b1f;
}

.rg-content h1.sticky {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 16px 0 10px;
  padding: 6px 10px;
  border: 1px solid #b79373;
  background: #f8e6bf;
  font-size: 29px;
  line-height: 1;
  color: #2a170b;
}

.rg-content h1.sticky .toplink {
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
}

.rg-content .biographies {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  margin: 0 0 20px;
}

.rg-content .bio_content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin: 0;
  padding: 10px;
  border: 1px solid #e7e1d9;
  border-radius: 8px;
  background: #fff;
  color: #2a170b;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(58, 42, 28, 0.14);
}

.rg-content .bio_content:hover,
.rg-content .bio_content:focus {
  color: #2a170b;
  box-shadow: 0 5px 14px rgba(58, 42, 28, 0.2);
}

.rg-content .bio_content.missing-title {
  display: none;
}

.rg-content .bio_content span {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #e9e3d9;
}

.rg-content .bio_content span:empty,
.rg-content .bio_content.no-media span,
.rg-content .bio_content__placeholder,
.rg-content .bio_content .rg-bio-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  background: #e9e3d9;
}

.rg-content .bio_content span:empty::before,
.rg-content .bio_content span:empty::after,
.rg-content .bio_content.no-media span::before,
.rg-content .bio_content.no-media span::after,
.rg-content .bio_content__placeholder::before,
.rg-content .bio_content__placeholder::after,
.rg-content .bio_content .rg-bio-placeholder::before,
.rg-content .bio_content .rg-bio-placeholder::after {
  content: "";
  position: absolute;
  background: #bfa98c;
  opacity: 0.68;
}

.rg-content .bio_content span:empty::before,
.rg-content .bio_content.no-media span::before,
.rg-content .bio_content__placeholder::before,
.rg-content .bio_content .rg-bio-placeholder::before {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  transform: translateY(-22px);
}

.rg-content .bio_content span:empty::after,
.rg-content .bio_content.no-media span::after,
.rg-content .bio_content__placeholder::after,
.rg-content .bio_content .rg-bio-placeholder::after {
  width: 74px;
  height: 38px;
  border-radius: 36px 36px 8px 8px;
  transform: translateY(25px);
}

.rg-content .bio_content img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rg-content .bio_content figure {
  margin: 0;
}

.rg-content .biographies > img,
.rg-content .biographies > figure,
.rg-content .biographies > .wp-block-image,
.rg-content .biographies > p:has(img),
.rg-content .biographies > a:has(img):not(.bio_content) {
  display: block;
  width: 100%;
  margin: 0 0 -1px;
  overflow: hidden;
  background: #eee;
  break-after: avoid;
  page-break-after: avoid;
}

.rg-content .biographies > img,
.rg-content .biographies > figure img,
.rg-content .biographies > .wp-block-image img,
.rg-content .biographies > p:has(img) img,
.rg-content .biographies > a:has(img):not(.bio_content) img {
  display: block;
  width: 100%;
  height: auto;
}

.rg-content .biographies > img + .bio_content,
.rg-content .biographies > figure + .bio_content,
.rg-content .biographies > .wp-block-image + .bio_content,
.rg-content .biographies > p:has(img) + .bio_content,
.rg-content .biographies > a:has(img):not(.bio_content) + .bio_content {
  margin-top: 0;
}

.rg-content .biographies > img + .bio_content::before,
.rg-content .biographies > img + .bio_content::after,
.rg-content .biographies > figure + .bio_content::before,
.rg-content .biographies > figure + .bio_content::after,
.rg-content .biographies > .wp-block-image + .bio_content::before,
.rg-content .biographies > .wp-block-image + .bio_content::after,
.rg-content .biographies > p:has(img) + .bio_content::before,
.rg-content .biographies > p:has(img) + .bio_content::after,
.rg-content .biographies > a:has(img):not(.bio_content) + .bio_content::before,
.rg-content .biographies > a:has(img):not(.bio_content) + .bio_content::after {
  display: none;
}

.rg-content .bio_content h3 {
  margin: 0;
  padding: 13px 6px 4px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.16;
  color: #181512;
}

.rg-content .bio_content p {
  margin: 0;
  padding: 0 6px 4px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.35;
  color: #6f6860;
}

.rg-content dfn[title],
.rg-content .rg-glossary-term {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted currentColor;
  cursor: help;
  font-style: normal;
  text-decoration: none;
}

.rg-content .rg-glossary-link {
  position: relative;
  text-decoration: none;
}

.rg-content dfn[title]::after,
.rg-content .rg-glossary-term::after {
  content: attr(title);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 9px);
  z-index: 220;
  width: max-content;
  max-width: min(230px, calc(100vw - 32px));
  padding: 10px 14px;
  border-radius: 4px;
  background: #ee9200;
  color: #fff;
  box-shadow: 0 9px 18px rgba(69, 42, 15, 0.24);
  font-family: Arial, "Times New Roman", serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px) scale(0.96);
  transform-origin: 50% 100%;
  transition:
    opacity 150ms ease,
    transform 190ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.rg-content .rg-glossary-term::after {
  content: attr(data-rg-tooltip);
}

.rg-content dfn[title]::before,
.rg-content .rg-glossary-term::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 3px);
  z-index: 221;
  border: 6px solid transparent;
  border-top-color: #ee9200;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px) scale(0.96);
  transition:
    opacity 150ms ease,
    transform 190ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.rg-content dfn[title]:hover::before,
.rg-content dfn[title]:hover::after,
.rg-content dfn[title]:focus::before,
.rg-content dfn[title]:focus::after,
.rg-content a:hover .rg-glossary-term::before,
.rg-content a:hover .rg-glossary-term::after,
.rg-content a:focus .rg-glossary-term::before,
.rg-content a:focus .rg-glossary-term::after,
.rg-content a:focus-visible .rg-glossary-term::before,
.rg-content a:focus-visible .rg-glossary-term::after,
.rg-content .rg-glossary-term:hover::before,
.rg-content .rg-glossary-term:hover::after,
.rg-content .rg-glossary-term:focus::before,
.rg-content .rg-glossary-term:focus::after {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.rg-local-nav,
.rg-sidebar {
  font-size: 13px;
}

.rg-local-nav__inner {
  padding: 0;
}

.rg-local-nav__content {
  color: #794c24;
}

.rg-local-nav__content nav {
  display: block;
}

.rg-local-nav__content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rg-local-nav__content li {
  margin: 0;
  list-style: none;
}

.rg-local-nav__content a {
  color: #794c24;
  text-decoration: none;
}

.rg-local-nav__content a:hover,
.rg-local-nav__content a:focus {
  color: #6f4421;
  text-decoration: underline;
}

.rg-local-nav__content #navaktive {
  width: 100%;
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
}

.rg-local-nav__content #navaktive li {
  border-bottom: 1px solid #794c24;
  background-image: linear-gradient(90deg, #e2e2e2 0%, #f7f7f7 66%, #ffffff 83%);
}

.rg-local-nav__content #navaktive li li {
  border-bottom: 0;
  padding-left: 16px;
  background: none;
}

.rg-local-nav__content #navaktive a {
  display: block;
  padding: 4px 0 4px 5px;
}

.rg-local-nav__content #navaktive a.active {
  font-weight: 700;
}

.rg-sidebar__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
  background: transparent;
}

.rg-sidebar__content,
.rg-sidebar .rg-map-box {
  padding: 24px 26px 26px;
  border-top: 3px solid #f2e3d1;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(70, 52, 34, 0.1);
}

.rg-sidebar__content h2,
.rg-sidebar__content h3,
.rg-sidebar__content h4,
.rg-sidebar__content > strong:first-child,
.rg-sidebar__content > .csc-default > strong:first-child,
.rg-sidebar .rg-map-box__title {
  display: block;
  margin: 0 0 18px;
  padding-bottom: 9px;
  border-bottom: 2px solid #ee9848;
  color: #704923;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.rg-sidebar__content #citation p > strong:first-child {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  text-transform: none;
}

.rg-sidebar__content p,
.rg-sidebar__content ul,
.rg-sidebar__content ol {
  margin-top: 0;
  margin-bottom: 16px;
}

.rg-sidebar__content ul,
.rg-sidebar__content ol {
  list-style: none;
  padding-left: 0;
}

.rg-sidebar__content li {
  margin: 0 0 8px;
}

.rg-sidebar__content a {
  color: #315cff;
  text-decoration: none;
}

.rg-sidebar__content a:hover,
.rg-sidebar__content a:focus {
  color: #1f42c7;
  text-decoration: underline;
}

.rg-sidebar__content .csc-menu a > span:first-child:not(:empty),
.rg-sidebar__content #bibliothek a > span:first-child:not(:empty) {
  display: block;
  margin-bottom: 2px;
  color: #7a4a22;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.rg-sidebar__content .csc-menu a > span:first-child:empty {
  display: none;
}

.rg-sidebar__content > :last-child,
.rg-sidebar__content > .csc-default:last-child,
.rg-sidebar__content > .csc-frame:last-child,
.rg-sidebar__content > .csc-textpic:last-child {
  margin-bottom: 0;
}

.rg-sidebar__content .csc-collapsible-wrap {
  margin: -8px -10px;
  overflow: hidden;
  border: 1px solid #ead9c6;
  border-radius: 6px;
  background: #fffaf4;
}

.rg-sidebar__content .csc-collapsible {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.rg-sidebar__content .csc-collapsible-label {
  position: relative;
  display: block;
  min-height: 46px;
  padding: 14px 44px 13px 16px;
  color: #704923;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  cursor: pointer;
}

.rg-sidebar__content .csc-collapsible-label::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 9px;
  height: 9px;
  border-right: 2px solid #8a5a2b;
  border-bottom: 2px solid #8a5a2b;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.rg-sidebar__content .csc-collapsible-wrap.is-open .csc-collapsible-label::after,
.rg-sidebar__content .csc-collapsible:checked + .csc-collapsible-label::after {
  transform: translateY(4px) rotate(225deg);
}

.rg-sidebar__content .csc-collapsible-content {
  display: none;
  padding: 0 18px 18px;
  border-top: 1px solid #f0dfcc;
}

.rg-sidebar__content .csc-collapsible-wrap.is-open .csc-collapsible-content,
.rg-sidebar__content .csc-collapsible:checked + .csc-collapsible-label + .csc-collapsible-content {
  display: block;
}

.rg-sidebar__content .csc-collapsible-content > h2:first-child,
.rg-sidebar__content .csc-collapsible-content > h3:first-child,
.rg-sidebar__content .csc-collapsible-content > h4:first-child,
.rg-sidebar__content .csc-collapsible-content > a:first-child + h2,
.rg-sidebar__content .csc-collapsible-content > a:first-child + h3,
.rg-sidebar__content .csc-collapsible-content > a:first-child + h4 {
  display: none;
}

.rg-sidebar__content .csc-collapsible-content .csc-menu {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  padding: 0;
}

.rg-sidebar__content .csc-collapsible-content .csc-menu li {
  margin: 0;
}

.rg-sidebar__content .csc-collapsible-content .csc-menu a {
  display: block;
  padding: 6px 0;
  color: #315cff;
}

.rg-sidebar__author-citation p {
  padding-bottom: 14px;
  border-bottom: 1px solid #e5dfd8;
}

.rg-sidebar__author-citation p:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.rg-sidebar__taxonomy-card .rg-sb-sub-heading {
  margin: 18px 0 8px;
  padding: 0;
  border-bottom: 0;
  color: #704923;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.rg-sidebar__taxonomy-card .rg-sb-text > .rg-sb-sub-heading:first-child {
  margin-top: 0;
}

.rg-sidebar__taxonomy-card .rg-kategorien-inhalt {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.rg-sidebar__taxonomy-card .rg-kategorien-inhalt:last-child {
  margin-bottom: 0;
}

.rg-sidebar__content .rg-kategorie-tag,
.rg-sidebar__content a.rg-kategorie-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  background: #f2ad5b;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.rg-sidebar__content a.rg-kategorie-tag:hover,
.rg-sidebar__content a.rg-kategorie-tag:focus {
  background: #d98f39;
  color: #fff;
  text-decoration: none;
}

.rg-sidebar__inner img {
  max-width: 100%;
  height: auto;
}

.rg-sidebar__content--facts-card {
  display: grid;
  grid-template-columns: minmax(76px, 106px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px 24px;
}

.rg-sidebar__facts-logo {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.rg-sidebar__facts-logo img#wappen,
.rg-sidebar__facts-logo #wappen {
  display: block;
  width: min(100%, 106px);
  max-height: 130px;
  padding: 0;
  object-fit: contain;
}

.rg-sidebar__facts-text {
  min-width: 0;
}

.rg-sidebar__content--facts-card #facts h3 {
  margin-bottom: 12px;
  font-size: 14px;
}

.rg-sidebar__content--facts-card #facts ul {
  margin-bottom: 0;
}

.rg-sidebar__content--facts-card #facts li {
  margin-bottom: 7px;
}

.rg-sidebar__content--facts-card #facts li:last-child {
  margin-bottom: 0;
}

.rg-sidebar__content .youtube_wrapper {
  margin: 18px 0 30px;
}

.rg-sidebar__content .youtube_wrapper h3 {
  margin-bottom: 10px;
}

.rg-sidebar__content .youtube {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  background: #111;
  cursor: pointer;
}

.rg-sidebar__content .youtube img,
.rg-sidebar__content .youtube iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.rg-sidebar__content .youtube img {
  object-fit: cover;
}

.rg-sidebar__content .youtube::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.18);
}

.rg-sidebar__content .youtube .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 68px;
  height: 48px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.58);
  transform: translate(-50%, -50%);
}

.rg-sidebar__content .youtube .play-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: 3px;
  border: 11px solid transparent;
  border-left-color: #fff;
  transform: translate(-50%, -50%);
}

.rg-sidebar__content .youtube:hover .play-button,
.rg-sidebar__content .youtube:focus .play-button {
  background: #8a5a2b;
}

.rg-sidebar__content .youtube.is-loaded::before {
  display: none;
}

.rg-places-az {
  margin: 30px 0 0;
}

.rg-places-az__nav {
  margin: 0 0 36px;
  padding: 22px 30px;
  border-radius: 6px;
  background: #f3f3f3;
  text-align: center;
}

.rg-places-az__nav h2 {
  margin: 0 0 18px;
  color: #333;
  font-size: 18px;
}

.rg-places-az__letters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.rg-places-az__letters a,
.rg-places-az__letters span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  border-radius: 4px;
  background: #7a4a22;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.rg-places-az__letters span {
  background: #e0e0e0;
  color: #fff;
}

.rg-places-az__section {
  margin: 0 0 34px;
}

.rg-places-az__section > h2 {
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #ee9848;
  color: #111;
  font-size: 22px;
}

.rg-places-az__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rg-places-az__card {
  display: block;
  min-height: 84px;
  padding: 17px 15px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.rg-places-az__card:hover,
.rg-places-az__card:focus {
  border-color: #c48a52;
  box-shadow: 0 6px 16px rgba(70, 52, 34, 0.08);
  text-decoration: none;
}

.rg-places-az__card strong {
  display: block;
  margin-bottom: 8px;
  color: #704923;
  font-size: 18px;
}

.rg-places-az__card span {
  display: block;
  color: #666;
}

.rg-region-places {
  margin: 30px 0 0;
}

.rg-region-places [hidden] {
  display: none !important;
}

.rg-region-places__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 26px;
  padding: 20px;
  border-radius: 8px;
  background: #684017;
}

.rg-region-places__letters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rg-region-places__letters a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 7px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.rg-region-places__letters a:hover,
.rg-region-places__letters a:focus {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.16);
  text-decoration: none;
}

.rg-region-places__total {
  flex: 0 0 auto;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 700;
  line-height: 1;
}

.rg-region-places__search {
  position: relative;
  display: block;
  width: min(100%, 400px);
  margin: 0 0 30px;
}

.rg-region-places__search::before,
.rg-region-places__search::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.rg-region-places__search::before {
  left: 19px;
  top: 50%;
  width: 9px;
  height: 9px;
  border: 2px solid #6b91aa;
  border-radius: 999px;
  transform: translateY(-65%);
}

.rg-region-places__search::after {
  left: 30px;
  top: 50%;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: #9b6a9d;
  transform: translateY(3px) rotate(45deg);
}

.rg-region-places__search input {
  width: 100%;
  height: 43px;
  padding: 8px 14px 8px 42px;
  border: 1px solid #989898;
  border-radius: 3px;
  background: #fff;
  color: #333;
  font: inherit;
}

.rg-region-places__search input:focus {
  border-color: #7a4a22;
  box-shadow: 0 0 0 2px rgba(122, 74, 34, 0.14);
  outline: 0;
}

.rg-region-places__empty {
  margin: 0 0 24px;
  padding: 14px 16px;
  border: 1px solid #e2d3c5;
  border-radius: 6px;
  background: #fbf8f3;
  color: #6f4421;
}

.rg-region-places__section {
  margin: 0 0 40px;
}

.rg-region-places__heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #ee9848;
}

.rg-region-places__heading h2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  margin: 0;
  border-radius: 8px;
  background: #7a4a22;
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.rg-region-places__heading span {
  color: #8a8a8a;
}

.rg-region-places__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.rg-region-places__card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 49px;
  padding: 12px 16px;
  border: 1px solid #e7e7e7;
  border-radius: 6px;
  background: #f7f8fa;
  color: #3b3b3b;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.rg-region-places__card:hover,
.rg-region-places__card:focus {
  border-color: #c48a52;
  background: #fff;
  box-shadow: 0 6px 16px rgba(70, 52, 34, 0.08);
  text-decoration: none;
}

.rg-region-places__pin {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 16px;
}

.rg-region-places__pin::before,
.rg-region-places__pin::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.rg-region-places__pin::before {
  top: 2px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #e595a2;
}

.rg-region-places__pin::after {
  top: 8px;
  width: 2px;
  height: 7px;
  border-radius: 999px;
  background: #c9c9c9;
}

.rg-map-box {
  margin-top: 0;
}

.rg-map-box__title {
  margin: 0 0 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid #b79373;
  color: #835424;
  font-size: 14px;
}

.rg-map-box__address {
  margin: 0 0 12px;
  color: #4c4c4c;
}

.rg-leaflet-map {
  width: 100%;
  height: 300px;
  border: 1px solid #c9b49f;
  background: #f2f2f2;
  border-radius: 4px;
  overflow: hidden;
}

.rg-archive-description {
  margin-bottom: 24px;
  color: #555;
}

.rg-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.rg-archive-card {
  overflow: hidden;
  border: 1px solid #d7d0c7;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.rg-archive-card__image-link {
  display: block;
}

.rg-archive-card__image {
  display: block;
  width: 100%;
  height: auto;
}

.rg-archive-card__body {
  padding: 12px;
}

.rg-archive-card__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  color: #835424;
  font-size: 11px;
  text-transform: uppercase;
}

.rg-archive-card__title {
  margin: 0 0 10px;
  font-family: Arial, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.2;
}

.rg-archive-card__title a {
  text-decoration: none;
  color: #7a4b1f;
}

.rg-archive-card__excerpt {
  color: #333;
  line-height: 1.5;
}

.rg-pagination {
  margin-top: 28px;
  font-family: Arial, Helvetica, sans-serif;
}

.rg-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rg-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #d7d2cc;
  border-radius: 6px;
  background: #fff;
  color: #241f1b;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.rg-pagination .page-numbers.current,
.rg-pagination a.page-numbers:hover,
.rg-pagination a.page-numbers:focus {
  border-color: #835424;
  background: #835424;
  color: #fff;
  text-decoration: none;
}

.rg-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
  color: #7b7168;
}

.rg-search-page {
  width: min(100% - 32px, 1160px);
}

.rg-search-page__header {
  display: grid;
  gap: 26px;
  justify-items: center;
  padding: 34px 0 38px;
}

.rg-search-page__header h1 {
  margin: 0;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
  text-align: center;
}

.rg-search-page__header h1 span {
  color: #835424;
  font-style: italic;
}

.rg-search-page__form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(100%, 600px);
  border: 1px solid #d9d2cc;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(53, 42, 31, 0.08);
}

.rg-search-page__form::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 18px;
  width: 14px;
  height: 14px;
  border: 2px solid #835424;
  border-radius: 50%;
  transform: translateY(-55%);
}

.rg-search-page__form::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 31px;
  width: 9px;
  height: 2px;
  border-radius: 999px;
  background: #835424;
  transform: translateY(6px) rotate(45deg);
}

.rg-search-page__form input {
  min-height: 52px;
  width: 100%;
  padding: 0 14px 0 48px;
  border: 0;
  background: transparent;
  color: #241f1b;
  font: inherit;
}

.rg-search-page__form input:focus {
  outline: 0;
}

.rg-search-page__form:focus-within {
  border-color: #9a5a20;
  box-shadow: 0 0 0 3px rgba(154, 90, 32, 0.13), 0 8px 22px rgba(53, 42, 31, 0.1);
}

.rg-search-page__form button,
.rg-search-page__filters button {
  min-height: 44px;
  margin: 4px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  background: #835424;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.rg-search-page__form button:hover,
.rg-search-page__form button:focus,
.rg-search-page__filters button:hover,
.rg-search-page__filters button:focus {
  background: #6f4421;
  outline: 0;
}

.rg-search-page__loading {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff5e8;
  color: #6f4421;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.rg-search-page__loading[hidden] {
  display: none;
}

.rg-search-page__spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(111, 68, 33, 0.28);
  border-top-color: #835424;
  border-radius: 50%;
  animation: rg-search-spin 700ms linear infinite;
}

@keyframes rg-search-spin {
  to {
    transform: rotate(360deg);
  }
}

.rg-search-page__filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 18px;
  width: 100%;
  padding: 24px;
  border: 1px solid #e0d9d2;
  border-radius: 10px;
  background: #fafafa;
}

.rg-search-page__filters label {
  display: grid;
  gap: 8px;
  color: #5f554c;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.rg-search-page__filters select {
  min-height: 50px;
  width: 100%;
  padding: 0 14px;
  border: 1px solid #d7d2cc;
  border-radius: 8px;
  background: #fff;
  color: #241f1b;
  font: inherit;
}

.rg-search-summary {
  margin: 0 0 30px;
  padding: 22px 24px;
  border-left: 4px solid #835424;
  border-radius: 8px;
  background: #edf5ff;
  font-family: Arial, Helvetica, sans-serif;
}

.rg-search-summary h2 {
  margin: 0 0 10px;
  color: #835424;
  font-size: 21px;
  line-height: 1.25;
}

.rg-search-summary p,
.rg-search-empty p {
  margin: 0;
  color: #5f554c;
}

.rg-search-empty {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 28px;
  border: 1px solid #e6ddd5;
  border-radius: 10px;
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
}

.rg-search-results {
  display: grid;
  gap: 32px;
}

.rg-search-page.is-loading .rg-search-results,
.rg-search-page.is-loading .rg-search-summary,
.rg-search-page.is-loading .rg-search-empty {
  opacity: 0.55;
}

.rg-search-results-group__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid #f1a449;
  font-family: Arial, Helvetica, sans-serif;
}

.rg-search-results-group__header h2 {
  margin: 0;
  color: #111;
  font-size: 24px;
  line-height: 1.2;
}

.rg-search-results-group__header > span:last-child {
  color: #8b8178;
  font-weight: 700;
}

.rg-search-results-group__items {
  display: grid;
  gap: 20px;
}

.rg-search-result-card {
  display: grid;
  gap: 10px;
  padding: 26px 28px;
  border: 1px solid #e0d9d2;
  border-radius: 10px;
  background: #fff;
  color: #333;
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(53, 42, 31, 0.05);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.rg-search-result-card:hover,
.rg-search-result-card:focus {
  border-color: #d39129;
  color: #333;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(53, 42, 31, 0.1);
  transform: translateY(-1px);
  outline: 0;
}

.rg-search-result-card__type {
  color: #835424;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.rg-search-result-card h3 {
  margin: 0;
  color: #3d3a37;
  font-size: 21px;
  line-height: 1.35;
}

.rg-search-result-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: #82776d;
  font-size: 13px;
}

.rg-search-result-card__excerpt {
  color: #665b52;
  font-size: 15px;
  line-height: 1.5;
}

.rg-search-pagination {
  display: flex;
  justify-content: center;
  margin: 44px 0 8px;
  font-family: Arial, Helvetica, sans-serif;
}

.rg-search-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  margin: 0 4px;
  padding: 0 16px;
  border: 1px solid #d7d2cc;
  border-radius: 8px;
  background: #fff;
  color: #241f1b;
  font-weight: 700;
  text-decoration: none;
}

.rg-search-pagination .page-numbers.current,
.rg-search-pagination .page-numbers:hover,
.rg-search-pagination .page-numbers:focus {
  border-color: #835424;
  background: #835424;
  color: #fff;
  text-decoration: none;
}

.rg-footer {
  position: relative;
  overflow: hidden;
  padding: 60px 0 34px;
  background: #835424;
  color: #fff;
}

.rg-footer__inner {
  position: relative;
  font-size: 15px;
}

.rg-footer__inner::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f39c12, #e74c3c, #3498db, #2ecc71);
}

.rg-footer__columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1.05fr 1fr 1.3fr;
  gap: 46px;
  align-items: start;
  margin-bottom: 40px;
}

.rg-footer h2 {
  position: relative;
  margin: 0 0 22px;
  padding-bottom: 11px;
  color: #fff;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 1px;
}

.rg-footer h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: #f39c12;
}

.rg-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rg-footer li {
  margin: 0 0 13px;
  line-height: 1.25;
}

.rg-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.rg-footer a:hover,
.rg-footer a:focus {
  color: #fff;
}

.rg-footer__column a {
  display: inline-block;
}

.rg-footer__column a:hover,
.rg-footer__column a:focus {
  transform: translateX(5px);
}

.rg-footer p {
  margin: 0;
}

.rg-footer__publisher {
  min-height: 346px;
  padding: 28px 20px 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.rg-footer__publisher-logo-link {
  display: block;
  margin: 0 0 20px;
}

.rg-footer__publisher-logo {
  display: block;
  width: 200px;
  max-width: 100%;
  height: auto;
}

.rg-footer__publisher-name {
  color: #fff;
  font-weight: 700;
  line-height: 1.45;
}

.rg-footer__publisher-address {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.5;
}

.rg-footer__publisher-address a {
  color: #f39c12;
}

.rg-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rg-footer__copyright {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.rg-footer__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 160ms ease;
}

.rg-footer__badge:hover,
.rg-footer__badge:focus {
  transform: scale(1.08);
}

.rg-footer__badge img {
  display: block;
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.rg-image-lightbox {
  cursor: zoom-in;
}

body.rg-image-lightbox-open {
  overflow: hidden;
}

.rg-image-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background: rgba(20, 16, 13, 0.86);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  backdrop-filter: blur(2px);
}

.rg-image-lightbox-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.rg-image-lightbox-overlay__image {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(100%, 1180px);
  max-height: 100%;
  margin: 0;
  opacity: 0;
  transform: translateY(18px) scale(0.94);
  transition:
    opacity 190ms ease,
    transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.rg-image-lightbox-overlay.is-visible .rg-image-lightbox-overlay__image {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.rg-image-lightbox-overlay.is-closing .rg-image-lightbox-overlay__image {
  opacity: 0;
  transform: translateY(10px) scale(0.97);
}

.rg-image-lightbox-overlay__image img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 150px);
  width: auto;
  height: auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.rg-image-lightbox-overlay__caption {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 12px 14px 0;
  color: #fff3df;
  font-family: Arial, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.38;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.rg-image-lightbox-overlay__caption .clickenlarge,
.rg-image-lightbox-overlay__caption .copy {
  display: inline;
  color: inherit;
  font: inherit;
}

.rg-image-lightbox-overlay__caption .copy {
  margin-left: 0.35em;
}

.rg-image-lightbox-overlay__close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #4c2c13;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 160ms ease,
    transform 180ms ease,
    background-color 160ms ease;
}

.rg-image-lightbox-overlay.is-visible .rg-image-lightbox-overlay__close {
  opacity: 1;
  transform: scale(1);
}

.rg-image-lightbox-overlay__close:hover,
.rg-image-lightbox-overlay__close:focus {
  background: #f6b04f;
}

@media (prefers-reduced-motion: reduce) {
  .rg-image-lightbox-overlay,
  .rg-image-lightbox-overlay__image,
  .rg-image-lightbox-overlay__caption,
  .rg-image-lightbox-overlay__close,
  .rg-content dfn[title]::before,
  .rg-content dfn[title]::after,
  .rg-content .rg-glossary-term::before,
  .rg-content .rg-glossary-term::after {
    transition: none;
  }

  .rg-image-lightbox-overlay__image,
  .rg-image-lightbox-overlay.is-closing .rg-image-lightbox-overlay__image,
  .rg-image-lightbox-overlay__close {
    transform: none;
  }
}

@media (max-width: 900px) {
  .rg-header__inner {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
    padding: 18px 0;
  }

  .rg-header__navwrap {
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
  }

  .rg-header__search {
    flex: 1 1 320px;
    max-width: 420px;
    margin-left: 0;
  }

  .rg-secondary-nav {
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .rg-secondary-nav__list {
    min-width: max-content;
  }

  .rg-top-menu,
  .rg-header-local-nav nav,
  .rg-header-local-nav nav > ul {
    flex-wrap: wrap;
  }

  .rg-header-local-nav__inner {
    width: 100%;
  }

  .rg-header-local-nav nav > li,
  .rg-header-local-nav nav > ul > li {
    flex: 1 1 50%;
    max-width: none;
  }

  .rg-header-local-nav nav > li.ortsstartseite,
  .rg-header-local-nav nav > ul > li.ortsstartseite {
    flex: 1 1 50%;
    max-width: none;
  }

  .rg-layout.has-sidebar,
  .rg-layout.has-local-nav.no-sidebar,
  .rg-layout.has-local-nav.has-sidebar {
    grid-template-columns: 1fr;
  }

  .rg-layout.no-sidebar .rg-layout__main {
    max-width: none;
  }

  .rg-footer__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
  }

  .rg-footer__publisher {
    margin-left: 0;
    max-width: none;
    min-height: 0;
  }

  .rg-content .biographies {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rg-places-az__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rg-region-places__toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .rg-search-page__filters {
    grid-template-columns: 1fr;
  }

  .rg-search-page__filters button {
    width: max-content;
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .rg-header__inner,
  .rg-footer__inner,
  .rg-container,
  .rg-section-masthead__inner {
    width: min(100% - 24px, 1140px);
  }

  .rg-logo__image {
    width: 270px;
  }

  .rg-top-menu {
    gap: 12px;
    font-size: 15px;
  }

  .rg-places-az__grid {
    grid-template-columns: 1fr;
  }

  .rg-region-places__toolbar {
    padding: 16px;
  }

  .rg-region-places__letters a {
    width: 34px;
    height: 34px;
  }

  .rg-region-places__grid {
    grid-template-columns: 1fr;
  }

  .rg-section-masthead__inner {
    padding-top: 34px;
  }

  .rg-section-masthead__title {
    margin-bottom: 26px;
    font-size: 28px;
  }

  .rg-secondary-nav__link {
    min-height: 44px;
    padding: 0 18px;
  }

  .rg-header-local-nav__inner {
    width: 100%;
  }

  .rg-header-local-nav nav > li,
  .rg-header-local-nav nav > ul > li {
    flex-basis: 100%;
    max-width: none;
  }

  .rg-header-local-nav nav > li.ortsstartseite,
  .rg-header-local-nav nav > ul > li.ortsstartseite {
    flex-basis: 100%;
    max-width: none;
  }

  .rg-header-local-nav nav > li > a,
  .rg-header-local-nav nav > ul > li > a {
    min-height: 46px;
    padding-inline: 14px;
    font-size: 16px;
  }

  .rg-top-menu__submenu,
  .rg-secondary-nav__submenu,
  .rg-top-menu .sub-menu,
  .rg-header-local-nav nav > li > ul,
  .rg-header-local-nav nav > ul > li > ul {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 4px;
    box-shadow: none;
  }

  .rg-page-header h1 {
    font-size: 25px;
  }

  .rg-content .abc-box h1 a {
    min-width: 30px;
    padding-inline: 6px;
  }

  .rg-content .csc-frame-teasermain {
    width: 100%;
  }

  .rg-content:has(> .csc-frame-teasermain) {
    grid-template-columns: 1fr;
  }

  .rg-content .biographies {
    grid-template-columns: 1fr;
  }

  .rg-search-panel {
    right: auto;
    left: 0;
    width: min(100%, calc(100vw - 24px));
    border-radius: 14px;
  }

  .rg-search-page__header {
    gap: 20px;
    padding-top: 18px;
  }

  .rg-search-page__form {
    grid-template-columns: 1fr;
  }

  .rg-search-page__form button {
    width: calc(100% - 8px);
  }

  .rg-search-page__filters,
  .rg-search-summary,
  .rg-search-result-card {
    padding: 18px;
  }

  .rg-search-results-group__header h2 {
    font-size: 21px;
  }

  .rg-search-result-card h3 {
    font-size: 18px;
  }

  .rg-footer__columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .rg-footer {
    padding: 42px 0 24px;
  }

  .rg-footer__inner::before {
    top: -42px;
  }

  .rg-footer h2 {
    font-size: 18px;
  }

  .rg-footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ============================================
   Kulturdenkmäler-Grid (#denkmaeler)
   Wandelt das alte TYPO3-"infiniteCarousel"
   in ein modernes 3-Spalten-Grid um.
   ============================================ */


/* Karussell-Wrapper "transparent" machen, damit das ul direkt im Grid liegt */
#denkmaeler .infiniteCarousel,
#denkmaeler .infiniteCarousel .wrapper {
    display: contents;
}

#denkmaeler .infiniteCarousel ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

#denkmaeler .infiniteCarousel li {
    margin: 0;
    padding: 0;
}

#denkmaeler .infiniteCarousel a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: #f4f4f4;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Inline-Attribute width="75" height="75" überschreiben */
#denkmaeler .infiniteCarousel img {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.4s ease;
}

#denkmaeler .infiniteCarousel a:hover {
    box-shadow: 0 4px 14px rgba(121, 76, 36, 0.18);
}

#denkmaeler .infiniteCarousel a:hover img {
    transform: scale(1.05);
}

/* "Alle Kulturdenkmäler"-Link */
#denkmaeler .mehrdenkmaeler {
    display: inline-block;
    margin-top: 1.2rem;
    color: #4868DE;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    transition: color 0.2s ease;
}

#denkmaeler .mehrdenkmaeler:hover {
    color: #794C24;
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
    #denkmaeler .infiniteCarousel ul {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

@media (max-width: 400px) {
    #denkmaeler .infiniteCarousel ul {
        gap: 0.5rem;
    }
}
