@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600&display=swap');

/* Haus-Explorer · volle Sicht, kein Viewport-Clipping (Render-Hintergrund #1d1b1b) */
#haus-explorer,
.haus-explorer-section {
  overflow-x: hidden;
  overflow-y: hidden;
  max-width: 100%;
  --explorer-bg: #1a1918;
  --explorer-bg-deep: #161514;
  --explorer-cyan: #38bdf8;
  --explorer-cyan-bright: #7dd3fc;
  --explorer-cyan-soft: rgba(56, 189, 248, 0.55);
  --explorer-cyan-glow: rgba(56, 189, 248, 0.45);
  --explorer-tooltip-blur: 22px;
  --explorer-tooltip-border: rgba(125, 211, 252, 0.42);
  /* Modellhöhe: rein svh (stabil bei iOS-Toolbar-Animation – keine Proportions-Verzerrung). */
  --explorer-model-max-h: min(78svh, 920px);
  --explorer-card-radius: 16px;
  --explorer-card-blur: 26px;
  /* scroll-margin-top: global in style.css (#haus-explorer) */
  /* scroll-snap-stop entfernt: Section ist exakt 1 Viewport hoch, JS regelt den Stopp. */
  box-sizing: border-box;
  /* svh statt dvh: keine Live-Re-Layouts während iOS-Toolbar-Animation. */
  min-height: 100vh;
  min-height: 100svh;
  height: auto;
  max-height: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* Titel + Modell etwas höher (~2–3 % Viewport) */
  padding-top: max(4.35rem, calc(max(4.85rem, calc(env(safe-area-inset-top, 0px) + 4.5rem)) - 3vh));
  padding-bottom: 0;
  margin-bottom: -1px;
  position: relative;
  z-index: 2;
  background:
    radial-gradient(ellipse 85% 55% at 18% 22%, rgba(56, 189, 248, 0.07), transparent 52%),
    radial-gradient(ellipse 70% 45% at 88% 78%, rgba(212, 175, 55, 0.04), transparent 48%),
    linear-gradient(185deg, #222120 0%, var(--explorer-bg) 42%, #151413 100%);
}

#haus-explorer + #leistungen {
  position: relative;
  z-index: 1;
  margin-top: -1px;
}

/* Keine Scrollbars im Explorer-Inneren (Modell soll nur mit Seiten-Scroll reagieren). */
#haus-explorer .explorer-pilch-bg,
#haus-explorer .explorer-pilch-container,
#haus-explorer .explorer-pilch-grid,
#haus-explorer .explorer-pilch-center,
#haus-explorer .explorer-view,
#haus-explorer .explorer-innen-frame,
#haus-explorer .explorer-float-wrap {
  overflow-x: hidden;
  overflow-y: hidden;
}

.explorer-snap-target {
  /* scroll-snap-align entfernt: war konkurrierendes Snap-Ziel innerhalb von #haus-explorer
     und verursachte Hängenbleiben/Sprünge zwischen Section-Start und innerem Center. */
  box-sizing: border-box;
}

.explorer-pilch {
  background: transparent;
  color: #fafafa;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0 0 clamp(0.35rem, 1.1vw, 0.75rem);
  margin: 0;
  border: none;
  box-shadow: none;
}
.explorer-pilch-bg {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  max-width: 1800px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(0.5rem, 1.5vw, 1.25rem);
  background: transparent;
  overflow-x: hidden;
}
.explorer-pilch-container,
.explorer-pilch-grid {
  overflow-x: hidden;
  max-width: 100%;
}
.explorer-pilch-hero {
  flex: 0 0 auto;
  text-align: center;
  padding: clamp(0.35rem, 1vh, 1.25rem) 0.75rem clamp(0.45rem, 1.2vh, 1rem);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.explorer-pilch-title-wrap {
  perspective: 720px;
  perspective-origin: 50% 40%;
  display: inline-block;
  max-width: min(100%, 40rem);
  margin: 0 auto;
  padding: 0.15rem 0.5rem 0.1rem;
}

/* Kurztext unter dem Titel (Hauptseite) */
.explorer-pilch-deck {
  margin: 0.35rem 0.15rem 0;
  max-width: min(36rem, 100%);
  font-size: clamp(0.72rem, 1.2vw, 0.9rem);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.56);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}
@media (min-width: 1024px) {
  .explorer-pilch-deck {
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(0.78rem, 1.05vw, 0.92rem);
  }
}

