/* PoP Home Route Map – Startseiten-Segelrouten-Karte */

#pop-home-root,
#pop-home-root * {
  box-sizing: border-box;
  font-family: inherit;
  user-select: none;
  -webkit-user-select: none;
}

#pop-home-root {
  position: relative;
  background: #16241c;
  color: #f4f1e8;
}

#pop-home-pinwrap {
  position: relative;
}

#pop-home-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: clip;
}

#pop-home-map {
  position: absolute;
  inset: 0;
  background: #16241c;
}

#pop-home-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 10;
}

#pop-home-countries {
  position: absolute;
  inset: 0;
  z-index: 55;
  pointer-events: none;
}

#pop-home-markers {
  position: absolute;
  inset: 0;
  z-index: 30;
  pointer-events: none;
}

#pop-home-boat {
  position: absolute;
  left: -100px;
  top: -100px;
  width: 44px;
  height: 60px;
  z-index: 50;
  pointer-events: none;
  will-change: left, top, transform;
}

#pop-home-boat-inner {
  width: 100%;
  height: 100%;
  animation: pop-home-bob 2.6s ease-in-out infinite;
  filter: drop-shadow(0 6px 7px rgba(0, 0, 0, 0.5));
}

#pop-home-vignette {
  display: none;
}

#pop-home-vignette {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 59;
  pointer-events: none;
  background: radial-gradient(ellipse 110% 130% at 0% 0%, rgba(10,20,16,.82) 0%, rgba(10,20,16,.45) 40%, rgba(10,20,16,0) 72%);
  max-width: 500px;
  max-height: 140px;
}

#pop-home-brand {
  position: absolute;
  top: clamp(1.5rem, 4vh, 2.5rem);
  left: clamp(1.5rem, 4vw, 3rem);
  z-index: 60;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

#pop-home-skip-controls {
  position: absolute;
  top: clamp(1.5rem, 4vh, 2.5rem);
  right: clamp(1.5rem, 4vw, 3rem);
  z-index: 60;
}

.pop-home-skip-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none !important;
}

#pop-home-skip-down {
  width: auto;
  height: auto;
  gap: 0.375rem;
  padding: 0.5rem 1.25rem !important;
  border-radius: 999px !important;
  background: rgba(18, 30, 26, 0.8) !important;
  background-color: rgba(18, 30, 26, 0.8) !important;
  color: #f4f1e8 !important;
  border: 1px solid rgba(244, 241, 232, 0.15) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, transform 0.15s;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.4);
  line-height: 1;
}

#pop-home-skip-down:hover {
  color: #F4D659 !important;
  border-color: rgba(244, 214, 89, 0.4) !important;
  background: rgba(18, 30, 26, 0.95) !important;
  background-color: rgba(18, 30, 26, 0.95) !important;
}

#pop-home-skip-down:active {
  transform: scale(0.92);
}

#pop-home-brand-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-family: "Keep on Truckin", sans-serif;
  font-weight: 700;
  color: #F4D659;
  text-shadow: none;
  letter-spacing: 0;
  line-height: 1.1em;
}

#pop-home-brand-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 500;
  color: #EFF1EF;
  letter-spacing: 0;
  margin-top: 0;
}

#pop-home-brand-sub {
  font-size: clamp(0.85rem, 1.8vw, 0.875rem);
  font-weight: 500;
  color: #EFF1EF;
  letter-spacing: 0;
  margin-top: 0.25em;
}

#pop-home-scrollhint {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 4vh, 32px);
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  transition: opacity 0.3s;
  pointer-events: none;
}

#pop-home-scrollhint-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 241, 232, 0.6);
}

@keyframes pop-home-ping {
  0%        { box-shadow: 0 0 0 0px rgba(244,214,89,.65), 0 0 0 2px rgba(22,36,28,.6); }
  80%, 100% { box-shadow: 0 0 0 10px rgba(244,214,89,0),  0 0 0 2px rgba(22,36,28,.6); }
}

.pop-home-stop-dot::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
}

.pop-home-stop-dot:hover {
  animation: pop-home-ping 1.2s ease-out infinite;
}

#pop-home-infobar-wrap {
  position: absolute;
  left: 50%;
  bottom: clamp(2rem, 3vh, 2rem);
  transform: translateX(-50%) translateY(8px);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: min(33.75rem, 92vw);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s, transform 0.35s, background 0.25s, box-shadow 0.25s;
  background: rgba(18, 30, 26, 0.8);
  border-radius: 1.375rem;
  backdrop-filter: blur(1rem);
  -webkit-backdrop-filter: blur(1rem);
  box-shadow: 0 1.25rem 3.4375rem rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

#pop-home-infobar-wrap.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

#pop-home-infobar {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1rem .5rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background 0.2s;
}

#pop-home-infobar-wrap:hover {
  background: rgba(18, 30, 26, 0.95);
  box-shadow: 0 1.25rem 3.4375rem rgba(0, 0, 0, 0.7);
}

#pop-home-infobar-text {
  flex: 1;
  min-width: 0;
}

#pop-home-infobar-sub {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(244, 241, 232, 0.5);
  margin-bottom: 2px;
  white-space: nowrap;
}

#pop-home-infobar-ctas {
  display: flex;
  gap: 1rem;
  padding: 0 1rem 1rem;
}


@media (max-width: 767px) {
  .pop-home-skip-label { display: none; }
  #pop-home-skip-down {
    width: 2.5rem !important;
    height: 2.5rem !important;
    padding: 0 !important;
    border-radius: 50% !important;
  }

  .pop-home-departure-badge {
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
  }

  .pop-home-departure-label {
    font-size: 14px !important;
  }

  .pop-home-departure-pill {
    gap: 10px !important;
    padding: 8px 16px 8px 8px !important;
  }

  #pop-home-infobar-wrap {
    left: 50%;
    right: auto;
    bottom: clamp(32px, 7vh, 56px);
    width: fit-content;
    min-width: clamp(240px, 70vw, 340px);
    max-width: calc(100vw - 32px);
  }
  #pop-home-infobar-sub {
    font-size: 12px;
    letter-spacing: 0.03em;
  }
}

#pop-home-infobar-name {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: #f4f1e8;
  margin-top: 2px;
}

#pop-home-infobar-chevron {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(244, 241, 232, 0.08);
  color: #f4f1e8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, color 0.25s;
  margin-top: 0.125rem;
}

#pop-home-infobar:hover #pop-home-infobar-chevron {
  background: rgba(244, 241, 232, 0.14);
}

@keyframes pop-home-bob {
  0%,
  100% { transform: translateY(0.5px) rotate(-3.5deg); }
  50%  { transform: translateY(-2px)  rotate(3.5deg);  }
}

