/* Modersohn: a little sage green and more forest life. Homepage/draft layer only. */
html body.mgs-autumn.page-id-1180 {
 --mgs-forest-sage:#DDE5CF;--mgs-forest-soft:#EEF1DC;
 --mgs-forest-leaf:#718753;--mgs-forest-deep:#4F6240;
}
/* Warm orange, gold and cream stay dominant. Green is a counterpoint. */
html body.mgs-autumn.page-id-1180 .elementor-1180 #business-solutions:after {
 background:#C7D3AA!important;box-shadow:18px -10px 0 #71875324!important;
}
html body.mgs-autumn.page-id-1180 .elementor-1180 .mod-team-leitung {
 background:#DDE5CF!important;border-color:#A3B18A!important;
}
html body.mgs-autumn.page-id-1180 .elementor-1180 #mgs-home-next .mgs-home-next-card:nth-child(4) {
 background:#CCD7AF!important;border-color:#8A9B6B!important;
}
html body.mgs-autumn.page-id-1180 .elementor-1180 .mgs-start-card:nth-child(2) {
 background:#EEF1DC!important;border-color:#B2BF98!important;
}
html body.mgs-autumn.page-id-1180 .elementor-1180 #mgs-game-neighbours {
 background:#D9E2C6!important;border-color:#9EAF7E!important;
}
html body.mgs-autumn.page-id-1180 .elementor-1180 #mgs-home-next .mgs-home-next-kicker,
html body.mgs-autumn.page-id-1180 .elementor-1180 .mgs-game-meter {
 background:#EEF1DC!important;border-color:#9AAE7A!important;color:#405134!important;
}
html body.mgs-autumn.page-id-1180 .elementor-1180 #mgs-home-next .mgs-home-next-all,
html body.mgs-autumn.page-id-1180 .elementor-1180 .mgs-games .mgs-game-primary {
 background:#4F6240!important;border-color:#4F6240!important;color:#FFF8EE!important;
 box-shadow:0 4px 0 #4F624026!important;
}
html body.mgs-autumn.page-id-1180 .elementor-1180 #mgs-home-next .mgs-home-next-all:hover,
html body.mgs-autumn.page-id-1180 .elementor-1180 .mgs-games .mgs-game-primary:hover {
 background:#3F5132!important;border-color:#3F5132!important;
}
html body.mgs-autumn.page-id-1180 .mgs-autumn-footer-leaf:nth-child(3n),
html body.mgs-autumn.page-id-1180 .mgs-autumn-moving-leaf:nth-child(3n),
html body.mgs-autumn.page-id-1180 .elementor-1180 .mgs-heap-leaf:nth-child(3n) {color:#718753!important}
/* Decorative sprigs stay in the section's top padding, outside its text. */
html body.mgs-autumn.page-id-1180 .mgs-forest-zone {position:relative}
html body.mgs-autumn.page-id-1180 .mgs-forest-sprig {
 position:absolute;right:17px;top:3px;width:92px;height:38px;
 pointer-events:none;user-select:none;overflow:visible;z-index:0;
}
html body.mgs-autumn.page-id-1180 .mgs-forest-sprig:before {
 content:'';position:absolute;left:11px;top:26px;width:56px;height:2px;
 border-radius:50%;background:#7C875C;transform:rotate(-12deg);
}
html body.mgs-autumn.page-id-1180 .mgs-forest-leaf {
 position:absolute;left:11px;top:6px;width:23px;height:28px;color:#718753;
 --leaf-angle:-34deg;--leaf-delay:-1s;transform:rotate(var(--leaf-angle));
 transform-origin:30% 90%;
}
html body.mgs-autumn.page-id-1180 .mgs-forest-leaf:nth-child(2) {
 left:32px;top:0;color:#DCAA43;--leaf-angle:18deg;--leaf-delay:-2.8s;
}
html body.mgs-autumn.page-id-1180 .mgs-forest-leaf:nth-child(3) {
 left:54px;top:2px;color:#B85B32;--leaf-angle:48deg;--leaf-delay:-.2s;
}
html body.mgs-autumn.page-id-1180 .mgs-forest-leaf svg,
html body.mgs-autumn.page-id-1180 .mgs-forest-wind-leaf svg {display:block;width:100%;height:100%;overflow:visible}
/* A deliberate little gust, beside the existing universal pause button. */
html body.mgs-autumn.page-id-1180 .mgs-autumn-motion-controls {
 display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;
}
html body.mgs-autumn.page-id-1180 #business-solutions .mgs-forest-wind-button {
 appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;
 min-height:44px;padding:8px 13px;margin:0;border:1px solid #9FAE80;border-radius:999px;
 background:#E7EDDA;color:#405134;box-shadow:none;font:600 12px/1.25 var(--mgs-font-text,'Nunito Sans',sans-serif);
 text-transform:none;letter-spacing:0;cursor:pointer;white-space:normal;touch-action:manipulation;
}
html body.mgs-autumn.page-id-1180 #business-solutions .mgs-forest-wind-button svg {width:19px;height:23px;flex:none;color:#607746}
html body.mgs-autumn.page-id-1180 #business-solutions .mgs-forest-wind-button:hover {background:#D7E2C4}
html body.mgs-autumn.page-id-1180 #business-solutions .mgs-forest-wind-button:focus-visible {outline:3px solid #4B3025;outline-offset:4px}
html body.mgs-autumn.page-id-1180 #business-solutions .mgs-forest-wind-button:disabled {cursor:default;opacity:.65}
html body.mgs-autumn.page-id-1180 .mgs-forest-wind {
 position:absolute;inset:-4px -25px 15px;overflow:hidden;z-index:-1;
 pointer-events:none;border-radius:35px;contain:paint;
}
html body.mgs-autumn.page-id-1180 .mgs-forest-wind-leaf {
 position:absolute;left:0;top:28%;width:26px;height:31px;opacity:0;color:#718753;
 --wind-y:-32px;--wind-angle:180deg;--wind-delay:0s;
}
html body.mgs-autumn.page-id-1180 .mgs-forest-wind-leaf:nth-child(2) {top:48%;width:22px;color:#DCAA43;--wind-y:-72px;--wind-angle:-160deg;--wind-delay:.1s}
html body.mgs-autumn.page-id-1180 .mgs-forest-wind-leaf:nth-child(3) {top:69%;color:#B85B32;--wind-y:-48px;--wind-delay:.17s}
html body.mgs-autumn.page-id-1180 .mgs-forest-wind-leaf:nth-child(4) {top:20%;width:20px;color:#DCAA43;--wind-y:48px;--wind-angle:-140deg;--wind-delay:.23s}
html body.mgs-autumn.page-id-1180 .mgs-forest-wind-leaf:nth-child(5) {top:58%;color:#718753;--wind-y:-90px;--wind-delay:.31s}
html body.mgs-autumn.page-id-1180 .mgs-forest-wind-leaf:nth-child(6) {top:79%;width:21px;color:#B85B32;--wind-y:-55px;--wind-angle:-220deg;--wind-delay:.38s}
/* Loops are paused until the existing controller is ready and the zone visible. */
html body.mgs-autumn.page-id-1180.mgs-motion-ready .mgs-forest-leaf {
 animation:mgs-forest-rustle 4.8s ease-in-out var(--leaf-delay) infinite;animation-play-state:paused;
}
html body.mgs-autumn.page-id-1180.mgs-motion-ready .mgs-autumn-fact-friend>svg {
 transform-origin:50% 94%;animation:mgs-forest-curious 8s ease-in-out infinite;animation-play-state:paused;
}
html body.mgs-autumn.page-id-1180.mgs-motion-ready .mgs-hollow-scene:not(.is-open) .mgs-door-sign {
 transform-origin:50% 0%;animation:mgs-forest-sign 5.8s ease-in-out infinite;animation-play-state:paused;
}
html body.mgs-autumn.page-id-1180.mgs-motion-ready .mgs-hollow-scene.is-open .mgs-home-momo>svg {
 transform-origin:50% 90%;animation:mgs-forest-nap 4.4s ease-in-out infinite;animation-play-state:paused;
}
html body.mgs-autumn.page-id-1180.mgs-motion-ready .mgs-hedgehog-scene[data-stage='0'] .mgs-heap-leaf:nth-child(-n+3)>svg {
 transform-origin:50% 90%;animation:mgs-forest-heap 6s ease-in-out infinite;animation-play-state:paused;
}
html body.mgs-autumn.page-id-1180.mgs-motion-ready .mgs-hedgehog-scene[data-stage='0'] .mgs-heap-leaf:nth-child(2)>svg {animation-delay:-2s}
html body.mgs-autumn.page-id-1180.mgs-motion-ready .mgs-hedgehog-scene[data-stage='3'] .mgs-pips {
 transform-box:fill-box;transform-origin:50% 100%;animation:mgs-forest-pips 6.8s ease-in-out infinite;animation-play-state:paused;
}
html body.mgs-autumn.page-id-1180.mgs-motion-ready:not(.mgs-motion-paused) .mgs-forest-inview :is(.mgs-forest-leaf,.mgs-autumn-fact-friend>svg,.mgs-hollow-scene:not(.is-open) .mgs-door-sign,.mgs-hollow-scene.is-open .mgs-home-momo>svg,.mgs-hedgehog-scene[data-stage='0'] .mgs-heap-leaf:nth-child(-n+3)>svg,.mgs-hedgehog-scene[data-stage='3'] .mgs-pips) {animation-play-state:running}
html body.mgs-autumn.page-id-1180.mgs-motion-ready:not(.mgs-motion-paused) #business-solutions.mgs-forest-inview .mgs-autumn-friend:not(.is-waving) .mgs-autumn-hand-wave {
 transform-box:fill-box;transform-origin:30% 70%;animation:mgs-forest-wave 10.5s ease-in-out infinite;
}
html body.mgs-autumn.page-id-1180.mgs-motion-ready:not(.mgs-motion-paused) .mgs-forest-gust .mgs-forest-wind-leaf {
 animation:mgs-forest-gust 1.65s cubic-bezier(.2,.5,.4,1) var(--wind-delay) both;
}
html body.mgs-autumn.page-id-1180.mgs-motion-ready:not(.mgs-motion-paused) .mgs-forest-bounce {animation:mgs-forest-found .75s ease-out 1}
/* Independent rotate/translate leave the existing door and game transforms intact. */
@keyframes mgs-forest-rustle {0%,100%{transform:rotate(var(--leaf-angle))}40%{transform:rotate(calc(var(--leaf-angle) + 17deg))}70%{transform:rotate(calc(var(--leaf-angle) - 7deg))}}
@keyframes mgs-forest-curious {0%,55%,100%{transform:rotate(0) translateY(0)}65%{transform:rotate(-4deg) translateY(-5px)}77%{transform:rotate(3deg) translateY(-2px)}87%{transform:rotate(0) translateY(0)}}
@keyframes mgs-forest-sign {0%,100%{rotate:-2deg}50%{rotate:3deg}}
@keyframes mgs-forest-nap {0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-2px) scale(1.018)}}
@keyframes mgs-forest-heap {0%,65%,100%{transform:rotate(0)}74%{transform:rotate(5deg)}85%{transform:rotate(-3deg)}}
@keyframes mgs-forest-pips {0%,55%,100%{rotate:0deg;translate:0 0}65%{rotate:-2deg;translate:0 -4px}75%{rotate:1deg;translate:0 -1px}85%{rotate:0deg;translate:0 0}}
@keyframes mgs-forest-wave {0%,65%,88%,100%{transform:rotate(0)}70%,79%{transform:rotate(-28deg)}74%,83%{transform:rotate(10deg)}}
@keyframes mgs-forest-gust {0%{left:-15%;transform:translateY(0) rotate(0);opacity:0}15%{opacity:.9}80%{opacity:.85}100%{left:112%;transform:translateY(var(--wind-y)) rotate(var(--wind-angle));opacity:0}}
@keyframes mgs-forest-found {0%,100%{translate:0 0;scale:1}40%{translate:0 -7px;scale:1.12}70%{translate:0 1px;scale:.97}}
@media(max-width:700px) {
 html body.mgs-autumn.page-id-1180 .mgs-autumn-motion-controls {justify-content:center;gap:8px}
 html body.mgs-autumn.page-id-1180 .mgs-forest-sprig {width:92px;height:38px;top:2px;right:10px;transform:scale(.7);transform-origin:100% 0}
 html body.mgs-autumn.page-id-1180 .mgs-forest-wind-leaf:nth-child(n+5) {display:none}
 html body.mgs-autumn.page-id-1180 .mgs-forest-wind-leaf {width:21px;height:26px}
}
/* Pause, reduced motion and printing also stop all new effects. Games still work. */
html body.mgs-autumn.page-id-1180.mgs-motion-paused .mgs-forest-wind {display:none!important}
html body.mgs-autumn.page-id-1180.mgs-motion-paused .elementor-1180 *,
html body.mgs-autumn.page-id-1180.mgs-motion-paused .elementor-1180 *:before,
html body.mgs-autumn.page-id-1180.mgs-motion-paused .elementor-1180 *:after {animation:none!important;transition:none!important}
@media(prefers-reduced-motion:reduce) {
 html body.mgs-autumn.page-id-1180 .mgs-forest-wind {display:none!important}
 html body.mgs-autumn.page-id-1180 .elementor-1180 *,html body.mgs-autumn.page-id-1180 .elementor-1180 *:before,html body.mgs-autumn.page-id-1180 .elementor-1180 *:after {animation:none!important;transition:none!important}
}
@media print {
 html body.mgs-autumn.page-id-1180 :is(.mgs-forest-wind,.mgs-forest-wind-button,.mgs-forest-sprig) {display:none!important}
 html body.mgs-autumn.page-id-1180 .elementor-1180 * {animation:none!important;transition:none!important}
}

/* Herbstwind: one gentle full-page sway. */
html body.mgs-autumn.page-id-1180 .elementor-1180{
 transform-origin:50% 12%;
}
html body.mgs-autumn.page-id-1180 .elementor-1180.mgs-autumn-sway{
 animation:mgs-autumn-page-sway 1.55s cubic-bezier(.22,.61,.36,1) 1;
}
html body.mgs-autumn.page-id-1180 .elementor-1180.mgs-autumn-sway .mgs-gust-piece{
 animation:mgs-autumn-piece-shake .92s cubic-bezier(.2,.7,.25,1) var(--mgs-gust-delay,0ms) 1 both;
 transform-origin:50% 55%;
 will-change:transform;
}
@keyframes mgs-autumn-page-sway{
 0%{transform:rotate(0deg) translateX(0)}
 14%{transform:rotate(.55deg) translateX(5px)}
 29%{transform:rotate(-.46deg) translateX(-5px)}
 45%{transform:rotate(.34deg) translateX(3px)}
 61%{transform:rotate(-.24deg) translateX(-3px)}
 77%{transform:rotate(.12deg) translateX(1px)}
 100%{transform:rotate(0deg) translateX(0)}
}
@keyframes mgs-autumn-piece-shake{
 0%{transform:translate3d(0,0,0) rotate(0deg)}
 18%{transform:translate3d(4px,-3px,0) rotate(.9deg)}
 36%{transform:translate3d(-5px,2px,0) rotate(-1.1deg)}
 54%{transform:translate3d(3px,-1px,0) rotate(.7deg)}
 70%{transform:translate3d(-2px,1px,0) rotate(-.45deg)}
 84%{transform:translate3d(1px,0,0) rotate(.2deg)}
 100%{transform:translate3d(0,0,0) rotate(0deg)}
}
@media(max-width:700px){
 html body.mgs-autumn.page-id-1180 .elementor-1180.mgs-autumn-sway{
  animation-duration:1.1s;
 }
}
html body.mgs-autumn.page-id-1180.mgs-motion-paused .elementor-1180.mgs-autumn-sway,
html body.mgs-autumn.page-id-1180.mgs-motion-paused .elementor-1180.mgs-autumn-sway .mgs-gust-piece{animation:none!important}
@media(prefers-reduced-motion:reduce){
 html body.mgs-autumn.page-id-1180 .elementor-1180.mgs-autumn-sway,
 html body.mgs-autumn.page-id-1180 .elementor-1180.mgs-autumn-sway .mgs-gust-piece{animation:none!important}
}