.explorer-pilch-title {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
  padding: 0.2rem 0.35rem 0.45rem;
  display: block;
  max-width: 100%;
  font-family: -apple-system, "SF Pro Display", "Inter", system-ui, sans-serif;
  transform: rotateX(5deg) translateZ(0);
  transform-style: preserve-3d;
  background: linear-gradient(
    185deg,
    #ffffff 0%,
    #e0f2fe 22%,
    #bae6fd 45%,
    #7dd3fc 62%,
    #38bdf8 78%,
    #0ea5e9 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.35)) drop-shadow(0 3px 0 rgba(8, 47, 73, 0.55))
    drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45)) drop-shadow(0 14px 36px rgba(56, 189, 248, 0.28));
}

@media (prefers-reduced-motion: reduce) {
  .explorer-pilch-title {
    transform: none;
  }
}

.explorer-pilch-lead,
.explorer-pilch-lead--footer {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: clamp(0.78rem, 1.25vw, 0.88rem);
  line-height: 1.58;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.05em;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.explorer-pilch-lead--footer {
  flex: 0 0 auto;
  margin-top: 0.65rem;
  margin-bottom: 0;
  padding-top: 0.35rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  text-align: center;
}

.explorer-pilch-container {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  flex: 1 1 auto;
  min-height: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.explorer-pilch-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  gap: clamp(0.4rem, 1vw, 0.72rem);
  align-items: start;
}
@media (min-width: 1024px) {
  .explorer-pilch-container {
    padding-bottom: clamp(2.2rem, 4.5vh, 3.8rem);
  }
  #haus-explorer,
  .haus-explorer-section {
    --explorer-model-max-h: min(72svh, 780px);
  }
  .explorer-pilch-grid {
    grid-template-columns: minmax(188px, 248px) minmax(260px, 1fr) minmax(200px, 280px);
    grid-template-rows: 1fr;
    align-items: start;
    gap: clamp(0.45rem, 1vw, 0.85rem);
  }
  .explorer-pilch-center {
    justify-self: stretch;
    width: 100%;
    max-width: none;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 0;
  }
  .explorer-pilch-center .explorer-view.is-visible {
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: clamp(0, 0.5vh, 0.45rem);
  }
  .explorer-pilch-center .explorer-float-wrap {
    margin-left: 14%;
    margin-right: auto;
    transform: translateY(clamp(-1.1rem, -3.2vh, -0.45rem));
    max-width: min(94%, 980px);
    justify-content: flex-start;
  }
  .explorer-pilch-aside-sons,
  .explorer-pilch-aside--hints {
    align-self: start;
    justify-content: flex-start;
    margin-top: clamp(0.35rem, 1.1vh, 0.95rem);
  }
}

/* Apple-inspirierte Personenkarten */
#haus-explorer .explorer-pilch-aside {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a.explorer-person-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.explorer-person-card--link:focus-visible {
  outline: 2px solid var(--explorer-cyan-bright);
  outline-offset: 3px;
}
.explorer-person-card-hint {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.explorer-person-card {
  border-radius: var(--explorer-card-radius);
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.09) 0%,
    rgba(255, 255, 255, 0.035) 42%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.11);
  padding: 1.15rem 1.15rem 1.2rem;
  box-sizing: border-box;
  backdrop-filter: blur(var(--explorer-card-blur)) saturate(1.75);
  -webkit-backdrop-filter: blur(var(--explorer-card-blur)) saturate(1.75);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.18) inset,
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 20px 48px rgba(0, 0, 0, 0.38);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
  .explorer-person-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.12) inset,
      0 1px 0 rgba(255, 255, 255, 0.08) inset,
      0 24px 56px rgba(0, 0, 0, 0.42),
      0 0 0 1px rgba(56, 189, 248, 0.12);
    transform: translateY(-1px);
  }
}

/* Personenkarten: Farbakzent wie Leistungsbereiche Dach / Sanierung / SHK */
a.explorer-person-card--theme-slate {
  border-top: 3px solid rgba(148, 163, 184, 0.75);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.18) inset,
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 20px 48px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(148, 163, 184, 0.12);
}
a.explorer-person-card--theme-amber {
  border-top: 3px solid rgba(251, 191, 36, 0.85);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.18) inset,
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 20px 48px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(251, 191, 36, 0.08);
}
a.explorer-person-card--theme-shk {
  border-top: 3px solid #f97316;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.18) inset,
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 20px 48px rgba(0, 0, 0, 0.38),
    0 0 26px rgba(14, 165, 233, 0.2);
}

