*{box-sizing:border-box}body{margin:0;background:#eeeae2;color:#26322d;font-family:Arial,sans-serif;overflow:hidden}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;font:inherit;color:inherit;border:1px solid #b9bcb2;background:#fff9;border-radius:30px;padding:12px 20px}button:hover{background:#e6dfcb}button:focus-visible,a:focus-visible{outline:3px solid #ab872d;outline-offset:4px}header{height:90px;position:relative;z-index:5;display:flex;align-items:center;justify-content:space-between;padding:0 5vw}header a{text-decoration:none;color:inherit;letter-spacing:3px;font-size:12px;font-weight:bold}.star{font-size:28px;color:#aa853c;vertical-align:middle;margin-right:14px}aside{position:absolute;left:5vw;top:20%;z-index:4;pointer-events:none}aside button{pointer-events:auto}.eyebrow{font-size:10px;letter-spacing:3px;font-weight:bold;color:#8c7851}h1{font:normal clamp(45px,5vw,78px)/.98 Georgia,serif;margin:23px 0}h1 i{color:#8d713c;font-weight:normal}p{font-size:13px;line-height:1.8;color:#73766d}#roomname{margin-top:42px;font:20px Georgia,serif}.roomnav{display:flex;align-items:center;gap:18px;margin-top:20px}.roomnav button{padding:10px 15px}#counter{font-size:11px;letter-spacing:2px}#viewport{position:absolute;left:23%;right:0;top:11%;bottom:12%;perspective:1000px;overflow:hidden;touch-action:none;cursor:grab}#scene{position:absolute;left:50%;top:50%;width:0;height:0;transform-style:preserve-3d}#works{transform-style:preserve-3d}.wall,.floor,.ceiling{position:absolute;backface-visibility:hidden}.back{width:1500px;height:800px;left:-750px;top:-480px;transform:translateZ(-450px);background:radial-gradient(ellipse at 50% 20%,#fff,#f1f0eb 80%);border-bottom:7px solid #d9d7d0}.left,.right{height:800px;width:1300px;top:-480px;background:linear-gradient(90deg,#e3e3dc,#fafaf7)}.left{left:-1400px;transform:translateZ(200px) rotateY(90deg)}.right{left:100px;transform:translateZ(200px) rotateY(-90deg)}.floor{width:1500px;height:1800px;left:-750px;top:-580px;transform:translateZ(350px) rotateX(90deg);background:repeating-linear-gradient(90deg,transparent 0 249px,#c6c4bb55 250px 251px),repeating-linear-gradient(0deg,#dddcd4 0 249px,#c6c4bb55 250px 251px)}.ceiling{width:1500px;height:1300px;background:#fff;left:-750px;top:-1130px;transform:translateZ(200px) rotateX(-90deg)}.walltitle{position:absolute;transform:translateZ(-440px);left:-250px;top:-370px;width:500px;text-align:center;letter-spacing:8px;font-size:14px;color:#a99a7a}.walltitle span{display:block;font-size:30px;margin:15px}article{position:absolute;transform-style:preserve-3d;width:250px;height:310px;left:-125px;top:-190px}article button{border:0;border-radius:0;padding:0;background:none;width:100%;height:100%;display:flex;align-items:flex-end;justify-content:center}article img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 8px 7px #0001);transition:filter .2s}article button:hover img{filter:drop-shadow(0 4px 9px #9c7e4970)}article .label{position:absolute;top:330px;width:100%;text-align:center;font-size:10px;letter-spacing:1px;line-height:1.7}.plinth{position:absolute;top:305px;left:10px;width:230px;height:180px;background:linear-gradient(90deg,#f5f5f1,#fff);box-shadow:20px 22px 25px #0002;transform:translateZ(-10px)}.plinth:before{content:'';position:absolute;left:0;top:-22px;width:230px;height:23px;background:#fff;transform:skewX(-35deg);transform-origin:bottom}.sculpture .label{top:355px;z-index:1}.hanging{height:280px;top:-220px}.hanging .label{top:300px}footer{position:absolute;bottom:22px;width:100%;display:flex;align-items:center;justify-content:space-between;padding:0 5vw;gap:15px;z-index:5}.hint{font-size:11px;color:#777b71}.walk{display:flex;gap:5px}.walk button{padding:10px 14px;font-size:12px}dialog{border:0;background:#f6f4ee;color:#26322d;border-radius:8px;padding:40px;max-width:95vw;max-height:94vh;width:1000px}dialog::backdrop{background:#1c2727b8;backdrop-filter:blur(8px)}.close{position:absolute;right:15px;top:15px;z-index:2}.caption{display:flex;justify-content:space-between;align-items:center;gap:20px}h2{font:32px Georgia,serif;margin:10px 0}#large{display:block;width:100%;height:64vh;object-fit:contain}#grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:30px}#grid button{border-radius:0;padding:15px;font-size:12px}#grid img{width:100%;height:150px;object-fit:contain;display:block;margin-bottom:10px}@media(max-width:700px){header{height:65px;padding:0 20px}header a{font-size:9px;letter-spacing:1px}header button{font-size:11px;padding:10px}aside{top:85px;left:25px}h1{font-size:38px;margin:14px 0}aside p{display:none}.eyebrow{font-size:8px}#roomname{margin-top:15px;font-size:16px}.roomnav{margin-top:10px}#viewport{left:0;top:31%;bottom:16%;perspective:800px}footer{bottom:12px;display:block;text-align:center}.hint{display:block;font-size:9px;margin-bottom:10px}.walk{justify-content:center}.walk button{padding:10px}dialog{padding:24px}#large{height:55vh}.caption{display:block}h2{font-size:24px}#grid{grid-template-columns:repeat(2,1fr)}}
/* Gestaltungsmerkmale der Schulwebsite: Roboto, Respondent, Schwarz, Weiß und Schulgrün. */
@font-face{font-family:Roboto;src:url('assets/roboto.woff2') format('woff2');font-display:swap}@font-face{font-family:Respondent;src:url('assets/respondent.woff') format('woff');font-display:swap}
body{font-family:Roboto,Arial,sans-serif;color:#333;background:#fafafa}.schoolbar{height:34px;background:#b2d456;display:flex;align-items:center;justify-content:space-between;padding:0 5vw;font-size:10px;letter-spacing:1px}.schoolbar a{color:#263411;text-decoration:none;letter-spacing:0}header{height:100px;background:#000;color:#fff}.schoollogo{width:230px;max-height:75px;object-fit:contain;display:block}header button{color:#b2d456;background:transparent;border-color:#7c943b;border-radius:2px;font-size:12px;text-transform:uppercase;letter-spacing:1px}header button:hover{color:#000;background:#b2d456}aside{top:23%;max-width:24vw}h1{font-family:Respondent,cursive;font-size:clamp(45px,5.5vw,84px);line-height:1.1}h1 i{font-style:normal;color:#7c943b}.eyebrow{color:#577525;letter-spacing:2px}#roomname{font:700 16px Roboto,Arial,sans-serif;color:#004678;max-width:230px;line-height:1.5}button{border-radius:2px;border-color:#cbd1c0}button:hover{background:#b2d456;color:#172207}button:focus-visible,a:focus-visible{outline-color:#004678}.roomnav button{background:#b2d456;border-color:#b2d456}.roomnav button:hover{background:#7c943b;color:white}#viewport{top:18%;bottom:12%;left:27%}.walltitle{color:#7c943b}dialog{background:#fafafa;border-radius:2px}h2{font-family:Respondent,cursive;font-size:36px}.caption p,#all>p{font-family:Roboto,sans-serif}.walk button{background:white}.walk button:hover{background:#b2d456}footer{border-top:3px solid #b2d456;padding-top:15px;bottom:18px}.hint{color:#555}
@media(max-width:700px){.schoolbar{height:28px;padding:0 20px;font-size:8px;letter-spacing:0}.schoolbar span{max-width:65%}header{height:72px}.schoollogo{width:180px;max-height:58px}header button{font-size:9px;letter-spacing:0}aside{top:120px;left:25px;max-width:95%}h1{font-size:44px;line-height:1.05;margin:8px 0}h1 br{display:none}h1 i:before{content:' '}#roomname{font-size:13px;max-width:none;margin-top:10px}.roomnav{margin-top:8px}.roomnav button{padding:7px 13px}#viewport{top:34%;left:0;bottom:15%}footer{bottom:10px;padding-top:12px}.hint{font-size:9px}h2{font-size:28px}}
.sculpture img{object-position:center bottom}#all .close{position:sticky;float:right;top:0;margin:-10px -10px 0 10px;background:#b2d456} 
/* Ein zusammenhängender Raum, vier nach innen gerichtete Wände. */
#viewport{left:0;right:0;top:134px;bottom:95px;perspective:850px;background:#eceee9}#scene{transform-origin:0 0 0}aside{top:158px;left:22px;max-width:260px;background:#ffffffeb;padding:20px;box-shadow:0 4px 20px #0001}aside h1{font-size:42px;margin:10px 0}aside p{display:none}#roomname{margin-top:10px;font-size:13px}#bearing{font-size:11px;color:#577525}.roomnav{margin-top:12px}.roomnav button{padding:8px 14px}.wall{width:3000px;height:850px;left:-1500px;top:-500px;backface-visibility:hidden;border-bottom:6px solid #d6d9d1;background:linear-gradient(#fff,#fafbf8)}.back{transform:translateZ(-1500px)}.left{transform:translateX(-1500px) rotateY(90deg)}.right{transform:translateX(1500px) rotateY(-90deg)}.rear{transform:translateZ(1500px) rotateY(180deg)}.floor{width:3000px;height:3000px;left:-1500px;top:-1150px;transform:rotateX(90deg);background:repeating-linear-gradient(90deg,transparent 0 299px,#bbbfb455 300px 301px),repeating-linear-gradient(0deg,#e3e5dd 0 299px,#bbbfb455 300px 301px)}.ceiling{width:3000px;height:3000px;left:-1500px;top:-2000px;transform:rotateX(-90deg);background:#fff}.walltitle{transform:translateZ(-1490px);top:-420px}.sculpture{top:-180px;height:310px}.hanging{top:-220px;height:300px}article{backface-visibility:hidden}.plinth{top:310px;height:220px;box-shadow:14px 15px 24px #0002}.plinth:before{top:-12px;height:13px}.sculpture .label{top:355px}.hanging .label{top:320px;font-size:14px}.label{pointer-events:none}footer{background:#fff;margin:0;bottom:0;min-height:95px;padding-top:12px;padding-bottom:12px}.walk{flex-wrap:wrap}#counter{white-space:nowrap;font-size:10px}
@media(max-width:700px){#viewport{top:100px;bottom:105px}aside{top:112px;left:12px;padding:12px;max-width:210px}aside h1{font-size:27px;margin:5px 0}aside .eyebrow{display:none}#roomname{font-size:11px}#bearing{font-size:10px}.roomnav{gap:10px;margin-top:8px}.roomnav button{padding:6px 12px}footer{min-height:105px}.hint{font-size:9px;line-height:1.5}.walk button{padding:9px 12px}}
.left{background:linear-gradient(#f9faf7,#f0f2eb)}.right{background:linear-gradient(#f4f6f0,#e9ede2)}.rear{background:linear-gradient(#fff,#f5f6f1)}
#fullscreen{position:fixed;z-index:20;right:22px;top:154px;width:46px;height:46px;padding:11px;background:#fff;border:1px solid #7c943b;box-shadow:0 2px 10px #0002;display:grid;place-items:center}#fullscreen:hover{background:#b2d456}#fullscreen svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}#fullscreen .exit-icon{display:none}.gallery-fullscreen #fullscreen .expand-icon{display:none}.gallery-fullscreen #fullscreen .exit-icon{display:block}.gallery-fullscreen .schoolbar,.gallery-fullscreen header{display:none}.gallery-fullscreen #viewport{top:0}.gallery-fullscreen aside{top:20px}.gallery-fullscreen #fullscreen{top:20px}#fullscreen-status{position:fixed;z-index:21;right:22px;top:205px;max-width:320px;background:white;color:#333;border:1px solid #7c943b;padding:14px;box-shadow:0 2px 10px #0002}#fullscreen-status[hidden]{display:none}html:fullscreen{background:#fff}@media(max-width:700px){#fullscreen{top:112px;right:12px}.gallery-fullscreen #fullscreen{top:12px}.gallery-fullscreen aside{top:12px}#fullscreen-status{top:160px;right:12px;max-width:280px}}

/* Ohne obere Infoleiste schließt der Raum direkt an den schwarzen Kopfbereich an. */
body:not(.gallery-fullscreen) #viewport{top:100px}
body:not(.gallery-fullscreen) aside{top:124px}
body:not(.gallery-fullscreen) #fullscreen{top:120px}
body:not(.gallery-fullscreen) #fullscreen-status{top:171px}
@media(max-width:700px){body:not(.gallery-fullscreen) #viewport{top:72px}body:not(.gallery-fullscreen) aside{top:84px}body:not(.gallery-fullscreen) #fullscreen{top:84px}body:not(.gallery-fullscreen) #fullscreen-status{top:132px}}

/* Raumfüllende Galerie ohne Kopf- oder Infoleiste. */
header,.schoolbar{display:none!important}
#viewport,body:not(.gallery-fullscreen) #viewport{top:0}
aside,body:not(.gallery-fullscreen) aside,.gallery-fullscreen aside{top:16px}
#fullscreen,body:not(.gallery-fullscreen) #fullscreen,.gallery-fullscreen #fullscreen{top:16px}
#fullscreen-status,body:not(.gallery-fullscreen) #fullscreen-status{top:68px}
footer{border-top:1px solid #ddd;padding:12px 24px;gap:12px}
.walk #overview{background:#fff;border-color:#777;white-space:nowrap}
.walk #overview:hover{background:#eef0e9}
@media(max-width:700px){footer{min-height:112px;padding:10px 12px}#viewport{bottom:112px}aside,body:not(.gallery-fullscreen) aside,.gallery-fullscreen aside{top:12px}#fullscreen,body:not(.gallery-fullscreen) #fullscreen,.gallery-fullscreen #fullscreen{top:12px}.walk{gap:5px;justify-content:center}.walk button{font-size:11px;padding:9px}.hint{margin-bottom:8px}}

/* Kompakter Titel, alle Raumsteuerungen in der unteren Leiste. */
aside{padding:10px 14px;max-width:calc(100vw - 90px);left:16px;box-shadow:0 2px 12px #0001}
aside .eyebrow{display:none}
aside h1{font-size:28px;line-height:1.15;margin:0;white-space:nowrap}
footer{height:108px;min-height:108px;display:grid;grid-template-columns:1fr auto;gap:8px 20px;padding:12px 24px}
.navigation{display:flex;align-items:center;gap:16px;min-width:0}
.navigation #bearing{display:none}
.navigation #roomname{margin:0;font-size:12px;max-width:none}
.navigation .roomnav{margin:0;gap:12px;order:-1}
.navigation .roomnav button{padding:8px 14px}
footer .hint{grid-row:2;grid-column:1 / -1;margin:0;font-size:10px;text-align:center}
footer .walk{grid-row:1;grid-column:2;align-items:center;justify-content:flex-end}
#viewport{bottom:108px}
@media(max-width:900px){
 footer{height:160px;min-height:160px;grid-template-columns:1fr;gap:7px;padding:10px 12px}
 .navigation{justify-content:center;gap:12px}
 footer .walk{grid-row:2;grid-column:1;justify-content:center}
 footer .hint{grid-row:3;grid-column:1;font-size:9px}
 #viewport{bottom:160px}
 aside{left:12px;padding:8px 11px}aside h1{font-size:24px}
}
@media(max-width:380px){.navigation #roomname{max-width:115px;font-size:10px}.walk button{padding:8px 7px;font-size:10px}}
