/* Buch auf dem Drehteller (assets/js/buch3d.js, 19.11.2026). Das flache Cover bleibt, bis das 3D-Buch steht. */
.b3d-an > img.cover { display: block; }
.b3d-an.b3d-bereit > img.cover { display: none; }
.b3d-buehne { position: relative; width: 100%; perspective: 1500px; perspective-origin: 50% 30%; touch-action: pan-y; cursor: grab;
    user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; outline: none; overflow: visible; }
.b3d-an:not(.b3d-bereit) .b3d-buehne { position: absolute; visibility: hidden; }
.b3d-buehne.zieht { cursor: grabbing; }
.b3d-buehne:focus-visible { outline: 2px solid var(--l-akz, #b8892f); outline-offset: 6px; border-radius: 12px; }
.b3d-szene { position: absolute; left: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(-11deg); }
.b3d-buch { position: absolute; left: 0; top: 0; transform-style: preserve-3d; will-change: transform; }
.b3d-f { position: absolute; display: block; backface-visibility: hidden; -webkit-backface-visibility: hidden; background-repeat: no-repeat; overflow: hidden; }
.b3d-licht { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }
.b3d-vorne { border-radius: 0 2px 2px 0; }
.b3d-hinten { border-radius: 2px 0 0 2px; }
/* Buchblock: Seiten im Schnitt als feine Linien, cremeweiß */
.b3d-schnitt { background: repeating-linear-gradient(90deg, #f4efe2 0 1px, #e3dccb 1px 2px); }
.b3d-oben, .b3d-unten { background: repeating-linear-gradient(0deg, #f6f1e5 0 1px, #e2dbca 1px 2px); }
.b3d-oben .b3d-licht { opacity: .04; }
.b3d-unten .b3d-licht { opacity: .45; }
.b3d-vorsatz { background: #ebe5d8; }
.b3d-falz { position: absolute; top: 0; bottom: 0; display: block; pointer-events: none;
    background: linear-gradient(90deg, rgba(0,0,0,0), rgba(0,0,0,.30) 38%, rgba(255,255,255,.16) 62%, rgba(0,0,0,0)); }
.b3d-buch.hc .b3d-vorne { border-radius: 0 3px 3px 0; }
.b3d-buch.hc .b3d-hinten { border-radius: 3px 0 0 3px; }
/* Tablet (E-Book): markenlos, schwarzer Rahmen, Glas, Aluminium hinten */
.b3d-tab-vorne { background: #0d0e10; box-shadow: inset 0 0 0 1px #2b2d31; }
.b3d-tab-schirm { position: absolute; display: block; background-size: 100% 100%; background-repeat: no-repeat; overflow: hidden; }
.b3d-tab-glanz { position: absolute; inset: 0; display: block; background: linear-gradient(125deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.04) 32%, rgba(255,255,255,0) 46%); pointer-events: none; }
.b3d-tab-hinten { background: linear-gradient(140deg, #d5d8dc 0%, #b4b8be 45%, #9ea3a9 100%); }
.b3d-tab-kamera { position: absolute; display: block; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #4a4f57 0 25%, #121316 45% 100%); box-shadow: 0 0 0 2px #8e9399; }
.b3d-tab-kante { background: linear-gradient(90deg, #7d8288, #b9bdc2 50%, #7d8288); }
.b3d-tab-kante.unten { background: #6b7076; }
/* Hörbuch: Box mit Cover, Kopfhörer darüber (mattschwarz, Muscheln mit Metallring) */
.b3d-hb-vorne { background-size: 100% 100%; border-radius: 3px; }
.b3d-hb-hinten { background: #15161a; border-radius: 3px; }
.b3d-hb-unscharf { position: absolute; inset: -12%; display: block; background-size: cover; background-position: center; filter: blur(14px) brightness(.45) saturate(1.1); }
.b3d-hb-kante { background: linear-gradient(90deg, #1b1c20, #2c2e33 50%, #1b1c20); }
.b3d-hb-kante.unten { background: #111215; }
.b3d-hb-deckel { background:
        radial-gradient(ellipse at 38% 30%, rgba(255,255,255,.22) 0 10%, rgba(255,255,255,0) 38%),
        radial-gradient(ellipse at 50% 50%, #26282d 0 58%, #c9a54e 59.5% 61.5%, #1c1d21 63% 100%); }
.b3d-hb-polster { background: linear-gradient(90deg, #3c3f45, #55585f 50%, #3c3f45); }
.b3d-hb-gelenk { background: linear-gradient(90deg, #8d939b, #e3e6ea 45%, #9aa0a8); }
/* Teller: flache Scheibe mit Rand, dreht mit dem Buch; die Rillen zeigen die Drehung */
.b3d-teller { position: absolute; left: 0; top: 0; transform-style: preserve-3d; pointer-events: none; }
.b3d-teller-platte, .b3d-teller-rand { position: absolute; inset: 0; border-radius: 50%; }
.b3d-teller-platte { background:
        radial-gradient(circle at 50% 50%, rgba(255,255,255,.0) 0 61%, rgba(255,255,255,.22) 61.5% 62.5%, rgba(255,255,255,0) 63% 100%),
        repeating-conic-gradient(from 0deg, rgba(255,255,255,.07) 0 2deg, rgba(0,0,0,0) 2deg 15deg),
        radial-gradient(circle at 42% 38%, #5b5f66 0%, #3b3e44 55%, #2a2c31 100%);
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.12); }
.b3d-teller-rand { background: #17181b; transform: translateZ(-9px); box-shadow: 0 0 40px 10px rgba(0,0,0,.28); }
.b3d-teller-schatten { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(0,0,0,.5); filter: blur(7px); border-radius: 4px; }
.b3d-hinweis { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: .8rem; letter-spacing: .02em; color: var(--l-mt, #8a8f98); transition: opacity .6s; pointer-events: none; }
.b3d-hinweis.weg { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .b3d-hinweis { transition: none; } }
