/* A single interactive demonstration, using the existing 8Buchhaltung palette. */
.home-animation-section { background: var(--brand-soft); color: var(--brand-ink); padding: 52px 0 48px; }
.home-animation-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr);
  gap: 64px;
  align-items: center;
}
.home-animation-copy p { color: var(--brand-muted); font-size: 16px; line-height: 1.8; max-width: 460px; margin: 24px 0 0; }
.home-finance-demo { margin: 0; min-width: 0; align-self: center; }
.home-finance-stage { position: relative; height: 400px; }
.home-finance-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.home-finance-fallback { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.home-finance-stage.is-ready .home-finance-fallback { visibility: hidden; }
@media (min-width: 1600px) {
  .home-finance-stage { height: 440px; }
}
@media (max-width: 1100px) {
  .home-animation-grid { gap: 32px; }
  .home-finance-stage { height: 360px; }
}
@media (max-width: 980px) {
  .home-animation-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .home-animation-copy { max-width: 650px; }
  .home-animation-copy p { max-width: 600px; }
  .home-finance-demo { width: 100%; max-width: 650px; justify-self: center; }
  .home-finance-stage { height: 380px; }
}
@media (max-width: 700px) {
  .home-animation-section { padding: 42px 0 36px; }
  .home-animation-copy p { font-size: 14px; margin-top: 20px; }
  .home-finance-stage { height: 300px; }
}
