#rundgang, #ablauf, #leistungen, #waldbegaenge, #kontakt, #anfrage, #revierkarte {
  scroll-margin-top: 135px;
}

.intro-block .ce_bgimage-inside {
  width: 100%;
}

.intro-block .custom-headline-one {
  position: relative;
  margin-bottom: 32px;
}

.intro-block .custom-headline-one h2 {
  color: #535059;
  margin: 0;
}

.rundgang-flaeche {
  --rundgang-vorschau: clamp(225px, 42vw, 340px);
  position: relative;
  background: #182118 url('bilder/rundgang.webp') center / cover no-repeat;
}

.rundgang-flaeche::before {
  display: block;
  padding-bottom: var(--rundgang-vorschau);
  content: '';
  transition: padding-bottom .4s ease;
}

.rundgang-flaeche.ist-geoeffnet::before {
  padding-bottom: max(var(--rundgang-vorschau), min(56.25%, 75vh));
}

.rundgang-bedienung,
.rundgang-film {
  position: absolute;
  inset: 0;
}

.rundgang-bedienung {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  padding: 18px;
  background: linear-gradient(rgb(20 30 18 / 20%), rgb(20 30 18 / 58%));
}

.rundgang-bedienung[hidden],
.rundgang-film[hidden] {
  display: none;
}

.rundgang-bedienung p {
  max-width: 46ch;
  margin: 0;
  color: #fff;
  font-size: clamp(1rem, 1.65vw, 1.25rem);
  line-height: 1.35;
  text-align: center;
  text-shadow: 0 1px 5px #182118;
}

.rundgang-play {
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgb(53 59 35 / 35%);
  color: #fff;
  cursor: pointer;
  transition: background-color .3s ease;
}

.rundgang-play:hover,
.rundgang-play:focus-visible {
  background-color: rgb(53 59 35 / 80%);
  outline-color: #fff;
}

.rundgang-play span {
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 25px solid currentColor;
}

.rundgang-film video {
  display: block;
  width: 100%;
  height: 100%;
  background: #182118;
  object-fit: contain;
}

.rundgang-schliessen {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 68%);
  border-radius: 50%;
  background: rgb(24 33 24 / 88%);
  color: #fff;
  font: 30px / 1 Arial, sans-serif;
  cursor: pointer;
}

.rundgang-film :focus-visible {
  outline-color: #fff;
  outline-offset: -3px;
}

.bild-ablauf { background-image: url('bilder/panorama-ablauf.webp'); }
.bild-leistungen { background-image: url('bilder/panorama-leistungen-v2.webp'); }
.bild-waldbegaenge { background-image: url('bilder/panorama-waldbegaenge-v2.webp'); }

.panorama-rahmen {
  overflow: hidden;
}

