/* V.Yard Graetzlkarte (Vektor aus map_neu_sarah.ai), scroll-basiert: Strassen zeichnen sich, Flaechen blenden ein, Pins poppen, zuletzt V.Yard */
.vmap { position: relative; width: 100%; aspect-ratio: 2460 / 2000; background: #F7F2EC; overflow: hidden; --p: 0; }
.vmap-svg, .vmap-svg svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.vmap .vm-street { fill: none; stroke: var(--court-green); stroke-opacity: .55; stroke-width: 1.1px; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: clamp(0, 1 - (var(--p) * 1.7 - var(--d, 0)), 1); }
.vmap .vm-line { fill: none; stroke: var(--court-green); stroke-opacity: .5; stroke-width: .7px; vector-effect: non-scaling-stroke; opacity: clamp(0, (var(--p) - .35) * 3, 1); }
.vmap .vm-radius { fill: none; stroke: var(--accent-red); stroke-opacity: .5; stroke-width: 1px; vector-effect: non-scaling-stroke; stroke-dasharray: 7 7; opacity: clamp(0, (var(--p) - .5) * 3, 1); }
.vmap .vm-green { fill: #B7CCAE; stroke: none; opacity: clamp(0, (var(--p) - .2) * 3, 1); }
.vmap .vm-water { fill: #BCD0D6; stroke: none; opacity: clamp(0, (var(--p) - .25) * 3, 1); }
.vmap .vm-ground { fill: #D9D3BE; stroke: none; opacity: clamp(0, (var(--p) - .25) * 3, 1); }
.vmap .vm-block { fill: #E6E2DA; stroke: none; opacity: clamp(0, (var(--p) - .25) * 3, 1); }
.vmap .vm-market { fill: var(--court-green); stroke: none; opacity: clamp(0, (var(--p) - .4) * 3, 1); }
.vmap .vm-you-core { fill: var(--court-green); stroke: none; opacity: clamp(0, (var(--p) - .6) * 4, 1); }
.vmap .vm-pin { fill: var(--accent-red); stroke: none; transform-box: fill-box; transform-origin: 50% 100%; transform: scale(calc(clamp(0, (var(--p) - var(--d, .6)) * 6, 1) * var(--hs, 1))); }
.vmap .vm-num { fill: #F7F1EF; font-family: var(--font-ui, sans-serif); font-weight: 600; transform: scale(var(--hs, 1)); opacity: clamp(0, (var(--p) - var(--d, .6) - .08) * 8, 1); }
.vmap .vm-txt { fill: var(--court-green); font-family: var(--font-ui, sans-serif); font-weight: 500; opacity: clamp(0, (var(--p) - .55) * 4, 1); }
.vmap .vm-you-halo { fill: #5E7C58; stroke: #F7F1EF; stroke-width: 1.5px; vector-effect: non-scaling-stroke; paint-order: stroke; opacity: clamp(0, (var(--p) - .8) * 8, 1); transform-box: fill-box; transform-origin: 50% 100%; transform: scale(clamp(0, (var(--p) - .78) * 8, 1)); }
.vmap .vm-you-dot { fill: #F7F1EF; stroke: none; transform-box: fill-box; transform-origin: 50% 50%; transform: scale(clamp(0, (var(--p) - .84) * 8, 1)); }
.vmap.is-in .vm-you-halo { animation: vm-pulse 2.4s ease-in-out infinite; }
@keyframes vm-pulse { 0%,100% { filter: drop-shadow(0 0 0 rgba(94,124,88,0)); } 50% { filter: drop-shadow(0 0 14px rgba(94,124,88,.7)); } }
.vmap-label { position: absolute; transform: translate(-10px, -50%); white-space: nowrap; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--court-graphite); background: rgba(247,242,236,.92); padding: 8px 12px; border: 1px solid var(--line);
  opacity: 0; transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.vmap.is-in .vmap-label { opacity: 1; transform: translate(0, -50%); }
.vmap-label b { color: var(--court-green); font-weight: 500; }
.vmap .vmap-label.vmap-poi, .l-maps-stage .vmap-label.vmap-poi, .l-maps-stage.is-micro .vmap-label.vmap-poi { font-size: 10px; letter-spacing: .14em; padding: 5px 9px; color: var(--text-muted); background: rgba(247,242,236,.9);
  transform: translate(-50%, -50%); opacity: clamp(0, (var(--p) - .75) * 6, 1); transition: none; }
.vmap-hint { position: absolute; right: 16px; bottom: 14px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); }
@media (prefers-reduced-motion: reduce) { .vmap { --p: 1 !important; } .vmap.is-in .vm-you-halo { animation: none; } }
@media (max-width: 600px) { .vmap-label { font-size: 10px; padding: 6px 9px; } }

/* Illustrierte Makro-Karte (Raster), scroll-basiert: kreisfoermiges Aufdecken vom V.Yard-Pin nach aussen */
.wmap { position: relative; --p: 0; }
.wmap-fig { margin: 0; position: relative; aspect-ratio: 1600 / 1555; background: #F7F2EC; border: 1px solid var(--line); overflow: hidden; }
.wmap-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  clip-path: circle(calc(5% + var(--p) * 115%) at 48.9% 63.5%); transform: scale(calc(1.07 - var(--p) * 0.07)); transform-origin: 48.9% 63.5%; }
.wmap-pulse { position: absolute; left: 48.9%; top: 63.5%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--court-green);
  opacity: clamp(0, 1 - var(--p) * 1.6, 1); box-shadow: 0 0 0 0 rgba(57,73,55,0.45); animation: wm-ring 1.6s ease-out infinite; pointer-events: none; }
@keyframes wm-ring { to { box-shadow: 0 0 0 28px rgba(57,73,55,0); } }
.wmap-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.wmap-facts li { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line);
  opacity: clamp(0, (var(--p) - var(--d, .4)) * 4, 1); transform: translateY(calc((1 - clamp(0, (var(--p) - var(--d, .4)) * 4, 1)) * 10px)); }
.wmap-facts .wf-num { font-family: var(--font-display); font-weight: 300; font-size: 30px; line-height: 1; letter-spacing: -0.02em; color: var(--court-green); white-space: nowrap; }
.wmap-facts .wf-num small { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-left: 4px; }
.wmap-facts .wf-txt { font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.wmap-facts .wf-txt b { color: var(--text); font-weight: 500; }
.wmap-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 28px; margin-top: 28px; }
.wmap-legend h4 { margin: 0 0 10px; font-family: var(--font-ui); font-weight: 500; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.wmap-legend h4 i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.wmap-legend ol { list-style: none; padding: 0; margin: 0; font-size: 13px; line-height: 1.55; }
.wmap-legend li { display: flex; gap: 8px; opacity: clamp(0, (var(--p) - var(--d, .5)) * 4, 1); }
.wmap-legend li b { min-width: 1.5em; color: var(--text-muted); font-weight: 500; }
.wmap-note { margin-top: 14px; font-size: 11px; letter-spacing: 0.06em; color: var(--text-muted); }
@media (max-width: 880px) { .wmap-legend { grid-template-columns: 1fr; gap: 16px; } .wmap-facts li { grid-template-columns: 84px 1fr; } }
@media (prefers-reduced-motion: reduce) { .wmap { --p: 1 !important; } .wmap-pulse { animation: none; } }

/* Karten-Buehne Lage-Seite: Makro-Karte -> Zoom -> Mikro-Karte */
.l-maps-stage { position: relative; height: 240vh; --sp: 0; }
.l-maps-sticky { position: sticky; top: 92px; height: calc(100vh - 124px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 1fr); gap: 48px; align-items: center; }
.l-maps-frame { position: relative; aspect-ratio: 1 / 1; max-height: 100%; width: 100%; max-width: calc(100vh - 124px); justify-self: center; }
.l-maps-frame .wmap, .l-maps-frame .vmap { position: absolute; inset: 0; }
.l-maps-frame .wmap { --p: clamp(0, var(--sp) * 2.4, 1); --z: clamp(0, (var(--sp) - 0.48) / 0.3, 1);
  opacity: calc(1 - var(--z)); transform: scale(calc(1 + var(--z) * 2.6)); transform-origin: 48.9% 63.5%; z-index: 1; pointer-events: none; }
.l-maps-frame .wmap-fig { aspect-ratio: auto; position: absolute; inset: 0; border: 1px solid var(--line); }
.l-maps-frame .vmap { --p: clamp(0, (var(--sp) - 0.6) / 0.38, 1); opacity: clamp(0, (var(--sp) - 0.55) / 0.15, 1); z-index: 2; aspect-ratio: auto; }
.l-maps-frame .vmap.is-in .vm-you-halo { animation: vm-pulse 2.4s ease-in-out infinite; }
.l-maps-side { position: relative; }
.l-maps-cap { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.l-maps-cap-micro { position: absolute; inset: 0; opacity: 0; transform: translateY(12px); pointer-events: none; }
.is-micro .l-maps-cap-macro { opacity: 0; transform: translateY(-12px); pointer-events: none; }
.is-micro .l-maps-cap-micro { opacity: 1; transform: none; pointer-events: auto; }
.l-maps-cap .display-4 { margin: 14px 0 22px; }
.l-maps-progress { position: absolute; left: 0; right: 0; bottom: -28px; height: 1px; background: var(--line); }
.l-maps-progress i { position: absolute; left: 0; top: 0; height: 100%; width: calc(var(--sp) * 100%); background: var(--court-green); }
.l-maps-hint { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); margin-top: 36px; }
@media (max-width: 880px) {
  .l-maps-stage { height: 200vh; }
  .l-maps-sticky { top: 72px; height: calc(100vh - 90px); grid-template-columns: 1fr; gap: 16px; align-content: start; }
  .l-maps-frame { max-width: min(100%, calc(100vh - 360px)); }
  .l-maps-side { min-height: 150px; }
  .l-maps-hint { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .l-maps-stage { height: auto; --sp: 1; }
  .l-maps-sticky { position: static; height: auto; display: block; }
  .l-maps-frame { aspect-ratio: auto; max-width: none; }
  .l-maps-frame .wmap, .l-maps-frame .vmap { position: relative; opacity: 1 !important; transform: none !important; --p: 1; margin-bottom: 24px; aspect-ratio: 1 / 1; }
  .l-maps-cap-micro { position: static; opacity: 1; transform: none; }
}
.l-maps-side { --p: clamp(0, var(--sp) * 2.4, 1); }
.l-maps-cap-micro .wmap-facts li { opacity: 1; transform: none; }
.l-maps-stage.is-micro .vmap-label { opacity: 1; transform: translate(-50%, -100%) translateY(-22px); }
.l-maps-stage.is-micro .vm-you-halo { animation: vm-pulse 2.4s ease-in-out infinite; }
