:root{
  --tisch:#F1EADC; --creme:#F6F1E4; --gruen:#1F5A3D; --gruen2:#2E7D4F; --tief:#16432D;
  --text:#3E4C43; --leise:#6A7A6F; --orange:#E8873A; --app-gruen:#21402C;
  color-scheme:light;
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:auto;background:var(--tisch)}
body{background:var(--tisch);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Segoe UI",system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:clip}
a{color:inherit}

/* Leiste oben */
#leiste{position:fixed;left:0;right:0;top:0;z-index:50;height:calc(52px + env(safe-area-inset-top));
  padding:env(safe-area-inset-top) max(16px,env(safe-area-inset-right)) 0 max(16px,env(safe-area-inset-left));
  display:flex;align-items:center;justify-content:space-between;
  background:rgba(244,238,226,.72);-webkit-backdrop-filter:saturate(1.6) blur(18px);backdrop-filter:saturate(1.6) blur(18px);
  border-bottom:1px solid rgba(22,67,45,.07);opacity:0;transform:translateY(-8px);transition:opacity .45s ease,transform .45s ease;pointer-events:none}
#leiste.sichtbar{opacity:1;transform:none;pointer-events:auto}
.marke{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--tief);font-weight:700;font-size:17px;letter-spacing:-.01em}
.marke img{border-radius:7px;display:block}
.pille{font-size:14px;font-weight:600;color:#fff;background:var(--gruen);padding:7px 14px;border-radius:999px;text-decoration:none;white-space:nowrap}

/* Scroll-Bühne */
#bahn{position:relative;height:1050vh;overflow-x:clip;background:var(--tisch)}
#mass{position:absolute;left:0;top:0;width:1px;height:100vh;height:100svh;visibility:hidden;pointer-events:none}
/* Bühne klebt NICHT (sticky/fixed): Safari 26 legt sonst unten einen festen Balken über die Seite.
   Sie wird per scroll-getriebener CSS-Animation mitgeschoben (flüssig im Compositor), Fallback per JS in seite.js. */
#buehne{position:absolute;top:0;left:0;right:0;height:calc(100vh + 240px);height:calc(100lvh + 240px);overflow:hidden}
@keyframes mitlaufen{from{transform:translate3d(0,0,0)}to{transform:translate3d(0,var(--l,0px),0)}}
@supports (animation-timeline:scroll()){#buehne{animation:mitlaufen linear both;animation-timeline:scroll(root block)}}
#tisch{display:none}
#buehne>*{will-change:transform,opacity}

#schleier{position:absolute;left:0;top:0;z-index:3;opacity:0;pointer-events:none}
#hero{position:absolute;left:0;top:0;text-align:center;z-index:6}
.hero-icon{display:block;margin:0 auto 14px;width:88px;height:88px;border-radius:21px;
  box-shadow:0 14px 34px rgba(22,67,45,.22),0 2px 6px rgba(22,67,45,.12)}
#hero h1{font-size:44px;line-height:1.02;font-weight:800;letter-spacing:-.035em;color:var(--tief)}
#hero p{margin-top:8px;font-size:19px;font-weight:600;letter-spacing:-.015em;color:var(--text)}

#texte{position:absolute;left:0;top:0;z-index:6}
.szene{position:absolute;left:0;top:0;width:100%;opacity:0}
.szene h2{font-size:36px;line-height:1.05;font-weight:800;letter-spacing:-.035em;color:var(--tief)}
.szene p{margin-top:8px;font-size:18px;line-height:1.35;font-weight:600;letter-spacing:-.012em;color:var(--text)}

#hinweis.weg{opacity:0!important;pointer-events:none}
#hinweis{position:absolute;left:50%;top:calc(100vh - 66px);top:calc(100svh - 66px);transform:translateX(-50%);z-index:9;width:max-content;box-shadow:0 6px 18px rgba(0,0,0,.25);flex-direction:row!important;gap:6px!important;padding:8px 14px 8px 16px;border-radius:999px;background:rgba(31,90,61,.92);color:#F6F1E4!important;font-size:14px!important;transition:opacity .35s ease;
  display:flex;flex-direction:column;align-items:center;gap:2px;color:var(--gruen);font-size:13px;font-weight:600;letter-spacing:.02em}
#hinweis svg{animation:nicken 1.8s ease-in-out infinite}
@keyframes nicken{0%,100%{transform:translateY(0)}50%{transform:translateY(5px)}}

/* Kassenbon */
.bon{position:absolute;left:50%;top:50%;width:300px;margin-left:-150px;padding:30px 20px 34px;
  font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-size:12.6px;line-height:20px;color:#2b2b2b;letter-spacing:.01em;
  background:linear-gradient(180deg,#FDFCF8 0%,#FAF8F1 60%,#F6F3EA 100%);
  -webkit-mask:linear-gradient(#000 0 0) top/100% calc(100% - 8px) no-repeat,conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) bottom/12px 8px repeat-x;
  mask:linear-gradient(#000 0 0) top/100% calc(100% - 8px) no-repeat,conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) bottom/12px 8px repeat-x;
  transform-origin:50% 50%}
#bon{z-index:2}
#bonSchatten{position:absolute;left:50%;top:50%;width:300px;margin-left:-150px;z-index:1;border-radius:6px;
  box-shadow:0 22px 34px -6px rgba(60,45,20,.20),0 2px 4px rgba(60,45,20,.12);background:rgba(60,45,20,.05)}
.bon .z{position:relative;display:flex;justify-content:space-between;white-space:pre;min-height:20px}
.bon .z.mitte{justify-content:center}
.bon .z.kopf{justify-content:center;font-size:22px;font-weight:800;line-height:30px;margin-bottom:6px;letter-spacing:.04em}
.bon .z.klein{font-size:10.6px;color:#444}
.bon .z.summe{font-weight:800;font-size:13.6px}
.bon .z.strich{color:#777;overflow:hidden}
.bon .z::before{content:"";position:absolute;left:-6px;right:-6px;top:0;bottom:0;border-radius:5px;background:rgba(255,206,74,.55);opacity:0;transition:opacity .25s ease}
.bon .z.gelesen::before{opacity:1}
.bon .z>span{position:relative}

/* iPhone */
#handy{position:absolute;left:50%;top:50%;width:324px;height:676px;margin:-338px 0 0 -162px;z-index:4;transform-origin:50% 50%}
#handy .rahmen{position:absolute;inset:0;border-radius:56px;
  background:linear-gradient(145deg,#5a605c 0%,#24282a 18%,#0d0f0e 50%,#24282a 82%,#4d5350 100%);
  box-shadow:0 50px 90px -20px rgba(16,48,31,.45),0 22px 40px -12px rgba(16,48,31,.3),inset 0 0 0 1.5px rgba(255,255,255,.16),inset 0 0 0 3px rgba(0,0,0,.6)}
#handy .taste{position:absolute;width:3px;background:linear-gradient(90deg,#1c1f1e,#3a3f3c);border-radius:2px}
#handy .t1{left:-2px;top:118px;height:26px}#handy .t2{left:-2px;top:166px;height:50px}#handy .t3{left:-2px;top:228px;height:50px}#handy .t4{right:-2px;top:180px;height:78px}
#handy .innen{position:absolute;inset:9px;border-radius:48px;background:#000;padding:3px}
#handy .screen{position:relative;width:300px;height:652px;border-radius:44px;overflow:hidden;background:linear-gradient(160deg,#1a1d1c,#060707);transform:translateZ(0);isolation:isolate}
#handy .glanz{position:absolute;inset:0;border-radius:56px;pointer-events:none;
  background:linear-gradient(118deg,rgba(255,255,255,.13) 0%,rgba(255,255,255,0) 34%,rgba(255,255,255,0) 70%,rgba(255,255,255,.05) 100%)}
.ebene{position:absolute;inset:0;opacity:0;background:var(--app-gruen)}
.ebene.hell{background:#EEEDE2}
.ebene img,.ebene canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
/* Die Aufnahmen haben oben keine Statusleiste: Band in Bildschirmfarbe darüber */
.ebene.hell::after{content:"";position:absolute;left:0;right:0;top:0;height:7.8%;background:#EEEDE2}
.ebene.kamera::after{display:none}
#eEinkauf img{opacity:0}
#eEinkauf img:first-child{opacity:1}

.kamera{background:radial-gradient(90% 70% at 50% 40%,#d9cdb5 0%,#b9aa8e 100%);overflow:hidden}
.kamera .vignette{position:absolute;inset:0;background:radial-gradient(110% 75% at 50% 42%,rgba(60,40,10,.05) 40%,rgba(20,14,6,.42) 100%)}
.scanlinie{position:absolute;left:8%;right:8%;top:38%;height:2px;border-radius:2px;background:#7CE0A0;
  box-shadow:0 0 12px 2px rgba(124,224,160,.75);opacity:0}
.panel{position:absolute;left:10px;right:10px;bottom:18px;padding:13px 12px 11px;border-radius:20px;background:rgba(31,90,61,.94);text-align:center;color:var(--creme)}
.panel-text{font-size:12.5px;line-height:16px;font-weight:600;min-height:32px}
.panel-zeile{margin-top:6px;font:500 10.5px ui-monospace,"SF Mono",Menlo,monospace;color:#CFE6D5;white-space:pre;overflow:hidden;text-overflow:ellipsis}
.panel-knoepfe{display:flex;gap:8px;justify-content:center;margin-top:9px}
.panel-knoepfe span{padding:7px 15px;border-radius:999px;font-weight:600;font-size:12.5px;background:rgba(246,241,228,.16)}
.panel-knoepfe .fertig{background:var(--gruen2);color:#fff}

.blitz{position:absolute;inset:0;background:#fff;opacity:0;pointer-events:none}
.tipp{position:absolute;left:0;top:0;width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:50%;background:rgba(255,255,255,.45);
  box-shadow:0 0 0 2px rgba(255,255,255,.9),0 3px 12px rgba(0,0,0,.25);opacity:0;pointer-events:none}
.status{position:absolute;left:0;right:0;top:0;height:44px;color:#fff;font-weight:600;font-size:14.5px;letter-spacing:-.01em;pointer-events:none}
.status.dunkel{color:#111;opacity:0}
.status .zeit{position:absolute;left:34px;top:16px}
.status .symbole{position:absolute;right:26px;top:18px;width:62px;height:12px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 62 12'%3E%3Crect x='0' y='8' width='3' height='4' rx='1'/%3E%3Crect x='4.5' y='6' width='3' height='6' rx='1'/%3E%3Crect x='9' y='3.5' width='3' height='8.5' rx='1'/%3E%3Crect x='13.5' y='1' width='3' height='11' rx='1'/%3E%3Cg fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M22.4 4.6a9.2 9.2 0 0 1 13.2 0'/%3E%3Cpath d='M24.7 7a5.9 5.9 0 0 1 8.6 0'/%3E%3C/g%3E%3Cpath d='M27 9.3a2.9 2.9 0 0 1 4 0L29 11.4z'/%3E%3Crect x='40.5' y='1' width='19' height='10' rx='3' fill='none' stroke='%23000' stroke-width='1.1' opacity='.45'/%3E%3Crect x='42' y='2.5' width='16' height='7' rx='1.8'/%3E%3Crect x='60.3' y='4' width='1.6' height='4' rx='.8' opacity='.45'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 62 12'%3E%3Crect x='0' y='8' width='3' height='4' rx='1'/%3E%3Crect x='4.5' y='6' width='3' height='6' rx='1'/%3E%3Crect x='9' y='3.5' width='3' height='8.5' rx='1'/%3E%3Crect x='13.5' y='1' width='3' height='11' rx='1'/%3E%3Cg fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M22.4 4.6a9.2 9.2 0 0 1 13.2 0'/%3E%3Cpath d='M24.7 7a5.9 5.9 0 0 1 8.6 0'/%3E%3C/g%3E%3Cpath d='M27 9.3a2.9 2.9 0 0 1 4 0L29 11.4z'/%3E%3Crect x='40.5' y='1' width='19' height='10' rx='3' fill='none' stroke='%23000' stroke-width='1.1' opacity='.45'/%3E%3Crect x='42' y='2.5' width='16' height='7' rx='1.8'/%3E%3Crect x='60.3' y='4' width='1.6' height='4' rx='.8' opacity='.45'/%3E%3C/svg%3E") center/contain no-repeat}
.insel{position:absolute;left:50%;top:10px;width:88px;height:26px;margin-left:-44px;border-radius:14px;background:#000}

/* Produkte */
.produkte{position:absolute;left:50%;top:50%;width:0;height:0}
#prodHinten{z-index:3}#prodVorne{z-index:5}
.prod{position:absolute;left:-46px;top:-46px;width:92px;height:92px;opacity:0}

/* Schluss */
#laden{position:relative;z-index:10;background:radial-gradient(120% 70% at 50% 0%,#2a6e4b 0%,#1F5A3D 45%,#123826 100%);color:var(--creme);
  padding:96px max(16px,env(safe-area-inset-left)) calc(28px + env(safe-area-inset-bottom));text-align:center}
.laden-innen{max-width:760px;margin:0 auto}
.laden-icon{width:112px;height:112px;border-radius:26px;box-shadow:0 24px 50px rgba(0,0,0,.35),0 0 0 2px rgba(246,241,228,.16)}
#laden h2{margin-top:22px;font-size:46px;font-weight:800;letter-spacing:-.035em;color:#fff}
#laden .claim{margin-top:6px;font-size:20px;font-weight:600;color:#CFE6D5}
.store{display:inline-flex;align-items:center;gap:10px;margin-top:30px;padding:15px 28px;border-radius:999px;background:var(--creme);color:var(--gruen);font-weight:700;font-size:18px;box-shadow:0 14px 34px rgba(0,0,0,.25)}
.karten{display:grid;grid-template-columns:1fr;gap:14px;margin-top:56px;text-align:left}
.karte{background:rgba(246,241,228,.08);border:1px solid rgba(246,241,228,.12);border-radius:22px;padding:22px 22px 20px}
.karte h3{font-size:20px;font-weight:700;color:#fff;letter-spacing:-.015em}
.karte p{margin-top:8px;font-size:16px;line-height:1.5;color:#DCEBE0}
.karte .preis b{color:#F3B37B}
#laden footer{display:flex;gap:22px;justify-content:center;flex-wrap:wrap;margin-top:72px;font-size:15px;color:#A9C9B3}
#laden footer a{text-decoration:none}
#laden footer a:hover{text-decoration:underline}

@media (min-width:700px){
  .karten{grid-template-columns:1fr 1fr}
  #hero h1{font-size:64px}
  #hero p{font-size:24px}
  .szene h2{font-size:56px}
  .szene p{font-size:22px}
}
@media (prefers-reduced-motion:reduce){#hinweis svg{animation:none}}

@media (max-height:720px) and (max-width:699px){.hero-icon{width:64px;height:64px;border-radius:15px;margin-bottom:10px!important}#hero h1{font-size:38px}#hero p{font-size:17px}}
/* Mitte = Mitte des sichtbaren Bereichs, auch wenn die Bühne hinter Safaris Leisten weiterläuft */
#handy,#bon,#bonSchatten,.produkte{top:50vh;top:50svh}
