/* The archived stylesheets supply the grid, spacing, colours and typography. */
.logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-image: none;
  color: #3d5b26;
}

.hainbruch-mark {
  position: relative;
  flex: 0 0 35px;
  height: 39px;
  border-bottom: 1px solid #7b8266;
}

.hainbruch-mark i {
  position: absolute;
  bottom: 4px;
  width: 15px;
  height: 25px;
  border-radius: 65% 65% 42% 42%;
  background: #7b8266;
}

.hainbruch-mark i:nth-child(2) {
  left: 10px;
  bottom: 8px;
  height: 31px;
  background: #3d5b26;
}

.hainbruch-mark i:last-child {
  right: 0;
  height: 20px;
  background: #9e7f50;
}

.hainbruch-wordmark {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.hainbruch-wordmark > span {
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .73rem;
}

.hainbruch-wordmark strong {
  font-family: 'granite-bold', Georgia, serif;
  font-weight: normal;
  font-size: 1.77rem;
}

.hainbruch-panorama {
  background-image: url('bilder/waldpanorama.webp');
}

.ce_bgimage .offset_layer.hainbruch-offset {
  background-color: #fff;
  height: 15%;
}

.st-borderbox h1,
.st-borderbox h2 {
  text-transform: uppercase;
  hyphens: auto;
  overflow-wrap: break-word;
}

.start-zielgruppe {
  margin: 8px 0 0;
  color: #535059;
  font-size: 1.05rem;
  line-height: 1.35;
}

.portrait-heading .st-borderbox h2 {
  margin: 0;
  font-size: 2.7rem;
}

.portrait-block .newsflash-layer {
  position: relative;
}

.portrait-block .newsflash-layer .teaser a {
  position: relative;
}

.register-list {
  margin-bottom: 20px !important;
}

.ce_tabs .tabs .register-list a {
  color: inherit;
}

.ce_tabs .tabs .register-list img {
  width: 130px;
  max-width: 100%;
  height: auto;
}

[role='tabpanel'][hidden] {
  display: none !important;
}

#portrait,
#kontaktkarte {
  scroll-margin-top: 135px;
}

#header .smartmenu-trigger,
#menue .smartmenu-close {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.smartmenu-content {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  padding: 0;
  transition: opacity .5s ease, visibility .5s ease, display .5s allow-discrete, overlay .5s allow-discrete;
}

.smartmenu-content[open] {
  opacity: 1;
  visibility: visible;
}

@starting-style {
  .smartmenu-content[open] {
    opacity: 0;
  }
}

.smartmenu-content::backdrop {
  background: transparent;
}

.anfrage {
  width: min(460px, calc(100vw - 42px));
  position: fixed;
  inset: 0;
  margin: auto;
  border: 10px solid #fff;
  padding: 30px;
  background: #eee5e1;
  color: #535059;
  box-shadow: 12px 12px #9e7f50;
}

.anfrage::backdrop {
  background: rgb(48 48 48 / 80%);
}

.anfrage-close {
  position: absolute;
  right: 8px;
  top: 0;
  color: #535059;
  background: none;
  border: 0;
  padding: 6px;
  font-size: 24px;
  cursor: pointer;
}

.anfrage-hinweis {
  font-size: .85rem;
  margin-bottom: 0;
}

:focus-visible {
  outline: 2px solid #3d5b26;
  outline-offset: 3px;
}

#menue :focus-visible {
  outline-color: #fff;
}

@media (max-width: 767px) {
  .portrait-heading .st-borderbox h2 {
    font-size: 2.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
