/* Borderless lobby introduction. Reference timing: lobby-intro-20261107/PLAN.md. */
#bb-einstieg .be-orbit,#bb-einstieg .be-zeichnung,#bb-einstieg .be-ruhe{display:none}
#bb-einstieg .be-skizze,
#bb-einstieg[data-zustand=laden] .be-skizze{
  background:url('./einstieg-r40/skizze.webp') center/cover no-repeat,var(--be-mini) center/cover no-repeat,#fafafa;
  transform:translate3d(var(--blick-x,0px),var(--blick-y,0px),0) scale(1.025);
  transition:transform .28s ease-out;
}
#bb-einstieg:not([data-zustand=laden]) .be-skizze{transform:none}
#bb-einstieg .be-logo{left:46px;top:29px;height:26px;transform:none;opacity:1}
#bb-einstieg.be-raus .be-logo{opacity:0;transition:opacity .3s ease}
#bb-einstieg .be-status{position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#bb-einstieg .be-prozent{position:absolute;left:50%;bottom:64px;display:flex;align-items:baseline;gap:5px;transform:translateX(-50%);
  color:#292723;font:400 30px/1 'Broche','Entry Broche',sans-serif;font-variant-numeric:tabular-nums;letter-spacing:.02em;transition:opacity .35s ease}
#bb-einstieg .be-pz-zahl{min-width:3ch;text-align:right}
#bb-einstieg .be-pz-zeichen{font-size:12px}
#bb-einstieg.be-raus .be-prozent,#bb-einstieg[data-zustand=fehler] .be-prozent{opacity:0;pointer-events:none}
#bb-einstieg .be-fehler{width:min(420px,calc(100vw - 48px));padding:24px;background:#fafafaf2;font-family:'Broche',sans-serif}
#bb-einstieg[data-zustand=fehler] .be-skizze{opacity:.5}

/* Keep the existing menu/settings. Only move the existing floor navigation. */
html body #bb-kopf .logo{height:26px}
html body #bb-punkte{top:24px!important;bottom:auto!important;right:310px!important;left:auto!important;transform:none!important;display:flex;flex-direction:row;gap:0;z-index:15}
html body #bb-punkte[hidden]{display:none}
html body #bb-punkte button{width:28px;height:36px}
html body #bb-punkte .p{width:4px;height:4px;margin:-2px;box-shadow:0 1px 3px #0008!important}
html body #bb-punkte .r{width:14px;height:14px;margin:-7px;border-width:1px}
html body #bb-punkte .l{right:50%;top:48px;transform:translateX(50%)!important;letter-spacing:.04em;font-size:11px!important;text-shadow:0 1px 4px #000}
html body #bb-punkte button:hover .l,html body #bb-punkte button:focus-visible .l,html body #bb-punkte button[data-offen=true] .l{transform:translateX(50%)!important}

#bb-start{position:fixed;inset:0;z-index:12;pointer-events:none;color:#f5f1e9;font-family:'Broche',sans-serif;opacity:0;transition:opacity .35s ease}
#bb-start.an{opacity:1}
#bb-start .bb-start-title{position:absolute;left:clamp(32px,6vw,100px);top:38%;transform:translateY(12px);transition:transform .7s cubic-bezier(.2,.7,.2,1);text-shadow:0 2px 18px #0009}
#bb-start.an .bb-start-title{transform:none}
#bb-start .bb-start-title p{margin:0 0 16px;font-size:clamp(14px,1.2vw,18px);line-height:1.3}
#bb-start h1{font:400 clamp(30px,3.25vw,58px)/1.16 'Broche',sans-serif;letter-spacing:.01em;margin:0}
#bb-start .bb-start-credit{position:absolute;left:46px;bottom:30px;font:400 10px/1.6 'Broche',sans-serif;letter-spacing:0;margin:0;text-shadow:0 1px 8px #0009}
#bb-start .bb-start-credit span{font-size:11px}
body[data-start-hero=visible] #bb-hinweis,body[data-start-hero=visible] #hint{opacity:0!important;pointer-events:none!important}
body[data-start-hero=dismissed]:has(#bb-punkte button[data-raum=lobby][aria-current=true]) #bb-hinweis span{display:none}
html.bb-menue-offen #bb-start,html.bb-aussen-offen #bb-start,body:has(#bb-einstellungen:not([hidden])) #bb-start,body:has(#bb-info.an) #bb-start{opacity:0;visibility:hidden}

@media(max-width:1100px){html body #bb-punkte{right:280px!important}html body #bb-punkte button{width:24px}}
@media(max-width:900px){#bb-einstieg .be-skizze,#bb-einstieg[data-zustand=laden] .be-skizze{background-image:url('./einstieg-r40/skizze-klein.webp'),var(--be-mini)}html body #bb-punkte{top:76px!important;right:30px!important}}
@media(max-width:560px){
  #bb-einstieg .be-logo{left:22px;top:24px;height:20px}
  html body #bb-kopf .logo{height:20px}
  html body #bb-punkte{top:76px!important;right:18px!important}
  html body #bb-punkte button{width:28px;height:32px}
  html body #bb-punkte .l{font-size:10px!important;right:0;transform:translateX(0)!important}
  html body #bb-punkte button:hover .l,html body #bb-punkte button:focus-visible .l,html body #bb-punkte button[data-offen=true] .l{transform:translateX(0)!important}
  #bb-einstieg .be-prozent{bottom:48px;font-size:26px}
  #bb-start .bb-start-title{left:24px;top:34%}
  #bb-start h1{font-size:clamp(26px,7vw,38px)}
  #bb-start .bb-start-title p{font-size:12px;margin-bottom:12px}
  #bb-start .bb-start-credit{left:22px;bottom:22px;font-size:8px}
  #bb-start .bb-start-credit span{font-size:9px}
}
@media(prefers-reduced-motion:reduce){#bb-einstieg .be-skizze{transform:none!important;transition:none}#bb-start,#bb-start .bb-start-title{transition:none;transform:none}}
html.bb-ruhig #bb-einstieg .be-skizze{transform:none!important;transition:none}
html.bb-ruhig #bb-start,html.bb-ruhig #bb-start .bb-start-title{transition:none;transform:none}

/* The full-size entry surface has no visible fixed button. The native pointer identifies the entry surface. */
#entry-open{position:absolute;inset:0;z-index:2;width:100%;height:100%;padding:0;border:0;background:transparent;box-shadow:none;cursor:pointer;color:#2b271f;font:400 12px/1.4 'Broche',sans-serif}
#entry-open[hidden]{display:none}
#entry-open:focus-visible{outline:1px solid #9a7432;outline-offset:-8px}
#entry-open .be-touch-label{display:none}
body[data-einstieg=bereit] #bb-einstieg .be-prozent{opacity:0}
body[data-start-hero=visible] #bb-hinweis,body[data-start-hero=visible] #hint{display:none!important}
@media(hover:none){#entry-open{cursor:pointer}#entry-open .be-touch-label{display:block;position:absolute;left:50%;top:55%;transform:translate(-50%,-50%);white-space:nowrap;padding:8px 12px;background:#fafafae6;color:#29251f}}
