/* Themenansicht innerhalb der jeweiligen Story-Karte. */
#s2.plan-light .panel-card { position: relative; display: grid; isolation: isolate; overflow: hidden; }
#s2.plan-light .panel-card > .row { grid-area: 1 / 1; opacity: 1; }
#s2.plan-light .panel-card.is-topic-open > .row { opacity: 0; pointer-events: none; }
#s2.plan-light .panel-card.has-topic-motion > .row,
#s2.plan-light .panel-card.has-topic-motion .story-topic-overlay {
  transition: opacity var(--motion-duration-panel) var(--motion-ease-out);
}
#s2.plan-light .panel-card.has-topic-motion .story-topic-content {
  transition: transform var(--motion-duration-panel) var(--motion-ease-out);
}
#s2.plan-light .panel-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}
#s2.plan-light .panel-content .story-topic-cta { margin-top: auto; }
#s2.plan-light .story-topic-cta {
  width: 100%;
  min-height: 48px;
  padding: 12px 20px;
  font-size: var(--text-control);
}
#s2.plan-light .story-topic-overlay[hidden] { display: none; }
#s2.plan-light .story-topic-overlay {
  position: relative;
  grid-area: 1 / 1;
  z-index: 5;
  overflow-y: auto;
  overscroll-behavior: contain;
  background-color: var(--navy);
  background-image: linear-gradient(90deg, rgb(0 52 84 / .18), rgb(0 72 120 / .8) 60%, rgb(0 52 84 / .97)), var(--story-topic-image);
  background-size: cover;
  background-position: center;
  color: var(--ci-white);
  opacity: 0;
  pointer-events: none;
}
#s2.plan-light .panel-card.is-topic-open .story-topic-overlay { opacity: 1; pointer-events: auto; }
#s2.plan-light .story-topic-content {
  display: flex;
  flex-direction: column;
  width: calc(100% / 3);
  min-height: 100%;
  margin-inline-start: auto;
  padding: var(--card-padding);
  transform: scale(.97);
  transform-origin: bottom right;
}
#s2.plan-light .panel-card.is-topic-open .story-topic-content { transform: scale(1); }
#s2.plan-light .story-topic-content .story-title { margin: 0 0 24px; font: 700 var(--text-card)/1.35 var(--font-display); color: inherit; }
#s2.plan-light .story-topic-content p { margin: 0 0 12px; font: 400 var(--text-body)/1.5 var(--font-body); }
#s2.plan-light .story-topic-content .story-topic-cta { margin-top: auto; }
#s2.plan-light .story-topic-content p:last-of-type { margin-bottom: 28px; }
#s2.plan-light .story-topic-content .story-topic-cta:not(:hover, :active) { background: var(--ci-white); }
@media (max-width: 991.98px) {
  #s2.plan-light .story-topic-overlay {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: clamp(140px, 28vw, 260px);
    background-image: var(--story-topic-image);
  }
  #s2.plan-light .story-topic-content {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    min-height: 0;
    margin: 0;
    background: rgb(0 52 84 / .96);
    transform-origin: bottom center;
  }
  #s2.plan-light .story-topic-content::before {
    content: "";
    position: absolute;
    inset: -64px 0 auto;
    height: 64px;
    background: linear-gradient(transparent, rgb(0 52 84 / .96));
    pointer-events: none;
  }
  #s2.plan-light .story-topic-content .story-topic-cta { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  #s2.plan-light .story-topic-content { transform: none; }
  #s2.plan-light .panel-card.is-topic-open .story-topic-content { transform: none; }
}
@media (forced-colors: active) {
  #s2.plan-light .story-topic-overlay { background: Canvas; color: CanvasText; }
  #s2.plan-light .story-topic-content { background: Canvas; }
  #s2.plan-light .story-topic-content::before { display: none; }
  #s2.plan-light .story-topic-cta { background: ButtonFace; color: ButtonText; border-color: ButtonText; }
}
