/* Vollmacht Mobile Wizard V2 — additive presentation layer. */
.bw-vm-wizard-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px;color:var(--bw-muted,#617083);font-size:.68rem;font-weight:820;letter-spacing:.08em;text-transform:uppercase}
.bw-vm-wizard-meta strong{color:var(--bw-readable-accent,var(--bw-blue,#05B9F2));font:inherit;font-weight:900;white-space:nowrap}
.bw-vm-wizard-v2-ready .form-header{outline:none}
.bw-vm-wizard-v2-ready .progress-container{position:relative;overflow:hidden!important}
.bw-vm-wizard-v2-submitted>.bw-vm-wizard-meta,.bw-vm-wizard-v2-submitted>.form-header,.bw-vm-wizard-v2-submitted>.progress-container{display:none!important}
.bw-vm-wizard-v2-submitted #success-message{flex:1 1 auto;min-height:0!important;overflow:auto}
.bw-process-trace{position:relative;overflow:hidden;background:linear-gradient(90deg,var(--bw-blue,#05B9F2),var(--bw-volt,#B9DB1B))!important;transition:width .32s cubic-bezier(.22,.7,.25,1)!important}
.bw-process-trace.is-pulsing::after{content:"";position:absolute;inset:-2px auto -2px -28%;width:26%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.88),transparent);filter:blur(1.5px);animation:bwVmTracePulse .62s ease-out 1;pointer-events:none}
@keyframes bwVmTracePulse{0%{left:-28%;opacity:0}14%{opacity:.9}100%{left:104%;opacity:0}}
.bw-vm-split-step{position:relative;min-width:0}
.bw-vm-pane{min-width:0}
.bw-vm-pane.is-hidden{display:none!important}
.bw-vm-pane.is-active{display:grid!important;gap:12px!important;min-width:0;animation:bwVmPaneIn .18s ease-out}
.bw-vm-pane.is-canvas-parked{display:grid!important;gap:12px!important;position:absolute!important;inset:0!important;width:100%!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;z-index:-1!important}
@keyframes bwVmPaneIn{from{opacity:.35;transform:translateY(5px)}to{opacity:1;transform:none}}
.bw-vm-pane__actions{margin-top:16px!important}
.bw-vm-signature-nav button[type="submit"]{min-width:130px!important;min-height:46px!important;border-radius:999px!important;border:1px solid var(--bw-blue,#05B9F2)!important;background:var(--bw-blue,#05B9F2)!important;color:#062131!important;font-weight:800!important;cursor:pointer!important}

html[data-design="future"] .bw-vm-wizard-meta{color:#8fa6b6}
html[data-design="future"] .bw-vm-wizard-meta strong{color:#65d8fb}
html[data-design="future"] .bw-process-trace{box-shadow:0 0 14px rgba(5,185,242,.16),0 0 18px rgba(185,219,27,.06)}

@media(max-width:700px){
  .member-authority-page .member-page-head{display:none!important}
  .member-authority-page .vollmacht-info{display:none!important}
  .member-authority-page .member-workspace{width:calc(100% - 16px)!important;padding:8px 0 18px!important}
  .member-authority-page .member-authority-layout{display:block!important}
  .member-authority-page .form-container{
    width:100%!important;
    height:calc(100dvh - 72px)!important;
    min-height:0!important;
    max-height:780px!important;
    margin:6px auto 12px!important;
    padding:15px 15px 13px!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
    border-radius:22px!important;
  }
  .member-authority-page .bw-vm-wizard-meta{flex:0 0 auto;margin-bottom:5px;font-size:.62rem}
  .member-authority-page .form-header{flex:0 0 auto;margin:0 0 10px!important;font-size:clamp(1.55rem,7.8vw,2.05rem)!important;line-height:1!important}
  .member-authority-page .progress-container{flex:0 0 auto;height:6px!important;margin:0 0 13px!important}
  .member-authority-page #vollmacht-form{display:flex!important;flex:1 1 auto;min-height:0!important;overflow:hidden!important}
  .member-authority-page #vollmacht-form>.form-step.active{width:100%;height:100%;min-height:0!important;max-height:100%;overflow:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;align-content:start;padding:1px 2px 4px;box-sizing:border-box;scrollbar-width:thin}
  .member-authority-page .bw-vm-pane.is-active{display:flex!important;flex-direction:column!important;gap:9px!important;min-height:100%;box-sizing:border-box}
  .member-authority-page .bw-vm-pane.is-canvas-parked{display:flex!important;flex-direction:column!important;gap:9px!important;min-height:100%}
  .member-authority-page .left-label,.member-authority-page .signature-label{margin-top:2px!important;font-size:.78rem!important}
  .member-authority-page .form-step input,.member-authority-page .form-step select,.member-authority-page .form-step textarea{min-height:44px!important;font-size:.9rem!important}
  .member-authority-page .radio-row{gap:7px!important;margin-bottom:1px!important}
  .member-authority-page .radio-row label{min-height:39px!important;padding:6px 10px!important;font-size:.82rem!important}
  .member-authority-page .row-2{grid-template-columns:minmax(0,1fr) 92px!important;gap:7px!important}
  .member-authority-page .zwei-zaehlerfelder{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  .member-authority-page .zaehlerfeld-box{grid-template-columns:34px minmax(0,1fr)!important;border-radius:12px!important}
  .member-authority-page .kundentyp-btns{grid-template-columns:1fr 1fr!important;gap:8px!important}
  .member-authority-page .kundentyp-btn{min-height:58px!important;padding:11px 12px!important;font-size:.84rem!important;border-radius:14px!important}
  .member-authority-page .kundentyp-btn small{font-size:.59rem!important;padding-left:6px!important}
  .member-authority-page #auto-mode-row{margin-top:5px!important;gap:5px!important}
  .member-authority-page textarea#zusatzinfo{min-height:76px!important;max-height:94px!important;resize:none!important}
  .member-authority-page #signature-pad{height:160px!important;min-height:160px!important;max-height:160px!important;border-radius:14px!important}
  .member-authority-page .signature-actions{margin-top:0!important}
  .member-authority-page .signature-actions button{min-height:40px!important;font-size:.76rem!important}
  .member-authority-page .step-buttons,.member-authority-page .bw-vm-pane__actions{
    position:sticky!important;
    bottom:-4px!important;
    z-index:6!important;
    flex:0 0 auto;
    margin-top:auto!important;
    padding:10px 0 2px!important;
    background:linear-gradient(to top,var(--bw-surface,#fff) 72%,color-mix(in srgb,var(--bw-surface,#fff) 84%,transparent),transparent)!important;
  }
  .member-authority-page .step-buttons.between{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  .member-authority-page .step-buttons button,.member-authority-page .bw-vm-signature-nav button[type="submit"]{width:100%!important;min-width:0!important;min-height:46px!important;font-size:.82rem!important}
  .member-authority-page #success-message{overflow:auto;min-height:0!important}
  html[data-design="future"] .member-authority-page .step-buttons,html[data-design="future"] .member-authority-page .bw-vm-pane__actions{background:linear-gradient(to top,#08131f 72%,rgba(8,19,31,.89),transparent)!important}
}

@media(max-width:390px){
  .member-authority-page .form-container{height:calc(100dvh - 60px)!important;padding:13px 12px 11px!important}
  .member-authority-page .kundentyp-btns{grid-template-columns:1fr!important}
  .member-authority-page .kundentyp-btn{min-height:50px!important}
  .member-authority-page .row-2{grid-template-columns:1fr!important}
}

@media(prefers-reduced-motion:reduce){
  .bw-process-trace{transition:none!important}
  .bw-process-trace.is-pulsing::after{display:none!important;animation:none!important}
  .bw-vm-pane.is-active{animation:none!important}
  .member-authority-page *{scroll-behavior:auto!important}
}
