/* Native motion illustrates the work. Every scene has a complete static state. */
:root {
  --ease-out: cubic-bezier(.2,.73,.25,1);
  --land: cubic-bezier(.18,.78,.27,1.14);
}
@keyframes arrive {
  from { opacity: 0; transform: translateY(13px) scale(.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes manual-float {
  from { transform: translateY(-2px) rotate(var(--tilt)); }
  to { transform: translateY(2px) rotate(calc(var(--tilt) + .8deg)); }
}
@keyframes kraken-hover {
  50% { transform:translateY(-5px) rotate(1deg); }
}
@keyframes wire-pulse {
  0% { stroke-dashoffset:-100; opacity:0; }
  2% { opacity:1; }
  13% { stroke-dashoffset:9; opacity:1; }
  15%,100% { stroke-dashoffset:10; opacity:0; }
}
@keyframes notice-light {
  0%,9%,22%,100% { opacity:0; }
  15% { opacity:.9; }
}
.hero-signal { opacity:0; stroke:#b9efff; stroke-width:3; stroke-linecap:round; stroke-dasharray:9 191; }
.notice-question { --beat:0s; }
.notice-review { --beat:2s; }
.notice-photos { --beat:4s; }
.notice-cut { --beat:6s; }
.notice-appointment { --beat:8s; }
@keyframes hero-pose {
  0% { opacity: .2; transform: translateY(18px) rotate(-5deg) scale(.94); }
  44% { opacity: 1; transform: translateY(-5px) rotate(1.5deg) scale(1.012); }
  74% { transform: translateY(2px) rotate(-1.3deg); }
  100% { transform: none; }
}
@keyframes file-in {
  from { opacity: .15; transform: translate(-15px,9px) rotate(-3deg); }
  to { opacity: 1; transform: none; }
}
@keyframes waveform {
  0%,100% { transform: scaleY(.33); }
  29% { transform: scaleY(1); }
  66% { transform: scaleY(.46); }
  83% { transform: scaleY(.76); }
}
@keyframes chart-grow {
  from { transform: scaleY(.04); }
  to { transform: scaleY(1); }
}
@keyframes photo-develop {
  from { transform: scale(1.065); filter: saturate(.55); }
  to { transform: scale(1); filter: saturate(1); }
}
@keyframes stamp {
  0% { transform: translateY(6px) rotate(-8deg) scale(.82); opacity: .2; }
  62% { transform: translateY(-1px) rotate(2deg) scale(1.04); opacity: 1; }
  100% { transform: none; }
}
@keyframes dialog-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-9px); } }
@keyframes glow { 0% { opacity: .2; } 55% { opacity: .95; } 100% { opacity: .75; } }


@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .nav-shell { transition: width .47s var(--ease-out),transform .4s var(--land),border-radius .38s,background-color .3s,box-shadow .38s; }
  .navigation { transition: height .4s var(--ease-out); }
  .brand-link img { transition: width .4s var(--ease-out),height .4s var(--ease-out); }
  .mobile-menu:not([hidden]) { animation: menu-in .2s var(--ease-out); }
  .button,.slot,.mode-switch button,.desk-contact { transition: transform .18s var(--ease-out),background-color .18s,box-shadow .18s; }
  .button:active,.slot:active { transform: scale(.978); }
  .faq-list summary .icon { transition: transform .23s var(--ease-out); }
  .faq-list details[open] > p,.preview-form:not([hidden]),.booking-result:not([hidden]),.desk-thread:not([hidden]) { animation: dialog-in .24s var(--ease-out); }
  .scene.play .hero-aura { animation: glow 1.6s var(--ease-out) both; }
  .hero-art .hero-mascot { animation:hero-pose 1.1s var(--ease-out), kraken-hover 5s ease-in-out 1.1s infinite; }
  .hero-art .hero-signal { animation:wire-pulse 10s linear var(--beat) infinite; }
  .hero-art .notice::after { content:''; position:absolute; inset:0; pointer-events:none; border-radius:inherit; box-shadow:0 0 0 2px #98dcff,0 0 22px #74c6ffa6; opacity:0; animation:notice-light 10s ease-in-out var(--beat) infinite; }
  .hero-art.play .notice { animation: card-float 4.5s ease-in-out var(--drift,0s) infinite alternate; }
  .hero-art:hover .notice { animation-play-state: paused; }
  .benefit.play .object-icon { animation: stamp .6s var(--ease-out) both; }
  [data-mode=ohne] .flow-inputs li { animation: manual-float 3.3s ease-in-out var(--lag) infinite alternate paused; }
  [data-mode=ohne][data-running=true] .flow-inputs li { animation-play-state: running; }
  .flow-outcome:not([hidden]) { animation: result-in .35s var(--ease-out); }
  .art-call .wave i { animation: waveform .62s ease-in-out var(--lag) infinite alternate paused; }
  .call-sequence > * { animation: call-phase 7.8s ease-in-out infinite paused; }
  .call-sequence > :nth-child(2) { animation-delay: -5.2s; }
  .call-sequence > :nth-child(3) { animation-delay: -2.6s; }
  .art-call[data-running="true"] .wave i,.art-call[data-running="true"] .call-sequence > * { animation-play-state: running; }
  .art-online.play .site-preview,.art-inbox.play .file-chip,.art-agenda.play .week-event.blue { animation: arrive .48s var(--land) .3s both; }
  .art-online.play .site-status { animation: result-in .38s var(--ease-out) .72s both; }
  .art-inbox.play .green-check { animation: arrive .44s var(--ease-out) .82s both; }
  .art-capture.play .photo { animation: photo-develop 1.1s var(--ease-out); }
  .art-report.play .report-paper,.art-reduction.play .insurer-mail { animation: file-in .65s var(--land) both; }
  .art-reduction.play .prepared-letter { animation: arrive .5s var(--land) .65s both; }
  .art-finance.play .bar-col i { animation: chart-grow .6s var(--ease-out) calc(var(--index)*.085s) both; }
  .art-finance.play .payments > div { animation: arrive .42s var(--ease-out) .65s both; }
  .art-finance.play .payments > div:last-child { animation-delay: .81s; }
}
@keyframes card-float { from { transform: translateY(-1.2px); } to { transform: translateY(1.2px); } }
@keyframes call-phase { 0%,28% { opacity: 1; transform: none; } 33%,96% { opacity: 0; transform: translateY(2px); } 100% { opacity: 1; transform: none; } }
@keyframes result-in { from { opacity: .55; transform: translateY(3px); } to { opacity: 1; transform: none; } }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .button:hover { transform: translateY(-1px); box-shadow: 0 6px 16px #15254820; }
}
@media (prefers-reduced-motion: reduce) { .moving-dot { display:none; } }
