/* DG Map View — Layout über css/site.css */

:root {
  --map-panel-w: 380px;

  /* ── Premium Glow Design Tokens (Master refined) ── */
  --bg:                #0a0d1f;
  --surface:           #0a0d1f;
  --surface-low:       #12162b;
  --surface-mid:       #1a1f38;
  --surface-high:      #232944;
  --surface-bright:    #2e3553;

  --primary:           #f4b643;
  --primary-strong:    #d97706;
  --primary-soft:      #fbbf24;
  --on-primary:        #2a1a00;

  --secondary:         #4a7cff;
  --secondary-strong:  #1e3a8a;

  --tertiary:          #10b981;

  --on-surface:        #e8ecf7;
  --on-surface-mute:   #a8b1c8;
  --on-surface-faint:  rgba(232, 236, 247, 0.55);

  --outline-variant:   rgba(244, 182, 67, 0.16);
  --gradient-brand:    linear-gradient(135deg, #4a7cff 0%, #6f9bff 30%, #f4b643 100%);

  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 2rem;
  --radius-xl: 3rem;

  --glass-fill: rgba(18, 22, 43, 0.45);
  --glass-blur: 30px;
  --glass-stroke: 1px solid rgba(244, 182, 67, 0.12);
}

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--on-surface);
  font-family: "Inter", "Manrope", system-ui, sans-serif;
}

body {
  overflow-x: hidden;
}

.map-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 28px;
  background: linear-gradient(180deg, rgba(9,9,11,0.92) 0%, rgba(9,9,11,0) 100%);
  pointer-events: none;
}
.map-header > * { pointer-events: auto; }
.map-header .brand {
  position: absolute;
  left: 76px;
  top: 76px;
}

.map-header .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
}
.brand-logo img {
  display: block;
  width: auto;
  height: 105px;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45));
  transition: transform 200ms ease, filter 200ms ease;
}
.brand:hover .brand-logo img {
  transform: scale(1.04);
  filter: drop-shadow(0 6px 18px rgba(244, 195, 93, 0.35));
}
@media (max-width: 640px) {
  .brand-logo img { height: 55px; }
}

.map-header nav {
  display: flex;
  gap: 10px;
  align-items: center;
}
.nav-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.nav-btn:hover {
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  border-color: rgba(244,195,93,0.55);
}
.nav-btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  border: none;
  color: var(--on-primary);
  font-weight: 700;
  box-shadow: 0 8px 24px -8px rgba(244, 182, 67, 0.45);
}
.nav-btn-primary:hover {
  transform: translateY(-1px);
  color: var(--on-primary);
}

.map-main {
  position: relative;
  width: 100vw;
  height: 100vh;
}

.map-viewport {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  background: #050507;
}
.map-viewport:active { cursor: grabbing; }

.map-stage {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  will-change: transform;
}

.map-image {
  display: block;
  width: 2752px;
  height: 1536px;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  position: absolute;
  top: 0;
  left: 0;
}
.map-image-current {
  z-index: 0;
  opacity: 1;
}
.map-image-next {
  z-index: 1;
  opacity: 0;
  transition: opacity 900ms cubic-bezier(0.4, 0, 0.2, 1);
}
@media (prefers-reduced-motion: reduce) {
  .map-image-next { transition: opacity 280ms ease-out; }
}

.pin-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 2752px;
  height: 1536px;
  pointer-events: none;
}

.pin {
  position: absolute;
  transform: translate(-50%, -100%);
  width: 30px;
  height: 42px;
  border: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 42'><path d='M15 0C6.7 0 0 6.7 0 15c0 11.25 15 27 15 27s15-15.75 15-27C30 6.7 23.3 0 15 0z' fill='%23EA4335' stroke='%23B31412' stroke-width='1'/><circle cx='15' cy='15' r='5' fill='white'/></svg>") no-repeat center / contain;
  cursor: pointer;
  padding: 0;
  pointer-events: auto;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,0.45));
  -webkit-tap-highlight-color: transparent;
  transition: transform 180ms ease, filter 180ms ease;
}
.pin:hover,
.pin:focus-visible {
  transform: translate(-50%, -100%) scale(1.12);
  filter: drop-shadow(0 5px 8px rgba(0,0,0,0.55));
}

