.terrace-story,.bau-prep { padding-block:clamp(47px,6.5vw,100px); }
.terrace-story { color:#f0f5e8; background:#183b2b; scroll-margin-top:75px; }
.story-heading {
  display:grid; grid-template-columns:minmax(0,1.2fr) minmax(220px,.58fr);
  gap:18px 34px; align-items:end; margin-bottom:clamp(23px,4vw,52px);
}
.story-heading .work-label { color:#d3e7ac; }
.story-heading h2,.prep-grid h2 {
  margin:0; font-size:clamp(42px,5.7vw,86px); line-height:.94; letter-spacing:-.071em;
}
.story-heading h2 em { font:italic 400 1.03em/.94 Georgia,serif; color:#d8e6b1; letter-spacing:-.072em; }
.story-heading>p { max-width:38ch; margin:0; color:#e2ecdc; font-size:15px; line-height:1.52; }
.step-controls[hidden],.step-panel[hidden] { display:none; }
.step-content { display:grid; gap:20px; }
.step-ready {
  display:grid; grid-template-columns:minmax(0,1.65fr) minmax(225px,.62fr);
  gap:clamp(14px,3vw,40px); align-items:start;
}
.step-ready .step-controls { grid-column:2; grid-row:1; display:grid; gap:6px; }
.step-ready .step-content { grid-column:1; grid-row:1; min-width:0; }
.step-option {
  display:grid; grid-template-columns:48px minmax(0,1fr) auto; gap:10px; align-items:center;
  text-align:left; width:100%; border:1px solid #eaf1e44d; border-radius:0;
  background:#254737; color:#f4f7ee; padding:7px 10px 7px 7px; font-size:13px; font-weight:730;
  transition:color .2s,background .2s,border-color .2s;
}
.step-option:hover { background:#375b46; }
.step-option[aria-selected="true"] { background:#e1ecc9; color:#193728; border-color:#e1ecc9; }
.step-option:focus-visible { outline-color:#edebaa; }
.step-option img { width:48px; height:42px; object-fit:cover; }
.step-option .step-marker { color:#d8eab7; }
.step-option[aria-selected="true"] .step-marker { color:#355740; }
.step-figure { margin:0; }
.step-photo { display:block; background:#25392d; }
.step-photo img { display:block; width:100%; aspect-ratio:1.49; object-fit:cover; }
.step-aushub img { object-position:50% 69%; }
.step-unterbau img { object-position:50% 77%; }
.step-fertig img { object-position:50% 61%; }
.gala-work .step-caption {
  display:grid; grid-template-columns:minmax(0,.76fr) minmax(0,1.24fr);
  gap:13px 18px; align-items:end; margin:0; padding:clamp(13px,2.2vw,27px);
  color:#1e3527; background:#dce8ce;
}
.step-caption span { display:block; margin-bottom:3px; color:#456549; font-size:11px; font-weight:730; }
.step-caption h3 { font-size:clamp(22px,3vw,43px); line-height:1; letter-spacing:-.06em; margin:0; }
.step-caption p { margin:0; max-width:51ch; font-size:clamp(13px,1.2vw,16px); }
.story-links { display:flex; gap:12px 25px; flex-wrap:wrap; align-items:center; margin-top:23px; }
.terrace-story .work-button { background:#d9e9ad; color:#193223; }
.terrace-story .work-button:hover { background:#edf7d0; }
@keyframes step-appear { from { opacity:.4; transform:translateY(4px); } to { opacity:1; transform:none; } }
@media(prefers-reduced-motion:no-preference) {
  .step-ready .step-panel:not([hidden]) { animation:step-appear .32s var(--gnc-motion); }
}
.bau-prep { color:#242c24; background:#e8e3d4; }
.prep-grid { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:clamp(22px,6vw,85px); }
.prep-grid h2 { font-size:clamp(35px,4.6vw,68px); margin-bottom:14px; max-width:15ch; }
.prep-grid .work-label { color:#765120; }
.prep-grid>div>p { max-width:44ch; }
.prep-items details { border-top:1px solid #a6a18e; padding-block:13px; }
.prep-items details:last-child { border-bottom:1px solid #a6a18e; }
.prep-items summary { cursor:pointer; font-weight:750; font-size:16px; }
.prep-items details p { margin:10px 0 6px; color:#414b40; max-width:56ch; }
@media(max-width:780px) {
  .story-heading,.prep-grid { grid-template-columns:1fr; }
  .step-ready { display:flex; flex-direction:column; }
  .step-ready .step-controls { width:100%; grid-template-columns:repeat(3,minmax(0,1fr)); }
  .step-ready .step-content { width:100%; }
  .step-option { display:flex; flex-direction:column; align-items:start; gap:4px; line-height:1.2; min-height:68px; font-size:11px; }
  .step-option img { width:27px; height:22px; }
  .step-option .step-marker { display:none; }
}
@media(max-width:460px) {
  .gala-work .step-caption { grid-template-columns:1fr; gap:7px; }
  .step-photo img { aspect-ratio:1.22; }
}
.material-view.step-ready { display:block; position:relative; }
.material-view.step-ready .material-controls {
  display:flex; position:absolute; z-index:1; bottom:9px; left:9px; right:auto; width:auto;
  max-width:calc(100% - 18px); gap:3px; padding:4px; border-radius:5px;
  background:#16291eed; border:1px solid #ffffff55;
}
.material-controls button {
  min-height:36px; padding:5px 8px; color:#f4f4e9; border:0; border-radius:2px;
  background:transparent; font-size:12px; font-weight:720; line-height:1.12; white-space:normal;
}
.material-controls button:hover { background:#465b48; }
.material-controls button[aria-selected="true"] { color:#203323; background:#e1ebca; }
.material-view.step-ready .step-content { display:block; }
.material-view.step-ready .step-panel:not([hidden]) { animation-name:material-appear; }
@keyframes material-appear { from { opacity:.62; } to { opacity:1; } }
@media(min-width:781px) {
  .terrace-story .step-ready {
    --story-columns:minmax(0,1.65fr) minmax(225px,.62fr);
    --story-gap:clamp(14px,3vw,40px);
    grid-template-columns:var(--story-columns); gap:var(--story-gap);
  }
  .terrace-story .step-ready .step-controls { z-index:1; }
  .terrace-story .step-ready .step-content { grid-column:1/-1; }
  .terrace-story .step-ready .step-figure {
    display:grid; grid-template-columns:var(--story-columns); gap:var(--story-gap); align-items:start;
  }
  .terrace-story .step-ready .step-caption { grid-template-columns:1fr; margin-top:194px; }
  .terrace-story .step-photo img { max-height:515px; }
}
@media(max-width:365px) {
  .story-heading h2 { font-size:37px; }
}
