/* Flycam 360 - oeffentliche Rundgang-Seite. Bewusst immer dunkel: das
   360°-Bild steht im Vordergrund, die Bedienelemente schweben darueber. */

:root {
  --accent: #009ee3;
  --accent-strong: #0086c2;
  --glass: rgba(11, 18, 32, 0.78);
  --glass-strong: rgba(11, 18, 32, 0.92);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f1f5f9;
  --muted: #a5b4c8;
  --on-accent: #ffffff;
  --partner: #f5b301;
  --radius: 16px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #0b1220;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

.ico {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.ico svg {
  width: 100%;
  height: 100%;
}

.viewer {
  position: fixed;
  inset: 0;
}

/* ---------- Kopfzeile ---------- */

.topbar {
  position: fixed;
  top: calc(12px + var(--safe-top));
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 20;
  pointer-events: none;
}

.topbar > * {
  pointer-events: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line);
}

.brand-logo {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: -0.3px;
  flex-shrink: 0;
}

.brand-logo.has-img {
  width: auto;
  max-width: 150px;
  padding: 0;
  border-radius: 0;
  background: none;
}

.brand-logo .logo-wrap {
  display: grid;
  place-items: center;
  height: 38px;
  padding: 0 4px;
  border-radius: 999px;
}

.brand-logo .logo-wrap.plate {
  padding: 0 12px;
  background: #fff;
}

.brand-logo img {
  display: block;
  max-height: 28px;
  max-width: 126px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.brand-text b,
.brand-text small {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-text b {
  font-size: 15px;
}

.brand-text small {
  font-size: 12.5px;
  color: var(--muted);
}

.top-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.pill,
.round {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: background 0.15s;
}

.pill {
  height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
}

.round {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  padding: 0;
}

.round.small {
  width: 36px;
  height: 36px;
}

.round.small .ico {
  width: 17px;
  height: 17px;
}

.round.flat {
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
}

.pill:hover,
.round:hover {
  background: var(--glass-strong);
}

.round.flat:hover {
  background: rgba(255, 255, 255, 0.08);
}

.round.on,
.pill.on {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}

.preview-badge {
  position: fixed;
  top: calc(72px + var(--safe-top));
  left: 50%;
  transform: translateX(-50%);
  z-index: 19;
  background: #b45309;
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

/* ---------- Seitenleisten ---------- */

.panel {
  position: fixed;
  top: calc(74px + var(--safe-top));
  left: 12px;
  bottom: calc(12px + var(--safe-bottom));
  width: 380px;
  max-width: calc(100vw - 24px);
  z-index: 25;
  display: flex;
  flex-direction: column;
  background: var(--glass-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  animation: panel-in 0.18s ease-out;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: none; }
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 10px 8px 12px;
}

.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--muted);
}

.search-field:focus-within {
  border-color: var(--accent);
}

.search-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 16px;
}

.chips {
  display: flex;
  gap: 6px;
  padding: 4px 12px 10px;
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 0;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chip {
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13.5px;
  cursor: pointer;
  white-space: nowrap;
}

.chip.active {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}

.list {
  flex: 1;
  overflow-y: auto;
  padding: 0 8px 12px;
  overscroll-behavior: contain;
}

.list h3 {
  margin: 14px 8px 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.item:hover,
.item:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

.item-thumb {
  width: 64px;
  height: 48px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  font-size: 22px;
}

.item-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.item-text b {
  font-size: 14.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-text small {
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.empty {
  color: var(--muted);
  padding: 16px 10px;
  font-size: 14px;
}

/* ---------- Ort-Karte ---------- */

.place-card {
  overflow-y: auto;
  display: block;
  bottom: auto;
  max-height: calc(100% - 86px - var(--safe-top) - var(--safe-bottom));
}

.pc-photos {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  background: #000;
}

.pc-photos::-webkit-scrollbar {
  display: none;
}

.pc-photos img {
  flex: 0 0 100%;
  width: 100%;
  height: 220px;
  object-fit: cover;
  scroll-snap-align: start;
  cursor: zoom-in;
}

.pc-photo-count {
  position: absolute;
  top: 184px;
  right: 12px;
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
}

.pc-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.55);
}

.pc-body {
  padding: 16px 18px 22px;
}

.pc-cat {
  font-size: 13px;
  color: var(--muted);
}

.pc-body h2 {
  margin: 4px 40px 6px 0;
  font-size: 22px;
  line-height: 1.25;
}

.pc-short {
  margin: 0 0 14px;
  color: #d5deea;
  line-height: 1.45;
}

.pc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.action .ico {
  width: 18px;
  height: 18px;
}

.action.primary {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}

.action:hover {
  filter: brightness(1.12);
}

.pc-section {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 12px;
}

.pc-section h3 {
  margin: 0 0 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.text {
  line-height: 1.55;
  white-space: pre-line;
  color: #dbe4ef;
  font-size: 15px;
}

.pc-locked {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- Karte ---------- */

.map-box {
  position: fixed;
  right: 12px;
  bottom: calc(64px + var(--safe-bottom));
  width: 340px;
  height: 250px;
  z-index: 15;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  background: #1e293b;
  transition: width 0.2s, height 0.2s;
}

.map-box.big {
  width: min(760px, calc(100vw - 24px));
  height: min(560px, calc(100vh - 160px));
}

#map {
  position: absolute;
  inset: 0;
}

.map-tools {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 500;
  display: flex;
  gap: 6px;
  align-items: center;
}

.seg {
  border: 0;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--glass-strong);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.seg.active {
  background: var(--accent);
  color: var(--on-accent);
}

.leaflet-container {
  font: inherit;
  background: #1e293b;
}

.leaflet-control-attribution {
  font-size: 10px;
}

.mk-place {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  border: 2px solid #fff;
}

.mk-place span {
  transform: rotate(45deg);
  font-size: 17px;
  line-height: 1;
}

.mk-place.partner {
  border-color: var(--partner);
  box-shadow: 0 0 0 3px rgba(245, 179, 1, 0.45), 0 2px 8px rgba(0, 0, 0, 0.4);
}

.mk-place.dim {
  opacity: 0.8;
}

.mk-scene {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  border: 2.5px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.mk-scene.luft {
  width: 22px;
  height: 22px;
  background: #7c3aed;
  display: grid;
  place-items: center;
  color: #fff;
}

.mk-scene.luft svg {
  width: 13px;
  height: 13px;
}

.mk-current {
  position: relative;
  width: 90px;
  height: 90px;
  pointer-events: none;
}

.mk-current svg {
  position: absolute;
  inset: 0;
  transform-origin: 50% 50%;
}

.mk-current .dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: #ff3b30;
  border: 3px solid #fff;
  box-shadow: 0 0 0 6px rgba(255, 59, 48, 0.25);
}

/* ---------- Punkte im 360°-Bild ---------- */

.hs {
  position: relative;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.9);
  background: rgba(11, 18, 32, 0.55);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s, background 0.15s;
}

.hs:hover {
  transform: scale(1.12);
  background: var(--accent);
  color: var(--on-accent);
}

.hs svg {
  width: 26px;
  height: 26px;
}

.hs.foto::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  animation: hs-pulse 2.2s ease-out infinite;
}

@keyframes hs-pulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}

.hs.tuer {
  background: var(--accent);
  color: var(--on-accent);
  border-color: #fff;
}

.hs-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #7c3aed;
  border: 2px solid #fff;
}