/* Vignette overlay */
.map-viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(9, 9, 11, 0.55) 100%);
  z-index: 5;
  transition: background 600ms ease, backdrop-filter 600ms ease;
}

/* Defocus während Station-Focus: nur Image-Dimming, andere Pins gedimmt — KEIN Blur */
body[data-focus="1"] .map-image {
  filter: brightness(0.72) saturate(0.9);
  transition: filter 700ms cubic-bezier(0.4, 0, 0.2, 1);
}
.map-image {
  transition: filter 700ms cubic-bezier(0.4, 0, 0.2, 1);
}
/* Season-conditional pins: pin hidden if its [data-seasons] does not include current body season */
body[data-season="winter"] .pin[data-seasons]:not([data-seasons~="winter"]),
body[data-season="spring"] .pin[data-seasons]:not([data-seasons~="spring"]),
body[data-season="summer"] .pin[data-seasons]:not([data-seasons~="summer"]),
body[data-season="fall"]   .pin[data-seasons]:not([data-seasons~="fall"]) {
  display: none;
}

body[data-focus="1"] .pin:not(.is-focused) {
  opacity: 0.28;
  transform: translate(-50%, -100%) scale(0.85);
  transition: opacity 500ms ease, transform 500ms ease;
}
.pin.is-focused {
  z-index: 10;
  transform: translate(-50%, -100%) scale(1.25);
  filter: drop-shadow(0 6px 14px rgba(234, 67, 53, 0.65)) drop-shadow(0 0 22px rgba(234, 67, 53, 0.55));
  animation: pin-pulse 2.2s ease-in-out infinite;
}
@keyframes pin-pulse {
  0%, 100% { filter: drop-shadow(0 6px 14px rgba(234, 67, 53, 0.6)) drop-shadow(0 0 18px rgba(234, 67, 53, 0.45)); }
  50% { filter: drop-shadow(0 8px 18px rgba(234, 67, 53, 0.85)) drop-shadow(0 0 32px rgba(234, 67, 53, 0.7)); }
}

/* Pin-Editor-Mode v2 (URL ?pin-edit=1) */
.pin-edit-mode .map-image { cursor: crosshair; pointer-events: auto; }
.pin-edit-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  background: rgba(59, 130, 246, 0.92);
  color: white;
  padding: 4px 8px;
  font-size: 11px;
  font-family: "Manrope", monospace;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  border: 2px solid rgba(255, 255, 255, 0.6);
  z-index: 6;
}

.pin-editor-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, 92vw);
  background: rgba(15, 15, 22, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 22px;
  z-index: 100;
  box-shadow: 0 24px 60px -10px rgba(0,0,0,0.7);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: "Manrope", system-ui, sans-serif;
  color: #e5e5ea;
}
.pin-editor-modal h3 {
  margin: 0 0 4px;
  font-family: "Oxanium", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #f4c35d;
}
.pin-editor-modal label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.68);
}
.pin-editor-modal input,
.pin-editor-modal textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 8px 10px;
  color: white;
  font-family: inherit;
  font-size: 0.9rem;
}
.pin-editor-modal input:focus,
.pin-editor-modal textarea:focus {
  outline: none;
  border-color: #f4c35d;
}
.pin-editor-modal .pf-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 8px;
}
.pin-editor-modal button {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: rgba(255,255,255,0.82);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.88rem;
}
.pin-editor-modal #pf-save {
  background: linear-gradient(135deg, #f4c35d, #f59e0b);
  color: #09090b;
  border: none;
  font-weight: 600;
}