.explorer-pilch-aside-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.explorer-pilch-aside-name {
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.032em;
  color: #f5f5f7;
  margin: 0 0 0.2rem;
  line-height: 1.18;
}
.explorer-pilch-aside-role {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(125, 211, 252, 0.92);
  margin: 0;
  line-height: 1.35;
  padding-bottom: 0;
  border-bottom: none;
}
.explorer-pilch-aside-role--phrase {
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 0.7rem;
  line-height: 1.4;
}
.explorer-pilch-aside-copy {
  font-size: 0.8125rem;
  line-height: 1.52;
  color: rgba(255, 255, 255, 0.52);
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Rechte Erklärbox (nach erstem Hotspot-/Tür-Klick ausgeblendet) */
#explorer-hint-panel {
  position: relative;
  min-height: 0;
  align-self: start !important;
  height: auto !important;
  max-height: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  overflow: visible;
  flex: 0 0 auto;
}

.explorer-hint-card.is-dismissed {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#explorer-hint-panel.is-drawer-open .explorer-hint-card {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.explorer-hint-card {
  border-radius: var(--explorer-card-radius);
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(56, 189, 248, 0.06) 38%,
    rgba(255, 255, 255, 0.03) 100%
  );
  border: 1px solid rgba(125, 211, 252, 0.28);
  padding: 1rem 1.05rem 1.1rem;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  flex: 0 0 auto;
  align-self: start;
  backdrop-filter: blur(var(--explorer-card-blur)) saturate(1.65);
  -webkit-backdrop-filter: blur(var(--explorer-card-blur)) saturate(1.65);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.2) inset,
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 12px 40px rgba(0, 0, 0, 0.35),
    0 0 32px rgba(56, 189, 248, 0.12);
}

.explorer-hint-card__title {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(224, 242, 254, 0.95);
  border-bottom: 1px solid rgba(125, 211, 252, 0.22);
  padding-bottom: 0.5rem;
}

.explorer-hint-list {
  margin: 0;
  padding: 0 0 0 1rem;
  list-style: disc;
  color: rgba(248, 250, 252, 0.78);
  font-size: 0.78rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.explorer-hint-list li {
  margin-bottom: 0.55rem;
}

.explorer-hint-list li:last-child {
  margin-bottom: 0;
}

.explorer-hint-list__key {
  display: inline;
  font-weight: 700;
  color: #bae6fd;
  margin-right: 0.25rem;
}

@media (min-width: 1024px) {
  .explorer-pilch-aside--hints {
    padding-left: 0.15rem;
  }
}

/* Linke Säule: drei Söhne, vertikal zentriert auf Desktop */
.explorer-pilch-aside-sons {
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.explorer-pilch-aside-sons .explorer-pilch-aside-stack {
  min-height: 0;
  overflow: hidden;
}

.explorer-pilch-aside-story {
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.explorer-story-card {
  border-radius: var(--explorer-card-radius);
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.095) 0%,
    rgba(255, 255, 255, 0.04) 45%,
    rgba(255, 255, 255, 0.022) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.05rem 1.1rem 1.12rem;
  box-sizing: border-box;
  backdrop-filter: blur(var(--explorer-card-blur)) saturate(1.75);
  -webkit-backdrop-filter: blur(var(--explorer-card-blur)) saturate(1.75);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.18) inset,
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 22px 52px rgba(0, 0, 0, 0.4);
  min-height: 0;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.explorer-story-card--featured {
  position: relative;
  padding: 1.15rem 1.15rem 1.2rem;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: linear-gradient(
    160deg,
    rgba(56, 189, 248, 0.12) 0%,
    rgba(255, 255, 255, 0.06) 38%,
    rgba(255, 255, 255, 0.025) 100%
  );
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.2) inset,
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 0 48px rgba(56, 189, 248, 0.12),
    0 28px 64px rgba(0, 0, 0, 0.45);
}
.explorer-story-card--featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(125, 211, 252, 0.45) 0%,
    transparent 42%,
    rgba(56, 189, 248, 0.2) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.65;
}
.explorer-story-card--featured .explorer-story-title,
.explorer-story-card--featured .explorer-story-body,
.explorer-story-card--featured .explorer-story-cta {
  position: relative;
  z-index: 1;
}
.explorer-story-card--featured .explorer-story-title {
  font-size: 1.12rem;
  border-bottom-color: rgba(56, 189, 248, 0.22);
}
.explorer-story-card--featured .explorer-story-body {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.84rem;
  line-height: 1.55;
}