.hs .hs-badge svg {
  width: 13px;
  height: 13px;
}

.hs-preview {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  width: 190px;
  aspect-ratio: 16 / 9;
  transform: translateX(-50%) translateY(6px);
  border-radius: 10px;
  overflow: hidden;
  border: 3px solid #fff;
  background: #111;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
}

.hs-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (hover: hover) {
  .hs:hover .hs-preview {
    opacity: 1;
    transform: translateX(-50%);
  }
}

.hs.ort {
  background: #fff;
  border-color: #fff;
}

.hs.info,
.hs.link {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.92);
  color: #0b1220;
}

.hs.info svg,
.hs.link svg {
  width: 22px;
  height: 22px;
}

.hs-emoji {
  font-size: 24px;
  line-height: 1;
}

.hs-label {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.8);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  pointer-events: none;
}

/* Navigationsleiste des Viewers etwas zurueckhaltender */
.psv-navbar {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  height: 52px;
}

.psv-caption-content {
  font-size: 14px;
}

/* ---------- Info-Fenster, Fotos ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.45);
}

.modal-card {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 22px 22px 24px;
  border-radius: var(--radius);
  background: var(--glass-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
}

.modal-card h2 {
  margin: 0 44px 10px 0;
  font-size: 20px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 16px 40px;
}

.lightbox img {
  max-width: 100%;
  max-height: calc(100% - 40px);
  object-fit: contain;
}

.lightbox p {
  margin: 12px 0 0;
  color: var(--muted);
  text-align: center;
}

.lb-prev,
.lb-next,
.lb-close {
  position: absolute;
}

.lb-prev {
  left: 12px;
  top: 50%;
}

.lb-next {
  right: 12px;
  top: 50%;
}

.lb-close {
  top: calc(12px + var(--safe-top));
  right: 12px;
}

/* ---------- Startbild, Tour-Liste ---------- */

