/* ═══════════════════════════════════════════════════════════════
   PULSE-SYSTEM STORE — Design System
   "Cyber Lux": tiefes Schwarz, Aurora-Licht, Glas, Neon-Kanten
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. Tokens ────────────────────────────────────────────── */
:root {
  --bg:            #06060b;
  --bg-2:          #0a0a13;
  --surface:       rgba(255, 255, 255, .035);
  --surface-2:     rgba(255, 255, 255, .055);
  --surface-solid: #101019;
  --line:          rgba(255, 255, 255, .09);
  --line-strong:   rgba(255, 255, 255, .16);

  --txt:           #eef0f7;
  --txt-2:         #a9b0c6;
  --txt-3:         #6f7690;

  --violet:        #7c5cff;
  --violet-2:      #a78bfa;
  --cyan:          #22d3ee;
  --pink:          #ff2d95;
  --green:         #34d399;
  --amber:         #fbbf24;
  --red:           #fb5a5a;
  --coin:          #ffcb45;

  --grad:      linear-gradient(115deg, var(--violet) 0%, #6d7bff 35%, var(--cyan) 100%);
  --grad-hot:  linear-gradient(115deg, var(--pink) 0%, var(--violet) 55%, var(--cyan) 100%);
  --grad-coin: linear-gradient(115deg, #ffb020 0%, var(--coin) 50%, #fff1b8 100%);

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 30px;

  --shadow:     0 24px 60px -24px rgba(0, 0, 0, .85);
  --shadow-lg:  0 40px 90px -30px rgba(0, 0, 0, .95);
  --glow:       0 0 0 1px rgba(124, 92, 255, .35), 0 12px 40px -12px rgba(124, 92, 255, .55);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 68px;
  /* Fluide Breite: nutzt den Bildschirm aus, statt alles in die Mitte zu quetschen */
  --maxw: min(1600px, 94vw);
  --maxw-wide: min(1880px, 97vw);
  --gutter: clamp(16px, 2.2vw, 40px);

  --font: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', 'Cascadia Code', Consolas, monospace;
}

/* ── 2. Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--txt);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }
::selection { background: rgba(124, 92, 255, .4); color: #fff; }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: #08080f; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #2b2b46, #1a1a2c);
  border-radius: 99px; border: 3px solid #08080f;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--violet), #3a3a60); }

/* ── 3. Hintergrund: Aurora + Raster + Grain ──────────────── */
.bg-fx { position: fixed; inset: 0; z-index: -3; overflow: hidden; pointer-events: none; }
.bg-fx::before {
  content: ''; position: absolute; inset: -20%;
  background:
    radial-gradient(48rem 34rem at 12% -8%,  rgba(124, 92, 255, .30), transparent 62%),
    radial-gradient(42rem 30rem at 92% 4%,   rgba(34, 211, 238, .20), transparent 60%),
    radial-gradient(40rem 34rem at 55% 108%, rgba(255, 45, 149, .16), transparent 62%);
  animation: drift 26s var(--ease) infinite alternate;
  will-change: transform;          /* eigene GPU-Ebene → nur verschieben, nicht neu rastern */
  contain: strict;
}
.bg-fx::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 78%);
}
@keyframes drift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(-3%, 2%, 0) scale(1.08); }
  100% { transform: translate3d(3%, -2%, 0) scale(1.03); }
}
/* Kein mix-blend-mode: ein vollflächiger Blend-Layer zwingt die ganze Seite
   in eine Compositing-Gruppe und kostet bei jedem Scroll-Frame Rasterzeit. */