@media (hover: hover) and (pointer: fine) {
  .explorer-story-card:hover {
    border-color: rgba(255, 255, 255, 0.17);
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.12) inset,
      0 1px 0 rgba(255, 255, 255, 0.08) inset,
      0 26px 58px rgba(0, 0, 0, 0.44),
      0 0 0 1px rgba(56, 189, 248, 0.1);
    transform: translateY(-1px);
  }
  .explorer-story-card--featured:hover {
    border-color: rgba(125, 211, 252, 0.42);
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.12) inset,
      0 1px 0 rgba(255, 255, 255, 0.1) inset,
      0 0 56px rgba(56, 189, 248, 0.18),
      0 30px 70px rgba(0, 0, 0, 0.48);
  }
}

.explorer-story-title {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #f5f5f7;
  margin: 0 0 0.55rem;
  line-height: 1.18;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.explorer-story-body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8125rem;
  line-height: 1.52;
  color: rgba(255, 255, 255, 0.52);
  margin: 0 0 0.85rem;
  letter-spacing: -0.012em;
  display: block;
  overflow: visible;
}

.explorer-story-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--explorer-cyan-bright);
  transition: color 0.2s ease, opacity 0.2s ease;
  padding: 0.15rem 0;
  border-bottom: 1px solid transparent;
}
.explorer-story-cta:hover {
  color: #f0f9ff;
  border-bottom-color: rgba(125, 211, 252, 0.45);
  opacity: 1;
}

/* Hinweis-Pfeil unter dem Explorer (wie Hero „Entdecken“) */
.explorer-scroll-hint {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
  padding: 0.2rem 0 0.05rem;
  color: rgba(255, 255, 255, 0.38);
}
.explorer-scroll-hint__label {
  font-size: clamp(0.72rem, 1.5vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.explorer-scroll-hint__chev {
  width: 1.35rem;
  height: 1.35rem;
  animation: explorer-hint-bounce 2.2s ease-in-out infinite;
}
@media (min-width: 1024px) {
  .explorer-pilch-bg > .explorer-scroll-hint {
    position: relative;
    top: 0;
    margin-top: clamp(0.85rem, 2vh, 1.5rem);
  }
}
@keyframes explorer-hint-bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.55;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}

/* Hotspot → Info-Panel (kompakt wie „So funktioniert's“, nicht volle Säulenhöhe) */
.explorer-service-drawer {
  position: absolute;
  inset: 0 auto auto 0;
  z-index: 8;
  pointer-events: none;
  display: flex;
  width: 100%;
  height: auto;
  min-height: 0;
  align-items: flex-start;
  justify-content: flex-start;
  margin: 0;
  opacity: 0;
  visibility: hidden;
}
.explorer-service-drawer.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}
.explorer-service-drawer-scrim {
  position: fixed;
  inset: 0;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}
.explorer-service-drawer.is-open .explorer-service-drawer-scrim {
  opacity: 1;
  pointer-events: auto;
}
.explorer-service-drawer-panel {
  position: relative;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: min(17.5rem, 52vh);
  margin: 0;
  align-self: flex-start;
  border-radius: var(--explorer-card-radius);
  padding: 1rem 1.05rem 1.1rem;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(56, 189, 248, 0.06) 38%,
    rgba(255, 255, 255, 0.03) 100%
  );
  border: 1px solid rgba(125, 211, 252, 0.28);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.2) inset,
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 12px 40px rgba(0, 0, 0, 0.35),
    0 0 32px rgba(56, 189, 248, 0.12);
  backdrop-filter: blur(var(--explorer-card-blur)) saturate(1.65);
  -webkit-backdrop-filter: blur(var(--explorer-card-blur)) saturate(1.65);
  transform: none;
  opacity: 0;
  transition: opacity 0.28s ease;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}
