
#gh-schnee{position:fixed;inset:0;width:100vw;height:100vh;pointer-events:none;z-index:80;opacity:0;transition:opacity 2.4s ease}
#gh-schnee.an{opacity:1}
.gh-gruss{position:fixed;left:28px;bottom:28px;width:400px;z-index:96;opacity:0;transform:translateY(36px) scale(.98);transition:opacity .9s cubic-bezier(.2,.7,.2,1),transform 1.1s cubic-bezier(.2,.8,.2,1);pointer-events:none}
.gh-gruss.offen{opacity:1;transform:none;pointer-events:auto}
.gh-gruss .gh-lugt{position:absolute;right:54px;bottom:calc(100% - 14px);width:190px;height:193px;z-index:1;pointer-events:none;clip-path:inset(-70% -50% 0 -50%)} 
.gh-gruss .gh-lugt .gh-fig{transform:translateY(104%);transition:transform 1.2s cubic-bezier(.3,1.25,.5,1) .9s;filter:drop-shadow(0 6px 8px rgba(34,21,12,.22))}
.gh-gruss.offen .gh-lugt .gh-fig{transform:translateY(0)}
.gh-gruss.offen .gh-lugt .gh-atem{animation:gh-atem 5.2s ease-in-out 3.4s infinite}

.gh-fig{position:relative;width:100%;aspect-ratio:380/385}
.gh-atem{position:absolute;inset:0;transform-origin:50% 100%}
.gh-fig .gh-koerper{position:absolute;inset:0;width:100%;height:100%;display:block}
.gh-fig .gh-arm{position:absolute;left:.23%;top:29.56%;width:36.84%;height:50.65%;background:url(img/lebkuchen-arm.webp) 47.3684% 0/3900% 100% no-repeat}
.gh-fig .gh-dampf{position:absolute;left:57.86%;top:72.2%;width:0;height:0}
.gh-fig .gh-dampf b{position:absolute;left:0;bottom:0;width:2.6em;height:3em;margin-left:-1.3em;font-size:calc(var(--gh-w,190px)/46);border-radius:50%;background:radial-gradient(closest-side,#fffdf6,rgba(255,244,214,.85) 50%,rgba(250,232,190,0));filter:blur(.3px);opacity:0;transform-origin:50% 100%;animation:gh-dampf1 3.6s linear -.4s infinite;will-change:transform,opacity}
.gh-fig .gh-dampf b:nth-child(2){animation-name:gh-dampf2;animation-delay:-1.6s;margin-left:-1.6em}
.gh-fig .gh-dampf b:nth-child(3){animation-delay:-2.8s;margin-left:-.6em}
.gh-karte{position:relative;z-index:2;background:radial-gradient(120% 90% at 85% 0%,#fffaf0 0%,#f6ecd5 55%,#eedebb 100%);color:#563824;border-radius:6px;padding:30px 30px 24px;box-shadow:inset 0 0 0 1px rgba(197,152,48,.55),inset 0 0 0 6px #f6ecd5,inset 0 0 0 7px rgba(197,152,48,.28),0 30px 60px -18px rgba(14,8,4,.55),0 8px 18px -8px rgba(14,8,4,.35)}
.gh-karte .gh-k{padding-right:34px;font:500 11px/1 var(--f-text);letter-spacing:.22em;text-transform:uppercase;color:#87631a;margin:0 0 14px}
.gh-karte h2{font:600 31px/1.08 var(--f-serif);margin:0 0 14px;color:#563824;position:relative;overflow:hidden}
.gh-karte h2 span{background:linear-gradient(100deg,#563824 0 40%,#c59830 48%,#e9cd7c 50%,#c59830 52%,#563824 60% 100%);background-size:300% 100%;background-position:100% 0;-webkit-background-clip:text;background-clip:text;color:transparent}
.gh-gruss.offen .gh-karte h2 span{animation:gh-glanz 2.6s ease 1.4s 1 both}
.gh-karte p.gh-t{font:400 15.5px/1.6 var(--f-text);margin:0 0 16px;color:rgba(86,56,36,.92)}
.gh-karte .gh-u{font:500 17px/1.3 var(--f-serif);color:#87631a;margin:0 0 20px}
.gh-karte .gh-knoepfe{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.gh-karte .gh-gs{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 20px;border-radius:4px;background:linear-gradient(105deg,#b68516,#d9b85e 45%,#c9a13e 62%,#b68516);color:#22150c;font:600 14px/1 var(--f-text);letter-spacing:.04em;text-decoration:none;box-shadow:0 6px 14px -6px rgba(110,72,10,.6)}
.gh-karte .gh-gs:hover{filter:brightness(1.06)}
.gh-karte .gh-weg{min-height:44px;padding:0 14px;background:none;border:0;color:#563824;font:500 14px/1 var(--f-text);cursor:pointer;text-decoration:underline;text-underline-offset:4px;text-decoration-color:rgba(86,56,36,.35)}
.gh-karte .gh-x{position:absolute;top:8px;right:8px;width:44px;height:44px;border:0;background:none;cursor:pointer;color:rgba(86,56,36,.6);font:300 26px/1 var(--f-text)}
.gh-karte .gh-x:hover,.gh-karte .gh-weg:hover{color:#22150c}
.gh-karte :focus-visible{outline:2px solid #c59830;outline-offset:2px}
.gh-begleiter{position:fixed;right:22px;bottom:18px;width:96px;height:auto;--gh-w:96px;z-index:94;border:0;padding:0;background:none;cursor:pointer;opacity:0;transform:translateY(40px);transition:opacity .7s ease,transform .9s cubic-bezier(.3,1.4,.5,1);filter:drop-shadow(0 8px 10px rgba(14,8,4,.35))}
.gh-begleiter.da{opacity:1;transform:none}
.gh-begleiter .gh-koerper{-webkit-mask-image:linear-gradient(#000 80%,transparent 97%);mask-image:linear-gradient(#000 80%,transparent 97%)} 
.gh-begleiter .gh-atem{animation:gh-atem 5.2s ease-in-out 1s infinite}
.gh-begleiter .gh-dampf b{font-size:calc(var(--gh-w,96px)/28)}
.gh-begleiter:focus-visible{outline:2px solid #c59830;outline-offset:4px;border-radius:8px}
.gh-karte .gh-mu{display:flex;width:100%;align-items:center;justify-content:center;gap:12px;min-height:52px;margin:0 0 12px;padding:0 18px;border-radius:4px;border:1.5px solid #c59830;background:linear-gradient(180deg,#2e1d10,#22150c);color:#e9cd7c;font:600 15px/1 var(--f-text);letter-spacing:.04em;cursor:pointer;box-shadow:0 0 0 0 rgba(217,184,94,.55),0 8px 18px -10px rgba(14,8,4,.6);position:relative;overflow:hidden}
.gh-karte .gh-mu:hover{background:#22150c;color:#fff2c4}

.gh-gruss.offen .gh-mu:not(.gh-benutzt){animation:gh-ruf 2.4s ease-in-out 2.6s infinite}
.gh-karte .gh-mu::after{content:"";position:absolute;top:0;bottom:0;width:40%;left:-60%;background:linear-gradient(100deg,transparent,rgba(255,236,170,.28),transparent);transform:skewX(-18deg)}
.gh-gruss.offen .gh-mu:not(.gh-benutzt)::after{animation:gh-glanzlauf 4.8s ease-in-out 3.2s infinite}
.gh-karte .gh-mu .gh-note{font-size:22px;line-height:1;display:inline-block}
.gh-gruss.offen .gh-mu:not(.gh-benutzt) .gh-note{animation:gh-hopp 1.2s ease-in-out 2.6s infinite}
.gh-karte .gh-mu:not(.gh-spielt) .gh-wellen{display:none}
.gh-karte .gh-mu.gh-spielt .gh-note{display:none}
.gh-karte .gh-mu.gh-spielt{color:#d9b85e;border-color:rgba(197,152,48,.55)}
@keyframes gh-ruf{0%,100%{box-shadow:0 0 0 0 rgba(217,184,94,.55),0 8px 18px -10px rgba(14,8,4,.6)}60%{box-shadow:0 0 0 9px rgba(217,184,94,0),0 8px 18px -10px rgba(14,8,4,.6)}}
@keyframes gh-glanzlauf{0%{left:-60%}35%,100%{left:130%}}
@keyframes gh-hopp{0%,100%{transform:translateY(0) rotate(0)}30%{transform:translateY(-4px) rotate(-8deg)}60%{transform:translateY(0) rotate(4deg)}}
.gh-wellen{display:inline-flex;align-items:flex-end;gap:2px;height:13px;width:15px}
.gh-wellen i{display:block;width:3px;height:4px;border-radius:1px;background:currentColor;transform-origin:50% 100%}
.gh-spielt .gh-wellen i{animation:gh-welle 1.1s ease-in-out infinite}
.gh-spielt .gh-wellen i:nth-child(2){animation-delay:-.35s}.gh-spielt .gh-wellen i:nth-child(3){animation-delay:-.7s}
@keyframes gh-welle{0%,100%{height:4px}50%{height:13px}}
.gh-ton{position:fixed;right:40px;bottom:124px; z-index:94;width:44px;height:44px;border-radius:50%;border:1px solid rgba(197,152,48,.6);background:rgba(34,21,12,.82);color:#d9b85e;cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:0;transform:scale(.8);pointer-events:none;transition:opacity .5s ease,transform .5s ease;box-shadow:0 8px 18px -8px rgba(0,0,0,.6)}
.gh-ton.da{opacity:1;transform:none;pointer-events:auto}
.gh-ton:hover{background:#22150c}
.gh-ton:not(.gh-spielt) .gh-wellen{display:none}
.gh-ton:not(.gh-spielt)::before{content:"\266B";font-size:19px;line-height:1;opacity:.85}
.gh-ton:focus-visible{outline:2px solid #c59830;outline-offset:3px}

@media (min-width:861px){body:has(.gh-begleiter) .fuss .klein{padding-right:104px}}

@media (max-width:1024px),(pointer:coarse) and (max-width:1400px){
 body:has(.gh-begleiter) .hy-ende,body:has(.gh-begleiter) .hy-fuss{padding-bottom:calc(var(--leiste,84px) + 104px + env(safe-area-inset-bottom,0px))}
}
@keyframes gh-glanz{to{background-position:0 0}}
@keyframes gh-atem{0%,100%{transform:translateY(0) rotate(0) scale(1)}35%{transform:translateY(-1.2%) rotate(-1deg) scale(1.006)}70%{transform:translateY(-.3%) rotate(.8deg) scale(1.002)}}
@keyframes gh-dampf1{0%{opacity:0;transform:translate(0,.5em) scale(.5,.6)}10%{opacity:1}35%{opacity:.9;transform:translate(.2em,-.7em) scale(.8,.95)}65%{opacity:.5;transform:translate(-.2em,-1.6em) scale(1.15,1.2)}100%{opacity:0;transform:translate(.1em,-2.6em) scale(1.5,1.4)}}
@keyframes gh-dampf2{0%{opacity:0;transform:translate(0,.5em) scale(.5,.6)}10%{opacity:1}35%{opacity:.85;transform:translate(-.2em,-.7em) scale(.8,.95)}65%{opacity:.45;transform:translate(.2em,-1.6em) scale(1.15,1.2)}100%{opacity:0;transform:translate(-.1em,-2.6em) scale(1.5,1.4)}}
@media (max-width:860px){
 .gh-gruss{left:12px;right:12px;width:auto;bottom:calc(84px + env(safe-area-inset-bottom))}
 .gh-karte{padding:24px 22px 18px}
 .gh-karte h2{font-size:24px}
 .gh-karte p.gh-t{font-size:14.5px;line-height:1.55;margin-bottom:12px}
 .gh-karte .gh-k{font-size:10.5px;letter-spacing:.26em;margin-bottom:10px}
 .gh-karte h2{margin-bottom:10px}
 .gh-karte .gh-u{font-size:15.5px;margin-bottom:14px}
 .gh-gruss .gh-lugt{width:140px;height:142px;right:18px;bottom:calc(100% - 10px);--gh-w:140px}
 .gh-begleiter{width:72px;--gh-w:72px;right:10px;bottom:calc(86px + env(safe-area-inset-bottom))}
 .gh-ton{right:18px;bottom:calc(166px + env(safe-area-inset-bottom))}
}

@media (max-width:860px) and (max-height:700px) and (max-aspect-ratio:1/1),(max-width:600px) and (max-aspect-ratio:1/1){
 .gh-begleiter{bottom:calc(80px + env(safe-area-inset-bottom))}
 .gh-ton{right:88px;bottom:calc(100px + env(safe-area-inset-bottom))}
}

@media (max-height:560px) and (min-aspect-ratio:1/1) and (max-width:1024px){
 .gh-begleiter{bottom:calc(62px + env(safe-area-inset-bottom))}
 .gh-ton{right:88px;bottom:calc(76px + env(safe-area-inset-bottom))}
}
@media (prefers-reduced-motion:reduce){
 .gh-gruss,.gh-gruss .gh-lugt,.gh-begleiter{transition:opacity .3s ease}
 .gh-gruss .gh-lugt .gh-fig{transform:none;transition:none}
 .gh-atem,.gh-gruss.offen .gh-lugt .gh-atem,.gh-begleiter .gh-atem,.gh-fig .gh-dampf b,.gh-gruss.offen .gh-karte h2 span{animation:none}
 .gh-fig .gh-dampf b{opacity:.85;transform:translate(0,-.4em) scale(.8,.95)}
 .gh-fig .gh-dampf b:nth-child(2){opacity:.5;transform:translate(0,-1.4em) scale(1.1,1.15)}
 .gh-fig .gh-dampf b:nth-child(3){opacity:0}
 .gh-spielt .gh-wellen i{animation:none;height:9px}
 .gh-gruss.offen .gh-mu,.gh-gruss.offen .gh-mu::after,.gh-gruss.offen .gh-mu .gh-note{animation:none!important}
 .gh-karte h2 span{color:#563824;background:none}
}
