/* Cinematic Waidwerk – gezielte räumliche und filmische Inszenierung */
body::before {
  display: none;
}

.site-header,
body > header { backdrop-filter: none; }

.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 220;
  height: 2px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--bronze);
  transform: scaleX(0);
}

.site-header--overlay {
  color: #fff;
  background: linear-gradient(to bottom, rgba(5, 16, 10, .78), rgba(5, 16, 10, .22) 72%, transparent);
  border-bottom: 0;
  backdrop-filter: none;
}

.site-header--overlay .nav {
  border-bottom: 1px solid rgba(255, 255, 255, .19);
}

.site-header--overlay .brand-image-link {
  padding: 5px 10px;
  background: rgba(244, 240, 231, .94);
  box-shadow: 0 8px 35px rgba(0, 0, 0, .12);
}

.site-header--overlay .nav-links a { color: rgba(255, 255, 255, .76); }
.site-header--overlay .nav-links a:hover,
.site-header--overlay .nav-links a.active { color: #fff; }
.site-header--overlay .nav-cta { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .48); }
.site-header--overlay .nav-cta:hover { color: var(--forest); background: #fff; border-color: #fff; }
.site-header--overlay .burger { color: #fff; }

.home-hero {
  height: max(820px, 100svh);
  min-height: 820px;
  isolation: isolate;
  perspective: 1200px;
}

.home-hero::after { display: none; }

.home-hero-image {
  width: 104%;
  max-width: none;
  left: -2%;
  transform-origin: 50% 60%;
  will-change: transform;
}

.home-hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: .58;
  pointer-events: none;
  transform: translateZ(0);
}

.home-hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 16, 10, .93), rgba(5, 16, 10, .64) 43%, rgba(5, 16, 10, .14) 78%),
    linear-gradient(0deg, rgba(5, 14, 9, .72), transparent 54%),
    linear-gradient(180deg, rgba(3, 11, 7, .4), transparent 28%);
}

.home-hero-inner { padding-bottom: 104px; }
.home-hero h1 { max-width: 960px; font-size: clamp(64px, 8vw, 118px); line-height: .84; }
.hero-line-wrap { display: block; overflow: hidden; padding: 0 .08em .1em 0; }
.hero-line { display: block; transform-origin: left bottom; }
.home-hero h1 em { text-shadow: 0 0 45px rgba(219, 200, 164, .16); }

.hero-coordinate {
  position: absolute;
  right: 7.5%;
  bottom: 16%;
  z-index: 3;
  display: grid;
  grid-template-columns: auto auto;
  gap: 2px 16px;
  width: 190px;
  color: rgba(255, 255, 255, .58);
  font-size: 8px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero-coordinate i {
  grid-column: 1 / -1;
  height: 1px;
  margin: 9px 0 7px;
  background: linear-gradient(90deg, var(--bronze), transparent);
}

.hero-coordinate b { grid-column: 1 / -1; color: rgba(255, 255, 255, .9); font-weight: 500; }
.hero-scroll span { position: relative; overflow: hidden; }
.hero-scroll span::after { content: ""; position: absolute; inset: -100% 0 100%; background: #fff; animation: scrollSignal 2.5s ease-in-out infinite; }

@keyframes scrollSignal {
  0% { transform: translateY(-100%); }
  55%, 100% { transform: translateY(200%); }
}

.welcome { position: relative; overflow: hidden; }
.welcome::after {
  content: "52° 10′ N  ·  12° 02′ E  /  HOHENZIATZ";
  position: absolute;
  right: max(24px, calc((100vw - var(--maxw)) / 2 + 32px));
  bottom: 34px;
  color: rgba(23, 49, 38, .34);
  font-family: var(--font-body);
  font-size: 8px;
  line-height: 1;
  letter-spacing: .16em;
  pointer-events: none;
}

.current-offer-image,
.experience-image { contain: paint; }
.current-offer-image img,
.experience-image img {
  height: 100%;
  transform: scale(1.018);
  transition: transform 1s var(--ease);
}
.current-offer-image.in img,
.experience-image.in img { transform: scale(1); }

.field-story {
  position: relative;
  height: 320vh;
  background: #07170f;
  color: #fff;
}

.field-story-sticky {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(420px, .66fr);
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
}

.story-media { position: relative; min-width: 0; overflow: hidden; }
.story-shot { position: absolute; inset: 0; opacity: 0; transform: scale(1.018); transition: opacity .65s ease, transform .9s ease; }
.story-shot.is-active { opacity: 1; transform: scale(1); }
.story-shot img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.66) contrast(1.08); }
.story-media-shade { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 48%, rgba(7, 23, 15, .82)), linear-gradient(0deg, rgba(7, 23, 15, .6), transparent 50%); }
.story-caption { position: absolute; left: 38px; bottom: 34px; color: rgba(255, 255, 255, .58); font-size: 8px; letter-spacing: .17em; text-transform: uppercase; }

.story-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(54px, 7vw, 110px) clamp(40px, 6vw, 90px);
  background: #07170f;
}

.story-copy::before { content: "03 / JAGDTAG"; position: absolute; top: 8%; right: 8%; padding-top: 10px; border-top: 1px solid rgba(219,200,164,.34); color: rgba(219,200,164,.45); font-size: 8px; letter-spacing: .16em; }