.explorer-service-drawer-teaser,
.explorer-service-drawer-actions {
  flex-shrink: 0;
}
.explorer-service-drawer.is-open .explorer-service-drawer-panel {
  opacity: 1;
}
.explorer-service-drawer-x {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #e0f2fe;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.explorer-service-drawer-x:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
}
.explorer-service-drawer-title {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #f8fafc;
  margin: 0 2.25rem 0.5rem 0;
  line-height: 1.25;
}
.explorer-service-drawer-teaser {
  font-size: 0.82rem;
  line-height: 1.58;
  color: rgba(226, 232, 240, 0.75);
  margin: 0 0 0.85rem;
}
.explorer-service-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.explorer-service-drawer-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 11px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0c1220;
  background: linear-gradient(135deg, #7dd3fc, #38bdf8);
  border: none;
  cursor: pointer;
  text-align: center;
}
.explorer-service-drawer-primary:hover {
  filter: brightness(1.06);
}
.explorer-service-drawer-secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(248, 250, 252, 0.88);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
}
.explorer-service-drawer-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Desktop: kompaktes Panel – gleiche Box wie „So funktioniert's“ */
@media (min-width: 1024px) {
  #explorer-hint-panel,
  .explorer-pilch-aside--hints {
    align-self: start !important;
    height: auto !important;
    max-height: none !important;
    justify-content: flex-start;
    width: 100%;
    flex: 0 0 auto;
  }
  #explorer-hint-panel .explorer-hint-card,
  #explorer-hint-panel .explorer-service-drawer-panel {
    padding: 1rem 1.05rem 1.1rem;
    height: auto !important;
    align-self: start !important;
    flex: 0 0 auto;
  }
  #explorer-hint-panel .explorer-service-drawer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    height: auto !important;
    min-height: 0;
    align-items: flex-start;
    justify-content: flex-start;
  }
  #explorer-hint-panel .explorer-service-drawer-panel {
    max-height: min(18.5rem, 58vh);
    width: 100%;
  }
  #explorer-hint-panel .explorer-service-drawer-title {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(224, 242, 254, 0.95);
    border-bottom: 1px solid rgba(125, 211, 252, 0.22);
    padding-bottom: 0.5rem;
    margin: 0 1.75rem 0.65rem 0;
    line-height: 1.25;
  }
  #explorer-hint-panel .explorer-service-drawer-teaser {
    font-size: 0.78rem;
    line-height: 1.55;
    color: rgba(248, 250, 252, 0.78);
    margin-bottom: 0.65rem;
  }
  #explorer-hint-panel .explorer-service-drawer-primary,
  #explorer-hint-panel .explorer-service-drawer-secondary {
    padding: 0.5rem 0.7rem;
    font-size: 0.74rem;
  }
}

/* Subtiler Glow (Parallax per JS), hinter den Modellen */
.explorer-parallax-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(125vw, 1600px);
  height: min(110vh, 1000px);
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse 52% 46% at 50% 44%,
    rgba(56, 189, 248, 0.2) 0%,
    rgba(125, 211, 252, 0.07) 32%,
    transparent 64%
  );
  mix-blend-mode: color-dodge;
  pointer-events: none;
  z-index: 0;
  opacity: 0.42;
  will-change: transform;
}

.explorer-pilch-center {
  position: relative;
  min-width: 0;
  min-height: 0;
  height: 100%;
  align-self: stretch;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .explorer-pilch-center {
    min-height: clamp(400px, 60vh, 820px);
  }
}

.explorer-pilch-center > .explorer-view {
  position: relative;
  z-index: 1;
}

.explorer-view {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  padding-bottom: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
}
.explorer-view.is-visible {
  display: flex;
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
}

/* Innen: eigener Flex-Rahmen für perfekte Zentrierung */
#innen-ansicht-container.explorer-innen-frame,
.explorer-innen-frame {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.explorer-view--innen {
  align-items: stretch;
}

/* Modell: kein fester Viewport-Bruch; Bild skaliert mit contain im Flex-Raum */
.explorer-float-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  max-width: 100%;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  max-height: none;
  margin: 0 auto;
  line-height: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.explorer-model-stage {
  position: relative;
  display: inline-block;
  max-width: 100%;
  max-height: var(--explorer-model-max-h);
  line-height: 0;
  vertical-align: middle;
  background: var(--explorer-bg);
}

/* Vignette nur um das eigentliche Modell (nicht um den mit Flex gestreckten .explorer-float-wrap) */
.explorer-model-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  box-shadow: inset 0 0 32px 14px var(--explorer-bg);
}

.explorer-float-img {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
  max-height: var(--explorer-model-max-h);
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  object-position: center center;
  vertical-align: bottom;
  will-change: transform, opacity;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.explorer-hotspot-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.explorer-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  z-index: 8;
}

@keyframes explorer-ring-pulse-cyan {
  0%,
  100% {
    box-shadow:
      0 0 0 1px var(--explorer-cyan),
      0 0 8px 0 rgba(56, 189, 248, 0.75),
      0 0 18px 2px rgba(56, 189, 248, 0.35);
    opacity: 0.94;
  }
  50% {
    box-shadow:
      0 0 0 1px var(--explorer-cyan-bright),
      0 0 16px 2px rgba(125, 211, 252, 0.85),
      0 0 32px 6px rgba(56, 189, 248, 0.4);
    opacity: 1;
  }
}

