/* A complete office scene accompanies the original, right-anchored photo deck. */
#kabinenprojekt {
  --office-gutter: 100px;
  --office-scene-width: min(850px, calc(60cqw - 70px));
  --office-plant-width: clamp(100px, 10cqw, 155px);
}
#kabinenprojekt .story-heading { margin-bottom: 42px; }
#kabinenprojekt .story-deck {
  width: calc(100% - var(--office-gutter));
  max-width: 1040px;
  min-height: calc(var(--office-scene-width) * .666666667);
  margin-left: auto;
  margin-right: var(--office-gutter);
  --office-control-width: 62px;
}
#kabinenprojekt .story-deck.is-enhanced .office-scene {
  left: auto;
  right: calc(var(--main-card-width, 292px) + var(--stack-offset) + var(--control-gap) + var(--office-control-width) + 12px);
  top: 0;
  width: var(--office-scene-width);
  max-width: none;
  opacity: 1;
}
#kabinenprojekt .office-scene img { width: 100%; height: auto; object-fit: contain; }
.office-photo-plant { display: none; }
#kabinenprojekt .is-enhanced .office-photo-plant {
  position: absolute;
  display: block;
  width: var(--office-plant-width);
  height: auto;
  max-width: none;
  right: calc(-1 * var(--office-plant-width) - 12px);
  top: calc(var(--main-photo-height, 390px) - var(--office-plant-width) * 1.027486 + 12px);
  z-index: 1;
  pointer-events: none;
  user-select: none;
}
#kabinenprojekt .story-deck.is-enhanced[data-expanded="true"] .office-scene {
  opacity: 0;
  visibility: hidden;
}
@media (max-width: 1350px) {
  #kabinenprojekt .story-deck { --office-control-width: 56px; }
}
@media (max-width: 1000px) {
  #kabinenprojekt { --office-gutter: 84px; --office-plant-width: 86px; }
  #kabinenprojekt .story-deck { min-height: 0; }
  #kabinenprojekt .story-deck.is-enhanced .office-scene {
    display: block;
    position: relative;
    inset: auto;
    width: calc(100% + var(--control-space) + var(--office-gutter));
    margin: 30px 0 0 calc(-1 * var(--control-space));
  }
  #kabinenprojekt .story-deck.is-enhanced[data-expanded="true"] .office-scene { display: none; }
}
@media (max-width: 650px) {
  #kabinenprojekt { --office-gutter: 64px; --office-plant-width: 66px; }
  #kabinenprojekt .story-heading { margin-bottom: 36px; }
  #kabinenprojekt .story-deck { --control-space: 70px; --office-control-width: 44px; }
  #kabinenprojekt .story-deck.is-enhanced .office-scene { margin-top: 26px; }
}