.panorama-foto {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.panoramen-in-bewegung .panorama-foto {
  inset-block: -48px;
  transform: translateY(var(--panorama-versatz, 0px));
}

.ce_bgimage div.ausbau-offset {
  height: var(--versatz);
}

.trenner-one-block .bild-ablauf::after {
  position: absolute;
  inset: 0;
  background: rgb(25 33 20 / 30%);
  content: '';
}

.panorama-gedanke p {
  margin: 0;
  color: #fff;
  font-family: 'granite-italic', Georgia, serif;
  font-size: clamp(24px, 3.1vw, 40px);
  line-height: 1.24;
  text-shadow: 0 1px 3px rgb(21 26 15 / 80%);
}

.panorama-gedanke .panorama-autor {
  margin-top: 12px;
  font-size: 1.1rem;
}

.st-borderbox h2 {
  margin-bottom: 0;
}

.mod_article.ablauf-block > .container {
  padding-block: clamp(34px, 4vw, 60px);
}

.ablauf-schritte {
  margin: 0;
  padding: 0;
  color: #535059;
  list-style: none;
}

.ablauf-schritte li {
  display: grid;
  grid-template-columns: minmax(13rem, 23%) 1fr;
  gap: 8px 24px;
  align-items: baseline;
  padding-block: 13px;
  border-top: 1px solid #e3d5cf;
}

.ablauf-schritte h3 {
  color: #535059;
  font-size: 1.14rem;
  line-height: 1.25;
}

.ablauf-schritte h3,
.ablauf-schritte p {
  margin: 0;
}

.leistung-einstieg {
  margin-bottom: 42px;
}

.leistung-einstieg-bild img {
  width: 100%;
  height: auto;
}

.leistungstafel .pricetable {
  display: flex;
  flex-direction: column;
  color: #535059;
}

.leistungstafel .pricetable .priceinfo {
  color: inherit;
}

.leistungstafel .pricetable .title {
  margin: 0;
  min-height: 104px;
  align-content: center;
}

.leistungstafel .pricetable .title .fa {
  display: block;
  margin-bottom: 7px;
  color: #3d5b26;
  font-size: 1.4rem;
}

.leistungstafel .pricetable .bottompicture img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.leistungstafel .pricetable .contents {
  flex: 1;
  padding: 20px 16px;
  text-align: left;
}

.leistungstafel .pricetable .contents p {
  margin-top: 0;
  margin-bottom: 10px;
}

.leistungstafel .contents a,
.hainbruch-bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.leistungstafel .contents a {
  color: #3d5b26;
}

.leistung-fragen summary {
  display: block;
  list-style: none;
}

.leistung-fragen summary::-webkit-details-marker {
  display: none;
}

.leistung-fragen details[open] .toggler {
  border-bottom: 1px dotted #9e7f50;
}

.leistung-fragen details[open] .toggler::before {
  content: '\f106';
}

.leistung-fragen .accordion-inside {
  padding: 15px 20px;
}

.leistung-fragen .accordion-inside p {
  margin: 0;
}

.ce_gallery .reviergalerie {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin: 0;
  gap: 2px;
}

.ce_gallery .reviergalerie > li {
  width: auto !important;
  margin: 0;
  padding: 0;
  float: none;
}

.reviergalerie a {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.reviergalerie a:focus-visible {
  position: relative;
  z-index: 1;
  outline-offset: -3px;
}

.reviergalerie img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.termin-tabelle {
  margin-top: 20px;
}

.termin-tabelle th {
  white-space: normal;
}

.projekt-raster {
  row-gap: 30px;
}

.ce_linkbox.projektkarte {
  display: block;
  background: #eee5e1;
  color: #535059;
}

.projektkarte .ce_linkbox_image {
  display: block;
  overflow: hidden;
}

.ce_linkbox.projektkarte .ce_linkbox_image_content {
  position: relative;
  min-height: 0;
  aspect-ratio: 7 / 4.8;
}

.projektkarte .ce_linkbox_image_content img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ce_linkbox.projektkarte .inside-bottom {
  position: relative;
  background: #eee5e1;
}

.ce_linkbox.projektkarte .headline {
  color: #535059;
}

.ce_linkbox.projektkarte:focus-visible .content p {
  transform: translateY(10px);
  opacity: 1;
  background: rgb(49 48 45 / 60%);
}

.team-hintergrund {
  background-color: #eee5e1;
}

.team-erste-reihe,
.team-seitenreihe {
  row-gap: 34px;
}

.team-hintergrund .ce_teambox {
  margin-bottom: 0;
}

.team-hintergrund .ce_teambox .image_container {
  width: min(100%, 260px);
  margin-inline: auto;
}

.team-hintergrund .ce_teambox .image_container img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
}

.team-hintergrund .ce_teambox .name {
  margin-bottom: 0;
  overflow-wrap: normal;
}

.team-hintergrund .ce_teambox .function {
  margin-block: 0 8px;
}

.team-seitenreihe {
  display: grid;
  gap: 22px;
}

.team-seitenreihe .ce_teambox .image_container {
  width: min(100%, 138px);
}

.kontakt-orte img {
  display: block;
  width: 100%;
  height: auto;
}

.kontakt-orte h3 {
  margin-bottom: 10px;
}

a.wald-knopf,
button.wald-knopf {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid #3d5b26;
  background: #3d5b26;
  color: #fff;
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color .3s ease;
}

a.wald-knopf:hover,
button.wald-knopf:hover {
  background-color: #2f491d;
  color: #fff;
}

.anfrage-form {
  padding: clamp(20px, 3vw, 35px);
  border: 1px solid #9e7f50;
}

.anfrage-form h2 {
  margin-bottom: 12px;
}

.anfrage-form label {
  display: block;
  margin-top: 15px;
}

.anfrage-form input,
.anfrage-form textarea {
  display: block;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid #bfb9b4;
  border-radius: 0;
  background: #fff;
  color: #535059;
  font: inherit;
  line-height: 1.5;
}

.anfrage-form textarea {
  resize: vertical;
}

.formular-hinweis,
.formular-status {
  margin-block: 14px 10px;
  font-size: .95rem;
}

.formular-status {
  color: #3d5b26;
}

.revierkarte {
  position: relative;
  overflow: hidden;
  height: 500px;
  border: 1px solid #c9c6ae;
  background: #e7e8d5;
}

.revierkarte canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.karten-bedienung,
.karten-auswahl {
  position: absolute;
  z-index: 1;
  display: flex;
  gap: 4px;
}

.karten-bedienung { top: 10px; left: 10px; }
.karten-auswahl { top: 10px; right: 10px; flex-wrap: wrap; justify-content: flex-end; max-width: 62%; }

.karten-bedienung button,
.karten-auswahl button {
  display: inline-grid;
  place-items: center;
  min-width: 33px;
  min-height: 34px;
  padding: 3px 7px;
  border: 1px solid #c0c3a9;
  background: #fbfaf6;
  color: #344924;
  font: inherit;
  line-height: 1.15;
  cursor: pointer;
}

.karten-auswahl button[aria-pressed='true'] {
  background: #3d5b26;
  color: #fff;
}

.karten-bedienung button:disabled {
  opacity: .43;
  cursor: default;
}

.karten-info {
  position: absolute;
  inset-inline: 8px;
  bottom: 8px;
  width: fit-content;
  max-width: calc(100% - 16px);
  margin: 0 auto;
  padding: 4px 9px;
  background: rgb(252 251 245 / 90%);
  color: #415135;
  font-size: .84rem;
  line-height: 1.35;
  text-align: center;
}

#footer.footer-block {
  overflow: visible;
  padding: 1px 0 0;
}

