/* Eigenbetrieb: from the workshop to the reviewed question. */
.story-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; gap: clamp(1.5rem, 5.5vw, 5rem);
  padding-block: clamp(2.5rem, 5.5vw, 5rem);
}
.story-hero .lead { max-width: 45ch; }
.workshop-photo { position: relative; isolation: isolate; overflow: hidden; border-radius: .5rem; background: #253736; }
.workshop-photo img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; }
.workshop-photo figcaption { position: absolute; inset: auto 0 0; padding: 2.5rem 1.25rem .85rem; color: white; background: linear-gradient(transparent, #16201fe8); font-size: .88rem; }
.story-band { background: #e7efeb; border-block: 1px solid #c8d7d1; scroll-margin-top: .5rem; }
.story-band h2 { margin-bottom: 1.65rem; }
.walkthrough { padding: clamp(1.25rem, 3.25vw, 2.75rem); border-radius: .5rem; background: white; }
.story-progress { height: .25rem; margin-bottom: 1.75rem; background: #deebe6; }
.story-progress span { display: block; height: 100%; width: var(--progress); background: var(--teal); }
.story-scene { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: center; gap: clamp(1.4rem, 6vw, 5rem); }
.story-scene + .story-scene { margin-top: 1.75rem; }
.interactive .story-scene { margin: 0; }
.story-scene[hidden], .scene-controls[hidden] { display: none; }
.chapter { color: var(--teal); font-weight: 700; margin-bottom: .75rem; }
.scene-intro h3 { font-size: clamp(1.65rem, 2.65vw, 2.45rem); margin-bottom: .75rem; }
.notebook {
  position: relative; padding: 1.25rem clamp(1.2rem, 2.8vw, 2.25rem);
  border: 1px solid #d8c9ab; border-left: .32rem solid #9f7746; border-radius: .2rem;
  background: #fffbf0; box-shadow: 0 .3rem .85rem #453f2710;
}
.notebook .sheet-heading { font: 700 .78rem Mulish, sans-serif; text-transform: uppercase; letter-spacing: .075em; color: #725329; margin-bottom: 1rem; }
.notebook p:not(.sheet-heading), .notebook blockquote { border-top: 1px solid #e1d9c8; padding-top: .5rem; margin: .45rem 0 0; color: #3c3430; font: 1.15rem/1.48 Georgia, serif; }
.notebook small { display: block; color: #515957; font: 700 .75rem/1.45 Mulish, sans-serif; padding-block: .25rem; }
.notebook mark { background: linear-gradient(to right, var(--mark) 50%, transparent 50%) left center / 200% 100%; color: #312b24; }
.notebook .detected { --mark: #c4e7df; }
.notebook .manual { --mark: #ffde96; }
.notebook.outgoing { background: #eaf5ee; border-color: #b3d5c9; border-left-color: var(--teal); }
.outgoing .sheet-heading { color: var(--teal); }
.scene-controls { display: flex; justify-content: space-between; align-items: center; gap: .65rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid #dce4df; }
.story-back { font: inherit; font-weight: 700; color: var(--plum); background: none; border: 0; cursor: pointer; padding: .65rem 0; }
.story-back:disabled { color: #746f73; cursor: default; }
.purchase-example blockquote { margin: 1rem 0 0; padding-left: 1rem; border-left: 3px solid var(--teal); font: 1.2rem/1.5 Georgia, serif; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes appear { from { opacity: .65; transform: translateY(.75rem); } to { opacity: 1; transform: none; } }
  @keyframes underline-finding { from { background-position: right center; } to { background-position: left center; } }
  .story-block.arrived, .walkthrough.arrived, .interactive .story-scene:not([hidden]) .notebook { animation: appear .42s ease-out both; }
  .interactive .notebook mark { animation: underline-finding .65s ease-out both; }
  .interactive .notebook .manual { animation-delay: .28s; }
  .story-progress span { transition: width .32s ease-out; }
}
.callback-panel { min-width: 0; border-radius: .45rem; padding: clamp(1.2rem, 3vw, 2.4rem); }
.callback-layout { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: start; gap: clamp(1.75rem, 5vw, 5rem); }
.contact-note { margin-top: 1.8rem; padding-left: 1rem; border-left: 3px solid var(--teal); max-width: 45ch; }
.callback-panel { background: var(--tint); }
.callback-panel h2 { font-size: 2rem; margin-bottom: .75rem; }
.callback-panel fieldset { min-width: 0; padding: 0; margin: 1.2rem 0; border: 0; }
.callback-panel legend, .phone-label { font-weight: 700; padding: 0; margin-bottom: .45rem; }
.picture-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.picture-options.format { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.picture-options label { position: relative; cursor: pointer; }
.picture-options input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.picture-options span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; height: 100%; min-height: 4.5rem; border: 1px solid #9aaea6; border-radius: .35rem; background: #fff; color: var(--plum); font-size: .86rem; font-weight: 700; }
.picture-options svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.picture-options input:checked + span { background: var(--plum); border-color: var(--plum); color: white; }
.picture-options input:checked + span::after { content: "✓"; position: absolute; right: .3rem; top: .05rem; font-size: .8rem; }
.picture-options input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.phone-label { display: block; }
#phone { width: 100%; border: 1px solid #7b8984; border-radius: .2rem; padding: .6rem; font: inherit; background: white; color: var(--ink); }
.callback-panel button { margin: 1.1rem 0 .4rem; }
.callback-panel button:disabled { opacity: .72; cursor: progress; }
.form-status:not(:empty) { padding: .75rem 1rem; margin-block: .8rem; border-left: 3px solid var(--teal); background: #fff; }
#contact-alternative { margin-top: .8rem; }
@media (max-width: 48rem) {
  .story-hero, .story-scene, .callback-layout { grid-template-columns: minmax(0, 1fr); }
  .story-hero { gap: 1.3rem; }
  .workshop-photo img { aspect-ratio: 3 / 2; }
  .story-scene { gap: 1rem; }
}
@media (max-width: 32rem) {
  .picture-options.format { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .picture-options span { font-size: .78rem; }
  .scene-controls .btn { font-size: .9rem; padding: .68rem; }
}
