.fachplan{--fa-ink:#173539;--fa-green:#126467;--fa-rule:#cbd4cf;display:block;box-sizing:border-box;width:min(1180px,calc(100% - 2rem));max-width:100%;margin:clamp(32px,5vw,78px) auto;color:var(--fa-ink);font:inherit;text-align:left;scroll-margin:30px}
.fachplan *, .fachplan *::before,.fachplan *::after{box-sizing:border-box}.fachplan .fa-head{margin:0 0 1rem}.fachplan .fa-head h2{margin:0;color:var(--fa-ink);font-family:inherit;font-weight:720;font-size:clamp(1.48rem,2.8vw,2.38rem);letter-spacing:-.035em;line-height:1.12}
.fachplan .fa-layout{display:grid;grid-template-columns:minmax(0,1.56fr) minmax(230px,.82fr);align-items:start;gap:clamp(16px,2.7vw,35px)}.fachplan .fa-visual,.fachplan .fa-panel{min-width:0}
.fachplan .fa-stage{position:relative;width:100%;height:auto;aspect-ratio:1.48;background:#e8e5dc;border:1px solid var(--fa-rule);border-radius:13px 13px 0 0;overflow:hidden;isolation:isolate}.fachplan .fa-stage canvas{position:absolute;display:block;inset:0;width:100%;height:100%;margin:0;max-width:none;touch-action:pan-y}
.fachplan .fa-stage canvas:not(.fa-plan){opacity:0}.fachplan[data-rendered=webgl] .fa-stage canvas:not(.fa-plan){opacity:1}.fachplan[data-rendered=webgl] .fa-plan{visibility:hidden}
.fachplan .fa-tools{display:flex;flex-wrap:wrap;gap:5px;align-items:center;padding:7px;background:#f4f5ef;border:1px solid var(--fa-rule);border-top:0;border-radius:0 0 12px 12px}.fachplan [hidden]{display:none!important}
.fachplan .fa-tools button,.fachplan .fa-transfer button{width:auto;min-width:36px;min-height:38px;height:auto;margin:0;padding:6px 10px;border:1px solid #bec9c4;border-radius:6px;background:#fff;color:var(--fa-ink);line-height:1.2;font-family:inherit;font-size:.86rem;font-weight:650;cursor:pointer;box-shadow:none;white-space:normal}.fachplan button:hover,.fachplan .fa-tools [aria-pressed=true]{background:#deeee4;color:#164947;border-color:#56817a}
.fachplan .fa-panel{border:1px solid var(--fa-rule);border-radius:13px;padding:clamp(14px,2vw,24px);background:#fff}.fachplan .fa-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,128px),1fr));gap:12px 13px}
.fachplan label{display:flex;flex-direction:column;justify-content:space-between;gap:5px;margin:0;text-align:left;font-family:inherit;color:var(--fa-ink);font-size:.87rem;font-weight:650;line-height:1.35}
.fachplan .fa-panel :is(input,select){display:block;width:100%;min-width:0;min-height:44px;padding:7px 10px;border:1px solid #9caeaa;border-radius:6px;font:inherit;font-size:1rem;font-weight:550;background:#fff;color:#173539;box-shadow:none;line-height:1.3}.fachplan .fa-panel [aria-invalid=true]{border-color:#b64c37}
.fachplan .fa-output{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:6px 15px;border-top:1px solid var(--fa-rule);padding-top:14px;margin-top:18px;line-height:1.35}.fachplan .fa-output span{font-size:.92rem}.fachplan .fa-output strong{font-size:clamp(1.26rem,2vw,1.74rem);color:var(--fa-green);letter-spacing:-.025em}.fachplan .fa-hint,.fachplan .fa-help{margin:8px 0 0;color:#495d59;font-size:.84rem;line-height:1.45}.fachplan .fa-transfer{display:grid;gap:7px;margin-top:13px}.fachplan .fa-transfer button{justify-self:start;color:white;background:#155b5d}.fachplan .fa-transfer span[role=status]{font-size:.86rem}.fachplan :is(button,input,select,canvas):focus-visible{outline:3px solid #ad652d;outline-offset:2px}
.studio-layout.einfach:has(>.fachplan){display:grid;grid-template-columns:minmax(0,1.22fr) minmax(0,1fr);width:100%;max-width:none;gap:clamp(12px,2vw,28px);align-items:start}.studio-layout>.fachplan{width:100%;margin:0}.studio-layout>.fachplan .fa-layout{display:block}.studio-layout>.fachplan .fa-panel{margin-top:10px}.studio-layout>.fachplan .fa-head h2{font-size:clamp(1.15rem,2vw,1.6rem)}
@media(max-width:790px){.fachplan .fa-layout,.studio-layout.einfach:has(>.fachplan){display:grid;grid-template-columns:minmax(0,1fr)}.fachplan{width:calc(100% - 1.5rem)}.studio-layout>.fachplan{width:100%}.fachplan .fa-stage{aspect-ratio:1.26}.fachplan .fa-tools{gap:4px}.fachplan .fa-tools button{min-height:40px;padding:5px 8px}.fachplan .fa-panel{padding:14px}.fachplan .fa-fields{gap:10px}}

.fachplan .fa-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.fachplan[data-rendered=webgl] .fa-poster,.fachplan[data-rendered=plan] .fa-poster{display:none}
