/* =====================================================================
   Startseite: Projekt "Simson S51 in Lebensgröße"
   Nur auf index.html eingebunden (zusätzlich zu style.css + simson-theme.css).
   ===================================================================== */

.s-shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

/* Label mit Quadrat (wie Celly/RideVerse) */
.s-eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px;
  color: var(--v-a1); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700;
}
.s-eyebrow::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--v-a1); flex: none; }
.s-accent {
  padding: 0 .14em; margin: 0 -.04em; border-radius: .14em;
  color: var(--v-on-accent); background: var(--v-grad);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- Hero ---------- */
.s-hero {
  padding: clamp(40px, 7vw, 88px) 0 0;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 60px); align-items: center;
}
.s-hero h1 {
  margin: 0; font-size: clamp(2.8rem, 6.6vw, 5.4rem); font-weight: 800;
  line-height: 1.02; letter-spacing: -.04em; text-wrap: balance;
}
.s-lede { max-width: 520px; margin: 24px 0 32px; color: var(--v-mute); font-size: clamp(1.08rem, 1.5vw, 1.28rem); font-weight: 500; line-height: 1.5; }
.s-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.s-stage {
  position: relative; aspect-ratio: 16 / 11; border-radius: 34px; overflow: hidden;
  border: 2px solid var(--v-line); box-shadow: var(--shadow-lg);
  background:
    radial-gradient(60% 55% at 55% 60%, rgba(255, 122, 26, .16), transparent 70%),
    linear-gradient(transparent 0 calc(100% - 1px), rgba(255,255,255,.04) 0) 0 0 / 100% 28px,
    linear-gradient(90deg, transparent 0 calc(100% - 1px), rgba(255,255,255,.04) 0) 0 0 / 28px 100%,
    var(--v-card);
}
.s-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.s-nogl { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 24px; text-align: center; color: var(--v-mute); }
.s-stage-tag { position: absolute; left: 18px; top: 16px; z-index: 2; padding: 7px 12px; border-radius: 10px; background: rgba(7, 8, 12, .72); border: 1px solid var(--v-line-2); color: var(--v-mute); font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.s-hud {
  position: absolute; left: 18px; right: 18px; top: 16px; z-index: 2;
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .78rem; font-weight: 700; letter-spacing: .04em;
}
.s-hud span { padding: 7px 12px; border-radius: 10px; background: rgba(7, 8, 12, .72); border: 1px solid var(--v-line-2); color: var(--v-mute); }
.s-hud .s-live { color: var(--v-ink); display: inline-flex; align-items: center; gap: 8px; }
.s-hud .s-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--v-red); animation: s-pulse 1.4s ease-in-out infinite; }
.s-hud .s-live.done::before { background: var(--v-mint); animation: none; }
.s-scale {
  position: absolute; left: 7%; right: 7%; bottom: 14px; z-index: 2;
  display: flex; align-items: center; gap: 10px; color: var(--v-mute-2);
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .72rem; font-weight: 700;
}
.s-scale i { flex: 1; height: 1px; background: currentColor; position: relative; }
.s-scale i::before, .s-scale i::after { content: ""; position: absolute; top: -4px; width: 1px; height: 9px; background: currentColor; }
.s-scale i::before { left: 0; } .s-scale i::after { right: 0; }
@keyframes s-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* ---------- Faktenleiste ---------- */
.s-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: clamp(40px, 6vw, 72px) 0 0; }
.s-fact { padding: 22px 22px 20px; border-radius: 24px; background: var(--v-card); border: 2px solid var(--v-line); }
.s-fact strong { display: block; font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.s-fact strong em { font-style: normal; background: var(--v-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.s-fact span { display: block; margin-top: 10px; color: var(--v-mute); font-weight: 600; font-size: .95rem; line-height: 1.35; }

/* ---------- Sektionen ---------- */
.s-section { padding: clamp(72px, 10vw, 130px) 0 0; }
.s-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 32px; }
.s-heading h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; max-width: 640px; }
.s-heading p { max-width: 440px; margin: 0; color: var(--v-mute); font-size: 1.05rem; font-weight: 500; line-height: 1.5; }
.s-card { border: 2px solid var(--v-line); background: var(--v-card); border-radius: 32px; box-shadow: var(--shadow-md); transition: transform .4s var(--v-ease), border-color .25s ease; }

/* ---------- Bewegliche Teile (automatisch, ohne Bedienung) ---------- */
.s-move { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; align-items: stretch; }
.s-move-stage { position: relative; min-height: 460px; overflow: hidden;
  background: radial-gradient(55% 50% at 50% 62%, rgba(255, 122, 26, .12), transparent 70%), var(--v-card); }
.s-move-stage:hover { transform: none; }
.s-move-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.s-mpart {
  display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 22px;
  border: 2px solid var(--v-line); background: var(--v-card);
  transition: border-color .35s ease, background .35s ease, transform .5s var(--v-pop);
}
.s-mpart .ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--v-card-2); font-size: 1.25rem; transition: background .35s ease; }
.s-mpart b { display: block; font-size: 1.06rem; font-weight: 800; letter-spacing: -.01em; }
.s-mpart small { display: block; color: var(--v-mute); font-size: .88rem; font-weight: 500; margin-top: 2px; line-height: 1.35; }
.s-mpart.is-active { border-color: var(--v-a1); transform: translateX(6px); background: linear-gradient(90deg, rgba(255,122,26,.12), transparent 75%), var(--v-card); }
.s-mpart.is-active .ico { background: var(--v-grad); }

