/* ============================================================
   /roadmap v2 — Public Roadmap mit klickbarem Quartal-Zeitstrahl.
   Komplett gescoped unter body.roadmap-page.
   ============================================================ */

.roadmap-page {
  --rm-bg-void:        #06060b;
  --rm-bg-card:        rgba(255,255,255,0.03);
  --rm-bg-card-strong: rgba(255,255,255,0.05);
  --rm-border-subtle:  rgba(255,255,255,0.08);
  --rm-text:           #fff;
  --rm-text-muted:     rgba(255,255,255,0.62);
  --rm-text-dim:       rgba(255,255,255,0.42);

  --rm-shipped: #10B981;
  --rm-now:     #A855F7;
  --rm-next:    #3B82F6;
  --rm-later:   #6B7280;

  --rm-gradient: linear-gradient(135deg, #7C3AED 0%, #A855F7 50%, #EC4899 100%);

  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--rm-bg-void);
  color: var(--rm-text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}
.roadmap-page *, .roadmap-page *::before, .roadmap-page *::after { box-sizing: border-box; }
.roadmap-page a { color: #c084fc; text-decoration: none; transition: color .2s ease; }
.roadmap-page a:hover { color: #ec4899; }
.roadmap-page code {
  font-family: 'JetBrains Mono', monospace;
  font-size: .85em;
  padding: 1px 6px;
  background: rgba(168,85,247,0.1);
  border: 1px solid rgba(168,85,247,0.18);
  border-radius: 5px;
  color: #c4b5fd;
}

/* ---- Cosmic Background ---- */
.roadmap-bg {
  position: fixed; inset: 0; z-index: -10;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 25% 18%, rgba(124,58,237,.16) 0%, transparent 70%),
    radial-gradient(ellipse 45% 40% at 80% 88%, rgba(236,72,153,.10) 0%, transparent 70%),
    linear-gradient(180deg, #06060b 0%, #0d081a 50%, #06060b 100%);
}
.roadmap-bg-orb {
  position: fixed; z-index: -9;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  will-change: transform, opacity;
}
.roadmap-bg-orb-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(124,58,237,0.55) 0%, transparent 70%);
  top: -100px; left: -100px;
  animation: rm-orb-1 50s ease-in-out infinite;
}
.roadmap-bg-orb-2 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(236,72,153,0.4) 0%, transparent 70%);
  bottom: -160px; right: -160px;
  animation: rm-orb-2 58s ease-in-out infinite;
}
@keyframes rm-orb-1 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.32; }
  50%      { transform: translate(120px, 80px) scale(1.15); opacity: 0.45; }
}
@keyframes rm-orb-2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.28; }
  50%      { transform: translate(-100px, -60px) scale(1.1); opacity: 0.42; }
}
.roadmap-stars { position: fixed; inset: 0; z-index: -8; pointer-events: none; opacity: 0.3; }
.rm-star {
  position: absolute; width: 2px; height: 2px;
  background: #fff; border-radius: 50%;
  box-shadow: 0 0 4px rgba(255,255,255,0.6);
  animation: rm-twinkle 4s ease-in-out infinite;
}
@keyframes rm-twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%      { opacity: 0.85; transform: scale(1.3); }
}

/* ---- Header (eigene Page-Nav) ---- */
.rm-header {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 24px 0;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.rm-header .logo svg { width: 180px; height: 50px; display: block; }
.rm-header nav {
  display: flex; gap: 22px; margin-left: auto;
  flex-wrap: wrap; align-items: center;
}
.rm-header nav a {
  color: rgba(255,255,255,0.62);
  font-size: 14px; font-weight: 500;
}
.rm-header nav a:hover { color: #fff; }

/* ---- Container & Hero ---- */
.rm-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.rm-hero { padding: 56px 0 28px; }
.rm-eyebrow {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(168,85,247,0.12);
  border: 1px solid rgba(168,85,247,0.3);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #c4b5fd;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.rm-hero h1 {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: clamp(36px, 5.4vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}
.rm-hero h1 .accent {
  background: var(--rm-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.rm-hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--rm-text-muted);
  max-width: 720px;
  margin: 0 0 18px;
  line-height: 1.55;
}
.rm-hero-meta {
  font-size: 12px;
  color: var(--rm-text-dim);
  letter-spacing: 0.04em;
}
.rm-hero-meta strong { color: rgba(255,255,255,0.78); font-weight: 500; }

/* ============ Zeitstrahl ============ */
.rm-timeline-wrap {
  position: relative;
  margin: 28px 0 44px;
  padding: 32px 28px 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--rm-border-subtle);
  border-radius: 18px;
  overflow: hidden;
}
.rm-timeline-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(124,58,237,0.7) 30%,
    rgba(236,72,153,0.7) 70%,
    transparent 100%);
}
.rm-timeline-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--rm-text-dim);
  font-weight: 600;
  margin-bottom: 22px;
}
.rm-timeline-title::before {
  content: '';
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, rgba(168,85,247,0.6), transparent);
}

