/* Fensterbringer — lebendige Bühne (02.11.2026)
   Ziel: Der Konfigurator wirkt nicht mehr „tot": die Produktbühne atmet mit
   einem sehr langsamen Mehrfarben-Verlauf (warme Greige-/Himmel-/Blatttöne der
   Marke), das Produkt steht auf einem weichen Schatten, aktive Schritte und
   die Weiter-Aktion bekommen ein dezentes Leben. Alles kantig (radius 2px),
   respektiert prefers-reduced-motion. */

@keyframes fb-aurora {
  0%   { background-position: 0% 40%; }
  50%  { background-position: 100% 60%; }
  100% { background-position: 0% 40%; }
}
@keyframes fb-sheen {
  0%, 55%  { transform: translateX(-130%) skewX(-18deg); }
  85%, 100%{ transform: translateX(340%) skewX(-18deg); }
}
@keyframes fb-live-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22,117,74,.35); }
  50%      { box-shadow: 0 0 0 6px rgba(22,117,74,0); }
}

/* ---- Bühne: ruhiger Parallel-Verlauf aus Markentönen ---- */
html body #main#main.layout.editor .canvas-wrap{
  background: linear-gradient(118deg,
    #f4f2ed 0%,      /* warm */
    #eef4ee 26%,     /* leaf */
    #eef3f7 55%,     /* sky */
    #f5ecdd 80%,     /* sand */
    #f4f2ed 100%) !important;
  background-size: 280% 280% !important;
  animation-name: fb-aurora !important;
  animation-duration: 30s !important;
  animation-timing-function: ease-in-out !important;
  animation-iteration-count: infinite !important;
}
/* Lichtkegel hinter dem Produkt: Mitte heller, Ränder ruhiger */
html body #main#main.layout.editor .canvas-wrap::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(58% 70% at 50% 42%, rgba(255,255,255,.75), rgba(255,255,255,0) 70%);
}
html body #main#main.layout.editor .canvas-wrap{ position: relative; }

/* Produkt steht auf der Bühne: weicher, farbiger Schlagschatten */
html body #main#main.layout.editor .canvas-wrap svg.big{
  filter: drop-shadow(0 18px 26px rgba(23,27,28,.16)) drop-shadow(0 3px 8px rgba(22,117,74,.08));
}
html body #main#main.layout.editor .canvas-wrap svg.big text{ filter: none; }

/* ---- Weiter-Aktion: dunkel bleiben, aber mit Leben (Sheen-Lauf) ---- */
html body #main .btn.go{
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg, #171b1c 0%, #1e2b26 45%, #16754a 140%) !important;
  isolation: isolate;
}
html body #main .btn.go::after{
  content: "";
  position: absolute;
  top: -20%; bottom: -20%;
  width: 34%;
  left: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  animation: fb-sheen 4.6s ease-in-out infinite;
  pointer-events: none;
}

/* ---- Aktiver Schritt: markengrüner, pulsierender Nummern-Punkt ---- */
html body #main .steps .step.active .num{
  animation: fb-live-dot 2.8s ease-in-out infinite;
  background: #16754a;
  color: #fff;
}

/* Erledigte Schritte bekommen einen Hauch Farbe statt reinem Grau */
html body #main .steps .step.done{ color: #2c4a3a; }

@media (prefers-reduced-motion: reduce){
  html body #main#main.layout.editor .canvas-wrap{ animation: none; }
  html body #main .btn.go::after{ animation: none; opacity: 0; }
  html body #main .steps .step.active .num{ animation: none; }
}