.explorer-hotspot-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.28), rgba(56, 189, 248, 0.12) 55%, transparent 72%);
  animation: explorer-ring-pulse-cyan 2.2s ease-in-out infinite;
  transition: transform 0.15s ease-out, filter 0.15s ease-out;
  pointer-events: none;
  will-change: transform, opacity, box-shadow;
  filter: drop-shadow(0 0 5px rgba(56, 189, 248, 0.85));
}

.explorer-hotspot:hover .explorer-hotspot-ring,
.explorer-hotspot:focus-visible .explorer-hotspot-ring {
  transform: scale(1.18);
  animation: explorer-ring-pulse-cyan 1.1s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(125, 211, 252, 1));
}

@keyframes explorer-door-glow-gold {
  0%,
  100% {
    box-shadow:
      0 0 0 2px rgba(212, 175, 55, 0.85),
      0 0 14px 2px rgba(245, 158, 11, 0.65),
      0 0 36px 8px rgba(251, 191, 36, 0.45),
      0 0 56px 14px rgba(180, 83, 9, 0.25);
    opacity: 1;
  }
  50% {
    box-shadow:
      0 0 0 2px rgba(253, 224, 71, 0.95),
      0 0 22px 4px rgba(251, 191, 36, 0.85),
      0 0 48px 12px rgba(245, 158, 11, 0.5),
      0 0 72px 20px rgba(217, 119, 6, 0.3);
    opacity: 1;
  }
}

.explorer-hotspot--door .explorer-hotspot-ring {
  border-color: rgba(253, 224, 71, 0.95);
  background: radial-gradient(
    circle at 35% 35%,
    rgba(255, 251, 235, 0.55),
    rgba(251, 191, 36, 0.35) 45%,
    rgba(180, 83, 9, 0.15) 70%,
    transparent 82%
  );
  animation: explorer-door-glow-gold 2s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.9)) drop-shadow(0 0 22px rgba(217, 119, 6, 0.55));
}

.explorer-hotspot--door:hover .explorer-hotspot-ring,
.explorer-hotspot--door:focus-visible .explorer-hotspot-ring {
  animation: explorer-door-glow-gold 1.15s ease-in-out infinite;
  filter: drop-shadow(0 0 14px rgba(252, 211, 77, 1)) drop-shadow(0 0 28px rgba(245, 158, 11, 0.75));
}

.explorer-tooltip {
  position: absolute;
  left: calc(100% + 8px);
  top: calc(100% + 4px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 2px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(240, 249, 255, 0.96);
  background: rgba(12, 18, 28, 0.35);
  backdrop-filter: blur(var(--explorer-tooltip-blur)) saturate(1.35);
  -webkit-backdrop-filter: blur(var(--explorer-tooltip-blur)) saturate(1.35);
  border: 1px solid var(--explorer-tooltip-border);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 20;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transform-origin: 0% 0%;
  will-change: transform, opacity;
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.explorer-tooltip-label {
  position: relative;
  z-index: 1;
  padding: 7px 12px 6px;
}

.explorer-tooltip-grid {
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.08) 1px, transparent 1px);
  background-size: 5px 5px;
  opacity: 0.5;
  pointer-events: none;
}

.explorer-toolbar--glass {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 12;
  pointer-events: none;
}
.explorer-toolbar--glass > * {
  pointer-events: auto;
}
.explorer-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 10px;
  border: 1px solid rgba(56, 189, 248, 0.38);
  background: rgba(10, 16, 26, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #e0f2fe;
  font-size: 0.76rem;
  font-weight: 600;
  font-family: "Inter", system-ui, sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.explorer-back-btn:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--explorer-cyan);
  color: var(--explorer-cyan-bright);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.22);
}

