/* story.css — Story-Seiten-spezifische Blöcke (alles andere kommt aus
   base.css/sections.css: hero-sticky, hero-copy, claim, statement, specs,
   feature-rows, cta, footer) */

/* 2 · Story-Hero (Scrub) — Höhen nur mit JS + Bewegung, wie sections.css */
#story-hero { margin-top: calc(-1 * var(--nav-h)); }
@media (prefers-reduced-motion: no-preference) {
  html.js #story-hero { height: 400vh; }
}
#story-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 4 · Timeline */
#geschichte { padding: 10vh 0 4vh; }
.story-chapter {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 12vh 24px;
  overflow: hidden;
}
.chapter-year {
  font-family: var(--font-display);
  font-size: clamp(5rem, 22vw, 18rem);
  line-height: 0.9;
  color: rgba(245, 245, 247, 0.14);
  will-change: transform, color;
}
html:not(.js) .chapter-year { color: var(--orange); }
@media (prefers-reduced-motion: reduce) {
  .chapter-year { color: var(--orange); }
}
.chapter-copy {
  position: relative;
  max-width: 560px;
  margin-top: 2rem;
}
.chapter-copy .display-s { margin-bottom: 1rem; }
.chapter-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.chapter-media img,
.chapter-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}
.chapter-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,10,10,0.1) 0%, rgba(10,10,10,0.92) 100%);
  pointer-events: none;
}

/* 6 · Gründer-Foto */
#gruender { padding: 12vh 0; }
.founders { margin: 0 auto; max-width: 900px; padding: 0 24px; }
.founders img { border-radius: var(--radius); width: 100%; }
.founders figcaption {
  margin-top: 1.2rem;
  text-align: center;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
}

/* 7 · Werte (Klon des #fleisch-Containers) */
#werte {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6vh 24px 10vh;
  display: flex;
  flex-direction: column;
  gap: 12vh;
}
#werte .section-head { padding-left: 0; padding-right: 0; }

/* 8 · Halal-FAQ */
#halal { padding: 10vh 0 14vh; }
#halal .display-s { margin-bottom: 2.5rem; }
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.faq-item:first-of-type { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 0;
  font-weight: 700;
  font-size: 1.1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--orange);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 2.5rem 1.4rem 0;
  color: var(--muted);
  font-weight: 500;
}

/* 9 · Nachhaltigkeit */
#nachhaltigkeit { padding: 4vh 0 14vh; }
#nachhaltigkeit .display-m { margin-bottom: 3.5rem; }

/* Mobile */
@media (max-width: 734.98px) {
  .story-chapter { min-height: 88vh; min-height: 88svh; padding: 10vh 24px; }
  .faq-item p { padding-right: 0; }
}
@media (max-width: 734.98px) and (prefers-reduced-motion: no-preference) {
  html.js #story-hero { height: 320vh; }
}