.start {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 16px;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.25), rgba(11, 18, 32, 0.75));
}

.start-card {
  width: min(560px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 30px 28px;
  border-radius: 22px;
  background: var(--glass-strong);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  text-align: center;
}

.start-logo {
  display: inline-block;
  margin-bottom: 14px;
}

.start-logo.plate {
  padding: 10px 16px;
  border-radius: 14px;
  background: #fff;
}

.start-logo img {
  display: block;
  max-height: 64px;
  max-width: min(280px, 70vw);
}

.start-credit {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

.start-credit a {
  color: inherit;
}

.kiosk-logo {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--glass);
}

.kiosk-logo.plate {
  background: rgba(255, 255, 255, 0.92);
}

.kiosk-logo img {
  display: block;
  max-height: 70px;
  max-width: 300px;
}

/* Signage: QR-Code unten rechts - auf dem Fernseher gross genug zum Scannen */
.kiosk-qr {
  position: fixed;
  right: 2.2vw;
  bottom: 2.2vw;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3vw;
  padding: 1vw 1vw 0.8vw;
  border-radius: 1vw;
  background: #fff;
  color: #0b1220;
  box-shadow: 0 0.6vw 2vw rgba(0, 0, 0, 0.35);
  text-align: center;
}

.kiosk-qr canvas {
  display: block;
  width: 11vw;
  height: 11vw;
  min-width: 120px;
  min-height: 120px;
}

.kiosk-qr b {
  font-size: max(15px, 1.25vw);
}

.kiosk-qr span {
  font-size: max(12px, 0.9vw);
  color: #52514e;
}

.start-kicker {
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.start-card h1,
.tour-list h1 {
  margin: 8px 0 6px;
  font-size: clamp(26px, 5vw, 36px);
  line-height: 1.15;
}

.start-sub {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 16px;
}

.start-intro {
  text-align: left;
  margin: 0 0 20px;
}

.start-btn {
  border: 0;
  padding: 15px 30px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 158, 227, 0.35);
}

.start-btn:hover {
  background: var(--accent-strong);
}

.start-hint {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.tour-list {
  position: fixed;
  inset: 0;
  overflow-y: auto;
  padding: 40px 16px;
  background: radial-gradient(circle at 20% 0%, #13305a, #0b1220 60%);
}

.tour-list-inner {
  max-width: 980px;
  margin: 0 auto;
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.tour-tile {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.15s;
}

.tour-tile:hover {
  transform: translateY(-3px);
}

.tour-tile img,
.tour-tile .no-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: #1e293b;
  font-size: 34px;
}

.tour-tile div {
  padding: 12px 14px 14px;
}

.tour-tile b {
  display: block;
  font-size: 17px;
}

.tour-tile small {
  color: var(--muted);
}

.message {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  font-size: 17px;
  color: var(--muted);
  background: #0b1220;
}

.place-chip {
  position: fixed;
  left: 12px;
  bottom: calc(64px + var(--safe-bottom));
  z-index: 14;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100vw - 24px);
  padding: 7px 7px 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.place-chip span:nth-child(2) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.place-chip .pc-more {
  flex-shrink: 0;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 12.5px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(80px + var(--safe-bottom));
  transform: translateX(-50%);
  z-index: 90;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  font-size: 14px;
}

.embed-badge {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 20;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--glass);
  color: var(--text);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid var(--line);
}

/* ---------- Handy ---------- */

@media (max-width: 760px) {
  .pill-text {
    display: none;
  }

  .pill {
    width: 46px;
    height: 46px;
    padding: 0;
  }

  .round {
    width: 46px;
    height: 46px;
  }

  .top-actions {
    gap: 6px;
  }

  .brand {
    padding-right: 12px;
  }

  .panel {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    max-height: 78vh;
    border-radius: 20px 20px 0 0;
    padding-bottom: var(--safe-bottom);
    animation-name: sheet-in;
  }

  .discover {
    height: 78vh;
  }

  @keyframes sheet-in {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
  }

  .map-box,
  .map-box.big {
    left: 8px;
    right: 8px;
    width: auto;
    height: 48vh;
    bottom: calc(60px + var(--safe-bottom));
  }

  #btnMapSize {
    display: none;
  }

  .pc-photos img {
    height: 190px;
  }

  .pc-photo-count {
    top: 154px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hs.pfeil::after,
  .panel {
    animation: none;
  }
}
