/* WENDEPUNKT – Stil der Kursseite (wendepnkt.de). Liegt über /styles.css und ändert nur Farben, Schrift
   und Effekte. Farbcode aus dem Kanal: fast schwarz, Gold = Reichtum/Gewinn, Weiß = neutral,
   Rot = Steuer/Verlust (nur sparsam), Türkis = Geldfluss (hier nicht gebraucht). */

@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --nacht: #040504;
  --kreide: #eaeeee;
  --asche: #8f918b;
  --schiefer: #12120f;
  --kante: #29271e;
  --fehler: #fe624a;
  --gold: #fec252;
  --gold-hell: #fef682;
  --rot: #fe624a;
  --glow: 0 0 6px rgba(254, 194, 82, 0.55), 0 0 22px rgba(254, 194, 82, 0.25);
  --glow-text: 0 0 8px rgba(254, 214, 110, 0.55), 0 0 26px rgba(254, 194, 82, 0.3);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Inter", system-ui, sans-serif;
}

body { font-feature-settings: "cv11", "ss01"; }
#staub { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
#staub.an { opacity: 1; }
:focus-visible { outline-color: var(--gold); }
::selection { background: rgba(254, 194, 82, 0.35); }

h1 { font-weight: 800; letter-spacing: -0.035em; }
h2, h3 { font-weight: 700; letter-spacing: -0.02em; }

/* Marke oben: goldene Figur + Name in weit gesperrten Versalien */
.marke { color: var(--gold); letter-spacing: 0.24em; font-weight: 700; font-size: 0.8125rem; }
.marke svg { width: 13px; height: 26px; filter: drop-shadow(0 0 4px rgba(254, 194, 82, 0.6)); }
.figur-form { fill: var(--gold); }

/* Knöpfe: Gold mit Schein */
.knopf { background: var(--gold); color: #0b0a05; font-weight: 700; letter-spacing: 0.01em; }
.knopf:hover { box-shadow: 0 0 8px rgba(254, 194, 82, 0.7), 0 0 30px rgba(254, 194, 82, 0.35); }
.knopf.zweit { background: transparent; color: var(--kreide); border: 1px solid var(--kante); }

/* Karten und Flächen: warmes Dunkel statt Grau */
.paket li, .kette li, .kauf-karte, .start-karte, .abschluss { background: rgba(18, 18, 15, 0.66); border-color: var(--kante); }
.paket strong { color: var(--kreide); }
.kette li::before { color: var(--gold); font-weight: 700; }
.vertrauen li::before { color: var(--gold); }
summary::after { color: var(--gold); font-family: var(--sans); font-weight: 600; }
.lektionen .nr, .regeln .wert { color: var(--gold-hell); text-shadow: var(--glow-text); font-weight: 700; }
.regeln .wert { font-variant-numeric: tabular-nums; }
.unterzeile, .zahl-text, .regeln li span:last-child, details p, .kosten li span:last-child { color: #c9cbc6; }
.kaufleiste { background: rgba(4, 5, 4, 0.92); }
.kaufleiste .preis { font-family: var(--sans); font-weight: 700; }
.preis { font-family: var(--sans); font-weight: 700; font-variant-numeric: tabular-nums; }

/* Beweis-Zahlen: groß, blassgelb, mit Schein (wie die Zähler im Kanal) */
.gross-zahl { font-family: var(--sans); font-weight: 800; color: var(--gold-hell); text-shadow: var(--glow-text); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.zahl-text strong { color: var(--gold); }
.tipp { font-family: var(--sans); letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.6875rem; }
.etikett { display: inline-block; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin: 0 0 0.6rem; }

/* ---------- Kleines Handy-Bild im Kanal-Look: Zähler oben, Figur auf Spiegelboden, Wort-Untertitel ---------- */
.neon-bild {
  position: relative; width: 100%; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--kante); background: #040504;
  box-shadow: 0 0 34px rgba(254, 194, 82, 0.12);
  container-type: inline-size; isolation: isolate;
}
/* Nebel und große unscharfe Lichtpunkte */
.neon-bild::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(18cqw 18cqw at 18% 30%, rgba(254, 194, 82, 0.16), transparent 70%),
    radial-gradient(12cqw 12cqw at 84% 22%, rgba(254, 246, 130, 0.12), transparent 70%),
    radial-gradient(22cqw 22cqw at 78% 58%, rgba(254, 194, 82, 0.10), transparent 70%),
    radial-gradient(60cqw 40cqw at 50% 62%, rgba(254, 194, 82, 0.10), transparent 70%);
  filter: blur(2px);
}
/* Schwarzer Hochglanzboden mit gestrichelter Mittellinie */
.neon-boden { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0) 30%), #030303; }
.neon-boden::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(254, 194, 82, 0.35), transparent); }
.neon-boden svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.neon-zaehler { position: absolute; left: 0; right: 0; top: 9%; z-index: 3; text-align: center; }
.neon-zaehler small { display: block; font-size: 3.6cqw; font-weight: 700; letter-spacing: 0.22em; color: rgba(234, 238, 238, 0.82); }
.neon-zaehler b { display: block; margin-top: 1.4cqw; font-size: 13cqw; font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: var(--gold-hell); text-shadow: var(--glow-text); font-variant-numeric: tabular-nums; }
.neon-figur { position: absolute; left: 50%; bottom: 40%; width: 19cqw; transform: translateX(-50%); z-index: 2; }
.neon-figur svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 0 2.2cqw rgba(254, 194, 82, 0.75)) drop-shadow(0 0 8cqw rgba(254, 194, 82, 0.35)); }
.neon-figur .spiegel { position: absolute; left: 0; top: 100%; width: 100%; transform: scaleY(-1); opacity: 0.22; filter: blur(0.6cqw); -webkit-mask-image: linear-gradient(0deg, #000, transparent 70%); mask-image: linear-gradient(0deg, #000, transparent 70%); }
.neon-figur .spiegel svg { filter: none; }
.neon-figur .figur-form { fill: var(--gold); }
.neon-wort { position: absolute; left: 0; right: 0; top: 74%; z-index: 4; text-align: center; height: 12cqw; }
.neon-wort span { display: inline-block; font-size: 10.5cqw; font-weight: 800; line-height: 1; color: #eaeeee; text-shadow: 0 0.6cqw 2.2cqw rgba(0, 0, 0, 0.9); transform-origin: 50% 70%; }
.neon-wort span.gold { color: var(--gold); }
.neon-wort span.rot { color: var(--rot); }
.neon-wort span.neu { animation: wort-feder 0.2s ease-out both; }
@keyframes wort-feder { 0% { transform: scale(0.88); opacity: 0; } 35% { opacity: 1; } 70% { transform: scale(1.03); } 100% { transform: scale(1); } }

/* Ein Satz Hinweis unter dem Bild */
.neon-unter { margin: 0.5rem 0 0; font-size: 0.6875rem; color: var(--asche); text-align: center; letter-spacing: 0.04em; }

@media (prefers-reduced-motion: reduce) {
  #staub { transition: none; }
  .neon-wort span.neu { animation: none; }
}
