/* ==========================================================================
   Farbwelten (18.11.2026) – EINE Quelle für Design-Konfigurator und Baukasten.
   Die Liste (Name, Beschreibung) steht in includes/configurator.php (CFG_OPTIONS['farbe']).
   Jede Welt ist eine komplette Palette: Hintergrund, Fläche, Text, Knopf, Akzent, Linien.
   Kein Violett (Stilbibel). Kontrast Text/Hintergrund und Knopftext/Knopf geprüft (mind. 4,5 : 1).
   ========================================================================== */
.pal-ozean     { --m-bg: #f5f8fc; --m-surface: #ffffff; --m-ink: #14213d; --m-muted: #55627a; --m-primary: #1d5fd6; --m-on-primary: #ffffff; --m-accent: #13a08f; --m-soft: #e6eefb; --m-line: #d6deea; }
.pal-wald      { --m-bg: #f4f1ea; --m-surface: #ffffff; --m-ink: #1f2a22; --m-muted: #5b665d; --m-primary: #2f5d46; --m-on-primary: #ffffff; --m-accent: #a8701f; --m-soft: #e6ece4; --m-line: #d9d6cc; }
.pal-sand      { --m-bg: #faf6f0; --m-surface: #ffffff; --m-ink: #2b211b; --m-muted: #6e6259; --m-primary: #a84a28; --m-on-primary: #ffffff; --m-accent: #2f4858; --m-soft: #f3e7da; --m-line: #e6dccf; }
.pal-beere     { --m-bg: #fff8f9; --m-surface: #ffffff; --m-ink: #2a1620; --m-muted: #6f5561; --m-primary: #a3184f; --m-on-primary: #ffffff; --m-accent: #b86e00; --m-soft: #f8e4eb; --m-line: #eed8df; }
.pal-schiefer  { --m-bg: #f6f7f8; --m-surface: #ffffff; --m-ink: #1c2126; --m-muted: #5a626b; --m-primary: #2f3842; --m-on-primary: #ffffff; --m-accent: #6f7d8c; --m-soft: #eceef1; --m-line: #dce0e4; }
.pal-salbei    { --m-bg: #f3f5ef; --m-surface: #ffffff; --m-ink: #1d251f; --m-muted: #56625a; --m-primary: #46664c; --m-on-primary: #ffffff; --m-accent: #c07048; --m-soft: #e3e9df; --m-line: #d5dccf; }
.pal-koralle   { --m-bg: #fff7f4; --m-surface: #ffffff; --m-ink: #2a1814; --m-muted: #6c5650; --m-primary: #b13f28; --m-on-primary: #ffffff; --m-accent: #1f7a7a; --m-soft: #fbe4dc; --m-line: #f0d6cc; }
.pal-anthrazit { --m-bg: #1d1f22; --m-surface: #2a2d31; --m-ink: #f2f2f0; --m-muted: #b3b5b8; --m-primary: #f2c230; --m-on-primary: #1d1f22; --m-accent: #9fd4ff; --m-soft: #33373c; --m-line: #3d4147; }
.pal-tanne     { --m-bg: #0f1f19; --m-surface: #172b23; --m-ink: #eef3ef; --m-muted: #a8bbb0; --m-primary: #cfa962; --m-on-primary: #0f1f19; --m-accent: #7fbf9a; --m-soft: #1a3229; --m-line: #284339; }
.pal-bordeaux  { --m-bg: #261019; --m-surface: #351823; --m-ink: #f7edef; --m-muted: #cdb0b8; --m-primary: #d9b25e; --m-on-primary: #261019; --m-accent: #e27a92; --m-soft: #42202c; --m-line: #562a3a; --m-bold: #8e2343; --m-on-bold: #ffffff; }
.pal-tiefsee   { --m-bg: #08222a; --m-surface: #0f2f38; --m-ink: #eaf4f4; --m-muted: #a3c0c2; --m-primary: #ff9e7a; --m-on-primary: #08222a; --m-accent: #5fd0c8; --m-soft: #133a44; --m-line: #1f4c57; }
.pal-nacht     { --m-bg: #0a1022; --m-surface: #121a33; --m-ink: #eef2fb; --m-muted: #a9b4cf; --m-primary: #5ee6d6; --m-on-primary: #0a1022; --m-accent: #8fb0ff; --m-soft: #1a2445; --m-line: #232d52; }

/* „Selbst mischen“ (Baukasten): Haupt- und Akzentfarbe auf der dunklen Welt „Nacht“ */
.bsp--p-tuerkis { --m-primary: #5ee6d6; } .bsp--a-tuerkis { --m-accent: #5ee6d6; }
.bsp--p-himmel  { --m-primary: #8fd3ff; } .bsp--a-himmel  { --m-accent: #8fd3ff; }
.bsp--p-blau    { --m-primary: #6fa8ff; } .bsp--a-blau    { --m-accent: #6fa8ff; }
.bsp--p-gruen   { --m-primary: #8fe3a1; } .bsp--a-gruen   { --m-accent: #8fe3a1; }
.bsp--p-gold    { --m-primary: #f5d27a; } .bsp--a-gold    { --m-accent: #f5d27a; }
.bsp--p-sand    { --m-primary: #e9c99b; } .bsp--a-sand    { --m-accent: #e9c99b; }
.bsp--p-koralle { --m-primary: #ff9e8a; } .bsp--a-koralle { --m-accent: #ff9e8a; }
.bsp--p-rose    { --m-primary: #f4a9cc; } .bsp--a-rose    { --m-accent: #f4a9cc; }

/* ==========================================================================
   Farbwelt-Kachel als Mini-Seite: Überschrift, Text, Knopf und Akzent in echten Farben.
   Aufbau: <span class="welt pal-ozean"><span class="welt__seite">…</span><span class="welt__name">…</span></span>
   ========================================================================== */
.welt { display: grid; gap: 8px; }
.welt__seite {
    position: relative;
    display: grid;
    align-content: start;
    gap: 6px;
    min-height: 74px;
    padding: 12px 12px 10px;
    border-radius: 12px;
    background: var(--m-bg);
    border: 1px solid var(--m-line);
    overflow: hidden;
}
.welt__seite::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--m-accent); }
.welt__titel { width: 70%; height: 8px; border-radius: 4px; background: var(--m-ink); }
.welt__text { width: 88%; height: 5px; border-radius: 3px; background: var(--m-muted); opacity: .7; }
.welt__text--kurz { width: 56%; }
.welt__knopf {
    justify-self: start;
    margin-top: 4px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--m-primary);
    color: var(--m-on-primary);
    font-size: 11px;
    font-weight: 700;
    line-height: 16px;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
}
.welt__name { display: grid; gap: 1px; font-size: 14px; line-height: 20px; font-weight: 600; }
.welt__name small { font-size: 12px; line-height: 17px; font-weight: 400; color: var(--ink-muted); }
