/* brainOASIS Erlebnis-Bausteine (lokale Vorschau, 08.10.2026)
   1. Leistungen-Bühne: von oben nach unten, rastet bei jeder Leistung ein
   2. Schluss: aus der Monstera zurück in den Logo-Kreis
   3. Termin buchen: Buchungs-Attrappe (nichts wird gesendet) */
:root{
  --bo-ink:#2d2d25;--bo-olive:#81836b;--bo-olive-d:#6c6e58;--bo-paper:#f0f0ed;--bo-sand:#dadcc7;
  --bo-line:rgba(45,45,37,.14);--bo-hdr:91px;
  --bo-ease:cubic-bezier(.22,1,.36,1);
}

/* ---------- 1. Leistungen-Bühne ---------- */
.bo-offers{display:none}
html.bo-stage-on .bo-offers{display:block}
html.bo-stage-on .bo-offer-src{display:none!important}
.bo-offers__stage{position:relative;height:calc(100vh - var(--bo-hdr));height:calc(100svh - var(--bo-hdr));box-sizing:border-box;background:var(--bo-paper);overflow:hidden}
.bo-offers__grid{position:relative;height:100%;max-width:1220px;margin:0 auto;padding:var(--bo-offers-gap,clamp(32px,4vw,56px)) 40px clamp(28px,5vh,56px);box-sizing:border-box;
  display:grid;grid-template-columns:120px minmax(0,1fr) minmax(0,1.15fr);gap:clamp(28px,4vw,64px);align-items:start}

/* Schiene links: läuft von oben nach unten */
.bo-rail{position:relative;align-self:start;height:min(68vh,600px);justify-content:center;box-sizing:border-box;display:flex;flex-direction:column;gap:26px;padding-left:22px}
.bo-rail__track,.bo-rail__fill{position:absolute;left:0;top:6px;bottom:6px;width:2px;border-radius:2px}
.bo-rail__track{background:var(--bo-line)}
.bo-rail__fill{background:var(--bo-olive);transform-origin:50% 0;transform:scaleY(0)}
.bo-rail button{all:unset;cursor:pointer;font:inherit;font-size:13px;letter-spacing:1.4px;color:rgba(45,45,37,.45);line-height:1.2;transition:color .35s var(--bo-ease)}
.bo-rail button[aria-current="true"]{color:var(--bo-ink)}
.bo-rail button:focus-visible{outline:2px solid var(--bo-olive);outline-offset:4px;border-radius:2px}
.bo-rail__count{font-size:12px;letter-spacing:2px;color:rgba(45,45,37,.5);margin-top:10px;font-variant-numeric:tabular-nums}

/* Text: die Leistungen stapeln sich, nur eine ist sichtbar */
.bo-offers__texts{position:relative;height:min(68vh,600px);min-height:0}
.bo-otext{position:absolute;left:0;right:0;top:50%;transform:translate3d(0,-50%,0);opacity:0;pointer-events:none;will-change:transform,opacity}
.bo-otext.is-on{pointer-events:auto}
.bo-otext h2{font-size:clamp(30px,3.1vw,46px)!important;line-height:1.12!important;margin:10px 0 18px!important}
.bo-otext .fusion-text p{font-size:clamp(16px,1.2vw,18px)!important;line-height:1.7!important;margin:0 0 16px!important}
.bo-otext .fusion-text p:first-child{margin-top:0!important}
.bo-otext ul{margin:0 0 22px!important}
.bo-otext .fusion-title,.bo-otext .fusion-text,.bo-otext .fusion-checklist{margin-bottom:0!important}
.bo-otext [class*="fusion-builder-row"],.bo-otext .fusion-separator{display:none}
@media (max-height:780px){.bo-otext ul{display:none}.bo-otext .fusion-text p{margin-bottom:20px!important}}
.bo-otext.is-kurz ul{display:none}.bo-otext.is-kurz .fusion-text p{margin-bottom:20px!important}