.pin-edit-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 10px 18px;
  background: #f4c35d;
  color: #1a1a1a;
  font: 600 0.95rem/1.3 "Manrope", sans-serif;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.pin-edit-mode .map-main { margin-top: 44px; }
.pin-edit-mode .map-image-next { pointer-events: none !important; }
.pin-editor-list {
  position: fixed;
  top: 80px;
  right: 18px;
  width: 320px;
  max-height: calc(100vh - 100px);
  background: rgba(15, 15, 22, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: "Manrope", sans-serif;
  color: #e5e5ea;
  backdrop-filter: blur(10px);
}
.pin-editor-list header {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  color: #f4c35d;
}
.pin-editor-list ol {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 50vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pin-editor-list ol li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.04);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  gap: 6px;
}
.pin-editor-list ol li button {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  font-size: 1rem;
}
.pin-editor-list ol li button:hover { color: #ef4444; }
.pin-editor-list footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pin-editor-list footer button {
  flex: 1;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(59,130,246,0.18);
  border: 1px solid rgba(59,130,246,0.4);
  color: white;
  font-size: 0.78rem;
  cursor: pointer;
  font-family: inherit;
}
.pin-editor-list footer button:hover { background: rgba(59,130,246,0.3); }
.pin-editor-list footer #pin-clear {
  background: rgba(239,68,68,0.18);
  border-color: rgba(239,68,68,0.4);
}

@media (max-width: 768px) {
  .pin { width: 44px; height: 56px; }
  .pin::before { width: 30px; height: 30px; }
}

/* Side-Panel */
.map-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: var(--map-panel-w);
  height: 100vh;
  padding: 86px 32px 32px;
  background: rgba(15, 15, 22, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-left: 1px solid rgba(255,255,255,0.08);
  transform: translateX(110%);
  transition: transform 420ms cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 420ms;
  z-index: 40;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  visibility: hidden;
}
.map-panel[data-state="open"] {
  transform: translateX(0);
  visibility: visible;
  transition: transform 420ms cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
}

.panel-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
}
.panel-close:hover {
  background: rgba(244,195,93,0.18);
  transform: scale(1.05);
}

.map-panel .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,195,93,0.85);
  margin: 0;
}
.map-panel h2 {
  font-family: "Oxanium", sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  color: #ffffff;
}
.map-panel > p {
  color: rgba(255,255,255,0.72);
  font-size: 0.96rem;
  line-height: 1.55;
  margin: 0;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  position: relative;
}
.service-list li.service-item {
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 150ms ease;
}
.service-list li.service-item:hover,
.service-list li.service-item:focus-visible {
  background: rgba(244, 195, 93, 0.08);
  border-color: rgba(244, 195, 93, 0.4);
  outline: none;
  transform: translateX(-2px);
}
.service-list li.service-item .service-chev {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(244, 195, 93, 0.55);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1;
  transition: transform 180ms ease, color 180ms ease;
}
.service-list li.service-item:hover .service-chev,
.service-list li.service-item:focus-visible .service-chev {
  color: #f4c35d;
  transform: translateY(-50%) translateX(3px);
}