/* ---------- Baugruppen ---------- */
.s-parts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.s-part { padding: 24px; border-radius: 26px; display: flex; flex-direction: column; gap: 10px; min-height: 210px; }
.s-part:hover { transform: translateY(-4px); border-color: var(--v-a1); }
.s-part .num { font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--v-a1); font-size: .8rem; font-weight: 700; letter-spacing: .1em; }
.s-part h3 { margin: 0; font-size: 1.35rem; font-weight: 800; letter-spacing: -.025em; }
.s-part p { margin: 0; color: var(--v-mute); font-size: .95rem; font-weight: 500; line-height: 1.5; flex: 1; }
.s-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.s-tags span { padding: 5px 11px; border-radius: 999px; background: var(--v-card-2); color: var(--v-ink); font-size: .76rem; font-weight: 700; }
.s-tags span.mov { background: var(--v-grad); color: var(--v-on-accent); }

/* ---------- Folgen ---------- */
.s-follow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.s-follow .s-card { padding: 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.s-follow h3 { margin: 0; font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }
.s-follow p { margin: 0; color: var(--v-mute); line-height: 1.55; }

/* ---------- Shop-Überleitung ---------- */
.s-shop-head { padding: clamp(80px, 11vw, 140px) 0 0; }
.s-shop-head .s-heading { margin-bottom: 0; }
.s-note { margin: 26px 0 0; color: var(--v-mute-2); font-size: .82rem; line-height: 1.5; }

@media (max-width: 960px) {
  .s-hero { grid-template-columns: 1fr; }
  .s-facts { grid-template-columns: repeat(2, 1fr); }
  .s-parts { grid-template-columns: repeat(2, 1fr); }
  .s-move { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .s-shell { width: calc(100% - 32px); }
  .s-heading { display: block; }
  .s-heading p { margin-top: 14px; }
  .s-parts, .s-follow { grid-template-columns: 1fr; }
  .s-move-stage { min-height: 300px; }
  .s-stage { aspect-ratio: 4 / 3.4; border-radius: 26px; }
  .s-hud { font-size: .68rem; left: 12px; right: 12px; top: 12px; }
  #printLayer { display: none; }
  .s-part { min-height: 0; }
}
