/* ==========================================================================
   Farbpaletten (vom Admin für alle festgelegt). Hell/Dunkel bleibt pro Nutzer.
   Variablennamen heißen historisch "--gold*" = Akzentfarben.
   ========================================================================== */

/* ---------------------------------------------------------- Lagune (BWI) */
[data-palette='lagune'][data-theme='dark'] {
  --bg: #060b10;
  --bg-2: #09111a;
  --surface: #0d1620;
  --surface-2: #121d29;
  --surface-3: #182635;
  --line: rgba(180, 225, 255, 0.08);
  --line-2: rgba(180, 225, 255, 0.15);
  --text: #e8f3f8;
  --text-2: #b5c8d3;
  --muted: #7890a0;
  --gold: #3fd0c9;
  --gold-2: #8be3f5;
  --gold-3: #9d8cf5;
  --gold-ink: #04161a;
  --gold-soft: rgba(63, 208, 201, 0.1);
  --gold-line: rgba(63, 208, 201, 0.42);
  --spot: rgba(63, 170, 220, 0.17);
  --spot-2: rgba(140, 120, 245, 0.1);
}
[data-palette='lagune'][data-theme='light'] {
  --bg: #edf4f7;
  --bg-2: #e3eef3;
  --surface: #fbfeff;
  --surface-2: #f2f8fa;
  --surface-3: #e4eff4;
  --line: rgba(10, 40, 60, 0.1);
  --line-2: rgba(10, 40, 60, 0.18);
  --text: #0b1a22;
  --text-2: #2c4250;
  --muted: #5d7482;
  --gold: #0e8a85;
  --gold-2: #0a6f8f;
  --gold-3: #6a55d8;
  --gold-ink: #f2fffe;
  --gold-soft: rgba(14, 138, 133, 0.08);
  --gold-line: rgba(14, 138, 133, 0.42);
  --spot: rgba(40, 160, 210, 0.16);
  --spot-2: rgba(120, 100, 230, 0.08);
}

/* ------------------------------------------------------------------ Ozean */
[data-palette='ozean'][data-theme='dark'] {
  --bg: #05080f;
  --bg-2: #080d18;
  --surface: #0c1322;
  --surface-2: #111a2d;
  --surface-3: #17223a;
  --line: rgba(170, 200, 255, 0.08);
  --line-2: rgba(170, 200, 255, 0.15);
  --text: #eaf0fb;
  --text-2: #b8c4da;
  --muted: #7a88a3;
  --gold: #5b9dff;
  --gold-2: #9cd0ff;
  --gold-3: #8f7dff;
  --gold-ink: #050c1c;
  --gold-soft: rgba(91, 157, 255, 0.11);
  --gold-line: rgba(91, 157, 255, 0.45);
  --spot: rgba(70, 120, 255, 0.18);
  --spot-2: rgba(60, 200, 230, 0.08);
}
[data-palette='ozean'][data-theme='light'] {
  --bg: #eef2f9;
  --bg-2: #e3e9f4;
  --surface: #fcfdff;
  --surface-2: #f3f6fc;
  --surface-3: #e4eaf5;
  --line: rgba(15, 30, 70, 0.1);
  --line-2: rgba(15, 30, 70, 0.18);
  --text: #0c1528;
  --text-2: #2d3b56;
  --muted: #5e6b85;
  --gold: #2357c9;
  --gold-2: #1b74c2;
  --gold-3: #5b45d1;
  --gold-ink: #f5f8ff;
  --gold-soft: rgba(35, 87, 201, 0.08);
  --gold-line: rgba(35, 87, 201, 0.4);
  --spot: rgba(60, 110, 230, 0.15);
  --spot-2: rgba(40, 180, 210, 0.08);
}