/* Service-Detail-Modal */
.service-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 7, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: svc-overlay-in 220ms ease-out;
}
@keyframes svc-overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.service-modal {
  background: linear-gradient(180deg, rgba(20, 20, 28, 0.98), rgba(15, 15, 22, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 32px 32px 28px;
  max-width: 560px;
  width: 100%;
  position: relative;
  color: #e5e5ea;
  box-shadow: 0 24px 60px -10px rgba(0,0,0,0.7), 0 0 0 1px rgba(244, 195, 93, 0.08);
  animation: svc-modal-in 280ms cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes svc-modal-in {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.svc-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 150ms ease;
}
.svc-modal-close:hover {
  background: rgba(244,195,93,0.18);
}
.svc-hero {
  position: relative;
  margin: -32px -32px 18px;
  padding: 38px 32px 22px;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  background:
    radial-gradient(ellipse at top right, rgba(244,195,93,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(59,130,246,0.10) 0%, transparent 55%),
    linear-gradient(180deg, rgba(28,28,38,0.95), rgba(15,15,22,0.95));
  border-bottom: 1px solid rgba(244,195,93,0.18);
  overflow: hidden;
}
.svc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.04) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,0.03) 0 1px, transparent 2px),
    radial-gradient(circle at 40% 80%, rgba(255,255,255,0.04) 0 1px, transparent 2px);
  background-size: 80px 80px;
  pointer-events: none;
  opacity: 0.6;
}
.svc-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(244,195,93,0.95), rgba(245,158,11,0.85));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 14px;
  box-shadow: 0 10px 24px -8px rgba(244,182,67,0.55), inset 0 1px 0 rgba(255,255,255,0.25);
  color: #1a1a1a;
  position: relative;
  z-index: 1;
}
.svc-icon svg { width: 36px; height: 36px; }
.service-modal .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,195,93,0.85);
  margin: 0 0 10px;
  position: relative;
  z-index: 1;
}
.svc-hero h3 {
  position: relative;
  z-index: 1;
}
.service-modal h3 {
  font-family: "Oxanium", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.2;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.svc-seasonal-pill {
  display: inline-block;
  font-family: "Manrope", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #f4c35d, #f59e0b);
  color: #09090b;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.svc-short {
  color: rgba(244,195,93,0.85);
  font-size: 0.95rem;
  margin: 0 0 16px;
}
.svc-description {
  color: rgba(255,255,255,0.82);
  font-size: 0.96rem;
  line-height: 1.62;
  margin: 0 0 24px;
}
.svc-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.svc-back {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.78);
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.92rem;
}
.svc-back:hover { background: rgba(255,255,255,0.06); }
.svc-cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  background: linear-gradient(135deg, #f4c35d, #f59e0b);
  color: #09090b;
  font-weight: 600;
  font-size: 0.94rem;
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.svc-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -8px rgba(244,195,93,0.5);
}
@media (max-width: 600px) {
  .service-modal { padding: 26px 22px 22px; }
  .service-modal h3 { font-size: 1.35rem; }
}
.service-list li strong {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.96rem;
}
.service-list li span {
  color: rgba(255,255,255,0.62);
  font-size: 0.84rem;
}

.map-panel .btn {
  margin-top: auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 22px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #f4c35d, #f59e0b);
  color: #09090b;
  border: none;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.map-panel .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -10px rgba(244,195,93,0.45);
}

.season-particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 8;
  display: block;
}

/* Bottom HUD */
.map-hud-bottom {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 45;
  display: flex;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(15, 15, 22, 0.72);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  border-radius: 999px;
  transition: opacity 320ms ease, transform 320ms ease;
  align-items: center;
}
.map-hud-bottom.is-faded {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
  pointer-events: none;
}

/* Season-Toggle (Segmented Control) */
.season-toggle {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
}
.season-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-family: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}
.season-btn:hover {
  background: rgba(255,255,255,0.06);
  color: white;
}
.season-btn[aria-checked="true"] {
  background: linear-gradient(135deg, #f4c35d, #f59e0b);
  color: #09090b;
  font-weight: 600;
}
.season-icon { font-size: 1.05rem; line-height: 1; }
.season-label { letter-spacing: 0.02em; }

@media (max-width: 600px) {
  .season-label { display: none; }
  .season-btn { padding: 6px 9px; }
  .season-icon { font-size: 1.2rem; }
}
@media (max-width: 480px) {
  .map-hud-bottom { flex-wrap: wrap; max-width: 90vw; justify-content: center; }
}

/* Season-relevanter Service-Eintrag im Panel */
.service-list li.is-seasonal-relevant {
  border-color: rgba(244, 195, 93, 0.55);
  background: rgba(244, 195, 93, 0.08);
  box-shadow: 0 0 0 1px rgba(244, 195, 93, 0.18);
  position: relative;
}
.service-list li.is-seasonal-relevant::before {
  content: "Saisonal relevant";
  position: absolute;
  top: -8px;
  right: 12px;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #f4c35d, #f59e0b);
  color: #09090b;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
}
body[data-view="overview"] #btn-overview { display: none; }

.btn-ghost, .btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  color: rgba(255,255,255,0.82);
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  color: #ffffff;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  border: none;
  color: var(--on-primary);
  font-weight: 700;
  box-shadow: 0 8px 24px -8px rgba(244, 182, 67, 0.45);
}
.btn-primary:hover {
  transform: translateY(-1px);
}

