/*
 * Roadmap als Seereise (Besitzer, 2026-11-28): die Versionen sind Inseln auf einer gestrichelten Route, ein
 * Piratenschiff segelt beim Scrollen mit (position: sticky – kein Skript), hinter der letzten Version liegt Nebel.
 */
.page-roadmap .intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 24px;
  background: var(--surface) padding-box;
  border-style: solid;
  border-width: 12px;
  border-image: url('/site/img/panel-parchment.png') 8 / 14px stretch;
  image-rendering: pixelated;
  padding: 8px 12px;
}
.page-roadmap .intro h1 {
  color: var(--text);
  text-shadow: none;
}
.road {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 64px;
}
/* Route: gestrichelte Kielwasser-Linie */
.road::before {
  content: '';
  position: absolute;
  left: 26px;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 4px dashed rgba(255, 248, 230, 0.75);
}
/* Das Schiff fährt mit: klebt in der Mitte des Fensters, solange die Route reicht */
.voyage {
  position: sticky;
  top: 42vh;
  height: 0;
  margin-left: -64px;
  z-index: 3;
  pointer-events: none;
}
.voyage .ship {
  position: absolute;
  left: 8px;
  top: -54px;
  width: 40px;
  height: auto;
  filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.35));
  animation: bob 3s ease-in-out infinite;
}
@keyframes bob {
  0%,
  100% {
    transform: rotate(-4deg) translateY(0);
  }
  50% {
    transform: rotate(4deg) translateY(4px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .voyage .ship {
    animation: none;
  }
}
.stage {
  position: relative;
  margin-bottom: 26px;
}
/* Halt als Insel: Sand, Grün, flaches Wasser */
.marker {
  position: absolute;
  left: -64px;
  top: 6px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: radial-gradient(circle at 50% 50%, #5aa04a 0 52%, #e8d3a0 53% 70%, #3f86b0 71%);
  border-radius: 50%;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  z-index: 2;
}
.stage.latest .marker {
  box-shadow:
    0 0 0 4px #ffd36b,
    0 3px 6px rgba(0, 0, 0, 0.3);
}
/* Hinter dem Nebel */
.stage.fog .card {
  opacity: 0.85;
}
.stage.fog::after {
  content: '';
  position: absolute;
  inset: -30px -16px -40px -80px;
  background: radial-gradient(closest-side at 30% 45%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(closest-side at 72% 62%, rgba(255, 255, 255, 0.5), transparent);
  pointer-events: none;
  z-index: 4;
}
.tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}
.new {
  background: var(--accent);
  color: var(--accent-text);
  border-radius: 4px;
  padding: 0 6px;
}
.card h2 {
  margin: 4px 0 8px;
  font-size: 1.2rem;
}
.card h3 {
  font-size: 1rem;
  margin: 12px 0 4px;
}
.jump {
  font-weight: 700;
}