/* ----------------------------------------------------------------- Aurora */
[data-palette='aurora'][data-theme='dark'] {
  --bg: #07070f;
  --bg-2: #0b0b17;
  --surface: #10111f;
  --surface-2: #161729;
  --surface-3: #1d1f35;
  --line: rgba(200, 200, 255, 0.08);
  --line-2: rgba(200, 200, 255, 0.15);
  --text: #eeeefa;
  --text-2: #c0c2da;
  --muted: #8587a3;
  --gold: #4fe0cf;
  --gold-2: #7cc4ff;
  --gold-3: #b18cff;
  --gold-ink: #071413;
  --gold-soft: rgba(79, 224, 207, 0.1);
  --gold-line: rgba(79, 224, 207, 0.42);
  --spot: rgba(140, 110, 255, 0.16);
  --spot-2: rgba(70, 220, 200, 0.12);
}
[data-palette='aurora'][data-theme='light'] {
  --bg: #f1f1f9;
  --bg-2: #e7e7f3;
  --surface: #fdfdff;
  --surface-2: #f5f5fc;
  --surface-3: #e8e8f4;
  --line: rgba(20, 20, 60, 0.1);
  --line-2: rgba(20, 20, 60, 0.18);
  --text: #12121f;
  --text-2: #33354f;
  --muted: #64667f;
  --gold: #0f8a80;
  --gold-2: #2a6fd1;
  --gold-3: #7448d6;
  --gold-ink: #f3fffd;
  --gold-soft: rgba(15, 138, 128, 0.08);
  --gold-line: rgba(15, 138, 128, 0.4);
  --spot: rgba(116, 72, 214, 0.12);
  --spot-2: rgba(15, 180, 160, 0.1);
}

/* -------------------------------------------------------------------- Eis */
[data-palette='eis'][data-theme='dark'] {
  --bg: #080a0d;
  --bg-2: #0c0f13;
  --surface: #11151a;
  --surface-2: #171c22;
  --surface-3: #1e252d;
  --line: rgba(220, 235, 255, 0.08);
  --line-2: rgba(220, 235, 255, 0.15);
  --text: #f0f5fa;
  --text-2: #c4ced8;
  --muted: #8693a0;
  --gold: #a8dcff;
  --gold-2: #e2f4ff;
  --gold-3: #b9b2ff;
  --gold-ink: #0a1620;
  --gold-soft: rgba(168, 220, 255, 0.1);
  --gold-line: rgba(168, 220, 255, 0.42);
  --spot: rgba(150, 200, 255, 0.13);
  --spot-2: rgba(185, 178, 255, 0.07);
}
[data-palette='eis'][data-theme='light'] {
  --bg: #f2f5f8;
  --bg-2: #e8edf2;
  --surface: #fdfeff;
  --surface-2: #f5f8fb;
  --surface-3: #e8eef4;
  --line: rgba(20, 35, 55, 0.1);
  --line-2: rgba(20, 35, 55, 0.18);
  --text: #101820;
  --text-2: #33424f;
  --muted: #637280;
  --gold: #2f6f9e;
  --gold-2: #1f5a85;
  --gold-3: #6b63c9;
  --gold-ink: #f5faff;
  --gold-soft: rgba(47, 111, 158, 0.08);
  --gold-line: rgba(47, 111, 158, 0.4);
  --spot: rgba(90, 150, 210, 0.14);
  --spot-2: rgba(107, 99, 201, 0.06);
}

/* ------------------------------------------------- Palettenübergreifendes */
.display em {
  background: linear-gradient(100deg, var(--gold-2), var(--gold) 50%, var(--gold-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.08em;
}
.btn--gold,
[data-theme='light'] .btn--gold {
  background: linear-gradient(120deg, var(--gold-2), var(--gold) 55%, color-mix(in srgb, var(--gold) 70%, var(--gold-3)));
}
[data-theme='light'][data-palette='gold'] .btn--gold,
[data-theme='light']:not([data-palette]) .btn--gold {
  background: linear-gradient(180deg, #a0762c, var(--gold));
}
