/* Aktive Platte: 3D-Darstellung. Ohne Skript, ohne WebGL und bei reduzierter Bewegung
   bleibt das Standbild mit den drei Schritten als ruhige Liste stehen. */
.platte-section { padding-block-start: var(--section-inset); border-block-start: 0; }
.platte-section .section-intro { margin-bottom: clamp(1.6rem, 3.8vw, 3rem); }

.kfo-stage { display: grid; gap: .85rem; max-width: 1120px; padding-block-end: var(--section-inset); }
.kfo-canvas, .film-stage {
  --stage-height: 68vh;
  width: min(100%, 1120px, calc(var(--stage-height) * 16 / 9));
  max-height: var(--stage-height);
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
}
.kfo-canvas { position: relative; background: var(--dark); outline: 1px solid var(--dark-line); overflow: hidden; }
.kfo-canvas :is(img, canvas) { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.kfo-canvas canvas { pointer-events: none; touch-action: pan-y; }
.is-ready .kfo-canvas img { visibility: hidden; }
.is-free .kfo-canvas canvas { pointer-events: auto; touch-action: none; cursor: grab; }
.is-free .kfo-canvas canvas:active { cursor: grabbing; }
.kfo-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2rem; margin: 0; padding: 0; list-style: none; }
.kfo-steps li { padding-block: 1rem; border-top: 1px solid var(--dark-line); }
.kfo-steps .eyebrow { display: block; margin-bottom: .6rem; color: var(--brass-light); }
.kfo-steps h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.05; letter-spacing: -.03em; }
.kfo-steps li > p:last-child { margin-top: .5rem; max-width: 40ch; color: var(--wash); font-size: .95rem; }
.kfo-note { color: var(--wash); font-size: .85rem; }

.is-interactive .kfo-steps,
.manu-film.is-live .kfo-steps { grid-template-columns: minmax(0, 1fr); }
.is-interactive .kfo-steps li,
.manu-film.is-live .kfo-steps li { grid-area: 1 / 1; visibility: hidden; }
.is-interactive .kfo-steps li.is-active,
.manu-film.is-live .kfo-steps li.is-active { visibility: visible; }

.kfo-track { flex: 1; min-width: 0; }
.kfo-controls { display: flex; align-items: center; gap: 18px; }
.kfo-controls label { color: var(--wash); font-size: .7rem; font-weight: 750; text-transform: uppercase; letter-spacing: .145em; white-space: nowrap; }
.kfo-range { --p: 0%; display: block; width: 100%; height: 44px; margin: 0; background: transparent; appearance: none; -webkit-appearance: none; cursor: pointer; }
.kfo-range::-webkit-slider-runnable-track { height: 1px; background: linear-gradient(to right, var(--brass-light) var(--p), var(--dark-line) var(--p)); }
.kfo-range::-moz-range-track { height: 1px; background: var(--dark-line); }
.kfo-range::-moz-range-progress { height: 1px; background: var(--brass-light); }
.kfo-range::-webkit-slider-thumb { width: 15px; height: 15px; margin-top: -7px; border: 1px solid var(--brass-light); border-radius: 50%; background: var(--dark); -webkit-appearance: none; }
.kfo-range::-moz-range-thumb { width: 13px; height: 13px; border: 1px solid var(--brass-light); border-radius: 50%; background: var(--dark); }
.kfo-free { min-height: 44px; padding: 0 1.1rem; border: 1px solid var(--dark-line); border-radius: 999px; background: transparent; color: var(--white); font: inherit; font-size: .7rem; font-weight: 750; text-transform: uppercase; letter-spacing: .145em; white-space: nowrap; cursor: pointer; transition: border-color .24s ease, color .24s ease, background .24s ease; }
.kfo-free:hover { border-color: var(--brass-light); }
.kfo-free[aria-pressed="true"] { border-color: var(--white); background: var(--white); color: var(--dark); }

.kfo-play {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  background: var(--dark);
  border-color: var(--brass-light);
}

.is-ready .kfo-play { inset: auto .85rem .85rem auto; transform: none; }

@media (max-width: 759.98px) {
  .kfo-canvas, .film-stage {
    --stage-height: 75vh;
    width: min(100%, calc(var(--stage-height) * 4 / 5));
    aspect-ratio: 4 / 5;
  }
  .kfo-steps { grid-template-columns: 1fr; }
  .kfo-controls { flex-wrap: wrap; gap: 4px 14px; }
  .kfo-track { flex-basis: 50%; }
  .kfo-controls .kfo-free { margin-left: auto; }
}

@supports (height: 100svh) {
  .kfo-canvas, .film-stage { --stage-height: 68svh; }
  @media (max-width: 759.98px) {
    .kfo-canvas, .film-stage { --stage-height: 75svh; }
  }
}
