/* 25-nico-cursor.css — „Nico Zink“-Cursor als eigenständiger Guide (js/15-nico-cursor.js)
   Stand 25.11.2026, 4. Fassung. Das Element hängt im Dokument (position: absolute
   am Seitenursprung), JS bewegt es per transform von Station zu Station; so scrollt
   es mit dem Inhalt. Die Pfeilspitze liegt genau auf dem Ursprung des Elements.
   Farbe = Trennstrich der aktiven Sektion (data-color). Kontrast der Schrift:
   mist/apricot/lime → dunkle Schrift; electric → weiß; teal → Etikett in --teal-d,
   weil Weiß auf --teal nur 4,05:1 schafft (Kontrast-Regel aus CLAUDE.md). */

.nico-cursor {
  --nc: var(--teal);
  --nc-fg: #fff;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 45; /* unter der Navigation (z 50) */
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-200px, -200px, 0);
  transition: opacity 0.5s var(--ease-smooth);
  will-change: transform;
}
.nico-cursor.is-visible { opacity: 1; }

/* Pfeil und Etikett haben immer dieselbe Farbe (Nico, 25.11.2026).
   Teal: auf Nicos Wunsch das echte --teal (wie „Lass uns sprechen.“), nicht --teal-d.
   Weiß darauf hat nur 4,05:1 — das Etikett ist rein dekorativ (aria-hidden) und
   bekommt deshalb fette Schrift (is-teal → 700), um es so gut wie möglich lesbar zu halten. */
.nico-cursor[data-color="teal"]     { --nc: var(--teal);     --nc-fg: #fff; }
.nico-cursor[data-color="teal"] .nico-cursor-tag { font-weight: 700; }
.nico-cursor[data-color="apricot"]  { --nc: var(--apricot);  --nc-fg: #102B3C; }
.nico-cursor[data-color="mist"]     { --nc: var(--mist);     --nc-fg: #102B3C; }
.nico-cursor[data-color="electric"] { --nc: var(--electric); --nc-fg: #fff; }
.nico-cursor[data-color="lime"]     { --nc: var(--lime);     --nc-fg: #102B3C; }

/* Miro-Cursor (wie der frühere Hero-Cursor): geschwungene Pfeilform, daneben das
   Namens-Etikett als Pille. Ohne Outline, ohne Schatten am Pfeil, keine Drehung,
   kein CSS-filter (Safari). Pfeil und Etikett gleiche Farbe, bewegen sich als Einheit.
   Die Pfeilspitze liegt auf dem Ursprung (0,0): Spitze im SVG bei (3,2) von 24 → ×28/24. */
.nico-cursor-arrow {
  position: absolute;
  left: -3.5px;
  top: -2.3px;
  overflow: visible;
}
.nca-fill {
  fill: var(--nc);
  stroke: var(--nc);
  stroke-width: 1.2;
  stroke-linejoin: round;
  transition: fill 0.4s var(--ease-smooth), stroke 0.4s var(--ease-smooth);
}
.nico-cursor-tag {
  position: absolute;
  left: 24px;   /* rechts neben dem Pfeil, etwas Luft (Nico: Spacing erhöhen) */
  top: 13px;
  white-space: nowrap;
  background: var(--nc);
  color: var(--nc-fg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 7px 15px;
  border-radius: 99px;
  box-shadow: 0 4px 12px rgba(16, 43, 60, 0.16);
  letter-spacing: 0.2px;
  transition: background 0.4s var(--ease-smooth), color 0.4s var(--ease-smooth);
}
/* rechts kein Platz: ganze Einheit gespiegelt, Etikett links vom Pfeil */
.nico-cursor.is-flipped .nico-cursor-arrow { transform: scaleX(-1); transform-origin: 3.5px 2.3px; }
.nico-cursor.is-flipped .nico-cursor-tag { left: auto; right: 24px; }

/* statische Lime-Zeile an der letzten Journey-Station: am Desktop übernimmt der Guide */
.nico-cursor-on .sxj-me { display: none; }

@media (prefers-reduced-motion: reduce) {
  .nico-cursor { display: none; }
  .nico-cursor-on .sxj-me { display: flex; }
}
@media (max-width: 899px) {
  .nico-cursor { display: none; }
}
@media print {
  .nico-cursor { display: none; }
}