/* ── DG-Logo Gradient Borders (blau → gelb) — Pseudo-Frame via ::after ── */
.nav-btn:not(.nav-btn-primary),
.map-panel,
.map-hud-bottom,
.pov-toggle,
.pov-close,
.service-modal,
.svc-modal-close,
.pov-reveal-bubble,
.service-card,
.pin-editor-list,
.pin-editor-modal {
  position: relative;
  border-color: transparent !important;
}
.nav-btn:not(.nav-btn-primary)::after,
.map-panel::after,
.map-hud-bottom::after,
.pov-toggle::after,
.pov-close::after,
.service-modal::after,
.svc-modal-close::after,
.pov-reveal-bubble::after,
.service-card::after,
.pin-editor-list::after,
.pin-editor-modal::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: var(--gradient-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}
.map-hud-bottom > *,
.pov-toggle > *,
.service-modal > *,
.map-panel > *,
.pin-editor-list > *,
.service-card > * {
  position: relative;
  z-index: 1;
}
.pov-reveal-bubble::after {
  padding: 3px;
  z-index: 4;
}
.service-card:hover::after,
.nav-btn:not(.nav-btn-primary):hover::after {
  background: linear-gradient(135deg, #6f9bff 0%, #f4c35d 60%, #fbbf24 100%);
}

/* Initial hint — JS-controlled */
.map-hint {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity 600ms ease;
  text-align: center;
  padding: 10px 18px;
  background: rgba(15,15,22,0.55);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.map-hint.is-visible { opacity: 1; }

/* Contact section unter Map */
.contact-panel {
  display: none;
}

/* Mobile */
@media (max-width: 768px) {
  :root { --map-panel-w: 100vw; }
  .map-header { padding: 14px 18px; }
  .map-header nav { display: none; }
}

/* ── Phase 2: Pin-Hover-Bubble ────────────────────────────────── */
.pin-bubble {
  position: fixed;
  width: 240px;
  background: rgba(15, 15, 22, 0.94);
  border: 1px solid rgba(244, 195, 93, 0.22);
  border-radius: 14px;
  padding: 0;
  box-shadow: 0 18px 38px -10px rgba(0,0,0,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px) scale(0.97);
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 70;
  overflow: hidden;
}
.pin-bubble.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.pin-bubble-thumb {
  width: 100%;
  height: 130px;
  background: rgba(0,0,0,0.4);
  overflow: hidden;
}
.pin-bubble-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pin-bubble-meta {
  padding: 10px 14px 12px;
}
.pin-bubble-eyebrow {
  margin: 0 0 3px;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,195,93,0.85);
}
.pin-bubble-title {
  margin: 0;
  font-family: "Oxanium", sans-serif;
  font-size: 0.94rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.25;
}
@media (max-width: 600px) {
  .pin-bubble { display: none; }
}

/* ── Phase 2: Station-Modal (POV-Bild links, Service-Tiles rechts) ── */
.station-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 7, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 220ms ease;
}
.station-modal-overlay[hidden] { display: none; }
.station-modal-overlay.is-open { opacity: 1; }

