/* brainOASIS – eigener Terminkalender (Testseite). Optik wie das Buchungswerkzeug auf termin-buchen.html. */
.to,.to *{hyphens:manual!important;-webkit-hyphens:manual!important;overflow-wrap:normal!important;word-wrap:normal!important}
.to{--ink:#2d2d25;--olive:#81836b;--olive-d:#6c6e58;--paper:#f0f0ed;--line:rgba(45,45,37,.14);--err:#a24d36;--ease:cubic-bezier(.22,1,.36,1);
  margin:0 0 30px;font-family:"New Black Regular","NewBlack",Arial,sans-serif;color:var(--ink)}
.to-card{position:relative;box-sizing:border-box;background:#fbfbf9;color:var(--ink);border-radius:22px;box-shadow:0 18px 50px rgba(30,30,24,.10),0 0 0 1px var(--line);padding:26px 30px 26px;scroll-margin-top:90px}
.to-card *{box-sizing:border-box}
.to-badge{display:inline-block;margin:0 0 16px!important;padding:5px 12px;border-radius:30px;background:var(--paper);font-size:12.5px!important;line-height:1.35!important;letter-spacing:.4px;color:rgba(45,45,37,.75)!important}
.to-head{display:flex;align-items:center;gap:16px;margin:0 0 6px}
.to-head[hidden]{display:none}
.to-eyebrow{margin:0!important;font-size:13px!important;letter-spacing:1.4px;text-transform:uppercase;color:rgba(45,45,37,.6)!important;line-height:1.3!important}
.to-steps{display:flex;gap:6px;margin-left:auto}
.to-steps span{width:28px;height:4px;border-radius:4px;background:var(--line);transition:background .3s}
.to-steps span.is-done{background:var(--olive)}
.to-title{font-family:"New Black Bold",sans-serif!important;font-size:30px!important;line-height:1.15!important;margin:0 0 8px!important;color:var(--ink)!important;letter-spacing:0!important;outline:none}
.to-sub{margin:0 0 20px!important;font-size:15px!important;line-height:1.55!important;color:rgba(45,45,37,.72)!important}
.to-hint{margin:0 0 10px!important;font-size:14px!important;line-height:1.5!important;color:rgba(45,45,37,.68)!important}
.to-hint--s{font-size:13px!important}
.to-hint a,.to-privacy a,.to-sub a{color:var(--ink);text-decoration:underline}
.to-pane{animation:to-in .22s var(--ease)}
@keyframes to-in{from{opacity:0;transform:translate3d(0,6px,0)}to{opacity:1;transform:none}}
.to-sr{position:absolute!important;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.to-ic{display:inline-grid;place-items:center;flex:none;line-height:0}

/* Knöpfe */
.to-btn{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 24px;border-radius:30px;background:var(--olive);color:#fff!important;font-family:"New Black Regular",sans-serif;font-size:16px;line-height:1.2;cursor:pointer;text-align:center;transition:background .2s,transform .12s,box-shadow .2s}
.to-btn:hover{background:var(--olive-d)}
.to-btn:active{transform:scale(.97)}
.to-btn:focus-visible,.to-back:focus-visible,.to-nav:focus-visible,.to-link:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.to-btn[disabled]{opacity:.4;cursor:not-allowed;transform:none}
.to-btn--ghost{background:#fff;color:var(--ink)!important;box-shadow:inset 0 0 0 1.5px var(--line)}
.to-btn--ghost:hover{background:var(--paper)}
.to-btn--danger{background:#fff;color:var(--err)!important;box-shadow:inset 0 0 0 1.5px rgba(162,77,54,.4)}
.to-btn--danger:hover{background:#f6e9e4}
.to-btn--danger-solid{background:var(--err)}
.to-btn--danger-solid:hover{background:#8a3f2b}
.to-back{all:unset;box-sizing:border-box;cursor:pointer;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 14px 0 10px;border-radius:30px;font-size:15px;color:var(--ink);margin-right:auto}
.to-back:hover{background:var(--paper)}
.to-link{all:unset;cursor:pointer;text-decoration:underline;font-size:14px;min-height:44px;display:inline-flex;align-items:center;padding:0 6px}
.to-foot{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:24px;flex-wrap:wrap}

/* Schritt 1: Leistungen */
.to-choice{border:0;margin:18px 0 0;padding:0;min-width:0;display:grid;gap:10px}
.to-opt-wrap{position:relative}
.to-opt-wrap input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer;z-index:1}
.to-opt{display:flex;align-items:center;gap:14px;min-height:64px;padding:12px 16px;border-radius:14px;background:#fff;box-shadow:inset 0 0 0 1.5px var(--line);transition:box-shadow .2s,background .2s}
.to-opt-wrap:hover .to-opt{box-shadow:inset 0 0 0 1.5px rgba(45,45,37,.32)}
.to-opt-wrap input:checked + .to-opt{box-shadow:inset 0 0 0 2px var(--olive);background:#f7f7f2}
.to-opt-wrap input:focus-visible + .to-opt{outline:2px solid var(--ink);outline-offset:2px}
.to-opt__dot{width:10px;height:10px;border-radius:50%;background:var(--olive);flex:none;box-shadow:0 0 0 1px rgba(45,45,37,.15)}
.to-opt__txt{flex:1;min-width:0}
.to-opt__txt b{display:block;font-family:"New Black Semibold",sans-serif;font-weight:400;font-size:17px;line-height:1.25}
.to-opt__txt small{display:block;font-size:13px;color:rgba(45,45,37,.62);margin-top:2px;line-height:1.4}
.to-opt__tick{opacity:0;color:var(--olive);display:grid;transition:opacity .2s}
.to-opt-wrap input:checked + .to-opt .to-opt__tick{opacity:1}

/* Schritt 2: Kalender + Uhrzeiten */
.to-when{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:28px;margin-top:6px}
.to-cal,.to-times{min-width:0}
.to-calhead{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.to-month{font-family:"New Black Semibold",sans-serif!important;font-weight:400!important;font-size:17px!important;margin:0!important;line-height:1.3!important;color:var(--ink)!important;letter-spacing:0!important}
.to-nav{all:unset;box-sizing:border-box;cursor:pointer;width:44px;height:44px;border-radius:50%;display:grid;place-items:center}
.to-nav:hover{background:var(--paper)}
.to-nav[aria-disabled="true"]{opacity:.3;cursor:default}
.to-nav[aria-disabled="true"]:hover{background:none}
.to-dow,.to-days,.to-sk-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}
.to-dow span{font-size:12px;letter-spacing:1px;color:rgba(45,45,37,.5);padding:6px 0}
.to-day{all:unset;box-sizing:border-box;aspect-ratio:1;width:100%;max-height:48px;display:grid;place-items:center;border-radius:50%;font-size:15px;cursor:default;font-variant-numeric:tabular-nums;color:rgba(45,45,37,.34);position:relative;transition:background .15s,color .15s,transform .12s}
.to-day.is-free{background:rgba(129,131,107,.16);color:var(--ink);cursor:pointer;font-family:"New Black Semibold",sans-serif}
.to-day.is-free:hover{background:rgba(129,131,107,.3)}
.to-day.is-free:active{transform:scale(.94)}
.to-day.is-sel{background:var(--olive);color:#fff}
.to-day.is-today:after{content:"";position:absolute;left:50%;bottom:19%;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:currentColor;opacity:.7}
.to-day:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.to-day-gap{display:block}
.to-daytitle{font-family:"New Black Semibold",sans-serif!important;font-weight:400!important;font-size:17px!important;margin:6px 0 2px!important;line-height:1.3!important;color:var(--ink)!important;letter-spacing:0!important}
.to-slots{list-style:none!important;margin:10px 0 0!important;padding:0!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.to-slots li{margin:0!important;padding:0!important;list-style:none!important}
.to-slots li:before{content:none!important;display:none!important}
.to-slot{all:unset;box-sizing:border-box;width:100%;min-height:48px;display:grid;place-items:center;border-radius:12px;box-shadow:inset 0 0 0 1.5px var(--line);font-size:16px;cursor:pointer;font-variant-numeric:tabular-nums;background:#fff;transition:box-shadow .15s,background .15s,transform .12s}
.to-slot:hover{box-shadow:inset 0 0 0 1.5px var(--olive)}
.to-slot:active{transform:scale(.97)}
.to-slot[aria-pressed="true"]{background:var(--olive);color:#fff;box-shadow:none}
.to-slot:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.to-slots li.is-picked{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:10px}
.to-slotnext{min-height:48px;padding:0 14px;animation:to-in .2s var(--ease)}
.to-tz{margin:12px 0 0!important;font-size:12.5px!important;line-height:1.4!important;color:rgba(45,45,37,.6)!important}
.to-day[disabled]{pointer-events:none}
.to-empty{padding:16px 18px;border-radius:14px;background:var(--paper)}
.to-empty__t{margin:0 0 6px!important;font-family:"New Black Semibold",sans-serif;font-size:16px!important;line-height:1.4!important}

/* Schritt 3: Formular */
.to-chosen{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px;padding:12px 14px 12px 16px;border-radius:12px;background:var(--paper);font-size:14px;line-height:1.5}
.to-chosen b{display:block;font-family:"New Black Semibold",sans-serif;font-weight:400;font-size:15.5px}
.to-chosen span{display:block;color:rgba(45,45,37,.75)}
.to-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px 12px}
.to-field{display:block;margin:0;min-width:0}
.to-field--full{grid-column:1/-1}
.to-field label{display:block;font-size:13px;color:rgba(45,45,37,.78);margin:0 0 6px;line-height:1.4}
.to-opt-lab{color:rgba(45,45,37,.52)}
.to-field input,.to-field textarea{box-sizing:border-box;width:100%;min-height:50px;padding:13px 15px;border-radius:12px;border:0!important;box-shadow:inset 0 0 0 1.5px var(--line);background:#fff;font:inherit;font-size:16px;color:var(--ink);outline:none;transition:box-shadow .15s}
.to-field textarea{min-height:96px;resize:vertical;display:block}
.to-field input:focus,.to-field textarea:focus{box-shadow:inset 0 0 0 2px var(--olive)}
.to-field.is-bad input,.to-field.is-bad textarea{box-shadow:inset 0 0 0 2px #b4583f}
.to-err{margin:6px 0 0!important;font-size:13px!important;line-height:1.45!important;color:var(--err)!important}
.to-err[hidden],.to-errsum[hidden],.to-msg[hidden]{display:none}
.to-errsum,.to-msg{margin:0 0 16px!important;padding:12px 14px;border-radius:12px;background:#f6e9e4;color:#7d3b28!important;font-size:14px!important;line-height:1.5!important;outline:none}
.to-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.to-privacy{margin:16px 0 0!important;font-size:13px!important;line-height:1.55!important;color:rgba(45,45,37,.68)!important}
.to-privacy--c{text-align:center}

/* Schritt 4 / Verwalten */
.to-done{text-align:center;padding:6px 0 0}
.to-ring{width:84px;height:84px;margin:0 auto 18px;border-radius:50%;background:var(--olive);display:grid;place-items:center;color:#fff;animation:to-pop .5s var(--ease)}
@keyframes to-pop{from{transform:scale(.7);opacity:0}to{transform:none;opacity:1}}
.to-dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 18px;max-width:460px;margin:20px auto 18px;padding:18px 20px;border-radius:14px;background:var(--paper);font-size:15px;line-height:1.45}
.to-dl dt{color:rgba(45,45,37,.6)}
.to-dl dd{margin:0}
.to-addcal{max-width:460px;margin:0 auto}
.to-addcal__lab{margin:0 0 8px!important;font-size:13px!important;color:rgba(45,45,37,.7)!important;text-align:center}
.to-addcal__row{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.to-manage{margin:14px 0 0!important;text-align:center}
.to-ok{margin:0 0 16px!important;padding:12px 14px;border-radius:12px;background:#e9efe0;color:#3d4a2a!important;font-size:14px!important;line-height:1.5!important}
.to-mocknote{margin:16px 0 0!important;font-size:12px!important;color:rgba(45,45,37,.55)!important;text-align:center}

/* Laden: ruhige Platzhalter */
.to-sk{display:block;background:linear-gradient(90deg,rgba(45,45,37,.06),rgba(45,45,37,.11),rgba(45,45,37,.06));background-size:200% 100%;border-radius:12px;animation:to-sk 1.6s ease-in-out infinite}
@keyframes to-sk{from{background-position:100% 0}to{background-position:-100% 0}}
.to-sk--l{height:62px;margin:10px 0}
.to-sk--d{aspect-ratio:1;border-radius:50%;max-height:48px}

@media(max-width:760px){
  .to-when{grid-template-columns:1fr;gap:22px}
}
@media(max-width:800px){
  .to-card{padding:20px 16px 18px;border-radius:18px}
  .to-title{font-size:26px!important}
  .to-fields{grid-template-columns:1fr}
  .to-steps span{width:18px}
  .to-foot .to-btn{flex:1 1 auto}
}
@media(max-width:360px){
  .to-card{padding:18px 12px 16px}
  .to-dow,.to-days,.to-sk-grid{gap:2px}
  .to-dl{grid-template-columns:1fr;gap:2px}
  .to-dl dd{margin-bottom:8px}
  .to-head{flex-wrap:wrap;gap:8px}
}
@media(prefers-reduced-motion:reduce){
  .to-pane,.to-ring{animation:none}
  .to-sk{animation:none;background:rgba(45,45,37,.08)}
  .to *{transition:none!important}
}

.to-check label{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.5;color:var(--ink);cursor:pointer}
.to-check input[type=checkbox]{flex:0 0 auto;width:22px;min-height:22px;height:22px;margin:1px 0 0;accent-color:var(--olive);box-shadow:none}
.to-check.is-bad label{color:#7d3b28}
.to-check a{text-decoration:underline}

.to-badge[hidden]{display:none}