.grain {
  position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: .14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

/* Rotierender Lichtkegel hinter allem.
   Nur EINE Ebene, auf die GPU ausgelagert: sie wird einmal gerastert
   und danach ausschließlich rotiert — kostet im Scroll nichts. */
.beams { position: fixed; inset: 0; z-index: -3; pointer-events: none; overflow: hidden; contain: strict; }
.beams::before {
  content: ''; position: absolute; left: 50%; top: -35%;
  width: 115vmax; height: 115vmax; margin-left: -57.5vmax;
  background: conic-gradient(from 0deg,
    transparent 0deg, rgba(124, 92, 255, .12) 18deg, transparent 44deg,
    transparent 160deg, rgba(34, 211, 238, .10) 182deg, transparent 208deg,
    transparent 290deg, rgba(255, 45, 149, .08) 312deg, transparent 338deg);
  animation: beam-spin 90s linear infinite;
  mask-image: radial-gradient(circle at 50% 35%, #000 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(circle at 50% 35%, #000 0%, transparent 65%);
  will-change: transform;
}
@keyframes beam-spin { to { transform: rotate(360deg); } }

/* Partikelschicht (Canvas, wird von pulse.js gefüllt) */
#fxp { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .9; }
/* Windows/macOS "Animationen reduzieren": Bewegung verringern statt komplett
   abschalten — der ruhige Hintergrund läuft weiter, alles was springt,
   blinkt oder seitlich scrollt hält an. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .bg-fx::before  { animation: drift 40s var(--ease) infinite alternate !important; }
  .beams::before  { animation: beam-spin 140s linear infinite !important; }
  .dot-live::after { animation: pulse-dot 2.4s ease-out infinite !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ── 4. Layout ────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: var(--maxw-wide); }
.wrap-narrow { max-width: min(1080px, 94vw); }
main { min-height: 62vh; padding-bottom: 90px; }
.section { padding-block: 64px; }
.section-sm { padding-block: 40px; }
.stack { display: grid; gap: 18px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.row-nw { flex-wrap: nowrap; align-items: flex-start; }
.grow { flex: 1 1 auto; min-width: 0; }
.right { margin-left: auto; }
.center { text-align: center; }
.hide { display: none !important; }

/* ── 5. Typografie ────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.028em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.22rem; }
h4 { font-size: 1.02rem; }
p { color: var(--txt-2); }
small, .small { font-size: .82rem; }
.muted  { color: var(--txt-2); }
.dim    { color: var(--txt-3); }
.mono   { font-family: var(--mono); font-size: .86em; letter-spacing: -.02em; }
.tight  { letter-spacing: -.02em; }
.upper  { text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; font-weight: 700; }
.num    { font-variant-numeric: tabular-nums; }

.gradient-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.gradient-hot { background: var(--grad-hot); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--txt-2); padding: 7px 14px; border-radius: 99px;
  border: 1px solid var(--line); background: var(--surface);
}
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.section-head p { max-width: 58ch; }

/* ── 6. Panels / Karten ───────────────────────────────────── */
/* Kein backdrop-filter: eine Seite hat schnell 20 Panels, und jeder
   Blur-Layer muss beim Scrollen neu berechnet werden. Der Glas-Look
   entsteht hier über den Verlauf auf leicht abgedunkeltem Grund. */
.panel {
  position: relative; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(28, 26, 48, .62), rgba(14, 13, 26, .58));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.panel-pad { padding: 24px; }
.panel-tight { padding: 16px; }
.panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
}
.panel-head h3, .panel-head h4 { font-size: .98rem; letter-spacing: -.01em; }
.panel-body { padding: 20px; }
.panel-foot { padding: 14px 20px; border-top: 1px solid var(--line); background: rgba(0,0,0,.18); }

/* leuchtende Kante bei Hover */
.glow-edge { position: relative; }
.glow-edge::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s var(--ease); pointer-events: none;
}
.glow-edge:hover::after { opacity: .85; }

.grid { display: grid; gap: 18px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
/* Produktraster: füllt die Breite automatisch mit so vielen Karten wie reinpassen */
.g-cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .g-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } .g-3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 680px)  { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }
@media (max-width: 560px)  { .g-cards { grid-template-columns: 1fr; } }

/* ── 7. Buttons ───────────────────────────────────────────── */
.btn {
  --btn-bg: var(--surface-2);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 11px 20px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--btn-bg); color: var(--txt);
  font-weight: 650; font-size: .9rem; letter-spacing: -.01em; white-space: nowrap;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s, opacity .2s;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.1); }
.btn:active { transform: translateY(0) scale(.985); }
.btn:disabled, .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn-primary {
  border-color: transparent; color: #fff; background: var(--grad);
  box-shadow: 0 10px 34px -12px rgba(124, 92, 255, .9), inset 0 1px 0 rgba(255,255,255,.28);
}
.btn-primary:hover { background: var(--grad); filter: brightness(1.1); box-shadow: 0 16px 44px -12px rgba(124, 92, 255, 1); }
.btn-primary::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: linear-gradient(115deg, var(--pink), var(--violet), var(--cyan));
  transition: opacity .4s var(--ease);
}
.btn-primary:hover::before { opacity: 1; }

