/* Büro-Rundgang in 360 Grad (03.12.2026): Vorschau auf der Kontaktseite, Rundgang im Vollbild-Fenster mit Pannellum */
.b360 { background: var(--bg, #f4f8fc); }
.b360.b360--weiss { background: #fff; }
.b360__weiter { margin: 18px 0 0; }
.b360__kopf { max-width: 760px; margin-bottom: clamp(24px, 4vw, 44px); }
.b360__kopf h2 { margin: 0 0 18px; }
.b360__start { -webkit-appearance: none; appearance: none; border: 0; padding: 0; margin: 0; display: block; width: 100%; position: relative; border-radius: 24px; overflow: hidden; cursor: pointer; background: #0d1b2e; aspect-ratio: 16 / 7.4; box-shadow: 0 44px 90px -50px rgba(8, 22, 45, .6); -webkit-tap-highlight-color: transparent; }
.b360__start picture, .b360__start img { display: block; width: 100%; height: 100%; }
.b360__start img { object-fit: cover; transition: transform 1.1s var(--ease, ease); }
.b360__start:hover img { transform: scale(1.035); }
.b360__start::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(8, 22, 45, 0) 35%, rgba(8, 22, 45, .45) 100%); pointer-events: none; }
.b360__knopf { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 14px; height: 64px; padding: 0 28px 0 12px; border-radius: 999px; background: #fff; color: var(--tinte, #10325a); font: 700 17px/1 var(--schrift, sans-serif); white-space: nowrap; box-shadow: 0 18px 40px -16px rgba(8, 22, 45, .55); transition: transform .4s var(--ease, ease); }
.b360__start:hover .b360__knopf, .b360__start:focus-visible .b360__knopf { transform: translate(-50%, -50%) scale(1.04); }
.b360__ic { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--gold, #1f6fc8); color: #fff; display: grid; place-items: center; }
.b360__ic svg { width: 26px; height: 26px; }
.b360__hinweis { position: absolute; z-index: 1; left: 18px; bottom: 16px; color: #fff; font: 600 12px/1 var(--schrift, sans-serif); letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.b360__start:focus-visible { outline: 3px solid var(--gold, #1f6fc8); outline-offset: 4px; }
@media (max-width: 640px) {
  .b360__start { aspect-ratio: 4 / 3.6; border-radius: 18px; }
  .b360__knopf { height: 56px; font-size: 16px; padding: 0 22px 0 10px; gap: 12px; }
  .b360__ic { width: 38px; height: 38px; }
}

/* Fenster */
html.b360-offen, html.b360-offen body { overflow: hidden; }
.b360__fenster { position: fixed; inset: 0; z-index: 2147483000; background: #0b1626; }
.b360__fenster[hidden] { display: none; }
.b360__ansicht { position: absolute; inset: 0; direction: ltr; }   /* 04.12.: Pannellum rechnet von links, sonst landen die Punkte in Arabisch außerhalb des Bildes */
.b360-punkt__text { unicode-bidi: plaintext; }
.b360__ansicht .pnlm-container { background: #0b1626; }
.b360__leiste { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 40px 16px calc(18px + env(safe-area-inset-bottom)); display: flex; justify-content: center; background: linear-gradient(to top, rgba(8, 22, 45, .72), rgba(8, 22, 45, 0)); pointer-events: none; }
.b360__raeume { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; pointer-events: auto; }
.b360__raeume button { -webkit-appearance: none; appearance: none; height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .6); background: rgba(8, 22, 45, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font: 600 15px/1 var(--schrift, sans-serif); cursor: pointer; }
@media (max-width: 420px) { .b360__raeume { gap: 7px; } .b360__raeume button { height: 42px; padding: 0 14px; font-size: 14px; } }
.b360__raeume button[aria-pressed="true"] { background: #fff; color: var(--tinte, #10325a); border-color: #fff; }
.b360__zu { -webkit-appearance: none; appearance: none; position: absolute; z-index: 4; top: calc(14px + env(safe-area-inset-top)); right: calc(14px + env(safe-area-inset-right)); width: 50px; height: 50px; border-radius: 50%; border: 0; background: #fff; color: var(--tinte, #10325a); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
.b360__zu svg { width: 22px; height: 22px; }
.b360__tipp { position: absolute; z-index: 3; top: calc(22px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); margin: 0; padding: 11px 18px; border-radius: 999px; background: rgba(8, 22, 45, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font: 600 14px/1 var(--schrift, sans-serif); white-space: nowrap; pointer-events: none; transition: opacity .6s ease; }
.b360__tipp.ist-weg { opacity: 0; }
@media (max-width: 520px) { .b360__tipp { top: calc(80px + env(safe-area-inset-top)); } }

/* Punkte im Bild zum Weitergehen */
.b360-punkt { width: 70px; height: 70px; margin: -35px 0 0 -35px; cursor: pointer; outline: none; }
.b360-punkt__ring { position: absolute; inset: 7px; border-radius: 50%; border: 3px solid #fff; background: rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .55); transition: transform .3s ease, background .3s ease; }
.b360-punkt__ring::after { content: ""; position: absolute; inset: 15px; border-radius: 50%; background: #fff; animation: b360puls 2.2s ease-in-out infinite; }
.b360-punkt:hover .b360-punkt__ring, .b360-punkt:focus-visible .b360-punkt__ring { transform: scale(1.12); background: rgba(255, 255, 255, .4); }
.b360-punkt__text { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 4px; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--tinte, #10325a); font: 700 14px/1 var(--schrift, sans-serif); white-space: nowrap; box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .5); }
@keyframes b360puls { 0%, 100% { transform: scale(.75); opacity: .9; } 50% { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .b360-punkt__ring::after { animation: none; } .b360__start img { transition: none; } }