/* Track + Dots-Layout */
.rm-timeline {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 6px;
  padding: 18px 8px 6px;
}
.rm-timeline::before {
  /* Verlaufslinie hinter den Dots */
  content: '';
  position: absolute;
  left: 28px; right: 28px;
  top: 41px;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(16,185,129,0.5) 0%,
    rgba(168,85,247,0.7) 35%,
    rgba(59,130,246,0.55) 65%,
    rgba(107,114,128,0.45) 100%);
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(168,85,247,0.25);
  z-index: 0;
}

.rm-tl-bucket {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 4px 6px 8px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  border-radius: 12px;
  transition: background .25s ease;
}
.rm-tl-bucket:hover { background: rgba(255,255,255,0.04); }
.rm-tl-bucket:focus-visible {
  outline: 2px solid rgba(168,85,247,0.6);
  outline-offset: 2px;
}

.rm-tl-dot {
  position: relative;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--rm-bg-void);
  border: 2px solid var(--rm-later);
  flex-shrink: 0;
  transition: transform .25s cubic-bezier(.22,1,.36,1), border-color .25s, box-shadow .25s;
}
.rm-tl-bucket[data-status="shipped"] .rm-tl-dot { border-color: var(--rm-shipped); }
.rm-tl-bucket[data-status="now"]     .rm-tl-dot { border-color: var(--rm-now); }
.rm-tl-bucket[data-status="next"]    .rm-tl-dot { border-color: var(--rm-next); }
.rm-tl-bucket[data-status="later"]   .rm-tl-dot { border-color: var(--rm-later); }

/* Inner-Fill je nach Status */
.rm-tl-bucket[data-status="shipped"] .rm-tl-dot::after,
.rm-tl-bucket[data-status="now"]     .rm-tl-dot::after,
.rm-tl-bucket[data-status="next"]    .rm-tl-dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
}
.rm-tl-bucket[data-status="shipped"] .rm-tl-dot::after { background: var(--rm-shipped); }
.rm-tl-bucket[data-status="now"]     .rm-tl-dot::after { background: var(--rm-now); }
.rm-tl-bucket[data-status="next"]    .rm-tl-dot::after {
  background: var(--rm-next);
  opacity: 0.55;
}
/* Now-Dot pulsiert */
.rm-tl-bucket[data-status="now"] .rm-tl-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(168,85,247,0.45);
  z-index: -1;
  animation: rm-now-pulse 2.2s ease-in-out infinite;
}
@keyframes rm-now-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%      { transform: scale(1.6); opacity: 0; }
}

.rm-tl-bucket:hover .rm-tl-dot { transform: scale(1.18); box-shadow: 0 0 12px rgba(168,85,247,0.5); }

.rm-tl-bucket.is-active .rm-tl-dot {
  transform: scale(1.25);
  box-shadow: 0 0 0 4px rgba(168,85,247,0.18), 0 0 18px rgba(168,85,247,0.55);
}
.rm-tl-bucket.is-active {
  background: rgba(168,85,247,0.08);
}

.rm-tl-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--rm-text-muted);
  white-space: nowrap;
  text-align: center;
}
.rm-tl-bucket.is-active .rm-tl-label { color: #fff; }

.rm-tl-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--rm-text-dim);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--rm-border-subtle);
  padding: 1px 7px;
  border-radius: 999px;
  min-width: 22px;
  text-align: center;
}
.rm-tl-bucket.is-active .rm-tl-count {
  background: rgba(168,85,247,0.18);
  color: #c4b5fd;
  border-color: rgba(168,85,247,0.4);
}

/* Reset-Button + Filter-Status */
.rm-filter-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed rgba(255,255,255,0.08);
  font-size: 13px;
  color: var(--rm-text-muted);
  flex-wrap: wrap;
}
.rm-filter-status strong { color: #fff; font-weight: 600; }
.rm-filter-reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(168,85,247,0.12);
  border: 1px solid rgba(168,85,247,0.4);
  border-radius: 999px;
  color: #c4b5fd;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, border-color .2s, color .2s;
}
.rm-filter-reset:hover {
  background: rgba(168,85,247,0.22);
  border-color: rgba(168,85,247,0.65);
  color: #fff;
}
.rm-filter-reset[hidden] { display: none; }