/* Bild: die nächste Leistung schiebt sich von unten herein */
.bo-offers__frame{position:relative;height:min(68vh,600px);align-self:start;overflow:hidden;background:#e4e3dc}
.bo-oimg{position:absolute;inset:0;overflow:hidden;clip-path:inset(100% 0 0 0);will-change:clip-path}
.bo-oimg:first-child{clip-path:none}
.bo-oimg img{position:absolute;left:0;top:-8%;width:100%;height:116%;object-fit:cover;max-width:none;will-change:transform}

/* ---------- 2. Schluss: aus dem Wald in den Logo-Kreis ---------- */
.bo-close{display:none}
html.bo-close-on .bo-close{display:block}
html.bo-close-on .bo-close-src{display:none!important}
.bo-close__stage{position:relative;height:100vh;height:100svh;overflow:hidden;background:var(--bo-sand)}
.bo-close__disc{position:absolute;left:0;top:0;z-index:1;will-change:transform;pointer-events:none}
.bo-close__disc img{display:block;width:100%;height:100%}
.bo-close__win{position:absolute;inset:0;z-index:2;background:#3b3d31;pointer-events:none;will-change:clip-path}
.bo-close__win img{position:absolute;left:50%;top:50%;max-width:none;object-fit:cover;will-change:transform}
.bo-close__win::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(40,41,33,.82) 0,rgba(40,41,33,.62) 45%,rgba(40,41,33,.2) 100%)}
.bo-close__copy{position:absolute;z-index:4;left:0;right:0;top:50%;transform:translate3d(0,-50%,0);max-width:1220px;margin:0 auto;padding:0 40px;box-sizing:border-box;color:#fff}
.bo-close__copy .bo-close__inner{max-width:560px}
.bo-close__copy h3{color:#fff!important;font-size:clamp(30px,3.4vw,48px)!important;line-height:1.12!important;margin:0 0 20px!important}
.bo-close__copy p{color:rgba(255,255,255,.92)!important;font-size:clamp(16px,1.2vw,18px)!important;line-height:1.7!important;margin:0 0 28px!important}
.bo-close__end{position:absolute;z-index:5;left:0;right:0;top:0;display:flex;flex-direction:column;align-items:center;gap:14px;opacity:0;pointer-events:none;text-align:center}
.bo-close__end p{margin:0;font-size:18px;color:var(--bo-ink);letter-spacing:.2px}
@media (max-width:899px){
  .bo-close__win::after{background:linear-gradient(to top,rgba(40,41,33,.9) 0,rgba(40,41,33,.75) 55%,rgba(40,41,33,.25) 100%)}
  .bo-close__copy{top:auto;bottom:max(48px,7vh);transform:none;padding:0 22px}
  .bo-close__end p{font-size:16px;padding:0 24px}
}

/* gemeinsame Knöpfe (wie „Termin buchen“ oben rechts) */
.bo-btn{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 26px;border-radius:30px;
  background:var(--bo-olive);color:#fff;font-family:"New Black Regular",sans-serif;font-size:16px;line-height:1;cursor:pointer;transition:background .25s,transform .25s var(--bo-ease)}
.bo-btn:hover{background:var(--bo-olive-d)}
.bo-btn:active{transform:scale(.97)}
.bo-btn:focus-visible{outline:2px solid var(--bo-ink);outline-offset:3px}
.bo-btn--light{background:#fff;color:var(--bo-ink)}
.bo-btn--light:hover{background:var(--bo-paper)}
.bo-btn--ghost{background:transparent;color:var(--bo-ink);box-shadow:inset 0 0 0 1.5px var(--bo-line)}
.bo-btn--ghost:hover{background:rgba(45,45,37,.05)}
.bo-btn[disabled]{opacity:.4;cursor:not-allowed}

/* ---------- 3. Termin buchen (Attrappe) ---------- */
.bo-book{position:fixed;inset:0;z-index:2147483600;display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box}
.bo-book[hidden]{display:none}
.bo-book__scrim{position:absolute;inset:0;background:rgba(36,37,30,.5);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);opacity:0;transition:opacity .3s ease}
.bo-book.is-open .bo-book__scrim{opacity:1}
.bo-book__card{position:relative;width:min(920px,100%);min-height:min(600px,calc(100svh - 48px));max-height:min(760px,calc(100vh - 48px));max-height:min(760px,calc(100svh - 48px));display:flex;flex-direction:column;
  background:#fbfbf9;color:var(--bo-ink);border-radius:22px;box-shadow:0 30px 80px rgba(30,30,24,.28);font-family:"New Black Regular",sans-serif;
  opacity:0;transform:translate3d(0,18px,0) scale(.985);transition:opacity .3s ease,transform .45s var(--bo-ease)}
.bo-book.is-open .bo-book__card{opacity:1;transform:none}
.bo-book__head{display:flex;align-items:center;gap:16px;padding:22px 26px 18px;border-bottom:1px solid var(--bo-line)}
.bo-book__head img{height:26px;width:auto}
.bo-book__steps{display:flex;gap:6px;margin-left:auto;margin-right:8px}
.bo-book__steps span{width:28px;height:4px;border-radius:4px;background:var(--bo-line);transition:background .3s}
.bo-book__steps span.is-done{background:var(--bo-olive)}
.bo-book__x{all:unset;cursor:pointer;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;color:var(--bo-ink)}
.bo-book__x:hover{background:rgba(45,45,37,.06)}
.bo-book__x:focus-visible{outline:2px solid var(--bo-olive)}
.bo-book__body{overflow:auto;padding:26px 26px 8px;overscroll-behavior:contain}
.bo-book__foot{display:flex;align-items:center;gap:12px;padding:16px 26px 22px;border-top:1px solid var(--bo-line)}
.bo-book__foot .bo-book__demo{font-size:12px;color:rgba(45,45,37,.55);margin-right:auto;line-height:1.4}
.bo-book h4{font-family:"New Black Bold",sans-serif;font-size:26px;line-height:1.15;margin:0 0 6px;color:var(--bo-ink);letter-spacing:0}
.bo-book .bo-sub{margin:0 0 22px;font-size:15px;line-height:1.55;color:rgba(45,45,37,.72)}
.bo-book label,.bo-book .bo-lab{display:block;font-size:13px;letter-spacing:1px;color:rgba(45,45,37,.7);margin:0 0 8px}

/* Auswahlfeld: klappt direkt am Pfeil auf */
.bo-sel{position:relative;max-width:560px}
.bo-sel__btn{all:unset;box-sizing:border-box;width:100%;min-height:62px;display:flex;align-items:center;gap:14px;padding:12px 16px 12px 18px;border-radius:14px;background:#fff;
  box-shadow:inset 0 0 0 1.5px var(--bo-line);cursor:pointer;transition:box-shadow .2s}
.bo-sel__btn:hover{box-shadow:inset 0 0 0 1.5px rgba(45,45,37,.3)}
.bo-sel__btn:focus-visible,.bo-sel.is-open .bo-sel__btn{box-shadow:inset 0 0 0 2px var(--bo-olive)}
.bo-sel__val{flex:1;min-width:0}
.bo-sel__val b{display:block;font-family:"New Black Semibold",sans-serif;font-weight:400;font-size:17px;line-height:1.25}
.bo-sel__val small{display:block;font-size:13px;color:rgba(45,45,37,.6);margin-top:2px}
.bo-sel__val.is-empty b{color:rgba(45,45,37,.5)}
.bo-sel__chev{flex:none;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--bo-paper);transition:transform .3s var(--bo-ease)}
.bo-sel.is-open .bo-sel__chev{transform:rotate(180deg)}
.bo-sel__list{position:fixed;left:0;top:0;width:300px;z-index:3;box-sizing:border-box;margin:0;padding:6px;list-style:none;background:#fff;border-radius:14px;
  box-shadow:0 18px 50px rgba(30,30,24,.18),0 0 0 1px var(--bo-line);overflow:auto;overscroll-behavior:contain;
  opacity:0;transform:translate3d(0,-6px,0);pointer-events:none;transition:opacity .18s ease,transform .25s var(--bo-ease)}
.bo-sel__list.is-up{transform:translate3d(0,6px,0)}
.bo-sel__list.is-open{opacity:1;transform:none;pointer-events:auto}
.bo-sel__opt{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:10px;cursor:pointer;min-height:44px;box-sizing:border-box}
.bo-sel__opt.is-active{background:var(--bo-paper)}
.bo-sel__opt[aria-selected="true"] .bo-sel__tick{opacity:1}
.bo-sel__opt div{flex:1;min-width:0}
.bo-sel__opt b{display:block;font-family:"New Black Semibold",sans-serif;font-weight:400;font-size:16px}
.bo-sel__opt small{display:block;font-size:13px;color:rgba(45,45,37,.6);margin-top:2px}
.bo-sel__opt em{font-style:normal;font-size:15px;white-space:nowrap}
.bo-sel__tick{opacity:0;color:var(--bo-olive)}
.bo-info{margin-top:22px;max-width:560px;padding:16px 18px;border-radius:14px;background:var(--bo-paper);font-size:14px;line-height:1.6;color:rgba(45,45,37,.8)}

/* Kalender + Uhrzeiten */
.bo-when{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:32px}
.bo-cal__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.bo-cal__head b{font-family:"New Black Semibold",sans-serif;font-weight:400;font-size:17px}
.bo-cal__nav{all:unset;cursor:pointer;width:40px;height:40px;border-radius:50%;display:grid;place-items:center}
.bo-cal__nav:hover{background:var(--bo-paper)}
.bo-cal__nav[disabled]{opacity:.3;cursor:default}
.bo-cal__nav:focus-visible{outline:2px solid var(--bo-olive)}
.bo-cal__grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}
.bo-cal__dow{font-size:12px;letter-spacing:1px;color:rgba(45,45,37,.5);padding:6px 0}
.bo-cal__day{all:unset;box-sizing:border-box;aspect-ratio:1;max-height:48px;display:grid;place-items:center;border-radius:50%;font-size:15px;cursor:pointer;font-variant-numeric:tabular-nums;position:relative}
.bo-cal__day.is-free{background:rgba(129,131,107,.14);color:var(--bo-ink)}
.bo-cal__day.is-free:hover{background:rgba(129,131,107,.28)}
.bo-cal__day[aria-pressed="true"]{background:var(--bo-olive);color:#fff}
.bo-cal__day[disabled]{color:rgba(45,45,37,.28);cursor:default}
.bo-cal__day.is-today::after{content:"";position:absolute;bottom:5px;width:4px;height:4px;border-radius:50%;background:currentColor}
.bo-cal__day:focus-visible{outline:2px solid var(--bo-ink);outline-offset:1px}
.bo-slots{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;align-content:start}
.bo-slot{all:unset;box-sizing:border-box;min-height:48px;display:grid;place-items:center;border-radius:12px;box-shadow:inset 0 0 0 1.5px var(--bo-line);font-size:16px;cursor:pointer;font-variant-numeric:tabular-nums;background:#fff}
.bo-slot:hover{box-shadow:inset 0 0 0 1.5px var(--bo-olive)}
.bo-slot[aria-pressed="true"]{background:var(--bo-olive);color:#fff;box-shadow:none}
.bo-slot:focus-visible{outline:2px solid var(--bo-ink);outline-offset:2px}
.bo-slots__empty{grid-column:1/-1;font-size:14px;color:rgba(45,45,37,.6);line-height:1.6;padding:6px 0}

/* Formular */
.bo-form{display:grid;grid-template-columns:1fr 1fr;gap:16px 18px;max-width:720px}
.bo-form .bo-full{grid-column:1/-1}
.bo-field input,.bo-field textarea{box-sizing:border-box;width:100%;min-height:50px;padding:13px 15px;border-radius:12px;border:0;box-shadow:inset 0 0 0 1.5px var(--bo-line);
  background:#fff;font:inherit;font-size:16px;color:var(--bo-ink);outline:none;transition:box-shadow .2s}
.bo-field textarea{min-height:92px;resize:vertical}
.bo-field input:focus,.bo-field textarea:focus{box-shadow:inset 0 0 0 2px var(--bo-olive)}
.bo-field.is-bad input{box-shadow:inset 0 0 0 2px #b4583f}
.bo-field .bo-err{display:none;font-size:13px;color:#a24d36;margin-top:6px}
.bo-field.is-bad .bo-err{display:block}
.bo-check{display:flex!important;gap:12px;align-items:flex-start;font-size:14px!important;letter-spacing:0!important;line-height:1.5;color:var(--bo-ink)!important;cursor:pointer}
.bo-check input{width:20px;height:20px;margin:1px 0 0;accent-color:var(--bo-olive);flex:none}
.bo-summary{display:flex;flex-wrap:wrap;gap:8px 18px;margin:0 0 22px;padding:14px 16px;border-radius:12px;background:var(--bo-paper);font-size:14px;line-height:1.5}
.bo-summary b{font-family:"New Black Semibold",sans-serif;font-weight:400}

/* Bestätigung */
.bo-done{text-align:center;padding:16px 0 24px}
.bo-done__ring{width:84px;height:84px;margin:0 auto 20px;border-radius:50%;background:var(--bo-olive);display:grid;place-items:center;color:#fff}
.bo-done__ring path{stroke-dasharray:30;stroke-dashoffset:30;animation:boTick .6s .2s var(--bo-ease) forwards}
@keyframes boTick{to{stroke-dashoffset:0}}
.bo-done dl{display:grid;grid-template-columns:auto 1fr;gap:8px 18px;text-align:left;max-width:420px;margin:24px auto 0;padding:18px 20px;border-radius:14px;background:var(--bo-paper);font-size:15px}
.bo-done dt{color:rgba(45,45,37,.6)}
.bo-done dd{margin:0}

.bo-pane{animation:boIn .4s var(--bo-ease)}
@keyframes boIn{from{opacity:0;transform:translate3d(0,10px,0)}to{opacity:1;transform:none}}

@media (max-width:760px){
  .bo-book{padding:0;align-items:flex-end}
  .bo-book__card{width:100%;max-height:calc(100svh - 12px);border-radius:20px 20px 0 0;transform:translate3d(0,40px,0)}
  .bo-book__head{padding:16px 18px 14px}
  .bo-book__steps span{width:18px}
  .bo-book__body{padding:20px 18px 6px}
  .bo-book__foot{padding:12px 18px calc(14px + env(safe-area-inset-bottom));flex-wrap:wrap}
  .bo-book__foot .bo-book__demo{flex-basis:100%;order:3;text-align:center;margin:2px 0 0}
  .bo-book__foot .bo-btn{flex:1}
  .bo-book h4{font-size:22px}
  .bo-when{grid-template-columns:1fr;gap:22px}
  .bo-form{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  .bo-book__card,.bo-book__scrim,.bo-sel__list,.bo-pane{transition:none!important;animation:none!important}
}

/* Handy: Liste im Fluss unter dem Feld, kein innerer Scrollbalken */
.bo-sel__list.is-inline{position:static;width:auto;max-height:none;overflow:visible;margin-top:8px;transform:none;box-shadow:0 0 0 1px var(--bo-line),0 10px 30px rgba(30,30,24,.1);display:none}
.bo-sel__list.is-inline.is-open{display:block;animation:boIn .3s var(--bo-ease)}
html:has(.bo-book:not([hidden])) .bo-review{display:none}
