/* ---------- Stammgast-Karte ---------- */
.sg{padding:clamp(36px,6vw,88px) 0 clamp(64px,8vw,120px);background:radial-gradient(70% 50% at 85% 0%,rgba(201,164,92,.12),transparent 70%)}
.sg-in{display:flex;flex-direction:column;gap:clamp(28px,4vw,48px)}
.sg-head{max-width:720px}
.sg-head h1{margin-top:14px;font:500 clamp(38px,6vw,68px)/1.02 var(--f-disp);letter-spacing:-.01em;text-wrap:balance}
.sg-head h1 em{color:var(--goldt)}
.sg-lead{margin-top:16px;max-width:52ch;color:var(--ink2);font-size:16px;line-height:1.6}
.sg-stage{display:grid;grid-template-columns:minmax(0,540px) minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:start}

/* the card itself – a physical-feeling object, dark in both themes */
.sgc{--cg:#C9A45C;--ct:#E3C88A;position:relative;overflow:hidden;isolation:isolate;display:flex;flex-direction:column;gap:22px;padding:clamp(20px,3vw,30px);border-radius:24px;color:#F1E6D0;
  background:radial-gradient(120% 90% at 100% 0%,rgba(201,164,92,.22),transparent 55%),linear-gradient(160deg,#241A11,#120D08 70%);
  box-shadow:0 30px 70px -20px rgba(0,0,0,.55),inset 0 0 0 1px rgba(227,200,138,.28)}
.sgc::before{content:"";position:absolute;inset:0;z-index:-1;opacity:.06;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cpath d='M22 4l4.2 9.8L36 9.6l-4.2 9.8L36 29.4l-9.8-4.2L22 35l-4.2-9.8L8 29.4l4.2-10L8 9.6l9.8 4.2z' fill='none' stroke='%23E3C88A' stroke-width='1'/%3E%3C/svg%3E")}
.sgc-shine{position:absolute;inset:-40% -60%;z-index:-1;background:linear-gradient(115deg,transparent 42%,rgba(255,236,190,.09) 50%,transparent 58%);transform:translateX(-30%);animation:sgShine 7s ease-in-out infinite;pointer-events:none}
@keyframes sgShine{0%,55%{transform:translateX(-35%)}100%{transform:translateX(35%)}}
.sgc-top{display:flex;align-items:center;gap:12px}
.sgc-top .m-mark{width:38px;height:38px;color:var(--cg)}
.sgc-top div{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.sgc-top b{font:500 13px/1 var(--f-body);letter-spacing:.3em;text-transform:uppercase;color:var(--ct)}
.sgc-hi{font:italic 400 18px/1.2 var(--f-disp);color:#F1E6D0;min-height:1em}
.sgc-num{font:500 12px/1 var(--f-body);letter-spacing:.14em;color:rgba(241,230,208,.62);white-space:nowrap}
.sgc-row{display:flex;flex-direction:column;gap:12px}
.sgc-l{display:flex;align-items:center;gap:12px}
.sgc-l .ic{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(227,200,138,.1);color:var(--ct);flex:none}
.sgc-l .ic svg{width:19px;height:19px}
.sgc-l>span:nth-child(2){display:flex;flex-direction:column;gap:2px;flex:1}
.sgc-l b{font:500 15px/1.1 var(--f-body);letter-spacing:.02em}
.sgc-l small{font-size:12px;color:rgba(241,230,208,.6)}
.sgc-c{font:500 22px/1 var(--f-disp);color:var(--ct);white-space:nowrap}
.dots{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:clamp(5px,1.2vw,9px)}
.dots li{position:relative;aspect-ratio:1;border-radius:50%;border:1px solid rgba(227,200,138,.32);display:grid;place-items:center;transition:background .4s,border-color .4s,transform .4s}
.dots li.free{border-style:dashed;color:rgba(227,200,138,.75)}
.dots li.free svg{width:58%;height:58%}
.dots li.on{border-color:transparent;background:radial-gradient(circle at 35% 30%,#F6E1AE,#C9A45C 55%,#9C7838);box-shadow:inset 0 -2px 4px rgba(60,40,10,.35),0 2px 8px rgba(201,164,92,.25)}
.dots li.on::after{content:"";width:34%;height:34%;border-radius:50%;background:rgba(26,20,13,.28)}
.dots li.on.free svg{display:none}
.dots li.pop{animation:sgPop .7s cubic-bezier(.3,1.6,.5,1)}
@keyframes sgPop{0%{transform:scale(.4)}60%{transform:scale(1.25)}100%{transform:scale(1)}}

.sgc-rewards{display:flex;flex-direction:column;gap:10px}
.sgr{display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:16px;background:linear-gradient(135deg,#E9CD8C,#C9A45C 55%,#A88340);color:#1A140D;box-shadow:0 12px 30px -12px rgba(201,164,92,.6)}
.sgr svg{width:28px;height:28px;flex:none}
.sgr div{flex:1;display:flex;flex-direction:column;gap:2px}
.sgr b{font:600 15px/1.2 var(--f-body)}
.sgr small{font-size:12px;opacity:.75;letter-spacing:.04em}
.sgr button{min-height:40px;padding:0 16px;border-radius:999px;border:0;background:#1A140D;color:#F1E6D0;font:500 13px/1 var(--f-body);letter-spacing:.04em;cursor:pointer}

.sgc-cta{display:flex;flex-direction:column;gap:10px;align-items:stretch}
.sgc-cta .btn{min-height:56px;font-size:15px;gap:12px}
.sgc-cta .btn svg{width:22px;height:22px}
.sgc-note{text-align:center;font-size:12.5px;color:rgba(241,230,208,.6)}
.sgc[data-state="loading"] .sgc-show,.sgc[data-state="loading"] .sgc-start{visibility:hidden}
.sgc[data-state="empty"] .sgc-show,.sgc[data-state="ready"] .sgc-start,.sgc[data-state="ready"] .sgc-note{display:none}
.sgc[data-state="empty"] .dots li{opacity:.55}
.sgc[data-state="loading"] .dots li{animation:sgPulse 1.4s ease-in-out infinite;animation-delay:calc(var(--d,0) * 1ms)}
@keyframes sgPulse{50%{opacity:.35}}

/* side column */
.sg-side{display:flex;flex-direction:column;gap:22px}
.sg-keep{display:flex;flex-direction:column;gap:14px;padding:20px;border-radius:20px;border:1px solid var(--line);background:var(--card)}
.sg-keep p{font-size:14px;line-height:1.55;color:var(--ink2)}
.sg-keep p b{display:block;margin-bottom:3px;font:500 16px/1.3 var(--f-body);color:var(--ink)}
.sg-keep-g{display:flex;flex-direction:column;gap:12px}
.gbtn{gap:10px;align-self:flex-start;border-color:var(--line2);color:var(--ink)}
.gbtn svg{width:18px;height:18px}
.sg-keep-ok{display:flex;align-items:center;gap:10px}
.sg-keep-ok svg{width:20px;height:20px;color:#5FB46A;flex:none}
.shr{display:inline-block;width:12px;height:14px;vertical-align:-2px;border:1.4px solid currentColor;border-top:0;border-radius:0 0 2px 2px;position:relative;margin:0 2px}
.shr::before{content:"";position:absolute;left:50%;top:-6px;width:1.4px;height:10px;background:currentColor;transform:translateX(-50%)}
.sg-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.sg-steps li{display:flex;gap:16px;align-items:flex-start;padding:14px 0;border-bottom:1px solid var(--line)}
.sg-steps span{font:400 30px/1 var(--f-disp);color:var(--gold);width:22px;flex:none}
.sg-steps p{font-size:14px;line-height:1.55;color:var(--ink2)}
.sg-steps b{display:block;font:500 16px/1.3 var(--f-body);color:var(--ink);margin-bottom:2px}
.sg-bonus{display:flex;gap:12px;align-items:center;font-size:14px;line-height:1.5;color:var(--ink2)}
.sg-bonus span{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;flex:none;background:rgba(201,164,92,.14);color:var(--goldt)}
.sg-bonus svg{width:18px;height:18px}
.sg-bonus b{color:var(--ink);font-weight:500}
.sg-fine{max-width:760px;border-top:1px solid var(--line);padding-top:6px}
.sg-fine summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:14px;color:var(--ink2);letter-spacing:.02em}
.sg-fine ul{display:flex;flex-direction:column;gap:8px;padding:0 0 8px 18px;font-size:13.5px;line-height:1.6;color:var(--mut)}
.sg-fine a{color:var(--ink2)}
.sg-del{border:0;background:none;padding:0;margin-left:6px;color:var(--acc);font:inherit;text-decoration:underline;cursor:pointer}

/* ---------- QR sheet ---------- */
.sgq,.sgd{position:fixed;inset:0;z-index:80;display:grid;place-items:center;background:rgba(8,6,4,.72);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:max(16px,env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) max(16px,env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));animation:sgFade .35s ease}
@keyframes sgFade{from{opacity:0}}
.sgq-in,.sgd-in{position:relative;width:min(420px,100%);max-height:100%;overflow:auto;display:flex;flex-direction:column;align-items:center;gap:16px;padding:22px 22px 26px;border-radius:28px;background:#15100B;color:#F1E6D0;box-shadow:0 40px 90px rgba(0,0,0,.6),inset 0 0 0 1px rgba(227,200,138,.25);animation:sgUp .5s cubic-bezier(.2,.8,.2,1)}
@keyframes sgUp{from{transform:translateY(24px) scale(.98);opacity:0}}
.sgq-top{align-self:stretch;display:flex;align-items:center;justify-content:space-between}
.sgq-k{font:500 12px/1 var(--f-body);letter-spacing:.3em;text-transform:uppercase;color:#E3C88A}
.sgq-x{width:44px;height:44px;border-radius:50%;border:1px solid rgba(227,200,138,.35);background:transparent;color:#F1E6D0;display:grid;place-items:center;cursor:pointer}
.sgq-x svg{width:18px;height:18px}
.sgq-gift{align-self:stretch;text-align:center;padding:10px 14px;border-radius:14px;background:linear-gradient(135deg,#E9CD8C,#C9A45C);color:#1A140D;font:600 15px/1.3 var(--f-body)}
.sgq-code{position:relative;width:min(300px,78vw);aspect-ratio:1;border-radius:22px;background:#fff;padding:16px;overflow:hidden}
.sgq-qr{width:100%;height:100%}
.sgq-qr svg{width:100%;height:100%;display:block}
.sgq-live{position:absolute;left:0;right:0;bottom:0;height:6px;background:repeating-linear-gradient(90deg,#C9A45C 0 14px,#1A140D 14px 28px);background-size:28px 6px;animation:sgLive 1s linear infinite}
@keyframes sgLive{to{background-position:28px 0}}
.sgq.gift .sgq-in{box-shadow:0 40px 90px rgba(0,0,0,.6),inset 0 0 0 2px #E3C88A,0 0 60px rgba(227,200,138,.25)}
.sgq-meta{display:flex;align-items:center;gap:14px}
.sgq-clock{font:500 22px/1 var(--f-body);font-variant-numeric:tabular-nums;letter-spacing:.06em}
.sgq-ring{width:28px;height:28px;transform:rotate(-90deg)}
.sgq-ring circle{fill:none;stroke:rgba(227,200,138,.2);stroke-width:3}
.sgq-ring .p{stroke:#E3C88A;stroke-dasharray:97.4;stroke-linecap:round;transition:stroke-dashoffset 1s linear}
.sgq-num{font:500 13px/1 var(--f-body);letter-spacing:.14em;color:rgba(241,230,208,.6)}
.sgq-hint{font-size:12.5px;color:rgba(241,230,208,.6);text-align:center}
.sgq-toast{position:absolute;inset:0;border-radius:28px;display:grid;place-items:center;align-content:center;gap:12px;padding:28px;background:rgba(21,16,11,.94);text-align:center;font:500 26px/1.2 var(--f-disp);color:#F1E6D0;animation:sgFade .3s}
.sgq-toast b{display:grid;place-items:center;width:84px;height:84px;margin:0 auto;border-radius:50%;background:radial-gradient(circle at 35% 30%,#F6E1AE,#C9A45C 55%,#9C7838);color:#1A140D;animation:sgPop .7s cubic-bezier(.3,1.6,.5,1)}
.sgq-toast b svg{width:40px;height:40px}
.sgq-toast small{display:block;font:400 14px/1.4 var(--f-body);color:rgba(241,230,208,.7)}

/* ---------- after redemption ---------- */
.sgd-in{text-align:center;gap:14px;padding:34px 24px 24px;overflow:hidden}
.sgd-in h2{font:500 34px/1.08 var(--f-disp)}
.sgd-in>p{font-size:15px;line-height:1.55;color:rgba(241,230,208,.78);max-width:32ch}
.sgd-ic{width:86px;height:86px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 35% 30%,#F6E1AE,#C9A45C 55%,#9C7838);color:#1A140D;animation:sgPop .8s cubic-bezier(.3,1.6,.5,1)}
.sgd-ic svg{width:44px;height:44px}
.sgd-review{align-self:stretch;display:flex;flex-direction:column;gap:12px;margin-top:6px;padding:18px;border-radius:18px;background:rgba(227,200,138,.08);border:1px solid rgba(227,200,138,.2)}
.sgd-review p{font-size:14px;line-height:1.5;color:rgba(241,230,208,.78)}
.sgd-review p b{display:block;font:500 17px/1.3 var(--f-body);color:#F1E6D0;margin-bottom:2px}
.sgd-review .btn{gap:10px}
.sgd-review .st{font-size:11px;letter-spacing:.1em}
.sgd-in .btn.ghost{color:#F1E6D0;border-color:rgba(227,200,138,.35)}
.sgd-burst{position:absolute;left:50%;top:76px;width:0;height:0;pointer-events:none}
.sgd-burst i{position:absolute;width:7px;height:7px;border-radius:2px;background:#E3C88A;opacity:0;animation:sgBurst 1.4s cubic-bezier(.15,.7,.3,1) .15s forwards;transform:rotate(calc(var(--k) * 25.7deg)) translateY(0)}
.sgd-burst i:nth-child(3n){background:#F1E6D0;width:5px;height:5px}
.sgd-burst i:nth-child(4n){background:#C9A45C;border-radius:50%}
@keyframes sgBurst{0%{opacity:1;transform:rotate(calc(var(--k) * 25.7deg)) translateY(0)}100%{opacity:0;transform:rotate(calc(var(--k) * 25.7deg)) translateY(-120px)}}

@media (max-width:900px){.sg-stage{grid-template-columns:1fr}}
@media (max-width:600px){
  .sg{padding-top:28px}
  .sg-head h1{font-size:clamp(34px,10vw,44px)}
  .sg-lead{font-size:15px}
  .sgc{border-radius:22px;gap:18px}
  .sgc-c{font-size:20px}
}
@media (prefers-reduced-motion:reduce){.sgc-shine,.sgq-live,.dots li.pop,.sgd-burst i{animation:none!important}}

.sgq-toast>div{max-width:100%}
.sgq-toast small{margin-top:8px;max-width:26ch;margin-inline:auto;line-height:1.45}