#footer .mod_socials a {
  display: inline-block;
}

#footer .mod_socials a i {
  float: none;
}

.hainbruch-bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hainbruch-bottom p {
  margin: 0;
}

.hainbruch-bottom nav a + a {
  margin-left: 12px;
}

.hainbruch-bottom .hainbruch-nach-oben {
  text-decoration: none;
  font-size: 1.3rem;
}

.medien-dialog {
  position: fixed;
  inset: 0;
  width: min(920px, calc(100vw - 32px));
  max-width: 100%;
  max-height: calc(100dvh - 26px);
  margin: auto;
  padding: 25px;
  border: 0;
  background: #fff;
  color: #535059;
}

.medien-dialog::backdrop {
  background: rgb(36 36 34 / 85%);
}

.medien-dialog h2 {
  padding-right: 28px;
  margin-bottom: 14px;
  font-size: clamp(1.3rem, 3.5vw, 2rem);
}

.medien-close {
  position: absolute;
  top: 5px;
  right: 8px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  background: #fff;
  color: #535059;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.bilder-dialog img,
.projekt-dialog img {
  display: block;
  width: 100%;
  max-height: 67dvh;
  object-fit: contain;
}

.bilder-dialog img {
  background: #373737;
}

.bilder-dialog figcaption {
  margin-top: 12px;
  text-align: center;
}

.projekt-dialog img {
  max-height: 48dvh;
}

.projekt-dialog-text {
  margin-top: 18px;
}

.projekt-dialog-text p {
  margin-bottom: 0;
}

.galerie-steuerung {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
}

.galerie-steuerung button {
  min-width: 36px;
  min-height: 34px;
  padding: 0 8px;
  border: 1px solid #3d5b26;
  background: #3d5b26;
  color: #fff;
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1015px) {
  .ce_gallery .reviergalerie {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-seitenreihe {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .leistungstafel .column {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 767px) {
  .intro-block .custom-headline-one {
    margin-right: 15px;
  }

  .rundgang-play {
    width: 78px;
    height: 78px;
  }

  .ablauf-schritte li {
    grid-template-columns: 1fr;
  }

  .leistung-einstieg-bild,
  .kontakt-orte h3 {
    margin-top: 18px;
  }

  .projekt-raster {
    row-gap: 26px;
  }

  .team-gespraech .oz-table {
    padding-bottom: 12px;
  }

  .team-gespraech .team-seitenreihe {
    margin-top: 35px;
  }

  .hainbruch-bottom {
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .medien-dialog {
    padding: 18px;
  }
}

@media (max-width: 535px) {
  .karten-auswahl {
    top: 52px;
    left: 10px;
    right: auto;
    justify-content: flex-start;
    max-width: calc(100% - 20px);
  }

  .leistungstafel .column {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
