/* Der Weg vom Material zum fertigen Raum: drei Kapitel in einem Bildbereich.
   Nur mit JavaScript wird die lineare, zugängliche Bildfolge zur Scrollgeschichte. */
.material-story { background: #f4f1e8; color: #292d27; }
.story-intro { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 28px 6vw; padding: 95px var(--gutter) 70px; align-items: end; }
.story-eyebrow { grid-column: 1 / -1; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #77796b; }
.story-intro h2 { font-family: var(--serif); font-weight: 550; line-height: .98; letter-spacing: -.045em; font-size: clamp(62px, 7.7vw, 118px); }
.story-intro h2 em { display: inline; }
.story-lead { font-size: 15px; line-height: 1.9; padding-bottom: 8px; max-width: 330px; justify-self: end; }
.story-track { position: relative; }
.story-frame { margin-inline: var(--gutter); }
.story-chapter { position: relative; overflow: hidden; margin: 0 0 24px; min-height: 560px; height: 75svh; max-height: 900px; border-radius: 20px; background: #35382c; color: #fff3da; }
.story-chapter > img, .story-chapter > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-chapter::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #13180e00 25%, #151b10a8 100%), linear-gradient(90deg, #14190f38, transparent 65%); pointer-events: none; }
.story-chapter figcaption { position: absolute; z-index: 1; bottom: 9%; left: clamp(28px, 5vw, 88px); right: 30px; }
.story-number { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; color: #f0ddbb; }
.story-chapter h3 { font-family: var(--serif); font-size: clamp(60px, 7vw, 108px); font-weight: 550; letter-spacing: -.035em; line-height: .97; -webkit-text-stroke: clamp(.55px, .012em, 1.8px) currentColor; paint-order: stroke fill; margin-bottom: 22px; }
.story-chapter h3 em { color: #f2d5aa; }
.story-chapter figcaption p { font-size: 13px; line-height: 1.8; color: #f4eee0; }
.story-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px var(--gutter); min-height: 72px; }
.story-scroll-hint, .story-source { font-size: 9px; color: #797b6c; }
.story-scroll-hint > span { margin-left: 15px; }
.story-navigation { display: flex; gap: 26px; }
.story-navigation button { min-height: 44px; padding: 8px 0; border: 0; border-bottom: 1px solid transparent; font-size: 11px; color: #7d7d6e; }
.story-navigation button > span { margin-right: 7px; font-size: 9px; }
.story-navigation button[aria-current="step"] { color: #86533c; border-color: #86533c; }
.story-film-toggle { position: absolute; bottom: 25px; right: 25px; z-index: 2; padding: 10px 15px; min-height: 44px; border: 1px solid #fff5; border-radius: 30px; color: #fff3da; background: #20231d99; font-size: 10px; }
.story-film-toggle > span { margin-left: 8px; }
.story-enhanced { height: 300svh; }
.story-enhanced .story-sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.story-enhanced .story-frame { position: relative; flex: 1; min-height: 0; max-height: 84svh; margin-inline: calc(var(--gutter) * (1 - var(--story-open, 0))); overflow: hidden; border-radius: calc(24px * (1 - var(--story-open, 0))); }
.story-enhanced .story-chapter { position: absolute; inset: 0; height: 100%; max-height: none; min-height: 0; margin: 0; opacity: 0; visibility: hidden; border-radius: 0; transition: opacity .65s ease, visibility .65s; }
.story-enhanced .story-chapter.is-active { opacity: 1; visibility: visible; z-index: 1; }
.story-enhanced .story-chapter figcaption { transform: translateY(15px); opacity: 0; transition: transform .7s ease, opacity .7s ease; }
.story-enhanced .story-chapter.is-active figcaption { transform: none; opacity: 1; }
.story-enhanced .story-chapter > img { transform: scale(1.045); transition: transform 1.2s ease-out; }
.story-enhanced .story-chapter.is-active > img { transform: scale(1); }
.project-invitation { padding: 92px 0 70px; background: #f4f1e8; text-align: center; }
.invitation-intro { padding-inline: var(--gutter); }
.invitation-intro .story-eyebrow { margin-bottom: 25px; }
.invitation-intro h2 { font-family: var(--serif); font-size: clamp(50px, 6.2vw, 96px); font-weight: 550; letter-spacing: -.045em; line-height: 1.02; }
.invitation-intro h2 em { display: inline; }
.invitation-intro > p:last-child { margin-top: 25px; font-size: 14px; line-height: 1.8; color: #696e60; }
.project-disclosure > summary { display: flex; width: fit-content; align-items: center; gap: 28px; list-style: none; margin: 32px auto 0; padding: 12px 14px 12px 25px; border: 1px solid #8b8f7955; border-radius: 40px; cursor: pointer; font-size: 13px; color: #292d27; transition: background .2s; }
.project-disclosure > summary::-webkit-details-marker { display: none; }
.project-disclosure > summary > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #292d27; color: #f5e7cd; font-size: 23px; transition: transform .25s; }
.project-disclosure > summary:hover { background: #e6dfcf; }
.project-disclosure[open] > summary > span { transform: rotate(180deg); }
.project-disclosure .inquiry { text-align: left; margin-top: 42px; }
.project-disclosure:not([open]) > :not(summary) { display: none; }
.planner-close { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; padding: 10px 0; margin: 0 auto; border: 0; border-bottom: 1px solid #8b8f7966; color: #696e60; font-size: 12px; }
.story-navigation button:focus-visible, .story-film-toggle:focus-visible, .project-disclosure > summary:focus-visible { outline: 2px solid #a5764c; outline-offset: 5px; }
@media (max-width: 700px) {
  .story-intro { grid-template-columns: 1fr; padding-top: 58px; padding-bottom: 40px; gap: 24px; }
  .story-intro h2 { font-size: clamp(44px, 11vw, 78px); }
  .story-lead { justify-self: start; font-size: 13px; }
  .story-chapter { height: 70svh; min-height: 470px; }
  .story-enhanced { height: 265svh; }
  .story-enhanced .story-frame { max-height: 82svh; }
  .story-chapter figcaption { left: 25px; right: 20px; bottom: 15%; }
  .story-chapter h3 { font-size: clamp(49px, 12vw, 72px); }
  .story-chapter figcaption p { font-size: 11px; }
  .story-bottom { justify-content: center; flex-wrap: wrap; gap: 0; min-height: 86px; padding-top: 8px; padding-bottom: 8px; }
  .story-scroll-hint { display: none; }
  .story-source { width: 100%; text-align: center; font-size: 8px; }
  .story-navigation { gap: 24px; }
  .story-navigation button { font-size: 10px; }
  .story-film-toggle { right: 18px; bottom: 18px; }
  .project-invitation { padding-block: 58px 50px; }
  .invitation-intro h2 { font-size: clamp(39px, 9.5vw, 62px); }
  .invitation-intro > p:last-child { font-size: 12px; }
  .project-disclosure > summary { gap: 15px; font-size: 12px; padding-left: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .story-chapter, .story-chapter figcaption, .story-chapter > img, .project-disclosure > summary, .project-disclosure > summary > span { transition: none !important; }
}