/* Mobile & Tablet: unten 2 Spalten (längliche Personen links, „So funktioniert’s“ rechts), oben Haus; Titel größer, mehr Abstand */
@media (max-width: 1023px) {
  #haus-explorer,
  .haus-explorer-section {
    /* etwas größeres 3D-Haus, svh = stabil bei iOS-Toolbar-Animation */
    --explorer-model-max-h: min(80svh, 760px);
    /* Weniger Glass-Blur: schärferes Modell auf Mobilgeräten (Compositing) */
    --explorer-card-blur: 11px;
    --explorer-tooltip-blur: 8px;
    padding-top: max(5.45rem, calc(5.2rem + env(safe-area-inset-top, 0px)));
  }
  .explorer-pilch-hero {
    text-align: center;
    margin-top: min(0.4rem, 0.6vh);
    padding-top: clamp(0.5rem, 1.25vh, 0.9rem);
    padding-bottom: clamp(0.25rem, 0.55vh, 0.45rem);
    /* Kein subpixel-Shift: wirkt auf vielen Phones wie „weich gezeichnet“ */
    transform: none;
    position: relative;
    z-index: 2;
  }
  .explorer-pilch-deck {
    margin-top: 0.45rem;
    color: rgba(255, 255, 255, 0.52);
  }
  .explorer-pilch-title {
    font-size: clamp(2.25rem, 5.9vw, 2.95rem) !important;
  }
  .explorer-pilch-container {
    min-height: 0;
    /* Oberen Titel-Shift ausgleichen, Abstand Titel–Haus etwas enger im Fluss */
    margin-top: -0.2vh;
  }
  .explorer-pilch-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    grid-template-rows: 1fr auto;
    /* enger an das Hausmodell rücken (weniger Luft zwischen Modell und Karten) */
    row-gap: 0.08rem;
    column-gap: 0.4rem;
    align-items: start;
  }
  .explorer-pilch-center {
    grid-column: 1 / -1;
    grid-row: 1;
    align-self: start;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    /* untere Lücke unter dem Modell leicht wegnehmen */
    margin-bottom: min(-0.4rem, -0.6vh);
  }
  .explorer-pilch-aside--left.explorer-pilch-aside-sons {
    grid-column: 1;
    grid-row: 2;
    max-width: none;
    width: 100%;
    /* nach oben zum 3D-Modell */
    margin: min(-1.4rem, -2.2vh) 0 0;
    align-self: stretch;
  }
  #explorer-hint-panel,
  .explorer-pilch-aside--hints {
    display: flex !important;
    flex-direction: column;
    grid-column: 2;
    grid-row: 2;
    max-width: none;
    width: 100%;
    margin: min(-1.4rem, -2.2vh) 0 0;
    min-height: 0;
    max-height: min(9.25rem, 31vw);
    align-self: end;
    overflow: hidden;
    height: auto;
  }
  /* Mobile: Hotspot-Info als Overlay-Modal (nicht in die Säulenhöhe gestreckt) */
  #explorer-hint-panel .explorer-service-drawer {
    position: fixed;
    inset: 0;
    z-index: 120;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: max(0.75rem, env(safe-area-inset-top, 0px)) max(0.75rem, env(safe-area-inset-right, 0px))
      max(0.75rem, env(safe-area-inset-bottom, 0px)) max(0.75rem, env(safe-area-inset-left, 0px));
    box-sizing: border-box;
  }
  #explorer-hint-panel .explorer-service-drawer-scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
  }
  #explorer-hint-panel .explorer-service-drawer-panel {
    width: min(100%, 22.5rem);
    height: auto;
    max-height: min(72svh, 26rem);
    margin: 0;
    padding: 0.85rem 0.9rem 0.95rem;
    border-radius: 16px;
    transform: none;
    opacity: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1;
  }
  #explorer-hint-panel .explorer-service-drawer.is-open .explorer-service-drawer-panel {
    opacity: 1;
  }
  #explorer-hint-panel .explorer-service-drawer-title {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 2rem 0.5rem 0;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid rgba(125, 211, 252, 0.22);
  }
  #explorer-hint-panel .explorer-service-drawer-teaser {
    font-size: 0.72rem;
    line-height: 1.5;
    margin-bottom: 0.65rem;
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
  }
  #explorer-hint-panel .explorer-service-drawer-primary,
  #explorer-hint-panel .explorer-service-drawer-secondary {
    padding: 0.55rem 0.65rem;
    font-size: 0.72rem;
  }
  #explorer-hint-panel .explorer-service-drawer-x {
    width: 30px;
    height: 30px;
    top: 6px;
    right: 6px;
  }
  .explorer-hint-card {
    flex: 0 0 auto;
    min-height: 0;
    max-height: none;
    height: auto;
    align-self: start;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
  }
  .explorer-hint-list {
    max-height: none;
    overflow: visible;
    -webkit-overflow-scrolling: auto;
    flex: 1 1 auto;
    list-style-position: outside;
  }
  .explorer-pilch-aside--hints .explorer-hint-card {
    padding: 0.45rem 0.48rem 0.52rem;
  }
  .explorer-pilch-aside--hints .explorer-hint-card__title {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    margin-bottom: 0.3rem;
    padding-bottom: 0.25rem;
  }
  .explorer-pilch-aside--hints .explorer-hint-list {
    font-size: 0.6rem;
    line-height: 1.32;
    padding-left: 0.75rem;
  }
  .explorer-pilch-aside--hints .explorer-hint-list li {
    margin-bottom: 0.22rem;
  }
  .explorer-pilch-aside--hints .explorer-hint-list li:last-child {
    margin-bottom: 0;
  }
  .explorer-pilch-aside--hints .explorer-hint-list__key {
    font-size: 0.58rem;
  }
  .explorer-pilch-aside-sons {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
  }
  .explorer-pilch-aside-sons .explorer-pilch-aside-stack {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    align-self: stretch;
    overflow: visible;
    gap: 0.3rem;
    max-width: none;
    width: 100%;
    margin: 0;
  }
  a.explorer-person-card--link,
  .explorer-pilch-aside-sons .explorer-person-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    min-height: 2.85rem;
    margin: 0;
    padding: 0.5rem 0.58rem 0.55rem;
    border-radius: 12px;
  }
  .explorer-pilch-aside-sons .explorer-pilch-aside-name {
    font-size: 0.82rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.12;
    text-align: left;
    flex: 1 1 42%;
  }
  .explorer-pilch-aside-sons .explorer-pilch-aside-role,
  .explorer-pilch-aside-sons .explorer-pilch-aside-role--phrase {
    font-size: 0.58rem;
    letter-spacing: 0.05em;
    text-align: right;
    line-height: 1.22;
    flex: 1 1 52%;
    margin: 0;
  }
  .explorer-pilch-aside-sons .explorer-pilch-aside-role--phrase {
    font-size: 0.56rem;
  }
  .explorer-pilch-aside-sons .explorer-person-card-hint {
    display: none;
  }
  .explorer-pilch-center .explorer-float-wrap {
    transform: translateY(0);
    margin-left: auto;
    margin-right: auto;
    max-width: min(98vw, 35.5rem);
    width: 100%;
    justify-content: center;
  }
  /* Hausfoto: Seiten-Maske entfernen (erzeugt auf iOS oft weiche Kanten) */
  .explorer-float-img {
    -webkit-mask-image: none;
    mask-image: none;
    will-change: auto;
  }
  .explorer-model-stage {
    transform: translateZ(0);
    backface-visibility: hidden;
  }
  .explorer-model-stage::after {
    box-shadow: inset 0 0 22px 10px var(--explorer-bg);
  }
  .explorer-pilch-center .explorer-view {
    align-items: center;
    justify-content: center;
  }
  .explorer-pilch-bg > .explorer-scroll-hint {
    margin-top: min(-1rem, -1.8vh);
    padding-top: 0.05rem;
    transform: none;
  }
}

