/* Onboarding mit FrankKI (Entwurf H), Spotlight-Tour. Siehe onboarding.js. Gold = FrankKI. */
.ob-karte {
  --ob-grund: #FFFCF6; --ob-tinte: #1D1A16; --ob-leise: #5A5247; --ob-linie: #E3D6C0;
  position: fixed; z-index: 1001; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; align-items: start;
  width: min(400px, calc(100vw - 32px)); padding: 18px 20px 16px 14px; border-radius: 22px;
  background: var(--ob-grund); color: var(--ob-tinte); border: 1px solid var(--ob-linie);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12), 0 24px 60px rgba(0, 0, 0, 0.35);
  font: 400 0.9375rem/1.5 'Inter', system-ui, sans-serif;
  opacity: 0; transform: translateY(10px); transition: opacity 0.35s, transform 0.35s, left 0.4s, top 0.4s;
}
:root[data-hintergrund='dunkel'] .ob-karte { --ob-grund: #142339; --ob-tinte: #E9EEF6; --ob-leise: #AAB6C8; --ob-linie: #2A3F5E; }
.ob-karte.an { opacity: 1; transform: none; }
.ob-hund { width: 88px; margin-top: 4px; }
.ob-kennung { margin: 0 0 2px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold, #E29A0B); }
.ob-karte h2 { margin: 0 0 6px; font: 600 1.25rem/1.25 'Fraunces', Georgia, serif; }
.ob-satz { margin: 0; color: var(--ob-leise); }
.ob-satz strong { color: var(--ob-tinte); }
.ob-leiste { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; }
.ob-stand { margin-right: auto; }
.ob-punkte { display: inline-flex; gap: 6px; }
.ob-punkte i { width: 7px; height: 7px; border-radius: 50%; background: var(--ob-linie); transition: width 0.3s, background 0.3s; }
.ob-punkte i.an { width: 20px; border-radius: 4px; background: var(--gold, #E29A0B); }
.ob-karte button { min-height: 36px; padding: 0 14px; border-radius: 999px; font: 600 0.8125rem/1 'Inter', system-ui, sans-serif; cursor: pointer; }
.ob-leise { border: 0; background: transparent; color: var(--ob-leise); }
.ob-leise:hover { color: var(--ob-tinte); text-decoration: underline; text-underline-offset: 3px; }
.ob-haupt { border: 0; background: var(--gold, #E29A0B); color: #0E1A2B; }
.ob-x { border: 0; background: transparent; color: var(--ob-leise); font-size: 1.25rem !important; padding: 0 8px !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* A · Spotlight */
.ob-a { position: fixed; inset: 0; z-index: 1000; opacity: 0; transition: opacity 0.35s; }
.ob-a.an { opacity: 1; }
.ob-a-loch { position: fixed; border-radius: 20px; box-shadow: 0 0 0 200vmax rgba(6, 12, 22, 0.72), 0 0 0 3px var(--gold, #E29A0B), 0 0 40px rgba(244, 194, 77, 0.45); transition: left 0.45s cubic-bezier(.3,.7,.2,1), top 0.45s cubic-bezier(.3,.7,.2,1), width 0.45s cubic-bezier(.3,.7,.2,1), height 0.45s cubic-bezier(.3,.7,.2,1); pointer-events: none; }
.ob-a-karte.unten { left: 50% !important; top: auto !important; bottom: 16px; translate: -50% 0; }

/* Knopf im Kopf */
.ob-nochmal { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; margin-right: 8px; padding: 0 13px 0 6px; border: 1px solid var(--linie); border-radius: 999px; background: transparent; color: var(--leise); font: 600 0.8125rem/1 var(--sans, 'Inter', system-ui, sans-serif); cursor: pointer; }
.ob-nochmal span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--gold-hell, rgba(244, 194, 77, 0.18)); color: var(--gold-tief, #8A5A00); }
.ob-nochmal:hover { color: var(--tinte); border-color: var(--tinte); }

@media (max-width: 640px) {
  .ob-karte { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; }
  .ob-hund { width: 56px; }
  .ob-nochmal { padding: 0 6px; font-size: 0; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ob-karte, .ob-a, .ob-a-loch { transition: none; animation: none; opacity: 1; transform: none; }
}

/* Zeiger-Animation über der Sternenkarte (Schritt 1) */
.ob-zeiger { position: fixed; z-index: 1002; width: 26px; height: 26px; margin: -3px 0 0 -4px; opacity: 0; pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45)); transition: left 0.65s cubic-bezier(.3,.7,.2,1), top 0.65s cubic-bezier(.3,.7,.2,1), opacity 0.3s; }
.ob-zeiger svg { display: block; width: 100%; height: 100%; }
@media (prefers-reduced-motion: reduce) { .ob-zeiger { transition: none; } }