.btn-coin { border-color: transparent; color: #21160a; background: var(--grad-coin); box-shadow: 0 10px 30px -12px rgba(255, 176, 32, .85); font-weight: 750; }
.btn-coin:hover { filter: brightness(1.07); background: var(--grad-coin); }
.btn-ghost { background: transparent; border-color: var(--line); }
.btn-soft { background: rgba(124, 92, 255, .14); border-color: rgba(124, 92, 255, .3); color: var(--violet-2); }
.btn-danger { background: rgba(251, 90, 90, .12); border-color: rgba(251, 90, 90, .34); color: #ff9a9a; }
.btn-danger:hover { background: rgba(251, 90, 90, .22); }
.btn-success { background: rgba(52, 211, 153, .12); border-color: rgba(52, 211, 153, .34); color: #6ee7b7; }
.btn-discord { background: #5865f2; border-color: transparent; color: #fff; box-shadow: 0 12px 34px -14px #5865f2; }
.btn-discord:hover { background: #4752e0; }
.btn-sm { padding: 7px 13px; font-size: .8rem; border-radius: 10px; }
.btn-xs { padding: 5px 10px; font-size: .74rem; border-radius: 9px; }
.btn-lg { padding: 15px 28px; font-size: 1rem; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-icon { padding: 9px; width: 38px; height: 38px; border-radius: 11px; }

/* ── 8. Badges / Pills ────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 99px; font-size: .71rem; font-weight: 700;
  letter-spacing: .04em; border: 1px solid var(--line); background: var(--surface-2); color: var(--txt-2);
  white-space: nowrap;
}
.badge-violet  { background: rgba(124,92,255,.16); border-color: rgba(124,92,255,.34); color: #c4b5fd; }
.badge-cyan    { background: rgba(34,211,238,.14);  border-color: rgba(34,211,238,.32);  color: #a5f3fc; }
.badge-green   { background: rgba(52,211,153,.14);  border-color: rgba(52,211,153,.3);   color: #86efac; }
.badge-amber   { background: rgba(251,191,36,.14);  border-color: rgba(251,191,36,.3);   color: #fcd34d; }
.badge-red     { background: rgba(251,90,90,.14);   border-color: rgba(251,90,90,.3);    color: #fca5a5; }
.badge-pink    { background: rgba(255,45,149,.14);  border-color: rgba(255,45,149,.32);  color: #fbcfe8; }
.badge-coin    { background: rgba(255,203,69,.14);  border-color: rgba(255,203,69,.34);  color: var(--coin); }
.badge-hot     { background: var(--grad-hot); border-color: transparent; color: #fff; box-shadow: 0 6px 18px -8px var(--pink); }

.dot { width: 7px; height: 7px; border-radius: 99px; background: currentColor; flex: none; }
/* Puls über transform/opacity statt über box-shadow — sonst malt der Browser
   diesen Punkt (und seine Umgebung) zwei Mal pro Sekunde komplett neu. */
.dot-live { position: relative; background: var(--green); }
.dot-live::after {
  content: ''; position: absolute; inset: 0; border-radius: 99px;
  background: rgba(52, 211, 153, .55);
  animation: pulse-dot 2s ease-out infinite;
}
@keyframes pulse-dot {
  0%   { transform: scale(1);   opacity: .7; }
  70%  { transform: scale(3.4); opacity: 0; }
  100% { transform: scale(3.4); opacity: 0; }
}

/* ── 9. Header ────────────────────────────────────────────── */
.topbar {
  font-size: .78rem; color: var(--txt-2); text-align: center; padding: 8px 20px;
  background: linear-gradient(90deg, rgba(124,92,255,.22), rgba(34,211,238,.18), rgba(255,45,149,.2));
  border-bottom: 1px solid var(--line);
}
.topbar strong { color: #fff; }

header.nav {
  position: sticky; top: 0; z-index: 90;
  background: rgba(6, 6, 11, .72);
  backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 18px; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.035em; font-size: 1.07rem; }
/* ── Logo ──────────────────────────────────────────────────
   Original-Grafik als gerundetes App-Icon. */
.logo-mark {
  display: block; flex: none; border-radius: 26%;
  object-fit: contain;
  box-shadow: 0 6px 20px -6px rgba(124, 92, 255, .6), inset 0 0 0 1px rgba(255, 255, 255, .06);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.brand:hover .logo-mark, a:hover > .logo-mark {
  transform: rotate(-6deg) scale(1.07);
  box-shadow: 0 10px 28px -6px rgba(34, 211, 238, .7), inset 0 0 0 1px rgba(255, 255, 255, .12);
}

/* Großes Logo, z.B. auf der Login-Karte */
.logo-hero { display: block; width: max-content; margin-inline: auto; margin-bottom: 18px; }
.logo-hero .logo-mark {
  box-shadow: 0 18px 46px -10px rgba(124, 92, 255, .75), inset 0 0 0 1px rgba(255, 255, 255, .08);
  animation: logo-float 6s var(--ease) infinite alternate;
}
@keyframes logo-float { from { transform: translateY(-4px) rotate(-2deg); } to { transform: translateY(4px) rotate(2deg); } }

.brand span.sub { color: var(--txt-3); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 3px; margin-left: 12px; }
.nav-links a {
  padding: 8px 14px; border-radius: 10px; font-size: .88rem; font-weight: 600; color: var(--txt-2);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: #fff; background: var(--surface-2); }
.nav-links a.active { color: #fff; background: rgba(124,92,255,.16); box-shadow: inset 0 0 0 1px rgba(124,92,255,.3); }

.nav-actions { display: flex; align-items: center; gap: 9px; margin-left: auto; }
.nav-search {
  display: flex; align-items: center; gap: 9px; padding: 8px 12px; min-width: 210px;
  border-radius: 11px; border: 1px solid var(--line); background: var(--surface);
  color: var(--txt-3); font-size: .84rem; cursor: pointer; transition: all .2s;
}
.nav-search:hover { border-color: var(--line-strong); color: var(--txt-2); background: var(--surface-2); }
.kbd {
  font-family: var(--mono); font-size: .68rem; padding: 2px 6px; border-radius: 6px;
  border: 1px solid var(--line-strong); background: rgba(0,0,0,.4); color: var(--txt-3);
}

.coin-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 99px;
  border: 1px solid rgba(255,203,69,.28); background: rgba(255,203,69,.1);
  color: var(--coin); font-weight: 750; font-size: .85rem; font-variant-numeric: tabular-nums;
  transition: all .2s;
}
.coin-chip:hover { background: rgba(255,203,69,.18); transform: translateY(-1px); }
.coin-ico { width: 16px; height: 16px; border-radius: 99px; background: var(--grad-coin); display: grid; place-items: center; font-size: 9px; color: #4a3000; font-weight: 900; flex: none; box-shadow: 0 0 10px rgba(255,203,69,.5); }
.coin-ico.lg { width: 26px; height: 26px; font-size: 14px; }

.icon-btn {
  position: relative; width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 11px; border: 1px solid var(--line); background: var(--surface); cursor: pointer;
  color: var(--txt-2); transition: all .2s;
}
.icon-btn:hover { color: #fff; background: var(--surface-2); transform: translateY(-1px); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn .count {
  position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 99px; background: var(--pink); color: #fff; font-size: .64rem; font-weight: 800;
  display: grid; place-items: center; box-shadow: 0 0 0 2px var(--bg);
}

.avatar { border-radius: 99px; object-fit: cover; background: var(--surface-2); flex: none; }
.avatar-ring { padding: 2px; border-radius: 99px; background: var(--grad); display: inline-flex; }
.avatar-fallback {
  display: grid; place-items: center; border-radius: 99px; background: var(--grad);
  color: #fff; font-weight: 800; font-size: .8rem; flex: none;
}

/* Dropdown */
.dd { position: relative; }
.dd-menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 250px; z-index: 120;
  background: rgba(14, 14, 22, .96); border: 1px solid var(--line-strong); border-radius: var(--r);
  box-shadow: var(--shadow-lg); backdrop-filter: blur(24px); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.97);
  transition: all .22s var(--ease); transform-origin: top right;
}
.dd.open .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a, .dd-menu button {
  display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px 12px; border-radius: 10px;
  font-size: .87rem; color: var(--txt-2); background: none; border: 0; cursor: pointer; text-align: left;
  transition: all .16s;
}
.dd-menu a:hover, .dd-menu button:hover { background: var(--surface-2); color: #fff; }
.dd-menu a svg, .dd-menu button svg { width: 16px; height: 16px; opacity: .7; flex: none; }
.dd-sep { height: 1px; background: var(--line); margin: 7px 4px; }
.dd-head { padding: 12px; display: flex; gap: 11px; align-items: center; border-bottom: 1px solid var(--line); margin-bottom: 6px; }

.nav-burger { display: none; }
@media (max-width: 980px) {
  .nav-links, .nav-search span.lbl { display: none; }
  .nav-burger { display: grid; }
  .nav-search { min-width: auto; }
  .mobile-menu { display: grid; gap: 4px; padding: 12px 0 18px; border-top: 1px solid var(--line); }
  .mobile-menu a { padding: 11px 14px; border-radius: 10px; font-weight: 600; color: var(--txt-2); }
  .mobile-menu a:hover { background: var(--surface-2); color: #fff; }
}

/* ── 10. Hero ─────────────────────────────────────────────── */
.hero { position: relative; padding: 78px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 34px; } .hero { padding-top: 48px; } }
.hero h1 { margin: 20px 0 18px; }
.hero h1 .line { display: block; }
.hero p.lead { font-size: 1.07rem; max-width: 54ch; color: var(--txt-2); }
.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 26px; margin-top: 38px; flex-wrap: wrap; }
.hero-trust div { display: grid; gap: 2px; }
.hero-trust b { font-size: 1.45rem; font-weight: 800; letter-spacing: -.03em; }
.hero-trust span { font-size: .74rem; color: var(--txt-3); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }

/* Schwebende Produktkarte im Hero */
.hero-card {
  position: relative; border-radius: var(--r-xl); padding: 26px;
  background: linear-gradient(165deg, rgba(34, 31, 60, .78), rgba(14, 13, 26, .7));
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg);
  animation: float 7s var(--ease) infinite alternate; will-change: transform;
}
@keyframes float { from { transform: translateY(-9px) rotate(-.6deg); } to { transform: translateY(9px) rotate(.6deg); } }
.hero-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(124,92,255,.8), transparent 40%, rgba(34,211,238,.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}

/* ── 11. Live-Ticker ──────────────────────────────────────── */
.ticker {
  position: relative; overflow: hidden; border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(124,92,255,.07), rgba(34,211,238,.05));
  padding: 11px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: flex; gap: 46px; width: max-content; animation: slide 46s linear infinite; will-change: transform; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.ticker-item { display: flex; align-items: center; gap: 9px; font-size: .82rem; color: var(--txt-2); white-space: nowrap; }
.ticker-item b { color: var(--txt); font-weight: 650; }
.ticker-item .amt { color: var(--green); font-weight: 700; font-variant-numeric: tabular-nums; }

/* ── 12. Produktkarte ─────────────────────────────────────── */
.p-card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(180deg, rgba(28, 26, 48, .6), rgba(14, 13, 26, .55));
  border: 1px solid var(--line); box-shadow: var(--shadow);
  /* nur transform/Farbe animieren — ein animierter box-shadow malt jeden Frame neu */
  transition: transform .3s var(--ease), border-color .3s;
}
.p-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.p-card-art {
  position: relative; height: 138px; display: grid; place-items: center; font-size: 3.1rem;
  background: radial-gradient(70% 100% at 50% 0%, color-mix(in srgb, var(--accent, #7c5cff) 38%, transparent), transparent 72%), rgba(0,0,0,.28);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.p-card-art::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 72%);
}
.p-card-art .emoji { position: relative; z-index: 1; filter: drop-shadow(0 10px 22px rgba(0,0,0,.6)); transition: transform .4s var(--ease); }
.p-card:hover .p-card-art .emoji { transform: scale(1.14) rotate(-5deg); }
.p-card-tags { position: absolute; top: 11px; left: 11px; right: 11px; display: flex; gap: 6px; z-index: 2; flex-wrap: wrap; }
.p-card-body { padding: 17px 18px 0; flex: 1; }
.p-card-body h3 { font-size: 1.03rem; margin-bottom: 5px; letter-spacing: -.02em; }
.p-card-body p { font-size: .84rem; color: var(--txt-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-card-foot { padding: 15px 18px 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.price { font-size: 1.3rem; font-weight: 800; letter-spacing: -.035em; }
.price small { font-size: .68rem; color: var(--txt-3); font-weight: 600; display: block; letter-spacing: .06em; text-transform: uppercase; }
.price-coins { font-size: .78rem; color: var(--coin); font-weight: 700; display: flex; align-items: center; gap: 5px; margin-top: 3px; }

.stars { display: inline-flex; gap: 1px; color: var(--amber); font-size: .82rem; letter-spacing: -1px; }
.stars .off { color: rgba(255,255,255,.16); }

/* ── 13. Stat-Kacheln ─────────────────────────────────────── */
.stat {
  position: relative; padding: 20px; border-radius: var(--r); overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  border: 1px solid var(--line);
}
.stat::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent, var(--grad)); opacity: .85;
}
.stat .lbl { font-size: .72rem; text-transform: uppercase; letter-spacing: .13em; color: var(--txt-3); font-weight: 700; }
.stat .val { font-size: 1.85rem; font-weight: 800; letter-spacing: -.04em; margin-top: 7px; font-variant-numeric: tabular-nums; }
.stat .sub { font-size: .78rem; color: var(--txt-3); margin-top: 3px; }
.stat .ico { position: absolute; right: 16px; top: 16px; font-size: 1.3rem; opacity: .35; }
.trend-up { color: var(--green); } .trend-down { color: var(--red); }

/* ── 14. Formulare ────────────────────────────────────────── */
.field { display: grid; gap: 7px; }
.field > label, .lbl-t {
  font-size: .78rem; font-weight: 650; color: var(--txt-2); letter-spacing: .01em;
  display: flex; align-items: center; gap: 7px;
}
.input, input[type=text], input[type=email], input[type=number], input[type=password], input[type=date], input[type=search], select, textarea {
  width: 100%; padding: 11px 14px; border-radius: 11px;
  background: rgba(0,0,0,.34); border: 1px solid var(--line); color: var(--txt);
  font-size: .9rem; transition: border-color .2s, box-shadow .2s, background .2s;
}
.input:focus, input:focus, select:focus, textarea:focus {
  outline: 0; border-color: rgba(124,92,255,.65); background: rgba(0,0,0,.5);
  box-shadow: 0 0 0 3px rgba(124,92,255,.16);
}
input::placeholder, textarea::placeholder { color: var(--txt-3); }
textarea { resize: vertical; min-height: 96px; line-height: 1.55; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%236f7690' stroke-width='2'%3E%3Cpath d='M3 4.5 6 8l3-3.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 34px; }
.hint { font-size: .75rem; color: var(--txt-3); }

.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; padding: 9px 11px; border-radius: 11px; border: 1px solid var(--line); background: rgba(0,0,0,.2); transition: all .2s; }
.check:hover { border-color: var(--line-strong); background: rgba(255,255,255,.04); }
.check input { width: 17px; height: 17px; accent-color: var(--violet); margin-top: 2px; flex: none; }
.check span { font-size: .85rem; }
.check small { display: block; color: var(--txt-3); font-size: .76rem; }

.seg { display: inline-flex; padding: 4px; gap: 3px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,.28); flex-wrap: wrap; }
.seg a, .seg button {
  padding: 7px 14px; border-radius: 9px; font-size: .82rem; font-weight: 600; color: var(--txt-2);
  background: none; border: 0; cursor: pointer; transition: all .18s;
}
.seg a:hover, .seg button:hover { color: #fff; background: var(--surface-2); }
.seg a.active, .seg button.active { color: #fff; background: var(--grad); box-shadow: 0 6px 18px -8px var(--violet); }

/* Zahlungsmethoden-Auswahl */
.pay-opt { display: block; cursor: pointer; }
.pay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pay-opt .box {
  display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r);
  border: 1px solid var(--line); background: rgba(0,0,0,.24); transition: all .22s var(--ease);
}
.pay-opt:hover .box { border-color: var(--line-strong); transform: translateY(-2px); }
.pay-opt input:checked + .box {
  border-color: rgba(124,92,255,.6); background: rgba(124,92,255,.1);
  box-shadow: 0 0 0 3px rgba(124,92,255,.12), 0 12px 30px -16px var(--violet);
}
.pay-opt.coin input:checked + .box { border-color: rgba(255,203,69,.6); background: rgba(255,203,69,.09); box-shadow: 0 0 0 3px rgba(255,203,69,.12); }
.pay-opt .box .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; background: var(--surface-2); border: 1px solid var(--line); flex: none; }
.pay-opt.disabled { opacity: .4; pointer-events: none; }

/* ── 15. Tabellen ─────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--r); }
table.t { font-size: .87rem; min-width: 620px; }
table.t th {
  text-align: left; padding: 11px 16px; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--txt-3); font-weight: 700; border-bottom: 1px solid var(--line); white-space: nowrap;
}
table.t td { padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,.05); vertical-align: middle; }
table.t tbody tr { transition: background .16s; }
table.t tbody tr:hover { background: rgba(255,255,255,.035); }
table.t tbody tr:last-child td { border-bottom: 0; }
.t-empty { padding: 56px 20px; text-align: center; color: var(--txt-3); }
.t-empty .big { font-size: 2.4rem; margin-bottom: 10px; opacity: .6; }

.cell-user { display: flex; align-items: center; gap: 10px; }
.cell-user b { font-weight: 650; }

/* ── 16. Dashboard-Layout ─────────────────────────────────── */
.app { display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: 26px; padding-top: 26px; align-items: start; }
@media (max-width: 1040px) { .app { grid-template-columns: 1fr; } }

.side { position: sticky; top: calc(var(--nav-h) + 18px); display: grid; gap: 18px; }
@media (max-width: 1040px) { .side { position: static; } }
.side-nav { display: grid; gap: 2px; }
.side-nav a {
  display: flex; align-items: center; gap: 11px; padding: 10px 13px; border-radius: 11px;
  font-size: .875rem; font-weight: 600; color: var(--txt-2); transition: all .18s var(--ease);
}
.side-nav a:hover { color: #fff; background: var(--surface-2); transform: translateX(2px); }
.side-nav a.active {
  color: #fff; background: linear-gradient(90deg, rgba(124,92,255,.22), rgba(124,92,255,.05));
  box-shadow: inset 0 0 0 1px rgba(124,92,255,.28);
}
.side-nav a .ic { width: 18px; text-align: center; opacity: .85; flex: none; }
.side-nav a .tag { margin-left: auto; font-size: .68rem; padding: 2px 7px; border-radius: 99px; background: var(--pink); color: #fff; font-weight: 800; }
.side-title { font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; color: var(--txt-3); font-weight: 750; padding: 0 13px; margin-bottom: 7px; }
@media (max-width: 1040px) {
  .side-nav { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: 6px; }
  .side-nav a { white-space: nowrap; }
}

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head h1 { font-size: clamp(1.5rem, 3vw, 2rem); }
.page-head .sub { color: var(--txt-3); font-size: .88rem; margin-top: 4px; }

/* Level-Ring */
.lvl-card { display: flex; align-items: center; gap: 15px; }
.ring { position: relative; width: 62px; height: 62px; flex: none; }
.ring svg { transform: rotate(-90deg); }
.ring .track { stroke: rgba(255,255,255,.09); }
.ring .bar { stroke: url(#ringGrad); stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease); }
.ring .mid { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: 1rem; letter-spacing: -.03em; }

.bar-track { height: 7px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 99px; background: var(--grad); box-shadow: 0 0 14px rgba(124,92,255,.6); transition: width 1s var(--ease); }
.bar-fill.coin { background: var(--grad-coin); box-shadow: 0 0 14px rgba(255,203,69,.55); }
.bar-fill.green { background: linear-gradient(90deg, #16a34a, var(--green)); box-shadow: none; }
.bar-fill.red { background: linear-gradient(90deg, #b91c1c, var(--red)); box-shadow: none; }

/* Wallet-Karte */
.wallet-card {
  position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 26px;
  background: linear-gradient(140deg, #241a05 0%, #14131f 55%, #0c0c16 100%);
  border: 1px solid rgba(255,203,69,.22);
  box-shadow: 0 30px 70px -34px rgba(255,176,32,.5);
}
.wallet-card::before {
  content: ''; position: absolute; width: 290px; height: 290px; right: -90px; top: -130px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,203,69,.34), transparent 66%);
}
.wallet-card::after {
  content: '◎'; position: absolute; right: 18px; bottom: -34px; font-size: 8rem; color: rgba(255,203,69,.08); line-height: 1;
}
.wallet-amount { font-size: 2.9rem; font-weight: 850; letter-spacing: -.05em; font-variant-numeric: tabular-nums; line-height: 1; }

/* Achievements */
.ach {
  display: flex; gap: 13px; padding: 15px; border-radius: var(--r); border: 1px solid var(--line);
  background: rgba(255,255,255,.022); transition: all .25s var(--ease);
}
.ach.on { border-color: rgba(124,92,255,.34); background: linear-gradient(135deg, rgba(124,92,255,.12), rgba(255,255,255,.02)); }
.ach.on:hover { transform: translateY(-3px); box-shadow: var(--glow); }
.ach .ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 1.3rem; background: var(--surface-2); border: 1px solid var(--line); flex: none; }
.ach.on .ico { background: var(--grad); border-color: transparent; box-shadow: 0 8px 22px -10px var(--violet); }
.ach.off { opacity: .48; filter: grayscale(.7); }
.ach h4 { font-size: .9rem; }
.ach p { font-size: .78rem; color: var(--txt-3); }

/* Timeline / Feed */
.feed { display: grid; }
.feed-item { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.feed-item:last-child { border-bottom: 0; }
.feed-ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: .95rem; background: var(--surface-2); border: 1px solid var(--line); flex: none; }
.feed-ico.sale { background: rgba(52,211,153,.14); border-color: rgba(52,211,153,.3); }
.feed-ico.feedback { background: rgba(251,191,36,.14); border-color: rgba(251,191,36,.3); }
.feed-ico.coins { background: rgba(255,203,69,.14); border-color: rgba(255,203,69,.3); }
.feed-ico.warning { background: rgba(251,191,36,.14); border-color: rgba(251,191,36,.3); }
.feed-ico.danger { background: rgba(251,90,90,.14); border-color: rgba(251,90,90,.3); }
.feed-ico.order { background: rgba(124,92,255,.14); border-color: rgba(124,92,255,.3); }
.feed-item .t { font-weight: 650; font-size: .9rem; }
.feed-item .b { font-size: .82rem; color: var(--txt-3); }
.feed-item .when { font-size: .74rem; color: var(--txt-3); white-space: nowrap; margin-left: auto; }
.feed-item.unread { background: linear-gradient(90deg, rgba(124,92,255,.07), transparent); margin-inline: -12px; padding-inline: 12px; border-radius: 10px; }

/* Lieferbox (Keys) */
.delivery {
  position: relative; font-family: var(--mono); font-size: .84rem; line-height: 1.75;
  padding: 16px 18px; border-radius: var(--r); white-space: pre-wrap; word-break: break-all;
  background: linear-gradient(180deg, rgba(52,211,153,.07), rgba(0,0,0,.34));
  border: 1px solid rgba(52,211,153,.26); color: #a7f3d0;
}
.delivery.locked { background: rgba(0,0,0,.3); border-color: var(--line); color: var(--txt-3); filter: blur(4px); user-select: none; }

/* Flash / Toasts */
.toasts { position: fixed; top: calc(var(--nav-h) + 16px); right: 18px; z-index: 300; display: grid; gap: 10px; width: min(360px, calc(100vw - 36px)); }
.toast {
  display: flex; gap: 11px; align-items: flex-start; padding: 13px 15px; border-radius: 13px;
  background: rgba(16,16,26,.96); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px); animation: toast-in .45s var(--ease);
  font-size: .87rem;
}
@keyframes toast-in { from { opacity: 0; transform: translateX(40px) scale(.94); } }
.toast.out { animation: toast-out .35s var(--ease) forwards; }
@keyframes toast-out { to { opacity: 0; transform: translateX(40px) scale(.94); } }
.toast .bar { position: absolute; }
.toast-success { border-left: 3px solid var(--green); }
.toast-danger  { border-left: 3px solid var(--red); }
.toast-warning { border-left: 3px solid var(--amber); }
.toast-info    { border-left: 3px solid var(--cyan); }
.toast button { background: none; border: 0; color: var(--txt-3); cursor: pointer; margin-left: auto; font-size: 1.1rem; line-height: 1; }

/* Alert-Banner */
.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); font-size: .87rem; }
.alert-info    { border-color: rgba(34,211,238,.3);  background: rgba(34,211,238,.08); }
.alert-success { border-color: rgba(52,211,153,.3);  background: rgba(52,211,153,.08); }
.alert-warning { border-color: rgba(251,191,36,.3);  background: rgba(251,191,36,.08); }
.alert-danger  { border-color: rgba(251,90,90,.3);   background: rgba(251,90,90,.08); }
.alert .ic { font-size: 1.1rem; flex: none; }

/* ── 17. Command Palette ──────────────────────────────────── */
.cmdk-back {
  position: fixed; inset: 0; z-index: 400; background: rgba(4,4,9,.72); backdrop-filter: blur(8px);
  display: none; align-items: flex-start; justify-content: center; padding: 12vh 20px 20px;
}
.cmdk-back.open { display: flex; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.cmdk {
  width: min(620px, 100%); border-radius: var(--r-lg); overflow: hidden;
  background: rgba(15,15,24,.98); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg);
  animation: pop .3s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(-18px) scale(.97); } }
.cmdk input { border: 0; background: none; padding: 18px 20px; font-size: 1rem; border-radius: 0; border-bottom: 1px solid var(--line); }
.cmdk input:focus { box-shadow: none; background: none; }
.cmdk-list { max-height: 54vh; overflow-y: auto; padding: 8px; }
.cmdk-item { display: flex; align-items: center; gap: 13px; padding: 11px 13px; border-radius: 11px; cursor: pointer; }
.cmdk-item:hover, .cmdk-item.sel { background: var(--surface-2); }
.cmdk-item .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); font-size: 1rem; flex: none; }
.cmdk-item .nm { font-weight: 650; font-size: .9rem; }
.cmdk-item .ds { font-size: .76rem; color: var(--txt-3); }
.cmdk-foot { padding: 10px 16px; border-top: 1px solid var(--line); font-size: .74rem; color: var(--txt-3); display: flex; gap: 14px; }

/* ── 18. Footer ───────────────────────────────────────────── */
footer.ft { border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(124,92,255,.05)); padding: 54px 0 28px; }
.ft-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 34px; }
@media (max-width: 860px) { .ft-grid { grid-template-columns: 1fr 1fr; gap: 26px; } }
@media (max-width: 520px) { .ft-grid { grid-template-columns: 1fr; } }
.ft h5 { font-size: .74rem; text-transform: uppercase; letter-spacing: .15em; color: var(--txt-3); margin-bottom: 14px; font-weight: 750; }
.ft a { display: block; padding: 5px 0; font-size: .86rem; color: var(--txt-2); transition: color .18s, transform .18s; }
.ft a:hover { color: #fff; transform: translateX(3px); }
.ft-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .8rem; color: var(--txt-3);
}
.made {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600;
}
.made .heart { color: #fff; animation: beat 1.8s infinite; display: inline-block; }
@keyframes beat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.25); } 28% { transform: scale(1); } 42% { transform: scale(1.18); } }

/* ── 19. Login / Auth ─────────────────────────────────────── */
.auth-wrap { min-height: calc(100vh - var(--nav-h) - 60px); display: grid; place-items: center; padding: 50px 20px; }
.auth-card { width: min(440px, 100%); border-radius: var(--r-xl); padding: 38px; position: relative; overflow: hidden;
  background: linear-gradient(170deg, rgba(30, 28, 52, .72), rgba(14, 13, 26, .66));
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); }
.auth-card::before { content: ''; position: absolute; width: 300px; height: 300px; top: -150px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(124,92,255,.35), transparent 68%); }

/* ── 20. Legal / Prose ────────────────────────────────────── */
.prose { max-width: 78ch; }
.prose h2 { font-size: 1.32rem; margin: 36px 0 12px; letter-spacing: -.02em; }
.prose h3 { font-size: 1.02rem; margin: 24px 0 8px; color: var(--txt); }
.prose p, .prose li { color: var(--txt-2); font-size: .92rem; line-height: 1.78; }
.prose p { margin-bottom: 12px; }
.prose ul { list-style: none; display: grid; gap: 7px; margin: 12px 0 18px; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li::before { content: '▸'; position: absolute; left: 2px; color: var(--violet); }
.prose ol { list-style: decimal; padding-left: 22px; display: grid; gap: 7px; margin: 12px 0 18px; }
.prose a { color: var(--violet-2); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--txt); }
.prose table { margin: 16px 0; font-size: .88rem; }
.prose th, .prose td { padding: 9px 12px; border: 1px solid var(--line); text-align: left; }
.toc { position: sticky; top: calc(var(--nav-h) + 20px); }
.toc a { display: block; padding: 6px 12px; font-size: .84rem; color: var(--txt-3); border-left: 2px solid var(--line); transition: all .2s; }
.toc a:hover { color: #fff; border-color: var(--violet); background: var(--surface); }

/* ── 21. Diverses ─────────────────────────────────────────── */
.divider { height: 1px; background: var(--line); margin-block: 20px; }
.copy-btn { cursor: pointer; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: rgba(0,0,0,.3); }
.qty button { width: 32px; height: 34px; background: none; border: 0; color: var(--txt-2); cursor: pointer; font-size: 1rem; transition: all .15s; }
.qty button:hover { background: var(--surface-2); color: #fff; }
.qty input { width: 44px; text-align: center; border: 0; background: none; padding: 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.qty input:focus { box-shadow: none; }

.tilt { transition: transform .25s var(--ease); transform-style: preserve-3d; }
/* Glanzeffekt über transform statt über "left" — sonst löst jeder Frame
   ein Layout aus. */
.shine { position: relative; overflow: hidden; }
.shine::after {
  content: ''; position: absolute; top: 0; left: 0; width: 55%; height: 100%;
  transform: translateX(-220%) skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
  transition: transform .85s var(--ease);
}
.shine:hover::after { transform: translateX(320%) skewX(-22deg); }

.skeleton { background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.11), rgba(255,255,255,.05)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; border-radius: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.rank-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: .72rem; font-weight: 750; border: 1px solid currentColor; }
.rank-pill .ic { font-size: .8rem; }

.status { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; text-transform: uppercase; letter-spacing: .06em; }
.status-paid      { background: rgba(52,211,153,.14); color: #6ee7b7; }
.status-pending   { background: rgba(251,191,36,.14); color: #fcd34d; }
.status-refunded  { background: rgba(251,90,90,.14);  color: #fca5a5; }
.status-cancelled { background: rgba(255,255,255,.08); color: var(--txt-3); }
.status-open      { background: rgba(34,211,238,.14); color: #a5f3fc; }
.status-answered  { background: rgba(124,92,255,.16); color: #c4b5fd; }
.status-closed    { background: rgba(255,255,255,.08); color: var(--txt-3); }

/* Sparkline / Chart */
.chart { width: 100%; height: 190px; }
.chart .area { fill: url(#chartGrad); }
.chart .line { fill: none; stroke: url(#lineGrad); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart .gridline { stroke: rgba(255,255,255,.055); stroke-width: 1; }
.chart .pt { fill: var(--violet); stroke: #0b0b14; stroke-width: 2.5; }
.chart-x { display: flex; justify-content: space-between; font-size: .68rem; color: var(--txt-3); margin-top: 6px; }

/* Print (Rechnung) */
@media print {
  .bg-fx, .grain, header.nav, footer.ft, .no-print, .toasts { display: none !important; }
  body { background: #fff; color: #000; }
  .panel { border-color: #ddd; background: #fff; box-shadow: none; }
  .delivery { border-color: #ccc; background: #f6f6f6; color: #000; }
}
