:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.55;
  color: #193126;
  background: #89aa89;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #89aa89; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #e7b84f; outline-offset: 4px; }

.site-header { background: #89aa89; border-bottom: 1px solid #6f8f6f; }
.site-header__inner, .site-footer__inner, .content { width: min(100% - 2rem, 72rem); margin: 0 auto; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1rem 0; }
.site-title { display: inline-flex; align-items: center; gap: .65rem; color: inherit; font-size: 1.1rem; font-weight: 780; letter-spacing: -.02em; text-decoration: none; }
.site-title img { width: 3.3rem; height: 2.55rem; object-fit: contain; }
.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .4rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.site-nav a { color: #365041; font-size: .93rem; text-decoration: none; }
.site-nav a:hover { color: #0c3320; text-decoration: underline; text-underline-offset: .25em; }
.content { min-height: 60vh; padding: 2rem 0 4rem; }

.hero { display: grid; grid-template-columns: 1fr; align-items: center; min-height: clamp(24rem, 56vw, 39rem); padding: clamp(3rem, 8vw, 7rem) clamp(1.5rem, 5vw, 5rem); color: #fbfbf7; border-radius: 1.25rem; background-color: #174331; }
.hero, .page-intro--hero, .wood-page__intro { position: relative; isolation: isolate; overflow: hidden; }
.hero__background { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before, .page-intro--hero::before, .wood-page__intro::before { position: absolute; z-index: 1; inset: 0; content: ""; }
.hero::before { background: linear-gradient(105deg, rgb(10 43 28 / .42) 0%, rgb(13 51 33 / .30) 53%, rgb(12 40 28 / .14) 100%); }
.page-intro--hero::before { background: linear-gradient(105deg, rgb(10 43 28 / .52) 0%, rgb(13 51 33 / .36) 53%, rgb(12 40 28 / .20) 100%); }
.wood-page__intro::before { background: linear-gradient(105deg, rgb(10 43 28 / .58) 0%, rgb(13 51 33 / .40) 53%, rgb(12 40 28 / .22) 100%); }
.hero > :not(.hero__background), .page-intro--hero > :not(.hero__background), .wood-page__intro > :not(.hero__background) { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 .75rem; color: #bdcf9f; font-size: .79rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
h1, h2 { font-weight: 760; letter-spacing: -.045em; line-height: 1.02; }
h1 { max-width: 8ch; margin: 0; font-size: clamp(3rem, 8vw, 6.4rem); text-shadow: 0 .15rem .8rem rgb(0 0 0 / .55); }
h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); }
.hero__lead { max-width: 40rem; margin: 1.5rem 0 0; color: #dce5d7; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }

.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section__heading { max-width: 48rem; }
.section .eyebrow, .contact .eyebrow { color: #54715d; }
.service-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.service-list li { min-height: 8rem; display: flex; align-items: end; padding: 1.2rem; color: #173a29; background: #e1e8d8; border-radius: .75rem; font-size: 1.12rem; font-weight: 700; }
.service-list li:nth-child(2n) { background: #d4dfc8; }

.contact { display: grid; grid-template-columns: 1fr minmax(18rem, .85fr); gap: clamp(2rem, 6vw, 5rem); padding: clamp(2rem, 5vw, 4rem); background: #e1e8d8; border-radius: 1.25rem; }
.contact p { max-width: 36rem; font-size: 1.1rem; }
.contact-card { display: grid; gap: .35rem; align-content: start; padding: 1.5rem; color: #f8f8f1; background: #173a29; border-radius: .75rem; font-style: normal; }
.contact-card a { margin-top: .25rem; font-weight: 700; }
.contact-card .text-link { margin-top: 1rem; font-weight: 500; }

.services-page { padding: clamp(2rem, 5vw, 4.5rem) 0; }
.page-intro { width: 100%; padding: clamp(2rem, 5vw, 4rem); background: #e1e8d8; border-radius: 1.25rem; }
.page-intro .eyebrow { color: #54715d; }
.page-intro h1 { max-width: none; color: #173a29; font-size: clamp(3rem, 7vw, 5.5rem); text-shadow: none; }
.page-intro p:last-child { max-width: 34rem; margin: 1.25rem 0 0; font-size: clamp(1.1rem, 2vw, 1.35rem); }
.page-intro--hero { min-height: clamp(24rem, 48vw, 34rem); display: grid; align-content: center; color: #fbfbf7; background-color: #174331; }
.page-intro--hero .eyebrow { color: #bdcf9f; }
.page-intro--hero h1 { color: #fbfbf7; text-shadow: 0 .15rem .8rem rgb(0 0 0 / .55); }
.page-intro--hero p:last-child { color: #dce5d7; }
.gallery-section { margin-top: clamp(4rem, 8vw, 7rem); }
.gallery-section h2 { margin-bottom: 1.5rem; color: #173a29; font-size: clamp(2rem, 4vw, 3.25rem); }
.image-slider { max-width: 58rem; margin: 0 auto; padding: .75rem; background: #e1e8d8; border-radius: 1rem; }
.image-slider:focus-visible { outline: 3px solid #e7b84f; outline-offset: 4px; }
.image-slider__viewport { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: .6rem; background: #173a29; }
.image-slider__slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .65s ease-in-out; }
.image-slider__slide.is-active { z-index: 1; opacity: 1; pointer-events: auto; }
.image-slider__image { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.image-slider__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.image-slider__controls { display: grid; grid-template-columns: 3rem 1fr 3rem; align-items: center; gap: .75rem; padding: .8rem .15rem .05rem; }
.image-slider__button { width: 3rem; height: 2.5rem; color: #f8f8f1; background: #173a29; border: 0; border-radius: .5rem; font-size: 1.4rem; cursor: pointer; }
.image-slider__button:hover { background: #365041; }
.image-slider__status { margin: 0; color: #365041; font-size: .9rem; font-weight: 700; text-align: center; }
.image-lightbox { max-width: min(92vw, 80rem); max-height: 92vh; padding: 0; overflow: visible; border: 0; background: transparent; }
.image-lightbox::backdrop { background: rgb(5 19 12 / .85); }
.image-lightbox img { display: block; max-width: 92vw; max-height: 88vh; border-radius: .5rem; }
.image-lightbox__close { position: absolute; top: -.75rem; right: -.75rem; width: 2.5rem; height: 2.5rem; color: #173a29; background: #f8f8f1; border: 0; border-radius: 50%; font-size: 1.75rem; line-height: 1; cursor: pointer; }
.services-page__note { max-width: 50rem; margin: 3rem auto 0; color: #365041; text-align: center; }

.about-page .hero { margin: 0; }
.about-copy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 5vw, 5rem); max-width: 64rem; margin: 0 auto; }
.about-copy p { margin: 0; color: #173a29; font-size: clamp(1.15rem, 2vw, 1.45rem); }
.about-feature-image { min-height: clamp(18rem, 42vw, 34rem); margin: 0; overflow: hidden; border-radius: 1.25rem; background: #173a29; }
.about-feature-image img { display: block; width: 100%; height: 100%; object-fit: cover; }

.contact-page .hero { margin: 0; }
.contact-page__details { display: grid; grid-template-columns: .8fr 1fr 1fr; gap: 1rem; margin-top: clamp(3rem, 7vw, 6rem); }
.contact-page__logo, .contact-page__card { min-height: 15rem; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 1rem; }
.contact-page__logo { display: grid; place-items: center; background: #d4dfc8; }
.contact-page__logo img { width: min(100%, 13rem); height: auto; }
.contact-page__card { color: #f8f8f1; background: #173a29; }
.contact-page__card .eyebrow { color: #bdcf9f; }
.contact-page__card h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
.contact-page__card address, .contact-page__card p { margin: 1.25rem 0 0; font-size: 1.1rem; font-style: normal; line-height: 1.7; }
.contact-page__card a { font-weight: 700; text-underline-offset: .2em; }
.contact-page__map-link { display: inline-block; margin-top: 1.75rem; color: #dce5d7; font-weight: 500 !important; }
.contact-page__note { max-width: 42rem; margin: 3rem auto 0; color: #173a29; font-size: 1.1rem; text-align: center; }

.wood-page { padding: clamp(2rem, 5vw, 4.5rem) 0; }
.wood-page__intro { min-height: clamp(24rem, 45vw, 33rem); display: grid; align-content: center; justify-items: start; color: #fbfbf7; background-color: #174331; }
.wood-page__intro .eyebrow { color: #bdcf9f; }
.wood-page__intro h1 { max-width: none; color: #fbfbf7; text-shadow: 0 .15rem .8rem rgb(0 0 0 / .55); }
.wood-page__intro p { max-width: 38rem; margin: 1.25rem 0 0; color: #dce5d7; font-size: clamp(1.1rem, 2vw, 1.35rem); }
.wood-page__button { display: inline-block; margin-top: 2rem; padding: .85rem 1.1rem; color: #f8f8f1; background: #173a29; border-radius: .55rem; font-weight: 750; text-decoration: none; }
.wood-page__button:hover { background: #365041; }

.site-footer { color: #d8e2d2; background: #112c20; }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem 0; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 1rem; }

@media (max-width: 48rem) {
  .site-header__inner { align-items: flex-start; flex-direction: column; }
  .site-nav { justify-content: flex-start; }
  .contact { grid-template-columns: 1fr; }
  .hero { padding: 2rem; }
  .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-copy { grid-template-columns: 1fr; }
  .contact-page__details { grid-template-columns: 1fr; }
}

@media (max-width: 30rem) {
  .service-list { grid-template-columns: 1fr; }
}

.archive-preview { overflow: hidden; color: #111; background: #fff; font-family: Tahoma, Arial, sans-serif; }
.archive-preview__notice { margin: 0; padding: .75rem 1rem; color: #3d3118; background: #f4dda1; font-size: .85rem; text-align: center; }
.archive-preview__hero { display: grid; min-height: clamp(28rem, 70vh, 48rem); place-items: center; padding: 2rem; background: url("/images/startseite-hintergrund.jpg") center / cover no-repeat; }
.archive-preview__hero h1 { margin: 0; color: #fff; font-family: Tahoma, Arial, sans-serif; font-size: clamp(2.4rem, 5.5vw, 4.5rem); font-weight: 600; text-align: center; text-shadow: 0 .15rem .55rem rgb(0 0 0 / .8); }
.archive-preview__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 68rem; margin: 0 auto; padding: 6rem 2rem; font-size: 1.18rem; }
.archive-preview__intro p { margin: 0; }
.archive-preview__intro ul { margin: 0; padding-left: 1.25rem; columns: 2; }
.archive-preview__landscape { min-height: clamp(22rem, 54vw, 44rem); background: url("/images/archiv-landschaft.jpg") center / cover no-repeat; }
.archive-preview__contact { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 2rem; align-items: center; max-width: 68rem; margin: 0 auto; padding: 5rem 2rem; }
.archive-preview__contact img { width: min(100%, 24rem); height: auto; }
.archive-preview__contact h2 { font-family: Tahoma, Arial, sans-serif; font-size: 1.4rem; letter-spacing: 0; text-transform: uppercase; }
.archive-preview__contact p { line-height: 1.8; }

@media (max-width: 48rem) {
  .archive-preview__intro, .archive-preview__contact { grid-template-columns: 1fr; padding: 3rem 1.25rem; }
  .archive-preview__intro ul { columns: 1; }
}
