:root {
  --ink: #142016;
  --muted: #58685a;
  --paper: #fbfff7;
  --wash: #eef7e7;
  --line: #cbdcc2;
  --moss: #385f28;
  --grass: #5f8f27;
  --newgrass: #9fca56;
  --teal: #0f7468;
  --rose: #a93258;
  --amber: #9d6b17;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(56, 95, 40, 0.08) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(159, 202, 86, 0.12), rgba(238, 247, 231, 0.82) 360px),
    var(--wash);
  background-size: 44px 44px, auto, auto;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--moss);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
  color: var(--rose);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(24, 22, 29, 0.18);
  background: rgba(251, 255, 247, 0.93);
  backdrop-filter: blur(14px);
}

.site-header::after {
  content: "";
  display: block;
  height: 18px;
  background:
    linear-gradient(to bottom, rgba(251, 255, 247, 0), rgba(238, 247, 231, 0.78)),
    url("oben2.jpg") center bottom / auto 56px repeat-x;
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  color: #173512;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  font-size: 0.94rem;
}

.nav-links a {
  color: #3f6138;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--rose);
}

.hero,
.section,
.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: min(760px, calc(100vh - 68px));
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(46px, 8vw, 92px) 0;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 34px auto auto -42px;
  width: 210px;
  height: 420px;
  border-radius: 100px;
  background:
    linear-gradient(to right, rgba(238, 247, 231, 0), rgba(238, 247, 231, 0.36)),
    url("seite2.jpg") center / cover no-repeat;
  opacity: 0.32;
  transform: rotate(-4deg);
}

.hero-copy {
  max-width: 680px;
  position: relative;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--moss);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  color: #173512;
  text-shadow: 0 3px 0 rgba(159, 202, 86, 0.22);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

h3 {
  font-size: 1.2rem;
}

.lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: #243323;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.archive-note {
  margin: 24px 0 0;
  padding: 16px 18px;
  border-left: 8px solid transparent;
  border-image: url("seite2.jpg") 24 round;
  background:
    linear-gradient(90deg, rgba(159, 202, 86, 0.22), rgba(251, 255, 247, 0.92)),
    #fbfff0;
  color: #26341f;
  font-weight: 650;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #25451f;
  border-radius: 8px;
  background: #25451f;
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.button.secondary {
  background: var(--paper);
  color: #25451f;
}

.button:hover,
.button:focus-visible {
  border-color: #638d2f;
  background: #638d2f;
  color: #fff;
}

.hero-media {
  align-self: stretch;
  min-height: 420px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 14px;
  position: relative;
  padding-left: 24px;
}

.hero-media::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  bottom: 46px;
  width: 42px;
  border-radius: 22px;
  background:
    linear-gradient(to right, rgba(238, 247, 231, 0), rgba(238, 247, 231, 0.42)),
    url("seite2.jpg") center / cover no-repeat;
  box-shadow: 0 0 0 1px rgba(24, 22, 29, 0.08);
}

.feature-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border: 1px solid #aecb9e;
  border-radius: 8px;
  background: #dfeccd;
  box-shadow: 12px 12px 0 rgba(95, 143, 39, 0.16);
}

.caption {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: clamp(46px, 7vw, 86px) 0;
  border-top: 1px solid rgba(56, 95, 40, 0.24);
  position: relative;
}

.section::before {
  content: "";
  display: block;
  width: 220px;
  height: 18px;
  margin: 0 0 28px;
  border-radius: 999px;
  background: url("oben2.jpg") center / auto 54px repeat-x;
  opacity: 0.78;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

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

.card {
  min-width: 0;
  border: 1px solid rgba(56, 95, 40, 0.2);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(38, 69, 30, 0.08);
}

.card::before {
  content: "";
  display: block;
  height: 10px;
  background: url("oben2.jpg") center / auto 46px repeat-x;
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #dfeccd;
}

.card-body {
  padding: 18px;
}

.card-body p {
  margin: 8px 0 0;
  color: var(--muted);
}

.meta {
  color: #4b7a20;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.text-panel {
  border-left: 8px solid transparent;
  border-image: url("seite2.jpg") 24 round;
  background: var(--paper);
  padding: 24px;
  box-shadow: 0 12px 34px rgba(38, 69, 30, 0.08);
}

.text-panel p {
  margin: 12px 0 0;
}

.quote {
  color: var(--muted);
  font-style: italic;
}

.gallery-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.gallery-item {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 14px;
}

.gallery-item img {
  width: 126px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.page-hero {
  padding: clamp(42px, 7vw, 78px) 0;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
}

.viewer {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(30px, 5vw, 64px) 0;
}

.viewer::before {
  content: "";
  display: block;
  height: 22px;
  margin-bottom: 28px;
  border-radius: 999px;
  background: url("oben2.jpg") center / auto 62px repeat-x;
}

.viewer-frame {
  margin-top: 24px;
  display: grid;
  gap: 18px;
}

.viewer-frame img {
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border: 1px solid #aecb9e;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 12px 12px 0 rgba(95, 143, 39, 0.14);
}

.footer {
  padding: 34px 0 48px;
  color: var(--muted);
  border-top: 1px solid rgba(56, 95, 40, 0.24);
}

@media (max-width: 820px) {
  body {
    font-size: 16px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero::before {
    display: none;
  }

  .hero-media,
  .feature-image {
    min-height: 280px;
  }

  .hero-media {
    padding-left: 0;
    padding-top: 22px;
  }

  .hero-media::before {
    top: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: 18px;
    border-radius: 999px;
    background: url("oben2.jpg") center / auto 54px repeat-x;
  }

  .section-head,
  .split,
  .grid,
  .gallery-list {
    grid-template-columns: 1fr;
    display: grid;
  }

  .section-head {
    align-items: start;
  }

  .gallery-item {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .gallery-item img {
    width: 104px;
  }
}

@media (max-width: 520px) {
  .hero,
  .section,
  .footer,
  .nav,
  .viewer {
    width: min(100% - 24px, 1120px);
  }

  .gallery-item {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    width: 116px;
  }
}