@media (max-width: 1023px) and (prefers-reduced-motion: reduce) {
  .explorer-pilch-hero {
    transform: none;
  }
}

/* Schmal: Titel lesbar, in Familie mit größerer Tablet-Regel */
@media (max-width: 480px) {
  .explorer-pilch-title {
    font-size: clamp(2.05rem, 5.4vw, 2.55rem) !important;
  }
  .explorer-pilch-hero {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }
}

/* Anker für CTA „Mehr dazu“ (#team) – gleiche Sektion wie #unsere-team */
#team.explorer-team-anchor {
  display: block;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  scroll-margin-top: 92px;
}

@media (max-width: 768px) {
  .explorer-hotspot {
    width: 34px;
    height: 34px;
  }
  .explorer-hotspot-ring {
    width: 15px;
    height: 15px;
    margin: -7.5px 0 0 -7.5px;
  }
  .explorer-tooltip {
    font-size: 0.62rem;
  }
  .explorer-tooltip-label {
    padding: 6px 10px 5px;
  }
  .explorer-pilch-aside-sons a.explorer-person-card--link,
  .explorer-pilch-aside-sons .explorer-person-card {
    padding: 0.48rem 0.52rem 0.52rem;
  }
}

@media (max-width: 1023px) {
  #haus-explorer.haus-explorer-section,
  .haus-explorer-section {
    min-height: 100vh;
    min-height: 100svh;
    /* Reine svh-Variante, keine vh-Fallbacks – verhindert dynamische Re-Layouts bei iOS-Toolbar. */
    --explorer-model-max-h: min(52svh, 420px);
    padding-top: max(3.65rem, calc(max(4.05rem, calc(env(safe-area-inset-top, 0px) + 3.85rem)) - max(1.35vh, 0.55rem)));
  }

  .explorer-pilch-hero {
    padding: clamp(0.28rem, max(0.55vh, 0.18rem), 0.95rem) 0.65rem clamp(0.32rem, max(0.7vh, 0.18rem), 0.78rem);
  }

  .explorer-pilch-bg {
    min-height: 0;
  }
}