.station-modal {
  background: linear-gradient(180deg, rgba(20, 22, 38, 0.99), rgba(13, 14, 26, 0.99));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  padding: 0;
  width: min(960px, 96vw);
  max-height: 88vh;
  overflow: hidden;
  color: #e8ecf7;
  box-shadow: 0 30px 70px -16px rgba(0,0,0,0.85), 0 0 0 1px rgba(244, 195, 93, 0.06);
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
}
.station-modal-overlay.is-open .station-modal {
  transform: translateY(0) scale(1);
}

.sm-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: #ffffff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
  z-index: 4;
}
.sm-close:hover { background: rgba(244,195,93,0.22); transform: scale(1.05); }

.sm-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  width: 100%;
  min-height: 460px;
  max-height: 88vh;
}

/* Left column — POV image */
.sm-left {
  position: relative;
  background: #0a0d1f;
  display: flex;
  flex-direction: column;
}
.sm-img-wrap {
  position: relative;
  flex: 1;
  overflow: hidden;
  min-height: 320px;
}
.sm-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 420ms ease;
}
.sm-image-dirty { opacity: 1; z-index: 1; }
.sm-image-clean { opacity: 0; z-index: 2; }
.station-modal-overlay[data-toggle="clean"] .sm-image-clean { opacity: 1; }
.station-modal-overlay[data-toggle="clean"] .sm-image-dirty { opacity: 0; }

.sm-toggle {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin: 12px 14px 14px;
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  align-self: center;
}
.sm-toggle button {
  padding: 6px 14px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.72);
  font: inherit;
  font-size: 0.84rem;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}
.sm-toggle button.is-active {
  background: linear-gradient(135deg, #f4c35d, #f59e0b);
  color: #09090b;
  font-weight: 600;
}

/* Right column — content + tiles */
.sm-right {
  padding: 32px 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}
.sm-right .eyebrow {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,195,93,0.85);
}
.sm-right h3 {
  margin: 0;
  font-family: "Oxanium", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}
.sm-copy {
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  line-height: 1.55;
}
.sm-tiles-hd {
  margin: 14px 0 4px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.sm-tiles {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sm-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 180ms ease, border-color 180ms ease, transform 150ms ease;
}
.sm-tile:hover,
.sm-tile:focus-visible {
  background: rgba(244,195,93,0.08);
  border-color: rgba(244,195,93,0.4);
  outline: none;
  transform: translateX(-2px);
}
.sm-tile-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(244,195,93,0.95), rgba(245,158,11,0.85));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}
.sm-tile-icon svg { width: 22px; height: 22px; }
.sm-tile-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.sm-tile-body strong {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.94rem;
}
.sm-tile-body span {
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
}
.sm-tile-chev {
  margin-left: auto;
  color: rgba(244,195,93,0.6);
  font-size: 1.2rem;
  font-weight: 600;
  transition: transform 180ms ease, color 180ms ease;
  flex-shrink: 0;
}
.sm-tile:hover .sm-tile-chev,
.sm-tile:focus-visible .sm-tile-chev {
  color: #f4c35d;
  transform: translateX(3px);
}
.sm-tile.is-seasonal-relevant {
  border-color: rgba(244, 195, 93, 0.55);
  background: rgba(244, 195, 93, 0.08);
  box-shadow: 0 0 0 1px rgba(244, 195, 93, 0.18);
}

.sm-cta {
  margin-top: auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 13px 22px;
  border-radius: 13px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #f4c35d, #f59e0b);
  color: #09090b;
  border: none;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.sm-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -10px rgba(244,195,93,0.55);
}

/* Mobile: stack columns */
@media (max-width: 820px) {
  .station-modal { width: 96vw; max-height: 94vh; }
  .sm-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    min-height: 0;
  }
  .sm-img-wrap { min-height: 200px; max-height: 38vh; }
  .sm-right { padding: 22px 22px 18px; }
  .sm-right h3 { font-size: 1.3rem; }
}

.services-all-link {
  text-align: center;
  margin-top: 28px;
}