.story-intro { margin-bottom: 72px; }
.story-intro .eyebrow { color: var(--bronze-light); }
.story-intro h2 { color: #fff; font-size: clamp(38px, 4.2vw, 65px); line-height: .98; }
.story-intro h2 em { color: var(--bronze-light); }
.story-chapters { position: relative; min-height: 210px; }
.story-chapter { position: absolute; inset: 0; opacity: 0; transform: translateY(22px); pointer-events: none; transition: opacity .55s ease, transform .7s var(--ease); }
.story-chapter.is-active { opacity: 1; transform: none; pointer-events: auto; }
.story-chapter small { color: var(--bronze-light); font-size: 9px; letter-spacing: .17em; text-transform: uppercase; }
.story-chapter h3 { max-width: 460px; margin: 17px 0 14px; color: #fff; font-size: clamp(25px, 2.4vw, 35px); }
.story-chapter p { max-width: 440px; color: rgba(255, 255, 255, .58); font-size: 14px; }
.story-progress { position: absolute; top: 50%; left: 34px; width: 1px; height: 40%; background: rgba(255, 255, 255, .13); transform: translateY(-50%); }
.story-progress span { display: block; width: 100%; height: 100%; background: var(--bronze); transform: scaleY(.02); transform-origin: top; }
.text-link--light { align-self: flex-start; color: var(--bronze-light); }

.home-gallery-grid { grid-template-columns: 1.15fr .7fr 1.15fr; grid-template-rows: 300px 360px; }
.home-gallery-grid a:nth-child(2) { transform: translateY(52px); }
.home-gallery-grid a:nth-child(3) { margin-left: 28px; }
.home-gallery-grid a:last-child { margin-top: 10px; }

.phead { isolation: isolate; }
.phead-orbit { display: none; }

.ferror { display: none; margin-top: 18px; padding: 16px 18px; border-left: 3px solid #94473e; background: #efe0dc; color: #68322d; font-size: 12px; }

@media (max-width: 1050px) {
  .field-story-sticky { grid-template-columns: 1fr 460px; }
  .story-copy { padding: 58px 46px; }
  .story-progress { left: 18px; }
  .hero-coordinate { display: none; }
}

@media (max-width: 859px) {
  .site-header--overlay { background: linear-gradient(to bottom, rgba(5, 16, 10, .86), rgba(5, 16, 10, .28)); }
  .home-hero { height: 820px; min-height: 92svh; }
  .home-hero-canvas { display: none; }
  .field-story { height: auto; }
  .field-story-sticky { position: relative; display: block; height: auto; min-height: 0; }
  .story-media { height: min(68vh, 620px); }
  .story-media-shade { background: linear-gradient(0deg, #07170f 0, rgba(7, 23, 15, .12) 46%); }
  .story-copy { padding: 70px 24px 86px; }
  .story-intro { margin-bottom: 50px; }
  .story-chapters { min-height: 0; }
  .story-chapter { position: relative; padding: 28px 0; opacity: 1; transform: none; border-top: 1px solid rgba(255, 255, 255, .12); pointer-events: auto; }
  .story-chapter:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .story-progress { display: none; }
  .story-copy .text-link { margin-top: 38px; }
  .home-gallery-grid a:nth-child(2) { transform: none; }
  .home-gallery-grid a:nth-child(3) { margin-left: 0; }
  .home-gallery-grid a:last-child { margin-top: 0; }
}

@media (max-width: 560px) {
  .site-header--overlay .brand-image-link { padding: 4px 8px; }
  .site-header--overlay .nav { border-bottom: 0; }
  .home-hero { height: 760px; }
  .home-hero-inner { padding-bottom: 72px; }
  .home-hero h1 { font-size: clamp(51px, 15vw, 72px); }
  .home-hero-canvas { opacity: .46; }
  .story-media { height: 54vh; min-height: 420px; }
  .story-caption { left: 22px; bottom: 22px; }
  .story-intro h2 { font-size: 40px; }
  .home-gallery-grid { grid-template-rows: repeat(2, 250px); }
}

/* Auf Touch-Tablets wird die Reviergeschichte linear statt scrollgebunden erzählt. */
@media (pointer: coarse) and (max-width: 1180px) {
  .home-hero-canvas { display: none; }
  .home-hero-image { width: 100%; left: 0; transform: none !important; will-change: auto; }
  .field-story { height: auto; }
  .field-story-sticky { position: relative; display: block; height: auto; min-height: 0; }
  .story-media { height: min(62svh, 620px); }
  .story-media-shade { background: linear-gradient(0deg, #07170f 0, rgba(7, 23, 15, .12) 46%); }
  .story-copy { padding: 70px max(28px, env(safe-area-inset-right)) 86px max(28px, env(safe-area-inset-left)); }
  .story-intro { margin-bottom: 50px; }
  .story-chapters { min-height: 0; }
  .story-chapter { position: relative; padding: 28px 0; opacity: 1; transform: none; border-top: 1px solid rgba(255, 255, 255, .12); pointer-events: auto; }
  .story-chapter:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .story-progress { display: none; }
  .story-copy .text-link { margin-top: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll span::after { display: none; }
  .story-shot { transition: none; }
}