/* ============ Cards-Grid ============ */
.rm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  padding-bottom: 80px;
}
.rm-card {
  position: relative;
  padding: 20px 20px 18px;
  background: var(--rm-bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--rm-border-subtle);
  border-top: 3px solid var(--rm-later);
  border-radius: 14px;
  transition:
    transform .35s cubic-bezier(.22,1,.36,1),
    border-color .25s ease,
    box-shadow .25s ease,
    opacity .35s ease;
  opacity: 0;
  transform: translateY(12px);
}
.rm-card.is-revealed { opacity: 1; transform: translateY(0); }
.rm-card[data-status="shipped"] { border-top-color: var(--rm-shipped); }
.rm-card[data-status="now"]     { border-top-color: var(--rm-now); }
.rm-card[data-status="next"]    { border-top-color: var(--rm-next); }
.rm-card[data-status="later"]   { border-top-color: var(--rm-later); }

.rm-card:hover {
  transform: translateY(-3px);
  border-color: rgba(168,85,247,0.35);
  box-shadow: 0 18px 36px -16px rgba(124,58,237,0.5);
}
.rm-card[data-status="shipped"]:hover { border-color: rgba(16,185,129,0.4); box-shadow: 0 18px 36px -16px rgba(16,185,129,0.45); }
.rm-card[data-status="next"]:hover    { border-color: rgba(59,130,246,0.4); box-shadow: 0 18px 36px -16px rgba(59,130,246,0.45); }

/* Now-Cards: pulsierender Top-Border */
.rm-card[data-status="now"]::before {
  content: '';
  position: absolute;
  top: -3px; left: -1px; right: -1px;
  height: 3px;
  background: var(--rm-now);
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  box-shadow: 0 0 14px rgba(168,85,247,0.6);
  opacity: 0.5;
  animation: rm-card-now-pulse 2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes rm-card-now-pulse {
  0%, 100% { opacity: 0.32; }
  50%      { opacity: 0.7; }
}

/* Filter-Modus: ausgeblendete Cards */
.rm-card.is-hidden {
  opacity: 0;
  transform: translateY(8px) scale(.97);
  pointer-events: none;
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
  border-width: 0;
  overflow: hidden;
}

.rm-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.rm-card-status-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
}
.rm-card[data-status="shipped"] .rm-card-status-pill { background: rgba(16,185,129,0.14);  color: var(--rm-shipped); border: 1px solid rgba(16,185,129,0.35); }
.rm-card[data-status="now"]     .rm-card-status-pill { background: rgba(168,85,247,0.14);  color: var(--rm-now);     border: 1px solid rgba(168,85,247,0.4); }
.rm-card[data-status="next"]    .rm-card-status-pill { background: rgba(59,130,246,0.14);  color: var(--rm-next);    border: 1px solid rgba(59,130,246,0.4); }
.rm-card[data-status="later"]   .rm-card-status-pill { background: rgba(107,114,128,0.14); color: #9ca3af;            border: 1px solid rgba(107,114,128,0.4); }
.rm-card-status-pill::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.rm-card-eta {
  flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.rm-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: #fff;
  margin: 0 0 8px;
}
.rm-card-desc {
  font-size: 13.5px;
  color: var(--rm-text-muted);
  line-height: 1.55;
  margin: 0 0 14px;
}
.rm-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.rm-card-tag {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-family: 'JetBrains Mono', monospace;
}

.rm-no-results {
  grid-column: 1 / -1;
  padding: 48px 24px;
  background: var(--rm-bg-card);
  border: 1px dashed var(--rm-border-subtle);
  border-radius: 14px;
  text-align: center;
  color: var(--rm-text-dim);
  font-size: 14px;
  font-style: italic;
  display: none;
}
.rm-no-results.is-visible { display: block; }

/* ---- Mobile Stacking ---- */
@media (max-width: 720px) {
  .rm-timeline-wrap { padding: 26px 18px 22px; }
  .rm-timeline { gap: 4px; padding: 14px 4px 4px; }
  .rm-timeline::before { left: 18px; right: 18px; top: 36px; }
  .rm-tl-label { font-size: 10px; }
  .rm-tl-count { font-size: 9px; padding: 1px 6px; }
  .rm-grid { grid-template-columns: 1fr; gap: 14px; padding-bottom: 60px; }
  .rm-hero { padding: 40px 0 22px; }
}
@media (max-width: 480px) {
  .rm-tl-bucket { padding: 4px 2px 6px; }
  .rm-tl-label { font-size: 9px; }
  .rm-card { padding: 18px 16px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .rm-tl-bucket[data-status="now"] .rm-tl-dot::before,
  .rm-card[data-status="now"]::before,
  .roadmap-bg-orb-1, .roadmap-bg-orb-2, .rm-star { animation: none !important; }
  .rm-card { opacity: 1; transform: none; transition: none; }
  .rm-card.is-hidden { display: none !important; }
}
